diff options
Diffstat (limited to 'dev-db')
26 files changed, 357 insertions, 821 deletions
diff --git a/dev-db/monetdb/ChangeLog b/dev-db/monetdb/ChangeLog index 7b81d95cdb7a..527ae1c014e9 100644 --- a/dev-db/monetdb/ChangeLog +++ b/dev-db/monetdb/ChangeLog @@ -1,6 +1,35 @@ # ChangeLog for dev-db/monetdb # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/ChangeLog,v 1.14 2007/04/28 22:07:02 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/ChangeLog,v 1.15 2007/11/06 10:44:06 grobian Exp $ + +*monetdb-5.2.0 (06 Nov 2007) + + 06 Nov 2007; Fabian Groffen <grobian@gentoo.org> + +files/xquery-0.20.0-bool-undeclared.patch, -files/monetdb.conf-4.8.2, + -files/monetdb.init-4.8.2, -files/monetdb-4.8.2-startup.mil, + -files/monetdb.JdbcClient-4.10.0, + -files/monetdb-4.10.2-gentoo-MapiClient.patch, + -files/monetdb-4.10.2-gentoo-conf.patch, + -files/monetdb-4.12.0-gentoo-MapiClient.patch, + -files/monetdb-4.12.0-gentoo-conf.patch, + -files/monetdb-4.12.0-startup.mil, +files/monetdb.conf-5.2.0, + +files/monetdb.init-5.2.0, -files/monetdb-start.sh, + -files/monetdb-stop.sh, -files/monetdb_config.sh, metadata.xml, + -monetdb-4.10.2.ebuild, -monetdb-4.12.0.ebuild, +monetdb-4.20.0.ebuild, + +monetdb-5.2.0.ebuild: + Backport latest release from Gentoo/Alt:Prefix overlay. Keep it still masked + as it needs to be tested non-prefix first. Remove old non-compiling + cruft. + + 06 Nov 2007; Fabian Groffen <grobian@gentoo.org> monetdb-5.2.0.ebuild, + monetdb-5.2.0.ebuild: + Create dbfarm, as upstream doesn't do that for us + +*monetdb-4.20.0 (05 Nov 2007) + + 05 Nov 2007; Fabian Groffen <fabian@gentoo.org> + +files/xquery-0.20.0-bool-undeclared.patch, +monetdb-4.20.0.ebuild: + Latest release, completely rewritten ebuilds. M5/SQL and M4/XQuery 28 Apr 2007; Torsten Veller <tove@gentoo.org> monetdb-4.10.2.ebuild, monetdb-4.12.0.ebuild: diff --git a/dev-db/monetdb/Manifest b/dev-db/monetdb/Manifest index e841f8247d22..0e998b2c49ab 100644 --- a/dev-db/monetdb/Manifest +++ b/dev-db/monetdb/Manifest @@ -1,86 +1,40 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX monetdb-4.10.2-gentoo-MapiClient.patch 272 RMD160 34d0fc956c871bb2afeabff7c999189d1086a80c SHA1 23489ecce00ff17434a38b1c5afaee39fd765a1d SHA256 21835c605f614ce1c81a25b31f23568b16a991cd4abb2d870f70b26541dcde88 -MD5 2a5b0e0bef93cf69a675b8f5699db95c files/monetdb-4.10.2-gentoo-MapiClient.patch 272 -RMD160 34d0fc956c871bb2afeabff7c999189d1086a80c files/monetdb-4.10.2-gentoo-MapiClient.patch 272 -SHA256 21835c605f614ce1c81a25b31f23568b16a991cd4abb2d870f70b26541dcde88 files/monetdb-4.10.2-gentoo-MapiClient.patch 272 -AUX monetdb-4.10.2-gentoo-conf.patch 1610 RMD160 44424a75de608305496c86b42dbd931feb35e8b0 SHA1 8e126478d6f0dea996697b7061c4495eb7cad27e SHA256 b30630a1904622d45f04e49925be73aa9a2dac4d34ea84ad190f2b8eaf1d835e -MD5 d51a694bff2b2f046fc9098db708af13 files/monetdb-4.10.2-gentoo-conf.patch 1610 -RMD160 44424a75de608305496c86b42dbd931feb35e8b0 files/monetdb-4.10.2-gentoo-conf.patch 1610 -SHA256 b30630a1904622d45f04e49925be73aa9a2dac4d34ea84ad190f2b8eaf1d835e files/monetdb-4.10.2-gentoo-conf.patch 1610 -AUX monetdb-4.12.0-gentoo-MapiClient.patch 246 RMD160 df5a42c9924a0e97dd02fb98b7df11383762d3a9 SHA1 a75bbbf035634c0f94025185de5c0a5844efceca SHA256 ad288d0ba59099d956275af566673cd5e0bb69b6a6ef96ce2a8396b276976e9c -MD5 c6a54f24e7082a1019c4752047479860 files/monetdb-4.12.0-gentoo-MapiClient.patch 246 -RMD160 df5a42c9924a0e97dd02fb98b7df11383762d3a9 files/monetdb-4.12.0-gentoo-MapiClient.patch 246 -SHA256 ad288d0ba59099d956275af566673cd5e0bb69b6a6ef96ce2a8396b276976e9c files/monetdb-4.12.0-gentoo-MapiClient.patch 246 -AUX monetdb-4.12.0-gentoo-conf.patch 1347 RMD160 42dab46f7f576e7a2c764b9818ca8889bc1543cd SHA1 27f8a3e68abf18a6ea862e2156088b5f2588be8a SHA256 e8eef3831212a2b565eac8b7fcc3ba66a164f047c8333f07c77768d06c328701 -MD5 dc3334a4dd054cae89dac7320615ee77 files/monetdb-4.12.0-gentoo-conf.patch 1347 -RMD160 42dab46f7f576e7a2c764b9818ca8889bc1543cd files/monetdb-4.12.0-gentoo-conf.patch 1347 -SHA256 e8eef3831212a2b565eac8b7fcc3ba66a164f047c8333f07c77768d06c328701 files/monetdb-4.12.0-gentoo-conf.patch 1347 -AUX monetdb-4.12.0-startup.mil 885 RMD160 e77aa60dee2caa12319516343aab17dcfba77fc5 SHA1 5247fe86a66844a54f46fd40cbc798931888f429 SHA256 d8bb3cfe12575dcfee09e3e2b333f331fec13fc477c26fb66efede7223f30250 -MD5 abaa4faa8590f39cc1c860297746badf files/monetdb-4.12.0-startup.mil 885 -RMD160 e77aa60dee2caa12319516343aab17dcfba77fc5 files/monetdb-4.12.0-startup.mil 885 -SHA256 d8bb3cfe12575dcfee09e3e2b333f331fec13fc477c26fb66efede7223f30250 files/monetdb-4.12.0-startup.mil 885 -AUX monetdb-4.8.2-startup.mil 929 RMD160 7c531a53801b87884b4157f25c843f84a3806ecf SHA1 f92a442331702cc63822a54161555b70d83072ee SHA256 d6c73bad89739b8136eb88df0524de0fee65f8f2bbdaf29b1086f8ece6a73e70 -MD5 739a372d2ff096d674002e3253eb4dad files/monetdb-4.8.2-startup.mil 929 -RMD160 7c531a53801b87884b4157f25c843f84a3806ecf files/monetdb-4.8.2-startup.mil 929 -SHA256 d6c73bad89739b8136eb88df0524de0fee65f8f2bbdaf29b1086f8ece6a73e70 files/monetdb-4.8.2-startup.mil 929 -AUX monetdb-start.sh 395 RMD160 f3350ed11321a16508bf6bbd8a05f03cb0023f57 SHA1 3f2f9132b048e4f72630fd6e8ce94908b96dc49b SHA256 5f96bd0d5f1bd6e2d1b24ff09378d21b776b3ce4d8f5acce14b32d7ef36988fa -MD5 e2b2887efe20694e2ac564dd0b034d55 files/monetdb-start.sh 395 -RMD160 f3350ed11321a16508bf6bbd8a05f03cb0023f57 files/monetdb-start.sh 395 -SHA256 5f96bd0d5f1bd6e2d1b24ff09378d21b776b3ce4d8f5acce14b32d7ef36988fa files/monetdb-start.sh 395 -AUX monetdb-stop.sh 626 RMD160 6ffbf33365df1182a5fe7369b0ee83633cbfb6ef SHA1 6d50550d74f8d8c2cf35d6850fa9fcfc4e2b1616 SHA256 cb2dfcc0f249a2e2096c022e3764322c3b71429dbb32135fb265aff273e196a2 -MD5 07e71d02ee02ca4ebfbc4db68fa4f40e files/monetdb-stop.sh 626 -RMD160 6ffbf33365df1182a5fe7369b0ee83633cbfb6ef files/monetdb-stop.sh 626 -SHA256 cb2dfcc0f249a2e2096c022e3764322c3b71429dbb32135fb265aff273e196a2 files/monetdb-stop.sh 626 -AUX monetdb.JdbcClient-4.10.0 65 RMD160 23a7712dd895cad634eff1eb32581ceb3ccbfb1d SHA1 ecea106957dd4cd405e87c39782ce6b92ab347fa SHA256 1099b72859877ab096a783f748105c387192a49af039d8b68cc87f1ffa1389a7 -MD5 da448c75e375ac0c3b5c20ef580214b4 files/monetdb.JdbcClient-4.10.0 65 -RMD160 23a7712dd895cad634eff1eb32581ceb3ccbfb1d files/monetdb.JdbcClient-4.10.0 65 -SHA256 1099b72859877ab096a783f748105c387192a49af039d8b68cc87f1ffa1389a7 files/monetdb.JdbcClient-4.10.0 65 -AUX monetdb.conf-4.8.2 768 RMD160 b8b93d4096e0fb3b2c05500ed101cd51d29ef5de SHA1 ee87acc934bcafe775a768313665c03c88cb4bb2 SHA256 fdca4c015721af0a20dd5c45658f12121aec8244f5d93fbe1eff87b3285c635c -MD5 09aa9eafe8a4c3073b669baa9ea6ea6d files/monetdb.conf-4.8.2 768 -RMD160 b8b93d4096e0fb3b2c05500ed101cd51d29ef5de files/monetdb.conf-4.8.2 768 -SHA256 fdca4c015721af0a20dd5c45658f12121aec8244f5d93fbe1eff87b3285c635c files/monetdb.conf-4.8.2 768 -AUX monetdb.init-4.8.2 328 RMD160 1644de3282978bbbd866fcd37b973f81d667e3f9 SHA1 2445c489a43fcf4b17f50bc6f6a7409430e8c74d SHA256 1c26d0edc995d10780caaa5bd8e944808f366f861030173f4194f0e2f4d55968 -MD5 cae0e46fdfa11ea1f0be120005076b83 files/monetdb.init-4.8.2 328 -RMD160 1644de3282978bbbd866fcd37b973f81d667e3f9 files/monetdb.init-4.8.2 328 -SHA256 1c26d0edc995d10780caaa5bd8e944808f366f861030173f4194f0e2f4d55968 files/monetdb.init-4.8.2 328 -AUX monetdb_config.sh 653 RMD160 de543876a706a69eea7897cdc917cf8a59231f52 SHA1 2b164893d28d8ee850d3a2825ac95b3ce4628686 SHA256 664f47d892cbc659868581c87f9fadd1d2d35ee1944d1e5446b1374c28efa1aa -MD5 a9a2dbac1941306b506077c635415e7e files/monetdb_config.sh 653 -RMD160 de543876a706a69eea7897cdc917cf8a59231f52 files/monetdb_config.sh 653 -SHA256 664f47d892cbc659868581c87f9fadd1d2d35ee1944d1e5446b1374c28efa1aa files/monetdb_config.sh 653 -DIST MonetDB-4.10.2.tar.gz 6505286 RMD160 84882bdac8987497e1357a74f7746964fac40e13 SHA1 8b5e4f80eb70e29ebb7ba55a875ff04e0acbb617 SHA256 e66dfb81b9fd5c222c2ec846a21a966bbd8cd9e78321467319d4b68ccd97764b -DIST MonetDB-4.12.0.tar.gz 6573810 RMD160 80f3eec8db50a27b44596cd66ec251df158dfc6f SHA1 b55e302d9bdc78edbc3efb9e685f9df9509ead8d SHA256 7626b0b033f3a67ed249390fab9e7140cf3d704fd781d4c649291242af1e0903 -DIST MonetDB-SQL-2.10.2.tar.gz 13129287 RMD160 cb1dc3e600293c13ca49421fad58089608dcca86 SHA1 2f71500fdcf4e870d4c03ee2e6cd1eb459e783fd SHA256 08d5f1d973445060e5fe6041fb7fb33109e6880aa21383922c5b032b34c822ad -DIST MonetDB-SQL-2.12.0.tar.gz 13232765 RMD160 d83cd2dba8b99c9f9a18fe86c9e3ff7a01fd0cfd SHA1 e1b206b1f9e336a153e624f3991e7a37d877ec90 SHA256 bd53b8a97f204969d8587a9d6ac14d713abd234ca0ad9a9a208275e3f844a0bc -DIST MonetDB-XQuery-0.10.2.tar.gz 5039724 RMD160 15825aebf9af51a18f886643899809580ed59f6c SHA1 f054789ccf8889a1e315803d1c138308304cbdb4 SHA256 fe5ba620a0fc5ecee0a1a468f2efaf3aa75c469dc2a65528b85ee0ff5e1360b2 -DIST MonetDB-XQuery-0.12.0.tar.gz 5112297 RMD160 bbaf492132592b56fd863c3a54d2c79152fe693a SHA1 919fc8b3542d79f9dd540b67072288a52c3d2fd4 SHA256 40d799c9ef03411a743107f55fbcf4fa3860dc04a6810f6ed56d73d4f43dfa5d -EBUILD monetdb-4.10.2.ebuild 7425 RMD160 44cf2141e35e79696eeebece27b8c311fe97bebe SHA1 03a2bc7d929ece4adf48d304fc7fc4a2f6499e59 SHA256 81bba48fba6d0946ebcf00f36dea8666d8859cb461c96bd2430cde9a620ffc95 -MD5 458115b26a631fc4d71ab4454c364b64 monetdb-4.10.2.ebuild 7425 -RMD160 44cf2141e35e79696eeebece27b8c311fe97bebe monetdb-4.10.2.ebuild 7425 -SHA256 81bba48fba6d0946ebcf00f36dea8666d8859cb461c96bd2430cde9a620ffc95 monetdb-4.10.2.ebuild 7425 -EBUILD monetdb-4.12.0.ebuild 7096 RMD160 a38f7de8042a4dedd8f206d86f0bd144620b72c6 SHA1 0f0e320f4286c6fa273fd9ba8d46a6a415e12a7c SHA256 09652dca88ed5d1da6906142fd29f3feebb79ce97dd5052ebd62343f0775dc79 -MD5 dea0de85d2a91b3035ddab043d7a1377 monetdb-4.12.0.ebuild 7096 -RMD160 a38f7de8042a4dedd8f206d86f0bd144620b72c6 monetdb-4.12.0.ebuild 7096 -SHA256 09652dca88ed5d1da6906142fd29f3feebb79ce97dd5052ebd62343f0775dc79 monetdb-4.12.0.ebuild 7096 -MISC ChangeLog 3487 RMD160 8ce851c1cb63d4b382c4c9f5cddac2deb730cd24 SHA1 553e17bd19ffaa43041bfa5ee5778b6e27297250 SHA256 dc3874e610ef1ffa6e3076786bbe2953e02b2d6127ee5e5e30d1b52a786cf931 -MD5 1e5f4bce083f603f63723b505214754a ChangeLog 3487 -RMD160 8ce851c1cb63d4b382c4c9f5cddac2deb730cd24 ChangeLog 3487 -SHA256 dc3874e610ef1ffa6e3076786bbe2953e02b2d6127ee5e5e30d1b52a786cf931 ChangeLog 3487 -MISC metadata.xml 801 RMD160 1fa793c98a0c1bef77ea57c36e9f65814da8766d SHA1 0e97925f686a1f0d376a727b852fa4f273d4a72f SHA256 08df50f2635f4fd653ea0b292d4c7c53e12ea61e8f8e8b5684dedcdc812513ff -MD5 ca9ff61fbe7d29f666c1ffdc61bb168d metadata.xml 801 -RMD160 1fa793c98a0c1bef77ea57c36e9f65814da8766d metadata.xml 801 -SHA256 08df50f2635f4fd653ea0b292d4c7c53e12ea61e8f8e8b5684dedcdc812513ff metadata.xml 801 -MD5 3d705a95cba837486ab5a1b2bf33072f files/digest-monetdb-4.10.2 777 -RMD160 6b5baa7b82c285447fbbaf3c37bf4b6d619884a2 files/digest-monetdb-4.10.2 777 -SHA256 a6d5e64d76927480e4f8d551e3333ec97a4ceef8c50310c53314422c6224ee6e files/digest-monetdb-4.10.2 777 -MD5 3ef2b3377150d73b58123b58b044b2cc files/digest-monetdb-4.12.0 777 -RMD160 d4b9b34d78342eb0eb46ff23b7d254f3f7ac176c files/digest-monetdb-4.12.0 777 -SHA256 0d2b3b22bf5f33b5f7089d17d942aceb622d68fb22d5e683aac61a1e49abe07d files/digest-monetdb-4.12.0 777 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) - -iD8DBQFGM8WNV3J2n04EauwRAtDKAKDNTUeLOw/QHAJxkwe1YcPzwQpmxACfVx0B -UGsUMek17AfvtbD5otkymVM= -=gEmk ------END PGP SIGNATURE----- +AUX monetdb.conf-5.2.0 352 RMD160 11c8cf320ea408f8aebc3b14a4a0658cf614fa89 SHA1 7df2b2f823ceac58b5690cc50c60b9898e1beede SHA256 2dd8a46862e51c21628b967d56123c1db328d0e4fd8f15eb5f6f4fd0c8d596dc +MD5 a7ee3103ab1c1fd9edc03d1573d5ca67 files/monetdb.conf-5.2.0 352 +RMD160 11c8cf320ea408f8aebc3b14a4a0658cf614fa89 files/monetdb.conf-5.2.0 352 +SHA256 2dd8a46862e51c21628b967d56123c1db328d0e4fd8f15eb5f6f4fd0c8d596dc files/monetdb.conf-5.2.0 352 +AUX monetdb.init-5.2.0 713 RMD160 51e8e87b87292d6be3f9ed082565a7376adf04d7 SHA1 23610ca74766763e3d06d678b545cd66ebe1476c SHA256 ee55f3e43aa27e4957da8ec9a0612aa1cacb46c25f5eacb69bd0fa39b4dc4f4f +MD5 30e62d91c001f747ab4b0513331a222f files/monetdb.init-5.2.0 713 +RMD160 51e8e87b87292d6be3f9ed082565a7376adf04d7 files/monetdb.init-5.2.0 713 +SHA256 ee55f3e43aa27e4957da8ec9a0612aa1cacb46c25f5eacb69bd0fa39b4dc4f4f files/monetdb.init-5.2.0 713 +AUX xquery-0.20.0-bool-undeclared.patch 564 RMD160 facacdee3c54ebb6ad246719228f6770111038bf SHA1 018577d129d736fa6bd754524587acd3080baeec SHA256 af06ccc3ce747db5ac64bf65ba343c29d1c252583ffec6974365945099b3afe0 +MD5 d671269467b01825c566b30ab435ef31 files/xquery-0.20.0-bool-undeclared.patch 564 +RMD160 facacdee3c54ebb6ad246719228f6770111038bf files/xquery-0.20.0-bool-undeclared.patch 564 +SHA256 af06ccc3ce747db5ac64bf65ba343c29d1c252583ffec6974365945099b3afe0 files/xquery-0.20.0-bool-undeclared.patch 564 +DIST MonetDB-1.20.0.tar.gz 1187205 RMD160 fd2a3ec77568ca6fac845c60a27182b58903bd10 SHA1 41e9fc9eed2e65dfc7d1ab553061406c998e9293 SHA256 f465ddb5674ea1a64594922404dcd359907bafc39efb6cf9800eb9f7a63739c7 +DIST MonetDB4-4.20.0.tar.gz 5613616 RMD160 e6152d192bbc94962914ba2776229c3f5cf94c81 SHA1 939cfa56bf47e51995c3844abe8794d31f89e154 SHA256 4cfc8991723d6824fb2fc749dd524e1308a45e79e6b03a952f8336c9f1673ff0 +DIST MonetDB5-5.2.0.tar.gz 4290306 RMD160 406592af8a7ccb43cae92e86e009749824065121 SHA1 7fd879a3fa644a59c5c5d27becdaf25cdf260f0b SHA256 0d94e2222038ef977cf79f71519fe16d6470a36eac7c6b2a9c3976dcd9c8c65a +DIST clients-1.20.0.tar.gz 1072346 RMD160 b992f929739b5ea7478afb9228fe8b0e871474e9 SHA1 e6e6ef95e293aedc6c6346b77f377b783db288c1 SHA256 3c5f549b7f64bc2004296f223c24d435d36c908590a23f97ad4008529f47eca2 +DIST pathfinder-0.20.0.tar.gz 29828492 RMD160 907ad6e68425cf9ac097c0cd8369adfbe4f85042 SHA1 1890442944c3003fb8f091c9cebe3e7a9b0c5f57 SHA256 d36474319f85f42eed20210072d42c24dcd7caa436a3764a43ea7b565dac2f1d +DIST sql-2.20.0.tar.gz 14281686 RMD160 8cf16013bc13dedf56e9d918e1bee4a43ce0df6e SHA1 65216cc7b17de5c91217590179b6e947f978de97 SHA256 0ccb003b3713daefa0c415f5a1dae513e3108c970eeeb9379f57145f9c902298 +EBUILD monetdb-4.20.0.ebuild 2451 RMD160 536ead998b1382df40362f63792b008bf290de0e SHA1 6162aba43ef26a92ec898821359ba7441f02ea0c SHA256 9a139d832923883359613a460eb40e604cc37c59b5225d2f9c515c10e3f684bb +MD5 433bcf20e88a94538fc4252afe91c48d monetdb-4.20.0.ebuild 2451 +RMD160 536ead998b1382df40362f63792b008bf290de0e monetdb-4.20.0.ebuild 2451 +SHA256 9a139d832923883359613a460eb40e604cc37c59b5225d2f9c515c10e3f684bb monetdb-4.20.0.ebuild 2451 +EBUILD monetdb-5.2.0.ebuild 4067 RMD160 1b99c5707df33214a1aab29b7c7f16585b1099b8 SHA1 af00fc1640635847b32312dc4027cc390bfa5a04 SHA256 7423323f1d9b975b02315be018908f1baa2adc732bb142061bea2208037ad801 +MD5 826d4fd07e9e62242049e15ba303203b monetdb-5.2.0.ebuild 4067 +RMD160 1b99c5707df33214a1aab29b7c7f16585b1099b8 monetdb-5.2.0.ebuild 4067 +SHA256 7423323f1d9b975b02315be018908f1baa2adc732bb142061bea2208037ad801 monetdb-5.2.0.ebuild 4067 +MISC ChangeLog 4742 RMD160 c5f72a2dde71bbbc8f732d24261210691ab187e3 SHA1 3b9f259e2bf8004c005cbdd783db5208a83402ce SHA256 b06d1bb3376ebe683fa1ce52610220496d3c6559dad967a4b7d44478eb2b421e +MD5 858078a53b073469da1cd2306c799c5f ChangeLog 4742 +RMD160 c5f72a2dde71bbbc8f732d24261210691ab187e3 ChangeLog 4742 +SHA256 b06d1bb3376ebe683fa1ce52610220496d3c6559dad967a4b7d44478eb2b421e ChangeLog 4742 +MISC metadata.xml 627 RMD160 992e24e56bc9d1416ef44b19c85f7b762d254312 SHA1 fb7eec5099ff2f952d56ea6174cb47e562033f3a SHA256 0e627e2bf1d20cc5fb41aeb08c12af9c080103ae040545930e1ddbc5b73f66df +MD5 50272263f7a0cceed325fa315aa70b64 metadata.xml 627 +RMD160 992e24e56bc9d1416ef44b19c85f7b762d254312 metadata.xml 627 +SHA256 0e627e2bf1d20cc5fb41aeb08c12af9c080103ae040545930e1ddbc5b73f66df metadata.xml 627 +MD5 a1da2062ff748b8fd40c70b789053384 files/digest-monetdb-4.20.0 509 +RMD160 65b47a5ab8e9e45bb46fc5f9cab20b6c508b6bab files/digest-monetdb-4.20.0 509 +SHA256 fbae71b57bcfbc8ee83724bbfda58fc9483e5c1c4106b27916714a0c3f02a442 files/digest-monetdb-4.20.0 509 +MD5 05170443f2d463aa13fd975545d08e83 files/digest-monetdb-5.2.0 979 +RMD160 dd1e72d28f080220e7b997e47e6aed963e52fc0f files/digest-monetdb-5.2.0 979 +SHA256 0e8dae2fd3ec998e113f840195588449fa7d437de2a6e0d5953ef1dfa76fe0b9 files/digest-monetdb-5.2.0 979 diff --git a/dev-db/monetdb/files/digest-monetdb-4.10.2 b/dev-db/monetdb/files/digest-monetdb-4.10.2 deleted file mode 100644 index 79893d270cbe..000000000000 --- a/dev-db/monetdb/files/digest-monetdb-4.10.2 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 855e17f84fac0fbe345131009f168fda MonetDB-4.10.2.tar.gz 6505286 -RMD160 84882bdac8987497e1357a74f7746964fac40e13 MonetDB-4.10.2.tar.gz 6505286 -SHA256 e66dfb81b9fd5c222c2ec846a21a966bbd8cd9e78321467319d4b68ccd97764b MonetDB-4.10.2.tar.gz 6505286 -MD5 cfc2605e25a965c0a7ffab70d7ade322 MonetDB-SQL-2.10.2.tar.gz 13129287 -RMD160 cb1dc3e600293c13ca49421fad58089608dcca86 MonetDB-SQL-2.10.2.tar.gz 13129287 -SHA256 08d5f1d973445060e5fe6041fb7fb33109e6880aa21383922c5b032b34c822ad MonetDB-SQL-2.10.2.tar.gz 13129287 -MD5 fc86e09a7067ea2ee97c8dc3b7395e23 MonetDB-XQuery-0.10.2.tar.gz 5039724 -RMD160 15825aebf9af51a18f886643899809580ed59f6c MonetDB-XQuery-0.10.2.tar.gz 5039724 -SHA256 fe5ba620a0fc5ecee0a1a468f2efaf3aa75c469dc2a65528b85ee0ff5e1360b2 MonetDB-XQuery-0.10.2.tar.gz 5039724 diff --git a/dev-db/monetdb/files/digest-monetdb-4.12.0 b/dev-db/monetdb/files/digest-monetdb-4.12.0 deleted file mode 100644 index dabe39c94715..000000000000 --- a/dev-db/monetdb/files/digest-monetdb-4.12.0 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 189eb93b08d21238dd50e71408dc0a69 MonetDB-4.12.0.tar.gz 6573810 -RMD160 80f3eec8db50a27b44596cd66ec251df158dfc6f MonetDB-4.12.0.tar.gz 6573810 -SHA256 7626b0b033f3a67ed249390fab9e7140cf3d704fd781d4c649291242af1e0903 MonetDB-4.12.0.tar.gz 6573810 -MD5 1a71813504da964122877db9885fe077 MonetDB-SQL-2.12.0.tar.gz 13232765 -RMD160 d83cd2dba8b99c9f9a18fe86c9e3ff7a01fd0cfd MonetDB-SQL-2.12.0.tar.gz 13232765 -SHA256 bd53b8a97f204969d8587a9d6ac14d713abd234ca0ad9a9a208275e3f844a0bc MonetDB-SQL-2.12.0.tar.gz 13232765 -MD5 bae37d704947155b24d3489074f68eee MonetDB-XQuery-0.12.0.tar.gz 5112297 -RMD160 bbaf492132592b56fd863c3a54d2c79152fe693a MonetDB-XQuery-0.12.0.tar.gz 5112297 -SHA256 40d799c9ef03411a743107f55fbcf4fa3860dc04a6810f6ed56d73d4f43dfa5d MonetDB-XQuery-0.12.0.tar.gz 5112297 diff --git a/dev-db/monetdb/files/digest-monetdb-4.20.0 b/dev-db/monetdb/files/digest-monetdb-4.20.0 new file mode 100644 index 000000000000..353ed70ef1f4 --- /dev/null +++ b/dev-db/monetdb/files/digest-monetdb-4.20.0 @@ -0,0 +1,6 @@ +MD5 c02cf6a018acc16983b49ac9411e872f MonetDB4-4.20.0.tar.gz 5613616 +RMD160 e6152d192bbc94962914ba2776229c3f5cf94c81 MonetDB4-4.20.0.tar.gz 5613616 +SHA256 4cfc8991723d6824fb2fc749dd524e1308a45e79e6b03a952f8336c9f1673ff0 MonetDB4-4.20.0.tar.gz 5613616 +MD5 d26334e63df4db2581653c5ad7b0ee98 pathfinder-0.20.0.tar.gz 29828492 +RMD160 907ad6e68425cf9ac097c0cd8369adfbe4f85042 pathfinder-0.20.0.tar.gz 29828492 +SHA256 d36474319f85f42eed20210072d42c24dcd7caa436a3764a43ea7b565dac2f1d pathfinder-0.20.0.tar.gz 29828492 diff --git a/dev-db/monetdb/files/digest-monetdb-5.2.0 b/dev-db/monetdb/files/digest-monetdb-5.2.0 new file mode 100644 index 000000000000..88211bf977f8 --- /dev/null +++ b/dev-db/monetdb/files/digest-monetdb-5.2.0 @@ -0,0 +1,12 @@ +MD5 f35f6a6ee73aae0171bbd71a5ed1436f MonetDB-1.20.0.tar.gz 1187205 +RMD160 fd2a3ec77568ca6fac845c60a27182b58903bd10 MonetDB-1.20.0.tar.gz 1187205 +SHA256 f465ddb5674ea1a64594922404dcd359907bafc39efb6cf9800eb9f7a63739c7 MonetDB-1.20.0.tar.gz 1187205 +MD5 27402bc7744a96b024a21c45340998e5 MonetDB5-5.2.0.tar.gz 4290306 +RMD160 406592af8a7ccb43cae92e86e009749824065121 MonetDB5-5.2.0.tar.gz 4290306 +SHA256 0d94e2222038ef977cf79f71519fe16d6470a36eac7c6b2a9c3976dcd9c8c65a MonetDB5-5.2.0.tar.gz 4290306 +MD5 873b1611054e40b0c3e0606f54b8fcbd clients-1.20.0.tar.gz 1072346 +RMD160 b992f929739b5ea7478afb9228fe8b0e871474e9 clients-1.20.0.tar.gz 1072346 +SHA256 3c5f549b7f64bc2004296f223c24d435d36c908590a23f97ad4008529f47eca2 clients-1.20.0.tar.gz 1072346 +MD5 38a0b72d56215288c47fa22064e3f87a sql-2.20.0.tar.gz 14281686 +RMD160 8cf16013bc13dedf56e9d918e1bee4a43ce0df6e sql-2.20.0.tar.gz 14281686 +SHA256 0ccb003b3713daefa0c415f5a1dae513e3108c970eeeb9379f57145f9c902298 sql-2.20.0.tar.gz 14281686 diff --git a/dev-db/monetdb/files/monetdb-4.10.2-gentoo-MapiClient.patch b/dev-db/monetdb/files/monetdb-4.10.2-gentoo-MapiClient.patch deleted file mode 100644 index 7f1d2ed8cb2d..000000000000 --- a/dev-db/monetdb/files/monetdb-4.10.2-gentoo-MapiClient.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- MonetDB-4.10.2/src/mapi/clients/C/MapiClient.c -+++ MonetDB-4.10.2/src/mapi/clients/C/MapiClient.c -@@ -1175,7 +1175,7 @@ - { - opt *set = NULL; - int setlen; -- char *language = "mil"; -+ char *language = "sql"; - int port = 0; - char *user = NULL; - char *passwd = NULL; diff --git a/dev-db/monetdb/files/monetdb-4.10.2-gentoo-conf.patch b/dev-db/monetdb/files/monetdb-4.10.2-gentoo-conf.patch deleted file mode 100644 index 1c8fab677d23..000000000000 --- a/dev-db/monetdb/files/monetdb-4.10.2-gentoo-conf.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- MonetDB-4.10.2/conf/MonetDB.conf.in -+++ MonetDB-4.10.2/conf/MonetDB.conf.in -@@ -20,7 +20,7 @@ - # the name of the database to use below. Note that you can use - # multiple databases, but that you have to edit the database name - # and restart MonetDB. --gdk_dbname=demo -+gdk_dbname=default - - # The options below deal with various aspects of memory usage behaviour. - # If you don't know what these values mean, you should leave them alone. -@@ -72,11 +72,6 @@ - # - #gdk_version <ver> create BATs in old formats[out of date?] - -- --# General client Section --#======================= --#host=localhost #the host the server runs on -- - # MonetDB Section - #================ - # Administrator user name -@@ -89,7 +84,7 @@ - # Where do the MonetDB modules reside? The second path is for windows dlls. - monet_mod_path=@Xlibdir@@DIRSEP@@PACKAGE@@PATHSEP@@Xlibdir@@DIRSEP@bin - # Start Mserver in daemon mode, or start with MIL interactive interface? --monet_daemon=no -+monet_daemon=yes - - # Monet Application Interface Section - #==================================== -@@ -101,7 +96,7 @@ - mapi_debug=0 - # The number of concurrent clients can be set using mapi_clients - # (smaller than 1 is not very useful) --#mapi_clients=2 -+mapi_clients=10 - - # SQL Interface Section - #====================== -@@ -118,9 +113,6 @@ - # default port to address an Mserver for an XQuery session - xquery_port=45789 - --# default port to address the HTTP server for pathfinder --pf_httpd_port=8080 -- - #output mode "dm" = pretty printed, - # "xml" = enforce XML with enclosing <XQueryResult> tags - xquery_output=dm diff --git a/dev-db/monetdb/files/monetdb-4.12.0-gentoo-MapiClient.patch b/dev-db/monetdb/files/monetdb-4.12.0-gentoo-MapiClient.patch deleted file mode 100644 index 758dc9c3bb1f..000000000000 --- a/dev-db/monetdb/files/monetdb-4.12.0-gentoo-MapiClient.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- MonetDB-4.12.0/src/mapi/clients/C/MapiClient.c -+++ MonetDB-4.12.0/src/mapi/clients/C/MapiClient.c -@@ -35,7 +35,7 @@ - #endif - - static FILE *toConsole; --static char *language = "mil"; -+static char *language = "sql"; - - char *command = NULL; - diff --git a/dev-db/monetdb/files/monetdb-4.12.0-gentoo-conf.patch b/dev-db/monetdb/files/monetdb-4.12.0-gentoo-conf.patch deleted file mode 100644 index bb4aa026b467..000000000000 --- a/dev-db/monetdb/files/monetdb-4.12.0-gentoo-conf.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- MonetDB-4.12.0/conf/MonetDB.conf.in -+++ MonetDB-4.12.0/conf/MonetDB.conf.in -@@ -20,7 +20,7 @@ - # the name of the database to use below. Note that you can use - # multiple databases, but that you have to edit the database name - # and restart MonetDB. --gdk_dbname=demo -+gdk_dbname=default - - # The options below deal with various aspects of memory usage behaviour. - # If you don't know what these values mean, you should leave them alone. -@@ -70,10 +70,6 @@ - # 4194304 = show result size estimations (for join,select) - # 8388608 = extended property checking: tells also about not set properties - --# General client Section --#======================= --#host=localhost #the host the server runs on -- - # MonetDB Section - #================ - # Administrator user name -@@ -86,7 +82,7 @@ - # Where do the MonetDB modules reside? The second path is for windows dlls. - monet_mod_path=@Xlibdir@@DIRSEP@@PACKAGE@@PATHSEP@@Xlibdir@@DIRSEP@bin - # Start Mserver in daemon mode, or start with MIL interactive interface? --monet_daemon=no -+monet_daemon=yes - - # Monet Application Interface Section - #==================================== -@@ -98,7 +94,7 @@ - mapi_debug=0 - # The number of concurrent clients can be set using mapi_clients - # (smaller than 1 is not very useful) --#mapi_clients=2 -+mapi_clients=10 - - # SQL Interface Section - #====================== diff --git a/dev-db/monetdb/files/monetdb-4.12.0-startup.mil b/dev-db/monetdb/files/monetdb-4.12.0-startup.mil deleted file mode 100644 index 40a21283adbe..000000000000 --- a/dev-db/monetdb/files/monetdb-4.12.0-startup.mil +++ /dev/null @@ -1,25 +0,0 @@ -# Gentoo MonetDB startup.mil script -- Fabian Groffen grobian@gentoo.org -# -# This script starts the SQL, XQuery and Mapi modules and activates a -# listening socket for all of them on their default port. This results -# in three ports of your system being occupied. By default the ports -# are as follows: -# SQL server: 45123 -# XQuery server: 45789 -# Mapi server: 50000 - -# should connections be bound to localhost or 0.0.0.0? Set to true here -# to allow foreign connections. Defaults to false (only local). -var allow_foreign_connections := false; - -# -# If were only looking for whatever you could change, you can stop -# reading at this point and save your changes. Don't change anything -# below if you don't know what you're doing. -# - -module(sql_server); -module(pathfinder); -mapi_start(allow_foreign_connections); -mapi_register(sql_frontend()); -mapi_register(xquery_frontend()); diff --git a/dev-db/monetdb/files/monetdb-4.8.2-startup.mil b/dev-db/monetdb/files/monetdb-4.8.2-startup.mil deleted file mode 100644 index 4698229c174d..000000000000 --- a/dev-db/monetdb/files/monetdb-4.8.2-startup.mil +++ /dev/null @@ -1,28 +0,0 @@ -# Gentoo MonetDB startup.mil script -- Fabian Groffen grobian@gentoo.org -# -# This script starts the SQL, XQuery and Mapi modules and activates a -# listening socket for all of them on their default port. This results -# in three ports of your system being occupied. By default the ports -# are as follows: -# SQL server: 45123 -# XQuery server: 45789 -# Mapi server: 50000 - -# should connections be bound to localhost or 0.0.0.0? Set to true here -# to allow foreign connections. Defaults to false (only local). -var allow_foreign_connections := false; - -# -# If were only looking for whatever you could change, you can stop -# reading at this point and save your changes. Don't change anything -# below if you don't know what you're doing. -# - -module(sql_server); -sql_server_start(allow_foreign_connections); - -module(pathfinder); -xquery_server_start(allow_foreign_connections); - -module(mapi); -mapi_start(allow_foreign_connections); diff --git a/dev-db/monetdb/files/monetdb-start.sh b/dev-db/monetdb/files/monetdb-start.sh deleted file mode 100644 index d9f25ad106c4..000000000000 --- a/dev-db/monetdb/files/monetdb-start.sh +++ /dev/null @@ -1,16 +0,0 @@ -#! /bin/sh - -LOG=/var/log/monetdb/Mserver.log -echo `date` Starting MonetDB >> $LOG -/usr/bin/Mserver $@ >> $LOG 2>&1 & -MPID=$! -echo `date` Mserver started, PID: $MPID >> $LOG -rm -f ~monetdb/Mserver.pid > /dev/null -sleep 2 -ALIVE=`ps --no-heading --format pid -p $MPID | sed 's- --'` -if [ "$ALIVE" = "$MPID" ]; then - echo $MPID > ~monetdb/Mserver.pid -else - echo Mserver died immediately - exit -1 -fi diff --git a/dev-db/monetdb/files/monetdb-stop.sh b/dev-db/monetdb/files/monetdb-stop.sh deleted file mode 100644 index aa562e814f98..000000000000 --- a/dev-db/monetdb/files/monetdb-stop.sh +++ /dev/null @@ -1,26 +0,0 @@ -#! /bin/sh - -LOG=/var/log/monetdb/Mserver.log -if [ -f ~monetdb/Mserver.pid ]; then - MPID=`cat ~monetdb/Mserver.pid` -else - echo "No Mserver PID found" - exit -1 -fi - -echo `date` Stopping MonetDB \(PID: $MPID\) >> $LOG -kill -TERM $MPID || exit -1 -sleep 1 -ALIVE=`ps --no-heading --format pid -p $MPID` -if [ "$ALIVE" = "$MPID" ]; then - echo Mserver still alive after TERM, trying KILL... >> $LOG - kill -KILL $MPID - sleep 2 - ALIVE=`ps --no-heading --format pid -p $MPID` - if [ "$ALIVE" = "$MPID" ]; then - echo "Failed to stop process $MPID" - exit -1 - fi -fi -echo `date` Mserver stopped >> $LOG -rm -f ~monetdb/Mserver.pid > /dev/null diff --git a/dev-db/monetdb/files/monetdb.JdbcClient-4.10.0 b/dev-db/monetdb/files/monetdb.JdbcClient-4.10.0 deleted file mode 100644 index 22ba9a3836a8..000000000000 --- a/dev-db/monetdb/files/monetdb.JdbcClient-4.10.0 +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -java -jar /usr/share/MonetDB/lib/jdbcclient-1.3.jar $* diff --git a/dev-db/monetdb/files/monetdb.conf-4.8.2 b/dev-db/monetdb/files/monetdb.conf-4.8.2 deleted file mode 100644 index cfc4abd12099..000000000000 --- a/dev-db/monetdb/files/monetdb.conf-4.8.2 +++ /dev/null @@ -1,15 +0,0 @@ -# The user to run the MonetDB database as. It is recommended to -# leave this as is, portage created this user during installation -MDB_USER=monetdb -MDB_GROUP=monetdb - -# MonetDB must be started with a startup script which tells it what -# to do. Most users will not want to change this startup script -# as it loads the SQL, XQuery (pathfinder) and Mapi modules which -# allow for SQL, XQuery and MIL connections. -# If you have special demands, point this variable to your own script -# which contains the desired commands. -# Note: for security reasons by default all listening connections are -# bound to 127.0.0.1. If you need connections to be bound at 0.0.0.0 -# have a look at the default startup script to enable this. -MDB_STARTUPSCRIPTS=~monetdb/monetdb-startup.mil diff --git a/dev-db/monetdb/files/monetdb.conf-5.2.0 b/dev-db/monetdb/files/monetdb.conf-5.2.0 new file mode 100644 index 000000000000..32096a25e772 --- /dev/null +++ b/dev-db/monetdb/files/monetdb.conf-5.2.0 @@ -0,0 +1,7 @@ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/files/monetdb.conf-5.2.0,v 1.1 2007/11/06 10:44:07 grobian Exp $ + +# The user to run the MonetDB database as. It is recommended to +# leave this as is, portage created this user during installation +MDB_USER=monetdb +MDB_GROUP=monetdb diff --git a/dev-db/monetdb/files/monetdb.init-4.8.2 b/dev-db/monetdb/files/monetdb.init-4.8.2 deleted file mode 100644 index 5b58a8bcc4e5..000000000000 --- a/dev-db/monetdb/files/monetdb.init-4.8.2 +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/runscript - -depend() { - use net -} - -start() { - ebegin "Starting MonetDB" - start-stop-daemon -c $MDB_USER:$MDB_GROUP --start --exec ~monetdb/monetdb-start.sh -- $MDB_STARTUPSCRIPTS - eend $? -} - -stop() { - ebegin "Stopping MonetDB" - start-stop-daemon -c $MDB_USER:$MDB_GROUP --start --exec ~monetdb/monetdb-stop.sh - eend $? -} diff --git a/dev-db/monetdb/files/monetdb.init-5.2.0 b/dev-db/monetdb/files/monetdb.init-5.2.0 new file mode 100644 index 000000000000..df816bdd711d --- /dev/null +++ b/dev-db/monetdb/files/monetdb.init-5.2.0 @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/files/monetdb.init-5.2.0,v 1.1 2007/11/06 10:44:07 grobian Exp $ + +depend() { + use net +} + +start() { + ebegin "Starting MonetDB/SQL" + # -b can go away next release, hopefully, see: + # http://sourceforge.net/tracker/index.php?func=detail&aid=1825922&group_id=56967&atid=482471 + start-stop-daemon --start \ + -c $MDB_USER:$MDB_GROUP \ + -b \ + -m -p /var/run/merovingian \ + --exec /usr/bin/merovingian + eend $? +} + +stop() { + ebegin "Stopping MonetDB/SQL" + start-stop-daemon --stop \ + -c $MDB_USER:$MDB_GROUP \ + -p /var/run/merovingian \ + --exec /usr/bin/merovingian + eend $? +} diff --git a/dev-db/monetdb/files/monetdb_config.sh b/dev-db/monetdb/files/monetdb_config.sh deleted file mode 100644 index eab7f36cc5f5..000000000000 --- a/dev-db/monetdb/files/monetdb_config.sh +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh - -MYINCLUDES="-I$_MONETDB_INCLUDEDIR \ - -I$_MONETDB_INCLUDEDIR/common \ - -I$_MONETDB_INCLUDEDIR/gdk \ - -I$_MONETDB_INCLUDEDIR/monet \ - -I$_MONETDB_INCLUDEDIR/plain \ - -I$_MONETDB_INCLUDEDIR/contrib \ - -I$_MONETDB_INCLUDEDIR/mapi \ - -I$_MONETDB_INCLUDEDIR/C" - -case $1 in - --version ) echo $_MONETDB_VERSION; break;; - --cflags ) echo $MYINCLUDES; break;; - --includes ) echo $MYINCLUDES; break;; - --pkgincludedir ) echo $_MONETDB_INCLUDEDIR; break;; - --libs ) echo $_MONETDB_LIBS; break;; - --modpath ) echo $_MONETDB_MOD_PATH; break;; - --prefix ) echo $_MONETDB_PREFIX; break;; - --classpath ) echo $_MONETDB_CLASSPATH; break;; -esac diff --git a/dev-db/monetdb/files/xquery-0.20.0-bool-undeclared.patch b/dev-db/monetdb/files/xquery-0.20.0-bool-undeclared.patch new file mode 100644 index 000000000000..c6d47bcc1b68 --- /dev/null +++ b/dev-db/monetdb/files/xquery-0.20.0-bool-undeclared.patch @@ -0,0 +1,21 @@ +* <grobian@gentoo.org>: upstream has a better/different fix, but it + involves a lot more patching as much more has + changed since the release + +--- pathfinder-0.20.0/compiler/include/qname.h ++++ pathfinder-0.20.0/compiler/include/qname.h +@@ -38,6 +38,14 @@ + + /* PFns_t */ + #include "ns.h" ++/* boolean type `bool' and constants `true', `false' */ ++#ifdef HAVE_STDBOOL_H ++#include <stdbool.h> ++#elif !defined(HAVE_BOOL) ++#define bool char ++#define true (char)1 ++#define false (char)0 ++#endif + + typedef unsigned int PFqname_t ; + diff --git a/dev-db/monetdb/metadata.xml b/dev-db/monetdb/metadata.xml index d242c945a7ce..fdbfc564d418 100644 --- a/dev-db/monetdb/metadata.xml +++ b/dev-db/monetdb/metadata.xml @@ -4,17 +4,13 @@ <herd>no-herd</herd> <maintainer> <email>grobian@gentoo.org</email> - <name>Fabian Groffen</name> </maintainer> <longdescription> - MonetDB is a main-memory database developed at CWI the + MonetDB is a main-memory database developed at CWI, the Netherlands. The main-memory focus of the database has resulted in a column based way of dealing with relational tables. Due to this unconventional approach, MonetDB can be a very fast database for complex queries, and as such in use (and perfectly suitable) for intensive data-mining tasks. - MonetDB 4 supports its own kernel language, MIL, the - conventional SQL query language and the relatively new XML - querying language, XQuery. </longdescription> </pkgmetadata> diff --git a/dev-db/monetdb/monetdb-4.10.2.ebuild b/dev-db/monetdb/monetdb-4.10.2.ebuild deleted file mode 100644 index ba75cc844d29..000000000000 --- a/dev-db/monetdb/monetdb-4.10.2.ebuild +++ /dev/null @@ -1,228 +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/monetdb/monetdb-4.10.2.ebuild,v 1.9 2007/04/28 22:07:02 tove Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="A main-memory relational database for SQL, XQuery and MIL" -HOMEPAGE="http://monetdb.cwi.nl/" -IUSE="java readline debug" -PV_SQL=2.10.2 -PV_XQ=0.10.2 -PV_M=${PV} -SRC_URI="mirror://sourceforge/monetdb/MonetDB-${PV_M}.tar.gz - mirror://sourceforge/monetdb/MonetDB-SQL-${PV_SQL}.tar.gz - mirror://sourceforge/monetdb/MonetDB-XQuery-${PV_XQ}.tar.gz" -LICENSE="MonetDBPL-1.1 PathfinderPL-1.1" -SLOT="0" -KEYWORDS="ppc x86" -RESTRICT="test" - -DEPEND="virtual/libc - >=sys-devel/gcc-3.3 - java? ( >=virtual/jdk-1.4 ) - java? ( dev-java/ant-core ) - readline? ( >=sys-libs/readline-4.1 ) - dev-libs/libxml2 - >=dev-libs/libpcre-5" - -DATA_DIR="/var/lib/MonetDB" - -pkg_setup() { - # see if we have a dbfarm, and whether there is a version of monetdb - # installed which is not a version that we can 'upgrade' to. - if [ -x "${DATA_DIR}/dbfarm" ] || [ -x "${DATA_DIR}/log" ]; - then - if [ -x "/usr/bin/monetdb-config" ] && \ - [ "`/usr/bin/monetdb-config --version`" != "${PV_M}" ]; - then - while read line; do eerror "${line}"; done <<EOF -MonetDB ${MY_PV} cannot upgrade your existing SQL databases. You must -export your existing SQL databases to a file using "JdbcClient -D" and -then restore them when you have upgraded completey using -"JdbcClient -f". Dumping and restoring of MIL and XQuery databases -unfortunately is not possible at the moment. - -You must remove your entire database directory to continue. -(database directory = ${DATA_DIR}). -See the following url for more information on dumping and -restoring your database: -http://monetdb.cwi.nl/TechDocs/FrontEnds/SQL/upgrade/ -EOF - die "Cannot upgrade automatically." - fi - fi - - enewgroup monetdb - enewuser monetdb -1 /bin/bash "${DATA_DIR}" monetdb -} - -src_unpack() { - unpack ${A} || die - - epatch "${FILESDIR}/${PN}-${PV_M}"-gentoo-MapiClient.patch - epatch "${FILESDIR}/${PN}-${PV_M}"-gentoo-conf.patch -} - -src_compile() { - # The tar has capitals, the ebuild doesn't... - cd "${WORKDIR}/MonetDB-${PV_M}" - - # setting these respects the user's CFLAGS and disables -Werror etc. - local myconf="--disable-optimize --disable-debug" - sed -i \ - -e 's|CFLAGS="\$CFLAGS \\\$(X_CFLAGS)"||' \ - configure || die "failed fixing configure" - - # Gentoo's amd64 doesn't allow 32-bits monetdb to compile, hence we switch - # to 64-bits Mserver here. Note that this also gives 64-bits OIDs. - use amd64 && myconf="${myconf} --enable-bits=64" - - myconf="${myconf} $(use_with java)" - myconf="${myconf} $(use_with readline)" - myconf="${myconf} $(use_enable debug assert)" - - econf ${myconf} || die "econf monetdb failed" - - # NOTE: the Makefiles have serious issues with parallel builds. - # Nothing is guaranteed to work but a single process build. - emake -j1 || die "emake monetdb failed" - - # make the header files available to the sql and xquery compilation - mkdir include - cd include - ln -s ../src/common - ln -s ../src/gdk - ln -s ../src/monet - ln -s ../src/modules/plain - ln -s ../src/modules/contrib - ln -s ../src/mapi - ln -s ../src/mapi/clients/C - ln -s ../monetdb_config.h - ln -s ../sysdefs.h - - cd "${WORKDIR}/MonetDB-${PV_M}" - mkdir -p lib/MonetDB - cd lib/MonetDB - find ../.. -name "lib_*" -exec ln -s {} ';' >& /dev/null - ln -s . .libs - - cd "${WORKDIR}/MonetDB-${PV_M}/lib" - find .. -name "lib*" -exec ln -s {} ';' >& /dev/null - ln -s . .libs - - # enable the fool-script - mkdir -p "${WORKDIR}/MonetDB-${PV_M}/bin" - MYWD=`echo ${WORKDIR} | sed -re 's/\//\\\\\//g'` - sed -r \ - -e "s/\\$\_MONETDB\_INCLUDEDIR/${MYWD}\/MonetDB-${PV_M}\/include/g" \ - -e "s/\\$\_MONETDB\_VERSION/${PV_M}/g" \ - -e "s/\\$\_MONETDB\_LIBS/-L${MYWD}\/MonetDB-${PV_M}\/lib\/MonetDB -L${MYWD}\/MonetDB-${PV_M}\/lib/g" \ - -e "s/\\$\_MONETDB\_MOD_PATH/${MYWD}\/MonetDB-${PV_M}\/include/g" \ - -e "s/\\$\_MONETDB\_PREFIX/${MYWD}\/MonetDB-${PV_M}/g" \ - -e "s/\\$\_MONETDB\_CLASSPATH/${MYWD}\/MonetDB-${PV_M}\/src\/mapi\/clients\/java\/mapi.jar/g" \ - "${FILESDIR}/monetdb_config.sh" > \ - "${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" - chmod 744 "${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" - - # configure and make SQL - cd "${WORKDIR}/sql-${PV_SQL}" - econf MONETDB_CONFIG="${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" \ - "--with-monet=${WORKDIR}/MonetDB-${PV_M}" \ - ${myconf} \ - || die - emake -j1 || die "emake sql failed" - - # configure and make XQuery - cd "${WORKDIR}/pathfinder-${PV_XQ}" - econf MONETDB_CONFIG="${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" \ - "--with-monet=${WORKDIR}/MonetDB-${PV_M} " \ - ${myconf} || die - emake -j1 || die "emake xquery failed" -} - -src_install() { - # The tar has capitals, the ebuild doesn't... - cd "${WORKDIR}/MonetDB-${PV_M}" - emake -j1 DESTDIR="${D}" install || die "failed to install monetdb" - - cd "${WORKDIR}/sql-${PV_SQL}" - emake -j1 DESTDIR="${D}" install || die "failed to install sql" - - cd "${WORKDIR}/pathfinder-${PV_XQ}" - emake -j1 DESTDIR="${D}" install || die "failed to install xquery" - - newinitd "${FILESDIR}/${PN}.init-4.8.2" monetdb || die "init.d script" - newconfd "${FILESDIR}/${PN}.conf-4.8.2" monetdb || die "conf.d file" - - diropts -m750 - dodir "${DATA_DIR}" "/var/log/${PN}" - - exeinto "${DATA_DIR}" - newexe "${FILESDIR}/${PN}-start.sh" "${PN}-start.sh" || die "start script" - newexe "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh" || die "stop script" - - insinto "${DATA_DIR}" - newins "${FILESDIR}/${PN}-4.8.2-startup.mil" "${PN}-startup.mil" \ - || die "startup MIL script" - - if use java; - then - exeinto /usr/bin - newexe "${FILESDIR}/${PN}.JdbcClient-4.10.0" "JdbcClient" \ - || die "JdbcClient alias" - fi - - # set right permissions - chown -R monetdb:monetdb "${D}/${DATA_DIR}" \ - || die "setting ownership on ${DATA_DIR} failed" - fowners monetdb:monetdb "/var/log/${PN}" \ - || die "setting ownership on /var/log/${PN} failed" - - # remove testing framework and compiled tests - rm -f \ - "${D}/usr/bin/Mapprove.py" \ - "${D}/usr/bin/Mdiff" \ - "${D}/usr/bin/Mfilter.py" \ - "${D}/usr/bin/MkillUsers" \ - "${D}/usr/bin/Mlog" \ - "${D}/usr/bin/Mprofile.py" \ - "${D}/usr/bin/Mtest.py" \ - "${D}/usr/bin/Mtimeout" \ - "${D}/usr/bin/prof.py" \ - "${D}/usr/share/MonetDB/Mprofile-commands.lst" \ - || die "removing testing tools" - rm -Rf \ - "${D}/usr/lib/MonetDB/Tests" \ - "${D}/usr/lib/sql/Tests" \ - "${D}/usr/share/MonetDB/Tests" \ - "${D}/usr/share/sql/Tests" \ - || die "removing tests" - # remove pf_burk, upstream only compiles it, but doesn't use it - rm -f \ - "${D}/usr/lib/MonetDB/pf_burk.mil" \ - "${D}/usr/lib/MonetDB/lib_pf_burk.so.0.0.0" \ - "${D}/usr/lib/MonetDB/lib_pf_burk.so.0" \ - "${D}/usr/lib/MonetDB/lib_pf_burk.so" \ - "${D}/usr/lib/MonetDB/lib_pf_burk.la" \ - || die "removing incomplete Burkowski step support" - # remove windows cruft - find "${D}" -name "*.bat" | xargs rm -f || die "removing windows stuff" -} - -src_test() { - # Upstream has tests that work in their "lab-setting". They prefer to wait - # using it when they provide a set of tests that is meant to be used - # outside their "labs". Those tests will also be supposed not to fail... - true -} - -pkg_postinst() { - while read line; do elog "${line}"; done <<EOF -MonetDB has been installed on your system, using data directory -${DATA_DIR}. -To get started using SQL, XQuery or MIL see: - -http://monetdb.cwi.nl/GettingStarted/ -EOF -} diff --git a/dev-db/monetdb/monetdb-4.12.0.ebuild b/dev-db/monetdb/monetdb-4.12.0.ebuild deleted file mode 100644 index 9a07524ca677..000000000000 --- a/dev-db/monetdb/monetdb-4.12.0.ebuild +++ /dev/null @@ -1,220 +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/monetdb/monetdb-4.12.0.ebuild,v 1.5 2007/04/28 22:07:02 tove Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="A main-memory relational database for SQL, XQuery and MIL" -HOMEPAGE="http://monetdb.cwi.nl/" -IUSE="java readline debug" -PV_SQL=${PV/4./2.} -PV_XQ=${PV/4./0.} -PV_M=${PV} -SRC_URI="mirror://sourceforge/monetdb/MonetDB-${PV_M}.tar.gz - mirror://sourceforge/monetdb/MonetDB-SQL-${PV_SQL}.tar.gz - mirror://sourceforge/monetdb/MonetDB-XQuery-${PV_XQ}.tar.gz" -LICENSE="MonetDBPL-1.1 PathfinderPL-1.1" -SLOT="0" -KEYWORDS="~ppc ~x86" -RESTRICT="test" - -DEPEND="virtual/libc - >=sys-devel/gcc-3.3 - java? ( >=virtual/jdk-1.4 ) - java? ( dev-java/ant-core ) - readline? ( >=sys-libs/readline-4.1 ) - dev-libs/libxml2 - >=dev-libs/libpcre-5" - -DATA_DIR="/var/lib/MonetDB" - -pkg_setup() { - # see if we have a dbfarm, and whether there is a version of monetdb - # installed which is not a version that we can 'upgrade' to. - if [ -x "${DATA_DIR}/dbfarm" ] || [ -x "${DATA_DIR}/log" ]; - then - if [ -x "/usr/bin/monetdb-config" ] && \ - [ "`/usr/bin/monetdb-config --version`" != "${PV_M}" ]; - then - while read line; do eerror "${line}"; done <<EOF -MonetDB ${MY_PV} cannot upgrade your existing SQL databases. You must -export your existing SQL databases to a file using "JdbcClient -D" and -then restore them when you have upgraded completey using -"JdbcClient -f". Dumping and restoring of MIL and XQuery databases -unfortunately is not possible at the moment. - -You must remove your entire database directory to continue. -(database directory = ${DATA_DIR}). -See the following url for more information on dumping and -restoring your database: -http://monetdb.cwi.nl/TechDocs/FrontEnds/SQL/upgrade/ -EOF - die "Cannot upgrade automatically." - fi - fi - - enewgroup monetdb - enewuser monetdb -1 /bin/bash "${DATA_DIR}" monetdb -} - -src_unpack() { - unpack ${A} || die - - epatch "${FILESDIR}/${PN}-${PV_M}"-gentoo-MapiClient.patch - epatch "${FILESDIR}/${PN}-${PV_M}"-gentoo-conf.patch -} - -src_compile() { - # The tar has capitals, the ebuild doesn't... - cd "${WORKDIR}/MonetDB-${PV_M}" - - # setting these respects the user's CFLAGS and disables -Werror etc. - local myconf="--disable-optimize --disable-debug" - sed -i \ - -e 's|CFLAGS="\$CFLAGS \\\$(X_CFLAGS)"||' \ - configure || die "failed fixing configure" - - # Gentoo's amd64 doesn't allow 32-bits monetdb to compile, hence we switch - # to 64-bits Mserver here. Note that this also gives 64-bits OIDs. - use amd64 && myconf="${myconf} --enable-bits=64" - - myconf="${myconf} $(use_with java)" - myconf="${myconf} $(use_with readline)" - myconf="${myconf} $(use_enable debug assert)" - - econf ${myconf} || die "econf monetdb failed" - - # NOTE: the Makefiles have serious issues with parallel builds. - # Nothing is guaranteed to work but a single process build. - emake -j1 || die "emake monetdb failed" - - # make the header files available to the sql and xquery compilation - mkdir include - cd include - ln -s ../src/common - ln -s ../src/gdk - ln -s ../src/monet - ln -s ../src/modules/plain - ln -s ../src/modules/contrib - ln -s ../src/mapi - ln -s ../src/mapi/clients/C - ln -s ../monetdb_config.h - ln -s ../sysdefs.h - - cd "${WORKDIR}/MonetDB-${PV_M}" - mkdir -p lib/MonetDB - cd lib/MonetDB - find ../.. -name "lib_*" -exec ln -s {} ';' >& /dev/null - ln -s . .libs - - cd "${WORKDIR}/MonetDB-${PV_M}/lib" - find .. -name "lib*" -exec ln -s {} ';' >& /dev/null - ln -s . .libs - - # enable the fool-script - mkdir -p "${WORKDIR}/MonetDB-${PV_M}/bin" - MYWD=`echo ${WORKDIR} | sed -re 's/\//\\\\\//g'` - sed -r \ - -e "s/\\$\_MONETDB\_INCLUDEDIR/${MYWD}\/MonetDB-${PV_M}\/include/g" \ - -e "s/\\$\_MONETDB\_VERSION/${PV_M}/g" \ - -e "s/\\$\_MONETDB\_LIBS/-L${MYWD}\/MonetDB-${PV_M}\/lib\/MonetDB -L${MYWD}\/MonetDB-${PV_M}\/lib/g" \ - -e "s/\\$\_MONETDB\_MOD_PATH/${MYWD}\/MonetDB-${PV_M}\/include/g" \ - -e "s/\\$\_MONETDB\_PREFIX/${MYWD}\/MonetDB-${PV_M}/g" \ - -e "s/\\$\_MONETDB\_CLASSPATH/${MYWD}\/MonetDB-${PV_M}\/src\/mapi\/clients\/java\/mapi.jar/g" \ - "${FILESDIR}/monetdb_config.sh" > \ - "${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" - chmod 744 "${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" - - # configure and make SQL - cd "${WORKDIR}/sql-${PV_SQL}" - econf MONETDB_CONFIG="${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" \ - "--with-monet=${WORKDIR}/MonetDB-${PV_M}" \ - ${myconf} \ - || die - emake -j1 || die "emake sql failed" - - # configure and make XQuery - cd "${WORKDIR}/pathfinder-${PV_XQ}" - econf MONETDB_CONFIG="${WORKDIR}/MonetDB-${PV_M}/bin/monetdb-config" \ - "--with-monet=${WORKDIR}/MonetDB-${PV_M} " \ - ${myconf} || die - emake -j1 || die "emake xquery failed" -} - -src_install() { - # The tar has capitals, the ebuild doesn't... - cd "${WORKDIR}/MonetDB-${PV_M}" - emake -j1 DESTDIR="${D}" install || die "failed to install monetdb" - - cd "${WORKDIR}/sql-${PV_SQL}" - emake -j1 DESTDIR="${D}" install || die "failed to install sql" - - cd "${WORKDIR}/pathfinder-${PV_XQ}" - emake -j1 DESTDIR="${D}" install || die "failed to install xquery" - - newinitd "${FILESDIR}/${PN}.init-4.8.2" monetdb || die "init.d script" - newconfd "${FILESDIR}/${PN}.conf-4.8.2" monetdb || die "conf.d file" - - diropts -m750 - dodir "${DATA_DIR}" "/var/log/${PN}" - - exeinto "${DATA_DIR}" - newexe "${FILESDIR}/${PN}-start.sh" "${PN}-start.sh" || die "start script" - newexe "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh" || die "stop script" - - insinto "${DATA_DIR}" - newins "${FILESDIR}/${PN}-${PV_M}-startup.mil" "${PN}-startup.mil" \ - || die "startup MIL script" - - if use java; - then - exeinto /usr/bin - newexe "${FILESDIR}/${PN}.JdbcClient-4.10.0" "JdbcClient" \ - || die "JdbcClient alias" - fi - - # set right permissions - chown -R monetdb:monetdb "${D}/${DATA_DIR}" \ - || die "setting ownership on ${DATA_DIR} failed" - fowners monetdb:monetdb "/var/log/${PN}" \ - || die "setting ownership on /var/log/${PN} failed" - - # remove testing framework and compiled tests - rm -f \ - "${D}/usr/bin/Mapprove.py" \ - "${D}/usr/bin/Mdiff" \ - "${D}/usr/bin/Mfilter.py" \ - "${D}/usr/bin/MkillUsers" \ - "${D}/usr/bin/Mlog" \ - "${D}/usr/bin/Mprofile.py" \ - "${D}/usr/bin/Mtest.py" \ - "${D}/usr/bin/Mtimeout" \ - "${D}/usr/bin/prof.py" \ - "${D}/usr/share/MonetDB/Mprofile-commands.lst" \ - || die "removing testing tools" - rm -Rf \ - "${D}/usr/lib/MonetDB/Tests" \ - "${D}/usr/lib/sql/Tests" \ - "${D}/usr/share/MonetDB/Tests" \ - "${D}/usr/share/sql/Tests" \ - || die "removing tests" - # remove windows cruft - find "${D}" -name "*.bat" | xargs rm -f || die "removing windows stuff" -} - -src_test() { - # Upstream has tests that work in their "lab-setting". They prefer to wait - # using it when they provide a set of tests that is meant to be used - # outside their "labs". Those tests will also be supposed not to fail... - true -} - -pkg_postinst() { - while read line; do elog "${line}"; done <<EOF -MonetDB has been installed on your system, using data directory -${DATA_DIR}. -To get started using SQL, XQuery or MIL see: - -http://monetdb.cwi.nl/GettingStarted/ -EOF -} diff --git a/dev-db/monetdb/monetdb-4.20.0.ebuild b/dev-db/monetdb/monetdb-4.20.0.ebuild new file mode 100644 index 000000000000..b4e04a24451b --- /dev/null +++ b/dev-db/monetdb/monetdb-4.20.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/monetdb-4.20.0.ebuild,v 1.1 2007/11/06 10:44:06 grobian Exp $ + +inherit eutils flag-o-matic + +M4_PV=4.20.0 +XQ_PV=0.20.0 + +DESCRIPTION="MonetDB/SQL is a main-memory column-store database" +HOMEPAGE="http://monetdb.cwi.nl/" +SRC_URI="mirror://sourceforge/monetdb/MonetDB4-${M4_PV}.tar.gz + mirror://sourceforge/monetdb/pathfinder-${XQ_PV}.tar.gz" + +LICENSE="MonetDBPL-1.1 PathfinderPL-1.1" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="java boehmgc" + +S=${WORKDIR} + +DEPEND="dev-libs/libpcre + dev-libs/openssl + sys-libs/readline + dev-libs/libxml2 + java? ( dev-java/ant >=virtual/jdk-1.5 ) + boehmgc? ( dev-libs/boehm-gc ) + >=dev-db/monetdb-5" +RDEPEND="${DEPEND}" + +pkg_preinst() { + # should already exist, but for completeness here + enewgroup monetdb + enewuser monetdb +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/xquery-0.20.0-bool-undeclared.patch +} + +src_compile() { + local myconf= + # Upstream likes to stick things like -O6 and what more in CFLAGS + myconf="${myconf} --disable-strict --disable-optimize --disable-assert" + myconf="${myconf} $(use_with java)" + myconf="${myconf} --without-php" + myconf="${myconf} $(use_with boehmgc gc)" + + cd "${S}"/MonetDB4-${M4_PV} || die + econf --with-monetdb="${EPREFIX}" ${myconf} || die + emake || die "MonetDB4" + + mkdir "${T}"/bin + cp conf/monetdb4-config "${T}"/bin/monetdb4-config + chmod 755 "${T}"/bin/monetdb4-config + + append-flags -I"${S}"/MonetDB4-${M4_PV} + append-flags -I"${S}"/MonetDB4-${M4_PV}/src/monet + append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/monet/.libs + append-flags -I"${S}"/MonetDB4-${M4_PV}/src + append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/mapi/.libs + append-flags -I"${S}"/MonetDB4-${M4_PV}/src/modules/plain + append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/modules/plain/.libs + append-flags -I"${S}"/MonetDB4-${M4_PV}/src/modules/contrib + append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/modules/contrib/.libs + cd "${S}"/pathfinder-${XQ_PV} || die + econf --with-monetdb="${EPREFIX}" --with-monetdb4="${T}" ${myconf} || die + emake || die "xquery" +} + +src_install() { + cd "${S}"/MonetDB4-${M4_PV} || die + emake DESTDIR="${D}" install || die "MonetDB4" + + cd "${S}"/pathfinder-${XQ_PV} || die + emake DESTDIR="${D}" install || die "xquery" + + # remove windows cruft + find "${D}" -name "*.bat" | xargs rm -f || die "removing windows stuff" +} diff --git a/dev-db/monetdb/monetdb-5.2.0.ebuild b/dev-db/monetdb/monetdb-5.2.0.ebuild new file mode 100644 index 000000000000..7071905e9e80 --- /dev/null +++ b/dev-db/monetdb/monetdb-5.2.0.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/monetdb-5.2.0.ebuild,v 1.1 2007/11/06 10:44:06 grobian Exp $ + +inherit flag-o-matic + +COMMON_PV=1.20.0 +CLIENTS_PV=1.20.0 +M5_PV=5.2.0 +SQL_PV=2.20.0 + +DESCRIPTION="MonetDB/SQL is a main-memory column-store database" +HOMEPAGE="http://monetdb.cwi.nl/" +SRC_URI="mirror://sourceforge/monetdb/MonetDB-${COMMON_PV}.tar.gz + mirror://sourceforge/monetdb/clients-${CLIENTS_PV}.tar.gz + mirror://sourceforge/monetdb/MonetDB5-${M5_PV}.tar.gz + mirror://sourceforge/monetdb/sql-${SQL_PV}.tar.gz" + +LICENSE="MonetDBPL-1.1" +SLOT="5" +KEYWORDS="~amd64 ~x86" +IUSE="python perl php java" + +S=${WORKDIR} + +DEPEND="dev-libs/libpcre + dev-libs/openssl + sys-libs/readline + python? ( dev-lang/python ) + perl? ( dev-lang/perl ) + php? ( dev-lang/php ) + java? ( dev-java/ant >=virtual/jdk-1.4 <=virtual/jdk-1.6 )" +RDEPEND="${DEPEND}" + +pkg_preinst() { + enewgroup monetdb + enewuser monetdb +} + +src_compile() { + local myconf= + # Upstream likes to stick things like -O6 and what more in CFLAGS + myconf="${myconf} --disable-strict --disable-optimize --disable-assert" + # Deal with auto-dependencies + myconf="${myconf} $(use_with python)" + myconf="${myconf} $(use_with perl)" + myconf="${myconf} $(use_with php)" + myconf="${myconf} $(use_with java)" + + cd "${S}"/MonetDB-${COMMON_PV} || die + econf ${myconf} || die + emake || die "common" + + mkdir "${T}"/bin + cp conf/monetdb-config "${T}"/bin/monetdb-config + chmod 755 "${T}"/bin/monetdb-config + + append-flags -I"${S}"/MonetDB-${COMMON_PV}/src/common + append-ldflags -L"${S}"/MonetDB-${COMMON_PV}/src/common/.libs + cd "${S}"/clients-${CLIENTS_PV} || die + econf --with-monetdb="${T}" ${myconf} || die + emake || die "clients" + + append-flags -I"${S}"/MonetDB-${COMMON_PV}/src/gdk + append-ldflags -L"${S}"/MonetDB-${COMMON_PV}/src/gdk/.libs + append-flags -I"${S}"/clients-${CLIENTS_PV}/src + append-ldflags -L"${S}"/clients-${CLIENTS_PV}/src/mapilib/.libs + cd "${S}"/MonetDB5-${M5_PV} || die + econf --with-monetdb="${T}" ${myconf} || die + emake || die "MonetDB5" + + cp conf/monetdb5-config "${T}"/bin/monetdb5-config + chmod 755 "${T}"/bin/monetdb5-config + + append-flags -I"${S}"/MonetDB5-${M5_PV} + append-flags -I"${S}"/MonetDB5-${M5_PV}/src/{mal,optimizer,scheduler} + append-ldflags -L"${S}"/MonetDB5-${M5_PV}/src/{mal,optimizer,scheduler}/.libs + append-flags -I"${S}"/MonetDB5-${M5_PV}/src/modules/{atoms,kernel,mal} + append-ldflags -L"${S}"/MonetDB5-${M5_PV}/src/modules/{atoms,kernel,mal}/.libs + cd "${S}"/sql-${SQL_PV} || die + econf --with-monetdb="${T}" --with-monetdb5="${T}" ${myconf} || die + emake || die "sql" +} + +src_install() { + cd "${S}"/MonetDB-${COMMON_PV} || die + emake DESTDIR="${D}" install || die "common" + + cd "${S}"/clients-${CLIENTS_PV} || die + emake DESTDIR="${D}" install || die "clients" + + cd "${S}"/MonetDB5-${M5_PV} || die + # parallel is broken here + emake -j1 DESTDIR="${D}" install || die "MonetDB5" + + cd "${S}"/sql-${SQL_PV} || die + emake DESTDIR="${D}" install || die "sql" + + # remove testing framework and compiled tests + rm -f \ + "${D}/usr/bin/Mapprove.py" \ + "${D}/usr/bin/Mdiff" \ + "${D}/usr/bin/Mfilter.py" \ + "${D}/usr/bin/MkillUsers" \ + "${D}/usr/bin/Mlog" \ + "${D}/usr/bin/Mprofile.py" \ + "${D}/usr/bin/Mtest.py" \ + "${D}/usr/bin/Mtimeout" \ + "${D}/usr/bin/prof.py" \ + "${D}/usr/share/MonetDB/Mprofile-commands.lst" \ + "${D}/usr/MonetDB/subprocess26.py" \ + "${D}/usr/MonetDB/trace.py" \ + "${D}/usr/MonetDB/__init__.py" \ + "${D}/usr/MonetDB/monet_options.py" \ + || die "removing testing tools" + rm -Rf \ + "${D}/usr/lib/MonetDB/Tests" \ + "${D}/usr/lib/sql/Tests" \ + "${D}/usr/share/MonetDB/Tests" \ + "${D}/usr/share/sql/Tests" \ + || die "removing tests" + # remove windows cruft + find "${D}" -name "*.bat" | xargs rm -f || die "removing windows stuff" + + newinitd "${FILESDIR}/${PN}.init-5.2.0" monetdb || die "init.d script" + newconfd "${FILESDIR}/${PN}.conf-5.2.0" monetdb || die "conf.d file" + + # merovingian needs this + keepdir /var/lib/MonetDB5/dbfarm +} |