Sync with portage [Wed Oct 14 09:56:17 MSK 2015].
This commit is contained in:
parent
64b658f0b1
commit
e8a0271804
271 changed files with 3374 additions and 10028 deletions
|
@ -5,7 +5,9 @@ AUX glance-2013.2-sphinx_mapping.patch 582 SHA256 043c3f7ef413cf3675920880af5794
|
|||
AUX glance.confd 25 SHA256 5a53dcf1eece81a06a2dd0856b15f8abe20eb1072361b110f752e396e86a7843 SHA512 13e671d4544e58d7397c1a87eb1048ed4bb9561587fcd63783e377b2d25e810222ca3944e0c8cf13c524e64f94c435b456a0d6f7cacfb148e275377699a11ca9 WHIRLPOOL 862a310fbdd7b68f132c45797210011b607d9b5c8937d60c9f5933a4d625bc985ad0277fea26804681b7e0a674dc9da15fbef40502c4052d6742ef0a94e88f3d
|
||||
AUX glance.initd 548 SHA256 508155f5c635c054ec7aa6acf36d818ef0552033433be885d33f4e66ea6f617e SHA512 51f2146f79b9fadcf0cfaaa314eb0b871a9c79d8e7ba02be7eb59329816deb10bd64c5e10fe3b8f4643a05ead97998f367a88dfc7f9c0f1b07e4b9cab54abd7d WHIRLPOOL c6f510f9414ed21dbc95f1b64c831f66e3f0d21fd1ce91d218adf9043a3b2cd927d0b770160b30972fb3a773dd6b53d1abab6d4a30e4f5421ba1809b6496f578
|
||||
DIST glance-2015.1.1.tar.gz 1102359 SHA256 5c5714264c4ad9c3d178b983899b54f69f138505ddd77e13141dc5f3d1598ebe SHA512 d9233b78174ec0f84b317abf7d26153a7e3ead25b4ebc31acbe5d0806b6877da5875de52ee0742dcbdd5fd3d23cb0240208f6fd57fa59cc403ad228ac85f2a0f WHIRLPOOL 69a4cd27b4ac57a47523ceb4b899bbbb3569e7af2bb8f3e64373d98b7c72450bd587c6da96d33903dcbf44e02f89ea563d116d9d2dc90d4a0f472eca89963a87
|
||||
DIST glance-2015.1.2.tar.gz 1108933 SHA256 e46bc6648a74a643cef3825dcd44c7e275ed3385b96cab83ef50c4c514932541 SHA512 0f8b8dbc3c507a47ad0873f35ec2212903d7e419b61c0298f77661f89a9718e3604786d52976860c78841fe0a94ad8fc1fe99514183d2b29ed414efe448e590a WHIRLPOOL df8ba6586b2f71c5d7ecb252b80e6c6de6f08df1029576fc8b2fb2a68633f5ce76de1334949af955e85c39e9f1df25b2f8763837ef8efa228b29559dc34be863
|
||||
EBUILD glance-2015.1.1-r3.ebuild 6768 SHA256 79351d0179b1626d51ca1294e2a55e974f2cd191f7d3a0ade75524d612ca88b7 SHA512 0b6baed50f6bfaa14e059df30691c1ae59aa8ce10c559926f922548d6114ea4725bde110d0edf8d150e9401c4fb0e33c43617ef69a6405da99f746abfc01a252 WHIRLPOOL fd7e8736c35000c69329677078bbcf1f298384109b7430c7ab4ded645756cca3b2176df36c55f0cb6f3c09e6b994a7b19c7540d4ca7013f28d90b6573160bf38
|
||||
EBUILD glance-2015.1.9999.ebuild 6638 SHA256 842b31f22608695ff0aaa5b39597e9a31b46c52299598dde4da0223edde33451 SHA512 08379a10d4f9a8aaede0de312175f977418e2a853b268a1b12e66427e64d2aa7acdd4c5d4cd20973c9e2c7a306e5c8d5ffebe6f5e28b078b763d7ed35b716e6c WHIRLPOOL 0ea2a0b2748b22d1edaadb4b294ffdcb2174533638ae429c927fbc61edf72145c290371f72b40822b3539128a59409659f49ffef85076f472d1fb807267bc0af
|
||||
EBUILD glance-2015.1.2.ebuild 6840 SHA256 beded95e9d6a9ee0e6ab4dab49dd9f0bc9c5e7996b93e9514a9dbb9e2388e117 SHA512 eafe4665d00a8709352e3beede03b0efc046cbc64baa9cb808ede711168cc89a96a4667c81914feed1337cac4abaedd5a22a58cfe15dc39889014d1083523695 WHIRLPOOL 33814fc98a16fcc6d5f6d66a378c1bc32156c3dc0026f87bf45251865c166e29fe5824ca3eacb16722dd88d35d314c72e078f180726989515af06f1e065a605b
|
||||
EBUILD glance-2015.1.9999.ebuild 6846 SHA256 6e4d90221b9ea2034bffc089a6dadc98a9e9e8a20ceb9a6f31fe317137b25c53 SHA512 54a2ce58660535ae4846d1a2d1b0ddca238aced8421d83dd65465b8d458850c89b7562cc3cae4a3df5e98d6b3022965949cb1d5700e98477238d5e6d71a2b6a7 WHIRLPOOL a7c21d3a2b1915ce1e45600d9ad56ac8edbdf2a67c7f562958d3ff538e4510b37b885a3a46e70cbd4e140c9e7484cd59b549b22c1e2cbe3742fc14582da8bfd8
|
||||
MISC ChangeLog 15177 SHA256 bafe483a76a229fc0871d1fe42837b5ec1cb2640500be46515bc0fdc2008fea7 SHA512 5435ed84455f1f0adbc16eb3d10042992163c9b5847f60d4c04aa92933708965a01b573b2ce3ed1058e7d333e247db1eec8f30f675a0d1005b21fc5d4103977a WHIRLPOOL 7fc94722861301a399626010b664431558dd52e472a39431d2d47f78999b7611fde66fc119181c53c3be486888d3798db7a6fcf098052eae30386c455ae8ad22
|
||||
MISC metadata.xml 684 SHA256 1ef788456271f080736aea2b5b997f6bbe69e5682dc1e95c923ce77c5235eb78 SHA512 325e17a5fb4840a87e93fb4947cebeec1788b483a4ef64f615efbef07e17b79ca5dcc8637420dd3e7bf89ea858eea25e47d48bdaf07e0aa77df5b40aeeff7c06 WHIRLPOOL 821b3e8cf042676c408a0d8918b609a34fdc4270f960c14e831475669bfa7c2fc9acc1ef1839ad28749979ebeabb7bf1e0a8b1fa39a139c3fb4a5fbf4ff63bcf
|
||||
|
|
192
app-admin/glance/glance-2015.1.2.ebuild
Normal file
192
app-admin/glance/glance-2015.1.2.ebuild
Normal file
|
@ -0,0 +1,192 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 user
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="https://launchpad.net/${PN}/kilo/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc mysql postgres +sqlite +swift test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
<dev-python/fixtures-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
<dev-python/mox3-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-1.1.1[${PYTHON_USEDEP}]
|
||||
<dev-python/psutil-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.5.1[${PYTHON_USEDEP}]
|
||||
<dev-python/oslotest-1.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
~dev-python/pysendfile-2.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/qpid-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxattr-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-sphinx-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/elasticsearch-py-1.3.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-0.9.7[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.16.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/eventlet-0.17.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/routes-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.9.5[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-migrate-0.9.8[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-migrate-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
dev-python/ordereddict[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.9.3[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-config-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-concurrency-1.8.2[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-concurrency-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-context-0.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-context-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-utils-1.4.1[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-utils-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/stevedore-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/taskflow-0.7.1[${PYTHON_USEDEP}]
|
||||
<dev-python/taskflow-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystonemiddleware-1.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/keystonemiddleware-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/WSME-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/WSME-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/posix_ipc[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-2.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/python-swiftclient-2.5.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/oslo-vmware-0.11.1[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-vmware-0.12.0[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/python-keystoneclient-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-db-1.7.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-db-1.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-i18n-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-1.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-log-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-messaging-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-policy-0.3.1[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-policy-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-serialization-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/osprofiler-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/glance_store-0.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/glance_store-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/semantic_version-2.3.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup glance
|
||||
enewuser glance -1 -1 /var/lib/glance glance
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/xattr/d' test-requirements.txt || die
|
||||
sed -i '/pysendfile/d' test-requirements.txt || die
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://bugs.launchpad.net/glance/+bug/1251105
|
||||
# https://bugs.launchpad.net/glance/+bug/1242501
|
||||
testr init
|
||||
testr run --parallel || die "failed testsuite under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
for svc in api registry scrubber; do
|
||||
newinitd "${FILESDIR}/glance.initd" glance-${svc}
|
||||
done
|
||||
|
||||
diropts -m 0750 -o glance -g glance
|
||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
insinto /etc/glance
|
||||
insopts -m 0640 -o glance -g glance
|
||||
doins etc/*.ini
|
||||
doins etc/*.conf
|
||||
doins etc/*.sample
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -25,12 +25,12 @@ DEPEND="
|
|||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/hacking-0.10.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
<dev-python/fixtures-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
<dev-python/mox3-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
|
@ -82,6 +82,8 @@ RDEPEND="
|
|||
!~dev-python/routes-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.9.5[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-migrate-0.9.8[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-migrate-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
|
@ -89,11 +91,12 @@ RDEPEND="
|
|||
dev-python/ordereddict[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.9.3[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-config-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-concurrency-1.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-concurrency-1.8.2[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-concurrency-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-context-0.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-context-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-utils-1.4.1[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-utils-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/stevedore-1.4.0[${PYTHON_USEDEP}]
|
||||
|
@ -148,6 +151,7 @@ pkg_setup() {
|
|||
python_prepare_all() {
|
||||
sed -i '/xattr/d' test-requirements.txt || die
|
||||
sed -i '/pysendfile/d' test-requirements.txt || die
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
|
|
|
@ -9,9 +9,12 @@ DIST puppet-agent_1.2.4-1wheezy_amd64.deb 15187770 SHA256 a711255c7b5aab5f1a653f
|
|||
DIST puppet-agent_1.2.4-1wheezy_i386.deb 15122670 SHA256 33e9b16ea215089e7a89288faebd4767163e05d7c4a9d5c51ca71b041496c204 SHA512 944f6388d317fab9a2714a6cdc57e713a973d3c1df259b3358be3a0d737878df9f1d66186af8aea0cc768e55650f1dd1d3ef8682b942728fba45e7c0bca20867 WHIRLPOOL bd5710845a9c8f27fb566ead63e45649fb3854200df0259c76b9478d93792b453a9d5cf4fdc20112991d4d091c82143b7504b51be65815b2dcb67796f275303d
|
||||
DIST puppet-agent_1.2.5-1wheezy_amd64.deb 15187830 SHA256 4d557e45571df033a9e1babf406f9b8a4c387fe6dec7d3645f5e7ad5d7625f0d SHA512 25557aa4d5fa3d2ba0aa226c835d6779d075f0ef7c054cfda9826b1fedd08c90f5143630206b1bd51550f193aecdf4eef6395437f24e5fdfe10d3ed10fb4b75f WHIRLPOOL d6ef920932a708d1a143245f84380384b3a22320c0bb21e60be9807e29af1d3da6dbfef2f498fcb90fe4584618ae338546103c71eb305b743d326e9c20704f1f
|
||||
DIST puppet-agent_1.2.5-1wheezy_i386.deb 15122650 SHA256 f34a6e9c70b5276806dacf64fb2b41fd927e6875071d044f9901c5a8d9dacd1d SHA512 0989501ca3f011601bb301126ad58084571ee67eb961fbf1f5cf002eb9155bf4f8e838452ac62b45472f00c0a7538cb5c72c3e43c651675a7940d8ab9a1a309c WHIRLPOOL f9698e3154254d9931fdbccd9a75edccae8ab799f8add0e32995453d62a0d070001ad858449c5b816c1b1a448beb8b99b180558feea3b36fc84c0e730e2d5b7e
|
||||
DIST puppet-agent_1.2.6-1wheezy_amd64.deb 15187698 SHA256 3448a92d6761bc1c284b17508bf541b0a8c40394b03e7608826e4f2a900e40cc SHA512 b5e6e43f22728cd7d9f4d103aa4de8fa1eccb3159abc31a921fa8f387dd0436a8d0f915b38be8ce233e39448b94f30be90e18da4e2861d6aeda9ef8a312474d2 WHIRLPOOL eca0f32e11b29050e53d93d02a68e874cc5f0f90d823aa7ea5241599872ef39d65f45103542fac84083b40ec47cf09435f27c4fb91b5a5c9a4dee84aa50a2c41
|
||||
DIST puppet-agent_1.2.6-1wheezy_i386.deb 15122826 SHA256 271d62f7f6634b49632308d95c75519620335d176d3ee694a3cee42bb445d658 SHA512 3eae7b5a112baf1123c6d942e0b60ee07d76b02a8313a7122884b66f08077fbe430447857e5862182de7cf64ef90f931a49936d6967134937ccff84dd419ae4c WHIRLPOOL bce7ce95c3f6c21ca658d7ba25b3cb7b04c20e5af5499e3f4efb1df997dedd01e0982c67da332fcd8da901f06ce8683219baa6c7e02a7a4eed5ce20547bcfa35
|
||||
EBUILD puppet-agent-1.2.2-r1.ebuild 1765 SHA256 c84d9ea2dc89e6c939639f4dd66fa1acfa1057474ddac0e3238297490234d8e9 SHA512 848389a090bd45f36dbc2e4e35ba2f418639eacba6167d7d2638246b50bf2388d38665a0e59521b9f2ab3290f35bc023a4618b80b9f1c851c15ef6268854cf3f WHIRLPOOL de47dc549d01ae13bc25c447659e251b6c6f55c0a3f2ff4ebc5f323e10f4cbc7f91ca48fda214dff12a487707be3dfc73f9c7a2e79d28eba23a4b41b0a2ae97a
|
||||
EBUILD puppet-agent-1.2.2-r2.ebuild 2227 SHA256 3ae63526d6604c3e7b05da87ca0bf338e10e7be1e647de2b54718ee355cdf236 SHA512 67b73134ec166949751c7a96725b473091aec8b5da961f8417e87e10f10d7af8c089f7180075fa91f9b8aaeac25a1b19da868d3d1e165d5bfc5c32f62121cb2e WHIRLPOOL b06752e8dc97326754fa544d55ed7751fe8711d72826c449438c78167bc58518ac352a7fc7db28c73888ac1947ddd7d5c57133c11fbd3cb5c65dc705cc7cf8d4
|
||||
EBUILD puppet-agent-1.2.4.ebuild 2262 SHA256 2fde5cc399f8ebd941f1be0d8500ae92bc2b7ab778fb3a2ae4a42d0bca03b961 SHA512 3fdeee72d654e41bf94fd02191dfdbe0dcf4d2f3102605ba7e4333be580deeedea1f751118179c28e4d00f5270b4219238180e41d173b5f870dfa44397a9afa1 WHIRLPOOL 229991f534451c4ce2c56ca9bc5122f53ea531211f20013846efe52268f057d7d52b40bea1e23f7fb5aa94eca0c22400dea80ce223e966a6a4ca2542ed2cb291
|
||||
EBUILD puppet-agent-1.2.5.ebuild 2262 SHA256 2fde5cc399f8ebd941f1be0d8500ae92bc2b7ab778fb3a2ae4a42d0bca03b961 SHA512 3fdeee72d654e41bf94fd02191dfdbe0dcf4d2f3102605ba7e4333be580deeedea1f751118179c28e4d00f5270b4219238180e41d173b5f870dfa44397a9afa1 WHIRLPOOL 229991f534451c4ce2c56ca9bc5122f53ea531211f20013846efe52268f057d7d52b40bea1e23f7fb5aa94eca0c22400dea80ce223e966a6a4ca2542ed2cb291
|
||||
EBUILD puppet-agent-1.2.6.ebuild 2259 SHA256 2c855d388538648ff17a681ac55ecd933478915cdf0020ab5e5e80204954ead1 SHA512 2693438ae56c8096f1a85beb981310fe8370197a8f616e88ab9c33ccfbe2a11dbe49254d719df197b64ee81e1acb03bd22f3492eeeedd5264b42ca261dd198f2 WHIRLPOOL 1a19bb7b6da7ec25be0cba5ad847959837d50c2c933f57ded7b78d61ba7194d29ab242ee21ace8146848bca53182306c0541a88e4b7682ca4d7b922146634540
|
||||
MISC ChangeLog 1925 SHA256 14cec0025e9af42a203c9a087daf7d2bce1dd92aec66445814fe3ba58fb55611 SHA512 f5c921d2ee0079c50c6618d8efa13438d07fe0626133269c8be9b5dd7f7a3aa6d2d1643d445d5e1d527094b2d814c0d5858974e5b38dd475dcb9d0271162ec72 WHIRLPOOL 92882e38ab2de443b8c4edb81327915b6ac76d1df5bd4306827ad92704bfe844ceda17c4abc81210de36718ad6d51eade549d720035e46ef6e719262f0441354
|
||||
MISC metadata.xml 419 SHA256 56c6b62c6abdbdb0f136d0edcb3ed57abff0f54a632274e7f78b419fa0639705 SHA512 7e1b379967953ead9fa26f09993ae50cc2e4b9fda5d30c0a5be08f8707632daf837adac1faf96f0d29f91c8b12e61710ba88f174044e646e7e253a3dc6e7927c WHIRLPOOL 1de177d45780a85ad7f2f30692461cb55a31f3146a78feaa196ab7aef16cd30caa34ce5f0d63b597d8fcc5d83a16ee9042b142d1301bf1a79e624a04140ef1ca
|
||||
|
|
77
app-admin/puppet-agent/puppet-agent-1.2.6.ebuild
Normal file
77
app-admin/puppet-agent/puppet-agent-1.2.6.ebuild
Normal file
|
@ -0,0 +1,77 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils systemd unpacker
|
||||
|
||||
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/wheezy/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1wheezy"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
x86? ( ${SRC_BASE}_i386.deb )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/augeas
|
||||
!app-admin/mcollective
|
||||
!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
!app-emulation/virt-what"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
sys-apps/dmidecode
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/mcollective
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/mcollective
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
dodir var/log/puppetlabs/puppet/
|
||||
fperms 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd" puppet
|
||||
newinitd "${FILESDIR}/mcollective.initd" mcollective
|
||||
systemd_dounit "${FILESDIR}/puppet.service"
|
||||
systemd_dounit "${FILESDIR}/mcollective.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
|
||||
dosym /opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym /opt/puppetlabs/bin/mco /usr/bin/mco
|
||||
dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
|
||||
dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
|
||||
dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
|
||||
dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
|
||||
dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
|
||||
}
|
|
@ -2,6 +2,7 @@ AUX sudo-1.8.12-include-sys-types-h.patch 5838 SHA256 c86bd2e0cee16ccda405cf2888
|
|||
DIST sudo-1.8.12.tar.gz 2493373 SHA256 163b51841de8ad19276581a6782d61f5948f1f72a0a843371a1c167d3dc4f3b0 SHA512 1815343eceb7cfa6e37c961ce1c68cf96fc290356b92078d6d24a2c85d8b7a7236df78d3ff7f5e30eba492dc8407346d884e01c0b989eef4414156cfec80b67b WHIRLPOOL 0d9e618937a08b9bf74aaebf12f5b9f96afd827728f90fa95b6a2a4f932cc84240d56674aa903062247068ec5aa3369b14bad64130caeb313330286510c2d3f6
|
||||
DIST sudo-1.8.13.tar.gz 2515307 SHA256 e374e5edf2c11c00d6916a9f51cb0ad15e51c7b028370fa15169b07e61e05a25 SHA512 d5498ce8136e903a5ee9e6b1e9b69149b2268798f0678bf7fa82d56947c60d0dec1d7ee25df382e2ee05ecb660720af6b6bc24ad1b6493834e158ee3b186d03c WHIRLPOOL b06256020e5c21159f1b7ff7a9849053f89e95c58fce850653e60d625ad71f8cf9caf9421765398ed73d2ca4756483dcd9535dc856e681dc3b8d7c1206ae5553
|
||||
DIST sudo-1.8.14p3.tar.gz 2570892 SHA256 a8a697cbb113859058944850d098464618254804cf97961dee926429f00a1237 SHA512 022e75a4171c0d9b87569adc5b08afc1b8f2adb7dbc6c80dfb737029dbca560a08e317ce37f117b614f36b54666ed01559a72d0c92523a5a2ee3531f520d7a2b WHIRLPOOL 143ff1c464b539e79172cd0340a089739207d2b99fc01d183a27b24b5172c834d6ed0f7258116542ffa559a3a4c3540924261170655dd7bedb449f8d93496bbd
|
||||
EBUILD sudo-1.8.12-r1.ebuild 5583 SHA256 0694032f4d607eb03d32a8d736c8494157f248144f737c61c9aa6ea21e92a1c9 SHA512 ee0139d914fb53d9150e9b3c5d67b9e7a6d3c4180a544d2c0cd9830f569149d2716a8dad38d0002a5fcc3add3690a1b4c6f45b3c6921c250b35fe66c94af4eac WHIRLPOOL d1c68e91cd22e4e97098955a226741d78610e5b94f3855b3493ddd9fedb223b85ba408aa3bb01acc30b78563d0d0aec32ac06b41cb106d3bc33367a55854fe42
|
||||
EBUILD sudo-1.8.12.ebuild 5574 SHA256 7caca4c84b4ee06443e180641472a401125d5768f66c7301b807cccd1a07f599 SHA512 d8256e0a41e630ca1e6ba331d04bccf29bcdb8e40fcc158a3d6a46423385c2509ef4029c40682167dc9c0bdf6ed95b847805c28465838443c09cdeb01fe6afe8 WHIRLPOOL dc646c2f9ce43f1c5e38a796c0cd1655eb08438f87e9127c6b0b97abd9ff665a1784b1b78f284d3a8876d920f9351fd89ca428a2d4a8b1a12b95e16d58c1893f
|
||||
EBUILD sudo-1.8.13.ebuild 5530 SHA256 4bb6f792a5a1e894002e5035571b9e709f18a3e5e6e183e9cefa03c970f1d7cd SHA512 88be89524d2aad1f14cb4aa9055fc3517c7c863649dd981eae8d247755c83a8f2ed8b0b94b2d7f89a48f0979637a598c467333c71f51411ae3e89300fdcd7498 WHIRLPOOL 08242e550fa6de45c3b11bbb4e405ebe994188c472b367f9b6c0cf10c6b0b1bdb354046d36c00921d8d084a932340cbb54a167f8c68fe78792c3d694d7c08c31
|
||||
EBUILD sudo-1.8.14_p3.ebuild 5530 SHA256 4bb6f792a5a1e894002e5035571b9e709f18a3e5e6e183e9cefa03c970f1d7cd SHA512 88be89524d2aad1f14cb4aa9055fc3517c7c863649dd981eae8d247755c83a8f2ed8b0b94b2d7f89a48f0979637a598c467333c71f51411ae3e89300fdcd7498 WHIRLPOOL 08242e550fa6de45c3b11bbb4e405ebe994188c472b367f9b6c0cf10c6b0b1bdb354046d36c00921d8d084a932340cbb54a167f8c68fe78792c3d694d7c08c31
|
||||
|
|
197
app-admin/sudo/sudo-1.8.12-r1.ebuild
Normal file
197
app-admin/sudo/sudo-1.8.12-r1.ebuild
Normal file
|
@ -0,0 +1,197 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris"
|
||||
IUSE="ldap nls pam offensive selinux skey +sendmail"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
sendmail? ( virtual/mta )"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-include-sys-types-h.patch
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_with sendmail) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-rundir="${EPREFIX}"/var/run/sudo \
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo \
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
|
||||
# Don't install into /var/run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${D}"/var/run
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
|
@ -26,11 +26,11 @@ DIST libreoffice-help-5.0.1.2.tar.xz 1884112 SHA256 c71db94564307f4bcea4d556a37d
|
|||
DIST libreoffice-help-5.0.2.2.tar.xz 1882964 SHA256 4342a5593ba8a33b1d63549f256a4127a0b51cc1a53faffdc2708f04fef5f094 SHA512 1000423578211dc843dcedb9f864634235ab09d5234f8d8fe2897065207bdf6cd3bca7cdc1b3c012de0c78b585978a25c0df5048779bd0b9a734c9160064e313 WHIRLPOOL 8b92bcd19487c1c286a477ff0dc1b7e6bd9aaf862cfe002fadc25d461add4c4f2f8ee1e45ac0426dc2d27a6322317cacb7f65e9d0a6e6d6dad01075d18476363
|
||||
DIST libreoffice-help-5.0.3.1.tar.xz 1882408 SHA256 22187900e65408f03ecb0a6463d7587ca27e32cd341d9ba0e55a99d8cdb3bc45 SHA512 25bcc9343b6df145618e6e6a6427173418243bdc066b447764999704ffae2dcafa1a295828512aa3c8362e9a843267b7634d6b2c268bb57587fdd77c03b37522 WHIRLPOOL cce758b2a8d66218bd94c4c66680a847cb5a0b9583798e8252acbd491bd18cfca56951fddc17ae270f69423346a7023f078d655bd6c07a51abef04887e0c4d51
|
||||
EBUILD libreoffice-4.4.5.2.ebuild 19103 SHA256 8b9f82f4ba05c3e88c910bfe357db003df1b718a9b47cd0d5b9cbc6588b48e1b SHA512 d80e51bb8319dd1deeac8f24a933c480d69c2473e4539b2b50971ed32cc8474089e52cd04064f8f6dd471b993370efdeda941faef3b1c694d5c4f70dd8a2b607 WHIRLPOOL d7f990ce29a39403111ff296906e73aad4d4b1b177f1ee1f6b8840fdb7180a3218a8c9e079751d1fca5e84b939203b1b286d4d918854abe9cc854fcd7cd8e6eb
|
||||
EBUILD libreoffice-4.4.9999.ebuild 19150 SHA256 f723a2397351e511e620307d50c02290ec34aafa853421d5e7a86c2fc72bad9e SHA512 eae7c1d7f51c5c2d1a277d7da3e03c605e8afc6acef70a7c7732f95784203e6f34fa48b084b65a1df6a8e41e77adc3903b30420b6394c86bd528049c41e60b08 WHIRLPOOL bb5a3c810d4ed9c88160ba02144a6f5003a775c1e7212cddeaae1be2d8736a34fc8644ba988b99f129e5593f1f5adcc5ec482576e46dd37d11c78259921b98c3
|
||||
EBUILD libreoffice-4.4.9999.ebuild 18715 SHA256 c05d47bb7a1eda8a7e04d60625c0567dbf0afb7d00e1898dc7faeafc691adf52 SHA512 9933d61c6465f453b1426561c078edcc14477cce749633685d50c62648c382b3bddd3fdf55fd695e19d87f1b784b730719b1784cde1af567715d145325dad30d WHIRLPOOL e0c82762f1f1c1bf0c2cb89b6760cd7ba1109f3c280e289edf73018c4a87f51c0367cfb128914a4c62b408a717fb57da2e716e5dab9d692774d7e0acc729b8ea
|
||||
EBUILD libreoffice-5.0.1.2.ebuild 18684 SHA256 17506b62153fc671937f482fb2255748f32c46a52e7c65c2977e22a95e286642 SHA512 71ada043a08fdb5d1f1d5f54d0ed0c81eea6b0de08d17c75d3703cdb5765f4c68742d1cccec75e8031fba480d20185994f33127412f92f0397902a1dde0051a3 WHIRLPOOL 1ae834d21cf1704808a33a4ad0cb4ec2afe3bcef45f926e956ea9041d7a5fc811bee5fa0413ba5fac6a528cef86da1b864cfd8eea85593afeb785b51c1124786
|
||||
EBUILD libreoffice-5.0.2.2.ebuild 18684 SHA256 9d8057f41b89f0784ae8c7c68f11a31a1c2c720bef49ddc344fecb991d273e97 SHA512 23326c4d1cd5962b582b0d72ab82313a605d630f4d38f0eaecaa6f57afb9f17dc2da46fbdc21a78f1ec1cddaa5b6e19214ac1187e8141bba91ea89d574bb76af WHIRLPOOL cc5951b9e98df899f0ca87c6bb1fe5329a967add220ee3b20a3f4fd7c5145622d53fb2fcb7c0f2aad580c7b0e47d5b4ecc2aa0216dbad08642f96c0793a015ce
|
||||
EBUILD libreoffice-5.0.3.1.ebuild 18745 SHA256 fb4b791cd475fe4c3b7c1332cf00b21af1a1866307563bf532d3748aa7a17565 SHA512 a619d21830c1e9570647b0c6c652d93a75a98e0544fbb1c18f8e15521db9207a0be1df1ae29671b0043ba36a65d652b9dfea6b9d8b10b897c833c6ac1581460c WHIRLPOOL 754294f087103b4c8c578c3b5384be088bdb041031b0ab17d2bb9f2f3cc4271480c084aecd4156ad69c88040f68f9e00bdfd79d734704ab48574ad596567ad1b
|
||||
EBUILD libreoffice-5.0.9999.ebuild 18731 SHA256 641722ae3f8fd773535f3aa3f249e7d569a2f2aa9c548d59f32450c6b5460f50 SHA512 6f33ae65bcda89ea6ed479ef18aa355e295fc6aafd343437324d41c67a6737a412a86c2101652c2fba59704b81a8d42d0347c0bedf5a2354dff195ef0e0e0882 WHIRLPOOL 2cf99e3447485e889b836a2c97d35e59c2b51c9d57c61f42ba3343d3239f5988910b5b6d086bb2eed763099c291defa598b4911b2d4944ab84fe87e0e67a97ef
|
||||
EBUILD libreoffice-9999.ebuild 18609 SHA256 de4fd3f06e4844a96bb98de1de601b0d3e2dce4a1e5ceee679760b2c12d84e4c SHA512 d64d28e1dc77acb475d69fc1c43f7b5aabc0d7af6128d65857dee90ab982c0924e486eb2a2eeb1c3f22eb95cb5f53eb56d0d4986e15d0d64b0a86c77c962ef76 WHIRLPOOL a29e5a70ca722e7a6c096949575445d83225fdcb2b679a4196a93eb8901ce1d85ea8d848d397676bd06a8420ce1bdf416978c4a420ec1422b2595c11bc49e390
|
||||
EBUILD libreoffice-5.0.9999.ebuild 18306 SHA256 96cea0ad9d87be158fa14ff40fe700fd026a3b351b76cf87f1517cb3ec019671 SHA512 98a9314fb90c530752d716a734b4c54948aa284d79932da972cdf5a703eced19446fdae5fad0c195fc6db76b44850d3af8dbee3ea57ca25f38e5db617530ac18 WHIRLPOOL f77034605bd5a4fbd815d30ea85638ae905d7c6021b08a90ce9541bc7f318a39e88506030d5410fa5b255f754ebcc0e72fb7272d537050a042163c388ff8ab1b
|
||||
EBUILD libreoffice-9999.ebuild 17603 SHA256 41a4362df7511c3f721a23ceecec8d4dc2aabe620ba5410b6b56bd4c723ec61a SHA512 bd6c909307e028b9dd82b2f32c35c69c01132e413aad2f7bda3f908cb16aa65caf0b095e39df8183f4a6624eff39258256bfca7e710256f05e14884d5dca74f9 WHIRLPOOL 63f2cafe7d4b5bfb8c507e0782c43746b7ecc59353fe3e163789a7f55e4c5e1b0e0292926e07f1846e79defe51de90858ad577ba547dedbf79f787c1d0e4d092
|
||||
MISC ChangeLog 9339 SHA256 efed9b1e7f6ed3ce24e8351037daeb8b050089969bf6ca5e5c013d42ffb2fb88 SHA512 7b58f85ea022bc91f78c812e09381660c25fb054b8f4e53e17e81161db775c832e441c5c64f50ab3d0093edc627a6bbc54c53f3fc75470d149ccb7ab92beba39 WHIRLPOOL 90c23e45e3afe143983ff60c5ca561f55169014d80d78e7d67b4342c2d7c71a0cf5548ed6316cc98366c3f205f506374a9643d22697e542c83243ca5bad1c78c
|
||||
MISC metadata.xml 1174 SHA256 1c06f4073e770bdbe58e5c30163cd0d55bb06b2ee5683c0cb71a0c5d77a0ea49 SHA512 8a6b1709df5c2073ec32b2bdab98e83f8a1c1aae8387db04d349765c9752121f91b695546e837b727e8975f1584f351adcb9e76a9c4f8791c88da761e7828940 WHIRLPOOL cbf6cf1490e2f65947e41e60f3e7568b34273ca3b0325e36d6554f1f6a30c6769454fdddf3a6641e4db7753d82d979205085bbff7b67a0ea62d1e893c2582c4f
|
||||
|
|
|
@ -9,7 +9,7 @@ QT_MINIMAL="4.7.4"
|
|||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
|
@ -27,10 +27,10 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
|||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
||||
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
inherit multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
@ -58,15 +58,21 @@ unset DEV_URI
|
|||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
||||
SRC_URI+=" ${ADDONS_SRC}"
|
||||
ADDONS_SRC=(
|
||||
"${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
"${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
"collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
|
@ -172,7 +178,6 @@ COMMON_DEPEND="
|
|||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
|
@ -241,6 +246,19 @@ DEPEND="${COMMON_DEPEND}
|
|||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
collada? ( gltf )
|
||||
gnome? ( gtk )
|
||||
eds? ( gnome )
|
||||
telepathy? ( gtk )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
||||
|
@ -257,31 +275,21 @@ PATCHES=(
|
|||
"${FILESDIR}/${PN}-4.4.5.2-fix-KDE4-listbox-regression.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
collada? ( gltf )
|
||||
gnome? ( gtk )
|
||||
eds? ( gnome )
|
||||
telepathy? ( gtk )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
use java || \
|
||||
ewarn "If you plan to use lbase application you should enable java or you will get various crashes."
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
||||
; then
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || {
|
||||
[[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]]; }
|
||||
then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
|
@ -291,7 +299,7 @@ pkg_pretend() {
|
|||
# install on clean system)
|
||||
if use postgres && has_version dev-db/postgresql; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} < 90 ]] ; then
|
||||
if [[ ${pgslot//.} -lt 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
|
@ -308,7 +316,7 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod mod2 dest tmplfile tmplname mypv
|
||||
local mod
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
use branding && unpack "${BRANDING}"
|
||||
|
@ -320,38 +328,21 @@ src_unpack() {
|
|||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
done
|
||||
else
|
||||
local base_uri branch checkout mypv
|
||||
base_uri="git://anongit.freedesktop.org"
|
||||
for mod in ${MODULES}; do
|
||||
branch="master"
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
|
||||
[[ ${mod} != core ]] && EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
git-r3_src_unpack
|
||||
if [[ ${mod} != core ]]; then
|
||||
mod2=${mod}
|
||||
# mapping does not match on help
|
||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
||||
mkdir -p "${S}/${mod2}/" || die
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
[[ ${mypv} != ${PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/${mod}" "refs/heads/${branch}"
|
||||
[[ ${mod} != core ]] && checkout="${S}/${mod}"
|
||||
[[ ${mod} == help ]] && checkout="helpcontent2" # doesn't match on help
|
||||
git-r3_checkout "${base_uri}/${PN}/${mod}" ${checkout}
|
||||
done
|
||||
unset EGIT_CHECKOUT_DIR EGIT_REPO_URI EGIT_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
|
@ -360,25 +351,25 @@ src_prepare() {
|
|||
epatch
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed \
|
||||
sed -i \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
-i pyuno/source/module/uno.py \
|
||||
-i pyuno/source/officehelper.py || die
|
||||
pyuno/source/module/uno.py \
|
||||
pyuno/source/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e 's#all : build unitcheck#all : build#g' \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
if use branding; then
|
||||
|
@ -393,6 +384,17 @@ src_configure() {
|
|||
local lo_ext
|
||||
local ext_opts
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
|
@ -434,7 +436,6 @@ src_configure() {
|
|||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
@ -541,7 +542,7 @@ src_compile() {
|
|||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
|
@ -551,7 +552,8 @@ src_compile() {
|
|||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
[[ -s "${path}/helpimg.ilst" ]] || \
|
||||
ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
|
@ -571,17 +573,17 @@ src_install() {
|
|||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
newbashcomp "${ED}"etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
rm -rf "${ED}"/etc/ || die
|
||||
rm -rf "${ED}"etc/ || die
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
|
@ -591,14 +593,14 @@ src_install() {
|
|||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -rf "${ED}"/usr/share/mimelnk/
|
||||
rm -r "${ED}"usr/share/mimelnk/ || die
|
||||
|
||||
# FIXME: Hack add missing file
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
doins "${S}"/instdir/program/libsaxlo.so
|
||||
exeinto /usr/$(get_libdir)/${PN}/program
|
||||
doexe "${S}"/instdir/program/libsaxlo.so
|
||||
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
|
@ -608,9 +610,6 @@ pkg_preinst() {
|
|||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
|
|
@ -9,7 +9,7 @@ QT_MINIMAL="4.7.4"
|
|||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
|
@ -27,10 +27,10 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
|||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
||||
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
inherit multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
@ -58,15 +58,21 @@ unset DEV_URI
|
|||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
||||
SRC_URI+=" ${ADDONS_SRC}"
|
||||
ADDONS_SRC=(
|
||||
"${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
"${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
"collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
|
@ -173,7 +179,6 @@ COMMON_DEPEND="
|
|||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
|
@ -242,11 +247,6 @@ DEPEND="${COMMON_DEPEND}
|
|||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
|
@ -260,18 +260,26 @@ REQUIRED_USE="
|
|||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
||||
)
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
use java || \
|
||||
ewarn "If you plan to use lbase application you should enable java or you will get various crashes."
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
||||
; then
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || {
|
||||
[[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]]; }
|
||||
then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
|
@ -281,7 +289,7 @@ pkg_pretend() {
|
|||
# install on clean system)
|
||||
if use postgres && has_version dev-db/postgresql; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} < 90 ]] ; then
|
||||
if [[ ${pgslot//.} -lt 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
|
@ -298,7 +306,7 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod mod2 dest tmplfile tmplname mypv
|
||||
local mod
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
use branding && unpack "${BRANDING}"
|
||||
|
@ -310,38 +318,21 @@ src_unpack() {
|
|||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
done
|
||||
else
|
||||
local base_uri branch checkout mypv
|
||||
base_uri="git://anongit.freedesktop.org"
|
||||
for mod in ${MODULES}; do
|
||||
branch="master"
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
|
||||
[[ ${mod} != core ]] && EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
git-r3_src_unpack
|
||||
if [[ ${mod} != core ]]; then
|
||||
mod2=${mod}
|
||||
# mapping does not match on help
|
||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
||||
mkdir -p "${S}/${mod2}/" || die
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
[[ ${mypv} != ${PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/${mod}" "refs/heads/${branch}"
|
||||
[[ ${mod} != core ]] && checkout="${S}/${mod}"
|
||||
[[ ${mod} == help ]] && checkout="helpcontent2" # doesn't match on help
|
||||
git-r3_checkout "${base_uri}/${PN}/${mod}" ${checkout}
|
||||
done
|
||||
unset EGIT_CHECKOUT_DIR EGIT_REPO_URI EGIT_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
|
@ -350,25 +341,25 @@ src_prepare() {
|
|||
epatch
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed \
|
||||
sed -i \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
-i pyuno/source/module/uno.py \
|
||||
-i pyuno/source/officehelper.py || die
|
||||
pyuno/source/module/uno.py \
|
||||
pyuno/source/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e 's#all : build unitcheck#all : build#g' \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
if use branding; then
|
||||
|
@ -383,6 +374,17 @@ src_configure() {
|
|||
local lo_ext
|
||||
local ext_opts
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
|
@ -424,7 +426,6 @@ src_configure() {
|
|||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
@ -531,7 +532,7 @@ src_compile() {
|
|||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
|
@ -541,7 +542,8 @@ src_compile() {
|
|||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
[[ -s "${path}/helpimg.ilst" ]] || \
|
||||
ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
|
@ -561,17 +563,17 @@ src_install() {
|
|||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
newbashcomp "${ED}"etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
rm -rf "${ED}"/etc/ || die
|
||||
rm -rf "${ED}"etc/ || die
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
|
@ -581,14 +583,14 @@ src_install() {
|
|||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -rf "${ED}"/usr/share/mimelnk/
|
||||
rm -r "${ED}"usr/share/mimelnk/ || die
|
||||
|
||||
# FIXME: Hack add missing file
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
doins "${S}"/instdir/program/libsaxlo.so
|
||||
exeinto /usr/$(get_libdir)/${PN}/program
|
||||
doexe "${S}"/instdir/program/libsaxlo.so
|
||||
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
|
@ -598,9 +600,6 @@ pkg_preinst() {
|
|||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
|
|
@ -9,7 +9,7 @@ QT_MINIMAL="4.7.4"
|
|||
KDE_SCM="git"
|
||||
CMAKE_REQUIRED="never"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
|
@ -27,10 +27,10 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
|||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
||||
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
inherit multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic versionator ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite"
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
@ -58,15 +58,21 @@ unset DEV_URI
|
|||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
|
||||
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
|
||||
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
|
||||
SRC_URI+=" ${ADDONS_SRC}"
|
||||
ADDONS_SRC=(
|
||||
"${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
|
||||
"${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
|
||||
"collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )"
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset EXT_URI
|
||||
|
@ -172,13 +178,6 @@ COMMON_DEPEND="
|
|||
jemalloc? ( dev-libs/jemalloc )
|
||||
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
libreoffice_extensions_wiki-publisher? (
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/tomcat-servlet-api:3.0
|
||||
)
|
||||
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
telepathy? (
|
||||
|
@ -246,11 +245,6 @@ DEPEND="${COMMON_DEPEND}
|
|||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
||||
)
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
|
@ -264,19 +258,27 @@ REQUIRED_USE="
|
|||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
|
||||
)
|
||||
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if [[ ${MERGE_TYPE} != binary ]] ; then CHECKREQS_DISK_BUILD="6G" ; fi
|
||||
|
||||
pkg_pretend() {
|
||||
local pgslot
|
||||
|
||||
use java || \
|
||||
ewarn "If you plan to use lbase application you should enable java or you will get various crashes."
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
check-reqs_pkg_pretend
|
||||
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
|
||||
; then
|
||||
eerror "Compilation with gcc older than 4.6 is not supported"
|
||||
if [[ $(gcc-major-version) -lt 4 ]] || {
|
||||
[[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]]; }
|
||||
then
|
||||
eerror "Compilation with gcc older than 4.7 is not supported"
|
||||
die "Too old gcc found."
|
||||
fi
|
||||
fi
|
||||
|
@ -285,7 +287,7 @@ pkg_pretend() {
|
|||
# install on clean system)
|
||||
if use postgres && has_version dev-db/postgresql; then
|
||||
pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} < 90 ]] ; then
|
||||
if [[ ${pgslot//.} -lt 90 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 9.0 or higher."
|
||||
eerror " postgresql-config set 9.0"
|
||||
die "PostgreSQL slot is not set to 9.0 or higher."
|
||||
|
@ -302,7 +304,7 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_unpack() {
|
||||
local mod mod2 dest tmplfile tmplname mypv
|
||||
local mod
|
||||
|
||||
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
|
||||
use branding && unpack "${BRANDING}"
|
||||
|
@ -314,38 +316,21 @@ src_unpack() {
|
|||
unpack "${PN}-${mod}-${PV}.tar.xz"
|
||||
done
|
||||
else
|
||||
local base_uri branch checkout mypv
|
||||
base_uri="git://anongit.freedesktop.org"
|
||||
for mod in ${MODULES}; do
|
||||
branch="master"
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
|
||||
[[ ${mod} != core ]] && EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
|
||||
git-r3_src_unpack
|
||||
if [[ ${mod} != core ]]; then
|
||||
mod2=${mod}
|
||||
# mapping does not match on help
|
||||
[[ ${mod} == help ]] && mod2="helpcontent2"
|
||||
mkdir -p "${S}/${mod2}/" || die
|
||||
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
|
||||
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
|
||||
fi
|
||||
[[ ${mypv} != ${PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/${mod}" "refs/heads/${branch}"
|
||||
[[ ${mod} != core ]] && checkout="${S}/${mod}"
|
||||
[[ ${mod} == help ]] && checkout="helpcontent2" # doesn't match on help
|
||||
git-r3_checkout "${base_uri}/${PN}/${mod}" ${checkout}
|
||||
done
|
||||
unset EGIT_CHECKOUT_DIR EGIT_REPO_URI EGIT_BRANCH
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# patchset
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
|
@ -354,25 +339,25 @@ src_prepare() {
|
|||
epatch
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed \
|
||||
sed -i \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
-i pyuno/source/module/uno.py \
|
||||
-i pyuno/source/officehelper.py || die
|
||||
pyuno/source/module/uno.py \
|
||||
pyuno/source/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e 's#all : build unitcheck#all : build#g' \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
|
||||
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
if use branding; then
|
||||
|
@ -387,6 +372,17 @@ src_configure() {
|
|||
local lo_ext
|
||||
local ext_opts
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python 2.7 enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
if use collada; then
|
||||
export OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser"
|
||||
export OPENCOLLADA_LIBS="-L /usr/$(get_libdir)/opencollada -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser"
|
||||
fi
|
||||
|
||||
# sane: just sane.h header that is used for scan in writer, not
|
||||
# linked or anything else, worthless to depend on
|
||||
# vigra: just uses templates from there
|
||||
|
@ -421,16 +417,6 @@ src_configure() {
|
|||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
|
||||
if use libreoffice_extensions_wiki-publisher; then
|
||||
java_opts+="
|
||||
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
|
||||
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
|
||||
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
|
||||
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
|
||||
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
|
@ -529,7 +515,7 @@ src_compile() {
|
|||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
|
@ -539,7 +525,8 @@ src_compile() {
|
|||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=icon-themes/galaxy/res/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
[[ -s "${path}/helpimg.ilst" ]] || \
|
||||
ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
|
@ -559,17 +546,17 @@ src_install() {
|
|||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# Fix bash completion placement
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
newbashcomp "${ED}"etc/bash_completion.d/libreoffice.sh ${PN}
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
rm -rf "${ED}"/etc/ || die
|
||||
rm -rf "${ED}"etc/ || die
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
|
@ -579,14 +566,14 @@ src_install() {
|
|||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files for support to old installs that can't parse mime
|
||||
rm -rf "${ED}"/usr/share/mimelnk/
|
||||
rm -r "${ED}"usr/share/mimelnk/ || die
|
||||
|
||||
# FIXME: Hack add missing file
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
doins "${S}"/instdir/program/libsaxlo.so
|
||||
exeinto /usr/$(get_libdir)/${PN}/program
|
||||
doexe "${S}"/instdir/program/libsaxlo.so
|
||||
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
|
@ -596,9 +583,6 @@ pkg_preinst() {
|
|||
|
||||
pkg_postinst() {
|
||||
kde4-base_pkg_postinst
|
||||
|
||||
use java || \
|
||||
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
DIST grs-0.1.tar.gz 32017 SHA256 38018649a6c767e3e295a24bec6fd880c63f892dd74a0f34ebc0bdc22c2683a8 SHA512 89f005c520f7ee0db4c57764592fe6555d75e1c78dd3dc0c224bd2197bebfad34a1b1279fbef75411949bfcd430dc3ebf57e929934a193bbc0da9d56a2944f75 WHIRLPOOL 31d612470ecc3b13388ddee1ebac7fb8584f5642491b09cda3ed3575ff303c70da25460b56a9d9595966a681ee21ec0b93f2d0fee91874dd18c7494e74cb384e
|
||||
DIST grs-0.2.tar.gz 34089 SHA256 cf666870d1d856e77da2aa59905eea32cb603673cbeb4a0f487d962321c50006 SHA512 502b8a6d66784b7b0c93b421cc5bc25db320edb555e2b283bf9a0e1edccd67ba8c07bc8cc715824b6c82ce435d2c1f5671b7ea84d2d856beef4f771d65992efb WHIRLPOOL 52e9f4589f01f8352a882d46c85478c8e5dce47390483b4a93958231e3502fd082957f18bf9b5f2d08f04d112e5eede0b5ee140a47852ccacc8acc8723ce4e5f
|
||||
DIST grs-0.3.tar.gz 34173 SHA256 445af2f267df936b4a06fdcb17e2a28dafd6eed8d52a8ff69ada622cedd8699d SHA512 710ea986ab55eabed5b774e850854ee36e600d378dd17a2d62cce67132695ecadea01b15ffaed750bb33a6f31e49989952425b7602808f65574ac506da1773fa WHIRLPOOL f5632d5562d6cb66b8111c35c5d5b57e0710d01d679d9c802182d18e2ddee0af7fe058a1275ca45c097fefdb1419943c638fdfe93110639cf299fd1c0df5b83d
|
||||
EBUILD grs-0.1.ebuild 825 SHA256 15cb8fd47873d1f8545b52df3bcc03b447caea53e8f3693316a331ce49387824 SHA512 c5a6d44573a771e38ae6fb901de682e242c8a718229aa6d97dd3c48f0d622203c2975a13c3a56783a847436fa3721a5ced1dc9c5e6c798e4a16c07b47c8350fc WHIRLPOOL ac2ce628400ed56a0f102e815138e5ddfb87bf26d3edefbbb9c90a1197e3956e745ca897c275d29b0f7210397d0eec7ee9ccf5e866835cf4afb528036e165ace
|
||||
EBUILD grs-0.2.ebuild 866 SHA256 6a17c8c648a4eb088d7c292034e6220df8462f4c9eab298f969df76323bed744 SHA512 2495c3a910974ee09555cd55209a77fe5405a28dc670a4d602e5b8bdef320f7fb916498cf136314a2541cdab168a5c9816ce24edcb7c634fc624a853f9b7f8ef WHIRLPOOL 03cfaf056ce9bc3f25798cd1c43186e5a374df25862234fce8340c48bfe8d5ca44ed773536e6ceebad53c2ad0b37ddfdde31c692a1af60b300327769b009936d
|
||||
EBUILD grs-0.3.ebuild 867 SHA256 d97434c1e900fb0b3c7588c563695a3263a821d52f24c5ebe6c15046711330f5 SHA512 bccfcc1f7b4cfda2ae59026d992604542175fe00a6c170cf550d9fc407be91db5d2b89de5a0ee07e1a68aa7990db55c1ae9c162aa8951f5ae37d283ef883fa55 WHIRLPOOL 3baaaa35a737a1ba28dc057f78f473e30548597a32f201c35eb18c56936401f366151944ce657bf4411b2a7d101349c28675a40d06b41516622b7b009bd5afe3
|
||||
EBUILD grs-9999.ebuild 867 SHA256 d97434c1e900fb0b3c7588c563695a3263a821d52f24c5ebe6c15046711330f5 SHA512 bccfcc1f7b4cfda2ae59026d992604542175fe00a6c170cf550d9fc407be91db5d2b89de5a0ee07e1a68aa7990db55c1ae9c162aa8951f5ae37d283ef883fa55 WHIRLPOOL 3baaaa35a737a1ba28dc057f78f473e30548597a32f201c35eb18c56936401f366151944ce657bf4411b2a7d101349c28675a40d06b41516622b7b009bd5afe3
|
||||
MISC ChangeLog 491 SHA256 0c5744f808431ad564f0e1abc743e3d89aed698b87c4479d2ffced3805df7999 SHA512 43d5be9c6be9ae5ed4097d8af8419e6f6256233a120bcb7d495b8a70811fc95ef9be3847c6b8657f6e36c2f26c86bd41021dfe670abfd1df5b04daf8812c87f0 WHIRLPOOL c89718a7ffed7a8c9660779b402ff6170f8be014e62e95f05a8b819e3592b22d8f13069d308f75b2069a720226b23697a0a9caa9faa53c7982965d9e9da2483f
|
||||
MISC metadata.xml 238 SHA256 f13e6e7b65d20beb9ae945d520160ef0dba80c1965754958945904d7e3c0a75f SHA512 3c3d75f1cb90ffcfb98df47481fbde6d451254a29fa87577acd25bc27cbcc3e5dbc0c1efce5974be905428f0b7caf912c8b051417aff92763847fa377493a153 WHIRLPOOL 6ec3d597b87aff99014404b8b732e6f600aafc3c3eeebfab135c9c19cde2e43161cfa23f841bd72826cc3393b724e1dac115c15dcce2b74ace6f1d6ec209dbf3
|
||||
|
|
45
app-portage/grs/grs-0.3.ebuild
Normal file
45
app-portage/grs/grs-0.3.ebuild
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/grss.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Suite to build Gentoo Reference Systems"
|
||||
HOMEPAGE="https://dev.gentoo.org/~blueness/${PN}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-arch/tar[xattr]
|
||||
app-crypt/md5deep
|
||||
dev-libs/libcgroup
|
||||
dev-vcs/git
|
||||
net-misc/rsync
|
||||
sys-apps/portage
|
||||
sys-fs/squashfs-tools
|
||||
virtual/cdrtools
|
||||
|| (
|
||||
sys-kernel/genkernel
|
||||
sys-kernel/genkernel-next
|
||||
)"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs
|
||||
doenvd "${T}"/20grs
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
AUX linuxdoc-tools-0.9.69-compiler.patch 1263 SHA256 5a56ecdfa67fdbe1ed6fb0c968dfe44674393470603c789d0d83561671a8904f SHA512 4bc9cbb4c732b0dfb41bcd9670b0a71eba042f8def079e6edb5ba9b5266bce5909cdfe7044ad6e9479ccffc0db17ebe93b25cec5a5dbff147596ed760492b5c2 WHIRLPOOL 0c8feeb287059dde0eaf65f3194bb2eb05175dfebadd5f5f8ceb0e1952f1295d593fadae74379870db86d34e0e4634cdb2ac795684f0a8df3a867071a1d29c7c
|
||||
AUX linuxdoc-tools-0.9.69-disable-doc-build.patch 835 SHA256 48195c2492783619b183aab4a432e24eab50ddabf3da9fc46ab677e1ee0279a3 SHA512 e3f6a84dafeeacb647d0077190d339ad90238cd2c9a121dd3ee0e9c537649718cd7d2a3cb132e33d2cb57e9584f654b3bb9699374d4d0ba9ec6b74e0fc171f24 WHIRLPOOL b5a9a813c51ebd7da40b278fba1b1fc1d4aed34e8a72518c17d6edc9ca2a597387000bd0095c28101b039443ce1cdc01f436c84f56d67387950a02c6ca7b4dab
|
||||
DIST linuxdoc-tools_0.9.69.orig.tar.gz 604379 SHA256 7103facee18a2ea97186ca459d743d22f7f89ad4b5cd1dfd1c34f83d6bfd4101 SHA512 5e0ca7614acd5a4c67d4beadd12e9665540d664dc4796c361a25d26ccdc53ef9e0b58cd051d028659e07530e351b0773895f8e6d06e5d2c6ffaad0a1f0c4d41e WHIRLPOOL 0ee3492252f6607169a6404701e04030047f4a4d9237d213606a67c8f6b9ec019315a355e78318a2c57ac8cb2eb08b1ab4d6b81a7f05b77b257127b70cd8ae1d
|
||||
EBUILD linuxdoc-tools-0.9.69.ebuild 2152 SHA256 2cabb1b508b5b650daebd1dc4a4bfe00e3e4e7331b78387304cf0d99beb58843 SHA512 be627a9ce8d7bf382a5148bf0ec1db6175a638e7f9c56aa90d4ec4605a66e99d81e2fcdf396148e8923091ac75c0bdbab4c8eb6a9b93def35ce9622d40839dc6 WHIRLPOOL 407152dcc660c5307070cbb87142e658224d9938c057cb4f58c8755e16d3429f2035e3603c63539f89ddb7771720e1b6404b47e9f7123cd561ad5e3a0fd9d384
|
||||
EBUILD linuxdoc-tools-0.9.69.ebuild 2168 SHA256 da103cdcac4e89d2e108fbd4dd068d6de85725fd51a1dd1a8d66c8878ab53f21 SHA512 b4c97d9042c4b90a0b7c4aa3f42a4323a5af4e083d205767c2956370fc3054ba271a82988e4f8b4d4c726c8fc2f16ef1f5a6054a20ac2a36fa03f78eefb79587 WHIRLPOOL d65844d43ae978826a41542e810ea579a966625ec5590a32370694f2d7b90cc7b131e68194324fc081a584840cbe0042129ebeecc9d5feacb60cd8f26a7f60a9
|
||||
MISC ChangeLog 4827 SHA256 643c8a92ed36c263bb293fe99c224210f435d51a3f135f6f8926274ffb4f81c7 SHA512 9d12067c92d7e7f9ed31597439726462abe50518c485b895d3e23e0de4b0bc13d45c3fb58d5d57324c2c2035a5b1ea4e4a1ac596bc2b778664e05c361b89e0c7 WHIRLPOOL 083853bce70d9403faf09e7fc0e3881613dbec47f859f5d5bea6d3560c6a9bc595880fa76fa681b9f379ddfc5c4572a7d118ba5b403ea763ec2323c4e912f0b9
|
||||
MISC metadata.xml 719 SHA256 a79d289a41039666fd144614a2b8d6382ebbe467d1c1942473c255e258bc69a4 SHA512 687ab4bfe895aa9aada843c490f4e3d2d33819bcb7bd34536a87ae504da8866631c0dabfab1a17dbb30838394b7380d4f9775d3f5ba18d8af7147120979dad89 WHIRLPOOL d5c00f7b424e1a5a252f6d01916cfd632de267c382e0f19d400fd2a9e7685369ea94f0e19ecb5c49de39e0aadec95f2932ea142a3b1e074004a7b19adc5993a1
|
||||
|
|
|
@ -22,6 +22,7 @@ DEPEND="
|
|||
dev-lang/perl:=
|
||||
|| ( sys-apps/gawk sys-apps/mawk )
|
||||
sys-apps/groff
|
||||
sys-devel/flex
|
||||
doc? (
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
virtual/latex-base
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
DIST xapian-omega-1.2.19.tar.xz 419804 SHA256 ca0a9afe2d1ced933408fc0b089c96cd55f90d7b06ae9708eb84294cd77e35ed SHA512 95be43eb25c7da59db7c396879a1bc35df70f0412a66d56c8ef1bc90d7f5930bc8e83fc5e1b3bc8a791fa92ea6e705fb0df5833265f4e95cd8bcce49dda7c976 WHIRLPOOL 101c34c2603d1287685a642b2d9be2aa1eb2779161b1f662f0ba7f91563b319eb0b0dd6def688122df991e56b6fe491cfec5ed93c10ee205948c5885c0d83f2f
|
||||
DIST xapian-omega-1.2.20.tar.xz 420488 SHA256 41f00ef7e650d10702d87b089a0103554ca3f038acc66df1bdbf852bb1d87fb9 SHA512 187b4d3a918f3b02b0a1737baedfff253455b16f3fd1b47ed3d93c4f53b41657d001929efc716467eefeb6daa437d1b530681ed250f8d665e86eedf7d0737756 WHIRLPOOL 65ea58a8743f4472e7242a20e4170782765f60e62ce8157341e7cfbf2ccbabd702262edfdd5cffb0c4562d50703235a7a235a1d03ef62453aae4e6405b69c606
|
||||
DIST xapian-omega-1.2.21.tar.xz 435624 SHA256 862d3a5d7052fc13c16eed51c42d774c4ab1c56967c477d994995b753dc9527e SHA512 8aa669fbf3253b72e742bed93a9ec972e33f49327cf0e912a21b33e3f586cf35041a50f107fe4767f8906996e86f8a6126efc8232e72045e8243b0ab1b30e1e9 WHIRLPOOL 8a6b555ef6eeacbca24b2c80468b3195eacc66084243d0340709a6c556cb03009022b8716b5e2aef0f6c382aaf5dbec8f29a01589808170fa26e73ccc988bdff
|
||||
DIST xapian-omega-1.3.2.tar.xz 449872 SHA256 951434ffa95651607589fcdde6548cbdd1b67dde264aa34234c293690fb7fc0d SHA512 92e9c58206fba424f92d88fa7a36fe21d350de0c0cd71857ff1db3c423dd40b4e7d5e331d13de3b905907b0d9a549d2888cdcd3125ece52452e7c304d2f437a0 WHIRLPOOL 0473913bb8c9752859d15a92159d250e3ef585331ccfb2eaea805670c3629a86e3091849067eeb0541fc1b23be2db5c8a5b7f9c73e49fc2fa35a54f6faa66782
|
||||
DIST xapian-omega-1.3.3.tar.xz 464308 SHA256 d28c05d5c920dae142fe69abec074b7916f027d749d2d0290d04133d2d6ad6f0 SHA512 4ea980b96526e1bc88329991e34b174944c8f87ba1b0d0f199bb2c7545ce80bc5307935d8322b6e8fa48b28dc6ead728fc5bebe7e13758602f952eac60302dd5 WHIRLPOOL b748a27225d097e3dca6d25935cbc40da5905795efc302affe13a3ba015b5fc1c15eef69e4d0ea460378f7aac6cce5896073ebb6856d46d6651a97bd626d3a39
|
||||
EBUILD xapian-omega-1.2.19.ebuild 762 SHA256 3a0dc23a238d4f47a1fc8803975499e0e6b81a3811ec1f14b134c3fb24b6811f SHA512 d2f200e1ab4e5fffedd506b3faceb48fa9c08b6d2690a8d765b53e563258bdf3bd06792f09dd6bf66c098c69fb7bf5628f95148cfa2a51ca1c9e4fae72fb9d50 WHIRLPOOL 5cb8357155cd8e4c6bc7d51b78f8bb62f986a30ff02d20d27032f555891763c8ff291067c1b0343249d62b9f5a6be0ca73fcf1e2fdcd0863c460782b51b8a1a6
|
||||
EBUILD xapian-omega-1.2.20.ebuild 770 SHA256 3bff477a76f72e586e733ca626a84d5d54e5cea6156b9f1ec3b53646a299eaf7 SHA512 b70f7b8eb14e0086a856070f2509faf641078c75abbf105c44e9755989fe95906dde5d6d409ea293b0c90b85d1a44400b2142d1c807027fc53e1fb6f1c0827ba WHIRLPOOL 4ffedc0b210d4831abe4c9b5d817baaa0e0baf38754f5654d864bfcb31f6b0de49202c1114b7b459788be0072654eef319f8042268f92a1fb349e0d1123f153a
|
||||
EBUILD xapian-omega-1.2.21.ebuild 770 SHA256 3bff477a76f72e586e733ca626a84d5d54e5cea6156b9f1ec3b53646a299eaf7 SHA512 b70f7b8eb14e0086a856070f2509faf641078c75abbf105c44e9755989fe95906dde5d6d409ea293b0c90b85d1a44400b2142d1c807027fc53e1fb6f1c0827ba WHIRLPOOL 4ffedc0b210d4831abe4c9b5d817baaa0e0baf38754f5654d864bfcb31f6b0de49202c1114b7b459788be0072654eef319f8042268f92a1fb349e0d1123f153a
|
||||
EBUILD xapian-omega-1.3.2.ebuild 750 SHA256 13bdb163984721ed4778a8529279c157900e7c54cdf11f054fcb35c83eca5e95 SHA512 e341e9ec91f8df93be64774da21889dc5021444a392a5ce99d04cfbdfe2e68dab3577ee304d714deb789dab19f4cd85459be2ecf433bb6135f018c1b5fabef33 WHIRLPOOL 7ff718a88f5bedbc4d06d7f0c9b5b9a4904f4fbd2058ece1224650dab92c4fae836df96b0dd5b8ee7c9ee8a00c916454efd52539eb001f130030fd5ae4f22028
|
||||
EBUILD xapian-omega-1.3.3.ebuild 750 SHA256 13bdb163984721ed4778a8529279c157900e7c54cdf11f054fcb35c83eca5e95 SHA512 e341e9ec91f8df93be64774da21889dc5021444a392a5ce99d04cfbdfe2e68dab3577ee304d714deb789dab19f4cd85459be2ecf433bb6135f018c1b5fabef33 WHIRLPOOL 7ff718a88f5bedbc4d06d7f0c9b5b9a4904f4fbd2058ece1224650dab92c4fae836df96b0dd5b8ee7c9ee8a00c916454efd52539eb001f130030fd5ae4f22028
|
||||
MISC ChangeLog 8456 SHA256 2a7ccfcb36e7792d7f423883c2094b106aa3955cc6d0551d2999557193eeb834 SHA512 a53026a24f108e1d4c673736ac88b3acaca2bf1725e139c1d4f1172b44e275865ad136a0df99aa370095a20932c82919eb7ff71025a1b309e33ed99d6d308b3f WHIRLPOOL f1568db0197cf41acd5fbacc6d816efb49f1ce2ede1d1f07f9f45f018b7a1d93df07bd274a5f8a47b9b58fa6cf455184e21db4f585f388fe5f2a4e5f7d9f5855
|
||||
MISC metadata.xml 367 SHA256 e757cf120c1188c0010caaf7449e89deee52d8aa275f4f0c3b9cc0c097d28596 SHA512 e562b4dfbdcf62a3f860cd185dcd5fb2cf4067cb9b6c11c94669027c9cbae94bc437fa63e68b3b982a6bdda624087a60b24a269031fae2f3f975efb3d8e85d44 WHIRLPOOL 1314776082f07f5fdf74d15ad6b5093276b58f47e4dce35c0377e6a7baef0941bf567e43047e4ff80a726e2078d506c9029cd033cba8aeba9110b75cbbffa036
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend"
|
||||
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.xz"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
S="${WORKDIR}/xapian-omega-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/xapian-${PV}
|
||||
dev-lang/perl
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
#move docs to /usr/share/doc/${PF}.
|
||||
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend"
|
||||
SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.xz"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
S="${WORKDIR}/xapian-omega-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/xapian-${PV}
|
||||
dev-lang/perl
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
#move docs to /usr/share/doc/${PF}.
|
||||
mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
|
||||
}
|
|
@ -15,32 +15,16 @@ AUX postgresql.init-9.3 4193 SHA256 fd3d3cd1913969edf51a98189cdb9b166eef52c9ea98
|
|||
AUX postgresql.init-pre_9.2 4156 SHA256 9b0a1d7da32a2f5c29103adf21e4206b8034bf9bd835820926980d474520a930 SHA512 412b863e0b49b87320cc8469c2a0958b91075b1f517177671905045b453f0af86bacf2484f381e29c94f5dffc2a5feeeb6ea8aad8aa827ac1528351d829edd70 WHIRLPOOL 95d269929b387a04c60c059fb223f105091f68dd31876556d40c4db142505c36e5b7a929ae58365e350f2a4d793837aa5b6f2b08db2c3524fb98681df5daacd3
|
||||
AUX postgresql.service 1666 SHA256 2b1b4a98ce32ae229774c6f303b54ff7a86aa649e2a20563749f84b3334ed1a6 SHA512 8c64b59f1e80096382a7166e1e8f183a5b9cf14c75138c15a39de74b983bfbed2f41cf9b33b2c72c3b9c79130c10104836a3505c96cb18ac1be1297c0fce1af0 WHIRLPOOL c4feda1d51204b87a53fc747f983047955be71ffd3edcd96004edff9ec708466d3c38f84c3898a3b54a828487e84d188897be99b64e73a5b6dae18a53cfe7110
|
||||
AUX postgresql.tmpfilesd 43 SHA256 a744802238384de29a1ab78a1eba857822be71685ad8d9d8ebf62456417e66f5 SHA512 a35a83d06bd01db5e4251c8d2fed572d62598fbfdddd0167eac918cda4cf520b942e67a54d5cca50d7f753e8b87ca4222024409d0efdb28a3e8ef1a2c5838e70 WHIRLPOOL a787a2c80bc144d88fac860617fd6923aa6fff9f0be8973d83c6ea271cf3f8ed3477de2c928c510903258b034b6d3e2619d1235d0c65b594d7106ad031fd4a74
|
||||
DIST postgresql-9.0.22.tar.bz2 15046629 SHA256 94d4b20d854cd7fa4c9c322c0b602751edbc5ca0d4f29fe92f996e28bb32f8a5 SHA512 19e7888f92c0cc6c948dd78831768fd7184fc4bc25ca1950a76f5175ed1763b8a34949e90eebbb063b072fbcac64c9fdf6072f5a22eaaae0c33e93cf6c49955b WHIRLPOOL 8b785c90a40fc32975cb81a9d8bf22bdd8667fd26710a962cecbf81c25f6348b3c49f30a91066ad8bb1bffce55658bab50181a2a82e217a7e71d7d361f2e5d92
|
||||
DIST postgresql-9.0.23.tar.bz2 15045569 SHA256 3dbcbe19c814139a3f4be8bc6b49db804753cbc49979f345083e835c52b4d7de SHA512 db8fe64a5a5a1caae97e792ee5b8bcc375c6d6e10ef9c35f1003f174745568854dc5a7a58dbaf46794dcd35dee5a13f6eb1ba356f9618134b601b7759c753c9f WHIRLPOOL 5177facff628271a0d57d1f2925cfc04796020492c4102f0b0c6fa34149da9ddd9ccb0a38629e320521fe82163bdd4aa56f74af3a887ff4389cd9f62e921c53a
|
||||
DIST postgresql-9.1.18.tar.bz2 15822081 SHA256 2726d526666904b454f87fe2ae54357c2ab9eb8aba299a4c904829b7598584a8 SHA512 ba51e431c947b749c6522fd887ecbf50bf50cc08f2323b122a35fb18fccceb46d50f0e632a5b19df9855b5a29c98534d19f241d31e5bc235b0b06e8fb210210e WHIRLPOOL 59b5e6fb5626d630e41a8c0497480948d5bb0751fffbe1602dc62009948bad047c2ddc805caa3510157924c0fc74ead2fb2a71d0569d5c1b56eae753d9dbcd1a
|
||||
DIST postgresql-9.1.19.tar.bz2 15843978 SHA256 cbd5057451147dd63a1e764176a4e17a7795773be1e4266ea9faa951064c0ec6 SHA512 23dd4108556edcc667f599c5663356a1106bc239a1c5337d153c13a1e1871d52316825b84802bbc1d79612dfa4c9c77f4c4b96d59d23d7338988bdf370e956d4 WHIRLPOOL 6845fd8071032e987ab65a642ca04adbc8b464332bac8c346f01e011411947aa4341ea596fd910342124fcbae4cc25410c25ab695894b0b68d20441df5424722
|
||||
DIST postgresql-9.2.13.tar.bz2 16401289 SHA256 5dcbd6209a8c0f508504fa433486583a42caaa240c823e1b3576db8a72db6a44 SHA512 0bcf8284aad756a70cd5e6d34a9f2cc17825151740da1c90a459edbf188a9a366831b71999803d301f0de35a5778f524b72779818b89599ffeb41cf1c2140077 WHIRLPOOL 3859e3e5c994441bc931ee92042a08eeb7b1196301b603f311372c2c2c65083b38713f4eac3e06c243703c2446a260b1ae861b7690f1fea03184d0518b10b486
|
||||
DIST postgresql-9.2.14.tar.bz2 16451398 SHA256 54c20b3f320a48c38487f2711e98b2fa3f9ce4305905a294ad0449e8b4fb292e SHA512 268015d9e397ee62eebbbc9abf1ee25d0d4aa6bf5943b404009b3aab31f485b8523353c679beed34cc00304b9d4c7aca9de0ba841d9841dbf885d05d1a5692a1 WHIRLPOOL 4f6d5d6989a67d14082ddb215411b55d0dc0be29772e6a593b4df133489ff4a7e6c265d0830adba64d4c6be47e17a949cbc21d6570dceb9362399649af2be88e
|
||||
DIST postgresql-9.3.10.tar.bz2 16995860 SHA256 e5444f0f76aff98a251400b7c28bc361d65e3d72d8d6cb9bb5d8361a69541531 SHA512 6b048fd1d0b38f72bab6ea70e40f10e7b805b94fc4c6fd865e0ec5e86da3c54043f20059dbf716d29eb4ca787dc50da561b1c7b48ab9f3096ebc651300855672 WHIRLPOOL b8ea15a04d18535662832d444b556aedffaa8c954b52dcd42d548f53f93b8a9dbfbe9298f63c26d44c8b757e8c10d76711c303cd83c84d9c86bf23c2837e74ce
|
||||
DIST postgresql-9.3.9.tar.bz2 16959310 SHA256 f73bd0ec2028511732430beb22414a022d2114231366e8cbe78c149793910549 SHA512 c6a9cae07968c99039910bb98d3e365fc285d2cdef02dd594128bd69ae65926392b18b65b0e13c3f17c366413bffbe226b6e8ce3453774b0439745b18ea129a8 WHIRLPOOL bcbc66a7b846b42c2d17d187e8b2c751afda8e5cdc7fa385ba1145f84e34950fad3b82fc1d04ae7ff9b7de01fd5705d9e507aa841880b97df2edb2ac8749a5fd
|
||||
DIST postgresql-9.4.4.tar.bz2 17616272 SHA256 538ed99688d6fdbec6fd166d1779cf4588bf2f16c52304e5ef29f904c43b0013 SHA512 e0f0efc2e3a01c93dad98796476808d60be243841104ceb496d2227214a9b4c5a32c5f550f0a456b0c64f2458aae32026960b63f68188269d367d900683a6061 WHIRLPOOL 9041b4b4e1b53bc97345fe587bc874df1185ef76fe105bfb54e9c882f3fd51841448e92deb12e1415ce76158da0683fcff333e08b9e54a8be565562ebfec6175
|
||||
DIST postgresql-9.4.5.tar.bz2 17660960 SHA256 b87c50c66b6ea42a9712b5f6284794fabad0616e6ae420cf0f10523be6d94a39 SHA512 01ad4b5a097efa70f74a9e96b764c32953a9df57d6bf81b893a1e552475f6aba0381580dcd1f27b2c443ce89fecc429eeeb0219af60a0b2f84798f76eb1757f5 WHIRLPOOL 8ea0e9a40cefa53568071f2137bac996898f9bd486cfb5cfcf8bb49590816833f37878f10caabffb9d3127e047f00c916b8830594a485ebe16fb9fe6fc834c95
|
||||
DIST postgresql-9.5beta1.tar.bz2 18291273 SHA256 b53199e2667982de2039ad7e30467f67c5d7af678e69d6211de8ba1cac75c9f0 SHA512 e8881939bdba346f3770102324d7b011c16e4529603280459e17587e06d933c9f3505b40c5cc82ed3f0410ffd88b5e2f18b2a3272aa4680c3798cf7a0fcc0374 WHIRLPOOL 0cf2c3fd40b2a8d482da5a1597abbc20d239f577c6472a03f8d9795a3e8ef142dfaad7a1eeebf2b2544e34712c243bbd9de63fb4045c4ce15dbde8ec74acb707
|
||||
EBUILD postgresql-9.0.22-r1.ebuild 11027 SHA256 e91d87691392d08aab502d0a1b2b8c41cd156ea92e13e850dd635d258be92600 SHA512 075000e800c5ceb881d28d27d4c84204771103f4157667e88da2922094194f808913f179f3f32cd4ca50685b55db3e884119c299a815fa5588451ac82bc5ff4d WHIRLPOOL cec13e4246046c80bdc9c81cc52100d765a79fdf4955bea53ada9ab63f81f8b604ecd16084bf8f9a5afbead7cb1ed0c39adfb374d031f905a9fb2c95cda1eb09
|
||||
EBUILD postgresql-9.0.22.ebuild 10968 SHA256 909d8cf14d389a2e42152dedca535bfdb3043c60e696ddc82dd19efb85ebc927 SHA512 e8ba727e45477bd6b199609b3c5a67c07ba7e081f31553b14d36e86b4783ce2d8ef85f62cd7b40a5b1f5fc87c71baa4e86cfc2127b86afa9ff36677d9ff8d7a7 WHIRLPOOL 29cad496eddb289424bfdc84f7ad4c9b62af1dd84549d20c91ea2ff264d217920a1ae852b964d2426e22bb64deb967d00a975847988bc47c771a7f932833ba50
|
||||
EBUILD postgresql-9.0.23.ebuild 11287 SHA256 883a4dd318175efae39256143377445c53df25f8ee27b203632ac894a81936ee SHA512 65ab57c9b316de1fecc9a035a826c950eea58a37f43c3f1790304c1225797f9dbee8529397bb3c08ee79266189454c42ce01eb062febf00fa2e9cd4af3823393 WHIRLPOOL 6f74f5558f353b2424619521f5573df6c4309a6e20391b524bb55097f2286b69895530baf94f82eb8d09243f442166c8a9340362674d89ad5479c39dc6b52181
|
||||
EBUILD postgresql-9.1.18-r1.ebuild 11215 SHA256 073b20425902caba38f1dd71f0ee1cb94cd57671adffbb39376f3c7d5c9191c3 SHA512 a295fa0de7505da52394b09c81ca69030c608114fce5f9c32f5393e803f158a312bd7f143eb37c69a3bb369407eeafa83db17f431341233eea8f978431a8cd82 WHIRLPOOL 0f6f1d4e5b381d473823bf85882bc2c60a769f21edee8a844471924d904e3a4c23cbbe34d01f4c470ebc2bc56a041b0bb3846d0698f60c34c99c2ebf0fd6ea22
|
||||
EBUILD postgresql-9.1.18.ebuild 11156 SHA256 880def21570b6549fa4bc3137270172468b84eca3ea2d062b64079387d01f595 SHA512 21f10977f76b77d4b099cfda335e779c6afd2795ff9ed673d1f5e4c4f81d97628619428fb1da6c6b9076133301d76aeecb3c4a113905ae6cbb9f14d0d8fcd483 WHIRLPOOL 66265ef7bb1a4890ef1f5f7ac440d6ead7c487a5b286889db7a0835e6da27f43baba19de64892447f142958269050edac9fb4be904a7e9fd6f9c29ce88d31e2b
|
||||
EBUILD postgresql-9.1.19.ebuild 11475 SHA256 167ed2a7637c81ac9f11fd8d3cde70d48322e476f051eb237e6e68dd098ba084 SHA512 999574fd3a8ab9a1617a85d53cdca13bd11d78740bbae5978e96b73d498fd34f4a72c8c7d2bd610dbef23aae024f98b7bc713aaa377f9f74d645e5ebc1bdc323 WHIRLPOOL f89637fffd093fd6c5640c837cdcf7ae1623c792f99717243fff391b2e721c874a024a4e73114ae7c3c474069d29f56bca18da4fb0bb27cbc73319e07745f02c
|
||||
EBUILD postgresql-9.2.13-r1.ebuild 11555 SHA256 6a74d6bfcd4da1bd05e05fd8cc7ea497116994a12897f3f4a0eba7575677133d SHA512 b4c8f68c7ae1003a33f438d7db9365ac8472e44355c05d0b193cdf405222f161e889daa18cea0724a54ab1666f8adaf1012bcc5ec55ba61c2e42100c4229344a WHIRLPOOL 9570252f624c1c0b1e979553f584248074ea99365db04ac3c6a18e634fff8819776b2a63dce6d25e94382125017306afa1acef6361ff05c342b1c979de8152f5
|
||||
EBUILD postgresql-9.2.13.ebuild 11496 SHA256 118572359a8239446cee7b6a57473cee3abf80ac6cbfedb84b9f79fefe66d249 SHA512 084bb3893afdc6adbe3f90dcf78bd8e4e60fe76f3dfa51eb0509f80bf9e6ca36c78f681989e56857bbc8d8858a674f9381355946003f46f816af6600c83872fd WHIRLPOOL d8e837f1ab5838e87b192c8d09826a377a9f46098c4ccc9f322a6c45171859c3e14ed84fa984edef2346e4c7d4b7b00f98d0459b266979438be18cb8ddf1a5a1
|
||||
EBUILD postgresql-9.2.14.ebuild 11815 SHA256 eb95a3f95519dbcefd42f2b182c0b5532c93272b4d12b4446cf2316223f1f5aa SHA512 6cc51b80b4b3f162a37cc4cb197d38e0676e0bf055ac5b4240915b1f86cb14f715019d54c5f08b1b231d4d8730723299119a7f912b5f061f1de51c71c405b64b WHIRLPOOL 81b41f50fc3df0a02cef82df4bd555270df30c40452db5b920e67e58093bdbdc7fcdd98eaf554080b370b1c71c0d429fdefd93699beb573a3af8f1af5e9ca68b
|
||||
EBUILD postgresql-9.3.10.ebuild 11819 SHA256 a2cbb29864f664ffbbf6377e9d9721653a57051853c9da534b085f75e23cbed9 SHA512 d373cd8d5e81a969d98e0835f3277f02d29ea8ea0afb66e3734d993975e93f00be936808f0f9b6c1c6c1f2b7a01e4cc5373c75db4932dda5f7c0bbdd23f49ced WHIRLPOOL e902f9c2e2b567398b4ec0fb729eddcb1b090a386bc727bfbc22a9ed4c936a88905c3e60e6d780f9ce8b9c03f5f8d935bed7e7e42be57e2152e8316b8b81901a
|
||||
EBUILD postgresql-9.3.9-r1.ebuild 11559 SHA256 2fd1fd145e7d563d228ec9d4d0503c1120aa00e4040171209779faa2ba3de91f SHA512 f4b711466e56f397d885bc42a211939c074e325cc884a171f982b645e3511422021c9927163f4f5ac7a92222243d5e1c15bb988b0cd46fbaeb55b29f42feb249 WHIRLPOOL bf7a3a541eb7d874dfa44a602a5099388f121e8e1c06a1498716eae196f6f6367d8392bf7b2c8b88fbf7bfc4912310631dd02ffdb7d1aa5ac7f5d5020dc5d4a6
|
||||
EBUILD postgresql-9.3.9.ebuild 11501 SHA256 ec43c6576e7244906ce3987f66309ba7b58041ca7438ce43c6b03b0bc05483c6 SHA512 38c5d4a126bb20a7fff256b97ea0a21b8416c9fdb53008147616671debf65ff2dbf9eaee688653e4afecd02198ef3fd4118a8ff66470fd3883d6f846cfee8e1b WHIRLPOOL 57407d4c7d1cd1abdf167e3c87b3e3d5fc8b1096c2cef7b6be44c36bcfbe303c6a7f79b5ab52c03e7a48f424bc2660f39773602aadc4c30e103f827f161946c1
|
||||
EBUILD postgresql-9.4.4-r1.ebuild 12464 SHA256 3b2d77d3d3d61f764893dbb5d26becfc6ff70d96217a7544fec561ffa44f6d3e SHA512 cefdc6ca5737214f63e85297e9dee1be87eac0bc551595ffe0853e5c2a6447707c9b805e316a2571761f210edd5175d1251a9dd1a1c8c30ebe4cc967e3de1d9c WHIRLPOOL dab0c1e476bfeba60f2eb7ab40d1afecda03847446ab51423c2937d4ec4c4fe707ae6d2fe600e2a3e841217d0dc1b003f89f7a18f6e82cf256a138e22a5af558
|
||||
EBUILD postgresql-9.4.4-r2.ebuild 12515 SHA256 f8554cd651fc9d810e90ec02e5810b055d928abee0f5211532734f171fd41295 SHA512 27f00fa3b19a4ece8f5ca87fe4fd09d0482e9d48edd01045c8594c425e0158059f36a8a31ec7dd53f8451971a2678fe05dd6d5a9a9502d9cc5b630bc0163def1 WHIRLPOOL 21778f2c0302a0a96df0097c8439aefc0d60c4120064cf8102574d2cc6ea2428f43ab0f1266bbb4e09670e50a1d97784411408f6d9a2226ae6a93a2ae4a90d47
|
||||
EBUILD postgresql-9.4.4.ebuild 12312 SHA256 718054d84aa94119b4ac96f31ce0afc28b668c6d416d6f24a6ec607644ba8b00 SHA512 221c07cc23fe89a248aa89d9217ed4ca55e3c2803e429d5f40e6c4b8a1997257086762c8cca56b1af6b80388485edc9b73325dc91a7a87aea367291bde3f64b0 WHIRLPOOL e49c649c14f345189afca6ffba51e7c9ff8423d4742fbc4f5d6e9b71627475a1d9a9c79b35fff331b20353e24e976d5e7276ffdbc8b29d4660ae317886105cd6
|
||||
EBUILD postgresql-9.4.5.ebuild 12630 SHA256 f6d161ab01484ad448cbc6ff3acb98823decc85c87e0560f419c1c5afdc3d1a0 SHA512 bc4bcc083279fad145f237e3609f2925f1f81dd1216bd5e4368a91b9514ae49b4754f505b01d9518053db72bb19dd61954b0a273575d02748598d2a77ad1213a WHIRLPOOL 18ba3cf037709a1e22f55a2758fa040d48c4145c16283f246d438a3a42b1115b9afb10fc3e4d7bdb61bb651687bb1eed139572fe1e0dd03bedc7586f473c02be
|
||||
EBUILD postgresql-9.5_beta1.ebuild 12488 SHA256 65f440be6b396cc81d375f2216b8edb95580f48f990a9341f6e20f4f251201b0 SHA512 7d3fbaef6aad393e6a0cb95719d0cd206dedb016063967676a3f0f311492833381d264a60f7be346c2b1b24aa3c273560320ea5aef51db525962a8c7a91929ee WHIRLPOOL a7ec4d852d96642a7f11b02f3d0788a1447a4b204bfe5dcf4d06abd559f1530907f394b6e61aebc65a06cbd0e35151b1c597327d2254af15969bdd0e50866574
|
||||
EBUILD postgresql-9999.ebuild 11068 SHA256 9acbf73cd1c3411b32fcb2dae11d650917dacd864660da407f2e18826318ff10 SHA512 cb09c533fda832093f3db43732cd289b5f3bbc8ed80b0f526afacd1d5d53a96322dc7fee9a4799534cce8724d217f4129329d61aa4315fc08203ee1859bdaba4 WHIRLPOOL afe884ca76e18511dfdd4327e1d638e6aa2c45faa28686f23a9da9ea0c012149875b6524e4c5f1440a53e33e27d9d774da58738b4a52b6ed51885f3e80e8cb74
|
||||
|
|
|
@ -1,374 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Testing within Portage's environment is broken, and the patch no
|
||||
# longer applies cleanly.
|
||||
RESTRICT="test"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
epatch "${FILESDIR}/pg_ctl-exit-status.patch"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-pre_9.2" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
|
@ -1,371 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Testing within Portage's environment is broken, and the patch no
|
||||
# longer applies cleanly.
|
||||
RESTRICT="test"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
epatch "${FILESDIR}/pg_ctl-exit-status.patch"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-pre_9.2" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
|
@ -1,378 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Testing within Portage's environment is broken, and the patch no
|
||||
# longer applies cleanly.
|
||||
RESTRICT="test"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
epatch "${FILESDIR}/pg_ctl-exit-status.patch"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.1-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-pre_9.2" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
|
@ -1,375 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Testing within Portage's environment is broken, and the patch no
|
||||
# longer applies cleanly.
|
||||
RESTRICT="test"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
epatch "${FILESDIR}/pg_ctl-exit-status.patch"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.1-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-pre_9.2" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
|
@ -1,390 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
|
@ -1,387 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
|
@ -1,390 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
|
@ -1,387 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with kerberos krb5) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
$(use_with uuid ossp-uuid) \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
|
@ -1,422 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
|
||||
# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems,
|
||||
# the libc includes UUID functions.
|
||||
UTIL_LINUX_LIBC=( elibc_{glibc,uclibc,musl} )
|
||||
BSD_LIBC=( elibc_{Free,Net,Open}BSD )
|
||||
|
||||
nest_usedep() {
|
||||
local front back
|
||||
while [[ ${#} -gt 1 ]]; do
|
||||
front+="${1}? ( "
|
||||
back+=" )"
|
||||
shift
|
||||
done
|
||||
echo "${front}${1}${back}"
|
||||
}
|
||||
|
||||
IUSE+=" ${UTIL_LINUX_LIBC[@]} ${BSD_LIBC[@]}"
|
||||
CDEPEND+="
|
||||
uuid? (
|
||||
${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )}
|
||||
$(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} ${BSD_LIBC[@]/#/!} dev-libs/ossp-uuid)
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
# Fix bug 555198: Correct typo in assembly code for alpha architecture
|
||||
epatch "${FILESDIR}/${PN}-${SLOT}-alpha-fix-read-memory-barrier.patch"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
local i uuid_config=""
|
||||
if use uuid; then
|
||||
for i in ${UTIL_LINUX_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=e2fs"
|
||||
done
|
||||
for i in ${BSD_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=bsd"
|
||||
done
|
||||
[[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
${uuid_config} \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
|
@ -1,425 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap libressl nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
|
||||
# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems,
|
||||
# the libc includes UUID functions.
|
||||
UTIL_LINUX_LIBC=( elibc_{glibc,uclibc,musl} )
|
||||
BSD_LIBC=( elibc_{Free,Net,Open}BSD )
|
||||
|
||||
nest_usedep() {
|
||||
local front back
|
||||
while [[ ${#} -gt 1 ]]; do
|
||||
front+="${1}? ( "
|
||||
back+=" )"
|
||||
shift
|
||||
done
|
||||
echo "${front}${1}${back}"
|
||||
}
|
||||
|
||||
IUSE+=" ${UTIL_LINUX_LIBC[@]} ${BSD_LIBC[@]}"
|
||||
CDEPEND+="
|
||||
uuid? (
|
||||
${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )}
|
||||
$(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} ${BSD_LIBC[@]/#/!} dev-libs/ossp-uuid)
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
# Fix bug 555198: Correct typo in assembly code for alpha architecture
|
||||
epatch "${FILESDIR}/${PN}-${SLOT}-alpha-fix-read-memory-barrier.patch"
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
local i uuid_config=""
|
||||
if use uuid; then
|
||||
for i in ${UTIL_LINUX_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=e2fs"
|
||||
done
|
||||
for i in ${BSD_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=bsd"
|
||||
done
|
||||
[[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
${uuid_config} \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
|
@ -1,419 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_{6,7},3_{2,3,4}} )
|
||||
|
||||
inherit eutils flag-o-matic linux-info multilib pam prefix python-single-r1 \
|
||||
systemd user versionator
|
||||
|
||||
KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="POSTGRESQL GPL-2"
|
||||
DESCRIPTION="PostgreSQL RDBMS"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
|
||||
LINGUAS="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr
|
||||
zh_CN zh_TW"
|
||||
IUSE="doc kerberos kernel_linux ldap nls pam perl -pg_legacytimestamp python
|
||||
+readline selinux +server ssl static-libs tcl threads uuid xml zlib"
|
||||
|
||||
for lingua in ${LINGUAS}; do
|
||||
IUSE+=" linguas_${lingua}"
|
||||
done
|
||||
|
||||
wanted_languages() {
|
||||
local enable_langs
|
||||
|
||||
for lingua in ${LINGUAS} ; do
|
||||
use linguas_${lingua} && enable_langs+="${lingua} "
|
||||
done
|
||||
|
||||
echo -n ${enable_langs}
|
||||
}
|
||||
|
||||
CDEPEND="
|
||||
>=app-eselect/eselect-postgresql-1.2.0
|
||||
sys-apps/less
|
||||
virtual/libintl
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
pam? ( virtual/pam )
|
||||
perl? ( >=dev-lang/perl-5.8 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6-r1:0= )
|
||||
tcl? ( >=dev-lang/tcl-8:0= )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
# uuid flags -- depend on sys-apps/util-linux for Linux libcs, or if no
|
||||
# supported libc in use depend on dev-libs/ossp-uuid. For BSD systems,
|
||||
# the libc includes UUID functions.
|
||||
UTIL_LINUX_LIBC=( elibc_{glibc,uclibc,musl} )
|
||||
BSD_LIBC=( elibc_{Free,Net,Open}BSD )
|
||||
|
||||
nest_usedep() {
|
||||
local front back
|
||||
while [[ ${#} -gt 1 ]]; do
|
||||
front+="${1}? ( "
|
||||
back+=" )"
|
||||
shift
|
||||
done
|
||||
echo "${front}${1}${back}"
|
||||
}
|
||||
|
||||
IUSE+=" ${UTIL_LINUX_LIBC[@]} ${BSD_LIBC[@]}"
|
||||
CDEPEND+="
|
||||
uuid? (
|
||||
${UTIL_LINUX_LIBC[@]/%/? ( sys-apps/util-linux )}
|
||||
$(nest_usedep ${UTIL_LINUX_LIBC[@]/#/!} ${BSD_LIBC[@]/#/!} dev-libs/ossp-uuid)
|
||||
)"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
!!<sys-apps/sandbox-2.0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
xml? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
!dev-db/postgresql-docs:${SLOT}
|
||||
!dev-db/postgresql-base:${SLOT}
|
||||
!dev-db/postgresql-server:${SLOT}
|
||||
selinux? ( sec-policy/selinux-postgresql )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use server && CONFIG_CHECK="~SYSVIPC" linux-info_pkg_setup
|
||||
|
||||
enewgroup postgres 70
|
||||
enewuser postgres 70 /bin/sh /var/lib/postgresql postgres
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Work around PPC{,64} compilation bug where bool is already defined
|
||||
sed '/#ifndef __cplusplus/a #undef bool' -i src/include/c.h || die
|
||||
|
||||
# Set proper run directory
|
||||
sed "s|\(PGSOCKET_DIR\s\+\)\"/tmp\"|\1\"${EPREFIX}/run/postgresql\"|" \
|
||||
-i src/include/pg_config_manual.h || die
|
||||
|
||||
use server || epatch "${FILESDIR}/${PN}-${SLOT}-no-server.patch"
|
||||
|
||||
# Fix bug 486556 where the server would crash at start up because of
|
||||
# an infinite loop caused by a self-referencing symlink.
|
||||
epatch "${FILESDIR}/postgresql-9.2-9.4-tz-dir-overflow.patch"
|
||||
|
||||
if use pam ; then
|
||||
sed -e "s/\(#define PGSQL_PAM_SERVICE \"postgresql\)/\1-${SLOT}/" \
|
||||
-i src/backend/libpq/auth.c || \
|
||||
die 'PGSQL_PAM_SERVICE rename failed.'
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
case ${CHOST} in
|
||||
*-darwin*|*-solaris*)
|
||||
use nls && append-libs intl
|
||||
;;
|
||||
esac
|
||||
|
||||
export LDFLAGS_SL="${LDFLAGS}"
|
||||
export LDFLAGS_EX="${LDFLAGS}"
|
||||
|
||||
local PO="${EPREFIX%/}"
|
||||
|
||||
local i uuid_config=""
|
||||
if use uuid; then
|
||||
for i in ${UTIL_LINUX_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=e2fs"
|
||||
done
|
||||
for i in ${BSD_LIBC[@]}; do
|
||||
use ${i} && uuid_config="--with-uuid=bsd"
|
||||
done
|
||||
[[ -z $uuid_config ]] && uuid_config="--with-uuid=ossp"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--prefix="${PO}/usr/$(get_libdir)/postgresql-${SLOT}" \
|
||||
--datadir="${PO}/usr/share/postgresql-${SLOT}" \
|
||||
--docdir="${PO}/usr/share/doc/${PF}" \
|
||||
--includedir="${PO}/usr/include/postgresql-${SLOT}" \
|
||||
--mandir="${PO}/usr/share/postgresql-${SLOT}/man" \
|
||||
--sysconfdir="${PO}/etc/postgresql-${SLOT}" \
|
||||
--with-system-tzdata="${PO}/usr/share/zoneinfo" \
|
||||
$(use_enable !pg_legacytimestamp integer-datetimes) \
|
||||
$(use_enable threads thread-safety) \
|
||||
$(use_with kerberos gssapi) \
|
||||
$(use_with ldap) \
|
||||
$(use_with pam) \
|
||||
$(use_with perl) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tcl) \
|
||||
${uuid_config} \
|
||||
$(use_with xml libxml) \
|
||||
$(use_with xml libxslt) \
|
||||
$(use_with zlib) \
|
||||
"$(use_enable nls nls "$(wanted_languages)")"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake -C contrib
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" install -C contrib
|
||||
|
||||
dodoc README HISTORY doc/{TODO,bug.template}
|
||||
|
||||
# man pages are already built, but if we have the target make them,
|
||||
# they'll be generated from source before being installed so we
|
||||
# manually install man pages.
|
||||
# We use ${SLOT} instead of doman for postgresql.eselect
|
||||
insinto /usr/share/postgresql-${SLOT}/man/
|
||||
doins -r doc/src/sgml/man{1,3,7}
|
||||
if ! use server; then
|
||||
# Remove man pages for non-existent binaries
|
||||
for m in {initdb,pg_{controldata,ctl,resetxlog},post{gres,master}}; do
|
||||
rm "${ED}/usr/share/postgresql-${SLOT}/man/man1/${m}.1"
|
||||
done
|
||||
fi
|
||||
docompress /usr/share/postgresql-${SLOT}/man/man{1,3,7}
|
||||
|
||||
insinto /etc/postgresql-${SLOT}
|
||||
newins src/bin/psql/psqlrc.sample psqlrc
|
||||
|
||||
dodir /etc/eselect/postgresql/slots/${SLOT}
|
||||
echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
|
||||
"${ED}/etc/eselect/postgresql/slots/${SLOT}/base"
|
||||
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/src/sgml/html/*
|
||||
|
||||
docinto sgml
|
||||
dodoc doc/src/sgml/*.{sgml,dsl}
|
||||
fi
|
||||
|
||||
if use server; then
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.confd" | newconfd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.init-9.3" | newinitd - ${PN}-${SLOT}
|
||||
|
||||
sed -e "s|@SLOT@|${SLOT}|g" -e "s|@LIBDIR@|$(get_libdir)|g" \
|
||||
"${FILESDIR}/${PN}.service" | \
|
||||
systemd_newunit - ${PN}-${SLOT}.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}-${SLOT}.conf
|
||||
|
||||
newbin "${FILESDIR}"/${PN}-check-db-dir ${PN}-${SLOT}-check-db-dir
|
||||
|
||||
use pam && pamd_mimic system-auth ${PN}-${SLOT} auth account session
|
||||
|
||||
if use prefix ; then
|
||||
keepdir /run/postgresql
|
||||
fperms 0775 /run/postgresql
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
|
||||
elog "If you need a global psqlrc-file, you can place it in:"
|
||||
elog " ${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
|
||||
if use server ; then
|
||||
elog
|
||||
elog "Gentoo specific documentation:"
|
||||
elog "https://wiki.gentoo.org/wiki/PostgreSQL"
|
||||
elog
|
||||
elog "Official documentation:"
|
||||
elog "http://www.postgresql.org/docs/${SLOT}/static/index.html"
|
||||
elog
|
||||
elog "The default location of the Unix-domain socket is:"
|
||||
elog " ${EROOT%/}/run/postgresql/"
|
||||
elog
|
||||
elog "Before initializing the database, you may want to edit PG_INITDB_OPTS"
|
||||
elog "so that it contains your preferred locale in:"
|
||||
elog " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
elog
|
||||
elog "Then, execute the following command to setup the initial database"
|
||||
elog "environment:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use server && [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
ewarn "Have you dumped and/or migrated the ${SLOT} database cluster?"
|
||||
ewarn "\thttps://wiki.gentoo.org/wiki/PostgreSQL/QuickStart#Migrating_PostgreSQL"
|
||||
|
||||
ebegin "Resuming removal in 10 seconds (Control-C to cancel)"
|
||||
sleep 10
|
||||
eend 0
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
postgresql-config update
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
use server || die "USE flag 'server' not enabled. Nothing to configure."
|
||||
|
||||
[[ -f "${EROOT%/}/etc/conf.d/postgresql-${SLOT}" ]] \
|
||||
&& source "${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
[[ -z "${PGDATA}" ]] && PGDATA="${EROOT%/}/etc/postgresql-${SLOT}/"
|
||||
[[ -z "${DATA_DIR}" ]] \
|
||||
&& DATA_DIR="${EROOT%/}/var/lib/postgresql/${SLOT}/data"
|
||||
|
||||
# environment.bz2 may not contain the same locale as the current system
|
||||
# locale. Unset and source from the current system locale.
|
||||
if [ -f "${EROOT%/}/etc/env.d/02locale" ]; then
|
||||
unset LANG
|
||||
unset LC_CTYPE
|
||||
unset LC_NUMERIC
|
||||
unset LC_TIME
|
||||
unset LC_COLLATE
|
||||
unset LC_MONETARY
|
||||
unset LC_MESSAGES
|
||||
unset LC_ALL
|
||||
source "${EROOT%/}/etc/env.d/02locale"
|
||||
[ -n "${LANG}" ] && export LANG
|
||||
[ -n "${LC_CTYPE}" ] && export LC_CTYPE
|
||||
[ -n "${LC_NUMERIC}" ] && export LC_NUMERIC
|
||||
[ -n "${LC_TIME}" ] && export LC_TIME
|
||||
[ -n "${LC_COLLATE}" ] && export LC_COLLATE
|
||||
[ -n "${LC_MONETARY}" ] && export LC_MONETARY
|
||||
[ -n "${LC_MESSAGES}" ] && export LC_MESSAGES
|
||||
[ -n "${LC_ALL}" ] && export LC_ALL
|
||||
fi
|
||||
|
||||
einfo "You can modify the paths and options passed to initdb by editing:"
|
||||
einfo " ${EROOT%/}/etc/conf.d/postgresql-${SLOT}"
|
||||
einfo
|
||||
einfo "Information on options that can be passed to initdb are found at:"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/creating-cluster.html"
|
||||
einfo " http://www.postgresql.org/docs/${SLOT}/static/app-initdb.html"
|
||||
einfo
|
||||
einfo "PG_INITDB_OPTS is currently set to:"
|
||||
if [[ -z "${PG_INITDB_OPTS}" ]] ; then
|
||||
einfo " (none)"
|
||||
else
|
||||
einfo " ${PG_INITDB_OPTS}"
|
||||
fi
|
||||
einfo
|
||||
einfo "Configuration files will be installed to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo
|
||||
einfo "The database cluster will be created in:"
|
||||
einfo " ${DATA_DIR}"
|
||||
einfo
|
||||
while [ "$correct" != "true" ] ; do
|
||||
einfo "Are you ready to continue? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
correct="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "Aborting initialization."
|
||||
else
|
||||
echo "Answer not recognized"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "$(ls -A ${DATA_DIR} 2> /dev/null)" ] ; then
|
||||
eerror "The given directory, '${DATA_DIR}', is not empty."
|
||||
eerror "Modify DATA_DIR to point to an empty directory."
|
||||
die "${DATA_DIR} is not empty."
|
||||
fi
|
||||
|
||||
einfo "Creating the data directory ..."
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
mkdir -p "${DATA_DIR}"
|
||||
chown -Rf postgres:postgres "${DATA_DIR}"
|
||||
chmod 0700 "${DATA_DIR}"
|
||||
fi
|
||||
|
||||
einfo "Initializing the database ..."
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
su postgres -c "${EROOT%/}/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -D \"${DATA_DIR}\" ${PG_INITDB_OPTS}"
|
||||
else
|
||||
"${EROOT%/}"/usr/$(get_libdir)/postgresql-${SLOT}/bin/initdb -U postgres -D "${DATA_DIR}" ${PG_INITDB_OPTS}
|
||||
fi
|
||||
|
||||
if [[ "${DATA_DIR%/}" != "${PGDATA%/}" ]] ; then
|
||||
mv "${DATA_DIR%/}"/{pg_{hba,ident},postgresql}.conf "${PGDATA}"
|
||||
ln -s "${PGDATA%/}"/{pg_{hba,ident},postgresql}.conf "${DATA_DIR%/}"
|
||||
fi
|
||||
|
||||
cat <<- EOF >> "${PGDATA%/}"/postgresql.conf
|
||||
# This is here because of https://bugs.gentoo.org/show_bug.cgi?id=518522
|
||||
# On the off-chance that you might need to work with UTF-8 encoded
|
||||
# characters in PL/Perl
|
||||
plperl.on_init = 'use utf8; use re; package utf8; require "utf8_heavy.pl";'
|
||||
EOF
|
||||
|
||||
einfo "The autovacuum function, which was in contrib, has been moved to the main"
|
||||
einfo "PostgreSQL functions starting with 8.1, and starting with 8.4 is now enabled"
|
||||
einfo "by default. You can disable it in the cluster's:"
|
||||
einfo " ${PGDATA%/}/postgresql.conf"
|
||||
einfo
|
||||
einfo "The PostgreSQL server, by default, will log events to:"
|
||||
einfo " ${DATA_DIR%/}/postmaster.log"
|
||||
einfo
|
||||
if use prefix ; then
|
||||
einfo "The location of the configuration files have moved to:"
|
||||
einfo " ${PGDATA}"
|
||||
einfo "To start the server:"
|
||||
einfo " pg_ctl start -D ${DATA_DIR} -o '-D ${PGDATA} --data-directory=${DATA_DIR}'"
|
||||
einfo "To stop:"
|
||||
einfo " pg_ctl stop -D ${DATA_DIR}"
|
||||
einfo
|
||||
einfo "Or move the configuration files back:"
|
||||
einfo "mv ${PGDATA}*.conf ${DATA_DIR}"
|
||||
else
|
||||
einfo "You should use the '${EROOT%/}/etc/init.d/postgresql-${SLOT}' script to run PostgreSQL"
|
||||
einfo "instead of 'pg_ctl'."
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
|
||||
if use server && [[ ${UID} -ne 0 ]] ; then
|
||||
emake check
|
||||
|
||||
einfo "If you think other tests besides the regression tests are necessary, please"
|
||||
einfo "submit a bug including a patch for this ebuild to enable them."
|
||||
else
|
||||
use server || \
|
||||
ewarn 'Tests cannot be run without the "server" use flag enabled.'
|
||||
[[ ${UID} -eq 0 ]] || \
|
||||
ewarn 'Tests cannot be run as root. Enable "userpriv" in FEATURES.'
|
||||
|
||||
ewarn 'Skipping.'
|
||||
fi
|
||||
}
|
|
@ -1,16 +1,10 @@
|
|||
AUX asm-2.2.3-build.xml.patch 2410 SHA256 a09802efdb631c5cecc413c36ad0238892bb052ae1c2bbb2c995ef98e1b30c1b SHA512 84d744c67288f344a83aba20722b8afec82a0d59bc6594c2d312e70d844a56a711a94f78257244a22e9ae66634b964e9ec2e86b3d5d15e6fda56ba68bcd0ed16 WHIRLPOOL d72cad2ccd89b5607321ea71180994a8a009ea21315d38b01befb09ee20fbe42edbbf5a39c7554318bd2899937af525d393d2c28f51742b10131b2f75a3d8ab4
|
||||
AUX asm-2.2.3-commons.patch 737 SHA256 63df67584f36fcbac29102c7fe78df99c94efda087885eeacf9f2aaf6a1dd9c0 SHA512 bea18dc2208c11a2724efc150fb4368d6b19d21beb30df7eb220d1fb8575a4c995034b84c62fd42ea3184d48aff11196f190f61ac1e7381426f94a8b17a3271b WHIRLPOOL 3e7b36d7ad1f2757dcb952199549df85209629f9dc9b47c220d23db39281c33edef38e4a4666e1259ad27fe34a0cf613b2a6c94030f75a3650dcb21e475b2169
|
||||
DIST asm-1.4.3.tar.gz 135980 SHA256 45970ef619fb39d30c48379ef362b2e2738586382df1d8090519736219c22a01 SHA512 c8bbcd702bb8593cf31a313fc82c4951f8b46b2818ba93571f9fbb909dbb50e1766111e25e5bb6cc73f9929dff7caf55c05c0e4fc66331591a3ddf087ce75641 WHIRLPOOL 109e3ffb86df3c645bc8c74b0768b1632aad271234556793b0ca64bba35cd8558394d12bfd3a77baf8dd85d17a04d5db15e230dfb5848526b9d559684fdc3989
|
||||
DIST asm-1.5.3.tar.gz 151370 SHA256 e58fda42c5a539ba2a1b99aa68329c27f3732299cf0942f654799b9f1fed1d3a SHA512 85ecf5bf676dc2a0a1ec6486f0d89b2da86b6fa4226b18b729c0cd7c648a4ed567d34871aa480b08bab37897ddb0c120c05b4dc299ebd79524319c4072b45ccc WHIRLPOOL 5b4674e484718b950fed1129b2cb9f9be81bfce6de256fe1048ae5305c522d9ae686b6a99601a705dd25a491f8a85e9652e96d3349f937d00e284e6f959e533f
|
||||
DIST asm-2.0.tar.gz 258426 SHA256 8c0b305819f123aa3333efb66acbeb8f5deb8cef5419c1d940310c7fbe7c194e SHA512 6736d7cccecfb6de999a2f5fdf527112206b056646da70f3597f272138b191b5b28ee620aa1a708c9941416eca7bb56c5dcf947ec377c9899f05aaf014186c4d WHIRLPOOL 779b1ea46fbd9458eb00ec59e035492f1fa1ec2f5fa03a01547f3ef1600a0f886d6f51b96b5e47e972db47d709f381788eaa023ce8cdbb3c36590339b632f4cc
|
||||
DIST asm-2.2.3.tar.gz 287535 SHA256 56c5ce25bff92c3641b6435e28eee71718bc4eb62d4964faa9da6bb9d1002344 SHA512 765b145a42cc02ef3066a6922afacdc70e63d7713c971e76621e7e03bdfd7e9426ca61a4b302fa0ad78f88046bfda5382befe84b690eb8102c7df912c0f0b73a WHIRLPOOL aca2299cf522034685a3ac008067a30230aaa811fc96cc3451b81b937903e21759c512330638acfc48101680576d90db46b915d097abdd902b3a58825877c4bf
|
||||
DIST asm-3.3.1.tar.gz 854626 SHA256 69a523d41c82d7979c9b47271e31187e23c064e1d2a93b52950463bcb80197f5 SHA512 b0dffde873dcdfd8328736cfaeb8a3fca2e0788fa642d3af0c995d55c6ca4b1847e35c24100277a453b518305c5fe234d1935fa8de9b25bddd5dee5f1d4a4d44 WHIRLPOOL 90158f7fd87eae641e20aaca736debbd34b70e22feae1021c5f47255b8b9e8305460444e1f070288292b64a6aef3c083c81b520343f97b570ec1799d56d13874
|
||||
DIST asm-4.0.tar.gz 752187 SHA256 feb2b078f10d420b6ab04cca136db1b57935170d53d12c64d381e118185c7b0e SHA512 642bc32fc0310b8e4291386866e53ba62802f2ae888163cd6e879232bbe3c3728c3a135aa667f91aec5bbb743621c2ee2d2a1a1d1ccb36c5249874a5ba9b08db WHIRLPOOL 8ac20fd836a97572c0b449637491e31a01d29f65eac71cf5412ae0948d1264ed098fd9fbe6ee51af386b78c25bef38c6878693144875e3f29692ad6daf320bd0
|
||||
DIST asm-5.0.3.tar.gz 781742 SHA256 36e8b760d40898cce83e913e78cf6e631a6a3dc3b448895bb35c02d298c21c4b SHA512 fb2fbddbd01ec6d355d5f218db801512a160b505e91c4ad81cc1a0f1265c358cf8df6140c216e2d5acc109dc2286c29de6bf5b60b29a094e70c96070a54b20af WHIRLPOOL e93cbf659b224d50b8a0971ceaacbcb72acfbf23347baf4a9875e647c5f43b70587a5e24ea01f3ecb57eee31e0550144b59d55e97daafba9d76158427518f667
|
||||
EBUILD asm-1.4.3-r3.ebuild 983 SHA256 fddbd07016e3de832a4e9d9ee3bbf83dc167742970592dedebd24d8ca64eb475 SHA512 b1068507967959cd8345cee5b6393045de0744d185942870bc16a6e60a4e413a19e137586e4bb7fae205afc7620648846c922b0c8228efb528d3049c1031b6d0 WHIRLPOOL e10093464e00d97635a301757d24d104035736cd9624d4f245b8f82c8ea15e9db9c87cba103f281b0dca955d967a03fb53bee1ca9ac0c3134282649bca60e6af
|
||||
EBUILD asm-1.4.3-r4.ebuild 976 SHA256 b9ce26761448c0716530d3b97787402579463653b90d4e065a37f7f3aebcf072 SHA512 97514e9be7c17fb7962b0ed42d04f820f5899fda6ca0d64348a4dc3cf38c36660a42ff062ca5547ff37f9eeff8492b5bf25003e1c93ea298900f60c4a8785b17 WHIRLPOOL 74efa93ccadb77a40f6502c0dd55022e4f600768c78d0d402bc121544009bcaf0a405f5a932a79ff40875832fb25d4696ec7920af798dc10dd64eb67c06db98b
|
||||
EBUILD asm-1.5.3-r1.ebuild 962 SHA256 bbe0e79ec3d6ee1dc2fa6b1f128b74126791908a4e63d1870c6a396e2dbd17d2 SHA512 83330cf89ae91ad56d4d9399fc906c8adf4f7ad59d4cf98cf8785978e79de8fcdef40fa2ffa8f4847f5a226917b7b229b02f5f26527368caec8f48bf49188eb5 WHIRLPOOL 69f77bf0a161a01dcf441101207b09b95e7b95e168615396997f73090c81d129bd173977e982ef1e434fcaca167f4c769e6dbf549229677fbe77e9fc3a47ccea
|
||||
EBUILD asm-1.5.3.ebuild 964 SHA256 30b8b1c7bf5d3ea2cf3aeb60e9f936f223d95bf2fe0d21962f777baa80ed33ef SHA512 a2b8c8d17c30163452b406e129fcf633fa00195235dd7c080abf8b42b865638682c210a8032be030fd83aa81d2e97dfa440a492da83cfcae22836b69e4653fbd WHIRLPOOL 3621f0e5560284ffb1f2b1cc36f3eb5ef949292697ff30782e1eb5383535516c5f56848b1647aa838de46da8aaaf61f47aa702462bab19dd361c71f807c8b7ba
|
||||
EBUILD asm-2.0-r1.ebuild 995 SHA256 3b438b8d956c66850be3bc0b5b67c156530abde2e08016e48577e66f7ed8d134 SHA512 7c7edac8188591761cb6d448e2b1125da5151d99c038e5097b1983eb5a2c77c959c45a675554e954e23906018221783790f5c24bbe70e5ffeb2ef1ec4593e81a WHIRLPOOL 911655f4394608f6adf4978b3548fe731f2d5fdbe502cf0c9cec0144e3b902f91a0feaef55cd3f2d188f4db32594cef1a3ce26db176574a4697eb39f8d0664e4
|
||||
EBUILD asm-2.2.3-r1.ebuild 1276 SHA256 53fbbe06dc72dee6197f9a8ed479c18346893c88357025c04bff2d7cd7b80b0d SHA512 c6a9e7bda15b0a0c5d5a2120a33281256545333b99c3cbab8ddf9c28e8240f36e701f71b57d79cd4886340d3b8c53810e0000427f5ac04c17e3cf2cb8937bf9e WHIRLPOOL 1c36d6856c5f119e8e79ed93f23ff216af25e6787e685e666ea9c13d1f1ab12c218e718cda7069ed31d216a233e79c95b75c2c942e432458c53bb9e657a70773
|
||||
EBUILD asm-3.3.1.ebuild 895 SHA256 e1d2005e02adfd7abfefe5c6fc9ff9ce8c2eec8e1cea51af72694361e6dca2bd SHA512 b5d711fdbf0b38ec010baa86c543f9ed9c99fe94e297c7c383f9226b1b3e8aada7fce8bdcd14b14ed89e5e0bedfb8efe5b58d32067f824ebe544b258388825a5 WHIRLPOOL 81b21024bcf6c4716c2ff477886fdcff32032bf8170548c09458bf925d032eb76c9ed77a46fd65e1be79206f729718139278819c58038c1407f5e9b2db893f8a
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Bytecode manipulation framework for Java"
|
||||
HOMEPAGE="http://asm.objectweb.org"
|
||||
SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1.4"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
dev-java/ant-core
|
||||
dev-java/ant-owanttask"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
echo "objectweb.ant.tasks.path /usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \
|
||||
>> build.properties
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar $(use_doc jdoc)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for x in output/dist/lib/*.jar ; do
|
||||
java-pkg_newjar ${x} $(basename ${x/-${PV}})
|
||||
done
|
||||
|
||||
use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Bytecode manipulation framework for Java"
|
||||
HOMEPAGE="http://asm.objectweb.org"
|
||||
SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="1.4"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
dev-java/ant-core
|
||||
dev-java/ant-owanttask"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
echo "objectweb.ant.tasks.path ${EPREFIX}/usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \
|
||||
>> build.properties
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar $(use_doc jdoc)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for x in output/dist/lib/*.jar ; do
|
||||
java-pkg_newjar ${x} $(basename ${x/-${PV}})
|
||||
done
|
||||
use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Bytecode manipulation framework for Java"
|
||||
HOMEPAGE="http://asm.objectweb.org"
|
||||
SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="1.5"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc source"
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
dev-java/ant-core
|
||||
dev-java/ant-owanttask
|
||||
source? ( app-arch/zip )"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
echo "objectweb.ant.tasks.path ${EPREFIX}/usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \
|
||||
>> build.properties
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET=jdoc
|
||||
|
||||
src_install() {
|
||||
for x in output/dist/lib/*.jar ; do
|
||||
java-pkg_newjar ${x} $(basename ${x/-${PV}})
|
||||
done
|
||||
use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Bytecode manipulation framework for Java"
|
||||
HOMEPAGE="http://asm.objectweb.org"
|
||||
SRC_URI="http://download.forge.objectweb.org/${PN}/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="1.5"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc source"
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
dev-java/ant-core
|
||||
dev-java/ant-owanttask
|
||||
source? ( app-arch/zip )"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
echo "objectweb.ant.tasks.path /usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar" \
|
||||
>> build.properties
|
||||
}
|
||||
|
||||
EANT_DOC_TARGET=jdoc
|
||||
|
||||
src_install() {
|
||||
for x in output/dist/lib/*.jar ; do
|
||||
java-pkg_newjar ${x} $(basename ${x/-${PV}})
|
||||
done
|
||||
use doc && java-pkg_dohtml -r output/dist/doc/javadoc/user/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
AUX commons-jelly-1.0-gentoo.patch 2224 SHA256 0e064c87ae4a2a91f7c98c546e0f3bf9f9ff4caf877e0c2f28a6b3443e6f3533 SHA512 726b64273320f1a089ce9d9b8121359cc377e070ce4b49155de52ce31559d0601b137fb6e208b8c5ab696c64224047592c26957ad3d7a49dc390b523c821f7b5 WHIRLPOOL 6b09b85d489eac94ed99d92a999f513033f03f20f7472b4aaf7c76745a8b2a3f9087c0bcabe379610cb591fcf7f99c7d0111fe4e288d5863d75767a6b61a400d
|
||||
DIST commons-jelly-1.0-src.tar.gz 174769 SHA256 113d606361845d08dab69f187690bf5dcfb5e9ca8fab780135898eb6d0a8d7d1 SHA512 a72ae2dc8eea3fc19838f386dca38807a16326a3a93f483219212844f8ec033088b7721c78a4370f78a06cbee0c685144a2b16f171d54134822d06f653bcef35 WHIRLPOOL 3e92b517ce621cda2477354a1342c59d7cf7756edbc3c7746c262f5cdca5d015976979e35056dc2f588de37f4b882f21929e8c7a095251b1eba5857115659d2c
|
||||
EBUILD commons-jelly-1.0-r7.ebuild 1556 SHA256 2da8a73cbc447335cbd82209bd2a35bd1fde9b80e8d7e1697d9c49738c074810 SHA512 7e6ebe8e196d0beca25c5b2ec5fbde724275f2dbe58da0e647d0aafa4037cea6d0a79692f65d324fbf37f8e887f0c5e9d30fb095bf033b7ec6b3c0df3724bf4c WHIRLPOOL 40e6ffb3c10b005d0034882acac7b388f39fda3010220573bbdb5de32c57695158c09bad9b28bc3eb453bd7b79e514700950c909fd183f429b68acd6260fad04
|
||||
EBUILD commons-jelly-1.0-r8.ebuild 1546 SHA256 3da5b9204e90e9ce68629d2a20939333584b09435ffecca695f48043f665e906 SHA512 d9737c8c589315b5b1108e541df5ef6b0660eaef455c06f2c967788aca921183f282628ae48857c71d49c7e86e69592f1199bd0486f3bc99ac7a915e6ff095c9 WHIRLPOOL 3ee2440259bfcf75cd49f456d14f8b389fb303ad4d1a5a842ec3ddabe64442365c51ae23dbd885be6feb1baf6fe3d90563a58ec706affd0802fd6268fc25fddf
|
||||
MISC ChangeLog 3388 SHA256 fe6433c796c3b25ced627a938241f1a2da94e5cd14e0cdf8b831b03da65e88ba SHA512 a323722fb871fba72c869e51b316a0261c3d917042293040a6fc15e7834e3ba465ebba2190bf10bfb35165ec9dbf14d627971b73ad4cdea7deecf996baef95b7 WHIRLPOOL 83d8bafcb1332804dbe88466b425a1f1ccb25fa8edb54a8c3726f4420f3c923d4042cfe24290eb1cbf4e8f1576192e2841d27f6293d667a965a75df0ad843fc4
|
||||
MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448
|
||||
|
|
|
@ -29,7 +29,7 @@ CDEPEND="
|
|||
dev-java/commons-discovery:0
|
||||
dev-java/commons-collections:0
|
||||
dev-java/commons-beanutils:1.7
|
||||
dev-java/tomcat-jstl-spec:1.2.5
|
||||
dev-java/tomcat-jstl-spec:0
|
||||
java-virtuals/servlet-api:3.0"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
@ -49,7 +49,7 @@ JAVA_ANT_REWRITE_CLASSPATH="yes"
|
|||
EANT_EXTRA_ARGS="-Dlibdir=."
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
commons-beanutils-1.7,commons-cli-1,commons-collections,commons-discovery
|
||||
commons-jexl-1.0,commons-lang,commons-logging,dom4j-1,tomcat-jstl-spec-1.2.5
|
||||
commons-jexl-1.0,commons-lang,commons-logging,dom4j-1,tomcat-jstl-spec
|
||||
jaxen-1.1,junit,servlet-api-3.0"
|
||||
|
||||
src_test() {
|
|
@ -1,4 +1,6 @@
|
|||
DIST axis-src-1_4.tar.gz 17041546 SHA256 911b4467f3d6cfe2e50fb7baea7a754e6aa717902d6ed91cef78f8f52bef8572 SHA512 7d08212b04702e76c960ad772a475f5765fef7f9ebe0aea3d4b949c6ba28a62500e8a76a43c7364b7caf36b7f27aee8592744256154670c7a24d29c5c1518258 WHIRLPOOL cf359caa9e645bdefb7c2ff012673dc64af9d4cc4bbe2a082cb64bcb0211d3a844ef797738ae1a3e9f978d0bbd8dc42bac9ecbdf4c734dd30ff52da18bdd7a91
|
||||
DIST jsr101-1.4.tar.bz2 18614 SHA256 2f2e793c0ece7240d7b117e2f05eb4b32d29e7fa7b2fbf85d912fb8693b0a55e SHA512 a29cca7e0ed1eb8aff4b70da6d804cb1cd61cdd9a800f420be6794aa927bca6a4146a95d71c8521d4dc16a0da56419f3e82079d942194380dbddb9d44d773317 WHIRLPOOL ad710d84c000f7711d0bcc3d93071160bb85daa0a854ade778ad3e636b49860a25739bd8e175b7c4a2a1b19f6c59451c0781b6b59f8331ce87cfb1c589d1e8f3
|
||||
EBUILD jsr101-1.4-r2.ebuild 973 SHA256 6c5c82c2e2dca374cfeeae01af7260d5e428165265bbc1c8fccc17e5d8fc5673 SHA512 b9e4e25fdb101000ec2eff64c47facbad4d430ffce62d5406ae591f8ef6122ac8ed43a687ddc2d80a1a2c1f15bb14b0a1cb41f5948e3d63bde3d2a71bfcfca2b WHIRLPOOL f829b0f4b3588977298f84bc4d69bbcf1af5cf83e65b04d44a88874d4fd706fd66abc737631cdf2b55f1bcae335bad81def0a2b204f8bfd1bcda8a045996332c
|
||||
EBUILD jsr101-1.4-r3.ebuild 694 SHA256 983056df6e4d0bee39921c6c5f7a020bc25242f3247716105065a80cf6167a03 SHA512 623a5488124f1eb2b2a9db9dedc9f026dd01b8e51c31dc1e68abb8e20b76fd47754c2a5afe40ce2c23df4d3a08041fed4f6d0e59b7ac0892424d8a0e238551c7 WHIRLPOOL 1800179c3b0b6740bd771a425f46bad33f91825e46933aa7bd3694b1fc4ebf20ea2f50b6b580d65a9ee604093ff01e03f1bc368feb77f18dd85fb52910093200
|
||||
MISC ChangeLog 1832 SHA256 d796eae101706f5589cd572350867ac8dc05c7ea5f86611abba14b46fe95583f SHA512 0a9e676c50b63252c0ea1f35f4bacf3f2a1f3afb581c0e1a9ed4d0d53268b4b52c6886b0d176e8cad4f82c6584b8c5cef24bd02ab6e8c66a624d97a13dcfa13f WHIRLPOOL 089bdd33cdb53c923284bc5e39459d42f28dc4111f44810e7c725b490b4c9035fd574badc066a56a3947b0c997625acc39f3f5ca315a4906560c652db6bea0e1
|
||||
MISC metadata.xml 159 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb SHA512 74dc9ada199a90543b8e1c168c7054f2e973fbfa2551e2b959d67501f2538e269cfb4b2f0905a88a1afa04c20b33961336310ba876f80d47c8e7615b2d7c830a WHIRLPOOL a0ac49efeca233ec4d8f63eb69c8e46e1d4ecbd926693c25b1b8c7415e4c565680936aec46f0c4197116fd7a19a3bb571beee493c18bdae1e5e978e3db84f17a
|
||||
|
|
32
dev-java/jsr101/jsr101-1.4-r3.ebuild
Normal file
32
dev-java/jsr101/jsr101-1.4-r3.ebuild
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java(TM) API for XML-Based RPC Specification Interface Classes"
|
||||
HOMEPAGE="http://jcp.org/aboutJava/communityprocess/first/jsr101/"
|
||||
SRC_URI="http://dev.gentoo.org/~monsieurp/packages/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
java-virtuals/servlet-api:3.0
|
||||
java-virtuals/saaj-api:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${CDEPEND}"
|
||||
|
||||
JAVA_SRC_DIR="src"
|
||||
JAVA_GENTOO_CLASSPATH="
|
||||
servlet-api-3.0
|
||||
saaj-api
|
||||
"
|
|
@ -1,5 +1,5 @@
|
|||
AUX mojarra-2.2.12-Util.java.patch 1196 SHA256 d047c7c7f788d3898265e2824cad1b53d32d55b130d08e00338e6b45b5986b43 SHA512 b3f2f1fb0f7541eb5fae494d3a0f254553aaed7de2016f5bf8f4433e88ce9cfb59cae6d6e3e169040b77ba1ae9038beaaae2591610a71f0fc194ac6fba295732 WHIRLPOOL c3d68e52c8bd61766985130dfc5a6dcd2c2327b0a2b0abb0bae334d56102ad639ff53349303577cf91890da8c2455085b7e37645eb0bc9ba54dbfb4a05274275
|
||||
DIST javax.faces-2.2.12-sources.jar 3105808 SHA256 503c0a1c6a270429798a6507d477ee2114f0de5204c64d5660a11796c498ab61 SHA512 b2bc2ce38d72af38a4b2fdb5aec790600ca41a5d7f6340bf6be671a901c9fe664d50d9d13f021694e85e0e145a2031e2d8b61dd6d6ccebb544f2512a91ff670a WHIRLPOOL 98a5473c8c7841cf5baae4b879d2b0a9e1b64d3666b820aa7c1aeece43d3689fc8b93766c280906f19dd23d3e13436c6514b533a3d810bdb96e88d4d78666a87
|
||||
EBUILD mojarra-2.2.12.ebuild 1264 SHA256 97b16cae1b2788319287d86e8c95ad50c5bd49d7011572997a73b97c0f384a74 SHA512 5615dd3b7f2fb4cee2ee3a49fe4c5310508664d63d60f4f33259f0c2f0f2b2fa41f158daf7ea3f6da9fef8a9972568f2d0f0e5914c69385c3d35d7ad42b07c46 WHIRLPOOL ce524e04b1b5288d42dc9ce869f1f10bdb079f9ea1953a03b1bba1a4c7ccd6a901721ca4747a2a1f14f7bb94ac807724a4285bd153b014da842935f3dc6c1a1b
|
||||
EBUILD mojarra-2.2.12-r1.ebuild 1254 SHA256 1092654847f2c9d6dc5b01c4d2e656f8f4ca681adbd2af2bbc6a5170ae597db3 SHA512 7aa618e28989cfbbb9c8bc38d76be5910aaf55674923288877fb962e10b075ca4e361e576d6bfc9fd592849ea0be970f7c6318aaeb1c317aae40f221a55d3c4e WHIRLPOOL 3ba29f424b72a497ef31637e5baacbb9a65c1d34ec54a9d015b0c7a1752177bd274ff04c8a1663a3371bb6050330f25031afe182ccb539b3ba159d9ae0cb284c
|
||||
MISC ChangeLog 2077 SHA256 a5dee37b84fe8fe444278d3a27fe7ed3c51f963c4aff46614debe5174b977e81 SHA512 8a04f76dd36500b6d58e3206f4245f7ec973527f6333d65f3aaf00e2404c7cbdd25ca178158733c83f27c0ecffb38ff184379da899530afcd46938dbefd48565 WHIRLPOOL 697f1605fd4e1689fafeeecd857bad157048514ab5940ec566b9db7e19bf32b5e53b504d652b60d1202f38609e4cbb6fed18e2df82cab73e533215b94d420890
|
||||
MISC metadata.xml 159 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb SHA512 74dc9ada199a90543b8e1c168c7054f2e973fbfa2551e2b959d67501f2538e269cfb4b2f0905a88a1afa04c20b33961336310ba876f80d47c8e7615b2d7c830a WHIRLPOOL a0ac49efeca233ec4d8f63eb69c8e46e1d4ecbd926693c25b1b8c7415e4c565680936aec46f0c4197116fd7a19a3bb571beee493c18bdae1e5e978e3db84f17a
|
||||
|
|
|
@ -19,8 +19,8 @@ IUSE=""
|
|||
CDEPEND="dev-java/glassfish-persistence:0
|
||||
dev-java/glassfish-ejb-api:0
|
||||
java-virtuals/servlet-api:3.0
|
||||
dev-java/tomcat-jstl-spec:1.2.5
|
||||
dev-java/tomcat-jstl-impl:1.2.5
|
||||
dev-java/tomcat-jstl-spec:0
|
||||
dev-java/tomcat-jstl-impl:0
|
||||
dev-java/validation-api:1.0
|
||||
dev-java/javax-inject:0
|
||||
dev-java/cdi-api:1.2"
|
||||
|
@ -33,7 +33,16 @@ DEPEND=">=virtual/jdk-1.6
|
|||
|
||||
JAVA_SRC_DIR="src"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="glassfish-persistence,glassfish-ejb-api,tomcat-jstl-spec-1.2.5,tomcat-jstl-impl-1.2.5,validation-api-1.0,cdi-api-1.2,servlet-api-3.0,javax-inject"
|
||||
JAVA_GENTOO_CLASSPATH="
|
||||
glassfish-persistence
|
||||
glassfish-ejb-api
|
||||
tomcat-jstl-spec
|
||||
tomcat-jstl-impl
|
||||
validation-api-1.0
|
||||
cdi-api-1.2
|
||||
servlet-api-3.0
|
||||
javax-inject
|
||||
"
|
||||
|
||||
java_prepare() {
|
||||
mkdir src || die
|
|
@ -1,8 +1,8 @@
|
|||
AUX netty-buffer-4.0.21-build.xml 9693 SHA256 8264038de9030beacebe1a884da458250da08c0c5d21712c0f01cad417225c9b SHA512 5b082802b6f7c7e619ba053757ede64f0ffa18c3002205207d2d129464aa89f5b52c20133299e280ea937e821a42e525e7885d773f56f0c8000726b56753fbf9 WHIRLPOOL 626b4116cc91d12c237dda8de29d7ae873544e78a3f7f5f6f8bee8e15cfd3292ccfcf611b399c9981c4219ebad3f56de51aa9a1cb6d4de147b970ea39d164d9d
|
||||
AUX netty-buffer-4.0.22-build.xml 9693 SHA256 54349914830a80b61c882ee0cef5ff05cd7f7404e61f3dcddff4167f01f0d255 SHA512 dda9280036d14ffb6af42784ddbf6f2015520b79d4583c91251e618b36a2e32a9f04959133b7a76cddddf2207cf7a4a209890521cfbef57d7997ac3f9d895040 WHIRLPOOL 83849c37112b7f5e6b8e4b2ac862b8a830a1efdc6f9870acdac3718ac7416148d93583022973b245fc40b53e52af04196147fd8039e5c08cd1cd031abb256817
|
||||
AUX netty-buffer-4.0.32-build.xml 9693 SHA256 54349914830a80b61c882ee0cef5ff05cd7f7404e61f3dcddff4167f01f0d255 SHA512 dda9280036d14ffb6af42784ddbf6f2015520b79d4583c91251e618b36a2e32a9f04959133b7a76cddddf2207cf7a4a209890521cfbef57d7997ac3f9d895040 WHIRLPOOL 83849c37112b7f5e6b8e4b2ac862b8a830a1efdc6f9870acdac3718ac7416148d93583022973b245fc40b53e52af04196147fd8039e5c08cd1cd031abb256817
|
||||
DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a
|
||||
DIST netty-4.0.22.Final.tar.gz 983956 SHA256 d539483235223804d76f8da572b851cd196254f5da7d3ac8e064c626b31748ff SHA512 f216c8431e663533ea5258bc054154d07f791667712c4dd619eae5de55c1b9031cca756a26b49d8a0bb9e3cf61ca5cb295e7a3b3e4e9e98e99cd53963d54912e WHIRLPOOL ca3d9a9b78643414b4361388e8486ab7cbb7d4a479718d89a8f51d90ef7fd580b154f09d1e8014503bececd49fb8841782e933c8cc8f355609ccae1f6510ccc5
|
||||
DIST netty-4.0.32.Final.tar.gz 1188681 SHA256 723d8f3495522ad73528c06a65b9c0b5b5b72db341daacd0d64bdc8df3412d04 SHA512 160006fc014c5211010449ba1aca2f2d20320340a077ea27098f1d94702066450da950f3951b1cbcfebdee7506f7ec715bb8c007fa539c15f803ba24690e77c6 WHIRLPOOL 6a7b90d952acfe558bf36a2d0fd3dce3ba33f3047e5caf97ddfb6d3f1bf2ab26294af375b792e281804fb1b5a696f7e14dd15f7d93e26a8979600ea03eeddb1c
|
||||
EBUILD netty-buffer-4.0.21.ebuild 1320 SHA256 65287993e6a841ef122c6a7886a4550e2442b58511c83d77b2de7e22d0ab849e SHA512 2db395ac7ee1cd3786e4d936b6bdcc1870066ea9003a638293895c56ab21a582d25fbb13660247f063b686bdfe54a98e3aedad2340d600fee1916830ac08bbdc WHIRLPOOL 9e86abbd13b4907d3bfd604dad3fed36af6118e6c0ab6ed884e51ee2cd584bba8d545d7a86adf7065f42e993841b73cbb04d667a82b871544dbdc6175f91ddf5
|
||||
EBUILD netty-buffer-4.0.22.ebuild 1322 SHA256 0c3c40f811e8e30ac50184bc8282487826fa72863d9e744fbaadcd92cca18584 SHA512 a9e7c91e6d3b970092c23ae11a8447e8eb6e2af0b69a751c1c9b9166da2493c3e49b07e4a541d12b82d2131db9f92c4dd2931649dc63c6bf2cf6346f5bb59ef7 WHIRLPOOL 25c50b88a22149a768c01b417c7edc9f2cf76147bf5a512e5744e04b49a3a9e5ebca19da94911c6d9060b1f419ff42165c461bf3bfb7baaf91e0172d3f7abfb1
|
||||
EBUILD netty-buffer-4.0.32.ebuild 1322 SHA256 0c3c40f811e8e30ac50184bc8282487826fa72863d9e744fbaadcd92cca18584 SHA512 a9e7c91e6d3b970092c23ae11a8447e8eb6e2af0b69a751c1c9b9166da2493c3e49b07e4a541d12b82d2131db9f92c4dd2931649dc63c6bf2cf6346f5bb59ef7 WHIRLPOOL 25c50b88a22149a768c01b417c7edc9f2cf76147bf5a512e5744e04b49a3a9e5ebca19da94911c6d9060b1f419ff42165c461bf3bfb7baaf91e0172d3f7abfb1
|
||||
MISC ChangeLog 1086 SHA256 2744867f85bc2699131bdf8db9f1de092ee3ceb004ceaeca4b97dbf40b73f151 SHA512 9a39aa2b48fa842f9b526a767fcf2f0e37f73b66652ac44eec56ed5e06e1227ddc5d228f7f56f323f3882c77d9e82a58ae543d8d5726cb396a6076b27f31f4d1 WHIRLPOOL 72430ea79f13dd6f87a3c3a78e909033996216958592685bcb9d19ad400b02e552706529da304de2d030fe96359494f042d56e2dab7f97a7f05291590274c3e7
|
||||
MISC metadata.xml 239 SHA256 bf68db340d80bda02daedcc9169b5081859d97c4c6376969dbf04abb19b574f4 SHA512 7e98fdd3615e28816997bcba1aa19186abc540278334212ca4eaddf1bd9934c5ccdc7848a0c4876db0bbf03ee0b7224954e667c280499e93fd48f4dc89f2a5a3 WHIRLPOOL 6e55d5e12d992bb346da714808ec15fb2bd1e789be47291fcdec8ed88656b9162d1c00f634ac2c0c489973dc38287ec6bf7afb763f7b5864baf6fcb7210ab0b4
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
AUX netty-codec-4.0.21-build.xml 12760 SHA256 9037dd6e0d53596aed810a40131159c362030d1d0d6ed3dbb1032f3d8263786d SHA512 1c65888adf7203c212ca683b6c1079f4afe111fcfb945bb0d9df3d68efc0f512c5d72ca82cea066ee09d1564a0563c879d3881640ce586914f689e9fc3976ed7 WHIRLPOOL 50d40a78f3eb38c2e33ba726397749eb22898d779070c6e2ed21bcf8edc7e6af9db575027e1afa7be798b60f35eca0d32a5145dd91c1df9252ea994ef9a8f1e3
|
||||
AUX netty-codec-4.0.22-build.xml 12760 SHA256 c2f782102ee8686035ae580aad278a70bb69602adaaefd3d588dfce1be79dffa SHA512 910622595638368d0578902f7f025bc1be71935dc0d3ea977b8e32b854b25bf7c2a9fd83b8ccd67294185abd2466f0c3eebcbeb6f7a701548b4c257737cf622f WHIRLPOOL 6d74c9ef4244f723f5b3adea9ae08cb34beefdf6cbf21447f0f4f335e541bf0f4ce84e72cf12f6df2b37f44a11f2aa7f3d9442f364f7d31e0825c063f746ad84
|
||||
AUX netty-codec-4.0.32-build.xml 12760 SHA256 c2f782102ee8686035ae580aad278a70bb69602adaaefd3d588dfce1be79dffa SHA512 910622595638368d0578902f7f025bc1be71935dc0d3ea977b8e32b854b25bf7c2a9fd83b8ccd67294185abd2466f0c3eebcbeb6f7a701548b4c257737cf622f WHIRLPOOL 6d74c9ef4244f723f5b3adea9ae08cb34beefdf6cbf21447f0f4f335e541bf0f4ce84e72cf12f6df2b37f44a11f2aa7f3d9442f364f7d31e0825c063f746ad84
|
||||
DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a
|
||||
DIST netty-4.0.22.Final.tar.gz 983956 SHA256 d539483235223804d76f8da572b851cd196254f5da7d3ac8e064c626b31748ff SHA512 f216c8431e663533ea5258bc054154d07f791667712c4dd619eae5de55c1b9031cca756a26b49d8a0bb9e3cf61ca5cb295e7a3b3e4e9e98e99cd53963d54912e WHIRLPOOL ca3d9a9b78643414b4361388e8486ab7cbb7d4a479718d89a8f51d90ef7fd580b154f09d1e8014503bececd49fb8841782e933c8cc8f355609ccae1f6510ccc5
|
||||
DIST netty-4.0.32.Final.tar.gz 1188681 SHA256 723d8f3495522ad73528c06a65b9c0b5b5b72db341daacd0d64bdc8df3412d04 SHA512 160006fc014c5211010449ba1aca2f2d20320340a077ea27098f1d94702066450da950f3951b1cbcfebdee7506f7ec715bb8c007fa539c15f803ba24690e77c6 WHIRLPOOL 6a7b90d952acfe558bf36a2d0fd3dce3ba33f3047e5caf97ddfb6d3f1bf2ab26294af375b792e281804fb1b5a696f7e14dd15f7d93e26a8979600ea03eeddb1c
|
||||
EBUILD netty-codec-4.0.21.ebuild 1448 SHA256 01425bfa31c6465ba1f538ad9c16ba78a3d1a8abf75ef712257c4753ce9d5d71 SHA512 2ef4205f5487612f82e4934a7efbbd00a28bcdd332601cc7a9fec7eeef9389e886e824dd732fd40cfb3a0b1c1dc1249caae64b0a6504c107ff25d657fce3c7c0 WHIRLPOOL d511dda52f1c68277cacc2926d595a238c2a227aac5448fe9543e65cf67c51ee74c3199816ef107aa89a1f9d21d1c39fffd6b319e949a53d7525955a1f9d2289
|
||||
EBUILD netty-codec-4.0.22.ebuild 1448 SHA256 776056b05fbdac7d24a27c0207831cabd2b97fe22e29be7cd4b8061a8a9faadf SHA512 b7f2a9a3a4d25489753298bb19ed5148127babc348efdabd18e9200f8217418fb8da35f393258d39729738a897d671187c24d5122ff01a1d4e86466df138a384 WHIRLPOOL 132eee1fdea4a0f0da25c7cae8439014aee2598ca43214b3ea1a1fa0974b881678e5d62d62bd1452365725abf0fe3dd6a7005004dcbbe61c6f8ed6e68d91ed09
|
||||
EBUILD netty-codec-4.0.32.ebuild 1448 SHA256 776056b05fbdac7d24a27c0207831cabd2b97fe22e29be7cd4b8061a8a9faadf SHA512 b7f2a9a3a4d25489753298bb19ed5148127babc348efdabd18e9200f8217418fb8da35f393258d39729738a897d671187c24d5122ff01a1d4e86466df138a384 WHIRLPOOL 132eee1fdea4a0f0da25c7cae8439014aee2598ca43214b3ea1a1fa0974b881678e5d62d62bd1452365725abf0fe3dd6a7005004dcbbe61c6f8ed6e68d91ed09
|
||||
MISC ChangeLog 885 SHA256 b7a559c0449d34030f8256c50dd40a5cc965095dfdcfa4d4bf5cda59a046a0e3 SHA512 055ab2795cab348f68683ed832246385791c58caa9de4d70a35589f1c24f523a7488d001de207c19a437362298444a2e51f02c4965cb77ac5df1a1ec5e2e21c5 WHIRLPOOL 75eef7d2008030fa1bcacde496d05a91c22c157912f1c645745a734ad4c61c888202822e74ced2f93151e6096c066e4d1117752384eb07bfb8d1cf999eb609fe
|
||||
MISC metadata.xml 239 SHA256 bf68db340d80bda02daedcc9169b5081859d97c4c6376969dbf04abb19b574f4 SHA512 7e98fdd3615e28816997bcba1aa19186abc540278334212ca4eaddf1bd9934c5ccdc7848a0c4876db0bbf03ee0b7224954e667c280499e93fd48f4dc89f2a5a3 WHIRLPOOL 6e55d5e12d992bb346da714808ec15fb2bd1e789be47291fcdec8ed88656b9162d1c00f634ac2c0c489973dc38287ec6bf7afb763f7b5864baf6fcb7210ab0b4
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a
|
||||
DIST netty-4.0.22.Final.tar.gz 983956 SHA256 d539483235223804d76f8da572b851cd196254f5da7d3ac8e064c626b31748ff SHA512 f216c8431e663533ea5258bc054154d07f791667712c4dd619eae5de55c1b9031cca756a26b49d8a0bb9e3cf61ca5cb295e7a3b3e4e9e98e99cd53963d54912e WHIRLPOOL ca3d9a9b78643414b4361388e8486ab7cbb7d4a479718d89a8f51d90ef7fd580b154f09d1e8014503bececd49fb8841782e933c8cc8f355609ccae1f6510ccc5
|
||||
DIST netty-4.0.32.Final.tar.gz 1188681 SHA256 723d8f3495522ad73528c06a65b9c0b5b5b72db341daacd0d64bdc8df3412d04 SHA512 160006fc014c5211010449ba1aca2f2d20320340a077ea27098f1d94702066450da950f3951b1cbcfebdee7506f7ec715bb8c007fa539c15f803ba24690e77c6 WHIRLPOOL 6a7b90d952acfe558bf36a2d0fd3dce3ba33f3047e5caf97ddfb6d3f1bf2ab26294af375b792e281804fb1b5a696f7e14dd15f7d93e26a8979600ea03eeddb1c
|
||||
EBUILD netty-common-4.0.21.ebuild 1105 SHA256 c8323bf450af36b3e5bf19c9384078183903a7c94d540aea742894768e9f86e2 SHA512 77936e4f3f2c3946fd1141c71167f42103adbdd74f63bd2fe7e327985d1e82a3b8ea4716a44bc8e7f4ac54a43f76a74407e28d6b6d6b01ec4644e41e1d33fdb6 WHIRLPOOL 92beb9ccbcca8c1cb0b50095bc527bb78faa763efa9c8cf830de11a710bd14e49b412652892f7ceda43e2f1b0b0242e137963445727eef57582f83276ebf4f46
|
||||
EBUILD netty-common-4.0.22.ebuild 1107 SHA256 99a5c78719bb5b260f01c15357929d8326c69af6c6f4138644e9a37bdfa31b9b SHA512 32c3b76bde8fc937c9e6fdf60ee6f686176b71172286430e81096140dc1392bac25d6d488d53146591158e4935fbb68a0a3d31ae5e76c0351efac3db685fb7ac WHIRLPOOL 450b5cef2eacf3a2e40c97b7fc499627488055766ed3035d7eedf04e76fdb8b0870d5e2512f669521d40aa22cc3d91f75ecd34af44e14b4179fb458b8ee5e147
|
||||
EBUILD netty-common-4.0.32.ebuild 1107 SHA256 99a5c78719bb5b260f01c15357929d8326c69af6c6f4138644e9a37bdfa31b9b SHA512 32c3b76bde8fc937c9e6fdf60ee6f686176b71172286430e81096140dc1392bac25d6d488d53146591158e4935fbb68a0a3d31ae5e76c0351efac3db685fb7ac WHIRLPOOL 450b5cef2eacf3a2e40c97b7fc499627488055766ed3035d7eedf04e76fdb8b0870d5e2512f669521d40aa22cc3d91f75ecd34af44e14b4179fb458b8ee5e147
|
||||
MISC ChangeLog 1366 SHA256 42363f681732237636781c4e416d4ed16e137be722e803cbfbecfce0956f21a0 SHA512 92d78595a11fac6571ff62587faeb348046228574e8551a5e686ed333a279ca210005aa6f8e32ee045d3e19fcde1f3aac214bc4ffebb5e1dfc58d5b41fc58072 WHIRLPOOL 0197a9320b46651902ff2bd04a0dc96cb0fb3e6d2c5abbabc941b05abc3ef6474596faa6876e7e000bb8dc0466b5385ba1aa61e089ad5bba03c7802668616c8e
|
||||
MISC metadata.xml 239 SHA256 bf68db340d80bda02daedcc9169b5081859d97c4c6376969dbf04abb19b574f4 SHA512 7e98fdd3615e28816997bcba1aa19186abc540278334212ca4eaddf1bd9934c5ccdc7848a0c4876db0bbf03ee0b7224954e667c280499e93fd48f4dc89f2a5a3 WHIRLPOOL 6e55d5e12d992bb346da714808ec15fb2bd1e789be47291fcdec8ed88656b9162d1c00f634ac2c0c489973dc38287ec6bf7afb763f7b5864baf6fcb7210ab0b4
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
AUX netty-transport-4.0.21-build.xml 9699 SHA256 297851b5676e5a0673e5b2980362ee1cf335d0d084df3617603c54f4a5688ec3 SHA512 1b63c011bd15c0fc0f2bcfa68b8ef969f178071eb2f9041a8812a08d9c7c871e85f16ebe049ed425fe4064df8149066ccab8bf12b32f6d5bc7e80e18a51b29a9 WHIRLPOOL 0e1c98b8d5d48e0a0084a39575a513b4da6c7bf901c3d9d41e0c642665282a80cf3e9704c82fd9893ecc815851cc0edef23bb1cc34e1ce517fbd1c4388979b86
|
||||
AUX netty-transport-4.0.22-build.xml 9699 SHA256 23ece9ee43aa5cc97512cdcc7ad122a9db729d6fb14e28bc48015bc8a379eac0 SHA512 90c4ec5fcc861864f2e05e9ef1f04fa41d53aee407a1eda251cbac73c0520b75dee6bc86167574fd1cb3f47159551535841e9cdb49ffb19b7fe2a4ccc5f8d977 WHIRLPOOL 20d6ae77abc4485a00c81d221a351e3600e2f91fb03a1173aaa5105dba89a6fd3604d96458c08af42f9fc4b6df6417bd572aea9f80e14f08619356ba52b0281c
|
||||
AUX netty-transport-4.0.32-build.xml 9699 SHA256 23ece9ee43aa5cc97512cdcc7ad122a9db729d6fb14e28bc48015bc8a379eac0 SHA512 90c4ec5fcc861864f2e05e9ef1f04fa41d53aee407a1eda251cbac73c0520b75dee6bc86167574fd1cb3f47159551535841e9cdb49ffb19b7fe2a4ccc5f8d977 WHIRLPOOL 20d6ae77abc4485a00c81d221a351e3600e2f91fb03a1173aaa5105dba89a6fd3604d96458c08af42f9fc4b6df6417bd572aea9f80e14f08619356ba52b0281c
|
||||
DIST netty-4.0.21.Final.tar.gz 960489 SHA256 e1b5572defaa760dcd8ded4d7691e9daf242b2e1885115b722f2f790d9ef9f75 SHA512 5d432e9e433c22b82e67ed3463c6982ca95c2ad823165e1ca9a5046e598878f06aac4221be235f2bda15edfdb22028f2a4f74fb37d431f24a2636e4ec60fae74 WHIRLPOOL 92e96986def775f26286958a9e2c7fe55ab571ad373f9cc25357db71f85f170d7aba7d7854c130c5788f7332665000cd10f666fff06abd0ce57cf4f95008958a
|
||||
DIST netty-4.0.22.Final.tar.gz 983956 SHA256 d539483235223804d76f8da572b851cd196254f5da7d3ac8e064c626b31748ff SHA512 f216c8431e663533ea5258bc054154d07f791667712c4dd619eae5de55c1b9031cca756a26b49d8a0bb9e3cf61ca5cb295e7a3b3e4e9e98e99cd53963d54912e WHIRLPOOL ca3d9a9b78643414b4361388e8486ab7cbb7d4a479718d89a8f51d90ef7fd580b154f09d1e8014503bececd49fb8841782e933c8cc8f355609ccae1f6510ccc5
|
||||
DIST netty-4.0.32.Final.tar.gz 1188681 SHA256 723d8f3495522ad73528c06a65b9c0b5b5b72db341daacd0d64bdc8df3412d04 SHA512 160006fc014c5211010449ba1aca2f2d20320340a077ea27098f1d94702066450da950f3951b1cbcfebdee7506f7ec715bb8c007fa539c15f803ba24690e77c6 WHIRLPOOL 6a7b90d952acfe558bf36a2d0fd3dce3ba33f3047e5caf97ddfb6d3f1bf2ab26294af375b792e281804fb1b5a696f7e14dd15f7d93e26a8979600ea03eeddb1c
|
||||
EBUILD netty-transport-4.0.21-r1.ebuild 1137 SHA256 bdc494bb52eae012cacbd5e1b2cd522cb2461a04c7439ebcdf8b6b4ccf35e9c9 SHA512 5f4b339f1dc029c7bd72017ae813e909d7099893203abd618af7aa817290588d7797cb339cfe2a04da471af166eedcf4ab9489a43db838988b1ec22193771ab4 WHIRLPOOL c5d639ae12491ddb222cdc70b803e3155f9532bb2d88aeea2ca4eaf785f6aa87256d8207a00ed2e2006a47850b6d3d36f39262920f95fe54c1b7dc28c105499b
|
||||
EBUILD netty-transport-4.0.22.ebuild 1138 SHA256 8a12669d3c3c0ca86ece2e7671a53d5caf20df028848acbb413684aca9ce0961 SHA512 569e71229c6b46611c271258146bd5810718c3101be5197d145551701f213d1591cad96ce6b2d481ad63f33232920eff2569ee3c71ac722d8c015d2b095eb6c6 WHIRLPOOL 09010c5991993c212f4451a474ae55e9336d2cbfe764e558c75b5bc28769718afd565f93bad8709126ae3da5c710b56d006110f17008c2808d36c6a198626e0c
|
||||
EBUILD netty-transport-4.0.32.ebuild 1138 SHA256 8a12669d3c3c0ca86ece2e7671a53d5caf20df028848acbb413684aca9ce0961 SHA512 569e71229c6b46611c271258146bd5810718c3101be5197d145551701f213d1591cad96ce6b2d481ad63f33232920eff2569ee3c71ac722d8c015d2b095eb6c6 WHIRLPOOL 09010c5991993c212f4451a474ae55e9336d2cbfe764e558c75b5bc28769718afd565f93bad8709126ae3da5c710b56d006110f17008c2808d36c6a198626e0c
|
||||
MISC ChangeLog 1640 SHA256 b5155fd02d2c0d0679897ea9b6474fc99b0fc8b6d87cc4c673f774dd459cae7c SHA512 5894b2c763467c25e8aa4aa1760d8d965c88127cb96597a64463027fbe16582107f5a9b63a32ee305568e0422080c6693c5fa2a1ede14170ddfefba8979b5680 WHIRLPOOL 5c7f4c406ce5f257cf8194dd3bc292a84cd920777e58489e2f724520c7694e9d68533f16c40f9ac9a4bc8fc9ff19634ba186b008c77f6adeda1bd68374a83c05
|
||||
MISC metadata.xml 239 SHA256 bf68db340d80bda02daedcc9169b5081859d97c4c6376969dbf04abb19b574f4 SHA512 7e98fdd3615e28816997bcba1aa19186abc540278334212ca4eaddf1bd9934c5ccdc7848a0c4876db0bbf03ee0b7224954e667c280499e93fd48f4dc89f2a5a3 WHIRLPOOL 6e55d5e12d992bb346da714808ec15fb2bd1e789be47291fcdec8ed88656b9162d1c00f634ac2c0c489973dc38287ec6bf7afb763f7b5864baf6fcb7210ab0b4
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
AUX tomcat-jstl-compat-1.2.5-build.xml 8436 SHA256 fbf13a8b8513d88887bd9ce609e154a0ed9cc59de5db38967ffdc4752cd397f4 SHA512 a03eb25054c14fef478c6ed90b0c814c0bb48f39e778f225974a426fa86c39bfc53ded15dbc83ac45bf010f22b47cbf23384f96b1352f920297e680e77ebf6a2 WHIRLPOOL 4f5be3d5381046a8b6e42c06970e68099b9046e019b346f85e771e1819ede891ed8b2abc22d4488f759a25798bdda1d044301a9424bc3a07d0a438c7c0b5c92d
|
||||
DIST taglibs-standard-1.2.5-source-release.zip 615779 SHA256 09206f14ae3bbfc5442476414feee422d4371a6dbe0e3435eb84462b6f36cd84 SHA512 ad4122cd75c66df901034e333c2b38ac3d2d8f5b0299abd36d0fd1c8f5975eacc71d66a475fc05638dd562ab0670ea532fe6a3ccb5497dfbeb9d859b03b659d0 WHIRLPOOL 2cc5c667fbce1bda85b935b0081c99ce454dad666e5a1609ba0ff7c9363265427df48dbe86e549e608f9d977d726f7d6f3b1dea803ebc6b1c78eb139eb2464ff
|
||||
EBUILD tomcat-jstl-compat-1.2.5.ebuild 1454 SHA256 5a92554c27add9159ae4e3cb8832f4cab794dad775ccd2b729e28c5f51b83a95 SHA512 57e4edfe9b4a787ea9ae20cfd625e4559b555d3e808afd7af5517a0916f8270f4001af6e907b81aa7cfda09a6c5042cc340c512f5bd256c228f60c7eee1e4ee3 WHIRLPOOL 9ce5c51daf876ed86c961830b36786388e5d0e4afa1f0d02d218f50c5e8ec5e86053268ff662f5f7ff8057a3587cc061434c5090577572738072d8651bb464d9
|
||||
EBUILD tomcat-jstl-compat-1.2.5-r1.ebuild 1428 SHA256 bb77f7e4f8a75e50653f6fd87644883cc09fe3555a39370ef09f97dad6344c71 SHA512 f55684391ccf7dec56d840e981c4b71eba42c6b99c9f27b9b54e4dff46e7168c27a034b90a8469ffba732e2be7d662a9dd9df3c4f114cdc62a6019bbd5b9590e WHIRLPOOL 627fc4e3ab474567ad4dc76a20bb904a77c58a99621c793b6496ff096c6945fd19d2a0c9e6672efdaeacc4a6dbfdc4a3b9b6c2f924f90a286944516689aee604
|
||||
MISC ChangeLog 738 SHA256 73ed5da64c25974e27c0a59061b9f54de2c21078620d79f2bd42c75b27d4cabb SHA512 d8c742016b4dda65fff6fabe630c7ac7de5b6130e7efddc1ba9b4f37b91de623fc957cbb3b7a1ea5509c9b0fa8d2561a1f34c761d0583ff593e0019243a0c12a WHIRLPOOL 0b01a16e2f247381d58959e8b5483cd79ba5dcccb94e970f912d93cee166182601d2639c1dd47e5abdd2589be9d83690a3f3e8f5d61bde4e8349ad4fb4b92303
|
||||
MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
|
||||
|
|
|
@ -16,13 +16,13 @@ HOMEPAGE="https://tomcat.apache.org/taglibs/standard/"
|
|||
SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.2.5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="java-virtuals/servlet-api:3.0
|
||||
dev-java/tomcat-jstl-spec:1.2.5
|
||||
dev-java/tomcat-jstl-impl:1.2.5"
|
||||
dev-java/tomcat-jstl-spec:0
|
||||
dev-java/tomcat-jstl-impl:0"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
|
@ -35,7 +35,7 @@ DEPEND=">=virtual/jdk-1.6
|
|||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="servlet-api-3.0,tomcat-jstl-spec-1.2.5,tomcat-jstl-impl-1.2.5"
|
||||
EANT_GENTOO_CLASSPATH="servlet-api-3.0,tomcat-jstl-spec,tomcat-jstl-impl"
|
||||
EANT_BUILD_TARGET="package"
|
||||
EANT_BUILD_XML="compat/build.xml"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
AUX tomcat-jstl-el-1.2.5-build.xml 10138 SHA256 38a046f3dde4332462fe6d337c0eb3b53bd5bc14d195aeccb2bb988cffa0b083 SHA512 381bcecbf2350a0efcc85131983abc7d93c44cc8926455760922e9cf45dc8da24b24746a75355187b00956e6c050ad08d632e93258f6c9c24c8b36dd8df8d7fc WHIRLPOOL 9712d5c6051887053575a1d3d1725912054b5b3182be068e7b8108bca80392021915d1f055097b2d266b03624cc2ceb876a3ec7a8df82ef86bd2d0eb720eea6e
|
||||
DIST taglibs-standard-1.2.5-source-release.zip 615779 SHA256 09206f14ae3bbfc5442476414feee422d4371a6dbe0e3435eb84462b6f36cd84 SHA512 ad4122cd75c66df901034e333c2b38ac3d2d8f5b0299abd36d0fd1c8f5975eacc71d66a475fc05638dd562ab0670ea532fe6a3ccb5497dfbeb9d859b03b659d0 WHIRLPOOL 2cc5c667fbce1bda85b935b0081c99ce454dad666e5a1609ba0ff7c9363265427df48dbe86e549e608f9d977d726f7d6f3b1dea803ebc6b1c78eb139eb2464ff
|
||||
EBUILD tomcat-jstl-el-1.2.5.ebuild 1438 SHA256 6ca17df482ee05c7d14248cc9a17112f36df3fd7b3377f100487c7f808d2abe7 SHA512 bac1b5f2b58d7af9cfb0f122256e575da1e8fdf00ce9364fb07b05a23eec0a79c2a211f0b6ec614fbaec755604e53c24ffd47c2230ccd6b849c2cbf5a895fd02 WHIRLPOOL f45851d1b2689dd8bc82966b0860d3ca3d8a95c2860aa16a75d84725f0385a7dddf2f86b257d04e3aaa31532ac8ded6988da23db89a846c125ccdcc7dbc03584
|
||||
EBUILD tomcat-jstl-el-1.2.5-r1.ebuild 1405 SHA256 05863c976003a42461003ccd2c8f8ef2667bae4fbe0a6ec3c1f6903520c36f34 SHA512 9dd64489953e3b1667394b080acd69d04f8b3d2687e840ea6c60b6309eb820087abe8bc94690afeef3e28048ba0f150a5cce7c07d8d6fda1736f3f0d97e8be1c WHIRLPOOL e4f68305c94a6e934d5c9ee96b1608d896bfa202cc268eb723fe9bce191ba5fe7b0066aaa709fb2660fd27a6d6fad3c7deba4830d41a719c08d46bfbd375d50d
|
||||
MISC ChangeLog 710 SHA256 d5287fe473ec447f0036370365e6611b68382056e28f3a9b178b77635b2c1039 SHA512 f18d9d8dec9bcffc6b947da03519d1c6d7080b47b877781e8f1e90c82193536b509ab0f3d4c48490f38779d9d1a4071e3ba09ab4bc6510c23c075c3b258dad19 WHIRLPOOL 8d8d107d11cab3a260afae799dc1fe516b50dc282ab20b1909144e6fd4cc9a7add4ee9c7d95cb9660ba1902ba685445debfac85555bc96a759632213d938b13a
|
||||
MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="taglibs-standard"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
@ -16,13 +16,13 @@ HOMEPAGE="https://tomcat.apache.org/taglibs/standard/"
|
|||
SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.2.5"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="java-virtuals/servlet-api:3.0
|
||||
dev-java/tomcat-jstl-impl:1.2.5
|
||||
dev-java/tomcat-jstl-spec:1.2.5"
|
||||
dev-java/tomcat-jstl-impl:0
|
||||
dev-java/tomcat-jstl-spec:0"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
|
@ -35,7 +35,7 @@ DEPEND=">=virtual/jdk-1.6
|
|||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="servlet-api-3.0,tomcat-jstl-spec-1.2.5,tomcat-jstl-impl-1.2.5"
|
||||
EANT_GENTOO_CLASSPATH="servlet-api-3.0,tomcat-jstl-spec,tomcat-jstl-impl"
|
||||
EANT_BUILD_TARGET="package"
|
||||
EANT_BUILD_XML="jstlel/build.xml"
|
||||
|
|
@ -2,6 +2,6 @@ AUX tomcat-jstl-impl-1.2.5-ImportSupport.patch 1141 SHA256 37b59fa8bc6effcd1ffb6
|
|||
AUX tomcat-jstl-impl-1.2.5-SetSupport.patch 1334 SHA256 7750552bbaad5f2b519f3096906d59c1ef69f756d9cd5324a44b1aa16981d19c SHA512 1a4f969c03312a02485e1eb37b3bcc0ce0153095f163c7c776c3a10e26c7b2c909fff1f3d16c7b2e178eac190f84432f0adeb2c3eda6004d699ad7d3377f3b22 WHIRLPOOL 19c00bd763f13d47d29912d97eef21cfce448233cf74dcdeda3c87d84f6c02b693d1dbad5685eee3f3f2a58a325c849a27ec86cc399e62724ded75336dfc12c9
|
||||
AUX tomcat-jstl-impl-1.2.5-build.xml 10337 SHA256 3749d7cc6e9bda48a6f111fbe40ee04302ffd527d874ed06670f0675f4113a25 SHA512 e2ecf367a8d30f64c65bc4cf2b84bd017fe7d2dc32cf6030b25e0b0dd3533609243b71c0f7805196901e702da12feb3c5b60cc4f6859f9aa2419e1732a589e8e WHIRLPOOL 5d274d6dcf18f7710517b9c32842b9045542eea74b1b466b97fa159f8f9a785ded96df8b244d6670f1b310d229e9029be8d7a5901456e9526a1ce9a019a330b3
|
||||
DIST taglibs-standard-1.2.5-source-release.zip 615779 SHA256 09206f14ae3bbfc5442476414feee422d4371a6dbe0e3435eb84462b6f36cd84 SHA512 ad4122cd75c66df901034e333c2b38ac3d2d8f5b0299abd36d0fd1c8f5975eacc71d66a475fc05638dd562ab0670ea532fe6a3ccb5497dfbeb9d859b03b659d0 WHIRLPOOL 2cc5c667fbce1bda85b935b0081c99ce454dad666e5a1609ba0ff7c9363265427df48dbe86e549e608f9d977d726f7d6f3b1dea803ebc6b1c78eb139eb2464ff
|
||||
EBUILD tomcat-jstl-impl-1.2.5.ebuild 1741 SHA256 4ce4a2dbd5cfd3e283de2f19094f505881112eec775b06e72c018795e04b1260 SHA512 b55f6e383ed5fca4ee0c70b95c8ff9b224e0e19f37a17a55d8e6affe93a8b0dbe8285a0e4108965b26f10ecdf5e707c500f123d8ba64f23b7fc5b6be6ca7894f WHIRLPOOL 7bfc9f6c96bac4d2b642740717b7fa969e5abdce2435893a872be62feff1b09e0796e024d6614bd1c641c477bdcf0d61895a2cee8dd1e8db2ca4157a2e442257
|
||||
EBUILD tomcat-jstl-impl-1.2.5-r1.ebuild 1720 SHA256 136c6ccd4a12011fd733f43e8024d028fee087643c3b1e548db1ebaff94c75b0 SHA512 fe4a773b69ce3e2776489336377d581a7bc6fa4a8ce7c8694ae4efae5e0d8f9aee9a2c1be14143297910152f9c358764b637bd768aa13b11bc63539771cf102f WHIRLPOOL a2f96f510435428bc4fca2918ceb32a1b173356a3ce46e1746adb645c8a969c2698cc9de07d36b3b883276fcbb050082cb0a9724d84a2f1d25b742255f58f244
|
||||
MISC ChangeLog 662 SHA256 a027d4a4695e414e0926e66cdb2dc1fd273ee068c0d775ad0d8e17d972c64078 SHA512 d59187da3549f9e0ab2009fdc643f177f6fdb6f2d5de8bc47bddbbd3643fbdc75e47829e2a3e94650358b8aca732bb9427db99922dbbaa140e067590083657e8 WHIRLPOOL 94ee5d68a3992883a6378172b79957f1341aa8e9d80c75cdffbd679520d4378f0ef61e978398eadfe70c19574f16009c20eb2cbd26cf0cd312c8ff5731227f49
|
||||
MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="taglibs-standard"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
@ -16,12 +16,12 @@ HOMEPAGE="https://tomcat.apache.org/taglibs/standard/"
|
|||
SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.2.5"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="dev-java/xalan:0
|
||||
dev-java/tomcat-jstl-spec:1.2.5
|
||||
dev-java/tomcat-jstl-spec:0
|
||||
dev-java/tomcat-servlet-api:3.1"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${CDEPEND}"
|
||||
|
@ -35,7 +35,7 @@ DEPEND=">=virtual/jdk-1.6
|
|||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_GENTOO_CLASSPATH="tomcat-servlet-api-3.1,tomcat-jstl-spec-1.2.5,xalan"
|
||||
EANT_GENTOO_CLASSPATH="tomcat-servlet-api-3.1,tomcat-jstl-spec,xalan"
|
||||
EANT_BUILD_TARGET="package"
|
||||
EANT_BUILD_XML="impl/build.xml"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
AUX tomcat-jstl-spec-1.2.5-build.xml 9490 SHA256 274ee867e9e8e2766ec0f9192260277649b8bcde1c36dc437fdf208252d4858a SHA512 7375c12b07eb3ce07e03826219f1e239a507cea6052605ceac5261ab9cfbb2c28a8d88d95ee8fb90c8172847317adccb4969ac5e8e4caf0c20f39f46ab20542e WHIRLPOOL be9265b8cd2b6fbcb874cfea1ef5154b1b6f9571f612fa2bbe1785d4cc3539a8a355fdba1e6d9f7e05785a86ee3b234b2c1b6775c912fb2b70c5489c1f6a3ad5
|
||||
DIST taglibs-standard-1.2.5-source-release.zip 615779 SHA256 09206f14ae3bbfc5442476414feee422d4371a6dbe0e3435eb84462b6f36cd84 SHA512 ad4122cd75c66df901034e333c2b38ac3d2d8f5b0299abd36d0fd1c8f5975eacc71d66a475fc05638dd562ab0670ea532fe6a3ccb5497dfbeb9d859b03b659d0 WHIRLPOOL 2cc5c667fbce1bda85b935b0081c99ce454dad666e5a1609ba0ff7c9363265427df48dbe86e549e608f9d977d726f7d6f3b1dea803ebc6b1c78eb139eb2464ff
|
||||
EBUILD tomcat-jstl-spec-1.2.5.ebuild 1329 SHA256 466f15a438ada1252325c2da630aafc02009afe3fc4e9f9e97eeb19497808f87 SHA512 20972899f535985a6759416857c56611e0b3faeaa77cee8d28d5378bf1dd671980cd7e440089433f043eb0eea42c8d1f0723e374da44e501646297f78c84336a WHIRLPOOL 159ee039ee13967a2b0ef5f0a8a602dd31a236927f30aa910d0e134231bd7e61bfd5541be59bd230c70e0cc858469eedf895c71303c6351115baf216bdeca457
|
||||
EBUILD tomcat-jstl-spec-1.2.5-r1.ebuild 1318 SHA256 0db8ab0a272b2d4c366b4519a01b11cf80d19a3398d1f757263ec2839a493d15 SHA512 459c57cd9a23d7a9bb2446778fb90ef2545126dfe4d0508bffcc1a33eb1b8ab7c5ca1b5237e8d8b21b36e9d46f7c5715914ef0f7a8880d1aed8d4e6c204a8bd8 WHIRLPOOL 2c3b4de8e7a80e4db0554fc9d1c71842f3b9c1d8f953ba1de1637749480778736e35c7e3a1184fb9ee37eb22835a664e33ec44dd2cdfcbb476127e5af98f9ec8
|
||||
MISC ChangeLog 724 SHA256 724bc5ba8de5c7e788404e15db7705454421520717b9a4697a578256cec6ffdf SHA512 8295d957fc8db6166f62894f1e7d5a274f9295fc70a93b9e2ecdb1e33a269df2f3a9d45c3ac945d4f4cbf1e17d4756ad044d50d4a3f868c3d89ba1bcd7ee174c WHIRLPOOL f71e45f0b15619135d0f2e8afb32c682d7d0af2494015cfd167ad9de4c82dcee68bc184a4bef7025774ad5c3aedc64c6006fcb2f65dca174afa9a0a4ca3852c4
|
||||
MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="taglibs-standard"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
@ -16,7 +16,7 @@ HOMEPAGE="https://tomcat.apache.org/taglibs/standard/"
|
|||
SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1.2.5"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
DIST tomcat-native-1.1.32-src.tar.gz 387267 SHA256 26936848f727e162f513bd2b5f7b2300d7d716a5e92e5f4ebcd0e1eff8e09584 SHA512 695f710f91cf720b3115f9933f5dab56e7465ee0fcf6508b53d1de172ba59165b08f27b3cdfef741b60dbf0b3da97ae3ea87c5a0ef9f1d879a9820259197dcba WHIRLPOOL 587c25124ab5b07365a0c26ee558086b690d6b0cb568f6670ecd7b8a79a25fa74091bc7a10574732b96600eca0ae4141119adc40c51b45c7ef87de631a38aeb8
|
||||
DIST tomcat-native-1.1.33-src.tar.gz 388787 SHA256 523dde7393c57307eedf4972ebbe19a9e9af6f7699e3b1ef6dabd7a11677866e SHA512 62b3c806cd926ca13878b514714a422f4a5d932ccaee4cc328c101cfa92fd890f708d1fb429320a42f1e340b46f70c82a07b9ecf6cbd9d03c0e719b95e24e09b WHIRLPOOL afb57fdf32becae8860ed042d74e27a7208759c4a7c16163148e65c986b4dcfa9521e83bbe0a3fa6874a87f577be2ad31a043d3ec1888c11faec7ace21035419
|
||||
EBUILD tomcat-native-1.1.32.ebuild 1013 SHA256 268de31e30c6c37f0f88f4e9b5af8c79f0c98cd9651ea4f10dd4b7a7a0ee7bd6 SHA512 c6c45646bfb79fe1504b3c952ab868409141cbf38a6e1ab34e69502fdbeb25127eaf82b6434bbfe949e114971394564e5f9b038c2598b442c84471b40d7634c6 WHIRLPOOL b786bd148f843fe105822bdc89f4a3b77f637ad13ae3f2cab3af4b4f6aa14c363c0318e2f7908632e7321e8f4e8a6f80f2a538a9ce7c231d381154e7a6be0271
|
||||
EBUILD tomcat-native-1.1.33.ebuild 1021 SHA256 8c3e6f945b7931ab58e31694b38517753fc3fd1043f3b5fd85517be8ce25b44a SHA512 970e62416d9cd130391c1fb192f83d9ad82a0e33ecd3c63d54c664008103289030fb2eeb8c8c625f4f420c63eadcb12d0ea58504bff90bd4e57f8b307d3ec5f0 WHIRLPOOL 609e6b0293bb90d5cf780481bc82a28481847ecad05ef66dec8fc580e8afa0081d178d35ec1b98ecc51cdb2f62c212ff7ab809b8a84492b2c7a7d0c8419e107a
|
||||
EBUILD tomcat-native-1.1.33-r1.ebuild 1201 SHA256 f5fd0c57f2d2393ea6cea3f18ca201a15b9eeac20c6f075ba0b875459a1b8f32 SHA512 5ff3b7e30bb93957792f58a823d8831fdd7e629a59e22392afdb9650d48c382a933aefb14d3ce1523abbaef711b30d05d8c592fdb1179dee52fd2a7eecc60b48 WHIRLPOOL 12443becf2d0c063d3fc406355d2d05dde65e60be259c800b0acc070a59d1ad2da8f1e640a68ceb0265a019a6bcadbe1d15b0387fe20907bceefdb86f2e0cec0
|
||||
MISC ChangeLog 7720 SHA256 cf13dc8c45663bcc5a1946327d80c199e37b986ac9443f176ebd11efe02e75ae SHA512 3803e85c890bf9ad5b33b4fa4e5bfae54a215d685731ab76cddcf29802b44f830b37841f5289d3102cb9dfdc75335b2eea0c8ec64e955b9aff16706e8ced4d14 WHIRLPOOL 3511836113cb4912defd1ff0df1ffe1452596973732a2269b1ff920fdc82f08055bef0d65c1432a657dc653c494a0158bcb6fa42f2712663a15d62da6a84f26a
|
||||
MISC metadata.xml 720 SHA256 5b5a6694441dd98294c262370bba9708b48ec9792161963490520de875a78ead SHA512 a737d8e6c5482f3bd84b0fdd4dc505eac215e604f41891214922f69e50a5b7087c88d310793be9d4e19da85b8f7fd2da281f2da9da96b849e7f1acc35694ece5 WHIRLPOOL 5623592a1ae61c08a65d4ac4c1c574790bafce703cabb6528cabf775bf16dd1f586297aa6e98ea537fb42fcdbc21e563b6565ffb144e3ff3e28da0459e687d50
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
EAPI="5"
|
||||
|
||||
inherit base eutils java-pkg-2
|
||||
inherit base eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Native APR library for Tomcat"
|
||||
|
||||
|
@ -13,30 +13,41 @@ SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.t
|
|||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="Apache-2.0"
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
RDEPEND="dev-libs/apr:1
|
||||
dev-libs/openssl:=
|
||||
>=virtual/jre-1.5:*"
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5:*
|
||||
${RDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
S=${WORKDIR}/${P}-src/jni/native
|
||||
S=${WORKDIR}/${P}-src/jni
|
||||
|
||||
src_configure(){
|
||||
cd native || die
|
||||
econf --with-apr=/usr/bin/apr-1-config \
|
||||
--with-ssl=/usr || die "Could not configure native sources"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar -f build.xml
|
||||
|
||||
cd native || die
|
||||
base_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "dist/${P}-dev.jar" "${PN}.jar"
|
||||
|
||||
cd native
|
||||
emake DESTDIR="${D}" install || die "Could not install libtcnative-1.so"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog " APR should be available with Tomcat, for more information"
|
|
@ -1,6 +1,7 @@
|
|||
AUX 3.5-secondary-targets.patch 506 SHA256 c8d9a9b1cd71c290a7a2eb7a5a221317732fad763a7c52a80f164df0d43b7678 SHA512 22afcf07040df79b8da32759047be104fc6f47e73ed670bb15e217f1efb0dd9026ccbfe90083561da08aeb1c64c538dc751d03cba7bad172a7c6105c898fb2bc WHIRLPOOL a2e4e125907c20ed67bc382d12896164fc6aea182f1d4f1211163a95ddf81e1f080784f21caa021cd4c8e9f560ec2d94f9d881ce953d59193b10c0cafd354dc3
|
||||
AUX pydoc.conf 176 SHA256 7a617b3e705d14c30e9c1d49cf88df3985e50d97990f08520d0a67e4afadb6e8 SHA512 d26e3f59d05d68fb7fe330029afbf0b46361bb6b5ca1e5051ecf2a82439885514a3d1faddf939c83c8b58b23d8e16b1c0c8027a1f897c3a7ee2cc8719665b622 WHIRLPOOL 2ae620030dfe06704aa01d7d1e97eabd5d58d53a5439350c9261327e256cb0a7907e2c1d6989a6483bae532967bf23b740064f7725ca149889bc192f11d5142a
|
||||
AUX pydoc.init 614 SHA256 b33f6190704e8af175b777c38fe5d37af6d7d8d357c8faf0d6ef8162d4bb1f76 SHA512 5111aac8f6520b57cf754ad7922339f8fe3adc9326d5e0aaa7534259f45999d815bd1522af14bb4e1e3bf2b5554d83013839f3b0965b3b917fb00869f4af3803 WHIRLPOOL fd086d35f5a9bfdf38321c1cec4870297c5ff949982ab2caf2cec6e12e817d68c4f452b186e3e722dda3cf4576aac323bad301a880a5b0cd0293f02e06250c71
|
||||
AUX python-2.7.10-cross-compile-warn-test.patch 775 SHA256 d5574b08e9ba7612971565c7a8e9881e4a0a07c63e79c2ca056a51ed1cf2badd SHA512 652941239541f6139ee3580ec0ea5240baf07ae1afb786f76a69b1d748de1f4dda2740a95c28866e9b0b59023410f8a1e86507642595991c0d90d187519cb758 WHIRLPOOL 95c9c404e9788fdbd7a202b7ff6df4010b6c035b097c20d6183919320a794bede013c938a6806365f9bdabd73917576f6ef0a07b20dd4d168fdc294facbfdccf
|
||||
AUX python-2.7.5-nonfatal-compileall.patch 750 SHA256 3f5a137602f1b3f0522f561c168a740f0080b29c2c888cb3a8dbbcc4407c2d9e SHA512 d2e93e2a6fcd55d516df0ddaca31af97faed677ea6b4be282eb99e7864f8a7399b5ca11139844a4b3c264832183483b0f4c8c9865c05de0e8520e6d2c8f1dbc6 WHIRLPOOL ab576e3a4e67f881d6d5c705503230ace125fe94d907d7f69bb573dd492070b8b34078a2b1205f315eb45244fbae8855c0f15ce35158f1d356f1bd4acf83b3c2
|
||||
AUX python-2.7.9-ncurses-pkg-config.patch 305 SHA256 0464ec04985c642b40d53cb8f816abf18702aeae97cb52ec73541694317180c7 SHA512 2c18b5041a7a2f306dd4d0d6695bd851ca14c9107b2e3e856ec094bc53c7cc407b49e1f4813ee9e753b3ad2d4f6edda943a66bb1e6c895ab956a5f84d30646c6 WHIRLPOOL 774e2707a0c6ace106df30c0d4915527fb0ac7584cd0f1e12bbdb29d584c3b38c770d8fe8999d0166e94deab561cbed0c8ad09c27fcd83ed27045dfdede89a5a
|
||||
AUX python-3.3-CVE-2014-4616.patch 1896 SHA256 50262c507dff44a2ec928281251882aa7c192954713f5a29def8eee7cc29d3d0 SHA512 98d7929d7b6dd88de511690776bf6cabfb5a2d21f89cd21573aba39cb03156666ce0404bd9e380c8193a28cf73d386a6b56c71f90ff3b66da48689953dea997b WHIRLPOOL 5debc17107a9d15a36bc73ef8c68f6f9c89ba060191f6d310709852a2cb01d9b4143c40cd0ce0a3df1b02ace8afe865122bd10dab38aafc1d1ec1e1c2c1b7331
|
||||
|
@ -26,7 +27,7 @@ DIST python-gentoo-patches-3.4.2-0.tar.xz 11568 SHA256 86028c50ecb16fdbaae68662d
|
|||
DIST python-gentoo-patches-3.4.3-0.tar.xz 11736 SHA256 917a9d98d40a91379c81ea57922a8632ba3c6f6db6f304ed6262bc88c5044946 SHA512 7ad1b30cf8bb7900fe518ed71e4ee55dd92ce7e23ae583a1f2f851b26cfa8c4f4271d28f418e780f3725a48d4ca8eeb8fd083f850810c66c29fb08c430828d72 WHIRLPOOL 074e8c0055b49a028eebda21d1acfb8a25ec968eb8b350c2bed37e042f9f354871e413db13e0ef2fe41d7e56d647178a7b3622019f36c4819c2c68f088366eb1
|
||||
DIST python-gentoo-patches-3.5.0-0.tar.xz 11872 SHA256 8d1830aee5f7e019250447ee084203e26143bdf47c95435861e3e0eda5106eb6 SHA512 d7b6c7fdfdea9d7577b14febf2e4680839908a8eba05f3bc17e71f2fe4c360816a8126de5fa69cfba6930be9793bf1b9cafcde2ae621c1150cb9f1ffecc4a3d4 WHIRLPOOL 01202442c789cd9f54748ec80f9c5b1d2728c5df876a2c8fa417c3078a6e9cc55103ee07fce76f402b15afe1625c5b0497734dc4b601fb304e75bf652ce2f058
|
||||
EBUILD python-2.7.10-r1.ebuild 10096 SHA256 94c630750ad362359ca803b06e5109ced674f0653c5d2c070140f31fcf9eb2ea SHA512 9b725f14d608fbb05e5423198bba7d99884ed5078ac5f3cf20bc10635d3772e4b421d1abae41fb02eb192ae44acfa2a24ed3ab736618a707384ecced75b090a2 WHIRLPOOL a2588c33893a5d348c64d9d2f23f2d6b9e3327affc1f1459bea252a250365240e7c454dd1820a5868b6d57a7c8f79446713a33928945d28a6c3770aaab72bc05
|
||||
EBUILD python-2.7.10-r2.ebuild 10162 SHA256 351e6cc2e2a13f5be8d969a223114db7aaf389f8e131fb946430f78d1bbce44c SHA512 84960ddec11619232beccb6711d62150f816b09d0435edb8e979d735e005c49bddbe609b837ae9f09b79d8349ad13549db2fc106853503359963e9b837da9f89 WHIRLPOOL 3ccd65e497430a45106b61b9ad7f71316573aa1c11b0c2f502ade2edebf7cce3cab995af4df788ef42c3b8497aa0df5c154574e8686e9eab6e3daf50e4386b5e
|
||||
EBUILD python-2.7.10-r2.ebuild 10228 SHA256 d493296b14d3ec70d3a097ce0f6ea24d2e2627a655ce54da64e89ab5c43eb352 SHA512 8eb798e230b06e9c67edbc7162c274748e162ff0fe6d0a8fa5696d8126439d5c1a58b9f0d3aea52ae65cd95adfbc2ee5125a8da52f49a995da4767daa5987889 WHIRLPOOL 8adbfa41a5b8615b2dd9b56b44e2e991cb02fdbfb926711a40e5f55666d54b587e99590309006f1c9912faf1cd37c230079312228c76143fc1933f4f33d41a68
|
||||
EBUILD python-2.7.10.ebuild 10445 SHA256 40f7b2ef7fd96e79e5ee3a3249a0cf04b537f9f21f3a7037874bd795d1de7269 SHA512 69d86e35c452872a2e900c4830725cf1ce447a86641df3d495b66ed9a43f40e3a7b3ced41b1648036d627307167f4d79212fce7bad299f5b035bf5250ee65e96 WHIRLPOOL d8e05065585b2f7793385c4ed7b8a1ca1657b0cf990e42c8792dfa7d432477abea02f9f955dbf585aa5bf3beaf8494c9507884dea78671c0820130e37aa827c4
|
||||
EBUILD python-2.7.9-r1.ebuild 10408 SHA256 18112522542a5fa5befd29143621392ee00b36e9f721314ec6d99ed6a47b89c0 SHA512 e8cfe96a47cde5d91684b8fb7c1650a9dbcee7e476aad85a2bb22059362647b920a2167239cbd27477a347bbcd036782b92e740331bc6167e08f69c8e7ce2b19 WHIRLPOOL 111d53396592f0f13fec207bd8468a7904aeb1a7466dc40e3491e1790d6bfec7f14f78128eb0d306391e542ad0e4a64e657a31af92554f67c15d10fafd1a8449
|
||||
EBUILD python-2.7.9-r2.ebuild 10503 SHA256 b7418fd312216b1362966081a98758b15b0f646f04c880d8541d3b5e0ce14642 SHA512 e80f99f12d0fdc71d3c364b8928d32e31112588a6afb4cabc9704260627521e655fa93df4fe40679af802c7db1f020742b6826c29bbfd3c6405b99fed5ecf3cd WHIRLPOOL 825d79c71df3e3f4acb861d736d8ed07cfa25fd96620a1a9dee34303f3d067157521f900d2dcd9c2c4bf460cb6f9920dcc71355a8a03e48c0df2da90ded6f5cd
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
https://bugs.python.org/issue25397
|
||||
|
||||
improve the cross-compile tests to be more focused
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1339,7 +1339,7 @@ if test "$GCC" = "yes"
|
||||
then
|
||||
AC_MSG_CHECKING(whether gcc supports ParseTuple __format__)
|
||||
save_CFLAGS=$CFLAGS
|
||||
- CFLAGS="$CFLAGS -Werror -Wformat"
|
||||
+ CFLAGS="$CFLAGS -Werror=format"
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([[void f(char*,...)__attribute((format(PyArg_ParseTuple, 1, 2)));]], [[]])
|
||||
],[
|
||||
@@ -4458,7 +4458,7 @@ then
|
||||
[ac_cv_have_long_long_format="cross -- assuming no"
|
||||
if test x$GCC = xyes; then
|
||||
save_CFLAGS=$CFLAGS
|
||||
- CFLAGS="$CFLAGS -Werror -Wformat"
|
||||
+ CFLAGS="$CFLAGS -Werror=format"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
|
@ -100,6 +100,7 @@ src_prepare() {
|
|||
# Fix for cross-compiling.
|
||||
epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
|
||||
epatch "${FILESDIR}/python-2.7.9-ncurses-pkg-config.patch"
|
||||
epatch "${FILESDIR}/python-2.7.10-cross-compile-warn-test.patch"
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
|
|
|
@ -4,15 +4,18 @@ DIST swi-prolog-7.2.2-gentoo-patchset-0.tar.gz 1414 SHA256 145f585828da45d89c6ab
|
|||
DIST swi-prolog-7.2.3-gentoo-patchset-0.tar.gz 1418 SHA256 b8cca09211889c3fdca47bcc3093f0811b773553d457b6d4cd423d0a3483ac8b SHA512 6fe185bc6a015bdb0c1466818f2e45897c098d98c091854cb86f1756458585724a8d17c1c8a5593ee054cbe0400c322b27bf107194aa1ba91d478623ff468e39 WHIRLPOOL aa9df0ddc7a01e776074c32f381b92f2738c86ac7a3462749cb24954549e1979c5c8c17038a3161772e41c7f39637ee3547efcda52ef2362e03d814af4cd885b
|
||||
DIST swi-prolog-7.3.7-gentoo-patchset-0.tar.gz 1709 SHA256 81f5f0de37f1fe07c25352caa151b3d13f92265fbbf5476f8713dc349fd214ec SHA512 88eec4a4a709714bbde2cbf457064adb193dc51b4c7f143cb9ab5526b4cdf6a434aa81b79c7e65537381b9a166a84ae5666776f572952bffc1ead894eb8bac32 WHIRLPOOL 00b8c5b637173c2725cae62086b58a2acfd475447232d11fa1d9cf038b0a662bf226fb3a39a3b5bd4d22d8c6b51a67d0fbddb09e88d6f778c84022b6d46be0e7
|
||||
DIST swi-prolog-7.3.8-gentoo-patchset-0.tar.gz 1430 SHA256 e927f0efce19b949fa9f2d4f5ad53488eafdd66891cd71f5051bed997491bb7d SHA512 989c7d893cc6213f76a9eb5422662dabd9d63489b0a8924a37e3293323d81215ea13510a2fb2a37f07fdee2417aafbd8e07d1f16b2d974da724aebdbb371d47a WHIRLPOOL b24e68a2e600dbf445202228a411077be3e75c838599a375c85c9185628d9109971c3b43622fbe260688961d52bf30d4a490e5961a43d2378132d339c8961420
|
||||
DIST swi-prolog-7.3.9-gentoo-patchset-0.tar.gz 1507 SHA256 029541109cc60d176b65d12903ee2e06f209c38ff29421674e660d31d6ee44d4 SHA512 357df9c6e5ce5b046e4ceb7d65b358bd191ff8c912812deba918fe3b76c48a46c9f89f28ddc950de151e47ec57d654c53f537024da5f7f2f373f7466f07f914f WHIRLPOOL 5ac911d2950d4ccffe1db959467215fc8d074b9a842e79aea7d8bc0d14587dce6388707b2c06e3d94474eed8feb939398daa616160642883192e6dbfe7034da2
|
||||
DIST swipl-7.2.2.tar.gz 16179490 SHA256 c137bbe1d652a6aaa003278045e592637cd9fd5f1d52b05f9f0751bfd9449c8d SHA512 b25ed01e49628d9b463acd0e3687eaef0e3f74e8f834a1442e66913fabf948ae6f6d662c21e3cbb1ca5793ceb96701be31c3b1d2d3a0a9694ea4706f9a64939e WHIRLPOOL 1309284a4d610cb37196aca678d4823bba384ba04a84ef1212c3580bad40da3359fbe4035a13cbfdd21a4eca75df2b8a3c398a1da9061a71ba8da8276c2b17dd
|
||||
DIST swipl-7.2.3.tar.gz 16192142 SHA256 43657d51b7c5887bc2d2bced50a9822b86a08a6841399b8e76ee877f51d646b5 SHA512 da27a6b171d3b471401f1a91e86a4dbe98973d8a1db8c72aa27e452311d08b893b01a1de8f9f4dafcdac460774b4ea980050256d37284546941e1bdf84f8cd7b WHIRLPOOL de695c8e0317921dcc13898f7a3c88d1012e3f87f633cd25766ca5cb6637b29ca81b9245d015614089291a7d9abd0d8c7109ccae1df9297d78301d241cb258b3
|
||||
DIST swipl-7.3.7.tar.gz 16065373 SHA256 db291d45753f6fc1af5f0ff174d1770ce4e0455d2eb1f6be7ac3cac263571cc7 SHA512 93987a45cb34df6da1415845a4f79004e9e64a8fe4552f3b74ebb4dc509329a0850000c693090f452541ca1bd9187f7c40b7dc6b0159f650e2bc769bd7d48d21 WHIRLPOOL 277725e359ea29faa8c83e1d9089fdcf9483d20b866a4b36bcc19a09c63bc24379352751524d35c0758e9355c20b53a45180bd4bcec4352ededf2c9ab4c836ee
|
||||
DIST swipl-7.3.8.tar.gz 16075095 SHA256 c7a31eac0020831cddd31045bc12dca10b437b737545a8a42fa193a3937ae882 SHA512 98a144e1a22c4b3bc5c0e4865b19930956aa1b60336f4da2538340502b5b27e327db8a4bc498c64ed3b63510c0d5c29ccf51843da70fb787ae1367a312a2f543 WHIRLPOOL 5b23f3f674745297377cc63960899841b73e57de48d24fd1e3de81d34b6db53e2fefd53efb7fd8ab4850d359cf12584a6c2686ead952f55f72fc62bdf223381b
|
||||
DIST swipl-7.3.9.tar.gz 16086076 SHA256 0a0b6933bd37cf23446d77839651e0cbbb9d4becd74d9d47fc9d1f26fe409d04 SHA512 b592eafdf5413e1f473a83371ea387adbfa1f64fea1a1e809d2e0eafc11b95fd3e47a429e39dcb6c0c27f490d9ba20702805866e9f9d71d5ba2a135c4adb6043 WHIRLPOOL 0920d8d605be185035d3876adb92ba77c0b9081e66ee8da5fd9cabe83902fb9562fbce39769c137fddbf41f9b6580c267676a4cd21ed91b51f7a60827f5d6a75
|
||||
EBUILD swi-prolog-6.6.6.ebuild 2794 SHA256 c8f904be13d44f7469cd0b16df3df79634c722dd4d4eec2facef72c159c5be48 SHA512 561cee74f0e4f14ca9f250759e0c02958c9b98b24210f1fa82984e40959fd3a2765621645cd8f0f13f206b25208ec4b14898fa865c501c949c9db67397f6ca06 WHIRLPOOL dbbd5de536736ad8511896a84b2e8dfd104987ef3150f0a4acd241cc9d977bccee329c4f427e73319fc5ca59e10fb10cdb1356325c84bd3a84bc3fdece7ea65e
|
||||
EBUILD swi-prolog-7.2.2.ebuild 2983 SHA256 581a734aa35f52935bc27a742ef7de58d7cf7b5a370dfbb91d4fa1229d132743 SHA512 98b378fea8d773fcfdafc13305c3c85811a17a3d7f7dcb6592fc4a46156f92dbcc748bd2c78251894d067239b96cf38b3f33175e5b74258aad63f5098493b577 WHIRLPOOL 050cedb37ba223bcefb3c2802e542f19a89f4c0e0e0ed735cbc4199669e55131f8cf6206bbc64065047945fc6a06ecedb65de2a4c7803bb2b24aa579354ff0ef
|
||||
EBUILD swi-prolog-7.2.3-r1.ebuild 3107 SHA256 cbf775b32bd39f60ba5418ecabd58cceebeb1057cddd1c262bf794d880f709a5 SHA512 304b5f7bef85743a57191e58bbfdeb8132f40b1ad11449da5e4b4e3fa4611170b7c4abf4bf2278611a603be48a47e01daac724344f2ecabb1f779c94f8fcff9f WHIRLPOOL 4c95aaf3a3f54dfd3e4ee49321f2677cf57e58a735ff7444858d6399c644be7f0f908f4e0b6d36c13a512b8a1aaa3adeefdb950f2935a8f47e3bc7b347ed2822
|
||||
EBUILD swi-prolog-7.2.3.ebuild 2983 SHA256 581a734aa35f52935bc27a742ef7de58d7cf7b5a370dfbb91d4fa1229d132743 SHA512 98b378fea8d773fcfdafc13305c3c85811a17a3d7f7dcb6592fc4a46156f92dbcc748bd2c78251894d067239b96cf38b3f33175e5b74258aad63f5098493b577 WHIRLPOOL 050cedb37ba223bcefb3c2802e542f19a89f4c0e0e0ed735cbc4199669e55131f8cf6206bbc64065047945fc6a06ecedb65de2a4c7803bb2b24aa579354ff0ef
|
||||
EBUILD swi-prolog-7.3.7.ebuild 3047 SHA256 2b0a190e12578b87a26221677c6dace0464be4c78e131593b74695611e847ed6 SHA512 043b7ae61ba00a1aa11f559e83c4e167ed54d6f2078bfc2515c3c7af53c2fbaec66accf92dad4744d8f626bb8e6bf7912feed7b53ceebdde08a9b2f2aa59c12c WHIRLPOOL a2165c92e974e660355425be5f74a3f062d497ea982227bb4df1134ff4c128491d2883944bbe30fe20f06160bff401f3502074ac5781591470cca48147b88066
|
||||
EBUILD swi-prolog-7.3.8.ebuild 3047 SHA256 2b0a190e12578b87a26221677c6dace0464be4c78e131593b74695611e847ed6 SHA512 043b7ae61ba00a1aa11f559e83c4e167ed54d6f2078bfc2515c3c7af53c2fbaec66accf92dad4744d8f626bb8e6bf7912feed7b53ceebdde08a9b2f2aa59c12c WHIRLPOOL a2165c92e974e660355425be5f74a3f062d497ea982227bb4df1134ff4c128491d2883944bbe30fe20f06160bff401f3502074ac5781591470cca48147b88066
|
||||
EBUILD swi-prolog-7.3.9.ebuild 3183 SHA256 99cd5a671b280f311dd799c1889a1e7f8fa3bcb2bebbbaf09aa068d649a67558 SHA512 2e49128577742cbffbe54c5b492e03b504a2ae9c7e2ad9fa97450b092b36ad0ff588acc59f380b56c0000bc7c018c4daae20b7e341f6e6d96e79656bd0554f3d WHIRLPOOL 76fb94fffe0c713b753c09ddd64f67834066b5e07377b2d18706f4bd4426487c9e5e24009e207f2b73fdfd5d69baa869c18648f231c55df2b2db3453acbcb2f7
|
||||
MISC ChangeLog 69903 SHA256 9e6f054c7a5e4f2f47dd02c5e5ad606160cd4a429b7417bc233c339dc1954e9a SHA512 c3b02af62e947a5ecc3432fe5f49fc6eb978d559ad69c73748159b404dff39aaae1a316a677e875f02b06b9d0e0efdd76d79ca1347b1af8625651b074bff4f00 WHIRLPOOL 2708af0202c442f27a40bb2977b7da02e0910f9ae1c60538f0eaf0bb166371b71787e1328655dc60cff56b47918fbd4df97269d870868b273c61f19ab3767ae3
|
||||
MISC metadata.xml 290 SHA256 c3f7520ad704de2de8a905ded748a40540801fc77009cc22f49e48003a2cd50d SHA512 0c95bd886652a4c099f694d793fdd85ed807ee99d9ddc65ea3db52fa5177e5a4bbe83ff465e3d00dcb9f99a9735d92a0bc978e2442dc521571739deb7945edf3 WHIRLPOOL 6c267091f56237283a17b541564ced8e8261c19d6f407f5989a8988de9de5649dd89809a82f4ddc6762dcac84e5012a43cad070adedfa964f2ec1de2ff2f81ef
|
||||
|
|
135
dev-lang/swi-prolog/swi-prolog-7.3.9.ebuild
Normal file
135
dev-lang/swi-prolog/swi-prolog-7.3.9.ebuild
Normal file
|
@ -0,0 +1,135 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/swipl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive berkdb debug doc +gmp hardened java minimal odbc +readline ssl static-libs test uuid zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
archive? ( app-arch/libarchive )
|
||||
berkdb? ( >=sys-libs/db-4 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl:0 )
|
||||
java? ( >=virtual/jdk-1.5 )
|
||||
uuid? ( dev-libs/ossp-uuid )
|
||||
X? (
|
||||
virtual/jpeg:0
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/swipl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
if ! use uuid; then
|
||||
mv packages/clib/uuid.pl packages/clib/uuid.pl.unused || die
|
||||
fi
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with berkdb bdb ) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with odbc) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
./report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake USE_PUBLIC_NETWORK_TESTS=false DISPLAY= check
|
||||
./report-failed || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
./packages/report-failed || die "Cannot report failed packages"
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
|
||||
}
|
|
@ -1,5 +1,16 @@
|
|||
AUX uriparser-0.7.5-no-gifs.patch 1063 SHA256 06f508d688b5279d82a6762b4fcf410800af804b0494f5d72ed420ae0672537a SHA512 01ea509c73dd5d637da8b7595c201361954698ef1ebedbf710da8e6966c0f91bb17dcce63f4e439dbcca35fca38b8f9b4a1f14593454c31992941eec4e103806 WHIRLPOOL 6b5874633d7e016a717d69a965d04657a473f9ea53e8875b68881deb22558be2f71c507eec18d915a3f85e6047822d9e1bbad6a2fb8f07f176c3c670a0383bc8
|
||||
AUX uriparser-0.8.1-doc-install.patch 665 SHA256 9d548a7ba735f2f5b64766350aa589d7fae38ebec2f972c5adc7b26eb5bcf302 SHA512 7197ec7169e3712c216599de5874ee3de53750f176c881274cfa0b11e380ab4f0dd6a3d58f61cfde43f69002911f0fb6310e601d67941e94dd5691f89f1bcab1 WHIRLPOOL 90e59d7045c9338d45c9634ed745e501ce4cf6f25229d5726b67df2855d2aec8a7dd020414acacd6305d869f03ca25a30e635c3a1da2f0a8467b39182e9d7ac6
|
||||
DIST uriparser-0.7.9.tar.bz2 430215 SHA256 a1d8f1007757ca1cf68b49edbac50876100cdee23a54cf1214f257b9ce51100d SHA512 a08d700078c7238d71db05e4de622f841069b38a82b718107943041518a56dd343e6b8a6256f7330119f946b4b5aed05659fc67e566ed96f99e6206584132b01 WHIRLPOOL fc84751279a29d6d1c7a04726ecced1edc008ef73aaf267b4584597bbfc5468cb27eb7ec12adef7332605d3141862098755ffe735a9fa753c908f88d33a6717e
|
||||
DIST uriparser-0.8.0.tar.bz2 433581 SHA256 1dd9f9779d8f17822bd7d68ba042fd67779b6e4ccf162bd3c9d0ff19a8ba9bf7 SHA512 e80efc8484f0b67107cad317cef72db9de906a86020c3ab31178e06e958782f0a744fe257b1e6cd130dd25c6747e684ece93ce5f755864303df34c6b763d2e5b WHIRLPOOL 43b9526747ad87c0e93f8f218243cdd853517c5a8d9290e9e19618104462b5150589d301e320035abadbae32e7141de4d5684954e7650a476c33da54d8e4cbea
|
||||
DIST uriparser-0.8.1.tar.bz2 341433 SHA256 8ad27e4ea603680c840008d21fb7efea354c79647e90b6fe6788aca18293f094 SHA512 6a1f4cc72a62cd74fa814e262233bd44d882ce4ee189a2ca7a6ef1cb3893492adf801b0391d3eea1f8ef443971f7195cbe8143158514225c875e76d677a9040e WHIRLPOOL 308625b4e612a27b6bf3ae0d70da69be25c8a702470f793d69175d94d16e7440f1d7249026f4cf3ccb51a501b109168dd4a772287e6ba7ceb03702cb753bd6eb
|
||||
DIST uriparser-0.8.2.tar.bz2 341959 SHA256 6d6e66b0615f65e9e2391933dab7e45eca0947160f10c6b47bc50feda93e508f SHA512 857c12229aece80065f923b6191e5771c6cd26e7eb42e62a35ae5793174df72b818a59c7b4d9a8dbd8f3f5d4b5885b43a05f0e40aa1be9d9b6f6a9b323c56ca9 WHIRLPOOL 56b370eb16c4eed16838c80d71860d6fe66ad4cd5d4cdba72e9bcb0bfc56fd39d479b73fe8f3df27fb8b5b19ca0fda53172b602dd33e946c1829e92b8fe6fd5f
|
||||
DIST uriparser-0.8.3.tar.bz2 358228 SHA256 28640ddc91809ebedf7bcaa11aeaebcdac4321323e54416c9eb76303adae0fad SHA512 e8fe7f0e48af84d165038ba8c4a324cd0cd9fbabe4b37b0035681f24cf69470d34bdcb15bda36594dd770383b475a91ed8d33e1a897fb8bf9dcb1d2454c55fc1 WHIRLPOOL dd49cb7b64bad476fe8c822d8644a74b9a361a463431186026bd1cc94bc01b9af5bd0b73324b2c01f80a82d90c648f66ba8b5c8545ab71609b01accd33fa40a4
|
||||
DIST uriparser-0.8.4.tar.bz2 358408 SHA256 ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23 SHA512 b6238c6495eaa9f7178269d66dbea05a39c51c27137d8ebf39cd02d1c3fa96aa0d1608f5ccb36bf7b454f3238830dd46d7de8299b608f185b2520fc2c955aa1a WHIRLPOOL fc78f6c799ba5665927f1800f1212617744a3eaf3be3c7112409afe53d557e24c8f185137291d534fcf7c9263d64b9d49fa57a3d2c608e39559943c19218d30f
|
||||
EBUILD uriparser-0.7.9.ebuild 1108 SHA256 cb9953910e2d9f584e69590848e91e6b421b8f34037ab436b1fb83b71785ca75 SHA512 ca537d5c0a46e4a409eb2b9ae5b1efc3b4eaeece05c7b6294abea014b0a3cc8bb0dc6fcaecabb94dadf2b6cef59066cec545aa7b94ab1baa108d2eab0695b748 WHIRLPOOL 0181cbb1e68f0a22c0be036aedcfd25c7be8aeee00ce84365177ce33c43a504596a02875d00065d8cea4e54a8092543d1f9eb5b2beaa73e73c64b60b813084c7
|
||||
EBUILD uriparser-0.8.0.ebuild 1108 SHA256 cf7c62d4d1ba83c1c09f773dd3fa34979fd73d72e9f9b5c170e6c91b553d4319 SHA512 38907eef702a4fc6eb1774b0aa8b47b8b410f10aa1a222cff786c265aa96b191b32ddcbe6aab56e2f456fe0cd71135c2a0a1f38b46e2917db5785673a0359f89 WHIRLPOOL e4af5eaa9902b25f21e98532757d9dac9e520d825b1a5d0a8f48cb7bcf3f6de0154e0e8d56edba35dffe1d56e0dd657a527785a90e699d7822a79d5919c77494
|
||||
EBUILD uriparser-0.8.1.ebuild 1188 SHA256 3b44e2f7b607e7e1fcaba28cad491d44c573dcc1b8f35e4a7dc1e84b231d5de9 SHA512 56a40a8484a13c7970b31e60bf6069f4128e9ee829d2f8305cc093c27b127c470a20cb3ff4d83cf6aeaf003e636c169403ade67626c55a9d9a606934725d1e56 WHIRLPOOL 8c627002f1436bd51d4ea29608f68b76a2d4cb9e413d665c82b7c48574d1650e20ffaf535123ba11e5833eab19b7b6f052e34980ba37e421a38d064ce9f16168
|
||||
EBUILD uriparser-0.8.2.ebuild 1085 SHA256 d7e939536cc180a88897c445960422af81c1d4411f834b6adebf431932434cf9 SHA512 71ec7694ee54e4446742cb1b827be3895d595fdde1765883265d9f91e6d7961d02d0e765f2dc7844c867c08a49475fa41bde05c3ee6cc32d4c0efb497f22d2e0 WHIRLPOOL 73eee9c4b49d39337fbe2d1bf52b7a1ad5b7a872a703fd26a4ac6a2178b194583e06d2e5e270896d569a8c8550a4803f99f4e95baf2011e4ac72af6c42583565
|
||||
EBUILD uriparser-0.8.3.ebuild 978 SHA256 7c08348496617c18e920fb98017a0c948a8887caa199742ada11e294961959f6 SHA512 c008786beb543c3fbc993bf58258466ea42c452260d03585bb6ede205dae9f05f940312571882fa77e2525ff346aa706fc92d76c84fb263af05ee179af935211 WHIRLPOOL b298d18c0cd08f727de17a0cf8a76292421e558673e81a9f9420382f6b6ead135133f776dd0ea2cac7e84041f3d3586bb46aa8c3ac1decad80fc180dfd37643e
|
||||
EBUILD uriparser-0.8.4.ebuild 978 SHA256 7c08348496617c18e920fb98017a0c948a8887caa199742ada11e294961959f6 SHA512 c008786beb543c3fbc993bf58258466ea42c452260d03585bb6ede205dae9f05f940312571882fa77e2525ff346aa706fc92d76c84fb263af05ee179af935211 WHIRLPOOL b298d18c0cd08f727de17a0cf8a76292421e558673e81a9f9420382f6b6ead135133f776dd0ea2cac7e84041f3d3586bb46aa8c3ac1decad80fc180dfd37643e
|
||||
MISC ChangeLog 7057 SHA256 40e3636a6947f1a0e951f2d231f00eb0e02a752ff2a73223a3afd53cf302fbe5 SHA512 7afc21618a067f32e1d229eee009f1cdfed53d7b038071dd7ee725ea96ff3e71ea7ade82d95b237111cf509b544f3aa6c9d103a3914366996bc6f1012d4ff72c WHIRLPOOL 305249dd071472e801cc29810fb2ef41ca9182ab410edf55851ecbf1e902e0d812aa68a5685b55453e0ffd28f9f00e0009d174249e56d5110915ca3b1ebecaea
|
||||
MISC metadata.xml 528 SHA256 d45fb17c5ee568510893585237ad390d764d6a03b81ff93e1a899e854b67a00e SHA512 f3f3a3801ccdd65f54bb6b4a5e64071510e570637312e1a8ffae9cb8e38ff276a011d8d8cb114dd8c0ca4d643db776d290233c01d7320de8024590db3b79cd9d WHIRLPOOL 163ab4935695e4bb3f1d447b5c243351e810c29e91aba504921342d06941ee82fb6dbf22e3f1c9f1a06b9ecd87771c085d974e8067ed49713254133e8c6ae7ff
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
DIST xapian-bindings-1.2.19.tar.xz 828904 SHA256 3b9434c6144cc347783175c92829f304e86919bbbd44f51b7b4a7148960cde17 SHA512 ac72ec35ae3b767e04e848a9782b41d74e99b6b1f795d5096373911ff549b3bf2e602a91ed0e5f7dce2e43e1dd308af710719e5a80c6a179393aac4af316de30 WHIRLPOOL 33770203390fea6f6048ebdc63cb7031f53a30be3568e3f3f6f8a25f8aa30a284347b402e360c0c2182069e3f6dab067fc5f6cd2b950f45e196afe057e4d80e3
|
||||
DIST xapian-bindings-1.2.20.tar.xz 828864 SHA256 98594534697642dee563c0e7fede43fde256f7e03488ea4922800f56baadc401 SHA512 4797431974442b210bb637e1d307a8c7eafb5f60093aee9d86223bacec7f828bd3d30c2d159d34cc160208cd016be3822acd19f1be9159af8f8871d83e7ec688 WHIRLPOOL 9ebeec220142865b6f983f065cef568623d2fb26e5393c2e8a74fc12c3dbb0fefd5541991beb494179ec4bff402164c9a5edafb520013b89ee3ae8fa73f06686
|
||||
DIST xapian-bindings-1.2.21.tar.xz 842696 SHA256 28a39247ac875be2dc1386c273167aab5c9949227c1070b65ca8de603c06d546 SHA512 bebb4c6fce57f9b54b307bf921e760efe8fbd06d404629cfb80717eed9bfb886c82559c2ba2b333a4e24ce14d389c916ca36924f9d4b2f72fae183d4a00e635b WHIRLPOOL 065efe7c9ad38f8f27a2fb109969b1ec6eb2ef403cb6e194f7c5f4147cb666931f2e70f698f6c974916087489af7ea05e0c8c1a2a39232d1176083b624ff5cf6
|
||||
DIST xapian-bindings-1.3.2.tar.xz 1177620 SHA256 bcf9948cd6e51c4e80ed5c1284b3349e667162dcbd048a4136c380adfe570f92 SHA512 65b8cb9a27b19c04179c6b8147110bcac118b5c41308ad87fef7db2b3b16d2032645f5d010492ebd772cb6bc673228b68837159764cb6d8fc09dde11e81174a7 WHIRLPOOL ffb4709a95d4139b4d9863195ec8ffc23a4936a055424b154e0e1f8c6d00bc81e919246e58fe68b76738bee05941a868b38e87ba1302ac3e392152b4592a1d1a
|
||||
DIST xapian-bindings-1.3.3.tar.xz 1195784 SHA256 a443a16ac8279daa5b50d3308861034f859f71c824ff5fa2d75cfda3cf31858f SHA512 db0f672cdc886b975dcfdec9ec1b30401627fdecdafe5381f0da41da1bebe3c15d80d6126fa443107ba1b7c259f15ff26c08f7b18524f620b2cb8e48f2c4c2d7 WHIRLPOOL beee4de0346bbcb11dd3c5f14b775e61a9cd2dbfc03fd61f12af90e883f09495a2a951543cd001a7e778920901c2a7001cd22d0179c5173f13cf543ce9b60c98
|
||||
EBUILD xapian-bindings-1.2.19.ebuild 5458 SHA256 bbaba6720991174acebd331f9ae694874e8f84d215823f446c0f9160d6e7f094 SHA512 bf6862113bf323daae2193e2e8b41e6c334c32d6598f888e91753c58948781184700ac823c62445b403b565788f3a2f443ee8bcd5868b4ad337e064c06260da4 WHIRLPOOL a1963d826a0f1838f8e00048aee4c586adbea63423bed5d5c094fd0526c3cd5525e3db0e48ecced0c24dbcb7f642937b69787d0acbfaf7b546ca0c0cde40eb28
|
||||
EBUILD xapian-bindings-1.2.20.ebuild 5464 SHA256 f9fc5c52de6c66af6b4e8bf0123d8a473c08bb66ae9ee58de74e736313e94cc5 SHA512 3e47172b59436ada7ad114941a1f65152b3abb8a8b4ecabdd19f49e40dc11ae57114d9deefe3cec19b0a6240f65131f0370a48eeb78dc1e28ee97bacaa45d161 WHIRLPOOL f023a2da2fd7a8af5c61a9c2669a30d259aa8684fbfb345604f774f2b2ac704f05a3fd8f980c7bbb212a30c640fce8268864e5b672c848f6e4825257ab3d5f2b
|
||||
EBUILD xapian-bindings-1.2.21.ebuild 5464 SHA256 f9fc5c52de6c66af6b4e8bf0123d8a473c08bb66ae9ee58de74e736313e94cc5 SHA512 3e47172b59436ada7ad114941a1f65152b3abb8a8b4ecabdd19f49e40dc11ae57114d9deefe3cec19b0a6240f65131f0370a48eeb78dc1e28ee97bacaa45d161 WHIRLPOOL f023a2da2fd7a8af5c61a9c2669a30d259aa8684fbfb345604f774f2b2ac704f05a3fd8f980c7bbb212a30c640fce8268864e5b672c848f6e4825257ab3d5f2b
|
||||
EBUILD xapian-bindings-1.3.2.ebuild 4402 SHA256 d4b1018d27dfac5dbbea3de2db72332876dae91728d6dbc1830d02bd6bf504d3 SHA512 c6e355ae8bc45102f5da97eea7bec4aa0968b99de75faf707c22c502ccad5f92a7ee8a93585c3c86cefbaebb0cd207762b0429e46e16296f53d2914521761dec WHIRLPOOL 8a35869ca0b7f39905404e8d3e7099484c680c23263d7ae4ee7dd42519394e614a6221ba99cfe6f0d0c5d79b58e2041e5aed3771379d2f79c7c40c3837270c57
|
||||
EBUILD xapian-bindings-1.3.3-r1.ebuild 2712 SHA256 70fdfba31a2f016236c804df2c19ed29963e15f1c6f517053a4a73a810cf714b SHA512 0094f05d36fabfd598f1b21424885af48596fbd321fd977c2f57045f9c7ca1d6b64b3e3a39686ed02f2f21f6fd66717e37d2d9bb21544301759d3bf1772780cd WHIRLPOOL 9099dfa68fb05eaed39795efec422fbf35ab7ad9e773906b2e043d6640afb52170bbeb158bc7327ff6bbf5b7efbf99b880272d95e265d7e9491bba4f9a3677f8
|
||||
EBUILD xapian-bindings-1.3.3.ebuild 4402 SHA256 d4b1018d27dfac5dbbea3de2db72332876dae91728d6dbc1830d02bd6bf504d3 SHA512 c6e355ae8bc45102f5da97eea7bec4aa0968b99de75faf707c22c502ccad5f92a7ee8a93585c3c86cefbaebb0cd207762b0429e46e16296f53d2914521761dec WHIRLPOOL 8a35869ca0b7f39905404e8d3e7099484c680c23263d7ae4ee7dd42519394e614a6221ba99cfe6f0d0c5d79b58e2041e5aed3771379d2f79c7c40c3837270c57
|
||||
EBUILD xapian-bindings-1.2.21.ebuild 5508 SHA256 f2f29859a916bf3f7a4d43a14eae21ecf319d74ba2b31aacddf97bb42bbe133e SHA512 287d53c473bb5f9e9a967cdeb74c627445e62a77776d92405a7ec1fab0e519941c40457b93d406c2a186373f4a261a5dd1fe313ace43a91111bf710820041cc2 WHIRLPOOL d9ad0805946e355c6affc80b96f22f6baef7955035fff8fd80300379e7d1face7ddf09ecab07e12f887d53e24a59a83a803a3ce0ab988049ac4d3637c0f98f9a
|
||||
EBUILD xapian-bindings-1.3.3-r2.ebuild 2816 SHA256 7f4ef5e52bebc27df3ecd44ba3f4e4dc68709ca3b31f428bf646f5b581e4c96d SHA512 55bec37991f2846658158bd29fcc5442ba3cb52b966099961061ba842186265f8bf8ae98d94c0bbb5fdedd9c5fa9cf691f6b3c522a589f1c29408bf1ce4b8827 WHIRLPOOL a5f5728b30bac697ed1719a1b79a7af156a797775fe56212da152f04067c981330b98cf51d45861ea5b021c17b84758b82d4c8037d9e8b4a19982c46ef6c03d9
|
||||
MISC ChangeLog 16665 SHA256 166eec91a7534f172df62c046909000890125664c04f559d21476b32c4b2cdae SHA512 136d0ffff7fc842849ba48fd99f009500a829d8f2c755721584abc4725213b0a183d9159b1043fe8b2601550dc41a08bd7910d7ba8edccad81cb22963a23c04a WHIRLPOOL aea2dc8ac317c6610ba06d41c5b412e21d86f9a559be85a3188cafdab6d9207291dac5c891501f1b9a4b3818d1770d366f162cfd97dde0d2d093a8c682e176a3
|
||||
MISC metadata.xml 367 SHA256 e757cf120c1188c0010caaf7449e89deee52d8aa275f4f0c3b9cc0c097d28596 SHA512 e562b4dfbdcf62a3f860cd185dcd5fb2cf4067cb9b6c11c94669027c9cbae94bc437fa63e68b3b982a6bdda624087a60b24a269031fae2f3f975efb3d8e85d44 WHIRLPOOL 1314776082f07f5fdf74d15ad6b5093276b58f47e4dce35c0377e6a7baef0941bf567e43047e4ff80a726e2078d506c9029cd033cba8aeba9110b75cbbffa036
|
||||
|
|
|
@ -1,202 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
USE_PHP="php5-4 php5-5 php5-6"
|
||||
|
||||
PHP_EXT_NAME="xapian"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
|
||||
#mono violates sandbox, we disable it until we figure this out
|
||||
#inherit java-pkg-opt-2 mono-env php-ext-source-r2 python
|
||||
inherit java-pkg-opt-2 php-ext-source-r2 python-r1
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
#IUSE="java lua mono perl php python ruby tcl"
|
||||
#REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
|
||||
IUSE="java lua perl php python ruby tcl"
|
||||
REQUIRED_USE="|| ( java lua perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( dev-lang/lua:= )
|
||||
perl? ( dev-lang/perl:= )
|
||||
ruby? ( dev-lang/ruby:= )
|
||||
tcl? ( >=dev-lang/tcl-8.1:0= )"
|
||||
# mono? ( >=dev-lang/mono-1.0.8 )
|
||||
DEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
if use java; then
|
||||
sed \
|
||||
-e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \
|
||||
-i java{/,/org/xapian/errors/,/org/xapian/}Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
sed \
|
||||
-e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \
|
||||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian.so|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
|
||||
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with java) \
|
||||
$(use_with lua) \
|
||||
$(use_with perl) \
|
||||
$(use_with php) \
|
||||
$(use_with python) \
|
||||
$(use_with ruby) \
|
||||
$(use_with tcl)
|
||||
# $(use_with mono csharp) \
|
||||
|
||||
# PHP and Python bindings are built/tested/installed manually.
|
||||
sed -e "/SUBDIRS =/s/ php//" -i Makefile || die "sed Makefile"
|
||||
sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use php; then
|
||||
local php_slot
|
||||
for php_slot in $(php_get_slots); do
|
||||
cp -r php php-${php_slot}
|
||||
emake -C php-${php_slot} \
|
||||
PHP="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php" \
|
||||
PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" \
|
||||
PHP_EXTENSION_DIR="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --extension-dir)" \
|
||||
PHP_INC="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --includes)"
|
||||
done
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_copy_sources
|
||||
# building() {
|
||||
# emake -C python \
|
||||
# PYTHON="$(PYTHON)" \
|
||||
# PYTHON_INC="$(python_get_includedir)" \
|
||||
# PYTHON_LIB="$(python_get_libdir)" \
|
||||
# PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
# pkgpylibdir="$(python_get_sitedir)/xapian"
|
||||
# }
|
||||
building() {
|
||||
emake -C python \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian"
|
||||
VERBOSE="1"
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use php; then
|
||||
local php_slot
|
||||
for php_slot in $(php_get_slots); do
|
||||
emake -C php-${php_slot} \
|
||||
PHP="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php" \
|
||||
PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" \
|
||||
PHP_EXTENSION_DIR="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --extension-dir)" \
|
||||
PHP_INC="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --includes)" \
|
||||
check
|
||||
done
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake -C python \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
VERBOSE="1" \
|
||||
check
|
||||
}
|
||||
python_foreach_impl testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojar java/built/xapian_jni.jar
|
||||
# TODO: make the build system not install this...
|
||||
java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rm "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rmdir -p "${D}/${S}/java/built"
|
||||
rmdir -p "${D}/${S}/java/native"
|
||||
fi
|
||||
|
||||
if use php; then
|
||||
local php_slot
|
||||
for php_slot in $(php_get_slots); do
|
||||
emake DESTDIR="${D}" -C php-${php_slot} \
|
||||
PHP="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php" \
|
||||
PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" \
|
||||
PHP_EXTENSION_DIR="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --extension-dir)" \
|
||||
PHP_INC="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --includes)" \
|
||||
install
|
||||
done
|
||||
|
||||
php-ext-source-r2_createinifiles
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake -C python \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
VERBOSE="1" \
|
||||
install
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
# For some USE combinations this directory is not created
|
||||
if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
|
||||
mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS HACKING NEWS TODO README
|
||||
}
|
|
@ -15,7 +15,7 @@ PHP_EXT_OPTIONAL_USE="php"
|
|||
|
||||
#mono violates sandbox, we disable it until we figure this out
|
||||
#inherit java-pkg-opt-2 mono-env php-ext-source-r2 python
|
||||
inherit java-pkg-opt-2 php-ext-source-r2 python-r1
|
||||
inherit java-pkg-opt-2 php-ext-source-r2 python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
|
@ -30,12 +30,13 @@ IUSE="java lua perl php python ruby tcl"
|
|||
REQUIRED_USE="|| ( java lua perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( dev-lang/lua:= )
|
||||
lua? ( dev-lang/lua:0 )
|
||||
perl? ( dev-lang/perl:= )
|
||||
ruby? ( dev-lang/ruby:= )
|
||||
tcl? ( >=dev-lang/tcl-8.1:0= )"
|
||||
# mono? ( >=dev-lang/mono-1.0.8 )
|
||||
DEPEND="${COMMONDEPEND}
|
||||
virtual/pkgconfig
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
@ -75,7 +76,7 @@ src_configure() {
|
|||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
export LUA_LIB="$($(tc-getPKG_CONFIG) --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
|
|
|
@ -1,178 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
USE_PHP="php5-4"
|
||||
|
||||
PHP_EXT_NAME="xapian"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
|
||||
inherit java-pkg-opt-2 mono-env php-ext-source-r2 python
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="java lua mono perl php python ruby tcl"
|
||||
REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( dev-lang/lua:= )
|
||||
mono? ( >=dev-lang/mono-1.0.8 )
|
||||
perl? ( dev-lang/perl:= )
|
||||
ruby? ( dev-lang/ruby:= )
|
||||
tcl? ( >=dev-lang/tcl-8.1:0= )"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
||||
pkg_setup() {
|
||||
mono-env_pkg_setup
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
|
||||
if use python; then
|
||||
sed \
|
||||
-e 's|\(^pkgpylib_DATA = xapian/__init__.py\).*|\1|' \
|
||||
-e '/\s\sxapian\/__init__.pyc/d' \
|
||||
-e '/\s\sxapian\/__init__.pyo/d' \
|
||||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
|
||||
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with java) \
|
||||
$(use_with lua) \
|
||||
$(use_with mono csharp) \
|
||||
$(use_with perl) \
|
||||
$(use_with php) \
|
||||
$(use_with python) \
|
||||
$(use_with ruby) \
|
||||
$(use_with tcl)
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
VERBOSE="1" \
|
||||
check
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojar java/built/xapian_jni.jar
|
||||
# TODO: make the build system not install this...
|
||||
java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rm "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rmdir -p "${D}/${S}/java/built"
|
||||
rmdir -p "${D}/${S}/java/native"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
fi
|
||||
|
||||
if use php; then
|
||||
php-ext-source-r2_createinifiles
|
||||
fi
|
||||
|
||||
# For some USE combinations this directory is not created
|
||||
if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
|
||||
mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS HACKING NEWS TODO README || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize xapian
|
||||
fi
|
||||
|
||||
if use php_targets_php5-4; then
|
||||
ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup xapian
|
||||
fi
|
||||
}
|
|
@ -6,6 +6,9 @@ EAPI="5"
|
|||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE=threads
|
||||
DISTUTILS_SINGLE_IMPL=yesplz
|
||||
DISTUTILS_OPTIONAL=yesplz
|
||||
DISTUTILS_IN_SOURCE_BUILD=yesplz
|
||||
|
||||
USE_PHP="php5-4"
|
||||
|
||||
|
@ -13,7 +16,7 @@ PHP_EXT_NAME="xapian"
|
|||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
|
||||
inherit java-pkg-opt-2 mono-env php-ext-source-r2 python-single-r1
|
||||
inherit autotools distutils-r1 libtool java-pkg-opt-2 mono-env php-ext-source-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
|
@ -26,18 +29,19 @@ IUSE="java lua mono perl php python ruby tcl"
|
|||
REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( dev-lang/lua:= )
|
||||
lua? ( dev-lang/lua:0 )
|
||||
mono? ( >=dev-lang/mono-1.0.8 )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( dev-lang/ruby:= )
|
||||
tcl? ( >=dev-lang/tcl-8.1:0= )"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
virtual/pkgconfig
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
pkg_setup() {
|
||||
mono-env_pkg_setup
|
||||
|
@ -53,6 +57,8 @@ src_prepare() {
|
|||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
@ -66,7 +72,7 @@ src_configure() {
|
|||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
export LUA_LIB="$($(tc-getPKG_CONFIG) --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
|
@ -81,7 +87,7 @@ src_configure() {
|
|||
}
|
||||
|
||||
src_compile() {
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
default
|
||||
}
|
||||
|
||||
|
@ -91,10 +97,8 @@ src_install() {
|
|||
if use java; then
|
||||
java-pkg_dojar java/built/xapian_jni.jar
|
||||
# TODO: make the build system not install this...
|
||||
java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rm "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rmdir -p "${D}/${S}/java/built"
|
||||
rmdir -p "${D}/${S}/java/native"
|
||||
java-pkg_doso java/.libs/libxapian_jni.so
|
||||
rm -rf "${D}var" || die "could not remove java cruft!"
|
||||
fi
|
||||
|
||||
if use php; then
|
|
@ -1,178 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
USE_PHP="php5-4"
|
||||
|
||||
PHP_EXT_NAME="xapian"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_OPTIONAL_USE="php"
|
||||
|
||||
inherit java-pkg-opt-2 mono-env php-ext-source-r2 python
|
||||
|
||||
DESCRIPTION="SWIG and JNI bindings for Xapian"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="java lua mono perl php python ruby tcl"
|
||||
REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
|
||||
|
||||
COMMONDEPEND="=dev-libs/xapian-${PV}*
|
||||
lua? ( dev-lang/lua:= )
|
||||
mono? ( >=dev-lang/mono-1.0.8 )
|
||||
perl? ( dev-lang/perl:= )
|
||||
ruby? ( dev-lang/ruby:= )
|
||||
tcl? ( >=dev-lang/tcl-8.1:0= )"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jdk-1.3 )"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.3 )"
|
||||
|
||||
pkg_setup() {
|
||||
mono-env_pkg_setup
|
||||
java-pkg-opt-2_pkg_setup
|
||||
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
|
||||
if use python; then
|
||||
sed \
|
||||
-e 's|\(^pkgpylib_DATA = xapian/__init__.py\).*|\1|' \
|
||||
-e '/\s\sxapian\/__init__.pyc/d' \
|
||||
-e '/\s\sxapian\/__init__.pyo/d' \
|
||||
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
|
||||
-i python/Makefile.in || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use java; then
|
||||
CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
|
||||
fi
|
||||
|
||||
if use perl; then
|
||||
export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
|
||||
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
|
||||
fi
|
||||
|
||||
if use lua; then
|
||||
export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_with java) \
|
||||
$(use_with lua) \
|
||||
$(use_with mono csharp) \
|
||||
$(use_with perl) \
|
||||
$(use_with php) \
|
||||
$(use_with python) \
|
||||
$(use_with ruby) \
|
||||
$(use_with tcl)
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
VERBOSE="1" \
|
||||
check
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
if use java; then
|
||||
java-pkg_dojar java/built/xapian_jni.jar
|
||||
# TODO: make the build system not install this...
|
||||
java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rm "${D}/${S}/java/built/libxapian_jni.so"
|
||||
rmdir -p "${D}/${S}/java/built"
|
||||
rmdir -p "${D}/${S}/java/native"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHON="$(PYTHON)" \
|
||||
PYTHON_INC="$(python_get_includedir)" \
|
||||
PYTHON_LIB="$(python_get_libdir)" \
|
||||
PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \
|
||||
pkgpylibdir="$(python_get_sitedir)/xapian" \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
fi
|
||||
|
||||
if use php; then
|
||||
php-ext-source-r2_createinifiles
|
||||
fi
|
||||
|
||||
# For some USE combinations this directory is not created
|
||||
if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
|
||||
mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
dodoc AUTHORS HACKING NEWS TODO README || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize xapian
|
||||
fi
|
||||
|
||||
if use php_targets_php5-4; then
|
||||
ewarn "Note: subclassing Xapian classes in PHP currently doesn't work with PHP 5.4"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup xapian
|
||||
fi
|
||||
}
|
|
@ -1,12 +1,8 @@
|
|||
DIST xapian-core-1.2.19.tar.xz 3175384 SHA256 4a78260388ff1b042f0ab5d18afdd524a530ae609690d0339990ddc147a54785 SHA512 5cd29b8c278b4fa652f947cd6689945bbe239c95425344d0fedb445bf1534198333844d91e6e59cf870043066f4dc511cd0268071916002e96bd38b59aa91c1b WHIRLPOOL 5d65982d47145addc6585b72a99494bf6d14277df2c796925fbe6284ddd08b89fbc147c1a29575d573afebb2e2f6eb6dc73d58161260404be7e5ceefe1371ffb
|
||||
DIST xapian-core-1.2.20.tar.xz 3181788 SHA256 c4f8d5b9e393ea32912955a17e6b6ea3f6c052ae9133ded6fe48582c25b1aa8f SHA512 89b2b4dabd4ef5946a2fab95c0bc3786fe36172f4dc750713aa4f3fa5d9e1716ee598faca1385209c1a669f5b7fed1a88c038d1f9cc47522fa956d04ea86560a WHIRLPOOL ec5145306208ba2fa7b458033573ff526bc2ee12a89dfd8fb81e43d836c2d6ac44a573ccd0c336c358fc55e17c73452929ecef6eb8d8edc1eef2a6f3050008f5
|
||||
DIST xapian-core-1.2.21.tar.xz 3202560 SHA256 63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f SHA512 a821043ea1686a09178bb91b14ed6a8cf00c50dfb0f066e420a40395edd3be085d7f89abb8f6a1151c847272c13601274e645055ede3548b07d5e912f0a70f81 WHIRLPOOL 9de8b2b70252b87da16a2502a831b46857f48cca8623a6ac411291bb6607bd61968ddd64a77c8685f300818abcbf91149a3f43af849a7843f67a5ebcc5130963
|
||||
DIST xapian-core-1.3.2.tar.xz 2490944 SHA256 203624f292fd9a023d51cdba53b01c7132210866a34bdca79ba721a7dd3745e6 SHA512 712c19aa2416d1493dfb601e1abe7242bf8f893197a3d0c229e5cabaac446950dd4c71c23200ce8a568e3bfae60e0d987c0c2d9938b1d185af2d44df3627c1cf WHIRLPOOL a1e4d8840d2d62cc524d287110de2e4370b2f60c614b91bc4cc624f96a73cc6397d5125cdae877b6781df1cc8d4ac9b34ffdeb4892c20aac0099afd5ef28c46c
|
||||
DIST xapian-core-1.3.3.tar.xz 2543260 SHA256 2d273ca0df6af208c4b6904542a9dffed8a9520376522d650e1a2885b476a280 SHA512 8b0d0fce532748efc1c2705e3f6f45ff83ec97be7c1f5b54846a9ff94b9d416b67491262a157afdc40497c52e1c4aa94bd11a78b4494db4a1fb45ba6d18f7099 WHIRLPOOL bf9c2f1606ba72469f2306cc6edfff63834c58831ee75063e39445392460b85478c9c44ef7d2ec1fdfd63bad113544f8c1ba3eb01ee178abf63da3a7ae2d5b3b
|
||||
EBUILD xapian-1.2.19.ebuild 1442 SHA256 d0a0f86c058820c8c09696208c7536724ace9d93a7f91529590af5c0fa7d5db3 SHA512 705f589d6b734e98b3462f1c7eaffc8584a59e9824588292556781f182cc16909de34ce7050147575aa7af557625ecc715060fcd1768daa0c96029c00f2b6711 WHIRLPOOL 9ceebc1290082a16f63744cd369d17b82520053c70e22287111b85ba05da578e8bbd8bea329b7e6b2161eca9ae3da11ad8ea6b7c5ba070f1a07d30bdbc06afa9
|
||||
EBUILD xapian-1.2.20.ebuild 1451 SHA256 61631d33cb20219119eb4779954f61f4e3ce7623074b9054c887d481d7253ec3 SHA512 be245427c2cb50dc33ac53978d09ca71b0a46c5683b79e4d306f1b7d68cd3d80ea01fe931d87d561e005e0b4862c4fd195d34bf9e992ca733aba2af2470682a7 WHIRLPOOL a2fff222fc0b776214d485c9806da3370ddee88210a9641c3054c6608058ba45ffa1ad8db8db5b95339f795c15c0b1b1ed16891594da2ed7fb5eec425be3430b
|
||||
EBUILD xapian-1.2.21.ebuild 1451 SHA256 61631d33cb20219119eb4779954f61f4e3ce7623074b9054c887d481d7253ec3 SHA512 be245427c2cb50dc33ac53978d09ca71b0a46c5683b79e4d306f1b7d68cd3d80ea01fe931d87d561e005e0b4862c4fd195d34bf9e992ca733aba2af2470682a7 WHIRLPOOL a2fff222fc0b776214d485c9806da3370ddee88210a9641c3054c6608058ba45ffa1ad8db8db5b95339f795c15c0b1b1ed16891594da2ed7fb5eec425be3430b
|
||||
EBUILD xapian-1.3.2.ebuild 1446 SHA256 632ccecff109f303415d075618c641c195a9fbb90b26795ab0dce0d9be641f1d SHA512 a3b42bac65819287f029c78a8bc99303cb4fd450d3f0471fc6159634e5e432cc67c8ab78de218323c1c240b0ad8b37c1f123a8516c2f0efe5a50057a1f7d249b WHIRLPOOL 57ac9ce0211c9552a0be9911116c9333b7cfbae0c39ff1f554ce4bf2a03c43dae4ab09af37d68bbdedd9a1ad3c7b711338b9b861e5842af159c106c82e743c4b
|
||||
EBUILD xapian-1.3.3.ebuild 1446 SHA256 632ccecff109f303415d075618c641c195a9fbb90b26795ab0dce0d9be641f1d SHA512 a3b42bac65819287f029c78a8bc99303cb4fd450d3f0471fc6159634e5e432cc67c8ab78de218323c1c240b0ad8b37c1f123a8516c2f0efe5a50057a1f7d249b WHIRLPOOL 57ac9ce0211c9552a0be9911116c9333b7cfbae0c39ff1f554ce4bf2a03c43dae4ab09af37d68bbdedd9a1ad3c7b711338b9b861e5842af159c106c82e743c4b
|
||||
MISC ChangeLog 18399 SHA256 4ec59d93f69a3a6d6b2f12b4681491c47cbfa0ab76c36468c85eb068bf313b7b SHA512 d68b4744298b0b7d2d50b2566a3973f38d1a872c212f518e349e9cc430ff07d84e88936cdc4c64eb73a0e18c2b050a86ec7cb77e4bcf557b975304ac48d59289 WHIRLPOOL 9202377b975231581e203c2465d79d63d9be89d61b46e36f7edd111845d4cf14fd71ede513b224a9abf8ad21490f848349729ebf0568ef1163f8d7aa3c546ab5
|
||||
MISC metadata.xml 986 SHA256 a8edfccb5ff34bd1f0d096bb80a8d337ad9c47880ab5165039e23219cff52c84 SHA512 ab2b46cfa58c704291db4e87428acd82987c236bdf1ac8c7c3dbcc4c1fa6a0b84cdf5ba28c317d8442e16264b4af9dbb82a14a0b4a129e0d7189168b68862690 WHIRLPOOL 8b7a20305b22c87d82e3c5ec765d9bc18c4e9a5e772920f04e827f8ddad71ac1aec50a7389c1b84662ea30afe278cacdb277af546320240a616d7e8a84b76aed
|
||||
|
|
|
@ -1,63 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="${PN}-core-${PV}"
|
||||
|
||||
DESCRIPTION="Xapian Probabilistic Information Retrieval library"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +brass +chert +inmemory"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
ewarn
|
||||
if use cpu_flags_x86_sse2; then
|
||||
ewarn "Using sse2"
|
||||
myconf="${myconf} --enable-sse=sse2"
|
||||
else
|
||||
if use cpu_flags_x86_sse; then
|
||||
ewarn "Using sse"
|
||||
myconf="${myconf} --enable-sse=sse"
|
||||
else
|
||||
ewarn "Disabling sse and sse2"
|
||||
myconf="${myconf} --disable-sse"
|
||||
fi
|
||||
fi
|
||||
ewarn
|
||||
|
||||
myconf="${myconf} $(use_enable static-libs static)"
|
||||
|
||||
use brass || myconf="${myconf} --disable-backend-brass"
|
||||
use chert || myconf="${myconf} --disable-backend-chert"
|
||||
use inmemory || myconf="${myconf} --disable-backend-inmemory"
|
||||
|
||||
myconf="${myconf} --enable-backend-flint --enable-backend-remote"
|
||||
|
||||
econf $myconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}"
|
||||
use doc || rm -rf "${D}usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS HACKING PLATFORMS README NEWS
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check VALGRIND=
|
||||
}
|
|
@ -1,63 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="${PN}-core-${PV}"
|
||||
|
||||
DESCRIPTION="Xapian Probabilistic Information Retrieval library"
|
||||
HOMEPAGE="http://www.xapian.org/"
|
||||
SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc static-libs -cpu_flags_x86_sse +cpu_flags_x86_sse2 +brass +chert +inmemory"
|
||||
|
||||
DEPEND="sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
ewarn
|
||||
if use cpu_flags_x86_sse2; then
|
||||
ewarn "Using sse2"
|
||||
myconf="${myconf} --enable-sse=sse2"
|
||||
else
|
||||
if use cpu_flags_x86_sse; then
|
||||
ewarn "Using sse"
|
||||
myconf="${myconf} --enable-sse=sse"
|
||||
else
|
||||
ewarn "Disabling sse and sse2"
|
||||
myconf="${myconf} --disable-sse"
|
||||
fi
|
||||
fi
|
||||
ewarn
|
||||
|
||||
myconf="${myconf} $(use_enable static-libs static)"
|
||||
|
||||
use brass || myconf="${myconf} --disable-backend-brass"
|
||||
use chert || myconf="${myconf} --disable-backend-chert"
|
||||
use inmemory || myconf="${myconf} --disable-backend-inmemory"
|
||||
|
||||
myconf="${myconf} --enable-backend-remote --program-suffix="
|
||||
|
||||
econf $myconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}"
|
||||
use doc || rm -rf "${D}usr/share/doc/${PF}"
|
||||
|
||||
dodoc AUTHORS HACKING PLATFORMS README NEWS
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check VALGRIND=
|
||||
}
|
|
@ -1,8 +1,6 @@
|
|||
DIST Search-Xapian-1.2.19.0.tar.gz 63667 SHA256 d9ff745bb3ace7c1c2dbcf4ad65f3e50b3744d16c0a9ee3a51fe7c6541f639c2 SHA512 78ba36f3b8157ef872330b88992012d3f553abc3f2322bbb1d0f3111681dd530e5b57e4989fef645401d19cb4d95f5d284a305c5470efc2911051d1765551a3f WHIRLPOOL 9f81480e6341f3bd65bfd243d95d5b8ecce30cb4b9c531a3dffac48f1d787259988e51a19a32af73693dbbbbba8e08865e1a116a49f9fe4f0b2fa2e78a22c0e8
|
||||
DIST Search-Xapian-1.2.20.0.tar.gz 67128 SHA256 1be6dc77680ba5597bbb3f1cf7ac9fa61de77e9266be2e6a45a7f913b274c139 SHA512 734ed63dc86f904f5b68c7c8e62780d82c27414625c54d4d14e974aa1b2f0b1f0022f0176da072ff4e6fd2a218586dbfc0f85481df60bb0d231ad978c3ec969b WHIRLPOOL 7b8b5a2e9b572e5dbe7671368c31e6ac0052b8c9cbb3052548ed816e75c55696414c1ef57b9c8040c2c5faf4371afd0272cf57b8557cc028f7f4ca4cdcb825ef
|
||||
DIST Search-Xapian-1.2.21.0.tar.gz 67726 SHA256 34cb6279c3394b763e16ff9ae6b48942bdddb494312548366156cfdb4d8c70b5 SHA512 e2ffbf1a880fbda000020f7d9310b71690b26267d9324dd4ee05268b348ac5e5974c1c1feb097cf6bb3c267e5b440422a0153167b916cd2215749df236c2e883 WHIRLPOOL f34ba0070fb41e0efeb2aff4852ef8717b216184c79878196c50650f009d6e48d216b8dd1f9cd07031fb2be713faf5a3e9c8e1184469fed69fa745f69bb5572a
|
||||
EBUILD Search-Xapian-1.2.19.0.ebuild 784 SHA256 57afd6ae71221d5d31069fad620457bd649611219b908142d7729a78ed372312 SHA512 fadb6df994d9bb2f27d4c80d2666841b63df342bb1869d5dbebb5ad0cd9b911a78d2e5744625b7ff0807d36c48b5a7d430824afc5d42048e5e962e1db262571c WHIRLPOOL 71a4350c5458eef0a97f8b55f5bcd577d77307664beada5be9d0a8962316d9bbfdd34055526c22788672602a1a64aa960ab2f31cf72e8413cd33d0ce4998189f
|
||||
EBUILD Search-Xapian-1.2.20.0.ebuild 792 SHA256 f5558bbbd460a3abf13f595bdbe604999888671aa4e1e5e78af50ea107774932 SHA512 150f910b0e635d66b0bfb2c595ef4b9fe8fc24a083313f2e6a073ba8ce19da8d6e83fb514244a3ceffc143bd479c5dd786b9363a95b8d0b652ba2ebc5c67741a WHIRLPOOL ba15ba9a3cdd907f4761b466b66f930e245d4b90c0028e051c2d581ed48da3ac5192bf45535c392a51b2f8b8c96bd71a096ef78842a05e3ec68dbb2d05c43d48
|
||||
EBUILD Search-Xapian-1.2.21.0.ebuild 792 SHA256 f5558bbbd460a3abf13f595bdbe604999888671aa4e1e5e78af50ea107774932 SHA512 150f910b0e635d66b0bfb2c595ef4b9fe8fc24a083313f2e6a073ba8ce19da8d6e83fb514244a3ceffc143bd479c5dd786b9363a95b8d0b652ba2ebc5c67741a WHIRLPOOL ba15ba9a3cdd907f4761b466b66f930e245d4b90c0028e051c2d581ed48da3ac5192bf45535c392a51b2f8b8c96bd71a096ef78842a05e3ec68dbb2d05c43d48
|
||||
MISC ChangeLog 9297 SHA256 b8a1b79633ec3bb2213909cba3078b16fb1e456d79af14c6b5d001b849989008 SHA512 ff9281b05e499d8b42b5fc1741ffa33bb313638fb96cbbccf07aa3ccc93099e4deca3cd9331f8c740f2162d97fe55524d86c881a7cc441719148e4f3dcdc09c7 WHIRLPOOL 25ca84d1df82605f90de4b171edcb662fe19da50d973219c00c1efdd201891b570d2afce86021d6d5f05f51c0ddfcb52522dbb74cb85f312992cef4a3b16be11
|
||||
MISC metadata.xml 4044 SHA256 1728bb683fd43e3cb259952505a235fb869c4c313a1e11f840ef8a36ac708b28 SHA512 9c303e07e8401a5838fc6c8db2b367c10a9b6a55a29cfeb8bc0d82ecddcf511a5fa8845b59737f6a2e8a43a3fcf1c31a31c6ae257997077ccdd1c8798400e508 WHIRLPOOL d07e56a16b8a93d197362d94c4a7dc786414b7769bb7472aac4dc5bc77727416e603ecd4d5799476532cae12fd42c9cea3d8ae98d62966c1757046c2940bde4c
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MODULE_AUTHOR=OLLY
|
||||
inherit perl-module toolchain-funcs versionator
|
||||
|
||||
VERSION=$(get_version_component_range 1-3)
|
||||
|
||||
SRC_URI+=" http://oligarchy.co.uk/xapian/${VERSION}/${P}.tar.gz"
|
||||
DESCRIPTION="Perl XS frontend to the Xapian C++ search library"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="~dev-libs/xapian-${VERSION}
|
||||
!dev-libs/xapian-bindings[perl]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Module-Build"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
use examples && {
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/*
|
||||
}
|
||||
}
|
|
@ -2,7 +2,8 @@ AUX 1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch 5
|
|||
AUX 1.9-scripts-location.patch 350 SHA256 4b6fd589db5a13e0d4af4a5be762e4409b55226cb45ac984e7b162a309f3a022 SHA512 d664642e85ef64058cfc21563e3f85cc6cd70225fab4752672f172c74724eaa7d327b240eaa943c41445fabb241879b27bfe3a7bfb881bcbf08041af149e4114 WHIRLPOOL 5029a7737aabac5835e2deef046ac75bbdb700272e9d57e66af909d81134f763ab6b735682b767ac79d3926f49b82c5c623017def5d889c3e0c752f2d00f4e34
|
||||
AUX 2.3.1-shared-lib.patch 525 SHA256 865514044a180aaf707054aafbf78f8b834aedd4cee96f2fbafdff5360dd219a SHA512 e7c5e4a6ed36e4fe74ea30fc5c936a7ff147a25b275cad5713b6f492b042ac64950086430cee0c89baf1b1e084858a40f61b884c88fdd5a39addc3a452f41b83 WHIRLPOOL 5ac8d50805b16eec50b309f3812011ede31564b16d2c782dce4eb006b37accc2c4818134cc562da5fea5c77fa3fdb909bbba707bef1ee0c440b5cce039d2ba94
|
||||
AUX pypy3-2.4.0-gcc-4.9.patch 967 SHA256 58bb9f58c45cd928a82e1f2c59b5b12a864e1554bd3436a64a8e76a3a3da5167 SHA512 7602e3172fc1cbb9ef1d6c2c56cde4b9b515ad8e95b28b9308b2614fbeab96e3e05b67b020bc0f7494d12b930bf42b2ef0fc931200ba028297068afe021cd62d WHIRLPOOL 3f8cf9d1b8629842b7f09ef928b2e85e058c077eb529ae6a8133d755b809b84631a371c72660dd5b6538bba1f1ed6b7c298b9523c23eaa465cd93da0286a0689
|
||||
AUX pypy3-2.4.0-libressl.patch 7856 SHA256 c7a973f3d255ed3589e6f733792659528b75c8e3758defa80724eb955f6c8e51 SHA512 cdbb8cfb0e19b4506396850174d8b35dcb027a60af1cc06f9689dd7f938e82bf43a4f79f1bc26f094b8628c1f2fc470c0569d3c714c7bd34d0970eece98c9be5 WHIRLPOOL a930e08148d11d46064411cd93b2469f66561c479db44d6a25169048e68e71001f4e7d02d893e732e17ca95c5c9ced0ec484ce9e1960f4c2c38619a9b8e4d901
|
||||
DIST pypy3-2.4.0-src.tar.bz2 14693194 SHA256 d9ba207d6eecf8a0dc4414e9f4e92db1abd143e8cc6ec4a6bdcac75b29f104f3 SHA512 7e2b0c21f1833b8cd61251c2d58c6a9f99207e5d582618f0036886ff28dcb313541dce1c36bd1b57b332a36a94b13e416bb7b67110be7c8ece8283749ba712be WHIRLPOOL bd02009c828b7b491b46b260d687d268561e5372766adccbcb58e87a3f1c545f293c54e5cdd6e6b7fb95feb678677137211ee890f106140ce1bc256f8563d2cd
|
||||
EBUILD pypy3-2.4.0.ebuild 6199 SHA256 04d06b387a2fdf143fa0895058d11d9d299c05ae6ebf628cfb691ac233af7937 SHA512 71136e8ddc8658e00042982c3168ada902c96b1440152ffc20ac8d5fedf3e5d90c50a8c2357617fb6366ba55b8b5b59145e54edd7fd0fb84f0e67bab1fcc4d76 WHIRLPOOL 1cfd2e2cb37450be8d2185f17b6ce59b54272b617d4f9eee733f1a3ea13068a0d44f64b4689828cb01632b0c48dcf620f734dcd1986e0fcad7373e8ba2ccc7f1
|
||||
EBUILD pypy3-2.4.0.ebuild 6307 SHA256 6faec581ba6618b48accaea3dde64945b65aebfe5d49a238c67b3dc358b94eba SHA512 19785a284b3817802eb4137308276f32ccc64e985ea798ee3a4b6467146bd2b5d2bd7b236889cf67bb45d00a8997b4eaa87088f50f600948e8872f4a0fbab1db WHIRLPOOL 1bca62516ee08be9e1554e9398b544868dcf8bd80b52dd7cb07203c0c31afd4d570af11c9b586dab539f9b3b3e948638e11c843a7f0f67caa2e7d5ef89f94582
|
||||
MISC ChangeLog 1344 SHA256 7977d9be34ce1b3faffeb354d9a2acded00259e353af50632e071b43b026d8e4 SHA512 49ed62552780d9581a2cfe1b78a68d1a3ed4de603729fac05346148c00de9ccf66f4b2aaee38379f209a1ad8dba23b3a0fd773aa315a50e01258960f29796b28 WHIRLPOOL 95cf929498ad50c099b66f6c7b5f036d15ffc53b6c1a69fd60f0a529b104ec018ac2f676fd62b6b7cee4a7fa7fa99389437edc1cdd5efe3c2cbc4df957f6d4bf
|
||||
MISC metadata.xml 801 SHA256 7826fa81beb7b614d865d22dc28685b6a337cac5616c5a474b06d7141f33e74e SHA512 e4930c243257594dcaa6f75330f81c8a2ffa074c5d66f90c7f032555b210e8eb9d83f1906d412864a05dd8fb3bc371ecf91e0e6bf4ef75b7ca1144e2e5fb57ab WHIRLPOOL b1d45fc1066f7157eb0787e7dd66965ff7a464f68730f58eaec12aa65e005e5f1b8ece061585015ff12551e9238eb8ebd5b4a5de0d3edbe3f00d28aa6cb5c317
|
||||
|
|
187
dev-python/pypy3/files/pypy3-2.4.0-libressl.patch
Normal file
187
dev-python/pypy3/files/pypy3-2.4.0-libressl.patch
Normal file
|
@ -0,0 +1,187 @@
|
|||
From 66bef80988c9efe60b61c6bc05f3206b4c3df7e8 Mon Sep 17 00:00:00 2001
|
||||
From: hasufell <hasufell@gentoo.org>
|
||||
Date: Mon, 12 Oct 2015 20:43:50 +0200
|
||||
Subject: [PATCH] Add LibreSSL support, patches backported from upstream
|
||||
|
||||
https://bitbucket.org/pypy/pypy/pull-requests/333/deal-with-platforms-without-rand_egd-take/diff
|
||||
---
|
||||
pypy/module/_ssl/interp_ssl.py | 34 +++++++++++++++-----------
|
||||
pypy/module/_ssl/test/test_ssl.py | 8 +++---
|
||||
rpython/rlib/ropenssl.py | 6 ++++-
|
||||
rpython/rtyper/tool/rffi_platform.py | 12 ++++++---
|
||||
rpython/rtyper/tool/test/test_rffi_platform.py | 24 +++++++++++++++++-
|
||||
5 files changed, 61 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py
|
||||
index 0cac165..f210167 100644
|
||||
--- a/pypy/module/_ssl/interp_ssl.py
|
||||
+++ b/pypy/module/_ssl/interp_ssl.py
|
||||
@@ -310,20 +310,26 @@ if HAVE_OPENSSL_RAND:
|
||||
res = libssl_RAND_status()
|
||||
return space.wrap(res)
|
||||
|
||||
- @unwrap_spec(path=str)
|
||||
- def RAND_egd(space, path):
|
||||
- """RAND_egd(path) -> bytes
|
||||
-
|
||||
- Queries the entropy gather daemon (EGD) on socket path. Returns number
|
||||
- of bytes read. Raises socket.sslerror if connection to EGD fails or
|
||||
- if it does provide enough data to seed PRNG."""
|
||||
- with rffi.scoped_str2charp(path) as socket_path:
|
||||
- bytes = libssl_RAND_egd(socket_path)
|
||||
- if bytes == -1:
|
||||
- raise ssl_error(space,
|
||||
- "EGD connection failed or EGD did not return "
|
||||
- "enough data to seed the PRNG")
|
||||
- return space.wrap(bytes)
|
||||
+ if HAVE_OPENSSL_RAND_EGD:
|
||||
+ @unwrap_spec(path=str)
|
||||
+ def RAND_egd(space, path):
|
||||
+ """RAND_egd(path) -> bytes
|
||||
+
|
||||
+ Queries the entropy gather daemon (EGD) on socket path. Returns number
|
||||
+ of bytes read. Raises socket.sslerror if connection to EGD fails or
|
||||
+ if it does provide enough data to seed PRNG."""
|
||||
+ with rffi.scoped_str2charp(path) as socket_path:
|
||||
+ bytes = libssl_RAND_egd(socket_path)
|
||||
+ if bytes == -1:
|
||||
+ raise ssl_error(space,
|
||||
+ "EGD connection failed or EGD did not return "
|
||||
+ "enough data to seed the PRNG")
|
||||
+ return space.wrap(bytes)
|
||||
+ else:
|
||||
+ # Dummy func for platforms missing RAND_egd(). Most likely LibreSSL.
|
||||
+ @unwrap_spec(path=str)
|
||||
+ def RAND_egd(space, path):
|
||||
+ raise ssl_error(space, "RAND_egd unavailable")
|
||||
|
||||
|
||||
class SSLSocket(W_Root):
|
||||
diff --git a/pypy/module/_ssl/test/test_ssl.py b/pypy/module/_ssl/test/test_ssl.py
|
||||
index 3204610..9722fd5 100644
|
||||
--- a/pypy/module/_ssl/test/test_ssl.py
|
||||
+++ b/pypy/module/_ssl/test/test_ssl.py
|
||||
@@ -33,7 +33,8 @@ class AppTestSSL:
|
||||
assert isinstance(_ssl.OPENSSL_VERSION_INFO, tuple)
|
||||
assert len(_ssl.OPENSSL_VERSION_INFO) == 5
|
||||
assert isinstance(_ssl.OPENSSL_VERSION, str)
|
||||
- assert 'openssl' in _ssl.OPENSSL_VERSION.lower()
|
||||
+ lower_version = _ssl.OPENSSL_VERSION.lower()
|
||||
+ assert 'openssl' in lower_version or "libressl" in lower_version
|
||||
|
||||
def test_RAND_add(self):
|
||||
import _ssl
|
||||
@@ -64,8 +65,9 @@ class AppTestSSL:
|
||||
|
||||
def test_sslwrap(self):
|
||||
import ssl, _socket, sys, gc
|
||||
- if sys.platform == 'darwin' or 'freebsd' in sys.platform:
|
||||
- skip("hangs indefinitely on OSX & FreeBSD (also on CPython)")
|
||||
+ if sys.platform == 'darwin' or 'freebsd' in sys.platform or \
|
||||
+ 'openbsd' in sys.platform:
|
||||
+ skip("hangs indefinitely on OSX & BSD (also on CPython)")
|
||||
s = _socket.socket()
|
||||
ss = ssl.wrap_socket(s)
|
||||
|
||||
diff --git a/rpython/rlib/ropenssl.py b/rpython/rlib/ropenssl.py
|
||||
index c36779d..6fe45d0 100644
|
||||
--- a/rpython/rlib/ropenssl.py
|
||||
+++ b/rpython/rlib/ropenssl.py
|
||||
@@ -168,6 +168,9 @@ OBJ_NAME = rffi.CArrayPtr(OBJ_NAME_st)
|
||||
|
||||
HAVE_OPENSSL_RAND = OPENSSL_VERSION_NUMBER >= 0x0090500f
|
||||
HAVE_SSL_CTX_CLEAR_OPTIONS = OPENSSL_VERSION_NUMBER >= 0x009080df
|
||||
+HAVE_OPENSSL_RAND_EGD = rffi_platform.has('RAND_egd("/")',
|
||||
+ '#include <openssl/rand.h>',
|
||||
+ libraries=['ssl', 'crypto'])
|
||||
|
||||
def external(name, argtypes, restype, **kw):
|
||||
kw['compilation_info'] = eci
|
||||
@@ -194,7 +197,8 @@ ssl_external('CRYPTO_set_id_callback',
|
||||
if HAVE_OPENSSL_RAND:
|
||||
ssl_external('RAND_add', [rffi.CCHARP, rffi.INT, rffi.DOUBLE], lltype.Void)
|
||||
ssl_external('RAND_status', [], rffi.INT)
|
||||
- ssl_external('RAND_egd', [rffi.CCHARP], rffi.INT)
|
||||
+ if HAVE_OPENSSL_RAND_EGD:
|
||||
+ ssl_external('RAND_egd', [rffi.CCHARP], rffi.INT)
|
||||
ssl_external('SSL_CTX_new', [SSL_METHOD], SSL_CTX)
|
||||
ssl_external('SSL_get_SSL_CTX', [SSL], SSL_CTX)
|
||||
ssl_external('TLSv1_method', [], SSL_METHOD)
|
||||
diff --git a/rpython/rtyper/tool/rffi_platform.py b/rpython/rtyper/tool/rffi_platform.py
|
||||
index 1760877..1d56c20 100755
|
||||
--- a/rpython/rtyper/tool/rffi_platform.py
|
||||
+++ b/rpython/rtyper/tool/rffi_platform.py
|
||||
@@ -17,12 +17,15 @@ from rpython.rlib.rarithmetic import r_uint, r_longlong, r_ulonglong, intmask
|
||||
#
|
||||
# Helpers for simple cases
|
||||
|
||||
-def eci_from_header(c_header_source, include_dirs=None):
|
||||
+def eci_from_header(c_header_source, include_dirs=None, libraries=None):
|
||||
if include_dirs is None:
|
||||
include_dirs = []
|
||||
+ if libraries is None:
|
||||
+ libraries = []
|
||||
return ExternalCompilationInfo(
|
||||
post_include_bits=[c_header_source],
|
||||
- include_dirs=include_dirs
|
||||
+ include_dirs=include_dirs,
|
||||
+ libraries=libraries,
|
||||
)
|
||||
|
||||
def getstruct(name, c_header_source, interesting_fields):
|
||||
@@ -75,9 +78,10 @@ def getintegerfunctionresult(function, args=None, c_header_source='', includes=[
|
||||
CConfig._compilation_info_.includes = includes
|
||||
return configure(CConfig)['RESULT']
|
||||
|
||||
-def has(name, c_header_source, include_dirs=None):
|
||||
+def has(name, c_header_source, include_dirs=None, libraries=None):
|
||||
class CConfig:
|
||||
- _compilation_info_ = eci_from_header(c_header_source, include_dirs)
|
||||
+ _compilation_info_ = \
|
||||
+ eci_from_header(c_header_source, include_dirs, libraries)
|
||||
HAS = Has(name)
|
||||
return configure(CConfig)['HAS']
|
||||
|
||||
diff --git a/rpython/rtyper/tool/test/test_rffi_platform.py b/rpython/rtyper/tool/test/test_rffi_platform.py
|
||||
index bfa069e..4feae87 100644
|
||||
--- a/rpython/rtyper/tool/test/test_rffi_platform.py
|
||||
+++ b/rpython/rtyper/tool/test/test_rffi_platform.py
|
||||
@@ -271,12 +271,34 @@ def test_array():
|
||||
[("d_name", lltype.FixedSizeArray(rffi.CHAR, 1))])
|
||||
assert dirent.c_d_name.length == 32
|
||||
|
||||
-def test_has():
|
||||
+def test_has_0001():
|
||||
assert rffi_platform.has("x", "int x = 3;")
|
||||
assert not rffi_platform.has("x", "")
|
||||
# has() should also not crash if it is given an invalid #include
|
||||
assert not rffi_platform.has("x", "#include <some/path/which/cannot/exist>")
|
||||
|
||||
+def test_has_0002():
|
||||
+ assert rffi_platform.has("pow", "#include <math.h>", libraries=["m"])
|
||||
+
|
||||
+def test_has_0003():
|
||||
+ """multiple libraries"""
|
||||
+ assert rffi_platform.has("pow", "#include <math.h>", libraries=["m", "c"])
|
||||
+
|
||||
+def test_has_0004():
|
||||
+ """bogus symbol name"""
|
||||
+ assert not rffi_platform.has("pow", "#include <math.h>",
|
||||
+ libraries=["boguslibname"])
|
||||
+
|
||||
+def test_has_0005():
|
||||
+ """bogus symbol name and lib name"""
|
||||
+ assert not rffi_platform.has("bogus_symbol_name", "#include <math.h>",
|
||||
+ libraries=["boguslibname"])
|
||||
+
|
||||
+def test_has_0006():
|
||||
+ """missing include"""
|
||||
+ assert not rffi_platform.has("pow", "", libraries=["m"])
|
||||
+
|
||||
+
|
||||
def test_verify_eci():
|
||||
eci = ExternalCompilationInfo()
|
||||
rffi_platform.verify_eci(eci)
|
||||
--
|
||||
2.6.1
|
||||
|
|
@ -16,13 +16,14 @@ SRC_URI="https://bitbucket.org/pypy/pypy/downloads/${P}-src.tar.bz2"
|
|||
LICENSE="MIT"
|
||||
SLOT="0/$(get_version_component_range 1-2 ${PV})"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 gdbm +jit low-memory ncurses sandbox shadowstack sqlite cpu_flags_x86_sse2 tk"
|
||||
IUSE="bzip2 gdbm +jit libressl low-memory ncurses sandbox shadowstack sqlite cpu_flags_x86_sse2 tk"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3:0=
|
||||
virtual/libffi:0=
|
||||
virtual/libintl:0=
|
||||
dev-libs/expat:0=
|
||||
dev-libs/openssl:0=
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
bzip2? ( app-arch/bzip2:0= )
|
||||
gdbm? ( sys-libs/gdbm:0= )
|
||||
ncurses? ( =sys-libs/ncurses-5*:0= )
|
||||
|
@ -79,6 +80,7 @@ src_prepare() {
|
|||
"${FILESDIR}/1.9-scripts-location.patch" \
|
||||
"${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" \
|
||||
"${FILESDIR}"/2.3.1-shared-lib.patch # 517002
|
||||
epatch "${FILESDIR}"/${PN}-2.4.0-libressl.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
DIST torment-2.0.3.tar.gz 23457 SHA256 577fb8227087100ec1e3c29fc422dfab8813f77881f74b7f68b41a7a9abde9ca SHA512 a112fdd20da24ecf2ac0d8acb50e226bdc60cd78ce2b903333cde20fa78c593e31ff5ef9922c0b9f5cd32ac5c910ee287f2534ff5669cd21b12a66a485d0f409 WHIRLPOOL 060fa7ec2200b7fddddd1fd128ca09ad0f30314707da7cf393e30c614f894169f3724c51ab4e2c2627ba51a1345a6079b804c5ce0f02f2dae54090bbd2b20cb9
|
||||
DIST torment-2.0.4.tar.gz 27980 SHA256 1968ffe76f4e759c0857828eff30074fbdcff72c2ff23ef13023c1cdd7608037 SHA512 aa6689387648b0c659487c99dbdfac14e2bdb9dfdaf5d1b777ccb50755bbf5ce0c576ed4682bb9ebcd55ed8babc4c5727e01b9843206bee26561b0b930a0d4c4 WHIRLPOOL 27c50a9dc61108ddc2feaa5c88fbde8a4eb6032b2fdbdf9eb7aaa1b2ad6d7a8c5700e48bba1e5aaa5b2fd679e150881827e4622ce3f65cc601093691a7a2aca0
|
||||
DIST torment-2.1.0.tar.gz 30608 SHA256 d8d21efd1a30c0bb964b43e47b41cc261d4b2417b09fd3945090bf48fd3d0248 SHA512 502a61372f61d653f98ed20e0d074d1c411cc33be08ae91fec4e7606b1d3d3b78fd4fee8b1908b4fc721e7fe6029400063e9a94830a589e572baf824e7e0a261 WHIRLPOOL 7fe54b057ea89823b1b861c61e771f02a8a66a755f5667c89728bfab8e52006524cc960fece75f77d00b1aa894e0f3853df59a79cddf70a28b27b08d31de856b
|
||||
EBUILD torment-2.0.3.ebuild 959 SHA256 9cd338db5f710ba606ce9e55dcd5ecf0ebab9e87d9a01191e62bdae8e193df3e SHA512 253786ce2a59e9540a17e1241f060e495b44fec330fcf6177fe164d978ef1597c0ac1c2624ea96210faebf4c0a3f6bc259c82ed6be9b7a44f95b080cc8c2d172 WHIRLPOOL aeb0ff57e0c02f485a1cc3685fa2b59af8aee46c0f98fb790e88328b5050b687728e4b3834ea8834103831cb55d9acaa7038eb725a778cb67bc613ba007b60cc
|
||||
DIST torment-3.0.0.tar.gz 33898 SHA256 ad3ead69f1c9e5ec1dc92a83bceca186f0d6a4544f983222c32c4d0a5e7f3b45 SHA512 1fac30a0e97a6505c7e9cbbfaa141e2378cf26345fd4679d6eff75a4472054771b2421b044f9ff0daa8671e1b27989508e7a9885dfb98e3a07bd3e842d4bbb77 WHIRLPOOL 353cd7a8b66f2936c5476e8e50e2f6428bdc6f4e0bdbb2ea99c93018ebe6587ad4d3c6310fd55fe21cbdefc3174425a34d10aa072cbc27ebcbe3f5f114f4c913
|
||||
EBUILD torment-2.0.4.ebuild 959 SHA256 9cd338db5f710ba606ce9e55dcd5ecf0ebab9e87d9a01191e62bdae8e193df3e SHA512 253786ce2a59e9540a17e1241f060e495b44fec330fcf6177fe164d978ef1597c0ac1c2624ea96210faebf4c0a3f6bc259c82ed6be9b7a44f95b080cc8c2d172 WHIRLPOOL aeb0ff57e0c02f485a1cc3685fa2b59af8aee46c0f98fb790e88328b5050b687728e4b3834ea8834103831cb55d9acaa7038eb725a778cb67bc613ba007b60cc
|
||||
EBUILD torment-2.1.0.ebuild 959 SHA256 9cd338db5f710ba606ce9e55dcd5ecf0ebab9e87d9a01191e62bdae8e193df3e SHA512 253786ce2a59e9540a17e1241f060e495b44fec330fcf6177fe164d978ef1597c0ac1c2624ea96210faebf4c0a3f6bc259c82ed6be9b7a44f95b080cc8c2d172 WHIRLPOOL aeb0ff57e0c02f485a1cc3685fa2b59af8aee46c0f98fb790e88328b5050b687728e4b3834ea8834103831cb55d9acaa7038eb725a778cb67bc613ba007b60cc
|
||||
EBUILD torment-3.0.0.ebuild 949 SHA256 30dc61b94fbd3edf202f5eaa40f2b69b61cbc8eebaf24bf0d1e7417df26a3ad6 SHA512 77b52add35d641230183e1d7f5371b9cfc7a1fc75bddaee6fbb672a1397974c65aefa79a6c058035f3bbddbe27594196bd9162551e26a1d0b8a0a518d564d53c WHIRLPOOL 3347b66e456d51484c57ab320789e7cdb3349c195f62fd2222845a6de2c82a3c6b6f886428a865cd413c6f358ad13bdb4aeb6c3208546fa2f96eaa008aec65f1
|
||||
MISC ChangeLog 1253 SHA256 bf80c1d6ce78ae795a0979e90cf1f6f72b09d59edf61de7980bf0b72ef158ee5 SHA512 91bbc11bed289ceaae8a97355910bb23db3795ad9d15831d4086817085577a168498df7abb95a392365147747f6041827da252a927defa26f9e96ed43e834597 WHIRLPOOL 1a1e3115d54fdf6983e0f31d064f4465e1f4757041ee1a87aa8db4f28e0b332036efdd3463e72dbac19aba2dfaaed8efcdec3b07919a30cfc235afe563e75965
|
||||
MISC metadata.xml 405 SHA256 a687bde6ebc74759907638365633f1bc68abd09bea77c845de5e41caca8ad5aa SHA512 3908b20e6dc8f0f962e1d2bc5f9c4c53058159166b7cd9ec26d0e80e3b44abdfeea8bc79bd89a6a31203ce31c11e10cb59091171c3eba06d514c596de7f475fc WHIRLPOOL 0981672521b261cea8e4913e5f0de7db70236a5c774e8b8bfd9a1022a4c2c37d7c3a94809fd76a620dcfa30667f421b1736f0d0946b90afe221bdacee5215ac7
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python3_3 python3_4 )
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
|
@ -1,17 +1,12 @@
|
|||
DIST sprockets-2.11.3-git.tgz 195342 SHA256 010a3cfcee4a196552b19d07ad1b00221be9e3d117ad82a977824d3041fec8d5 SHA512 2fd26441089bc5c9474d9b443a9e72febde4566403592180e4e1fa5dce566e2fc37fde88f8cf804e732cbe588ba8347b57f7016124467f826a9de875df67e849 WHIRLPOOL af174e377604697cd746665852ed4b4ed551805c90f0530f92db61114dabf21f81b540c779e9f3a5d27131d52f9455ed09000ea1543392e5fb1df696038178ff
|
||||
DIST sprockets-2.12.3-git.tgz 195647 SHA256 998ed806114a50b9168ad569c67d037fa866c185b2620924abdf4c542123529b SHA512 fd9544ed946bdf95968f198e74a36b682613d68e29a46708fd46c8b58792bf52526936b4c8d9ec3acea8f7cce789a69bcf4da3269741d43e186001061cbed03a WHIRLPOOL 4305464c17b275a6956fde436e1a65004da29580e0cc5f9962af9911778bf54ff303235fcfea85f28b1c7735e6f021fd63b1e719286efbd72a0be3dd95b14210
|
||||
DIST sprockets-2.2.3-git.tgz 185139 SHA256 d8d8c59a4f129357f5d9093db02d8e5df0b2df7aaeee23fc6c5864fdbc29997c SHA512 6850423efbb8521e4f4980e30e1464821be148474b511aca05478078b2601cf569a244cddeb9f164ba759d4207dcc2605c89b4b5b45431ebbee26b56f07b5e01 WHIRLPOOL 5b8eb85651975429c994e3e741d31a7989b031d51c4d9fb3d2a70da700a9187e888e100965b4f034f13d38d9066cb48a8c201841d2d639398c1c4f7c0dc1985e
|
||||
DIST sprockets-3.1.0-git.tgz 290551 SHA256 b49a8f300adb526f9e1fa65e5e648e113885e820f33a63a004afaf3d37e9ea90 SHA512 e74e7ac1e29d92dc6ef064e103c7b2af3cf202ef2bfd5c8ec4215d2ae60cf1283cb53ba2496d1aabae87497dd372a0caf67b8a9be261d9d44b0df35735aaf6ca WHIRLPOOL 28de9f6ffefb959eac4bb845b252e3b138d6e1b6a63b550c8af83d1be9392d2d727d23e243214a92bce5bb118f7f366ad9d5156d21c57b986a93b83fb077d707
|
||||
DIST sprockets-3.2.0-git.tgz 290551 SHA256 231cde13cc79f548d72eb53aef52515aff885461fde6c98281133f973c3fccd8 SHA512 c146ce41518d86754f60478b4501df4fef8f77d3f6210637d460d8d7aad182908d5eea5f6677aac32dab6bf2ced0078d5cb9d00b5a4a51252c1c079041254a3e WHIRLPOOL 79bd194a44475afd8ecafd37179eb6d0fe99d05c4ceb55c7e0b6f3cc558309284c4c030bdc897f8e1f575900abaab42f8e4162cbc3318cdd9153cf61cf40654f
|
||||
DIST sprockets-3.3.4-git.tgz 297110 SHA256 b8059ed5be77a7a9f8aefbf4aef873851e6fd198af454b20f05986e83dd7dff1 SHA512 907e0d24532c37e3085304c13b633467cf2793a2b2b899e270f1022cbcbde3c9979d4bdff6bd20560758c76c214e45b8b174f5992ff767ad499807d9c71721ff WHIRLPOOL 77d97c9e028c136d9b26d17c88b0a8c3bab21c60a9e474710248e5540de4db374434539a82146766704c0dbe79d4270c559d94aee2713889cb4b2cd2eed48ee2
|
||||
DIST sprockets-3.3.5-git.tgz 297306 SHA256 f8cba6b61de022e3ab5d4fc14bcaac487da405251e651234a9c24187bf38cec9 SHA512 d7f850a333cf1930e68d0c630df8afec688dd1f219a8c8d03c1b7f093bc0103044b27272623e70225b0f5334c450e604067b41fbbea6a9b4ddf1922ee280565f WHIRLPOOL 8aa934a435023f4c7ecbcf3d93f2ad7af6bcdb1cbf7f20d128f69dd28bec61e5135968154881c071556d8b9af950f7e08a8ce5ca3e91d9251889a55d015cb658
|
||||
DIST sprockets-3.4.0-git.tgz 297425 SHA256 bb5f3b64a3413596b703bf4cf36644a96db908a1301f89e0e09c2b3fa85ae238 SHA512 a4d1860d91109e2e54323b9bc3432e07f0d48580cfb1d543c2072cb1a144317a0597e1833a731a7555d76658c7110b04f85b5706f91e9ffdf88c9a1df14deb05 WHIRLPOOL efa286c1d73c52798bd4313ba6d4e80d132a2f2ad6af848ea8f80a54c279fcc3f29f6a87646793098033c2f3678562bf63b9fa552d9139872df38ed458ba2b6d
|
||||
EBUILD sprockets-2.11.3.ebuild 2011 SHA256 2f5721d09978c47f16fa2abe150d4e1f1d7fb3f736b18e37b0b7ffb9b8748bdd SHA512 2556ad67aa1d2364dc8a36c036a1a8e8a655997e4d1111f81dbb231dab96c0bdf13ad5916fabc3be9233e122f2c65963fd2cc940c66adcf74481e0924ac1267e WHIRLPOOL d644a21b4bd094045f6e7eb23f5eed3d185ee674d9a81d6da554c21ccbacce6a214c2cb143f4b795c56ef98e7bfedd9719b8ce0d738b130b8176c69170bd3030
|
||||
EBUILD sprockets-2.12.3-r1.ebuild 2344 SHA256 2018e7353c302e8a3aa0fba673112d1298c42a333855f8ef0f4d54873e46ee27 SHA512 99a75601a1ba3aca100638210c90c5e33db6d4e89c806bcc14a064e67e6dba92704d2a43b0d905a823092328164e39caf7f628a7f5aa56dfc45dac69b6fe7a2d WHIRLPOOL 11e46208667c0d5ce8acfaa175c54d00f6084771940c0701ac7bbd15e844244845156f1050f4f930fe5884158ca9f11e9e266e20229d31116c17e5eab8743eea
|
||||
EBUILD sprockets-2.12.3.ebuild 2034 SHA256 700a5613fa3d7d432d79ad05d655501aa4e053f92e6c527fce7c3016bbae1adb SHA512 fcd7c3c920309b50bf07e3791b0ebc49551be8a71ef2531f91c77a63b3590067d7f7091b9b50fb3089e50813c328cfbfe94e861d02b1ea83b56b95cfbed4c6dd WHIRLPOOL 4b2c9e1c88c2d37bb6c9394abd2b65675f2f28bf8d0cb5771bb3c1374c947702e2ed1fc732bb5863aa18fd1336d5d18f726918f0eccf990fdcf065287f86be94
|
||||
EBUILD sprockets-2.2.3.ebuild 2062 SHA256 de4211aac7181d5ac8abbd6ab21738c224bab4b534f49a9e62db3a45ab14245b SHA512 2437fceb6f37caf5263a795c1715e4d37dfe9f19ffe8ca0d34af8168f76d9e56e2ba2428f42658fa42b70edd558f8158d9b93d9d2a6e12af7ba65ab689220cc9 WHIRLPOOL bfb064895484e26309bb3583444fd6b18cb2f8408b886358db75b5f74c0151d739566d6e429703812260dece231c2b739ec05e1ff63f4ab2a822fa41da617cab
|
||||
EBUILD sprockets-3.1.0.ebuild 1619 SHA256 16eb06a26d096879f7215ea30cd10f8c4179147f70efdd0d6325fc6735ebe44b SHA512 b0366e996d93f95782a01c02bee3441de0e2378a08b6bfb1a427c43288e337daf09256212c5c96ff9415d3b6e3ba69de6f4d4498a91f59093d923e0dd351a462 WHIRLPOOL ab430dedaa5965f138a6670e764a0cbe0621bc21f8d144665022fb6770c8773a00591c3e0950f2b53ab3388bbca4a2c5520588ccd0bb41de517d5373c94a15b4
|
||||
EBUILD sprockets-3.2.0.ebuild 1619 SHA256 16eb06a26d096879f7215ea30cd10f8c4179147f70efdd0d6325fc6735ebe44b SHA512 b0366e996d93f95782a01c02bee3441de0e2378a08b6bfb1a427c43288e337daf09256212c5c96ff9415d3b6e3ba69de6f4d4498a91f59093d923e0dd351a462 WHIRLPOOL ab430dedaa5965f138a6670e764a0cbe0621bc21f8d144665022fb6770c8773a00591c3e0950f2b53ab3388bbca4a2c5520588ccd0bb41de517d5373c94a15b4
|
||||
EBUILD sprockets-3.3.4.ebuild 1619 SHA256 16eb06a26d096879f7215ea30cd10f8c4179147f70efdd0d6325fc6735ebe44b SHA512 b0366e996d93f95782a01c02bee3441de0e2378a08b6bfb1a427c43288e337daf09256212c5c96ff9415d3b6e3ba69de6f4d4498a91f59093d923e0dd351a462 WHIRLPOOL ab430dedaa5965f138a6670e764a0cbe0621bc21f8d144665022fb6770c8773a00591c3e0950f2b53ab3388bbca4a2c5520588ccd0bb41de517d5373c94a15b4
|
||||
EBUILD sprockets-3.3.5.ebuild 1619 SHA256 16eb06a26d096879f7215ea30cd10f8c4179147f70efdd0d6325fc6735ebe44b SHA512 b0366e996d93f95782a01c02bee3441de0e2378a08b6bfb1a427c43288e337daf09256212c5c96ff9415d3b6e3ba69de6f4d4498a91f59093d923e0dd351a462 WHIRLPOOL ab430dedaa5965f138a6670e764a0cbe0621bc21f8d144665022fb6770c8773a00591c3e0950f2b53ab3388bbca4a2c5520588ccd0bb41de517d5373c94a15b4
|
||||
EBUILD sprockets-3.4.0.ebuild 1619 SHA256 16eb06a26d096879f7215ea30cd10f8c4179147f70efdd0d6325fc6735ebe44b SHA512 b0366e996d93f95782a01c02bee3441de0e2378a08b6bfb1a427c43288e337daf09256212c5c96ff9415d3b6e3ba69de6f4d4498a91f59093d923e0dd351a462 WHIRLPOOL ab430dedaa5965f138a6670e764a0cbe0621bc21f8d144665022fb6770c8773a00591c3e0950f2b53ab3388bbca4a2c5520588ccd0bb41de517d5373c94a15b4
|
||||
MISC ChangeLog 5727 SHA256 d4fbb58924175404496ddacbb39f376e743e0b976380c0ad4f6341e635a9e86c SHA512 a3420e0657dbc26f08e9d92d2ce4619c57926357be8e581552cda6a7829d5c06e10529264f9be8741f4481a09af9c95bc54382e90800f12ff913990c0c35516e WHIRLPOOL e474b8e625646972a8f4f3529c8e877d38e5f99776b95b6376d429e3d9cef870f7c2f3635f89c07e50afad415aac8ce672340e9fd52774ef1693f8154e1052d0
|
||||
MISC metadata.xml 243 SHA256 576ba495ecef291fc01e608beb35156c7ae319f49a43c5d683187637edb2a29b SHA512 1261fdf06fe04963601ce72d5fb16220fec1ec19a9528e341ccb9d1385700333a257255907402613bf5e21717d9c1b6d4d38abc1e95d1850cb1841b0c584a41a WHIRLPOOL f8fe63885dc38895e6e67b55b633181c68c684c71ba06ed228d47eef47d8169a1dbfd66fde640edea7a81f60ec29d8388837ac22b63ed026d09a884773df24a5
|
||||
|
|
|
@ -1,70 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/sstephenson/sprockets"
|
||||
SRC_URI="https://github.com/sstephenson/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
=dev-ruby/hike-1* >=dev-ruby/hike-1.2
|
||||
=dev-ruby/multi_json-1*
|
||||
=dev-ruby/rack-1*
|
||||
=dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1
|
||||
!!<dev-ruby/sprockets-2.2.2-r1:2.2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
|
||||
# Add missing 'json' require
|
||||
sed -i -e '4irequire "json"' test/test_manifest.rb || die
|
||||
|
||||
# Avoid test breaking on specific javascript error being thrown,
|
||||
# most likely due to using node instead of v8.
|
||||
sed -i -e '/bundled asset cached if theres an error/,/^ end/ s:^:#:' test/test_environment.rb || die
|
||||
|
||||
# Require a newer version of execjs since we do not have this slotted.
|
||||
sed -i -e '/execjs/ s/1.0/2.0/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/rails/sprockets"
|
||||
SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
=dev-ruby/rack-1*:*
|
||||
!!<dev-ruby/sprockets-2.12.3-r1:2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
|
||||
rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
|
@ -1,59 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/rails/sprockets"
|
||||
SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
=dev-ruby/rack-1*:*
|
||||
!!<dev-ruby/sprockets-2.12.3-r1:2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
|
||||
rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
|
@ -1,10 +1,6 @@
|
|||
DIST typhoeus-0.6.9.gem 49152 SHA256 5979555fd430ebec72ab1f5630e8f7679979fb21984d8d9dfe3008d4f91794c8 SHA512 5063d3217f35db29d216327b6eed10d6613d018c496935e78aa8e2b10ec21f3372df11fe48155b45387767d5572efa93e74afb0bb9b10782d28e87dead0294a4 WHIRLPOOL a20d25696804d2d444fa6df145360056dd6170ace42a8cab0a84aa425ae7306173331db8ace402f4a1c596925ee8d52702bc91c967f943361a2a852170b03917
|
||||
DIST typhoeus-0.7.1.gem 50688 SHA256 e81bb253477dd527733b2b512e4f48f474e63efe0e41bb92b119e1442fdad3c7 SHA512 e88656fa2a89da9eed5364a7f4249729a0a28835606211249413e48c481d58a8ee7a5267ea2c2d4d1b7947bab979c1223c4481d78ed1bfe34ea7e3b074dcbf78 WHIRLPOOL 2df03d6fe150b5b2a4892740f045eb1317d1c7650ad83675a4498470c1f6169f023f831f2501edee1d1b9d55e6ca08af43440fd00a2d4b109a2c794e61dc4606
|
||||
DIST typhoeus-0.7.2.gem 51712 SHA256 073fc5b57a49c17cfa0fda61573a4b590b21bd0c27aed9fb6bee432a024644c3 SHA512 bb672b26aa4639b3b7a7b348a564079211710818a711c58522f94125c92776d398cfd8bde8e519484ac6fe4c7c7a2778d34b8f6579ebff6f842f32caa31e2431 WHIRLPOOL 987cf3ecc6cbbf9a6c9c46580711aa1da9629fa0a22ff3df6d34047a7a83bf0e9a8c0a2ceba816075b27a822d50e8b7be3375ad047b4853a830109bc12844cd7
|
||||
DIST typhoeus-0.7.3.gem 51712 SHA256 13d1b1056fcb559d571da52fb13387797ff7b4f99ea157a7ef80e121e9356061 SHA512 2c837504cc81ee3131e5c0cfdd2da6ef123624ee166063ca749d9e001714aa45514d103229eb1d3c42e756acefa83697cd74d856e07ee584d5b5834d67a173b5 WHIRLPOOL ec10bb9a48428abc7c3afa63fc4f20c98b0eca41ab06dee4b28f9480d677b20e1b78080d349a6fa31717790d884eb19d035184756246fe315eb0e321d81a9011
|
||||
EBUILD typhoeus-0.6.9.ebuild 715 SHA256 8c37bc90c96786322d83bbb1efcdcdffad99fa1510ce24257b981456ac9ff504 SHA512 489da95d95e5bfc5541653e781b7adaf9d95f717cb6dd60e47072dc6a307543930810a984a1e87c82fcf6c6f928199aa75fe18cc09b0ba9d8af0f3d0da40d6b0 WHIRLPOOL d5ea937bd5b3233962ced9996966075e4c2b2f3ca87bcbf05341b6f30ece8ecf2e1a975c90bbff9a01eaa3c6a6613aa37d002ab43dda42c877b33779b16dd778
|
||||
EBUILD typhoeus-0.7.1.ebuild 706 SHA256 8da93c0653358490845c6fb0655c4bf3157bbcab6a7644f1266f16e85ad0f339 SHA512 19e982a7877c379535458bcc0a9fc3721f745ab4604545fc3dc816bfb01d92b5b00f053dee0c8a59e578cfcead5c63e74c98c83527ac071b2612574f924546a8 WHIRLPOOL b3efedbcdd77c61afd72ae4d743b677b1ff2c9f0bb9e8d6a7e07a701e38d2bce36d2bda8ccef51ddd3084674c41cd8f414600cd11f37945e22c51a1839fb2cbb
|
||||
EBUILD typhoeus-0.7.2.ebuild 706 SHA256 7451b4b18ed7745ae119ef6af8e29d5beae5783432832cc3fe371c35ce75d9f9 SHA512 b9789aa24f61c227530a61ec223617076912b76dfe60fe17dc0dfb6072128a6c638ccaf19f69d83aceec27b244036aaca940501a015468c021577fbdc08a0d93 WHIRLPOOL a806491717afbc980216a162a2fed0d46a72df16472194024d6874acb821a944845cbfc1b38d171b330b374a4119c86a17fd0599d624ab89581e1bf989011a6e
|
||||
DIST typhoeus-0.8.0.gem 52224 SHA256 28b7cf3c7d915a06d412bddab445df94ab725252009aa409f5ea41ab6577a30f SHA512 e9e65bd1a912ee2c5f0e2026a478ccdbc7f7d34289a24849b23a03b64dea875bc81335a3206d8ee38acc36accaf98bfaf733574768bb54df4a0dd9945d9f1fa8 WHIRLPOOL adfcad38b4f7b35c4001836be05b895cc6e825311aa1119522a111d0acf5f4dbb4ea95619188798ade224013a5b268f2a6bc7642a649e828645ed0818212c9a6
|
||||
EBUILD typhoeus-0.7.3.ebuild 706 SHA256 7451b4b18ed7745ae119ef6af8e29d5beae5783432832cc3fe371c35ce75d9f9 SHA512 b9789aa24f61c227530a61ec223617076912b76dfe60fe17dc0dfb6072128a6c638ccaf19f69d83aceec27b244036aaca940501a015468c021577fbdc08a0d93 WHIRLPOOL a806491717afbc980216a162a2fed0d46a72df16472194024d6874acb821a944845cbfc1b38d171b330b374a4119c86a17fd0599d624ab89581e1bf989011a6e
|
||||
EBUILD typhoeus-0.8.0.ebuild 713 SHA256 a229b726b51958fd181e3c7beefb3f5319baf03220c1c157555b4ebafe18f059 SHA512 ce8fc94ad56003e903fff5c427d07d5fff57cd520a943887cd97a6d1822b15c37d0ed30391ad1fe6cf59d7f239280505a6e31e14e4fe50e750d181a3f2ba6414 WHIRLPOOL cb1627852fd2645a832e194091c1572bb81ae80c4a394b0a707783614c252b4bde900c24c9c9cb72b9ce5a42c8b6a9ee02e2ffa0f83a42a9f6ddc2d263f25005
|
||||
MISC ChangeLog 627 SHA256 cbeaf3f70123a1f9ad77527acf5eef6a60b3eeb7cff59af3e39f7af2caa4e183 SHA512 5ed4bcedfffbf64ba18dce76e4f95589b8aa8547d79d91881bfdbaeb601830199411e2627e5b35c397873cabc2653312654798d52f6ee5f131a9c8306709af95 WHIRLPOOL 938cdfe92cfb3c2d0ac2bf2b2f1882c293f09b52208fc2f102eee1b1a5eb4699a3238531987beee65361ee074a2045792ba5445d69267a05dbd9a29ee4e18c28
|
||||
MISC metadata.xml 233 SHA256 59307a1dbf0715243f7b32608ca6ee4ec964818c6e8092710956c1d77914b255 SHA512 0735276619dff8ac631b5c53bc517dc2ffd7ac41d9889825e325ca0bc4693da580734ce7154a4fd0576fa5839e281b407d7929088a6fc7491d011414e1aaef18 WHIRLPOOL 5a4947ba90114f33d111135bcf39cea4a99fa1564b535045bba9c98f06bd65cc0a74746f4dc8874d10a2e390ad232ae6b42b9513da0d9d48ed8d23122acd4449
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADE.md"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Typhoeus runs HTTP requests in parallel while cleanly encapsulating
|
||||
handling logic."
|
||||
HOMEPAGE="http://rubygems.org/gems/typhoeus/"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ethon-0.7.1"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/json >=dev-ruby/faraday-0.9 >=dev-ruby/sinatra-1.3 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '/bundler/I s:^:#:' -i Rakefile spec/spec_helper.rb || die
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADE.md"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Runs HTTP requests in parallel while cleanly encapsulating handling logic"
|
||||
HOMEPAGE="http://rubygems.org/gems/typhoeus/"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ethon-0.7.1"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/json >=dev-ruby/faraday-0.9 >=dev-ruby/sinatra-1.3 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '/bundler/I s:^:#:' -i Rakefile spec/spec_helper.rb || die
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md UPGRADE.md"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
@ -21,7 +21,7 @@ SLOT="0"
|
|||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ethon-0.7.4"
|
||||
ruby_add_rdepend ">=dev-ruby/ethon-0.8.0"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/json >=dev-ruby/faraday-0.9 >=dev-ruby/sinatra-1.3 )"
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
AUX txt2regex-0.8-disable-nls.patch 764 SHA256 c73ce8835621c48b20183738aa54e8ebd2c466c38fb0ece7802cc06ead6c588b SHA512 74875ef75713c8c3be2dc6f9c3b2d8e9ca8b17ea13d4299c216080601bf9145564d88a2446f741ff6afea5487eac82fb9bf54cf955b4c136615e9a8a4a7b7cd2 WHIRLPOOL 85e7afcbb9ad75d4cffc65be718daaeff3af53ae6a51f44c69cb98c2b2e6b8cdd18a267dc90a923b55c1ea7362b32851322b9643ea3d7ac9be42cfaf134b9270
|
||||
AUX txt2regex-0.8-disable-nls.patch 696 SHA256 41f8ddd3f84c95cf014feb92b726a748869641d6e7116b3e20c36b67afb3adc0 SHA512 8b3fb8e37695d44078325687e8b7d4ac929578a03a46693f2854445a798f1ecfeae60d2da5212c395d00dae53eca63043865c8ea4a04d26a620d20c3a4aa1c7a WHIRLPOOL 09d91463b088cd938c067f204176633c10c64b100b1fad319bc52ae9fc91eab8c3742b69587430a0dc795e78f4fda5f269fe6d2b8de04ea7ba93d908bebfb2db
|
||||
AUX txt2regex-0.8-textdomaindir.patch 729 SHA256 e94df4242b4cba507dc7a76ad6c9aa233d9b915d3d5ce132341dda99266620df SHA512 85178d5cb8cdf9b8faf11c4b66247c8c5102b8035825cb08a4aaf0d8a5148965260e4df85bf1ab5e3aeaa20dad9bbb5d6fa5a6ddc1576c9949eb48bcb6844aa0 WHIRLPOOL bbe75b259608359c867e82bc724e38d92d0d686dcd4465adcaf39703b028a8b1720e87c2b40e4fa102e78f84d03dbaa4fa79eaaa7d7401e5652b3a36e878353c
|
||||
DIST txt2regex-0.8.tgz 40514 SHA256 19a10fbcc144ab80d1998488be380e5c4b307101e2740491d9f90685a5c0fc8d SHA512 69d2a682471e3e35fbd0b2ad6f6ffab040803a17bda8082f3dd67baf3a03e7011cb20047940fb9403e180895a1258f720ca4d538187878c5989a1ec51168435f WHIRLPOOL adb6ba8975ea5159ea61a652e0aa0ae8f3661c07a26a65490a0656db35351e67a78557a05490fa783fa8be97cb01cbe33f1443eede1171f6f6877c632a0c94e0
|
||||
EBUILD txt2regex-0.8-r2.ebuild 805 SHA256 97e6b844a08f6327274d44f7992cb5e6f6d2d39c40dfe08a71273febd7a70f89 SHA512 006c2483b413a41a66b36e3aaf618d38451bfd40e4c52c08635472aab268c84d164e296259109ec0620069802510a4a3ee7987afc3e782aceaaaa2501776d6a4 WHIRLPOOL 510bd40fd91a7c34bb4e8cb6513746330a405ef2030f892a8f216fb1298853b1df65e29522697e28c4cb8194b13474cd38cfd2961fe076346eacaa67f5a4a7a5
|
||||
EBUILD txt2regex-0.8-r3.ebuild 865 SHA256 c34765cfb3b933a7b74f156a8e82ab4f8d327dbdb5c46d49446b3957777bce86 SHA512 7a74a0dfbdedf1ee5e1fbc9e92ea6a6c3b74a34366a6692a992284cfeaa72163080dc875c3d391362cc2ccd777b089b0b2b9fb6842ddc422ab496ca1ebb57d11 WHIRLPOOL 5ac27dad9d30e0cb370dbbdb4cb81f09bbf1db7efbd943eb1b653bc3ec8f0d02c7f5490bab925e01cd959b43864822e4411367ab456516e7cd3c5a721ae5c113
|
||||
MISC ChangeLog 2454 SHA256 8ff9a421bdd5215e6fc8a84c7f7d9e7e863e088e23831a0a5654f80502f6ed97 SHA512 33bf82b1158e6902aaf22bcbf40cbcc2626ac0dfc4d052f1f2e5cd75a16ec2e5c5ab1eae766e51c7739305c675685a9151980de95aa32cb6bbfd6a8f352618f0 WHIRLPOOL 7138240008f0ebb4051616f8f3295b1f14da12971bc6dd0b9c7504f0766acd9e5547dac2c4a0d67b83fff06479dceddc16a5fbdc3663ddae26f905a4214ab868
|
||||
MISC metadata.xml 244 SHA256 e8cb0f3237a1ed6bb4433bcaf85db39d0720f374e383c4300a029b0cfbdd119a SHA512 b39f37d485ed94f53602c0dddb8ff46b0e8dcfd37b85584ccdbf985acbc747a9f9f0f82b3b284c9ea776b3d6bd0c14d29748765749f98908d5660ae9856d6f39 WHIRLPOOL aad56f0cb1374570627cafb683215c41948875da27dad8a734d1aff480a3a498e21c391913de56ecb05394953180c9819c098e75fa43631937dd4963d2a8fbec
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
diff -ur txt2regex-0.8/Makefile txt2regex-0.8.nonls/Makefile
|
||||
--- txt2regex-0.8/Makefile 2004-09-28 16:04:55 -0500
|
||||
+++ txt2regex-0.8.nonls/Makefile 2005-05-14 15:28:38 -0500
|
||||
@@ -80,15 +80,8 @@
|
||||
--- Makefile.orig 2015-10-13 20:09:55.612486000 +0000
|
||||
+++ Makefile 2015-10-13 20:11:19.166486000 +0000
|
||||
@@ -81,15 +81,9 @@
|
||||
rm -rf $(DISTDIR)
|
||||
|
||||
#TODO install man page and README
|
||||
-install: mo
|
||||
- @[ -d $(LOCALEDIR) ] || mkdir -p $(LOCALEDIR); \
|
||||
+install:
|
||||
+install:
|
||||
@[ -d $(LOCALEDIR) ] || mkdir -p $(LOCALEDIR); \
|
||||
[ -d $(BINDIR) ] || mkdir -p $(BINDIR); \
|
||||
- for pot in `cd $(PODIR) && ls *.mo`; do \
|
||||
- poti=`echo $$pot | sed 's/\.mo$$//'`; \
|
||||
|
@ -15,6 +14,6 @@ diff -ur txt2regex-0.8/Makefile txt2regex-0.8.nonls/Makefile
|
|||
- [ -d $$modir ] || mkdir -p $$modir; \
|
||||
- install -m644 $(PODIR)/$$pot $$modir/$(NAME).mo; \
|
||||
- done; \
|
||||
sed -e '/^TEXTDOMAINDIR=/s,=.*,=$(LOCALEDIR),' \
|
||||
sed -e '/^TEXTDOMAINDIR=/s,=.*,=$(BLOCALEDIR),' \
|
||||
-e '/^VERSION=/s/=.*/=$(VERSION)/' $(SHSKEL) > $(BINDIR)/$(NAME) && \
|
||||
chmod +x $(BINDIR)/$(NAME) && \
|
||||
|
|
21
dev-util/txt2regex/files/txt2regex-0.8-textdomaindir.patch
Normal file
21
dev-util/txt2regex/files/txt2regex-0.8-textdomaindir.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
--- Makefile.orig 2015-10-13 19:24:21.799486000 +0000
|
||||
+++ Makefile 2015-10-13 19:26:05.187486000 +0000
|
||||
@@ -11,7 +11,8 @@
|
||||
|
||||
DESTDIR =
|
||||
BINDIR = $(DESTDIR)/usr/bin
|
||||
-LOCALEDIR = $(DESTDIR)/usr/share/locale
|
||||
+BLOCALEDIR = /usr/share/locale
|
||||
+LOCALEDIR = $(DESTDIR)$(BLOCALEDIR)
|
||||
MANDIR = $(DESTDIR)/usr/share/man/man1
|
||||
|
||||
TARGET=all
|
||||
@@ -89,7 +90,7 @@
|
||||
[ -d $$modir ] || mkdir -p $$modir; \
|
||||
install -m644 $(PODIR)/$$pot $$modir/$(NAME).mo; \
|
||||
done; \
|
||||
- sed -e '/^TEXTDOMAINDIR=/s,=.*,=$(LOCALEDIR),' \
|
||||
+ sed -e '/^TEXTDOMAINDIR=/s,=.*,=$(BLOCALEDIR),' \
|
||||
-e '/^VERSION=/s/=.*/=$(VERSION)/' $(SHSKEL) > $(BINDIR)/$(NAME) && \
|
||||
chmod +x $(BINDIR)/$(NAME) && \
|
||||
echo "program '$(NAME)' installed. just run $(BINDIR)/$(NAME)"
|
|
@ -19,13 +19,17 @@ DEPEND="nls? ( sys-devel/gettext )"
|
|||
RDEPEND=">=app-shells/bash-2.04"
|
||||
|
||||
src_prepare() {
|
||||
# See bug 93568
|
||||
use nls || epatch "${FILESDIR}"/${P}-disable-nls.patch
|
||||
# bug #562856
|
||||
epatch "${FILESDIR}"/"${P}-textdomaindir.patch"
|
||||
|
||||
# bug #93568
|
||||
use nls || epatch "${FILESDIR}"/"${P}-disable-nls.patch"
|
||||
|
||||
use cjk && sed -i -e 's/\xa4/:+:/g' "${S}"/${P}.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" MANDIR="${D}"/usr/share/man/man1 || die
|
||||
dodoc Changelog NEWS README README.japanese TODO || die
|
||||
newman txt2regex.man txt2regex.6 || die
|
||||
emake install DESTDIR="${D}" MANDIR="${D}"/usr/share/man/man1 install
|
||||
dodoc Changelog NEWS README README.japanese TODO
|
||||
newman txt2regex.man txt2regex.6
|
||||
}
|
|
@ -2,6 +2,6 @@ AUX dont-strip.patch 596 SHA256 466df2126c70a86c36b12dff921caabc3dcda7c1454cbfa4
|
|||
DIST libhdhomerun_20140121.tgz 47685 SHA256 a86308e7145c0cecb226ee913e7ce44258ef24fcba979d1f32dcff89022f9809 SHA512 bf7bfed024980b4a58d860b28194c6f3a394071ba1e3e25b46b2a20709e5de51fbb61779d46c9f1f01efd1553abf0332b3711afeb21479576f7f40da7f22eca1 WHIRLPOOL f5972c72a5e5eb708d4ada2eb0d09a409370c595ccd9da1d2b0f400e35c4ff41b828dd853116fe6c4c1ca725894423844e14dcf91e5c01d79454179b68c31014
|
||||
DIST libhdhomerun_20150826.tgz 49169 SHA256 907dfbd1eb82aebd8b09e7c00c21a02433e6baaacf4a4f99aa2511b1d5244baf SHA512 9b401c1649dc8c32ea9019b732631f9213cb66c43771aa148fa318202fc11739c005c474be6a77a6a7807818b5179f77debb5b2d2411d865cc87bb3d7ab629a6 WHIRLPOOL b069b5839821d55c5efaf28afbe174de3f32132dd5e4cd8ef348cba05bcc2ea4e436eb418c3323beb6816d82e046b76ace4c2a75d05fa3f61a6b7af9b09e5a8b
|
||||
EBUILD libhdhomerun-20140121.ebuild 624 SHA256 df5c6509e2f91447b5d107cd7e7144884c19fc6b2b6cfcd992dfada2b492863f SHA512 bfac5a570894172776f958889c9316f820d6ccd3368471eabd35ef512d90b2fc1037426610d561060105f23ca3695b40ae20cd55dd8241bda970969948861327 WHIRLPOOL 90a016fe5201a606e25142594f78220301e3414f1a56b07a04640de6cef3b0dad989cdaa291a2b822ff248ba03a123373fc10a1dc9c6f2cd71d2fe085b6f3c11
|
||||
EBUILD libhdhomerun-20150826.ebuild 626 SHA256 9b42c9a8cadaac746fb3c96710b5083275862465cf2b0297cb4536e19647abab SHA512 f9fcb5c8d364492b8de1b539e13e358d5050b334482886f3a0811c884cdff6b6485be856a11a618eb7425548921b32ea34c74efb436688bc49aabb795329d9ee WHIRLPOOL a088c01e015ec6c00ccfff4671f1b54ee75ef7bd922585916fed74d2694c826a8a8dcc86a5afb4e5bb56a27fc12595adca27a68b58140b664885faa17a94ae48
|
||||
EBUILD libhdhomerun-20150826.ebuild 631 SHA256 817e30e78effd80d1f15e3f326a1d5a24d51591689dec1f3cec98078a3bb61cb SHA512 6c1e9df549edcbd11e778cd772fd3b3752ce2c65fb7583e5e20244b20bd77c16686b439c94227375b06d489617a9e4124325de26a20c8f14913233ecf79fb257 WHIRLPOOL 3101a504fb054cf03dac321e50430cf4b7f9a866d029121d429d7f5645540c045b3fd0d02b4f48fce745461ea9406172f8122853e7823b7d26ac55479c7170b1
|
||||
MISC ChangeLog 762 SHA256 7781b938025c26eb5843fb8134f285744a4d9cc1e408e58516082cd4da291eaa SHA512 197a3f1d9477c00e86c6e2224b3591794977a48ad09152b2267ec04c56a8eabc761d99faf86140ed6a70984be8169134da8f259f88aedd0e3dbbb1bd5132bef2 WHIRLPOOL 5515257845ae407ef8a2c74a9a1ecadc07c99ab22931638848666c197dff0e595529ebc6e27d17b704e59310be0653a339aa195e880d46095a5f26ccc79bb85d
|
||||
MISC metadata.xml 228 SHA256 649a819707fcd83f74b62e4f33b7f12c34e73cc9830ed27ea18668b23c3632f4 SHA512 49e8a03d53e60494b93dcd65335bc9a592b0e70114d00668a101c965e2bb55c81a0f2db5ed43056aed92cb7e35092a4c4ce992c897c49a6b52495b3d7ecca2da WHIRLPOOL ac0cfe8dff466d4f7e7f4996761a88364e779183119b633c51c290221d55fe8bfad2c5885c67b4dea67af196ef68b2ad2cb3d65706936e4b0f7aeed586196d3d
|
||||
|
|
|
@ -12,7 +12,7 @@ SRC_URI="http://download.silicondust.com/hdhomerun/${PN}_${PV}.tgz"
|
|||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
AUX glibc_iconv.patch 921 SHA256 1c262cb6f8a29da4bf16b57a331d9500d760cecc4c8be164fdf168a3b914d4bb SHA512 6865b8af20a9310a5583a2f845545a33d61d358878910b691a28edb97a977cfa2dbd4c76289f6f0bf8c3212b1f0dfd623f84c055c0a4fc5a1553cdeb053873f6 WHIRLPOOL d102476db7480858d6d23392de4ff42fb800dbf5a33f90187492ec0a981247c126d0de3eb2c155b859b11a161a6e9feeff31590658e96cefaee45ecdc5a95515
|
||||
AUX tvheadend.confd 355 SHA256 1dd2bed597ccb84e59beae0ec130287f31a4cc2c2e974708462f08d8885b2e5e SHA512 64ae0cca1e1b46a3ecb2fb4a4ba69ad1dd6a72ce57944b44be28768d293f9cca2ab29067335023f384433e8c75d976fbc4610ca574c930b9891a2f1c75ff4c0b WHIRLPOOL 156a098daf40f42098e3c6862ef307784a882a7e80e269525d702fd17a458b479911c41a3017621cf55cbd96d281fad0de1e6e59b6bb0f0d729cf94d2384343a
|
||||
AUX tvheadend.initd 375 SHA256 696dee0e0959cd2358b5250f89a9faf8db95172e55658ec8827e7d4999d0114e SHA512 df6b66aef890f18f3fb21900b7015e2bd4f4d876fd68a04198a9424aca0d61dea5febf503609e90d0cc1e8a4fdf139cabcb5b0ab0064423aeb7c366e3607e392 WHIRLPOOL 1dc4bd1bcacc01ff6e72cc01f7305c86dffccecfe189345ab99045521e39ff09af75a39dec702033179a113d3785db5431e706a31684f9a37c2ac47475abe575
|
||||
AUX tvheadend.service 304 SHA256 e4ed1f5a50620773cbffff9a22d6ea06311965a6ce139eb8d9f67df10986aecd SHA512 96c61ef4082ecf77ca17a377de3698ae2a47c29519e02676a28d1d2813d5f43dfc3b29d8b91a126a7b8da5f38a8dc2cf13044dba285e22235e7782053041207f WHIRLPOOL 704fb969e5d954330e12c1d4cafa588738cfac4c65d2a234cb8d9a46180a9e33ead0532d94d94fce4efaac566859ec21e4d6f548c56b42a89b7a4f82733a5b53
|
||||
DIST hts-tvheadend_2.12.tar.gz 1475053 SHA256 c2e33384b24356be036bf8e58a026efeed247b001d3674929dc0016bf2b0e11b SHA512 87808a57454b58f458e8e7db6d381e34917064a0f196ed4e91f2ee912575282e121ada72d11ce6c3f8c5e2913dc4510b0b1e6a7d252b702946c033ef35e85c68 WHIRLPOOL 953735a6796972dbf5a7b2f541fc07c7dc2666e4a15f007fdefd92b7445055c227ce8b570088e4fd0810ffebd3271a19af7fd023eb58dfd046b24d45be5053cc
|
||||
DIST tvheadend-3.2.tar.gz 2155532 SHA256 4bda0da2488c2078c6bd7e92ea5099c7c1e6c52fd361af965c83e82070cfb651 SHA512 f4f87a42c10bf9989606ca932ba916f9c70d0adfc1c0f6ee1f1dd3c23545de8e1699c4f519c56a7f5df0b27521d7f714c02ea5d30432756511baefb00ddd8d22 WHIRLPOOL 8dbf8c7eeff31b132f61d7ff8cf5412659e430e3fe47733ec54e7e804b8be608bd9886d8149975a91653608edeb641781e08c6f3df819dc08a4f7d96abe41dfb
|
||||
DIST dtv-scan-tables-2015-02-08-f2053b3.tar.bz2 123415 SHA256 83ed1b669009ef325e5d9ccb897e48b31e15e71e81bff442b3d0bbd650131c77 SHA512 aedf0429c2ec0a4692e19c0b4ae1e8c063a5a0fb8695359aa8f716a7f40fd88435ed8b1d2aec2461de3f49b533d6cd012c2a54d06058a5291781da4adf82d609 WHIRLPOOL afaef58cdf2ce1ca03c0a695dbf13192b544e3c5a0012cc70a55834d0b1034d509174684fd0fe3f2111becbe32aac16cad5d467adc278a4b6b16c7dbd384757f
|
||||
DIST tvheadend-3.4.27.tar.gz 2201905 SHA256 50438809ff43ab332d255248096e9531ac85e6c51511206a3f68cfc1697f4ead SHA512 fb6dc59fbaf5ea43f69452ff6b034ed80b040bb15f5c43f26a3f8075601066354f82e5cf15f7c5215adf1387edfa57468f71605aacfc0824a996aee108a0f11a WHIRLPOOL b0c92d8368cf7643a238d918752f8b1816ddcfde28372fecad228ab133d4e1dd6219d5b436c396fa4013af5269b2fd05b62bb6ce6180553d835204c8c38029ca
|
||||
EBUILD tvheadend-2.12.ebuild 1697 SHA256 7618c91d77a4ccaf00ea860e082c52e34f5b66b0b07716210de3e7514da6de92 SHA512 16f14d2bf495a50c8127ec4c7c41308fad1a50be30f2e25e98dc41f119b38722a8038b1006d4514addc82bfd81819db444f5acee4601150b16c8718ccad54d8b WHIRLPOOL c72fe5b355c30f489a7042d23c234a949f5899358632b43e5e3565407708b14ba84ca89cbe40e55f84a22fe95fb42503fe30cc8cf2e0b85fb5447604978414a3
|
||||
EBUILD tvheadend-3.2.ebuild 1664 SHA256 b203eaaa23a09e1f502cf9ba4e5e4451512982c2d89babfbfc1ad9ac203d677d SHA512 b51a4e4d31a514dbed0401a91a2e53f6c28b127cb8dadffe7f7c18decb7862e4f1761b151ffd5908e08415527843e7ef092a6253972b0513ccb6bf6d81103a4d WHIRLPOOL e8bc4f81ab1dc10357bd60614d1d71270a71221955347f5165bd3e9174dbd2ae447c2330dad8b74a8d061b0ff61006401134e7af2323b6abcbd33ae380d9a4c8
|
||||
EBUILD tvheadend-3.4.27.ebuild 2090 SHA256 d8ff244eabaf143cd8f2afb03f387d30bc2d0418a86a37284ee7b8c5ad250d4e SHA512 e36bee467eee48565d9f85efae954a4ef041e8fede33898c381f5be99b293348e006aa8d6fbf0acae978b53830ea0abf2438c66029fb9919630d14db40848286 WHIRLPOOL 7ed7175a6d81bb55da0460f21ac988dfad48d1e99f4f66bbfd3e8b2d5093ff27bb28fdb6bc4bcc5aafb3c4924483b14f31191ac39baac23931369ed25fe2c2b3
|
||||
EBUILD tvheadend-9999.ebuild 1909 SHA256 f93fe9497c566be97de792dff67f88ccf251fa26884421d097b72da29d8986f7 SHA512 5725096878297d684aab2b8fe3d385c7b69f9de305fa5c706c3dfb9d7ec35b62abe783c503df6d7e437eec783bc4f2fc694c482a84e3711221898f1dec48ca21 WHIRLPOOL 43a8d6513d1d3568fce5465bd90a5aca369bd29fe19c04a61357abb4b38e59a8f2be134055c80785f8bd91dc4cb8bac5804b06651241b9c09c8727b93e1bfc3b
|
||||
DIST tvheadend-4.0.6.tar.gz 15826173 SHA256 348c6890a3721217c159a8cdce746686e7a8c75bc14740ac5a75a82acf6b5116 SHA512 b5b9a39a9b6f4f1aa653b0d58b311d3580d5c10b2185a96bf73619b912385bece76fdd0d1e8327d97a2f5e3888729f10cfbfd395660d12749fb7a5d586fde266 WHIRLPOOL 6584d30b4f8f3a17cd79e74b7dc9a892c27a0c214258ff146247b342a58a8eba52ffc4ded9d35d761434671b600daec09e8df05c3b7f4f54db7116fb3a79946b
|
||||
EBUILD tvheadend-3.4.27.ebuild 2093 SHA256 8753ee153cf54a690b6907df2dfc99472f96d11340c513bb335255d6a11861bd SHA512 55b0f0a1086f706e02d36b85311ed3a9b4603189823290c6d7173b9d8e8357f87aa9fa6af94f73cf78cc3b1eef8aa98dbeff372f8f348acd9ce8bd6ba5f6a442 WHIRLPOOL fd5c2eed9ca095484a79b59c18c9e765b291d895e24a192c2517dade1ae78011ec72e8c0eb8830d93c9f92b533f781d4eaa5f7efd8bea9788a55df8a05d432e9
|
||||
EBUILD tvheadend-4.0.6.ebuild 3087 SHA256 9305844e4cc5f25a088b3a752998559fca41af54fe665ad736f84d873eb73bd4 SHA512 87037ad0cc362d30849d641304efa0b9366e0d5a6cc18211f8ad8994ac818bf6e00039eeda79b599fbc93205e3f68c3c91ec8f70058cfc86c3984f9a27fae65d WHIRLPOOL 974c1a82b50bb2b704ef70913725583c59e14bae430ea54d5b089a1598d175a2fbface6d85cea16b26b1f27abcac9e9e1e8352becadc57e5cd92bec3fcb2b0d3
|
||||
EBUILD tvheadend-9999.ebuild 1912 SHA256 33cb434e2dcec3984aaa0d5ac8d3d95d10669cbfdf5b59c631ca8622467328aa SHA512 4e3f8d223ee64e32c30fa680f483a8a0460953a35e3fb5d7954c23d0e00783ed0b8d2c966f93302b4291aaa1223fd06b0f9625f0d26bd4d5db9da8341b914b59 WHIRLPOOL 6ba4f2b0f253997e4b5b36ad3461033ac68f56c520ecb64cb4dc99893bddd7841152ce107772a5d1a31091fe75188393eed247ac7712d64609f9fbc08e535773
|
||||
MISC ChangeLog 1487 SHA256 43bb094efebee39a10638f45ee95b1cf3f28c7382a6e9ff0ad7a2738ccbda5b4 SHA512 9ab2bb9ee52778da4eb57e649770ca88ed9e922b4ebcf8e792d2ea56f029287a3a0ba1fd79c644a93ea3524a6d178b4edc5ab2419d21780f032154fff0169423 WHIRLPOOL 005553c8f4468766deccde5f4b9e3f3d98cadc1418807899d4297510c53c418fea9d9e31faad502ae80c72061fadf81749e6b62bb1fdedce52e960a7ea27314f
|
||||
MISC metadata.xml 613 SHA256 6189bd092170e1a1451ba81598fdd16f9fef94b544fb00b92a382573670ed736 SHA512 1b29068861e1bdb4c02873449e8e3a7fb05127e7ecc083bf42f5100280224b8174d13a4dcb379b29eedde634be7f8c696e19f72ad9a990df13b486068ae9af20 WHIRLPOOL ab9a689c587511b3e6b5aebc6ddcc63f7e43fe0d312d2f73f74d8f9cc4d50f2a5d29f3ac84bf5b32e77ffe8797ddf351d088ec91b9cd181b5e10423e1afa178e
|
||||
MISC metadata.xml 1205 SHA256 79ce932cf38a04e97dd8477336dbc84bec896153c20d6a01fd55b55c9075241d SHA512 9260ece14c60afc7eeb57c40410a718da9419469f1ae812600e23792e3ff156fba948a5bdebb83553b55eaab8dfea1599a743bbba052c3b896c7973c05f6939b WHIRLPOOL d139fa6811989d3b185ec2ff8e50684eb192a795ef181f7745a92ef134508d0f9e88a0c478da40f2386e210665aa961f6a561f9fa482d6299068e07c62e214cc
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue