This repository has been archived by the owner on Jan 8, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be91404
commit fbaf390
Showing
4 changed files
with
184 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
# Copyright 2009-2012 W-Mark Kubacki | ||
# Distributed under the terms of the OSI Reciprocal Public License | ||
|
||
EAPI="4" | ||
|
||
inherit flag-o-matic | ||
|
||
MY_PN="MonetDB" | ||
MY_P=${MY_PN}-${PV} | ||
|
||
DESCRIPTION="A column-store based (R)DBMS." | ||
HOMEPAGE="http://www.monetdb.org/" | ||
SRC_URI="http://dev.monetdb.org/downloads/sources/Jul2012-SP1/${MY_P}.tar.xz" | ||
RESTRICT="primaryuri" | ||
|
||
LICENSE="MonetDBPL-1.1" | ||
SLOT="5" | ||
KEYWORDS="amd64 x86 ~arm" | ||
IUSE="debug -rdf datacell fits +sql -console -odbc -static curl iconv -java bzip2 zlib perl -ruby sphinx geom hwcounter" | ||
|
||
RDEPEND=">=dev-libs/libpcre-4.5 | ||
>=dev-libs/openssl-0.9.8 | ||
rdf? ( =media-libs/raptor-1.4* ) | ||
console? ( sys-libs/readline ) | ||
odbc? ( dev-db/unixODBC ) | ||
curl? ( net-misc/curl ) | ||
iconv? ( virtual/libiconv ) | ||
bzip2? ( || ( app-arch/bzip2 app-arch/pbzip2 ) ) | ||
zlib? ( sys-libs/zlib ) | ||
java? ( >=virtual/jdk-1.4 dev-java/ant ) | ||
perl? ( >=dev-lang/perl-5.8.0 ) | ||
ruby? ( dev-lang/ruby dev-ruby/rubygems ) | ||
sphinx? ( app-misc/sphinx ) | ||
geom? ( >=sci-libs/geos-2.2.0 ) | ||
fits? ( sci-libs/cfitsio ) | ||
!dev-db/monetdb-common" | ||
DEPEND="app-arch/xz-utils | ||
mail-filter/procmail | ||
${RDEPEND}" | ||
|
||
S="${WORKDIR}/${MY_P}" | ||
|
||
pkg_setup() { | ||
enewgroup monetdb 61 || die "problem adding 'monetdb' group" | ||
enewuser monetdb 61 -1 /dev/null monetdb || die "problem adding 'monetdb' user" | ||
} | ||
|
||
src_configure() { | ||
local myconf= | ||
if use debug; then | ||
myconf+=" --enable-strict --enable-assert --disable-optimize --enable-debug --enable-assert" | ||
else | ||
myconf+=" --disable-strict --disable-debug --disable-testing --disable-assert" | ||
if ! has "-O6" ${CFLAGS}; then | ||
myconf+=" --enable-optimize" | ||
filter-flags "-Os" "-O" "-O[012345]" | ||
fi | ||
fi | ||
|
||
if use console; then | ||
einfo "The console is a direct client hooked onto the kernel with full" | ||
einfo "administrative privileges, bypassing any security checks. It is" | ||
einfo "handy only during development." | ||
fi | ||
|
||
if ! use java; then | ||
einfo "RIPEMD160 has been selected for the password-backend." | ||
einfo "It is not compatible to JDBC." | ||
myconf+=" --with-password-backend=RIPEMD160" | ||
fi | ||
|
||
# MonetDB doesn't recognize all of these options, yet. | ||
# They are enabled on a 'library exists' basis - which is ugly. | ||
# Nevertheless I include the options here so that users | ||
# can send complaints to the MonetDB makers. ;-) | ||
econf $(use_enable sql monetdb5) \ | ||
$(use_enable rdf) \ | ||
$(use_enable datacell) \ | ||
$(use_enable sql) \ | ||
$(use_enable geom) \ | ||
$(use_enable odbc) \ | ||
$(use_enable console) \ | ||
$(use_enable java jdbc) \ | ||
$(use_enable static) \ | ||
$(use_enable fits) \ | ||
$(use_with curl) \ | ||
$(use_with iconv) \ | ||
$(use_with bzip2 bz2) \ | ||
$(use_with zlib z) \ | ||
$(use_with perl) \ | ||
--without-python \ | ||
$(use_with ruby) \ | ||
$(use_with java ant) \ | ||
$(use_with java) \ | ||
$(use_with sphinx sphinxclient) \ | ||
$(use_with geom geos) \ | ||
$(use_with hwcounter) \ | ||
--with-logdir=/var/log/monetdb --with-rundir=/var/run/monetdb \ | ||
${myconf} || die "econf" | ||
einfo "Some options might've not been recognized. That's okay." | ||
einfo "Notify <fabian@monetdb.org> about them." | ||
} | ||
|
||
src_compile() { | ||
emake || die "emake" | ||
} | ||
|
||
src_install() { | ||
emake DESTDIR="${D}" install || die "install" | ||
|
||
newinitd "${FILESDIR}"/monetdb.init-11.5.9 monetdb || die "init.d script" | ||
newconfd "${FILESDIR}"/monetdb.conf-11.5.9 monetdb || die "conf.d file" | ||
|
||
# set proper ACL | ||
chown -R monetdb:monetdb "${D}"/var/lib/monetdb5 | ||
chmod -R 0750 "${D}"/var/lib/monetdb5 | ||
keepdir /var/lib/monetdb5/dbfarm | ||
|
||
# directory-moves to match FHS-2.3 | ||
chown -R monetdb:root "${D}"/var/run/monetdb | ||
chmod -R 0755 "${D}"/var/run/monetdb | ||
keepdir /var/run/monetdb | ||
chown -R monetdb:monetdb "${D}"/var/log/monetdb | ||
chmod -R 0750 "${D}"/var/log/monetdb | ||
keepdir /var/log/monetdb | ||
|
||
# remove parts which we didn't ask for | ||
if ! use ruby; then | ||
test -d "${D}"/usr/lib/ruby && rm -r "${D}"/usr/lib/ruby | ||
test -d "${D}"/usr/lib64/ruby && rm -r "${D}"/usr/lib64/ruby | ||
fi | ||
} | ||
|
||
pkg_postinst() { | ||
einfo "The init script refers to a database-farm stored under" | ||
einfo " /var/lib/monetdb5/dbfarm" | ||
einfo "A /etc/monetdb*.conf file no longer exists. Configuration" | ||
einfo "happens by .merovingian_properties files inside the dbfarm(s)" | ||
einfo "using the commands:" | ||
einfo " # monetdbd set property=... [dbfarm]" | ||
einfo "" | ||
einfo "The init script starts the aforementioned db-farm as user 'monetdb'." | ||
einfo "Your first steps could be:" | ||
einfo " # sudo -u monetdb monetdb create test" | ||
einfo " # sudo -u monetdb monetdb release test" | ||
einfo " # mclient -u monetdb -d test" | ||
einfo " sql> ALTER USER SET PASSWORD 'other_password' USING OLD PASSWORD 'monetdb';" | ||
einfo " sql> \q" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
AUX python-monetdb-11.5.9-hashlib_usage.1.patch 1283 RMD160 d980aa147c49fdb04a55f2afd55cf2b0db3c6283 SHA1 51ccf7e7db2f93522e7690b6ee3c4f08fa3eb558 SHA256 ad6c2df31f887a58026897cf8c9fce2abde7895b8cc1f40743c3cd096c64c4b2 | ||
DIST python-monetdb-11.5.9.tar.bz2 14093 RMD160 180c68b4693b144919f0fc5295c37a7c627b4190 SHA1 20ca3f2d09452d139b27d38362e89b03f38950a1 SHA256 53fe44fda04aceb2033df774607b9cd2a51bacf2f1334ba9302ea1ffcbaff550 | ||
DIST python-monetdb-11.7.5.tar.bz2 14086 RMD160 8c451e7037b89c34b1510942c5a9c201b2624247 SHA1 04ce7e5a0c0ab6e1984a7bb6b9c4bc47ef0988f7 SHA256 4b94da1993aac0c3738684c873fac0ea195df0c0a785a7e169b1054ae6a88ece | ||
DIST python-monetdb-11.9.5.tar.bz2 14135 RMD160 3def1a8133ca82f8df51ca4fdb74b6879cc7b102 SHA1 b5400c4a4347888c1ad30ea86af2436e034b786c SHA256 2d4d8456fc822c113b38377cb6487ec0a324348d661f080ca44d51dc1903c761 | ||
DIST python-monetdb-11.9.7.tar.bz2 14147 RMD160 de6aa471d4322b242d71ee538d83df6aec2fa3ff SHA1 c24ee602cef04b9935360ab21316c221558d503c SHA256 97a6bb802dc7f7032e35b384db1f63e3eb0798ba2c85c26dbe7df48e61ea3685 | ||
EBUILD python-monetdb-11.5.9.ebuild 589 RMD160 3321988f5dd26adcdbff42fe071d2aaa26901e35 SHA1 b6d72f86fc2cb2b306ae90c5d35149a046480edd SHA256 795c992c434c05762b511e9489ffadc73b8360342278b9f2ce8a64d8d572cfe8 | ||
EBUILD python-monetdb-11.7.5.ebuild 500 RMD160 b0f4de5205e94131dddd2277ff7cc127b901c8c2 SHA1 055af599ac40da1a2008ffedc59fd450cc5f71d0 SHA256 5c376ace8d3cff88259d0bbc7ac8b447bf865c4d214e645a09a049c2ddf7125a | ||
EBUILD python-monetdb-11.9.5.ebuild 504 RMD160 d53d7ceaff6dcc3c9563118ffb5709aa26b4d637 SHA1 c73d11e0264aba4315b63220d38a1db7ecc131d3 SHA256 12afda4d2a7795ae4b0bfddf1a464ed1c5e7f4d64873e0537ab322d5e004a155 | ||
EBUILD python-monetdb-11.9.7.ebuild 504 RMD160 958a22dafdf56ff1dc519dac929803b522d2b982 SHA1 d10a51df02cdc87931a6b8f70c74da99643a5ec0 SHA256 cf0e7280dd0f8a178f9ce0362f66e2a01ef8d6a35e8302700538ef19c5dba281 | ||
AUX python-monetdb-11.5.9-hashlib_usage.1.patch 1283 SHA256 ad6c2df31f887a58026897cf8c9fce2abde7895b8cc1f40743c3cd096c64c4b2 SHA512 796b353f6303bcb2d4cd3abc0d90fc23177fd6d271d0d078aeca0446a638f22b54320ff0adf63b14fad0108479b4bb3396b44e59ec0dd65c95a616a78a47acf6 WHIRLPOOL 02cdde5e84a8a725b5b3ac41fd7b358304d5e1307f2236f65a57376702aa34ed4810a7d67bbc6c481f322366730ff569357da8c9573846f54e7a765225dc1b64 | ||
DIST python-monetdb-11.11.7.tar.bz2 14262 SHA256 a9b9d4df1df64c776d785c8c9b35db4d484ccd2982482e844a8feb4f51596ff7 SHA512 082ccd3572fdf115e976e6cc3ced0a2c52ed740210468df0af6401566276b395b5d4aeb76f7352cf40f2e1463c5430e750b09a0b8cfae5d8424378fc46fb3901 WHIRLPOOL c73acb2afa7387e85c5f6a62efcb874ff88a0ef2d283aa3e0a6214d46e7df504cf000f39bbc9fd346029dda85e2bddc1d60c23e01305fb783c67a02db670f1b4 | ||
DIST python-monetdb-11.5.9.tar.bz2 14093 SHA256 53fe44fda04aceb2033df774607b9cd2a51bacf2f1334ba9302ea1ffcbaff550 SHA512 cb378b7863ec395c64c1fb6635c7a8afd9ce12097d050c9f6bd04e4401bd8c6004ca7ba96e02dc2b034048f21aa6dc7074aa10da8eaeae290e2017a4b371b920 WHIRLPOOL a6df23bf8177e79b85f84b77ba9014cbc3d8001b29653dbb60e9636ca21ee43b59f14bbc6c6fb5eb5bc87266ea9a0ac1bb4b22134d111acf3df9107b696650a3 | ||
DIST python-monetdb-11.7.5.tar.bz2 14086 SHA256 4b94da1993aac0c3738684c873fac0ea195df0c0a785a7e169b1054ae6a88ece SHA512 4c2a5c2d7a2dfb0a6d4e2ed75842945e27865ac3fbdc9eb770a075c5b1b7c90c4cf75425f83716faeb15ebca097988611945bc76f524dc16a78c1eae5ee96ad9 WHIRLPOOL 4daa084fceebb0d43d13856dd0cccb30eca92cc56e5e7adf4b270c560b272b753f4b6b71557ed7e951727fc06e0f3a8cb8122f020a76b530792336c4a023ffd3 | ||
DIST python-monetdb-11.9.5.tar.bz2 14135 SHA256 2d4d8456fc822c113b38377cb6487ec0a324348d661f080ca44d51dc1903c761 SHA512 0a738b75f30850f1ab49de582811126c5a170054ca0a6e5d28c1d79152339263ab69c40c8d72eaa7b71810a9c124638c6dbea2e7de73f89f45c3ebaf0c704dd9 WHIRLPOOL 68a4c8b5243a33d9b1579503a7e3b1f7e92b841552755c66d06dc22b9047c10491fdb72381381f4cb3783da7641a24309642b425342a8d20249a67d14d6006ad | ||
DIST python-monetdb-11.9.7.tar.bz2 14147 SHA256 97a6bb802dc7f7032e35b384db1f63e3eb0798ba2c85c26dbe7df48e61ea3685 SHA512 acc95db339e6136a22f7a62d14716aac43b98ffd3bfede90fa129124ae8a1f458e218393113c28b50a6ae3256d179a08d6d1ad56c5821db6077465269e11b7d3 WHIRLPOOL 9119a7af66a289fe21596f656b6b664dc20b6398c2d32daecc9ab5f78c172d6758a5097251e4bbceca7729cbd2f27d7b686e9e0a402c5e4e445641f307951ce9 | ||
EBUILD python-monetdb-11.11.7.ebuild 504 SHA256 238e879738c9b2ab64d7c3b853f611b2b23c5275470033ce3b4c6a1db296c649 SHA512 a42d5738b27ef81a0296e925b087e50f414ef702e1944efe00f81c0c06239eed9892a5460540b501ccb44b69342eefa73fbc5b59dc83014030172bc353d657a8 WHIRLPOOL 0853e1c1c409c51bfd3be01e673ab5897f28a5ba33f752b30bdbd0a7209a0b60e6fa0c9d611b07ac8b5a760afd66704673ba8e50670ced2822991856835fe492 | ||
EBUILD python-monetdb-11.5.9.ebuild 589 SHA256 795c992c434c05762b511e9489ffadc73b8360342278b9f2ce8a64d8d572cfe8 SHA512 2285ddd8b0b5f0fb367119f98ddd98e6b195088d8b79a5c62018e1af0fdf69cd44627d53c2c5f94e0c615805f933f9e85e38ffb8dd1cebda9f8a985a5ef46aec WHIRLPOOL 5ddd12287c0f33afebb6e68937431fc1b1421463668fbdde064fcf466de2e071cc1ca5ebc0aaaf4d97601785f02d7d8e5184e304925f023bad8025fb4e064590 | ||
EBUILD python-monetdb-11.7.5.ebuild 500 SHA256 5c376ace8d3cff88259d0bbc7ac8b447bf865c4d214e645a09a049c2ddf7125a SHA512 0bfbc97bb713f5a1b8c7e3bb9ee8cf26471a74167180b34d6a34813aa5b74d353c7b348abe63af729ae26458a96346510b2278e605dc5cc2c7360611af807b68 WHIRLPOOL f756c34fb2ea63cd3ac93b5d96737a8a268673e5c3e757016cd6fb76a0646852c3e8c41bf4db18e6d5f44a41f260146c7c8d0691af3947a9373f39fd4390087e | ||
EBUILD python-monetdb-11.9.5.ebuild 504 SHA256 12afda4d2a7795ae4b0bfddf1a464ed1c5e7f4d64873e0537ab322d5e004a155 SHA512 deb01f623b2f90e32949f467a92cbe31427b054cc273790b4f47eeeb939bde4985051db9d84c44ea9efd5e7664b1d480a4ea88f4b3cd90221d89b99d82953069 WHIRLPOOL d7985570570742dd9888a312bae03b81a7603e7f724b67b0d4111ba781fbc9b37e0b4a69147ce1786216e8e301783113b9257b3b4c3d392c16c10cf5b1666fca | ||
EBUILD python-monetdb-11.9.7.ebuild 504 SHA256 cf0e7280dd0f8a178f9ce0362f66e2a01ef8d6a35e8302700538ef19c5dba281 SHA512 3edd0b53906e2dac5e3b036075fce2e98c13ff2bc5c7328b1a760e9fd715da0d3a07a04743a03344f51d742474d0cc252cbf83c08f77fc2c6bca5cf7420f9e29 WHIRLPOOL 43085ce03d8d6a9c1151810ee0241100069e7159007eed10395622a9ab9dd479ec9a692b51e9d3b7dc784e904b44188acf9461f6a85b0a4ca874d277ed90c66c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright 2012 W-Mark Kubacki | ||
# Distributed under the terms of the OSI Reciprocal Public License | ||
# $Header: $ | ||
|
||
EAPI="3" | ||
SUPPORT_PYTHON_ABIS="1" | ||
|
||
inherit distutils eutils | ||
|
||
DESCRIPTION="Native MonetDB client Python API" | ||
HOMEPAGE="http://www.monetdb.org/" | ||
SRC_URI="http://dev.monetdb.org/downloads/sources/Jul2012-SP1/${P}.tar.bz2" | ||
RESTRICT="primaryuri" | ||
|
||
LICENSE="MonetDBPL-1.1" | ||
SLOT="0" | ||
KEYWORDS="x86 amd64 arm sparc ppc hppa" | ||
IUSE="" | ||
|
||
DEPEND="dev-python/setuptools" | ||
RDEPEND="" | ||
PYTHON_MODNAME="monetdb" |