diff options
author | Francesco Riosa <vivo@gentoo.org> | 2007-01-05 12:03:48 +0000 |
---|---|---|
committer | Francesco Riosa <vivo@gentoo.org> | 2007-01-05 12:03:48 +0000 |
commit | 3475e92f22eecf601da920e002a7346e9a05f35b (patch) | |
tree | cea1b2e13b177659feca58c19160911750d359b3 /dev-db/mysql-community | |
parent | force revision bump, needed to fix/discover bugs introuduced during last work... (diff) | |
download | historical-3475e92f22eecf601da920e002a7346e9a05f35b.tar.gz historical-3475e92f22eecf601da920e002a7346e9a05f35b.tar.bz2 historical-3475e92f22eecf601da920e002a7346e9a05f35b.zip |
force revision bump, needed to fix/discover bugs introuduced during last working days.
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'dev-db/mysql-community')
11 files changed, 25 insertions, 940 deletions
diff --git a/dev-db/mysql-community/Manifest b/dev-db/mysql-community/Manifest index d440c240e507..804de29a0d6f 100644 --- a/dev-db/mysql-community/Manifest +++ b/dev-db/mysql-community/Manifest @@ -6,60 +6,44 @@ AUX my.cnf-4.1 4220 RMD160 fd98c93f199b631164b1623965751cc3b367d04a SHA1 53eda46 MD5 06cafc559c9f18d2b215e62df55ee038 files/my.cnf-4.1 4220 RMD160 fd98c93f199b631164b1623965751cc3b367d04a files/my.cnf-4.1 4220 SHA256 e07909810868e75410c26b0e9b9d00a61c8d303f8a912b4b1232dbdbb168aac1 files/my.cnf-4.1 4220 -AUX mysql.conf.d 3273 RMD160 a2661c832c1091b2d05e599fc58cce6f686c7f31 SHA1 64e9bb80099bf6e14a07764fcb69bb02682aee0b SHA256 ee049781a3885305ce9999371198ff54f97fee4d2ad0814ba3aa3a03abc2724c -MD5 092bb6cad90a875da8899e104304c969 files/mysql.conf.d 3273 -RMD160 a2661c832c1091b2d05e599fc58cce6f686c7f31 files/mysql.conf.d 3273 -SHA256 ee049781a3885305ce9999371198ff54f97fee4d2ad0814ba3aa3a03abc2724c files/mysql.conf.d 3273 -AUX mysql.rc6 10634 RMD160 8bcbcc00004cf274a783fb83f6ab4d3eda15e625 SHA1 dfb872e1db1ef7e9ab5552792c28d4770ffa36fc SHA256 ff82da90eb08ad103eb2d7bb1500c4b01a0114a16f115c4892f9526e8dad0e65 -MD5 fc5857a4d2d914d98eeea84daa069a7d files/mysql.rc6 10634 -RMD160 8bcbcc00004cf274a783fb83f6ab4d3eda15e625 files/mysql.rc6 10634 -SHA256 ff82da90eb08ad103eb2d7bb1500c4b01a0114a16f115c4892f9526e8dad0e65 files/mysql.rc6 10634 -AUX mysqlmanager.conf.d 1009 RMD160 b443dc0cd1cb7fb054fe7229a52b8d093e634652 SHA1 0d82531df24ba4f0d957176b6fa0076a1cae0356 SHA256 35353f585cc9d3f97bbcfe77224d183e0fedcf4134377b8bff4c278462577cc7 -MD5 c94178cadec3be56c4e6c7ec9812cfcf files/mysqlmanager.conf.d 1009 -RMD160 b443dc0cd1cb7fb054fe7229a52b8d093e634652 files/mysqlmanager.conf.d 1009 -SHA256 35353f585cc9d3f97bbcfe77224d183e0fedcf4134377b8bff4c278462577cc7 files/mysqlmanager.conf.d 1009 -AUX mysqlmanager.rc6 6627 RMD160 e980a5f09570e528c0a3b57cdc7d3fa2bff78502 SHA1 18179e0665116c1cb3ace712368b2cf6bb5e06a6 SHA256 19f876f17e193ecaf4382ae0dda6e8a77b431443aff9310d3687696b60a1c0f5 -MD5 042db86d50b38de7573c7346084cc081 files/mysqlmanager.rc6 6627 -RMD160 e980a5f09570e528c0a3b57cdc7d3fa2bff78502 files/mysqlmanager.rc6 6627 -SHA256 19f876f17e193ecaf4382ae0dda6e8a77b431443aff9310d3687696b60a1c0f5 files/mysqlmanager.rc6 6627 DIST mysql-5.0.27.tar.gz 25867740 RMD160 3de75b959d04e002b2e4cfe322abdb48bf2f80fd SHA1 656de9c03f07c2371f40277076ec2fc6eac51ec8 SHA256 08dc9a7b4adb766b2fb8390804147822f1772aa4bd2e06ca7764bc85010c73a7 DIST mysql-5.1.14-beta.tar.gz 23640648 RMD160 2acaa1393967a6fd57f9c37f3eef8dac62eb7138 SHA1 52533fcd07fbce2269a3c14f7314deada6dcf0c1 SHA256 6b4990a784169560fd487d24c69efba1f73662500d0d3132375d8b5cd026bb67 DIST mysql-5.1.15-bk-20061231.tar.bz2 11999404 RMD160 9a9929d6c2df4e128b3b5259b21fec5e04fe3181 SHA1 a6cdb54f1f113545103660fa20adfc128afee97c SHA256 1e4acc53175af275b48dbab33320d4841c9502c74f283e4f62215f5c2e602f15 DIST mysql-extras-20070105.tar.bz2 50005 RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb SHA1 7f4dbc3d6c20fe953bf6e936a58343a229398ca0 SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 DIST pbxt-0.9.73-beta.tar.gz 2706652 RMD160 a4d974a8519b62868e948966910a84dbded05abe SHA1 f6ed2ba49ec82646581edcb06e054c46a5ba1ded SHA256 a2176d137138d33028c57499b74a79c5f12dcd958c3e7f1aad67bb4b7b24674d -EBUILD mysql-community-5.0.27.ebuild 1972 RMD160 4fef1db763857a576989a6e890f52c254e7dd0f1 SHA1 1ae9f739a8cdef410b1c760e0908b952f18034eb SHA256 1203c76924043393118f9f7f03375eca459add894392a4256b0c67c44863b0f0 -MD5 2b1d47a3e4dd2d1d17c86e397d9b3c14 mysql-community-5.0.27.ebuild 1972 -RMD160 4fef1db763857a576989a6e890f52c254e7dd0f1 mysql-community-5.0.27.ebuild 1972 -SHA256 1203c76924043393118f9f7f03375eca459add894392a4256b0c67c44863b0f0 mysql-community-5.0.27.ebuild 1972 -EBUILD mysql-community-5.1.14_beta.ebuild 2163 RMD160 a597ba9ccd07a921ddc3544feb59a4bf19f6e277 SHA1 058c8cbe59acc48e2553b95fb4b7e90058cc7e63 SHA256 f4df86d28cac0b0c098b9359201ea73cb5790993eb48bc244b0b950ad8b9b1f3 -MD5 166ff98892f5a3d6b32b363ab88241f7 mysql-community-5.1.14_beta.ebuild 2163 -RMD160 a597ba9ccd07a921ddc3544feb59a4bf19f6e277 mysql-community-5.1.14_beta.ebuild 2163 -SHA256 f4df86d28cac0b0c098b9359201ea73cb5790993eb48bc244b0b950ad8b9b1f3 mysql-community-5.1.14_beta.ebuild 2163 +EBUILD mysql-community-5.0.27-r1.ebuild 1975 RMD160 62818a0e5fd30ce12a94773b39a93811e53ebe44 SHA1 3b3211c7ba8e91e6ec7e216e9d3a57719858c872 SHA256 7b84fbacbb10ac3d673e6fbe3a96006109f5317df336704051d54b48f2700830 +MD5 e572e2c8aa59aa497ec830cac4470357 mysql-community-5.0.27-r1.ebuild 1975 +RMD160 62818a0e5fd30ce12a94773b39a93811e53ebe44 mysql-community-5.0.27-r1.ebuild 1975 +SHA256 7b84fbacbb10ac3d673e6fbe3a96006109f5317df336704051d54b48f2700830 mysql-community-5.0.27-r1.ebuild 1975 +EBUILD mysql-community-5.1.14_beta-r1.ebuild 2166 RMD160 9cf06e966bbe796b7f2b4d1fbdc9599d31c40915 SHA1 6e27c4ff187f472b6d713d2f6dc5489abb97a64c SHA256 42afd8d48f87b86828a0ec99fed1d7985dfb55d67bf4e640f5066610c51b5853 +MD5 4b7fc33a042c56ae62546261175fefcc mysql-community-5.1.14_beta-r1.ebuild 2166 +RMD160 9cf06e966bbe796b7f2b4d1fbdc9599d31c40915 mysql-community-5.1.14_beta-r1.ebuild 2166 +SHA256 42afd8d48f87b86828a0ec99fed1d7985dfb55d67bf4e640f5066610c51b5853 mysql-community-5.1.14_beta-r1.ebuild 2166 EBUILD mysql-community-5.1.15_alpha-r90.ebuild 2024 RMD160 73b973ca11c75131fa725055dbc326ddd1301738 SHA1 786cf415cea9a58f87018ad296f5716f81f088c1 SHA256 da0f5f30084993559b2b8a75007757cd84b6c3fc20cac7129f0c43a8380232ec MD5 739cd719a2c9ae2339ee38d204e7f829 mysql-community-5.1.15_alpha-r90.ebuild 2024 RMD160 73b973ca11c75131fa725055dbc326ddd1301738 mysql-community-5.1.15_alpha-r90.ebuild 2024 SHA256 da0f5f30084993559b2b8a75007757cd84b6c3fc20cac7129f0c43a8380232ec mysql-community-5.1.15_alpha-r90.ebuild 2024 -EBUILD mysql-community-5.1.15_alpha20061231-r60.ebuild 2182 RMD160 580072e21c2c5274a957c9bf0a811b2954c26a1e SHA1 e7e0e4986099bfa80f96fdbd2319291683aa09b3 SHA256 d178d627c5743a684b781cda14323f1a48ab430ba5cf6b3c8e629e3ad6817598 -MD5 a8f50db7c447556b7cb83046f870adcb mysql-community-5.1.15_alpha20061231-r60.ebuild 2182 -RMD160 580072e21c2c5274a957c9bf0a811b2954c26a1e mysql-community-5.1.15_alpha20061231-r60.ebuild 2182 -SHA256 d178d627c5743a684b781cda14323f1a48ab430ba5cf6b3c8e629e3ad6817598 mysql-community-5.1.15_alpha20061231-r60.ebuild 2182 -MISC ChangeLog 2231 RMD160 45fc9fd1d74db8672bf1d8e81868ac7144dd813a SHA1 bd2fa8c8f4a04c3288efe6a35ee092ea059d6402 SHA256 8d455d41da456259fd5cf398238e8613eda0a7bf2554ad68dbf2de6350825a12 -MD5 65bc7de563a263112d92604193f232cc ChangeLog 2231 -RMD160 45fc9fd1d74db8672bf1d8e81868ac7144dd813a ChangeLog 2231 -SHA256 8d455d41da456259fd5cf398238e8613eda0a7bf2554ad68dbf2de6350825a12 ChangeLog 2231 +EBUILD mysql-community-5.1.15_alpha20061231-r61.ebuild 2182 RMD160 a21124497800f8bacbb4ce421987502bfc8a759e SHA1 8e7d0e93f19cbc934d9d7eae0a59b6545fff6b32 SHA256 a400e8c02aafc1e4cad2101d03edeff0feed7a20b0fe3221bd3ba351bd717429 +MD5 dd656df147d70d505475a9a8d966880f mysql-community-5.1.15_alpha20061231-r61.ebuild 2182 +RMD160 a21124497800f8bacbb4ce421987502bfc8a759e mysql-community-5.1.15_alpha20061231-r61.ebuild 2182 +SHA256 a400e8c02aafc1e4cad2101d03edeff0feed7a20b0fe3221bd3ba351bd717429 mysql-community-5.1.15_alpha20061231-r61.ebuild 2182 +MISC ChangeLog 2865 RMD160 e9a340ddb851bc9731ae179da12ba21a6a49c21f SHA1 af2403c13734f48a0c438ee87289dd9ae81013bb SHA256 768ab026bf336802ab1c6b7f836ece9a7e7b96ff61c665a0a959f2afbfc42ca7 +MD5 844cf446f9ab3573d5492b5274c8944c ChangeLog 2865 +RMD160 e9a340ddb851bc9731ae179da12ba21a6a49c21f ChangeLog 2865 +SHA256 768ab026bf336802ab1c6b7f836ece9a7e7b96ff61c665a0a959f2afbfc42ca7 ChangeLog 2865 MISC metadata.xml 159 RMD160 a50a94af7706288c46f81d6c3da9b5f888050eee SHA1 5eb253a678d6faa0f1c6b3c5720a804ed8923566 SHA256 5cfd5aa0e8104c0326b5f4c9205a6449a94e0f6f6abfd2626f1e7a8fe77b98b7 MD5 f1c86d989c7ea2451931e7e2c3530f8c metadata.xml 159 RMD160 a50a94af7706288c46f81d6c3da9b5f888050eee metadata.xml 159 SHA256 5cfd5aa0e8104c0326b5f4c9205a6449a94e0f6f6abfd2626f1e7a8fe77b98b7 metadata.xml 159 -MD5 3cfc1263a523bda78a374216cb41eedf files/digest-mysql-community-5.0.27 509 -RMD160 94ff2824ba8fce090473dd1f07ac47d6394617b9 files/digest-mysql-community-5.0.27 509 -SHA256 bd78d5ab74106899509fd476ea084a96c6ff9b5afff44d73294f690e22e1c900 files/digest-mysql-community-5.0.27 509 -MD5 5e58f7e8bff2d7f0a88aaba3edeffc0e files/digest-mysql-community-5.1.14_beta 777 -RMD160 b4ca036d8fd26fd1353e8546c89c39fdc20331a3 files/digest-mysql-community-5.1.14_beta 777 -SHA256 6aa25e07b581e0ddcfcd95075a68fe3ff0359fefe59402ee875e6830f02dba32 files/digest-mysql-community-5.1.14_beta 777 +MD5 3cfc1263a523bda78a374216cb41eedf files/digest-mysql-community-5.0.27-r1 509 +RMD160 94ff2824ba8fce090473dd1f07ac47d6394617b9 files/digest-mysql-community-5.0.27-r1 509 +SHA256 bd78d5ab74106899509fd476ea084a96c6ff9b5afff44d73294f690e22e1c900 files/digest-mysql-community-5.0.27-r1 509 +MD5 5e58f7e8bff2d7f0a88aaba3edeffc0e files/digest-mysql-community-5.1.14_beta-r1 777 +RMD160 b4ca036d8fd26fd1353e8546c89c39fdc20331a3 files/digest-mysql-community-5.1.14_beta-r1 777 +SHA256 6aa25e07b581e0ddcfcd95075a68fe3ff0359fefe59402ee875e6830f02dba32 files/digest-mysql-community-5.1.14_beta-r1 777 MD5 751d62dcf0ca2b84a6955b688c65ed5d files/digest-mysql-community-5.1.15_alpha-r90 518 RMD160 f9c5ae70209420f3088c279f8713c975499080b3 files/digest-mysql-community-5.1.15_alpha-r90 518 SHA256 b4241d2de5d023b660dfd2aba49e80393c5fef73a55c52c6e24d55f203805ff0 files/digest-mysql-community-5.1.15_alpha-r90 518 -MD5 d4c2c60cfdc3d387a1357872a3a7e864 files/digest-mysql-community-5.1.15_alpha20061231-r60 801 -RMD160 ce8a90a173cc72f69646282dd86350e4a0016dd9 files/digest-mysql-community-5.1.15_alpha20061231-r60 801 -SHA256 f58d7c85e2d6ed76103bc927827d3860ed6e2031986d4d4ddf506fd9fec9aa6b files/digest-mysql-community-5.1.15_alpha20061231-r60 801 +MD5 d4c2c60cfdc3d387a1357872a3a7e864 files/digest-mysql-community-5.1.15_alpha20061231-r61 801 +RMD160 ce8a90a173cc72f69646282dd86350e4a0016dd9 files/digest-mysql-community-5.1.15_alpha20061231-r61 801 +SHA256 f58d7c85e2d6ed76103bc927827d3860ed6e2031986d4d4ddf506fd9fec9aa6b files/digest-mysql-community-5.1.15_alpha20061231-r61 801 diff --git a/dev-db/mysql-community/files/digest-mysql-community-5.0.27 b/dev-db/mysql-community/files/digest-mysql-community-5.0.27 deleted file mode 100644 index 3af7e02397c5..000000000000 --- a/dev-db/mysql-community/files/digest-mysql-community-5.0.27 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 584d423440a9d9c859678e3d4f2690b3 mysql-5.0.27.tar.gz 25867740 -RMD160 3de75b959d04e002b2e4cfe322abdb48bf2f80fd mysql-5.0.27.tar.gz 25867740 -SHA256 08dc9a7b4adb766b2fb8390804147822f1772aa4bd2e06ca7764bc85010c73a7 mysql-5.0.27.tar.gz 25867740 -MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005 -RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005 -SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005 diff --git a/dev-db/mysql-community/files/digest-mysql-community-5.1.14_beta b/dev-db/mysql-community/files/digest-mysql-community-5.1.14_beta deleted file mode 100644 index a353e5f9cdf4..000000000000 --- a/dev-db/mysql-community/files/digest-mysql-community-5.1.14_beta +++ /dev/null @@ -1,9 +0,0 @@ -MD5 f02115e98c99558e062adcf2dc305283 mysql-5.1.14-beta.tar.gz 23640648 -RMD160 2acaa1393967a6fd57f9c37f3eef8dac62eb7138 mysql-5.1.14-beta.tar.gz 23640648 -SHA256 6b4990a784169560fd487d24c69efba1f73662500d0d3132375d8b5cd026bb67 mysql-5.1.14-beta.tar.gz 23640648 -MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005 -RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005 -SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005 -MD5 1dde707c3f86ecbb4567b8d5de603dc3 pbxt-0.9.73-beta.tar.gz 2706652 -RMD160 a4d974a8519b62868e948966910a84dbded05abe pbxt-0.9.73-beta.tar.gz 2706652 -SHA256 a2176d137138d33028c57499b74a79c5f12dcd958c3e7f1aad67bb4b7b24674d pbxt-0.9.73-beta.tar.gz 2706652 diff --git a/dev-db/mysql-community/files/digest-mysql-community-5.1.15_alpha20061231-r60 b/dev-db/mysql-community/files/digest-mysql-community-5.1.15_alpha20061231-r60 deleted file mode 100644 index bffd0e1d21e4..000000000000 --- a/dev-db/mysql-community/files/digest-mysql-community-5.1.15_alpha20061231-r60 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 b231ba7f535806f1cb8d792e4091f1b9 mysql-5.1.15-bk-20061231.tar.bz2 11999404 -RMD160 9a9929d6c2df4e128b3b5259b21fec5e04fe3181 mysql-5.1.15-bk-20061231.tar.bz2 11999404 -SHA256 1e4acc53175af275b48dbab33320d4841c9502c74f283e4f62215f5c2e602f15 mysql-5.1.15-bk-20061231.tar.bz2 11999404 -MD5 444e5ecfccf6d2123fbfbda7f7ba2b83 mysql-extras-20070105.tar.bz2 50005 -RMD160 abf1f8ebab8ecdfdb5ebe9ca55076f39ab492acb mysql-extras-20070105.tar.bz2 50005 -SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 mysql-extras-20070105.tar.bz2 50005 -MD5 1dde707c3f86ecbb4567b8d5de603dc3 pbxt-0.9.73-beta.tar.gz 2706652 -RMD160 a4d974a8519b62868e948966910a84dbded05abe pbxt-0.9.73-beta.tar.gz 2706652 -SHA256 a2176d137138d33028c57499b74a79c5f12dcd958c3e7f1aad67bb4b7b24674d pbxt-0.9.73-beta.tar.gz 2706652 diff --git a/dev-db/mysql-community/files/mysql.conf.d b/dev-db/mysql-community/files/mysql.conf.d deleted file mode 100644 index 15ff170cc98a..000000000000 --- a/dev-db/mysql-community/files/mysql.conf.d +++ /dev/null @@ -1,80 +0,0 @@ -# Here is where we define which server(s) to start. -# Additional parameters to be passed to mysqld at startup may be added here, -# which will override the ones in "my.cnf". -# -# Below are described some suggested parameters to use. -# The parameters not recognized will be passed through to the mysqld daemon -# directly! -# To avoid starting a server just comment it's definition. -# -# Last but not least, SPACES are NOT allowed inside the parameters! -# -# Parameter : description -# ----------------+----------------------------------------------------------- -# nice : integer [-20 .. 19 ] default 0 -# : change the priority of the server -20 (high) to 19 (low) -# : see "man nice 1" for description -# ----------------+----------------------------------------------------------- -# mycnf : string [full path to my.cnf] -# : specify the path to my.cnf file to be used -# ----------------+----------------------------------------------------------- -# startup_timeout : integer [seconds] default 15 -# : time to wait for mysqld up and running, after this it's -# : marked as failed -# ----------------+----------------------------------------------------------- -# -# Additional parameters -# Parameter : description -# ----------------+----------------------------------------------------------- -# server-id : integer [1 .. 255] -# : Uniquely identifies the server instance in the community -# : of replication partners. -# ----------------+----------------------------------------------------------- -# port : integer [1025 .. 65535] default 3306 -# : Port number to use for connection. -# : Looses any meaning if skip-networking is set. -# ----------------+----------------------------------------------------------- -# skip-networking : NULL -# : Don't allow connection through TCP/IP. -# ----------------+----------------------------------------------------------- -# log-bin : string [name of the binlog files] -# : Log update queries in binary format. Optional (but -# : strongly recommended to avoid replication problems if -# : server's hostname changes) argument should be the chosen -# : location for the binary log files. -# ----------------+----------------------------------------------------------- -# Additionally the following variables are recognized: -# -# Be more verbose, accepts values from 1 to 4 -#DEBUG=4 -# -# The default location for the "master" pid file -#MYSQL_GLOB_PID_FILE="/var/run/svc-started-mysqld" -# -# The timeout for a failed attempt to stop a server -#STOPTIMEOUT=120 -# - -# The parameters are passed in a bash array variable, -# the variable name is mysql_slot_0_[server-num] -# "server-num" is an optional number used to start multiple servers -# -# Examples: -# -# start a default server with default options: -#mysql_slot_0=() -# -# start MySQL reniced, overriding some start parameters -#mysql_slot_0=( -# "nice=-5" -# "server-id=123" -# "log-bin="myhost" -# "port=3307" -#) -# -# start another server, different my.cnf -#mysql_slot_0_1=( -# "mycnf=/home/test/my.cnf" -# "server-id=124" -#) -# diff --git a/dev-db/mysql-community/files/mysql.rc6 b/dev-db/mysql-community/files/mysql.rc6 deleted file mode 100644 index 7b23901c226f..000000000000 --- a/dev-db/mysql-community/files/mysql.rc6 +++ /dev/null @@ -1,357 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-community/files/mysql.rc6,v 1.1 2006/11/23 15:46:49 chtekk Exp $ - -# external binaries used: which, sed, tac - -# int in_list(char * elem, char * list) -function in_list() { - local elem=${1:-"none"} - local list=${2:-","} - - [[ "${list}" == "${list/,${elem},/}" ]] \ - && return 1 \ - || return 0 -} - -function wdebug() { - if [[ "${DEBUG}" -ge "${1}" ]] ; then - shift - echo "dbg: ${@}" - fi -} - -depend() { - use dns net localmount netmount nfsmount -} - -do_escape() { - # Ihatethisreallyverymuch - #echo "$1" | sed -e "s|'| |" -e "s|=|='|" -e "s|$|'|" - echo "$1" -} - -# int get_slot_config(srv_slot=0, srv_num) -get_slot_config() { - wdebug 4 ">>> get_slot_config()" - - local srv srv_slot srv_num - srv_slot="${1:-"0"}" - srv_num="${2}" - MY_SUFFIX="-${srv_slot}" - # srv=array(0 => [srv_slot], 1 => [srv_num] ) - srv=( ${srv_slot} ${srv_num} ) - - local tmp_eval="mysql_slot_${srv_slot}${srv_num:+"_"}${srv_num}[@]" - local conf_d_parameters="${!tmp_eval}" - if [[ "${srv_slot}" == "0" ]] ; then - MY_SUFFIX='' - # try some other default for the default server - [[ -z "${conf_d_parameters[@]}" ]] && conf_d_parameters=${mysql_slot[@]} - fi - [[ -z "${conf_d_parameters[@]}" ]] && conf_d_parameters=( ) - basedir="" datadir="" pidfile="" socket="" - CHROOT="" NICE="" STARTUPTIMEOUT=5 STOPTIMEOUT=120 - - wdebug 3 "srv ${srv[@]}" - wdebug 3 "srv_slot ${srv_slot}" - wdebug 3 "srv_num ${srv_num}" - wdebug 3 "tmp_eval ${tmp_eval}" - wdebug 3 "conf_d_parameters ${conf_d_parameters[@]}" - wdebug 3 "MY_SUFFIX ${MY_SUFFIX}" - - local tmp_eval="mysql_slot_${srv_slot}${srv_num:+"_"}${srv_num}[@]" - local conf_d_parameters="${!tmp_eval}" - # collations need to be defined *after* the character sets, - # so we will duplicate them - local collations="" - [[ ${conf_d_parameters[*]} == '()' ]] && conf_d_parameters='' - - MY_CNF="/etc/mysql${MY_SUFFIX}/my.cnf" - # summa of unmanaged parameters - # some parameters may be present multiple times - unmanagedparams="" - - # grab the parameters from conf.d/mysql definition - for my_default in ${conf_d_parameters[*]} ; do - case "${my_default}" in - nice=*) - NICE="${my_default#nice=}" - nice -n $NICE ls /tmp &>/dev/null || NICE="" - ;; - mycnf=*) MY_CNF="${my_default#mycnf=}" ;; - startup_timeout=*) - STARTUPTIMEOUT="${my_default#startup_timeout=}" ;; - basedir=*) basedir="${my_default#basedir=}" ;; - datadir=*) datadir="${my_default#datadir=}" ;; - pid-file=*) pidfile="${my_default#pid-file=}" ;; - socket=*) socket="${my_default#socket=}" ;; - *collation*=) - collations="${collations} --$( do_escape "${my_default}" )" - ;; - *=*) - # list of parameters we already have - # prepend "--" because my_print_defaults do it - unmanagedparams="${unmanagedparams} --$( do_escape "${my_default}" )" - ;; - *) - unmanagedparams="${unmanagedparams} --${my_default}" - ;; - esac - done - - if [[ ! -r "${MY_CNF}" ]] ; then - ewarn "Cannot access ${MY_CNF} !" - MY_CNF="" - my_defaults="" - else - local my_print_defaults="$(which my_print_defaults${MY_SUFFIX} 2>/dev/null)" - if [[ ! -x "${my_print_defaults}" ]] ; then - eerror "my_print_defaults NOT found or not executable" - my_defaults="" - else - my_defaults=$( ${my_print_defaults} \ - --loose-verbose \ - --config-file="${MY_CNF}" \ - mysqld server ) - fi - fi - - # grab needed parameters from my.cnf, don't override the ones from - # conf.d/mysql - for my_default in ${my_defaults} ; do - case "${my_default}" in - --basedir=*) - [[ -z "${basedir}" ]] && basedir="${my_default#--basedir=}" ;; - --datadir=*) - [[ -z "${datadir}" ]] && datadir="${my_default#--datadir=}" ;; - --pid-file=*) - [[ -z "${pidfile}" ]] && pidfile="${my_default#--pid-file=}" ;; - --socket=*) - [[ -z "${socket}" ]] && socket="${my_default#--socket=}" ;; - --*collation*=) - # the order is inversed because we want the conf.d ones overriden - collations="$( do_escape "${my_default}" ) ${collations}" - ;; - esac - done - - # some parameters - basedir="${basedir:-"/usr"}" - datadir="${datadir:-"/var/lib/mysql${MY_SUFFIX}"}" - pidfile="${pidfile:-"/var/run/mysqld/mysqld${MY_SUFFIX}.pid"}" - socket="${socket:-"/var/run/mysqld/mysqld${MY_SUFFIX}.sock"}" - unmanagedparams="${unmanagedparams} ${collations}" - - wdebug 3 "chroot dir => ${CHROOT}" - wdebug 3 "niceness => ${NICE}" - wdebug 3 "basedir => ${basedir}" - wdebug 3 "datadir => ${datadir}" - wdebug 3 "pidfile => ${pidfile}" - wdebug 3 "socket => ${socket}" - wdebug 3 "Unamanged => ${unmanagedparams}" - - # extension for sleep tenth of seconds, not very portable so check it before - if sleep 0.01 ; then - STARTUPTIMEOUT=$(( STARTUPTIMEOUT * 10 )) - STOPTIMEOUT=$(( STOPTIMEOUT * 10 )) - TIMEUNIT=0.1 - else - TIMEUNIT=1 - fi - - # push these out to the script - export MY_SUFFIX NICE MY_CNF pidfile datadir basedir socket CHROOT - export unmanagedparams STARTUPTIMEOUT STOPTIMEOUT TIMEUNIT - wdebug 4 "<<< get_slot_config() ok" - return 0 -} - -checkconfig() { - wdebug 4 ">>> checkconfig(\"${1}\")" - local datadir="${1}" pidfile="${2}" socket="${3}" - - if [[ -n "${NOCHECK}" ]] ; then - rm -f "${pidfile}" "${socket}" - return 0 - fi - - if [[ ! -d "${datadir}" ]] ; then - eerror "MySQL datadir is empty or invalid" - eerror "Please check your my.cnf : ${MY_CNF}" - wdebug 4 "<<< checkconfig() KO" - return 1 - fi - - if [[ ! -d "${datadir}/mysql" ]] ; then - eerror "You don't appear to have the mysql database installed yet." - eerror "Please run /usr/bin/mysql_install_db to have this done..." - wdebug 4 "<<< checkconfig() KO" - return 1 - fi - - if [[ -f "${pidfile}" ]] ; then - kill -15 $(< ${pidfile}) 2>/dev/null - if [[ $? -eq 0 ]] ; then - # the process exist, we have a problem - eerror "\"${pidfile}\" is still present and the process is running." - eerror "Please stop it \"kill $(< ${pidfile})\" maybe ?" - wdebug 4 "<<< checkconfig() KO" - return 1 - else - rm -f "${pidfile}" - fi - fi - - if [[ -S "${socket}" ]] ; then - ewarn "Strange, the socket file already exist in \"${socket}\"" - ewarn "it will be removed now and re-created by the MySQL server" - ewarn "BUT please make your checks." - rm -f "${socket}" - fi - - wdebug 4 "<<< checkconfig() ok" - return 0 -} - -start() { - wdebug 4 ">>> start()" - - MYSQL_GLOB_PID_FILE=${MYSQL_GLOB_PID_FILE:-"/var/run/svc-started-${SVCNAME/mysql/mysqld}"} - # servers are defined in /etc/conf.d/mysql - local serverlist=${!mysql_slot_*} - # provide default for empty conf.d/mysql - if [[ -z "${serverlist}" ]] ; then - serverlist=0 - export mysql_slot_0=( ) - fi - local retstatus timeout - local globretstatus=1 - local srv_slot srv_num - # server MUST NOT share same location for these - local pidfilelist=',' datadirlist=',' socketlist=',' - local ssd_thing=1 - local mysqld_thing tmpnice - - ebegin "Starting ${myservice}" - # try to start each server - for srv in ${serverlist[*]} ; do - - srv_slot="${srv#mysql_slot_}" - if [[ "${srv_slot}" == "${srv_slot#*_}" ]] ; then - srv_num='' - else - srv_num="${srv_slot#*_}" - fi - srv_slot="${srv_slot%%_*}" - - retstatus=0 - get_slot_config "${srv_slot}" "${srv_num}" || retstatus=1 - - # checks - if ! checkconfig "${datadir}" "${pidfile}" "${socket}" ; then - retstatus=2 ; continue - fi - if in_list "${pidfile}" "${pidfilelist}" ; then - eerror "Sorry, won't start with same pid-file: ${pidfile}" - retstatus=3 ; continue - fi - if in_list "${datadir}" "${datadirlist}" ; then - eerror "Sorry, won't start with same datadir: ${datadir}" - retstatus=4 ; continue - fi - if in_list "${socket}" "${socketlist}" ; then - eerror "Sorry, won't start with same socket: ${socket}" - retstatus=5 ; continue - fi - - einfo "Starting ${myservice} (${MY_CNF})" - - mysqld_thing="${MY_CNF:+"--defaults-file="}${MY_CNF}" - mysqld_thing="${mysqld_thing} ${unmanagedparams}" - mysqld_thing="${mysqld_thing} --basedir=${basedir}" - mysqld_thing="${mysqld_thing} --datadir=${datadir}" - mysqld_thing="${mysqld_thing} --pid-file=${pidfile}" - mysqld_thing="${mysqld_thing} --socket=${socket}" - - wdebug 2 "starting mysqld with: ${mysqld_thing}" - - if [[ ${ssd_thing} -eq 1 ]] ; then - tmpnice="${NICE:+"--nicelevel "}${NICE}" - start-stop-daemon --quiet ${DEBUG/*/"--verbose"} --start \ - --background ${tmpnice} --pidfile ${pidfile} \ - --exec ${basedir}/sbin/mysqld${MY_SUFFIX} -- ${mysqld_thing} - retstatus=$? - else - tmpnice="${NICE:+"nice -n "}${NICE}" - ${tmpnice} ${basedir}/sbin/mysqld${MY_SUFFIX} ${mysqld_thing} & - retstatus=0 - fi - - # only the first run is done by start-stop-daemon - ssd_thing="" - - # wait for socket creation - wdebug 1 - while ! [[ -S "${socket}" || "${STARTUPTIMEOUT}" -lt 1 || "${retstatus}" -ne 0 ]] ; do - STARTUPTIMEOUT=$(( STARTUPTIMEOUT - 1 )) - [[ ${DEBUG} -ge 1 ]] && echo -n "${STARTUPTIMEOUT}," - sleep ${TIMEUNIT} - done - wdebug 1 "" - if [[ ! -S "${socket}" ]] ; then - eerror "MySQL${MY_SUFFIX} NOT started (${retstatus})" - retstatus=1 - else - globretstatus=0 - pidfilelist="${pidfilelist}${pidfile}," - datadirlist="${datadirlist}${datadir}," - socketlist="${socketlist}${socket}," - echo "${srv_slot}${srv_num:+"_"}${srv_num}=${pidfile}" >> "${MYSQL_GLOB_PID_FILE}" - fi - done - # successfull if at least one mysqld started - wdebug 4 "<<< start()" - eend $globretstatus -} - -stop() { - get_slot_config &> /dev/null - MYSQL_GLOB_PID_FILE=${MYSQL_GLOB_PID_FILE:-"/var/run/svc-started-${SVCNAME/mysql/mysqld}"} - local runwhat pidfile shutdown_elem - local PID cnt timeout=${STOPTIMEOUT:-"120"} - local retstatus=0 - local shutdown_list="$(< "${MYSQL_GLOB_PID_FILE}" )" - - ebegin "Stopping ${myservice}" - wdebug 5 "MYSQL_GLOB_PID_FILE: ${MYSQL_GLOB_PID_FILE}" - wdebug 5 "shutdown_list: ${shutdown_list}" - for shutdown_elem in ${shutdown_list} ; do - runwhat=${shutdown_elem%%=*} - pidfile=${shutdown_elem#*=} - timeout=${STOPTIMEOUT:-"120"} - PID=$(< "${pidfile}" ) - wdebug 3 "runwhat ${runwhat}" - wdebug 3 "pidfile ${pidfile}" - wdebug 3 "timeout ${timeout}" - wdebug 3 "PID ${PID}" - - einfo "Stopping mysqld (${runwhat})" - - start-stop-daemon --quiet ${DEBUG/*/"--verbose"} --stop --pidfile "${pidfile}" & - wdebug 1 "" - while [[ -n "$PID" ]] \ - && $( ps -Ao pid | grep -q "^ *$PID$" ) \ - && [[ "${timeout}" -ge 1 ]] - do - timeout=$(($timeout - 1)) - [[ ${DEBUG} -ge 1 ]] && echo -n "$(( $STOPTIMEOUT - $timeout ))," - sleep ${TIMEUNIT} - done - [[ "${timeout}" -lt 1 ]] && retstatus=1 - done - sleep ${TIMEUNIT} - [[ "$retstatus" -eq 0 ]] && rm -f "$MYSQL_GLOB_PID_FILE" - eend ${retstatus} -} diff --git a/dev-db/mysql-community/files/mysqlmanager.conf.d b/dev-db/mysql-community/files/mysqlmanager.conf.d deleted file mode 100644 index 8666f71596cc..000000000000 --- a/dev-db/mysql-community/files/mysqlmanager.conf.d +++ /dev/null @@ -1,28 +0,0 @@ -# Here is where we define which server(s) to start. -# Additional parameters to be passed to mysqlmanager at startup may be added here, -# which will override the ones in "my.cnf". -# -# To avoid starting a server just comment it's definition -# here or it will rant (no default start). -# Last but not least, spaces are NOT allowed inside the parameters! -# -# Below are described some suggested parameters to use. -# The parameters not recognized will be passed through to the mysqlmanager directly. -# -# Parameter : description - -# ----------------+----------------------------------------------------------- -# mycnf : string [full path to my.cnf] -# : specify the path to my.cnf file to be used -# : may contain a [manager] section -# ----------------+----------------------------------------------------------- -# -# Basic default -# -#mysqlmanager_slot_0=() -# -# Start MySQL 5.0.X overriding the my.cnf path -#mysqlmanager_slot_500=( -# "mycnf=/home/test/my.cnf" -#) -# diff --git a/dev-db/mysql-community/files/mysqlmanager.rc6 b/dev-db/mysql-community/files/mysqlmanager.rc6 deleted file mode 100644 index 894fc0b5887e..000000000000 --- a/dev-db/mysql-community/files/mysqlmanager.rc6 +++ /dev/null @@ -1,230 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-community/files/mysqlmanager.rc6,v 1.1 2006/11/23 13:58:06 vivo Exp $ - -# external binaries used: which, sed, tac - -depend() { - use dns net localmount netmount nfsmount - #provide mysql -} - -# int in_list(char * elem, char * list) -function in_list() { - local elem=${1:-"none"} - local list=${2:-","} - - [[ "${list}" == "${list/,${elem},/}" ]] \ - && return 1 \ - || return 0 -} - -do_escape() { - # Ihatethisreallyverymuch - #echo "$1" | sed -e "s|'| |" -e "s|=|='|" -e "s|$|'|" - echo "$1" -} - -# int get_slot_config(srv_slot=0, srv_num) -get_slot_config() { - [[ ${DEBUG} -ge 4 ]] && einfo ">>> get_slot_config(\"${1}\", \"${2}\")" - - srv_slot="${1:-"0"}" - srv_num="${2}" - MY_SUFFIX="-${srv_slot}" - [[ "${MY_SUFFIX}" == '-0' ]] && MY_SUFFIX='' - - basedir="" pidfile="" socket="" - - local tmp_eval="mysqlmanager_slot_${srv_slot}${srv_num:+"_"}${srv_num}[@]" - local conf_d_parameters="${!tmp_eval}" - [[ ${conf_d_parameters[*]} == '()' ]] && conf_d_parameters='' - - MY_CNF="/etc/mysql${MY_SUFFIX}/my.cnf" - # summa of unmanaged parameters - # some parameters may be present multiple times - unmanagedparams="" - - # grab the parameters from conf.d/mysql definition - for my_default in ${conf_d_parameters[*]} ; do - case "${my_default}" in - mycnf=*) MY_CNF="${my_default#mycnf=}" ;; - basedir=*) basedir="${my_default#basedir=}" ;; - pid-file=*) pidfile="${my_default#pid-file=}" ;; - socket=*) socket="${my_default#socket=}" ;; - *=*) - # list of parameters we already have - # prepend "--" because my_print_defaults do it - unmanagedparams="${unmanagedparams} --$( do_escape "${my_default}" )" - ;; - *) - unmanagedparams="${unmanagedparams} --${my_default}" - ;; - esac - done - - if [[ ! -r "${MY_CNF}" ]] ; then - ewarn "Cannot access ${MY_CNF} !" - MY_CNF="" - my_defaults="" - else - local my_print_defaults="$(which my_print_defaults${MY_SUFFIX} 2>/dev/null)" - if [[ ! -x "${my_print_defaults}" ]] ; then - eerror "my_print_defaults NOT found or not executable" - my_defaults="" - else - my_defaults=$( ${my_print_defaults} \ - --loose-verbose \ - --config-file="${MY_CNF}" \ - manager ) - fi - fi - - # grab needed parameters from my.cnf, don't override the ones from - # conf.d/mysql - for my_default in ${my_defaults} ; do - case "${my_default}" in - --pid-file=*) - [[ -z "${pidfile}" ]] && pidfile="${my_default#--pid-file=}" ;; - --socket=*) - [[ -z "${socket}" ]] && socket="${my_default#--socket=}" ;; - esac - done - - # still empty, I'm in doubt if assign a default or break, will see - basedir="${basedir:-"/usr"}" - pidfile="${pidfile:-"/var/run/mysqld/mysqlmanager${MY_SUFFIX}.pid"}" - socket="${socket:-"/var/run/mysqld/mysqlmanager${MY_SUFFIX}.sock"}" - - if [[ ${DEBUG} -ge 3 ]] ; then - einfo "basedir => ${basedir}" - einfo "pidfile => ${pidfile}" - einfo "socket => ${socket}" - einfo "Unamanged => ${unmanagedparams}" - fi - - # push these out to the script - export MY_SUFFIX MY_CNF pidfile basedir socket - export unmanagedparams - [[ ${DEBUG} -ge 4 ]] && einfo "<<< get_slot_config() ok" - return 0 -} - -start() { - [[ ${DEBUG} -ge 4 ]] && einfo ">>> start()" - MYSQL_GLOB_PID_FILE=${MYSQL_GLOB_PID_FILE:-"/var/run/svc-started-${SVCNAME}"} - # servers are defined in /etc/conf.d/mysql - local serverlist=${!mysqlmanager_slot_*} - # provide default for empty conf.d/mysql - if [[ -z "${serverlist}" ]] ; then - serverlist=0 - export mysqlmanager_slot_0=() - fi - local retstatus timeout - local globretstatus=1 - local srv_slot srv_num - # server MUST NOT share same location for these - local pidfilelist=',' socketlist=',' - - # additional security - rm -f "${MYSQL_GLOB_PID_FILE}" ; touch "${MYSQL_GLOB_PID_FILE}" - if [[ $? -ne 0 ]] ; then - eerror "cannot create MYSQL_GLOB_PID_FILE: ${MYSQL_GLOB_PID_FILE}" - [[ ${DEBUG} -ge 4 ]] && einfo "<<< start() KO" - return 1 - fi - - ebegin - # try to start each server - for srv in ${serverlist[*]} ; do - einfo "working on ${srv}" - - srv_slot="${srv#mysqlmanager_slot_}" - if [[ "${srv_slot}" == "${srv_slot#*_}" ]] ; then - srv_num='' - else - srv_num="${srv_slot#*_}" - fi - srv_slot="${srv_slot%%_*}" - - retstatus=0 - get_slot_config "${srv_slot}" "${srv_num}" || retstatus=1 - - # timeout (seconds) before declaring the startup failed - - # pre_run checks - if [[ "$retstatus" -eq 0 ]] ; then - if in_list "${pidfile}" "${pidfilelist}" ; then - retstatus=3 - eerror "Sorry, won't start with same pid-file: ${pidfile}" - fi - if in_list "${socket}" "${socketlist}" ; then - retstatus=5 - eerror "Sorry, won't start with same socket: ${socket}" - fi - fi - - if [[ $retstatus -eq 0 ]] ; then - # additional security - rm -f ${pidfile} ${socket} - einfo "Starting mysqlmanager${MY_SUFFIX:+"_"}${srv_slot}${srv_num:+"_"}${srv_num} (${MY_CNF})" - - [[ ${DEBUG} -ge 2 ]] && echo "starting mysqlmanager with: "${basedir}/sbin/mysqlmanager${MY_SUFFIX} ${unmanagedparams} --pid-file=${pidfile} --socket=${socket} - - start-stop-daemon --quiet --start --background \ - --pidfile "${pidfile}" \ - --exec ${basedir}/sbin/mysqlmanager${MY_SUFFIX} \ - -- \ - ${MY_CNF:+"--defaults-file="}${MY_CNF} \ - ${unmanagedparams} \ - --pid-file=${pidfile} \ - --socket=${socket} - - retstatus=$? - - if [[ "${retstatus}" -eq 0 ]] ; then - pidfilelist="${pidfilelist}${pidfile}," - socketlist="${socketlist}${socket}," - globretstatus=0 - echo "${srv_slot}${srv_num:+"_"}${srv_num}=${pidfile}" >> "${MYSQL_GLOB_PID_FILE}" - fi - fi - done - # successfull if at least one mysqlmanager started - [[ ${DEBUG} -ge 4 ]] && einfo "<<< start()" - eend $globretstatus -} - -stop () { - MYSQL_GLOB_PID_FILE=${MYSQL_GLOB_PID_FILE:-"/var/run/svc-started-${SVCNAME}"} - local runwhat pidfile shutdown_elem - local PID cnt timeout - local retstatus=0 - local shutdown_list="$(< "${MYSQL_GLOB_PID_FILE}" )" - - # shutdown in reverse order - ebegin - for shutdown_elem in $shutdown_list; do - runwhat=${shutdown_elem%%=*} - pidfile=${shutdown_elem#*=} - timeout=${STOPTIMEOUT:-"10"} - - einfo "Stopping mysqlmanager (${runwhat})" - - PID=$(cat "${pidfile}" 2>/dev/null) - start-stop-daemon --stop --quiet --pidfile="${pidfile}" - [[ ${DEBUG} -ge 1 ]] && echo "" - while [[ -n "$PID" && $( kill -0 $PID 2>/dev/null ) && "${timeout}" -ge 1 ]] ; do - timeout=$(($timeout - 1)) - [[ ${DEBUG} -ge 1 ]] && echo -n $(( $STOPTIMEOUT - $timeout )) - sleep 1 - done - if [[ "${timeout}" -lt 1 ]] ; then - retstatus=$(( $retstatus + 1 )) - fi - done - - [[ "$retstatus" -eq 0 ]] && rm -f "$MYSQL_GLOB_PID_FILE" - eend $retstatus -} diff --git a/dev-db/mysql-community/mysql-community-5.0.27.ebuild b/dev-db/mysql-community/mysql-community-5.0.27.ebuild deleted file mode 100644 index 524e5c856b28..000000000000 --- a/dev-db/mysql-community/mysql-community-5.0.27.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-community/mysql-community-5.0.27.ebuild,v 1.4 2007/01/05 00:20:07 vivo Exp $ - -MY_EXTRAS_VER="20070105" -SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz" - -inherit mysql - -#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -src_test() { - - make check || die "make check failed" - if ! useq "minimal" ; then - cd "${S}" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus - local t - addpredict /this-dir-does-not-exist/t9.MYI - - # mysqladmin start before dir creation - mkdir mysql-test/var{,/log} - - if [[ ${UID} -eq 0 ]] ; then - mysql_disable_test "im_daemon_life_cycle" "fail as root" - mysql_disable_test "im_life_cycle" "fail as root" - mysql_disable_test "im_options_set" "fail as root" - mysql_disable_test "im_options_unset" "fail as root" - mysql_disable_test "im_utils" "fail as root" - fi - - for t in \ - loaddata_autocom_ndb \ - ndb_{alter_table{,2},autodiscover{,2,3},basic,bitfield,blob} \ - ndb_{cache{,2},cache_multi{,2},charset,condition_pushdown,config} \ - ndb_{database,gis,index,index_ordered,index_unique,insert,limit} \ - ndb_{loaddatalocal,lock,minmax,multi,read_multi_range,rename,replace} \ - ndb_{restore,subquery,transaction,trigger,truncate,types,update} \ - ps_7ndb rpl_ndb_innodb_trans strict_autoinc_5ndb - do - mysql_disable_test "${t}" "fail in sandbox" - done - - useq "extraengine" && mysql_disable_test "federated" "fail with extraengine" - - make test-force-pl - retstatus=$? - - # Just to be sure ;) - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - [[ $retstatus -eq 0 ]] || die "make test failed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mysql-community/mysql-community-5.1.14_beta.ebuild b/dev-db/mysql-community/mysql-community-5.1.14_beta.ebuild deleted file mode 100644 index d458d9da12da..000000000000 --- a/dev-db/mysql-community/mysql-community-5.1.14_beta.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-community/mysql-community-5.1.14_beta.ebuild,v 1.3 2007/01/05 00:20:07 vivo Exp $ - -MY_EXTRAS_VER="20070105" -SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz" -PBXT_VERSION="0.9.73-beta" - -inherit mysql - -#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -src_test() { - - make check || die "make check failed" - if ! useq "minimal" ; then - cd "${S}/mysql-test" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus - local t - local testopts="--force" - - # sandbox make ndbd zombie - hasq "sandbox" ${FEATURES} && testopts="${testopts} --skip-ndb" - - addpredict /this-dir-does-not-exist/t9.MYI - - # mysqladmin start before dir creation - mkdir ${S}/mysql-test/var{,/log} - - if [[ ${UID} -eq 0 ]] ; then - mysql_disable_test "im_cmd_line" "fail as root" - mysql_disable_test "im_daemon_life_cycle" "fail as root" - mysql_disable_test "im_instance_conf" "fail as root" - mysql_disable_test "im_life_cycle" "fail as root" - mysql_disable_test "im_options" "fail as root" - mysql_disable_test "im_utils" "fail as root" - mysql_disable_test "trigger" "fail as root" - fi - - useq "extraengine" && mysql_disable_test "federated" "fail with extraengine" - - mysql_disable_test "view" "FIXME: fail because now we are in year 2007" - - # from Makefile.am: - retstatus=1 - ./mysql-test-run.pl ${testopts} --mysqld=--binlog-format=mixed \ - && ./mysql-test-run.pl ${testopts} --ps-protocol --mysqld=--binlog-format=row \ - && ./mysql-test-run.pl ${testopts} --ps-protocol --mysqld=--binlog-format=mixed \ - && ./mysql-test-run.pl ${testopts} --mysqld=--binlog-format=row \ - && retstatus=0 - - # Just to be sure ;) - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - [[ $retstatus -eq 0 ]] || die "make test failed" - else - einfo "Skipping server tests due to minimal build." - fi -} diff --git a/dev-db/mysql-community/mysql-community-5.1.15_alpha20061231-r60.ebuild b/dev-db/mysql-community/mysql-community-5.1.15_alpha20061231-r60.ebuild deleted file mode 100644 index d91ae7eb2fae..000000000000 --- a/dev-db/mysql-community/mysql-community-5.1.15_alpha20061231-r60.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-community/mysql-community-5.1.15_alpha20061231-r60.ebuild,v 1.2 2007/01/05 00:20:07 vivo Exp $ - -MY_EXTRAS_VER="latest" -SERVER_URI="mirror://gentoo/MySQL-${PV%.*}/mysql-${PV//_alpha/-bk-}.tar.bz2" -PBXT_VERSION="0.9.73-beta" - -inherit mysql - -#REMEMBER!!!: update also eclass/mysql*.eclass prior to commit -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" - -src_test() { - - make check || die "make check failed" - if ! useq "minimal" ; then - cd "${S}/mysql-test" - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" - local retstatus - local t - local testopts="--force" - - # sandbox make ndbd zombie - hasq "sandbox" ${FEATURES} && testopts="${testopts} --skip-ndb" - - addpredict /this-dir-does-not-exist/t9.MYI - - # mysqladmin start before dir creation - mkdir ${S}/mysql-test/var{,/log} - - if [[ ${UID} -eq 0 ]] ; then - mysql_disable_test "im_cmd_line" "fail as root" - mysql_disable_test "im_daemon_life_cycle" "fail as root" - mysql_disable_test "im_instance_conf" "fail as root" - mysql_disable_test "im_life_cycle" "fail as root" - mysql_disable_test "im_options" "fail as root" - mysql_disable_test "im_utils" "fail as root" - mysql_disable_test "trigger" "fail as root" - fi - - useq "extraengine" && mysql_disable_test "federated" "fail with extraengine" - - mysql_disable_test "view" "Already fixed: fail because now we are in year 2007" - - # from Makefile.am: - retstatus=1 - ./mysql-test-run.pl ${testopts} --mysqld=--binlog-format=mixed \ - && ./mysql-test-run.pl ${testopts} --ps-protocol --mysqld=--binlog-format=row \ - && ./mysql-test-run.pl ${testopts} --ps-protocol --mysqld=--binlog-format=mixed \ - && ./mysql-test-run.pl ${testopts} --mysqld=--binlog-format=row \ - && retstatus=0 - - # Just to be sure ;) - pkill -9 -f "${S}/ndb" 2>/dev/null - pkill -9 -f "${S}/sql" 2>/dev/null - [[ $retstatus -eq 0 ]] || die "make test failed" - else - einfo "Skipping server tests due to minimal build." - fi -} |