diff options
author | Fabian Groffen <grobian@gentoo.org> | 2007-02-11 14:12:49 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2007-02-11 14:12:49 +0000 |
commit | 72aad204dcca500cdaa4c118805af6ea60e16918 (patch) | |
tree | 4fbd5bdffdcaeedda5434616691943ae0ed5c07c /dev-db | |
parent | Dropped ppc-macos keyword, dropped old ebuild (diff) | |
download | historical-72aad204dcca500cdaa4c118805af6ea60e16918.tar.gz historical-72aad204dcca500cdaa4c118805af6ea60e16918.tar.bz2 historical-72aad204dcca500cdaa4c118805af6ea60e16918.zip |
Dropped ppc-macos keyword, dropped old ebuild
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/monetdb/Manifest | 56 | ||||
-rw-r--r-- | dev-db/monetdb/files/digest-monetdb-4.10.0 | 9 | ||||
-rw-r--r-- | dev-db/monetdb/files/monetdb-4.10.0-darwin.patch | 22 | ||||
-rw-r--r-- | dev-db/monetdb/files/monetdb-4.10.0-gentoo-MapiClient.patch | 11 | ||||
-rw-r--r-- | dev-db/monetdb/files/monetdb-4.10.0-gentoo-conf.patch | 51 | ||||
-rw-r--r-- | dev-db/monetdb/monetdb-4.10.0.ebuild | 236 |
6 files changed, 12 insertions, 373 deletions
diff --git a/dev-db/monetdb/Manifest b/dev-db/monetdb/Manifest index b4e0856a2a20..d27d35fe50c6 100644 --- a/dev-db/monetdb/Manifest +++ b/dev-db/monetdb/Manifest @@ -1,18 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX monetdb-4.10.0-darwin.patch 672 RMD160 02d649bba3753e0aad02eb18530dadd68f937e7b SHA1 7b00fd8ff2506970a1ffe64386f20d679afb7e54 SHA256 914e17bd519581ff045ae7732d94f3356d11e64690f8d75ed8edfe33beffda80 -MD5 53322611b7f167b64ce3f3d51c5eb3ec files/monetdb-4.10.0-darwin.patch 672 -RMD160 02d649bba3753e0aad02eb18530dadd68f937e7b files/monetdb-4.10.0-darwin.patch 672 -SHA256 914e17bd519581ff045ae7732d94f3356d11e64690f8d75ed8edfe33beffda80 files/monetdb-4.10.0-darwin.patch 672 -AUX monetdb-4.10.0-gentoo-MapiClient.patch 272 RMD160 eb4986d21af683410b0001761494e455877b522f SHA1 2a92311d2138efb889ddcf62664b9812558082ac SHA256 fbb6295f2755676fe5451eca1c5c176f4a76a54cd31b09e034753bab913c9d96 -MD5 3af6d54d8dda2e91b05c85b1cb02a716 files/monetdb-4.10.0-gentoo-MapiClient.patch 272 -RMD160 eb4986d21af683410b0001761494e455877b522f files/monetdb-4.10.0-gentoo-MapiClient.patch 272 -SHA256 fbb6295f2755676fe5451eca1c5c176f4a76a54cd31b09e034753bab913c9d96 files/monetdb-4.10.0-gentoo-MapiClient.patch 272 -AUX monetdb-4.10.0-gentoo-conf.patch 1610 RMD160 0b362566f481797551408491cfc761af5fc46929 SHA1 fca417b613461d27e448e9818b143967abe90bfb SHA256 ba78fba1ff865851f6b5efb53711aa5594d864e3bddf288c862d3a65d804458c -MD5 62e9f38efbb9920c6a631dd0879e198b files/monetdb-4.10.0-gentoo-conf.patch 1610 -RMD160 0b362566f481797551408491cfc761af5fc46929 files/monetdb-4.10.0-gentoo-conf.patch 1610 -SHA256 ba78fba1ff865851f6b5efb53711aa5594d864e3bddf288c862d3a65d804458c files/monetdb-4.10.0-gentoo-conf.patch 1610 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 @@ -61,48 +46,31 @@ AUX monetdb_config.sh 653 RMD160 de543876a706a69eea7897cdc917cf8a59231f52 SHA1 2 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.0.tar.gz 6502266 RMD160 82cd459435901ef6bb546e66ca42b1d8476558f2 SHA1 a9d5061d2b05d02b48e79079fcf461156c0d45df SHA256 d841ce104378f93e3e08c1b94ce8bb98e1808126b00175747e81c16d0d9b0dfd 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.0.tar.gz 13129999 RMD160 3d97d7f4adb6117d57be3362e928ac0f484dfa43 SHA1 1543b482791194e958cb35344fd7f02ddad13a46 SHA256 536e370e491aebd321725b573afbf2523c4089b897763b730813d2bc3eba04d7 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.0.tar.gz 5040976 RMD160 b0f8ff4eadcd27a14698d80dcec31f8c7a31e276 SHA1 08090cdbf06c3eb5b9ee16085ec850771ee8b82b SHA256 d037da1e95c7b07cb636363a652d52104b0aa4e2786429827592b9a72eb0f445 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.0.ebuild 7524 RMD160 79e42cf94588a67a616662b33defdb40867c6b3d SHA1 67a048cecccc3dbf08e23d95d6d318801d35e8ed SHA256 884b98e4f0b416a28a62861318e069d818315713cc27a2759da29d77daabd266 -MD5 f5d692fbb92a5821752bd6c166892a20 monetdb-4.10.0.ebuild 7524 -RMD160 79e42cf94588a67a616662b33defdb40867c6b3d monetdb-4.10.0.ebuild 7524 -SHA256 884b98e4f0b416a28a62861318e069d818315713cc27a2759da29d77daabd266 monetdb-4.10.0.ebuild 7524 -EBUILD monetdb-4.10.2.ebuild 7665 RMD160 bf7f56ac528ebd5edecac855454fe513fdb65b6b SHA1 cc5fe76329c6410739cb5f014eccf255a79ad4c0 SHA256 327813cda97dc18907399440b774649086d508c7420f8a06922b3ef5f8795e0d -MD5 822241c763d000d77b06e1e95a60e072 monetdb-4.10.2.ebuild 7665 -RMD160 bf7f56ac528ebd5edecac855454fe513fdb65b6b monetdb-4.10.2.ebuild 7665 -SHA256 327813cda97dc18907399440b774649086d508c7420f8a06922b3ef5f8795e0d monetdb-4.10.2.ebuild 7665 -EBUILD monetdb-4.12.0.ebuild 7325 RMD160 71672431cf0c3b1cd6990d3ca43883602f37ac99 SHA1 64192f928da416f2f235359c32452ece6f31cc0a SHA256 c3bc95fb01184087d237a41dd02f8de9a18ccca4559aad8039cefc9c46175f82 -MD5 64805c522fc7ad8aebcbc246bd22e59d monetdb-4.12.0.ebuild 7325 -RMD160 71672431cf0c3b1cd6990d3ca43883602f37ac99 monetdb-4.12.0.ebuild 7325 -SHA256 c3bc95fb01184087d237a41dd02f8de9a18ccca4559aad8039cefc9c46175f82 monetdb-4.12.0.ebuild 7325 -MISC ChangeLog 3034 RMD160 e9fd189f623df8f3e73a74b78abac886901370f3 SHA1 2495506f0c0dffb42208230f6d815571a1f152ac SHA256 5e30f9e0c4292c24b82a8fa103c87b1eb9e3f4243c5e7f55dd4c28215383a8ce -MD5 ae651cb8a5c8f0b1e33954744e34eee2 ChangeLog 3034 -RMD160 e9fd189f623df8f3e73a74b78abac886901370f3 ChangeLog 3034 -SHA256 5e30f9e0c4292c24b82a8fa103c87b1eb9e3f4243c5e7f55dd4c28215383a8ce ChangeLog 3034 +EBUILD monetdb-4.10.2.ebuild 7469 RMD160 6eb8e80c8acf4bca3c0604ec6b45c4cc1edd79cb SHA1 529ad7813fe7a12c6f21c9b5d1f5fadf8c9a1151 SHA256 72d82b048a6db3aa135993677f8cabffff0e93014387e41f819ce6a9a759f24f +MD5 db811c7464fdc72e934766c5805503da monetdb-4.10.2.ebuild 7469 +RMD160 6eb8e80c8acf4bca3c0604ec6b45c4cc1edd79cb monetdb-4.10.2.ebuild 7469 +SHA256 72d82b048a6db3aa135993677f8cabffff0e93014387e41f819ce6a9a759f24f monetdb-4.10.2.ebuild 7469 +EBUILD monetdb-4.12.0.ebuild 7140 RMD160 0904d2e66698ab89e1f1137f1dd432b7a4e454f1 SHA1 12197d433e91f33af156e24737952c6e5e070a64 SHA256 91cfe660b714c01cdb8b6c018f1c019dc466e63bc1d12ad4c017f33aa78fb0af +MD5 a44091b40c87e69d0460461d524504e6 monetdb-4.12.0.ebuild 7140 +RMD160 0904d2e66698ab89e1f1137f1dd432b7a4e454f1 monetdb-4.12.0.ebuild 7140 +SHA256 91cfe660b714c01cdb8b6c018f1c019dc466e63bc1d12ad4c017f33aa78fb0af monetdb-4.12.0.ebuild 7140 +MISC ChangeLog 3337 RMD160 a76d13de6a461513549b44a1a849c11e9de3f943 SHA1 2549fa3031fc1f2efa97df69b1b7b6ddb20580a9 SHA256 abb0363b6bf31974e7326b703c5b046367a79419a582d675e7269d52449de4fa +MD5 fe6bbdf4288c77139d39c4f71b5e2317 ChangeLog 3337 +RMD160 a76d13de6a461513549b44a1a849c11e9de3f943 ChangeLog 3337 +SHA256 abb0363b6bf31974e7326b703c5b046367a79419a582d675e7269d52449de4fa ChangeLog 3337 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 920071186acec5b66ee674d631e9f850 files/digest-monetdb-4.10.0 777 -RMD160 d5a0b6db76c240d91b514238ddff8739cca19888 files/digest-monetdb-4.10.0 777 -SHA256 c2b2c774fa48f9a5fc366cf0a1e85483f3a9aac1c200ef594a7d88d7d383958c files/digest-monetdb-4.10.0 777 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.1 (GNU/Linux) - -iD8DBQFFwJ0F6J2i8a8J4okRAoPGAJ9HYJj0hoEnGthb4VkVVjTBb/we5wCeNM9E -+HiHnzVSKKEBZBzztQQo2K0= -=Gjg1 ------END PGP SIGNATURE----- diff --git a/dev-db/monetdb/files/digest-monetdb-4.10.0 b/dev-db/monetdb/files/digest-monetdb-4.10.0 deleted file mode 100644 index 889bb3296afc..000000000000 --- a/dev-db/monetdb/files/digest-monetdb-4.10.0 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 ae0b8ac2c14c5e5621eb5d27faf4c6c4 MonetDB-4.10.0.tar.gz 6502266 -RMD160 82cd459435901ef6bb546e66ca42b1d8476558f2 MonetDB-4.10.0.tar.gz 6502266 -SHA256 d841ce104378f93e3e08c1b94ce8bb98e1808126b00175747e81c16d0d9b0dfd MonetDB-4.10.0.tar.gz 6502266 -MD5 8c32a8f8e872e85c492f72e6d167257c MonetDB-SQL-2.10.0.tar.gz 13129999 -RMD160 3d97d7f4adb6117d57be3362e928ac0f484dfa43 MonetDB-SQL-2.10.0.tar.gz 13129999 -SHA256 536e370e491aebd321725b573afbf2523c4089b897763b730813d2bc3eba04d7 MonetDB-SQL-2.10.0.tar.gz 13129999 -MD5 9f39bb4559e779fabc72d48c74c9a4b6 MonetDB-XQuery-0.10.0.tar.gz 5040976 -RMD160 b0f8ff4eadcd27a14698d80dcec31f8c7a31e276 MonetDB-XQuery-0.10.0.tar.gz 5040976 -SHA256 d037da1e95c7b07cb636363a652d52104b0aa4e2786429827592b9a72eb0f445 MonetDB-XQuery-0.10.0.tar.gz 5040976 diff --git a/dev-db/monetdb/files/monetdb-4.10.0-darwin.patch b/dev-db/monetdb/files/monetdb-4.10.0-darwin.patch deleted file mode 100644 index 5c838da096b5..000000000000 --- a/dev-db/monetdb/files/monetdb-4.10.0-darwin.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- pathfinder-0.10.0/compiler/core/simplify.c -+++ pathfinder-0.10.0/compiler/core/simplify.c -@@ -109,7 +109,7 @@ - * process the function bodies. Hence, they will be replaced - * there as well. - */ --PFarray_t *var_env[HASH_BUCKETS]; -+static PFarray_t *var_env[HASH_BUCKETS]; - - #ifndef PFsimplify_PANIC - #define PFsimplify_PANIC PANIC ---- pathfinder-0.10.0/compiler/core/coreopt.c -+++ pathfinder-0.10.0/compiler/core/coreopt.c -@@ -100,7 +100,7 @@ - * process the function bodies. Hence, they will be replaced - * there as well. - */ --PFarray_t *var_env[HASH_BUCKETS]; -+static PFarray_t *var_env[HASH_BUCKETS]; - - #ifndef PFcoreopt_PANIC - #define PFcoreopt_PANIC PANIC diff --git a/dev-db/monetdb/files/monetdb-4.10.0-gentoo-MapiClient.patch b/dev-db/monetdb/files/monetdb-4.10.0-gentoo-MapiClient.patch deleted file mode 100644 index 0adb5d24d3e8..000000000000 --- a/dev-db/monetdb/files/monetdb-4.10.0-gentoo-MapiClient.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- MonetDB-4.10.0/src/mapi/clients/C/MapiClient.c -+++ MonetDB-4.10.0/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.0-gentoo-conf.patch b/dev-db/monetdb/files/monetdb-4.10.0-gentoo-conf.patch deleted file mode 100644 index 7afc1e4442a4..000000000000 --- a/dev-db/monetdb/files/monetdb-4.10.0-gentoo-conf.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- MonetDB-4.10.0/conf/MonetDB.conf.in -+++ MonetDB-4.10.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. -@@ -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/monetdb-4.10.0.ebuild b/dev-db/monetdb/monetdb-4.10.0.ebuild deleted file mode 100644 index bdb2b83e471a..000000000000 --- a/dev-db/monetdb/monetdb-4.10.0.ebuild +++ /dev/null @@ -1,236 +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.0.ebuild,v 1.4 2007/01/31 13:41:05 genone 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 static" -PV_SQL=2.10.0 -PV_XQ=0.10.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 ~ppc-macos ~x86" - -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`" != "4.10.0" ]; - 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 -} - -src_unpack() { - unpack ${A} || die - - epatch "${FILESDIR}/${PN}-${PV_M}"-gentoo-MapiClient.patch - epatch "${FILESDIR}/${PN}-${PV_M}"-gentoo-conf.patch - epatch "${FILESDIR}/${PN}-${PV_M}"-darwin.patch -} - -src_compile() { - # The tar has capitals, the ebuild doesn't... - cd "${WORKDIR}/MonetDB-${PV_M}" - - local myconf="" - - if use debug; - then - myconf="${myconf} --enable-debug" - else - myconf="${myconf} --enable-optimize --disable-assert" - fi - - # 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 static)" - - 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" - - exeinto /etc/init.d/ - newexe "${FILESDIR}/${PN}.init-4.8.2" monetdb || die "init.d script" - - insinto /etc/conf.d/ - newins "${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-${PV_M}" "JdbcClient" \ - || die "JdbcClient alias" - fi - - # set right permissions - chown -R monetdb:monetdb "${D}/${DATA_DIR}" - fowners monetdb:monetdb "/var/log/${PN}" - - # 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" - # remove perl DBD on ppc-macos, since it gets installed in the wrong - # location and getting it right is not just a simple thing - use ppc-macos && rm -Rf "${D}/usr/Network" > /dev/null -} - -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_preinst() { - enewgroup monetdb - enewuser monetdb -1 /bin/bash "${DATA_DIR}" monetdb -} - -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 -} |