parent
902c1f17c0
commit
aef6da4168
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/catdoc/catdoc-0.94.2.ebuild,v 1.3 2008/08/17 17:21:31 maekke Exp $
|
||||
|
||||
DESCRIPTION="A convertor for Microsoft Word, Excel and RTF Files to text"
|
||||
HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/"
|
||||
SRC_URI="http://ftp.wagner.pp.ru/pub/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
IUSE="tk"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
DEPEND="tk? ( >=dev-lang/tk-8.1 )"
|
||||
|
||||
DOCS="CODING.STD CREDITS NEWS README TODO"
|
||||
|
||||
src_compile() {
|
||||
|
||||
local myconf="--with-install-root=${D}"
|
||||
|
||||
use tk \
|
||||
&& myconf="${myconf} --with-wish=/usr/bin/wish" \
|
||||
|| myconf="${myconf} --disable-wordview"
|
||||
|
||||
econf ${myconf} || die
|
||||
emake LIB_DIR=/usr/share/catdoc || die
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
emake -j1 mandir=/usr/share/man/man1 install || die
|
||||
dodoc ${DOCS}
|
||||
|
||||
}
|
@ -1,5 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tex</herd>
|
||||
<maintainer>
|
||||
<email>radhermit@gentoo.org</email>
|
||||
<name>Tim Harder</name>
|
||||
</maintainer>
|
||||
<herd>tex</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,10 @@
|
||||
# ChangeLog for app-text/restview
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/restview/ChangeLog,v 1.1 2014/10/27 05:16:06 radhermit Exp $
|
||||
|
||||
*restview-2.1.1 (27 Oct 2014)
|
||||
|
||||
27 Oct 2014; Tim Harder <radhermit@gentoo.org> +restview-2.1.1.ebuild,
|
||||
+metadata.xml:
|
||||
Initial import.
|
||||
|
@ -0,0 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST restview-2.1.1.tar.gz 24948 SHA256 1bf9e845078d05e7cda31bba6fed24a74ffe46f4f466b7b28c39650801724c1f SHA512 c74158d415940c3240b248ec83b1d9c79fa7e279b05a118f04fd5caf6273ef6ba4944a62cf8832e6e214b256962fc559abf42f28a636f4e3140dad9d88fe0cf0 WHIRLPOOL 5986fe67814806eff6c566cb8ba5cd426de984a74740ec50a16790f67029e0d28a33087ec0de1f016461bce725cfbe9921bf8bedef7ffc4603fb9dfcf567c765
|
||||
EBUILD restview-2.1.1.ebuild 754 SHA256 24268933433aa83fb5fbb1bdeaa8e2acd1481f222a0f6d1a66de5e41adf3d46e SHA512 fc40c64db40d0a7d35b3f6e64e1da656eb78e9856cb180cc9fab5073f0f7d218a79468c69e7121710f08c8720ff20d65bb047dad94254713232c4b14d9b2adbb WHIRLPOOL 4ec37ff0a9aef943ad2c6a7e452487b71eb865b6941142dfe3f561811980bf776f9f2bfb6b13b193f1e56284a4a7be31acae18db1c244deef0aa87619fcfc839
|
||||
MISC ChangeLog 350 SHA256 d72ff203eee947eba05b826b4b8129ba17d112d2c85327ad6c10e96f011572e0 SHA512 5315d00b5c6bd887ff77bfe86302f030015b71cf4613e3ea8c59c455a130c7ae844b175ad475febdce82536e772bac7e5dcac59fcc5fb83f41b49f48d460fb62 WHIRLPOOL 4b68ab537cbb539a9f0385fc2e99f0d52a32234222c2ee0bb2ece83a4ac6853989831e945534afafdae0459168c8c26563f6ff64c153b4a10b818e11b2e89aa8
|
||||
MISC metadata.xml 232 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a SHA512 6952f63da1c92a4ed7ddb87b5eb4003d123f0b7af6ffdbc9118159c97ddf18917e8ac7727285a42c07c64e52a40335bc2ef9f17261557617beb8c2226a391873 WHIRLPOOL 0a4441f075f8af01588da2aac3e03732f93463b8bea5e46749d37e1468452735d15f45243b930b3346c93734f8aa235a492030445fee471a95d2c5998f08e7de
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJUTdUcAAoJEEqz6FtPBkyj6K4IAIwnf1n+e1aLZQZrqYSVnsdC
|
||||
OVE+T9vdf2P2g2tFCH1P/tObMynAXupBSuwxURyker3hzniqqX9QjkiwwXym16eX
|
||||
6ZHAOceQ7U6J6Bm4heg0GLF9J1DQmYfUyTzgNF8ERUjlW+9Y1NspRQbAnaS/ATPG
|
||||
XbzrSGOs0LejB8SGo+lCmv8SuIAL81giRysh3eonOE6MkhznGm/mxwDcSEG5QzAj
|
||||
TnHXZlrFqN3JKIn2NdclUFE+z77iTrjhB5Ev7PYd4eFOVpVhNd+0CMp+sRBfBXAg
|
||||
NjMjoPlx5QWCn01i0srJt06CxpLcnqTGhb7oaDdJwN8qIGfMqVgfyuYhwRqmhEQ=
|
||||
=gI1p
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>radhermit@gentoo.org</email>
|
||||
<name>Tim Harder</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/restview/restview-2.1.1.ebuild,v 1.1 2014/10/27 05:16:06 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="reStructuredText viewer"
|
||||
HOMEPAGE="https://mg.pov.lt/restview/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DOCS=( README.rst CHANGES.rst )
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/nekohtml-1.9.18-r1.ebuild,v 1.1 2014/10/27 06:00:40 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="A simple HTML scanner and tag balancer using standard XML interfaces"
|
||||
|
||||
HOMEPAGE="http://nekohtml.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
COMMON_DEP=">=dev-java/xerces-2.7"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
test? (
|
||||
dev-java/junit:0
|
||||
dev-java/ant-junit:0
|
||||
)
|
||||
${COMMON_DEP}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
|
||||
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} taskdef"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="xerces-2"
|
||||
EANT_TEST_GENTOO_CLASSPATH="ant-junit,junit,xerces-2"
|
||||
|
||||
# Do not generate docs, use bundled.
|
||||
EANT_DOC_TARGET=""
|
||||
|
||||
java_prepare() {
|
||||
find . -iname '*.jar' -delete || die
|
||||
epatch "${FILESDIR}"/${P}-remove-obsolete-xerces-bridges.patch
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/lib/${PN}.jar
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
java-pkg_dohtml -r doc/*
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc src/org
|
||||
use examples && java-pkg_doexamples src/sample
|
||||
}
|
@ -1,15 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST python-poppler-qt4-0.16.3.tar.gz 15345 SHA256 52232383b273038027a881db7e46879b73cccf690d393f677e7496e19cfb59aa SHA512 b0324a029e2245fdaf913fc9073c88b3d1c0043421fcc55ce0d4523497f26362c7a734a2d88b1fed86221f5abced15a4e1374c0db8b02c418d33c272ba91bb7c WHIRLPOOL 071f12db5e90f5877a12505659a99c89e1f59ee3142dc06883e4de08598fae729cbe0b011668665968e05c902ef25d3549608a4216da0f59e9030c880b059605
|
||||
EBUILD python-poppler-qt4-0.16.3-r1.ebuild 668 SHA256 3dfc65d0f20954799af12fed5420002ed7ad873b0a61a1c7d72875e23669f23b SHA512 2ac5cb14a69f06bfb9f720a8dba10f7b3e18d7b82806550e454d58c3f4f09d204f1f9f7900567054f3dfcd7b650eae8c4c3c2726a2965b2ffd5acc7b9d9e20ae WHIRLPOOL 05c9a356e72eaaaf232e78a5d925df9a5bc18fb7c8b319fc7cf4ca82ea27dccd3dea8f97db4582ea3bcb7af7634887ab7c7eb70248318627b45bfeded87b41ab
|
||||
EBUILD python-poppler-qt4-0.16.3.ebuild 679 SHA256 0658dd9babfdf0780396d9a2fbac12008aa73602741945eabe40feb9fc945ba8 SHA512 91a618e2a1ad9d704e465b5165baa0cedd415ae2c7858168538977f834f2957ee7e7f9caa066d9e06c74cf46c2c13652f9a94d0053a8ef9f3d47221981b2887c WHIRLPOOL f3d38d118ab30d0a14b58e6f4211b31bf779a64aac0d275e1b94573d5fa9477feb29447b82f0791dcdc07e8cff93ba471a98e5a8dbb0d68fbd6c4607ba8d9ea6
|
||||
MISC ChangeLog 1272 SHA256 ec373b59e27f05a126587ca363987bbbf659b430edea83aa969ef9e9279d1dd6 SHA512 a1cf438e49a66f09e119b77f0b8ffb01ad8f1c3587f54f81bc26006279a60478804f199972506061181c36bda97a61b0741c8c898931ad04ec3abbb21a50aa88 WHIRLPOOL 5a79f52b48b84712ebb5cb56517d49ffc101e3e4036906ae9e8dea707e9cf235feebd3241e56db24c4064e49a8366c205b10b17b7e842c13cbbd90c28e8a9704
|
||||
AUX python-poppler-qt4-0.18.1-update_for_new_PyQt4_build.patch 6856 SHA256 4014e124bf08f6b3a74a6dcd03d69639cc28318dc778687d1f98852f522f87ac SHA512 b9644b8763f250ca058681a0277741bc2089e939831b389df28fbb5435291d93d79bef1fce8a743c43b81a58cafdd6f72673d112658d76740f4943a69c16f1cd WHIRLPOOL c36e7d1c4c54d2340a61e8d4506dd449b9f7bcc6dc7219815f08ceaef69b17c9a807f8b2002a2f4a45599310f6becddf21f244b7db885d91f47c2e5814e3bac6
|
||||
DIST python-poppler-qt4-0.18.1.tar.gz 15555 SHA256 c6903c4b6ab71730ae2a1da9fb95830a83da82185b5ef6b8184b16c0cae908ba SHA512 f1451e3b60cb51eb3c07d906144ecff2a2737b68018645390441b2eb4942450e2e836a3e20d926c82a7536ae7b3963f7a869a5d7a3274befde7d01144b116a44 WHIRLPOOL 2ef090817a78baa1b55997baf4e6eb61aa21e6d064826bfc14db27e145a477d3b3ff28b6f10076cade979e9f1634cfbe43e3bee51d841d4ea4fbd72cddcd6ce4
|
||||
EBUILD python-poppler-qt4-0.18.1.ebuild 805 SHA256 480c94b3f4bed85149cbadf1cd94d1541d84f23cc19287859350e2dc1ae4c8ef SHA512 6bd0fd3cb501049731b9022358d5dceb7b2aba8c42bce0a64c54cea5be97a5c9251e7846d740792652cddf31f373f10346c7c6d1b0e8a4a65fff937862f78b9e WHIRLPOOL 27dd7fe5886d718f03174460b62b47e87a2612cb3e34c6226ba7f238de40969f7d9af48dcd71bf958d3e259be2a4a8c5b6793050aab026ad73cbcb58869802e3
|
||||
MISC ChangeLog 1697 SHA256 15e652aff55a2424340c7e39fc4ca22c51ea7fe6d856b6710236a71021991c11 SHA512 fc97370ab7fd1ce0d92c17ffeb1474f36e23c758a447a7684f4aeec6847f7113dac6edcb9cdceb41791c0ef24240612744fcc051e8adae2f8700529b37707ab4 WHIRLPOOL 3cb9e6bc0480744881f95addabc0efe9f9561018ca66091dec40eaf6c63294059e10214d492461cab11dd6995608bf84ab21a007b9d7e4c4e9100374f07e5918
|
||||
MISC metadata.xml 346 SHA256 6c845e856bbe0fd3941412cb1c2458ff42306d2314a27f761893021de9dfa372 SHA512 c6476887f46d65311582c7786cc7a879aad8f389e86ac68a742c0defb3c689af9d6a7a69d5664ad442475e259ec7972caa2322dc337660d561bad86c79250cfe WHIRLPOOL 8bdfa5c9d5f74610cce38bd97612a5adc38b995a6c965cc50009d3ebe0d9b8661fd5ffd5f5b8d2b7916dc7a17fb55a7266f74001d633191273e109fb3f1ef69e
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iF4EAREIAAYFAlFF+gEACgkQC77qH+pIQ6QgZwEArCqSpRsuzF7KG75ZLgpf6Bl4
|
||||
k3T1GBveY/kmxLuEvoAA/1lHF/m1zvIr4rIz3GGtF9s/NFWwyIQlgHy/chZyx0bZ
|
||||
=uDDP
|
||||
iQEcBAEBCAAGBQJUTd+pAAoJEEdUh39IaPFNkS4H/0BYnL0VpmTzpyLklsyajHqK
|
||||
ccmnf49jmsr6+E0JBpyVLDKWEBILJ2qS2hakxSOnehdcIOyunCNIKwDy7v/yNH8r
|
||||
M+z1ShRkHHC5nZiqtMY6ZRHnUNxkIt1wVbigGSTW+BzNANiACskfdVWjJlwlehZM
|
||||
iZInIDn90hzuPcFzVJdme7FCglDDD95aJAR6sY0qqCCsvBHNYPVRskbISCUzHOxh
|
||||
MO+nQZ8VfXKgTQIBAHzYvpvBEKRlCnsv/fi4A/WCHTXTycLquC5ot+Et+HP2qW8B
|
||||
RVb3f4q6hSBJthpL3TyGMxdHRC+2u4agj8LkCKVR53hNiKzgOlKWn6SHI7n59QA=
|
||||
=bLdw
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,185 @@
|
||||
From 099924f9b359b82696e3aa9f159616ff09d2da97 Mon Sep 17 00:00:00 2001
|
||||
From: Philip Lorenz <philip@bithub.de>
|
||||
Date: Tue, 8 Jul 2014 18:23:49 +0200
|
||||
Subject: [PATCH 3/3] Support PyQt's "new" build system
|
||||
|
||||
PyQt4 ships with a configure.py and configure-ng.py script for
|
||||
configuration. The former produced the "pyqtconfig" module which was
|
||||
used to determine various flags required for compilation of
|
||||
python-poppler-qt4. The configure.py script has been causing some issues
|
||||
([1]) and upstream suggests to use configure-ng.py instead as the old
|
||||
configuration script is deprecated ([2]).
|
||||
|
||||
This patch adapts setup.py to work without the "pyqtconfig" module by
|
||||
looking up the required config values via the new mechanisms endorsed by
|
||||
upstream. Additionally, it adds the --qt-include-dir, --pyqt-sip-dir,
|
||||
--pyqt-sip-flags command line arguments to the "build_ext" command which
|
||||
can be used to set those values manually.
|
||||
|
||||
[1] http://www.riverbankcomputing.com/pipermail/pyqt/2014-June/034344.html
|
||||
[2] http://www.riverbankcomputing.com/pipermail/pyqt/2014-June/034354.html
|
||||
---
|
||||
setup.py | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
|
||||
1 file changed, 94 insertions(+), 20 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 56f3e3f..c43c5e4 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -56,14 +56,6 @@ except ImportError:
|
||||
pass
|
||||
### end
|
||||
|
||||
-import PyQt4.pyqtconfig
|
||||
-config = PyQt4.pyqtconfig.Configuration()
|
||||
-
|
||||
-pyqt_sip_dir = config.pyqt_sip_dir
|
||||
-pyqt_sip_flags = config.pyqt_sip_flags
|
||||
-qt_inc_dir = config.qt_inc_dir
|
||||
-
|
||||
-
|
||||
def pkg_config(package, attrs=None, include_only=False):
|
||||
"""parse the output of pkg-config for a package.
|
||||
|
||||
@@ -107,17 +99,8 @@ def pkg_config_version(package):
|
||||
return tuple(map(int, re.findall(r'\d+', output)))
|
||||
except OSError:
|
||||
sys.stderr.write("Can't determine version of %s\n" % package)
|
||||
-
|
||||
-
|
||||
-ext_args = {
|
||||
- 'include_dirs': [
|
||||
- qt_inc_dir,
|
||||
- os.path.join(qt_inc_dir, 'QtCore'),
|
||||
- os.path.join(qt_inc_dir, 'QtGui'),
|
||||
- os.path.join(qt_inc_dir, 'QtXml'),
|
||||
- ],
|
||||
-}
|
||||
|
||||
+ext_args = {}
|
||||
pkg_config('poppler-qt4', ext_args)
|
||||
|
||||
if 'libraries' not in ext_args:
|
||||
@@ -131,17 +114,108 @@ class build_ext(build_ext_base):
|
||||
|
||||
user_options = build_ext_base.user_options + [
|
||||
('poppler-version=', None, "version of the poppler library"),
|
||||
+ ('qmake-bin=', None, "Path to qmake binary"),
|
||||
+ ('qt-include-dir=', None, "Path to Qt headers"),
|
||||
+ ('pyqt-sip-dir=', None, "Path to PyQt's SIP files"),
|
||||
+ ('pyqt-sip-flags=', None, "SIP flags used to generate PyQt bindings")
|
||||
]
|
||||
|
||||
def initialize_options (self):
|
||||
build_ext_base.initialize_options(self)
|
||||
self.poppler_version = None
|
||||
|
||||
+ self.qmake_bin = 'qmake'
|
||||
+
|
||||
+ self.qt_include_dir = None
|
||||
+ self.pyqt_sip_dir = None
|
||||
+ self.pyqt_sip_flags = None
|
||||
+
|
||||
def finalize_options (self):
|
||||
build_ext_base.finalize_options(self)
|
||||
+
|
||||
+ if not self.qt_include_dir:
|
||||
+ self.qt_include_dir = self.__find_qt_include_dir()
|
||||
+
|
||||
+ if not self.pyqt_sip_dir:
|
||||
+ self.pyqt_sip_dir = self.__find_pyqt_sip_dir()
|
||||
+
|
||||
+ if not self.pyqt_sip_flags:
|
||||
+ self.pyqt_sip_flags = self.__find_pyqt_sip_flags()
|
||||
+
|
||||
+ if not self.qt_include_dir:
|
||||
+ raise SystemExit('Could not find Qt4 headers. '
|
||||
+ 'Please specify via --qt-include-dir=')
|
||||
+
|
||||
+ if not self.pyqt_sip_dir:
|
||||
+ raise SystemExit('Could not find PyQt SIP files. '
|
||||
+ 'Please specify containing directory via '
|
||||
+ '--pyqt-sip-dir=')
|
||||
+
|
||||
+ if not self.pyqt_sip_flags:
|
||||
+ raise SystemExit('Could not find PyQt SIP flags. '
|
||||
+ 'Please specify via --pyqt-sip-flags=')
|
||||
+
|
||||
+ self.include_dirs += (self.qt_include_dir,
|
||||
+ os.path.join(self.qt_include_dir, 'QtCore'),
|
||||
+ os.path.join(self.qt_include_dir, 'QtGui'),
|
||||
+ os.path.join(self.qt_include_dir, 'QtXml'))
|
||||
+
|
||||
if self.poppler_version is not None:
|
||||
self.poppler_version = tuple(map(int, re.findall(r'\d+', self.poppler_version)))
|
||||
|
||||
+ def __find_qt_include_dir(self):
|
||||
+ if self.pyqtconfig:
|
||||
+ return self.pyqtconfig.qt_inc_dir
|
||||
+
|
||||
+ try:
|
||||
+ qt_version = subprocess.check_output([self.qmake_bin,
|
||||
+ '-query',
|
||||
+ 'QT_VERSION'])
|
||||
+ qt_version = qt_version.strip().decode("ascii")
|
||||
+ except (OSError, subprocess.CalledProcessError) as e:
|
||||
+ raise SystemExit('Failed to determine Qt version (%s).' % e)
|
||||
+
|
||||
+ if not qt_version.startswith("4."):
|
||||
+ raise SystemExit('Unsupported Qt version (%s). '
|
||||
+ 'Try specifying the path to qmake manually via '
|
||||
+ '--qmake-bin=' % qt_version)
|
||||
+
|
||||
+ try:
|
||||
+ result = subprocess.check_output([self.qmake_bin,
|
||||
+ '-query',
|
||||
+ 'QT_INSTALL_HEADERS'])
|
||||
+ return result.strip().decode(sys.getfilesystemencoding())
|
||||
+ except (OSError, subprocess.CalledProcessError) as e:
|
||||
+ raise SystemExit('Failed to determine location of Qt headers (%s).' % e)
|
||||
+
|
||||
+ def __find_pyqt_sip_dir(self):
|
||||
+ if self.pyqtconfig:
|
||||
+ return self.pyqtconfig.pyqt_sip_dir
|
||||
+
|
||||
+ import sipconfig
|
||||
+
|
||||
+ return os.path.join(sipconfig.Configuration().default_sip_dir, 'PyQt4')
|
||||
+
|
||||
+ def __find_pyqt_sip_flags(self):
|
||||
+ if self.pyqtconfig:
|
||||
+ return self.pyqtconfig.pyqt_sip_flags
|
||||
+
|
||||
+ from PyQt4 import QtCore
|
||||
+
|
||||
+ return QtCore.PYQT_CONFIGURATION.get('sip_flags', '')
|
||||
+
|
||||
+ @property
|
||||
+ def pyqtconfig(self):
|
||||
+ if not hasattr(self, '_pyqtconfig'):
|
||||
+ try:
|
||||
+ from PyQt4 import pyqtconfig
|
||||
+
|
||||
+ self._pyqtconfig = pyqtconfig.Configuration()
|
||||
+ except ImportError:
|
||||
+ self._pyqtconfig = None
|
||||
+
|
||||
+ return self._pyqtconfig
|
||||
+
|
||||
def _sip_compile(self, sip_bin, source, sbf):
|
||||
|
||||
# Disable features if older poppler-qt4 version is found.
|
||||
@@ -176,8 +250,8 @@ class build_ext(build_ext_base):
|
||||
cmd += [
|
||||
"-c", self.build_temp,
|
||||
"-b", sbf,
|
||||
- "-I", pyqt_sip_dir] # find the PyQt4 stuff
|
||||
- cmd += shlex.split(pyqt_sip_flags) # use same SIP flags as for PyQt4
|
||||
+ "-I", self.pyqt_sip_dir] # find the PyQt4 stuff
|
||||
+ cmd += shlex.split(self.pyqt_sip_flags) # use same SIP flags as for PyQt4
|
||||
cmd.append(source)
|
||||
self.spawn(cmd)
|
||||
|
||||
--
|
||||
2.0.2
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-poppler-qt4/python-poppler-qt4-0.16.3.ebuild,v 1.1 2012/11/19 14:49:40 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.* *-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A python binding for libpoppler-qt4"
|
||||
HOMEPAGE="http://code.google.com/p/python-poppler-qt4/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/poppler[qt4]
|
||||
dev-python/PyQt4
|
||||
>=dev-python/sip-4.9.1"
|
||||
DEPEND="${RDEPEND}"
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/qrcode/qrcode-5.1.ebuild,v 1.1 2014/10/27 07:24:52 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="QR Code generator on top of PIL"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/qrcode"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# Tests pass run from source, but a few fail run from the ebuild. For now,
|
||||
# RESTRICT=test
|
||||
|
||||
# optional deps:
|
||||
# - pillow and lxml for svg backend, set as hard deps
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python{2_7) )"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m unittest dicover || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman doc/qr.1
|
||||
}
|
@ -1,8 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST rack-attack-2.3.0.gem 13312 SHA256 f910e5d0a54b7cc7e086bf111481a0e455260caf8184a33bbb9e96f8064ef49c SHA512 4add5fdf4fbc92a88a7448248df72e755fde7e3a5222ee2df788eb5f2e86689ed2ba925b420ee1873997c11c13ce4f6d5bf1e405a9c42f025ecc731b26490d38 WHIRLPOOL 3ded4c62c5f0058e1f8443c2dd574734e28dfe1021efdcca76afa1dcfdd219b50f975261d4987dafc996771990944c5ad63e59303ffaa3b290c967f1fa5eff7b
|
||||
DIST rack-attack-4.1.0.gem 14848 SHA256 6c28ec2cb3e234e75ffe9306e7b75a86c22b9861c03c3ecbb12d38b6f630f5ae SHA512 3e23e48b1c39a9e84c9ba4d10ab71d570690bf37901a3cdf6f46a6df54de5005490523df7f33818f723ab25dcfb1e935e7209d061d66f0f5c48cbdfdbd7dc220 WHIRLPOOL ea25c308a42be5c39983d9507d63301e76a7ff77653d61f1bf97ed813ab5fbc74b644e47660db999898ee072ba2f781b07da3748650018faebec9ca9d9635030
|
||||
DIST rack-attack-4.1.1.gem 14848 SHA256 b713eaa3d3377c227c2637398a84978c0ab4021b4b5b2c4dbdbc2b68d448814c SHA512 06bf682b5fbbe3996197d14337963abcf6cfb7f8f1edbcf40f65650508655c92f43ba97189d22394b821acc4fe7cd6b27f70859020632ec6c9c5da04ac8cc807 WHIRLPOOL 8d37a9619f21a29459a7bd745ea0a783a01780da4df766e9657007c1459fcf02a05123296d26ed9da0ffdd3371f1245840b6dd9347794b76bf0ae00d9180e416
|
||||
DIST rack-attack-4.2.0.gem 15360 SHA256 f915f0811e32455729b58a1f4359a31a169f6a465ac46e163e573eb4cbca918e SHA512 27a46987d864886ba5f2a2724fb36293f3d7bc6721d1663defaa924bc6e3e17dd3f74b260eb74e0f6ca84a331dfeaea6431d0589b2cb410a51385d96c27cfca9 WHIRLPOOL 136fed76ce46865294f1f0952c564a5799728855166b1f1ef5d96fbea6dc1fa0f76bd3e33e6c3a9c3aa1b3197f00deca09ca153aeb4b1c03764c174eb1905677
|
||||
EBUILD rack-attack-2.3.0.ebuild 705 SHA256 088a3c0b8c84e2fec569c039260ef32f9c9ff6b344e576cdf78f0d209a9f94f1 SHA512 bf81d578a73c9ca12d43dfd4835b1bfbe2eadfdc5025f9c1207271c885f8656356a1fab5869255c2be741b4cefd23c2ff0418316032eff7950aae8b56812771b WHIRLPOOL 4ae54227a4fad6002efb1e09dbbb8bab0d391684740212513116fcc4c7439e517cc2473013240050c48c50a19127cefdcee82d260558db25cfe72dc6be04e9cf
|
||||
EBUILD rack-attack-4.1.0.ebuild 870 SHA256 b42c4aac94582d8e97e392545191f48b2451f6dcdb09deb61187b60c9a81f82a SHA512 84c6153efc16770e41c7630f672e2b39fba34a7e5e61215ea1627f415436d60974476a755782f6ebed3628a036d8c17da2a6e73ea9a1345fe2d13ea91cb8ca96 WHIRLPOOL a358f85b7fb013049b110b9bbb8635bbdabd5a0aa7cba6046e7373879a280430fb8b6baf48f242ca9a2ca1a8b30e895fc7e435a16e494fb88534f288b33edde9
|
||||
EBUILD rack-attack-4.1.1.ebuild 869 SHA256 d7fc67c8dbc499ce8b620232a6302e4fa5f62dbe219f512f0a626d0918f8501c SHA512 7703cda6ed0037f0758c8c4a5904ff58e54ed52fb512ac2273d0623f5cc7368d81a5412a144d87786c7afa3841b2f33776b0c5439d2979348af69c79eb6569d6 WHIRLPOOL a2bf76d7d358ab956eda7a46e38346321d9c680064208bba44b076435139d2e6160032588124372526c25e8a1607f07b01736c205312d8eb130d30bef9fec0d8
|
||||
MISC ChangeLog 610 SHA256 2e869af65d2f723bca881000e7c89d1b40c1b061a0456ad6d936c9e016efbdd6 SHA512 56e769be76e99e9d082f0da12679bc93a33cc8173797c877435b82579d5ab0c37c4288b4d7e66a513af147494251d32476b7626bf1f50d0260389312112a32a9 WHIRLPOOL 07d88f2fdff2865b801c3a12fe16a2b86467175b5379ac5af74d01f6445e9c4e35adcb14ba18ecf8ab6b4cbaf9ebdd9acdad7f408e2ae3283c99c3e71455aa97
|
||||
EBUILD rack-attack-4.2.0.ebuild 859 SHA256 7bfc1aa57016fec7140f5d4e1544b1c8169f48bb6d64fb3626797e2427b3e689 SHA512 b71b45d5cf281e7c800fe15b3b3bc3d5f7a55be843ea74cd88f78fe11fe4d737d14644fefaec8d8563ce68580e8e14614c2598961e7577520288ba3520eb0fc8 WHIRLPOOL 3dac66e0ce7fd6500f78163b9d171e4cb7e9e42df2628f08891da49484052cccbaf6aa5ee13cdbc4a14dcd680226af21bfa4e9e598c6bc4eafef8749a8b61e68
|
||||
MISC ChangeLog 739 SHA256 a675d64293ed825b8371242fff39fc489632e9e3d82bbae4b23f3c199fc9b4d3 SHA512 d872e1961667321bdb62627227020dec4e678e1bb8d26987683af56f46136cba854628f495d15f43323c20ccfeac09b334c0e31bc9533b672ba9dc471efe8661 WHIRLPOOL dbd027c9b0797ebfd2bef70a4ba8236e89553d85bc5fd52ddd2619a49894ccb1b55aa2290bae2ec67e568b7d057dfabff641fb5d108ef0378694e04b39a4a86d
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iF4EAREIAAYFAlRN7v0ACgkQiIP6VqMIqNfxMwD/f8dTVapQWqMuztYj7xLkD8o4
|
||||
ES1pdMgr/rMPnHtfeYsA/jY2aJ54IwRU5akWiPA18I4WPW+Wr7npkXEIHq466eVg
|
||||
=0gzz
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-attack/rack-attack-4.2.0.ebuild,v 1.1 2014/10/27 07:06:31 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
# Skip integration tests since they require additional unpackaged
|
||||
# dependencies and running daemons.
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A DSL for blocking & throttling abusive clients"
|
||||
HOMEPAGE="https://github.com/kickstarter/rack-attack"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/rack"
|
||||
ruby_add_bdepend "test? ( dev-ruby/activesupport
|
||||
dev-ruby/rack-test
|
||||
dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/d' spec/spec_helper.rb || die
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/devil/devil-1.7.8-r2.ebuild,v 1.1 2014/10/27 07:59:46 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P=DevIL-${PV}
|
||||
|
||||
DESCRIPTION="DevIL image library"
|
||||
HOMEPAGE="http://openil.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/openil/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="allegro gif glut jpeg jpeg2k mng nvtt openexr opengl png sdl sse sse2 sse3 static-libs tiff xpm X"
|
||||
|
||||
RDEPEND="allegro? ( media-libs/allegro:0 )
|
||||
gif? ( media-libs/giflib )
|
||||
glut? ( media-libs/freeglut )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
mng? ( media-libs/libmng )
|
||||
nvtt? ( media-gfx/nvidia-texture-tools )
|
||||
openexr? ( media-libs/openexr )
|
||||
opengl? ( virtual/opengl
|
||||
virtual/glu )
|
||||
png? ( media-libs/libpng:0 )
|
||||
sdl? ( media-libs/libsdl )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
X? ( x11-libs/libXext
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-{CVE-2009-3994,libpng14,nvtt-glut,ILUT}.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-lcms \
|
||||
--enable-ILU \
|
||||
--enable-ILUT \
|
||||
$(use_enable sse) \
|
||||
$(use_enable sse2) \
|
||||
$(use_enable sse3) \
|
||||
$(use_enable openexr exr) \
|
||||
$(use_enable gif) \
|
||||
$(use_enable jpeg) \
|
||||
$(use_enable jpeg2k jp2) \
|
||||
$(use_enable mng) \
|
||||
$(use_enable png) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable xpm) \
|
||||
$(use_enable allegro) \
|
||||
--disable-directx8 \
|
||||
--disable-directx9 \
|
||||
$(use_enable opengl) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable X x11) \
|
||||
$(use_enable X shm) \
|
||||
$(use_enable X render) \
|
||||
$(use_enable glut) \
|
||||
$(use_with X x) \
|
||||
$(use_with nvtt)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use static-libs || prune_libtool_files
|
||||
}
|
@ -1,24 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST frescobaldi-2.0.13.tar.gz 3739244 SHA256 501d2388fa7c49fc8d644caa7550463a4455a0064e2ffe469261a26dab32bee4 SHA512 2ddfc62011a43ecc14e3268716b2722610682b26a65a040a0fb29f31f6f8bc318d25479c4381c983f56a38ccc0788573dd553c496f88d2b798d55de88bbdb987 WHIRLPOOL 3847b2ccb74e6f745ef0bb4175466b206830253411ba6d3b6495e1ae35f1a5565babed6ee7dffb1cc7659441f73c7473cbb13a8bc45535248914ad233181a08c
|
||||
DIST frescobaldi-2.0.14.tar.gz 3736640 SHA256 6771bddc6a1a982931fbabd56003d1302e78a50f7cf7f9c08c31f0472d7463ac SHA512 981cbbc07343778bac71ef4d5cd50ccfea0175e35b9d95d92323bb43bb0d3835449e1f2c930daebb7d2c7be607c8a999aa68172cf6441c56b850143f53fff374 WHIRLPOOL 59e724d02442b56958acd3eb9a41540c0ac53098a2a4c1acd43934350817897a22fbbeadbf94febe556697124a254b882349019f0f9514ce45dd2b9862e88b66
|
||||
DIST frescobaldi-2.0.15.tar.gz 3747346 SHA256 1f9d56fc1e4de90c93b327d78b6c086ed2fc575b67503bdbb852545ff75daa17 SHA512 d4684c51bad42ea6aea82dba6844839d3c1dae1d6aaf0a8d04857b8babc3e3199114342527445a8076ff6733193304d38a13e7728caa902e36e48d05f1e4b745 WHIRLPOOL e718c7a6b75befc8a83f1d2d1731d84a1578434684c845ec24dfeba0c1bcae812116139f3d28477df0c3f9a4dd484231c2cb38f2a96fcea6469ba5dd2330c409
|
||||
DIST frescobaldi-2.0.16.tar.gz 3861027 SHA256 d8e89a662da45ae6c514365a4eb6895419f8058014f5393041988a55f05eea8a SHA512 7f04b84ec73ee84094ef8c11ef546a111b3c795dff9611a0627180b6509103c7505e5799a3ad0dd8d4d54dca2596f34835dca0018f78fe55966665c5eb14f3ab WHIRLPOOL 3c1d2f9d79ab04536664176d834014d5daab73d115961913b40c247dfe142cbf95761e44043ccfd914dc6cf64eb307d29fba0cb128afd44c3c345e1cb6edcd9a
|
||||
EBUILD frescobaldi-2.0.13.ebuild 915 SHA256 79d5c60fae8735fd9302c861750ed28c763c22aff54ec8b598e186c405e0ce58 SHA512 b21085c4b41783e77c080b895ff97ba47ace7827bdedc182fa9421df57a9bb54db45d41a8ea1069e709c0c2e775ba2b5e6dae5206ab9049af19ab5b26e53d03a WHIRLPOOL 960434f8e21a2259da5b0702e9cc46c9a46f9c53ab384fbd2f90357c17860a81a7f58289b39a4b7f8da8deacdd62889238992e5e1f5636afe324c021b2e8a52e
|
||||
EBUILD frescobaldi-2.0.14.ebuild 915 SHA256 acd7a4f7153406919250142d8e886bf41a07f08aa0a56d307821424723686105 SHA512 c90bb144650993716424dd5d72d81b7e8954060272c58ed4b9404a228578ebd1a56e7050225ea2403587bc0a6392a41444f3fe6f969bfe50f1c9b311a56e64b4 WHIRLPOOL 9b0e299b83289dcebd0f509800590e209388e9d0018779ead2438d7ef167e69914815c079d487c7ef4fefdf03ccc9918c51fdbb2ee4b32917e7b5d0b7101484b
|
||||
EBUILD frescobaldi-2.0.15.ebuild 915 SHA256 2f751f4ccbd22dd8feeca41cb94070de296aff99d37d952fc366444d42653f4f SHA512 84d9482afbb054b26cec49592cda96101d628b517062ea36801a284dd074ab6065b0b6fd63e0cb81da2b15fb4a95c9d01abf0bf91731c2691f8ad2f4793dc333 WHIRLPOOL f92895569236245a1a78ba404f7c4a37121501302690f615971b2e0eb5c935877c24e8f37f2f8cca6331c6c428404d07760d36335c2c4fc19c0e468e125727c4
|
||||
EBUILD frescobaldi-2.0.16.ebuild 909 SHA256 9be837e73bbc7e862079e679196f43bd74e023e6f4a3bdf5d4e63dc4eeb15777 SHA512 ce1005fe0373a9ef853edba5504f0fea6c0bd6a1ed6abd28a5593f1df51836bb5397d1459ebdf9858da7d84acc331df65f231dc0f48f7736c5875f895ea248a2 WHIRLPOOL f0725aabfcf2aad372343f6200c6b733189ab5808ebcb01802a70d51b7fbf1247ff6828aab5e27aa7041497d9fbc318629cd517e16314e47bfc17e891ccf5d74
|
||||
MISC ChangeLog 3964 SHA256 f89234dc20daea54f53b85b0aac417e0c44caf351a2bbab30786e3750ef63426 SHA512 bb84d578653198126bf07554d567bd65aa8185ee825b22e2aa85c1427911012713b2e9297496b34b71357434fc96011dbbbb971e0c7146f98073ba6e95396024 WHIRLPOOL c07b08a7e96a055b86ee3740a388273af710d1884bd0136729afac61a7323ecc216f7e9b9cec8864d72a3117fca76178720748b75a381db885ce0ccf13b42faf
|
||||
MISC ChangeLog 4113 SHA256 63a8b3d62472a4c2c8258415a4a1bfa477b3fd3c209cb7edc8b417dc1bc2e918 SHA512 074e89c50b7d937222e63fe02ffeb83f1a1b94e7789b6376792231eed893df0721cf59f5fab1b4ccb823058b975552ef84577f67e57c4d09db865d554b84bf51 WHIRLPOOL 06c7ecda229b554da698a6f1da5b426ec241f2667c393401795c40193d9c792fdae792c0178e80f6a6ed951f72dc29417a3d886ba68a1bda2c822ebca52fe8f6
|
||||
MISC metadata.xml 278 SHA256 5f5939f0ff55f6e8c9220b7de246d84d110b7690fc9b40f715364823abd531fa SHA512 8945ace7d7b61a38ae07527f8e1c927dc5fd02d342e879123660a67178000d8793778a37baebb8b381549c11783577d479eaba642890aeb1313a3119e7a55b2f WHIRLPOOL 0ae75fa5bf43a78c990760ce599edcd2e9a484bd2c05ef63b0143cdbf52d3ed9ed750cb685f5b3136a3b6fc13a960767eb14d572436b6d97d2bc26792aef2f81
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJTo97QAAoJEEqz6FtPBkyj1r0IALXavku9axJJBjynK7OYGCTr
|
||||
oceNq0leRSC8yD8ZRuiokmcv3VDnMoctphV88CIorXV3QXmTeomTD7o5AaZTzhwr
|
||||
B72q/QGSW7wPBiORdgQNqou/2c2UpXyqy02DIJ8URMmtDOEjrFgKNYIGO5LmdZL4
|
||||
2UShi4OQ+IIBniV+pn8zFcC6kO098P63gN2DQXdGmXXGHrVPkNuuRUbDAzIg0kM8
|
||||
yTYPZ6CNVorE++4EolderWPbT4mOFMEFin7Nr2hnRaer5QArJUM1NUz8R0uI3jvu
|
||||
gEd8YT6Qz7ScQb7JAuWd2WR60XrLdS3BSZG417Tbm81xZ7+/nW6WPNwGGdadHLw=
|
||||
=Iolu
|
||||
iQEcBAEBCAAGBQJUTdu5AAoJEEdUh39IaPFNwbQH/3N5g12LFv1goQLv5snryR2E
|
||||
pPlgHOk9LRfo0UoH4cilA2nyxO75NJEG4hf7hIn371dyvqfWQzCknafR4NMjHDzV
|
||||
XT6pei/rC74G6GfTzz9dqz5xIiPSZJCF2lGHktz7q8H4VG537HeOYxviwUQivzt4
|
||||
xgRBYqe9Ge6toHxVzBs9jSV7LjxKeuzqW10W0C3jrQqf6qmg52RH26TBixEBvOzl
|
||||
njXPBdl0IT1AlBzlbZHgOWjk7S/7Bc0ukVDKtuCKV3jqKlLdrfb7QHPCsLGreEoE
|
||||
6AaWRRHzcYVTFxtD1kIERY3BGbjNnmpe42gjQ4VX2l6y0fTljOA+4MlEBf6H7YE=
|
||||
=zuVp
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/frescobaldi/frescobaldi-2.0.13.ebuild,v 1.1 2014/01/01 05:08:20 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 gnome2-utils
|
||||
|
||||
DESCRIPTION="A LilyPond sheet music text editor"
|
||||
HOMEPAGE="http://www.frescobaldi.org/"
|
||||
SRC_URI="https://github.com/wbsoft/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 public-domain" # public-domain is for bundled Tango icons
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="portmidi"
|
||||
|
||||
RDEPEND="dev-python/python-poppler-qt4[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[X,${PYTHON_USEDEP}]
|
||||
>=media-sound/lilypond-2.14.2
|
||||
portmidi? ( media-libs/portmidi )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/frescobaldi/frescobaldi-2.0.14.ebuild,v 1.1 2014/03/06 20:34:55 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 gnome2-utils
|
||||
|
||||
DESCRIPTION="A LilyPond sheet music text editor"
|
||||
HOMEPAGE="http://www.frescobaldi.org/"
|
||||
SRC_URI="https://github.com/wbsoft/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 public-domain" # public-domain is for bundled Tango icons
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="portmidi"
|
||||
|
||||
RDEPEND="dev-python/python-poppler-qt4[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[X,${PYTHON_USEDEP}]
|
||||
>=media-sound/lilypond-2.14.2
|
||||
portmidi? ( media-libs/portmidi )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/frescobaldi/frescobaldi-2.0.15.ebuild,v 1.1 2014/03/12 00:41:55 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 gnome2-utils
|
||||
|
||||
DESCRIPTION="A LilyPond sheet music text editor"
|
||||
HOMEPAGE="http://www.frescobaldi.org/"
|
||||
SRC_URI="https://github.com/wbsoft/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 public-domain" # public-domain is for bundled Tango icons
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="portmidi"
|
||||
|
||||
RDEPEND="dev-python/python-poppler-qt4[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[X,${PYTHON_USEDEP}]
|
||||
>=media-sound/lilypond-2.14.2
|
||||
portmidi? ( media-libs/portmidi )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 27 Oct 2014 05:07:27 +0000
|
||||
Mon, 27 Oct 2014 08:07:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 27 Oct 2014 05:07:28 +0000
|
||||
Mon, 27 Oct 2014 08:07:01 +0000
|
||||
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DEPEND=tk? ( >=dev-lang/tk-8.1 )
|
||||
DESCRIPTION=A convertor for Microsoft Word, Excel and RTF Files to text
|
||||
HOMEPAGE=http://www.wagner.pp.ru/~vitus/software/catdoc/
|
||||
IUSE=tk
|
||||
KEYWORDS=amd64 ~ppc x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=tk? ( >=dev-lang/tk-8.1 )
|
||||
SLOT=0
|
||||
SRC_URI=http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.94.2.tar.gz
|
||||
_md5_=1999defcf7da7f3e7b76c48bb8f18df7
|
@ -1,13 +1,12 @@
|
||||
DEFINED_PHASES=compile configure install prepare
|
||||
DEPEND=tk? ( >=dev-lang/tk-8.1 ) !<sys-devel/gettext-0.18.1.1-r3 sys-devel/automake >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||
DESCRIPTION=Converter for Microsoft Word, Excel, PowerPoint and RTF files to text
|
||||
EAPI=3
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.wagner.pp.ru/~vitus/software/catdoc/
|
||||
IUSE=tk
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=tk? ( >=dev-lang/tk-8.1 )
|
||||
SLOT=0
|
||||
SRC_URI=http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.94.2.tar.gz
|
||||
SRC_URI=mirror://debian/pool/main/c/catdoc/catdoc_0.94.4.orig.tar.gz
|
||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 32548a82e42dc26e3312581476d2f20c libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=a7a5beed7f88d6f527926103f254f41f
|
||||
_md5_=aaf6511f5e5f55af03ed885f388c5bb0
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/docutils[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] test? ( dev-python/mock[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
DESCRIPTION=reStructuredText viewer
|
||||
EAPI=5
|
||||
HOMEPAGE=https://mg.pov.lt/restview/
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/docutils[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] dev-python/pygments[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_pypy )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/r/restview/restview-2.1.1.tar.gz
|
||||
_eclasses_=distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 32548a82e42dc26e3312581476d2f20c multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 14f70a8c0d896d1b016d17f108a6de74 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=5616c8c1c22695db0120d9a7ee71d735
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup test
|
||||
DEPEND=>=virtual/jdk-1.4 test? ( dev-java/junit:0 dev-java/ant-junit:0 ) >=dev-java/xerces-2.7 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2 >=dev-java/javatoolkit-0.3.0-r2
|
||||
DESCRIPTION=A simple HTML scanner and tag balancer using standard XML interfaces
|
||||
EAPI=5
|
||||
HOMEPAGE=http://nekohtml.sourceforge.net/
|
||||
IUSE=elibc_FreeBSD doc examples source test elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=virtual/jre-1.4 >=dev-java/xerces-2.7 >=dev-java/java-config-2.1.9-r1 source? ( app-arch/zip )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/nekohtml/nekohtml-1.9.18.tar.gz
|
||||
_eclasses_=eutils 32548a82e42dc26e3312581476d2f20c java-ant-2 5f5bada6517ed26bc25083134e42b146 java-pkg-2 65bbb59987d777c1106ae8aa4bf36e7b java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 6ce35cb0d56d962486c858d41604c820 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=20e6df09d65d0ddff6b395d6c4c07f15
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile install postinst postrm prepare setup
|
||||
DEPEND=app-text/poppler[qt4] dev-python/PyQt4 >=dev-python/sip-4.9.1 || ( =dev-lang/python-2.7* =dev-lang/python-2.6* )
|
||||
DESCRIPTION=A python binding for libpoppler-qt4
|
||||
EAPI=4
|
||||
HOMEPAGE=http://code.google.com/p/python-poppler-qt4/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=app-text/poppler[qt4] dev-python/PyQt4 >=dev-python/sip-4.9.1 || ( =dev-lang/python-2.7* =dev-lang/python-2.6* )
|
||||
SLOT=0
|
||||
SRC_URI=http://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz
|
||||
_eclasses_=distutils 34e0f373c466bb0e97ba194735f1acf2 multilib 3bf24e6abb9b76d9f6c20600f0b716bf python be9965681d83c3980660a2660ac95e95 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=cb30ac32d7533df5a52b148c79417abf
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=app-text/poppler:=[qt4] dev-python/PyQt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/sip-4.9.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=A python binding for libpoppler-qt4
|
||||
EAPI=5
|
||||
HOMEPAGE=http://code.google.com/p/python-poppler-qt4/
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=app-text/poppler:=[qt4] dev-python/PyQt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/sip-4.9.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=http://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz
|
||||
_eclasses_=distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 32548a82e42dc26e3312581476d2f20c multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 14f70a8c0d896d1b016d17f108a6de74 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=7138172def76b44e622fa51d9444d84b
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=app-text/poppler:=[qt4] dev-python/PyQt4[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] >=dev-python/sip-4.9.1[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=A python binding for libpoppler-qt4
|
||||
EAPI=5
|
||||
HOMEPAGE=http://code.google.com/p/python-poppler-qt4/
|
||||
IUSE=python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=app-text/poppler:=[qt4] dev-python/PyQt4[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] >=dev-python/sip-4.9.1[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=http://github.com/wbsoft/python-poppler-qt4/archive/v0.18.1.tar.gz -> python-poppler-qt4-0.18.1.tar.gz
|
||||
_eclasses_=distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 32548a82e42dc26e3312581476d2f20c multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 14f70a8c0d896d1b016d17f108a6de74 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=5287aa0475d298ded1cb07f2fbf5b583
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] test? ( dev-python/six[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/lxml[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/pillow[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
DESCRIPTION=QR Code generator on top of PIL
|
||||
EAPI=5
|
||||
HOMEPAGE=https://pypi.python.org/pypi/qrcode
|
||||
IUSE=test python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=dev-python/six[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/lxml[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] dev-python/pillow[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/q/qrcode/qrcode-5.1.tar.gz
|
||||
_eclasses_=distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 32548a82e42dc26e3312581476d2f20c multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 14f70a8c0d896d1b016d17f108a6de74 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=46dfa03b8ad0ab3322e4deac350f38a4
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare setup test unpack
|
||||
DEPEND=test? ( ruby_targets_ruby19? ( dev-ruby/rack[ruby_targets_ruby19] ) ruby_targets_ruby20? ( dev-ruby/rack[ruby_targets_ruby20] ) ruby_targets_ruby21? ( dev-ruby/rack[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( test? ( dev-ruby/activesupport[ruby_targets_ruby19] dev-ruby/rack-test[ruby_targets_ruby19] dev-ruby/minitest[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/activesupport[ruby_targets_ruby20] dev-ruby/rack-test[ruby_targets_ruby20] dev-ruby/minitest[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/activesupport[ruby_targets_ruby21] dev-ruby/rack-test[ruby_targets_ruby21] dev-ruby/minitest[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby19? ( test? ( dev-ruby/rake[ruby_targets_ruby19] ) ) ruby_targets_ruby20? ( test? ( dev-ruby/rake[ruby_targets_ruby20] ) ) ruby_targets_ruby21? ( test? ( dev-ruby/rake[ruby_targets_ruby21] ) ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) test? ( ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] ) )
|
||||
DESCRIPTION=A DSL for blocking & throttling abusive clients
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/kickstarter/rack-attack
|
||||
IUSE=test elibc_FreeBSD ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 test test
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MIT
|
||||
RDEPEND=ruby_targets_ruby19? ( dev-ruby/rack[ruby_targets_ruby19] ) ruby_targets_ruby20? ( dev-ruby/rack[ruby_targets_ruby20] ) ruby_targets_ruby21? ( dev-ruby/rack[ruby_targets_ruby21] ) ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ruby_targets_ruby21? ( dev-lang/ruby:2.1 ) ruby_targets_ruby19? ( virtual/rubygems[ruby_targets_ruby19] ) ruby_targets_ruby20? ( virtual/rubygems[ruby_targets_ruby20] ) ruby_targets_ruby21? ( virtual/rubygems[ruby_targets_ruby21] )
|
||||
REQUIRED_USE=|| ( ruby_targets_ruby19 ruby_targets_ruby20 ruby_targets_ruby21 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://rubygems/rack-attack-4.2.0.gem
|
||||
_eclasses_=eutils 32548a82e42dc26e3312581476d2f20c java-utils-2 f02d3e4777b404c719a5a6479c37c6e3 multilib 3bf24e6abb9b76d9f6c20600f0b716bf ruby-fakegem 738ee4b7f8b16d4a734b4d37717db89b ruby-ng 14f0490e24cbad7c17cece628b3d111e toolchain-funcs 6ce35cb0d56d962486c858d41604c820 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=6c8e49b00b50beed9dfba2a5c5fb3391
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=allegro? ( media-libs/allegro:0 ) gif? ( media-libs/giflib ) glut? ( media-libs/freeglut ) jpeg? ( virtual/jpeg ) jpeg2k? ( media-libs/jasper ) mng? ( media-libs/libmng ) nvtt? ( media-gfx/nvidia-texture-tools ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0 ) sdl? ( media-libs/libsdl ) tiff? ( media-libs/tiff:0 ) xpm? ( x11-libs/libXpm ) X? ( x11-libs/libXext x11-libs/libX11 x11-libs/libXrender ) virtual/pkgconfig X? ( x11-proto/xextproto ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||
DESCRIPTION=DevIL image library
|
||||
EAPI=5
|
||||
HOMEPAGE=http://openil.sourceforge.net/
|
||||
IUSE=allegro gif glut jpeg jpeg2k mng nvtt openexr opengl png sdl sse sse2 sse3 static-libs tiff xpm X
|
||||
KEYWORDS=~amd64 ~arm ~mips ~ppc ~ppc64 ~x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=allegro? ( media-libs/allegro:0 ) gif? ( media-libs/giflib ) glut? ( media-libs/freeglut ) jpeg? ( virtual/jpeg ) jpeg2k? ( media-libs/jasper ) mng? ( media-libs/libmng ) nvtt? ( media-gfx/nvidia-texture-tools ) openexr? ( media-libs/openexr ) opengl? ( virtual/opengl virtual/glu ) png? ( media-libs/libpng:0 ) sdl? ( media-libs/libsdl ) tiff? ( media-libs/tiff:0 ) xpm? ( x11-libs/libXpm ) X? ( x11-libs/libXext x11-libs/libX11 x11-libs/libXrender )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/openil/DevIL-1.7.8.tar.gz
|
||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 eutils 32548a82e42dc26e3312581476d2f20c libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=6aa43fb930c6694cebdf7dafe19b87a6
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||
DEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/PyQt4[X,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=media-sound/lilypond-2.14.2 portmidi? ( media-libs/portmidi ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=sys-apps/sed-4
|
||||
DESCRIPTION=A LilyPond sheet music text editor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.frescobaldi.org/
|
||||
IUSE=portmidi python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2 public-domain
|
||||
RDEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/PyQt4[X,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=media-sound/lilypond-2.14.2 portmidi? ( media-libs/portmidi ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/wbsoft/frescobaldi/releases/download/v2.0.13/frescobaldi-2.0.13.tar.gz
|
||||
_eclasses_=distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 32548a82e42dc26e3312581476d2f20c gnome2-utils f658eba3cc594a21cf6eef4af47daa90 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 14f70a8c0d896d1b016d17f108a6de74 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=fc3a4b9add9be914acc0bd828d651572
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||
DEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/PyQt4[X,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=media-sound/lilypond-2.14.2 portmidi? ( media-libs/portmidi ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=sys-apps/sed-4
|
||||
DESCRIPTION=A LilyPond sheet music text editor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.frescobaldi.org/
|
||||
IUSE=portmidi python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2 public-domain
|
||||
RDEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/PyQt4[X,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=media-sound/lilypond-2.14.2 portmidi? ( media-libs/portmidi ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/wbsoft/frescobaldi/releases/download/v2.0.14/frescobaldi-2.0.14.tar.gz
|
||||
_eclasses_=distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 32548a82e42dc26e3312581476d2f20c gnome2-utils f658eba3cc594a21cf6eef4af47daa90 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 14f70a8c0d896d1b016d17f108a6de74 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=aed1cc37e2386477aec35c34636cb3cd
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||
DEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/PyQt4[X,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=media-sound/lilypond-2.14.2 portmidi? ( media-libs/portmidi ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=sys-apps/sed-4
|
||||
DESCRIPTION=A LilyPond sheet music text editor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.frescobaldi.org/
|
||||
IUSE=portmidi python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2 public-domain
|
||||
RDEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/PyQt4[X,python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=media-sound/lilypond-2.14.2 portmidi? ( media-libs/portmidi ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/wbsoft/frescobaldi/releases/download/v2.0.15/frescobaldi-2.0.15.tar.gz
|
||||
_eclasses_=distutils-r1 90e7008a7d21e3b1597bea444bb85827 eutils 32548a82e42dc26e3312581476d2f20c gnome2-utils f658eba3cc594a21cf6eef4af47daa90 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 14f70a8c0d896d1b016d17f108a6de74 toolchain-funcs 6ce35cb0d56d962486c858d41604c820
|
||||
_md5_=a39804fd59e46010460c08207ffb1221
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=configure install postinst prepare setup
|
||||
DEPEND=>=net-libs/libpcap-1.3.0 >=net-libs/daq-2.0.2 >=dev-libs/libpcre-8.33 dev-libs/libdnet sys-libs/zlib !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool
|
||||
DESCRIPTION=The de facto standard for intrusion detection/prevention
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.snort.org/
|
||||
IUSE=static +gre +mpls +targetbased +ppm +perfprofiling +non-ether-decoders control-socket file-inspect high-availability shared-rep side-channel sourcefire linux-smp-stats inline-init-failopen +threads debug +active-response +normalizer reload-error-restart +react +flexresp3 large-pcap-64bit selinux
|
||||
KEYWORDS=~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=net-libs/libpcap-1.3.0 >=net-libs/daq-2.0.2 >=dev-libs/libpcre-8.33 dev-libs/libdnet sys-libs/zlib selinux? ( sec-policy/selinux-snort )
|
||||
REQUIRED_USE=!kernel_linux? ( !shared-rep )
|
||||
SLOT=0
|
||||
SRC_URI=https://www.snort.org/downloads/snort/snort-2.9.7.0.tar.gz
|
||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 libtool 52d0e17251d04645ffaa61bfdd858944 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 6ce35cb0d56d962486c858d41604c820 user f54e098dd38ba1c0847a13e685b87747
|
||||
_md5_=cdb4a934b952e465bd62f92a9d0417ac
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup test
|
||||
DEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( >=sys-libs/db-4.4 bindist? ( <sys-libs/db-6 ) ) smbkrb5passwd? ( dev-libs/openssl kerberos? ( app-crypt/heimdal ) ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) selinux? ( sec-policy/selinux-ldap ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] ) sys-apps/groff ssl? ( dev-libs/openssl ) !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.69 sys-devel/libtool virtual/pkgconfig
|
||||
DESCRIPTION=LDAP suite of application and development tools
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.OpenLDAP.org/
|
||||
IUSE=crypt icu samba slp tcpd experimental minimal +berkdb +bindist overlays perl gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs smbkrb5passwd kerberos -cxx abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 ssl
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris
|
||||
LICENSE=OPENLDAP GPL-2
|
||||
RDEPEND=icu? ( dev-libs/icu:= ) ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) gnutls? ( >=net-libs/gnutls-2.12.23-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libgcrypt-1.5.3:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) ) sasl? ( dev-libs/cyrus-sasl:= ) !minimal? ( sys-devel/libtool sys-libs/e2fsprogs-libs >=dev-db/lmdb-0.9.14 tcpd? ( sys-apps/tcp-wrappers ) odbc? ( !iodbc? ( dev-db/unixODBC ) iodbc? ( dev-db/libiodbc ) ) slp? ( net-libs/openslp ) perl? ( dev-lang/perl[-build(-)] ) samba? ( dev-libs/openssl ) berkdb? ( >=sys-libs/db-4.4 bindist? ( <sys-libs/db-6 ) ) smbkrb5passwd? ( dev-libs/openssl kerberos? ( app-crypt/heimdal ) ) kerberos? ( virtual/krb5 ) cxx? ( dev-libs/cyrus-sasl:= ) ) selinux? ( sec-policy/selinux-ldap ) abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20140508-r3 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
REQUIRED_USE=cxx? ( sasl )
|
||||
RESTRICT=!minimal? ( !bindist? ( berkdb? ( bindist ) ) )
|
||||
SLOT=0
|
||||
SRC_URI=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.40.tgz mirror://gentoo/rfc2307bis.schema-20140524
|
||||
_eclasses_=autotools ebea507d219855923e3438c953cf4ab8 db-use 82d0e62839f20e1e0d5a2259abd5316f eutils 32548a82e42dc26e3312581476d2f20c flag-o-matic 75e24bac8423c515dd9c5717f08feb83 libtool 52d0e17251d04645ffaa61bfdd858944 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 ssl-cert b53367370fde96e19beca78050a47c61 systemd 090342761f573a8280dd5aa6b0345f3b toolchain-funcs 6ce35cb0d56d962486c858d41604c820 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=699ffdcad9dcf5704d7c003cc2371155
|
@ -1 +1 @@
|
||||
Mon, 27 Oct 2014 05:07:31 +0000
|
||||
Mon, 27 Oct 2014 08:07:04 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon Oct 27 05:07:27 UTC 2014
|
||||
Mon Oct 27 08:07:01 UTC 2014
|
||||
|
@ -1 +1 @@
|
||||
Mon, 27 Oct 2014 05:30:01 +0000
|
||||
Mon, 27 Oct 2014 08:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1414386301 Mon 27 Oct 2014 05:05:01 AM UTC UTC
|
||||
1414397101 Mon 27 Oct 2014 08:05:01 AM UTC UTC
|
||||
|
@ -0,0 +1,250 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snort/snort-2.9.7.0.ebuild,v 1.1 2014/10/27 05:47:33 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
inherit autotools multilib user
|
||||
|
||||
DESCRIPTION="The de facto standard for intrusion detection/prevention"
|
||||
HOMEPAGE="http://www.snort.org/"
|
||||
SRC_URI="https://www.snort.org/downloads/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="static +gre +mpls +targetbased +ppm +perfprofiling
|
||||
+non-ether-decoders control-socket file-inspect high-availability
|
||||
shared-rep side-channel sourcefire linux-smp-stats inline-init-failopen
|
||||
+threads debug +active-response +normalizer reload-error-restart
|
||||
+react +flexresp3 large-pcap-64bit selinux"
|
||||
|
||||
DEPEND=">=net-libs/libpcap-1.3.0
|
||||
>=net-libs/daq-2.0.2
|
||||
>=dev-libs/libpcre-8.33
|
||||
dev-libs/libdnet
|
||||
sys-libs/zlib"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-snort )"
|
||||
|
||||
REQUIRED_USE="!kernel_linux? ( !shared-rep )"
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
# pre_inst() is a better place to put this
|
||||
# but we need it here for the 'fowners' statements in src_install()
|
||||
enewgroup snort
|
||||
enewuser snort -1 -1 /dev/null snort
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# Multilib fix for the sf_engine
|
||||
ebegin "Applying multilib fix"
|
||||
sed -i -e 's|${exec_prefix}/lib|${exec_prefix}/'$(get_libdir)'|g' \
|
||||
"${WORKDIR}/${P}/src/dynamic-plugins/sf_engine/Makefile.am" \
|
||||
|| die "sed for sf_engine failed"
|
||||
|
||||
# Multilib fix for the curent set of dynamic-preprocessors
|
||||
for i in file ftptelnet smtp ssh dns ssl dcerpc2 sdf imap pop sip reputation gtp modbus dnp3; do
|
||||
sed -i -e 's|${exec_prefix}/lib|${exec_prefix}/'$(get_libdir)'|g' \
|
||||
"${WORKDIR}/${P}/src/dynamic-preprocessors/$i/Makefile.am" \
|
||||
|| die "sed for $i failed."
|
||||
done
|
||||
eend
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
econf \
|
||||
$(use_enable !static shared) \
|
||||
$(use_enable static) \
|
||||
$(use_enable static so-with-static-lib) \
|
||||
$(use_enable gre) \
|
||||
$(use_enable mpls) \
|
||||
$(use_enable targetbased) \
|
||||
$(use_enable control-socket) \
|
||||
$(use_enable file-inspect) \
|
||||
$(use_enable high-availability ha) \
|
||||
$(use_enable non-ether-decoders) \
|
||||
$(use_enable shared-rep) \
|
||||
$(use_enable side-channel) \
|
||||
$(use_enable sourcefire) \
|
||||
$(use_enable ppm) \
|
||||
$(use_enable perfprofiling) \
|
||||
$(use_enable linux-smp-stats) \
|
||||
$(use_enable inline-init-failopen) \
|
||||
$(use_enable threads pthread) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable debug debug-msgs) \
|
||||
$(use_enable debug corefiles) \
|
||||
$(use_enable !debug dlclose) \
|
||||
$(use_enable active-response) \
|
||||
$(use_enable normalizer) \
|
||||
$(use_enable reload-error-restart) \
|
||||
$(use_enable react) \
|
||||
$(use_enable flexresp3) \
|
||||
$(use_enable large-pcap-64bit large-pcap) \
|
||||
--enable-reload \
|
||||
--disable-build-dynamic-examples \
|
||||
--disable-profile \
|
||||
--disable-ppm-test \
|
||||
--disable-intel-soft-cpm \
|
||||
--disable-static-daq
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodir /var/log/snort \
|
||||
/var/run/snort \
|
||||
/etc/snort/rules \
|
||||
/etc/snort/so_rules \
|
||||
/usr/$(get_libdir)/snort_dynamicrules
|
||||
|
||||
# config.log and build.log are needed by Sourcefire
|
||||
# to trouble shoot build problems and bug reports so we are
|
||||
# perserving them incase the user needs upstream support.
|
||||
dodoc RELEASE.NOTES ChangeLog \
|
||||
doc/* \
|
||||
tools/u2boat/README.u2boat
|
||||
|
||||
insinto /etc/snort
|
||||
doins etc/attribute_table.dtd \
|
||||
etc/classification.config \
|
||||
etc/gen-msg.map \
|
||||
etc/reference.config \
|
||||
etc/threshold.conf \
|
||||
etc/unicode.map
|
||||
|
||||
# We use snort.conf.distrib because the config file is complicated
|
||||
# and the one shipped with snort can change drastically between versions.
|
||||
# Users should migrate setting by hand and not with etc-update.
|
||||
newins etc/snort.conf snort.conf.distrib
|
||||
|
||||
# config.log and build.log are needed by Sourcefire
|
||||
# to troubleshoot build problems and bug reports so we are
|
||||
# preserving them incase the user needs upstream support.
|
||||
if [ -f "${WORKDIR}/${PF}/config.log" ]; then
|
||||
dodoc "${WORKDIR}/${PF}/config.log"
|
||||
fi
|
||||
if [ -f "${T}/build.log" ]; then
|
||||
dodoc "${T}/build.log"
|
||||
fi
|
||||
|
||||
insinto /etc/snort/preproc_rules
|
||||
doins preproc_rules/decoder.rules \
|
||||
preproc_rules/preprocessor.rules \
|
||||
preproc_rules/sensitive-data.rules
|
||||
|
||||
fowners -R snort:snort \
|
||||
/var/log/snort \
|
||||
/var/run/snort \
|
||||
/etc/snort
|
||||
|
||||
newinitd "${FILESDIR}/snort.rc12" snort
|
||||
newconfd "${FILESDIR}/snort.confd.2" snort
|
||||
|
||||
# Sourcefire uses Makefiles to install docs causing Bug #297190.
|
||||
# This removes the unwanted doc directory and rogue Makefiles.
|
||||
rm -rf "${D}"usr/share/doc/snort || die "Failed to remove SF doc directories"
|
||||
rm "${D}"usr/share/doc/"${PF}"/Makefile* || die "Failed to remove doc make files"
|
||||
|
||||
# Remove unneeded .la files (Bug #382863)
|
||||
rm "${D}"usr/$(get_libdir)/snort_dynamicengine/libsf_engine.la || die
|
||||
rm "${D}"usr/$(get_libdir)/snort_dynamicpreprocessor/libsf_*_preproc.la || die "Failed to remove libsf_?_preproc.la"
|
||||
|
||||
# Set the correct lib path for dynamicengine, dynamicpreprocessor, and dynamicdetection
|
||||
sed -i -e 's|/usr/local/lib|/usr/'$(get_libdir)'|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Set the correct rule location in the config
|
||||
sed -i -e 's|RULE_PATH ../rules|RULE_PATH /etc/snort/rules|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Set the correct preprocessor/decoder rule location in the config
|
||||
sed -i -e 's|PREPROC_RULE_PATH ../preproc_rules|PREPROC_RULE_PATH /etc/snort/preproc_rules|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Enable the preprocessor/decoder rules
|
||||
sed -i -e 's|^# include $PREPROC_RULE_PATH|include $PREPROC_RULE_PATH|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
sed -i -e 's|^# dynamicdetection directory|dynamicdetection directory|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Just some clean up of trailing /'s in the config
|
||||
sed -i -e 's|snort_dynamicpreprocessor/$|snort_dynamicpreprocessor|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Make it clear in the config where these are...
|
||||
sed -i -e 's|^include classification.config|include /etc/snort/classification.config|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
sed -i -e 's|^include reference.config|include /etc/snort/reference.config|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Disable all rule files by default.
|
||||
sed -i -e 's|^include $RULE_PATH|# include $RULE_PATH|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Disable normalizer preprocessor config if normalizer USE flag not set.
|
||||
if ! use normalizer; then
|
||||
sed -i -e 's|^preprocessor normalize|#preprocessor normalize|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
fi
|
||||
|
||||
# Set the configured DAQ to afpacket
|
||||
sed -i -e 's|^# config daq: <type>|config daq: afpacket|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Set the location of the DAQ modules
|
||||
sed -i -e 's|^# config daq_dir: <dir>|config daq_dir: /usr/'$(get_libdir)'/daq|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Set the DAQ mode to passive
|
||||
sed -i -e 's|^# config daq_mode: <mode>|config daq_mode: passive|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Set snort to run as snort:snort
|
||||
sed -i -e 's|^# config set_gid:|config set_gid: snort|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
sed -i -e 's|^# config set_uid:|config set_uid: snort|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Set the default log dir
|
||||
sed -i -e 's|^# config logdir:|config logdir: /var/log/snort/|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
|
||||
# Set the correct so_rule location in the config
|
||||
sed -i -e 's|SO_RULE_PATH ../so_rules|SO_RULE_PATH /etc/snort/so_rules|g' \
|
||||
"${D}etc/snort/snort.conf.distrib" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
einfo "There have been a number of improvements and new features"
|
||||
einfo "added to ${P}. Please review the RELEASE.NOTES and"
|
||||
einfo "ChangLog located in /usr/share/doc/${PF}."
|
||||
einfo
|
||||
elog "The Sourcefire Vulnerability Research Team (VRT) recommends that"
|
||||
elog "users migrate their snort.conf customizations to the latest config"
|
||||
elog "file released by the VRT. You can find the latest version of the"
|
||||
elog "Snort config file in /etc/snort/snort.conf.distrib."
|
||||
elog
|
||||
elog "!! It is important that you migrate to this new snort.conf file !!"
|
||||
elog
|
||||
elog "This version of the ebuild includes an updated init.d file and"
|
||||
elog "conf.d file that rely on options found in the latest Snort"
|
||||
elog "config file provided by the VRT."
|
||||
|
||||
if use debug; then
|
||||
elog "You have the 'debug' USE flag enabled. If this has been done to"
|
||||
elog "troubleshoot an issue by producing a core dump or a back trace,"
|
||||
elog "then you need to also ensure the FEATURES variable in make.conf"
|
||||
elog "contains the 'nostrip' option."
|
||||
fi
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
Re-allow building with >= BerkeleyDB-6.0.20.
|
||||
|
||||
If you do build/link against this version, please note that the licenses
|
||||
PROHIBIT distribution of the binaries. We will enforce RESTRICT=bindist for
|
||||
this.
|
||||
|
||||
X-Gentoo-Bug: 525110
|
||||
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=525110
|
||||
|
||||
diff -ur openldap-2.4.40/build/openldap.m4 openldap-2.4.40.fix/build/openldap.m4
|
||||
--- openldap-2.4.40/build/openldap.m4 2014-09-19 05:48:49.000000000 +0400
|
||||
+++ openldap-2.4.40.fix/build/openldap.m4 2014-10-16 15:51:38.223985217 +0400
|
||||
@@ -553,13 +553,10 @@
|
||||
|
||||
#define DB_VERSION_FULL ((DB_VERSION_MAJOR<<16)|(DB_VERSION_MINOR<<8)|DB_VERSION_PATCH)
|
||||
|
||||
-/* require 4.4 or later, but less than 6.0.20 */
|
||||
-#if DB_VERSION_FULL >= 0x040400 && DB_VERSION_FULL < 0x060014
|
||||
+/* require 4.4 or later */
|
||||
+#if DB_VERSION_FULL >= 0x040400
|
||||
__db_version_compat
|
||||
#endif
|
||||
-#if DB_VERSION_FULL >= 0x060014
|
||||
-#error "BerkeleyDB 6.0.20+ license is incompatible with LDAP"
|
||||
-#endif
|
||||
], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])
|
||||
])
|
||||
|
@ -0,0 +1,136 @@
|
||||
--- ./build/top.mk.orig 2014-10-24 14:34:59.260827298 +0200
|
||||
+++ ./build/top.mk 2014-10-24 14:35:25.281168893 +0200
|
||||
@@ -160,6 +160,7 @@
|
||||
LTHREAD_LIBS = @LTHREAD_LIBS@
|
||||
|
||||
BDB_LIBS = @BDB_LIBS@
|
||||
+MDB_LIBS = @MDB_LIBS@
|
||||
SLAPD_NDB_LIBS = @SLAPD_NDB_LIBS@
|
||||
|
||||
LDAP_LIBLBER_LA = $(LDAP_LIBDIR)/liblber/liblber.la
|
||||
--- ./build/openldap.m4.orig 2014-10-24 10:52:02.837221734 +0200
|
||||
+++ ./build/openldap.m4 2014-10-24 11:31:02.748087966 +0200
|
||||
@@ -563,6 +563,38 @@
|
||||
], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])
|
||||
])
|
||||
|
||||
+dnl --------------------------------------------------------------------
|
||||
+dnl Check for version compatility with back-mdb
|
||||
+AC_DEFUN([OL_MDB_COMPAT],
|
||||
+[AC_CACHE_CHECK([if LMDB version supported by MDB backends], [ol_cv_mdb_compat],[
|
||||
+ AC_EGREP_CPP(__mdb_version_compat,[
|
||||
+#include <lmdb.h>
|
||||
+
|
||||
+/* require 0.9.14 or later */
|
||||
+#if MDB_VERSION_FULL >= 0x00000009000E
|
||||
+ __mdb_version_compat
|
||||
+#endif
|
||||
+ ], [ol_cv_mdb_compat=yes], [ol_cv_mdb_compat=no])])
|
||||
+])
|
||||
+
|
||||
+dnl
|
||||
+dnl --------------------------------------------------------------------
|
||||
+dnl Find any MDB
|
||||
+AC_DEFUN([OL_MDB],
|
||||
+[ol_cv_mdb=no
|
||||
+AC_CHECK_HEADERS(lmdb.h)
|
||||
+if test $ac_cv_header_lmdb_h = yes; then
|
||||
+ OL_MDB_COMPAT
|
||||
+
|
||||
+ if test $ol_cv_mdb_compat != yes ; then
|
||||
+ AC_MSG_ERROR([LMDB version incompatible with MDB backends])
|
||||
+ fi
|
||||
+
|
||||
+ ol_cv_lib_mdb=-llmdb
|
||||
+ ol_cv_mdb=yes
|
||||
+fi
|
||||
+])
|
||||
+
|
||||
dnl
|
||||
dnl ====================================================================
|
||||
dnl Check POSIX Thread version
|
||||
--- ./servers/slapd/back-mdb/Makefile.in.orig 2014-10-24 10:31:30.860931076 +0200
|
||||
+++ ./servers/slapd/back-mdb/Makefile.in 2014-10-24 14:33:33.803705424 +0200
|
||||
@@ -25,11 +25,10 @@
|
||||
extended.lo operational.lo \
|
||||
attr.lo index.lo key.lo filterindex.lo \
|
||||
dn2entry.lo dn2id.lo id2entry.lo idl.lo \
|
||||
- nextid.lo monitor.lo mdb.lo midl.lo
|
||||
+ nextid.lo monitor.lo
|
||||
|
||||
LDAP_INCDIR= ../../../include
|
||||
LDAP_LIBDIR= ../../../libraries
|
||||
-MDB_SUBDIR = $(srcdir)/$(LDAP_LIBDIR)/liblmdb
|
||||
|
||||
BUILD_OPT = "--enable-mdb"
|
||||
BUILD_MOD = @BUILD_MDB@
|
||||
@@ -44,7 +43,7 @@
|
||||
|
||||
LIBBASE = back_mdb
|
||||
|
||||
-XINCPATH = -I.. -I$(srcdir)/.. -I$(MDB_SUBDIR)
|
||||
+XINCPATH = -I.. -I$(srcdir)/..
|
||||
XDEFS = $(MODULES_CPPFLAGS)
|
||||
|
||||
all-local-lib: ../.backend
|
||||
@@ -52,11 +51,5 @@
|
||||
../.backend: lib$(LIBBASE).a
|
||||
@touch $@
|
||||
|
||||
-mdb.lo: $(MDB_SUBDIR)/mdb.c
|
||||
- $(LTCOMPILE_MOD) $(MDB_SUBDIR)/mdb.c
|
||||
-
|
||||
-midl.lo: $(MDB_SUBDIR)/midl.c
|
||||
- $(LTCOMPILE_MOD) $(MDB_SUBDIR)/midl.c
|
||||
-
|
||||
veryclean-local-lib: FORCE
|
||||
$(RM) $(XXHEADERS) $(XXSRCS) .links
|
||||
--- ./configure.in.orig 2014-10-24 10:46:53.289139847 +0200
|
||||
+++ ./configure.in 2014-10-24 10:51:34.372846374 +0200
|
||||
@@ -519,6 +519,7 @@
|
||||
dnl Initialize vars
|
||||
LDAP_LIBS=
|
||||
BDB_LIBS=
|
||||
+MDB_LIBS=
|
||||
SLAPD_NDB_LIBS=
|
||||
SLAPD_NDB_INCS=
|
||||
LTHREAD_LIBS=
|
||||
@@ -1905,6 +1906,30 @@
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------
|
||||
+ol_link_mdb=no
|
||||
+
|
||||
+if test $ol_enable_mdb != no; then
|
||||
+ OL_MDB
|
||||
+
|
||||
+ if test $ol_cv_mdb = no ; then
|
||||
+ AC_MSG_ERROR(MDB: LMDB not available)
|
||||
+ fi
|
||||
+
|
||||
+ AC_DEFINE(HAVE_MDB,1,
|
||||
+ [define this if LMDB is available])
|
||||
+
|
||||
+ dnl $ol_cv_lib_mdb should be yes or -llmdb
|
||||
+ dnl (it could be no, but that would be an error
|
||||
+ if test $ol_cv_lib_mdb != yes ; then
|
||||
+ MDB_LIBS="$MDB_LIBS $ol_cv_lib_mdb"
|
||||
+ fi
|
||||
+
|
||||
+ SLAPD_LIBS="$SLAPD_LIBS \$(MDB_LIBS)"
|
||||
+
|
||||
+ ol_link_mdb=yes
|
||||
+fi
|
||||
+
|
||||
+dnl ----------------------------------------------------------------
|
||||
|
||||
if test $ol_enable_dynamic = yes && test $enable_shared = yes ; then
|
||||
BUILD_LIBS_DYNAMIC=shared
|
||||
@@ -3133,6 +3158,7 @@
|
||||
AC_SUBST(LDAP_LIBS)
|
||||
AC_SUBST(SLAPD_LIBS)
|
||||
AC_SUBST(BDB_LIBS)
|
||||
+AC_SUBST(MDB_LIBS)
|
||||
AC_SUBST(SLAPD_NDB_LIBS)
|
||||
AC_SUBST(SLAPD_NDB_INCS)
|
||||
AC_SUBST(LTHREAD_LIBS)
|
@ -0,0 +1,65 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/files/slapd-initd-2.4.40-r1,v 1.1 2014/10/27 05:33:59 robbat2 Exp $
|
||||
|
||||
extra_commands="checkconfig"
|
||||
|
||||
[ -z "$INSTANCE" ] && INSTANCE="openldap${SVCNAME#slapd}"
|
||||
PIDDIR=/run/openldap
|
||||
PIDFILE=$PIDDIR/$SVCNAME.pid
|
||||
|
||||
depend() {
|
||||
need net
|
||||
before dbus hald avahi-daemon
|
||||
provide ldap
|
||||
}
|
||||
|
||||
start() {
|
||||
checkpath -q -d ${PIDDIR} -o ldap:ldap
|
||||
if ! checkconfig -Q ; then
|
||||
eerror "There is a problem with your slapd.conf!"
|
||||
return 1
|
||||
fi
|
||||
ebegin "Starting ldap-server"
|
||||
[ -n "$KRB5_KTNAME" ] && export KRB5_KTNAME
|
||||
eval start-stop-daemon --start --pidfile ${PIDFILE} --exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ldap-server"
|
||||
start-stop-daemon --stop --signal 2 --quiet --pidfile ${PIDFILE}
|
||||
eend $?
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
# checks requested by bug #502948
|
||||
# Step 1: extract the last valid config file or config dir
|
||||
set -- $OPTS
|
||||
while [ -n "$*" ]; do
|
||||
opt=$1 ; shift
|
||||
if [ "$opt" = "-f" -o "$opt" = "-F" ] ; then
|
||||
CONF=$1
|
||||
shift
|
||||
fi
|
||||
done
|
||||
set --
|
||||
# Fallback
|
||||
CONF=${CONF-/etc/openldap/slapd.conf}
|
||||
[ -d $CONF ] && CONF=${CONF}/*
|
||||
DBDIRS=`eval awk '/^(directory|olcDbDirectory:)/{print $2}' $CONF`
|
||||
for d in $DBDIRS; do
|
||||
if [ ! -d $d ]; then
|
||||
eerror "Directory $d in config does not exist!"
|
||||
return 1
|
||||
fi
|
||||
/usr/bin/find $d ! -name DB_CONFIG ! -user ldap -o ! -group ldap |grep -sq .
|
||||
if [ $? -ne 0 ]; then
|
||||
ewarn "You have files in $d not owned by the ldap user, you must ensure they are accessible to the slapd instance!"
|
||||
fi
|
||||
[ ! -e $d/DB_CONFIG ] && ewarn "$d/DB_CONFIG does not exist, slapd performance may be sub-optimal"
|
||||
done
|
||||
# now test the config fully
|
||||
/usr/sbin/slaptest -u "$@" ${OPTS_CONF}
|
||||
}
|
@ -0,0 +1,817 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.4.40-r1.ebuild,v 1.1 2014/10/27 05:33:58 robbat2 Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit db-use eutils flag-o-matic multilib multilib-minimal ssl-cert versionator toolchain-funcs autotools user systemd
|
||||
|
||||
BIS_PN=rfc2307bis.schema
|
||||
BIS_PV=20140524
|
||||
BIS_P="${BIS_PN}-${BIS_PV}"
|
||||
|
||||
DESCRIPTION="LDAP suite of application and development tools"
|
||||
HOMEPAGE="http://www.OpenLDAP.org/"
|
||||
|
||||
# mirrors are mostly not working, using canonical URI
|
||||
SRC_URI="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz
|
||||
mirror://gentoo/${BIS_P}"
|
||||
|
||||
LICENSE="OPENLDAP GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
|
||||
IUSE_DAEMON="crypt icu samba slp tcpd experimental minimal"
|
||||
IUSE_BACKEND="+berkdb +bindist"
|
||||
IUSE_OVERLAY="overlays perl"
|
||||
IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 +syslog selinux static-libs"
|
||||
IUSE_CONTRIB="smbkrb5passwd kerberos"
|
||||
IUSE_CONTRIB="${IUSE_CONTRIB} -cxx"
|
||||
IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}"
|
||||
|
||||
REQUIRED_USE="cxx? ( sasl )"
|
||||
# This is only actually applicable if linking against db-6
|
||||
RESTRICT="!minimal? ( !bindist? ( berkdb? ( bindist ) ) )"
|
||||
|
||||
# always list newer first
|
||||
BDB_SLOTS='6.1 6.0 5.3 5.1 4.8 4.7 4.6 4.5 4.4'
|
||||
|
||||
# openssl is needed to generate lanman-passwords required by samba
|
||||
RDEPEND="icu? ( dev-libs/icu:= )
|
||||
ssl? ( !gnutls? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) )
|
||||
sasl? ( dev-libs/cyrus-sasl:= )
|
||||
!minimal? (
|
||||
sys-devel/libtool
|
||||
sys-libs/e2fsprogs-libs
|
||||
>=dev-db/lmdb-0.9.14
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
odbc? ( !iodbc? ( dev-db/unixODBC )
|
||||
iodbc? ( dev-db/libiodbc ) )
|
||||
slp? ( net-libs/openslp )
|
||||
perl? ( dev-lang/perl[-build(-)] )
|
||||
samba? ( dev-libs/openssl )
|
||||
berkdb? (
|
||||
>=sys-libs/db-4.4
|
||||
bindist? ( <sys-libs/db-6 )
|
||||
)
|
||||
smbkrb5passwd? (
|
||||
dev-libs/openssl
|
||||
kerberos? ( app-crypt/heimdal )
|
||||
)
|
||||
kerberos? ( virtual/krb5 )
|
||||
cxx? ( dev-libs/cyrus-sasl:= )
|
||||
)
|
||||
selinux? ( sec-policy/selinux-ldap )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r3
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/groff"
|
||||
|
||||
# for tracking versions
|
||||
OPENLDAP_VERSIONTAG=".version-tag"
|
||||
OPENLDAP_DEFAULTDIR_VERSIONTAG="/var/lib/openldap-data"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
# USE=cxx
|
||||
/usr/include/LDAPAsynConnection.h
|
||||
/usr/include/LDAPAttrType.h
|
||||
/usr/include/LDAPAttribute.h
|
||||
/usr/include/LDAPAttributeList.h
|
||||
/usr/include/LDAPConnection.h
|
||||
/usr/include/LDAPConstraints.h
|
||||
/usr/include/LDAPControl.h
|
||||
/usr/include/LDAPControlSet.h
|
||||
/usr/include/LDAPEntry.h
|
||||
/usr/include/LDAPEntryList.h
|
||||
/usr/include/LDAPException.h
|
||||
/usr/include/LDAPExtResult.h
|
||||
/usr/include/LDAPMessage.h
|
||||
/usr/include/LDAPMessageQueue.h
|
||||
/usr/include/LDAPModList.h
|
||||
/usr/include/LDAPModification.h
|
||||
/usr/include/LDAPObjClass.h
|
||||
/usr/include/LDAPRebind.h
|
||||
/usr/include/LDAPRebindAuth.h
|
||||
/usr/include/LDAPReferenceList.h
|
||||
/usr/include/LDAPResult.h
|
||||
/usr/include/LDAPSaslBindResult.h
|
||||
/usr/include/LDAPSchema.h
|
||||
/usr/include/LDAPSearchReference.h
|
||||
/usr/include/LDAPSearchResult.h
|
||||
/usr/include/LDAPSearchResults.h
|
||||
/usr/include/LDAPUrl.h
|
||||
/usr/include/LDAPUrlList.h
|
||||
/usr/include/LdifReader.h
|
||||
/usr/include/LdifWriter.h
|
||||
/usr/include/SaslInteraction.h
|
||||
/usr/include/SaslInteractionHandler.h
|
||||
/usr/include/StringList.h
|
||||
/usr/include/TlsOptions.h
|
||||
)
|
||||
|
||||
openldap_filecount() {
|
||||
local dir="$1"
|
||||
find "${dir}" -type f ! -name '.*' ! -name 'DB_CONFIG*' | wc -l
|
||||
}
|
||||
|
||||
openldap_find_versiontags() {
|
||||
# scan for all datadirs
|
||||
openldap_datadirs=""
|
||||
if [ -f "${EROOT}"/etc/openldap/slapd.conf ]; then
|
||||
openldap_datadirs="$(awk '{if($1 == "directory") print $2 }' ${EROOT}/etc/openldap/slapd.conf)"
|
||||
fi
|
||||
openldap_datadirs="${openldap_datadirs} ${OPENLDAP_DEFAULTDIR_VERSIONTAG}"
|
||||
|
||||
einfo
|
||||
einfo "Scanning datadir(s) from slapd.conf and"
|
||||
einfo "the default installdir for Versiontags"
|
||||
einfo "(${OPENLDAP_DEFAULTDIR_VERSIONTAG} may appear twice)"
|
||||
einfo
|
||||
|
||||
# scan datadirs if we have a version tag
|
||||
openldap_found_tag=0
|
||||
have_files=0
|
||||
for each in ${openldap_datadirs}; do
|
||||
CURRENT_TAGDIR=${ROOT}`echo ${each} | sed "s:\/::"`
|
||||
CURRENT_TAG=${CURRENT_TAGDIR}/${OPENLDAP_VERSIONTAG}
|
||||
if [ -d ${CURRENT_TAGDIR} ] && [ ${openldap_found_tag} == 0 ] ; then
|
||||
einfo "- Checking ${each}..."
|
||||
if [ -r ${CURRENT_TAG} ] ; then
|
||||
# yey, we have one :)
|
||||
einfo " Found Versiontag in ${each}"
|
||||
source ${CURRENT_TAG}
|
||||
if [ "${OLDPF}" == "" ] ; then
|
||||
eerror "Invalid Versiontag found in ${CURRENT_TAGDIR}"
|
||||
eerror "Please delete it"
|
||||
eerror
|
||||
die "Please kill the invalid versiontag in ${CURRENT_TAGDIR}"
|
||||
fi
|
||||
|
||||
OLD_MAJOR=`get_version_component_range 2-3 ${OLDPF}`
|
||||
|
||||
[ $(openldap_filecount ${CURRENT_TAGDIR}) -gt 0 ] && have_files=1
|
||||
|
||||
# are we on the same branch?
|
||||
if [ "${OLD_MAJOR}" != "${PV:0:3}" ] ; then
|
||||
ewarn " Versiontag doesn't match current major release!"
|
||||
if [[ "${have_files}" == "1" ]] ; then
|
||||
eerror " Versiontag says other major and you (probably) have datafiles!"
|
||||
echo
|
||||
openldap_upgrade_howto
|
||||
else
|
||||
einfo " No real problem, seems there's no database."
|
||||
fi
|
||||
else
|
||||
einfo " Versiontag is fine here :)"
|
||||
fi
|
||||
else
|
||||
einfo " Non-tagged dir ${each}"
|
||||
[ $(openldap_filecount ${each}) -gt 0 ] && have_files=1
|
||||
if [[ "${have_files}" == "1" ]] ; then
|
||||
einfo " EEK! Non-empty non-tagged datadir, counting `ls -a ${each} | wc -l` files"
|
||||
echo
|
||||
|
||||
eerror
|
||||
eerror "Your OpenLDAP Installation has a non tagged datadir that"
|
||||
eerror "possibly contains a database at ${CURRENT_TAGDIR}"
|
||||
eerror
|
||||
eerror "Please export data if any entered and empty or remove"
|
||||
eerror "the directory, installation has been stopped so you"
|
||||
eerror "can take required action"
|
||||
eerror
|
||||
eerror "For a HOWTO on exporting the data, see instructions in the ebuild"
|
||||
eerror
|
||||
openldap_upgrade_howto
|
||||
die "Please move the datadir ${CURRENT_TAGDIR} away"
|
||||
fi
|
||||
fi
|
||||
einfo
|
||||
fi
|
||||
done
|
||||
[ "${have_files}" == "1" ] && einfo "DB files present" || einfo "No DB files present"
|
||||
|
||||
# Now we must check for the major version of sys-libs/db linked against.
|
||||
SLAPD_PATH=${EROOT}/usr/$(get_libdir)/openldap/slapd
|
||||
if [ "${have_files}" == "1" -a -f "${SLAPD_PATH}" ]; then
|
||||
OLDVER="$(/usr/bin/ldd ${SLAPD_PATH} \
|
||||
| awk '/libdb-/{gsub("^libdb-","",$1);gsub(".so$","",$1);print $1}')"
|
||||
if use berkdb; then
|
||||
# If USE=bindist, then >=DB-6 is not permitted
|
||||
use bindist && BDB_SLOTS=${BDB_SLOTS/6.0} && BDB_SLOTS=${BDB_SLOTS/6.1}
|
||||
# find which one would be used
|
||||
for bdb_slot in $BDB_SLOTS ; do
|
||||
NEWVER="$(db_findver "=sys-libs/db-${bdb_slot}*")"
|
||||
[[ -n "$NEWVER" ]] && break
|
||||
done
|
||||
fi
|
||||
local fail=0
|
||||
if [ -z "${OLDVER}" -a -z "${NEWVER}" ]; then
|
||||
:
|
||||
# Nothing wrong here.
|
||||
elif [ -z "${OLDVER}" -a -n "${NEWVER}" ]; then
|
||||
eerror " Your existing version of OpenLDAP was not built against"
|
||||
eerror " any version of sys-libs/db, but the new one will build"
|
||||
eerror " against ${NEWVER} and your database may be inaccessible."
|
||||
echo
|
||||
fail=1
|
||||
elif [ -n "${OLDVER}" -a -z "${NEWVER}" ]; then
|
||||
eerror " Your existing version of OpenLDAP was built against"
|
||||
eerror " sys-libs/db:${OLDVER}, but the new one will not be"
|
||||
eerror " built against any version and your database may be"
|
||||
eerror " inaccessible."
|
||||
echo
|
||||
fail=1
|
||||
elif [ "${OLDVER}" != "${NEWVER}" ]; then
|
||||
eerror " Your existing version of OpenLDAP was built against"
|
||||
eerror " sys-libs/db:${OLDVER}, but the new one will build against"
|
||||
eerror " ${NEWVER} and your database would be inaccessible."
|
||||
echo
|
||||
fail=1
|
||||
fi
|
||||
[ "${fail}" == "1" ] && openldap_upgrade_howto
|
||||
fi
|
||||
|
||||
echo
|
||||
einfo
|
||||
einfo "All datadirs are fine, proceeding with merge now..."
|
||||
einfo
|
||||
}
|
||||
|
||||
openldap_upgrade_howto() {
|
||||
eerror
|
||||
eerror "A (possible old) installation of OpenLDAP was detected,"
|
||||
eerror "installation will not proceed for now."
|
||||
eerror
|
||||
eerror "As major version upgrades can corrupt your database,"
|
||||
eerror "you need to dump your database and re-create it afterwards."
|
||||
eerror
|
||||
eerror "Additionally, rebuilding against different major versions of the"
|
||||
eerror "sys-libs/db libraries will cause your database to be inaccessible."
|
||||
eerror ""
|
||||
d="$(date -u +%s)"
|
||||
l="/root/ldapdump.${d}"
|
||||
i="${l}.raw"
|
||||
eerror " 1. /etc/init.d/slurpd stop ; /etc/init.d/slapd stop"
|
||||
eerror " 2. slapcat -l ${i}"
|
||||
eerror " 3. egrep -v '^(entry|context)CSN:' <${i} >${l}"
|
||||
eerror " 4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/"
|
||||
eerror " 5. emerge --update \=net-nds/${PF}"
|
||||
eerror " 6. etc-update, and ensure that you apply the changes"
|
||||
eerror " 7. slapadd -l ${l}"
|
||||
eerror " 8. chown ldap:ldap /var/lib/openldap-data/*"
|
||||
eerror " 9. /etc/init.d/slapd start"
|
||||
eerror "10. check that your data is intact."
|
||||
eerror "11. set up the new replication system."
|
||||
eerror
|
||||
if [ "${FORCE_UPGRADE}" != "1" ]; then
|
||||
die "You need to upgrade your database first"
|
||||
else
|
||||
eerror "You have the magical FORCE_UPGRADE=1 in place."
|
||||
eerror "Don't say you weren't warned about data loss."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if ! use sasl && use cxx ; then
|
||||
die "To build the ldapc++ library you must emerge openldap with sasl support"
|
||||
fi
|
||||
# Bug #322787
|
||||
if use minimal && ! has_version "net-nds/openldap" ; then
|
||||
einfo "No datadir scan needed, openldap not installed"
|
||||
elif use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then
|
||||
einfo "Skipping scan for previous datadirs as requested by minimal useflag"
|
||||
else
|
||||
openldap_find_versiontags
|
||||
fi
|
||||
|
||||
enewgroup ldap 439
|
||||
enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# ensure correct SLAPI path by default
|
||||
sed -i -e 's,\(#define LDAPI_SOCK\).*,\1 "'"${EPREFIX}"'/var/run/openldap/slapd.sock",' \
|
||||
"${S}"/include/ldap_defaults.h
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.4.17-gcc44.patch
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-2.2.14-perlthreadsfix.patch \
|
||||
"${FILESDIR}"/${PN}-2.4.15-ppolicy.patch
|
||||
|
||||
# bug #116045 - still present in 2.4.28
|
||||
epatch "${FILESDIR}"/${PN}-2.4.35-contrib-smbk5pwd.patch
|
||||
# bug #408077 - samba4
|
||||
epatch "${FILESDIR}"/${PN}-2.4.35-contrib-samba4.patch
|
||||
|
||||
# bug #189817
|
||||
epatch "${FILESDIR}"/${PN}-2.4.11-libldap_r.patch
|
||||
|
||||
# bug #233633
|
||||
epatch "${FILESDIR}"/${PN}-2.4.17-fix-lmpasswd-gnutls-symbols.patch
|
||||
|
||||
# bug #281495
|
||||
epatch "${FILESDIR}"/${PN}-2.4.28-gnutls-gcrypt.patch
|
||||
|
||||
# bug #294350
|
||||
epatch "${FILESDIR}"/${PN}-2.4.6-evolution-ntlm.patch
|
||||
|
||||
# unbreak /bin/sh -> dash
|
||||
epatch "${FILESDIR}"/${PN}-2.4.28-fix-dash.patch
|
||||
|
||||
# bug #420959
|
||||
epatch "${FILESDIR}"/${PN}-2.4.31-gcc47.patch
|
||||
|
||||
# bug #421463
|
||||
#epatch "${FILESDIR}"/${PN}-2.4.33-gnutls.patch # merged upstream
|
||||
|
||||
# bug #525110: allow compiling with db-6 against
|
||||
# but RESTRICT=bindist now applies
|
||||
use bindist || epatch "${FILESDIR}"/${PN}-2.4.40-db-6.patch
|
||||
|
||||
# unbundle lmdb
|
||||
epatch "${FILESDIR}"/${P}-mdb-unbundle.patch
|
||||
rm -rf "${S}"/libraries/liblmdb
|
||||
|
||||
cd "${S}"/build || die
|
||||
einfo "Making sure upstream build strip does not do stripping too early"
|
||||
sed -i.orig \
|
||||
-e '/^STRIP/s,-s,,g' \
|
||||
top.mk || die "Failed to block stripping"
|
||||
|
||||
# wrong assumption that /bin/sh is /bin/bash
|
||||
sed -i \
|
||||
-e 's|/bin/sh|/bin/bash|g' \
|
||||
"${S}"/tests/scripts/* || die "sed failed"
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
AT_NOEAUTOMAKE=yes eautoreconf
|
||||
}
|
||||
|
||||
build_contrib_module() {
|
||||
# <dir> <sources> <outputname>
|
||||
cd "${S}/contrib/slapd-modules/$1" || die
|
||||
einfo "Compiling contrib-module: $3"
|
||||
# Make sure it's uppercase
|
||||
local define_name="$(echo "SLAPD_OVER_${1}" | LC_ALL=C tr '[:lower:]' '[:upper:]')"
|
||||
"${lt}" --mode=compile --tag=CC \
|
||||
"${CC}" \
|
||||
-D${define_name}=SLAPD_MOD_DYNAMIC \
|
||||
-I"${BUILD_DIR}"/include \
|
||||
-I../../../include -I../../../servers/slapd ${CFLAGS} \
|
||||
-o ${2%.c}.lo -c $2 || die "compiling $3 failed"
|
||||
einfo "Linking contrib-module: $3"
|
||||
"${lt}" --mode=link --tag=CC \
|
||||
"${CC}" -module \
|
||||
${CFLAGS} \
|
||||
${LDFLAGS} \
|
||||
-rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \
|
||||
-o $3.la ${2%.c}.lo || die "linking $3 failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#Fix for glibc-2.8 and ucred. Bug 228457.
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
|
||||
# Bug 408001
|
||||
use elibc_FreeBSD && append-cppflags -DMDB_DSYNC=O_SYNC -DMDB_FDATASYNC=fsync
|
||||
|
||||
# connectionless ldap per bug #342439
|
||||
append-cppflags -DLDAP_CONNECTIONLESS
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=()
|
||||
|
||||
use debug && myconf+=( $(use_enable debug) )
|
||||
|
||||
# ICU usage is not configurable
|
||||
export ac_cv_header_unicode_utypes_h="$(multilib_is_native_abi && use icu && echo yes || echo no)"
|
||||
|
||||
if ! use minimal && multilib_is_native_abi; then
|
||||
local CPPFLAGS=${CPPFLAGS}
|
||||
|
||||
# re-enable serverside overlay chains per bug #296567
|
||||
# see ldap docs chaper 12.3.1 for details
|
||||
myconf+=( --enable-ldap )
|
||||
|
||||
# backends
|
||||
myconf+=( --enable-slapd )
|
||||
if use berkdb ; then
|
||||
einfo "Using Berkeley DB for local backend"
|
||||
myconf+=( --enable-bdb --enable-hdb )
|
||||
# >=db-6 is probibited for bindist
|
||||
use bindist && BDB_SLOTS=${BDB_SLOTS/6.0} && BDB_SLOTS=${BDB_SLOTS/6.1}
|
||||
DBINCLUDE=$(db_includedir $BDB_SLOTS)
|
||||
einfo "Using $DBINCLUDE for sys-libs/db version"
|
||||
# We need to include the slotted db.h dir for FreeBSD
|
||||
append-cppflags -I${DBINCLUDE}
|
||||
else
|
||||
myconf+=( --disable-bdb --disable-hdb )
|
||||
fi
|
||||
for backend in dnssrv ldap mdb meta monitor null passwd relay shell sock; do
|
||||
myconf+=( --enable-${backend}=mod )
|
||||
done
|
||||
|
||||
myconf+=( $(use_enable perl perl mod) )
|
||||
|
||||
myconf+=( $(use_enable odbc sql mod) )
|
||||
if use odbc ; then
|
||||
local odbc_lib="unixodbc"
|
||||
if use iodbc ; then
|
||||
odbc_lib="iodbc"
|
||||
append-cppflags -I"${EPREFIX}"/usr/include/iodbc
|
||||
fi
|
||||
myconf+=( --with-odbc=${odbc_lib} )
|
||||
fi
|
||||
|
||||
# slapd options
|
||||
myconf+=(
|
||||
$(use_enable crypt)
|
||||
$(use_enable slp)
|
||||
$(use_enable samba lmpasswd)
|
||||
$(use_enable syslog)
|
||||
)
|
||||
if use experimental ; then
|
||||
myconf+=(
|
||||
--enable-dynacl
|
||||
--enable-aci=mod
|
||||
)
|
||||
fi
|
||||
for option in aci cleartext modules rewrite rlookups slapi; do
|
||||
myconf+=( --enable-${option} )
|
||||
done
|
||||
|
||||
# slapd overlay options
|
||||
# Compile-in the syncprov, the others as module
|
||||
myconf+=( --enable-syncprov=yes )
|
||||
use overlays && myconf+=( --enable-overlays=mod )
|
||||
|
||||
else
|
||||
myconf+=(
|
||||
--disable-backends
|
||||
--disable-slapd
|
||||
--disable-bdb
|
||||
--disable-hdb
|
||||
--disable-mdb
|
||||
--disable-overlays
|
||||
--disable-syslog
|
||||
)
|
||||
fi
|
||||
|
||||
# basic functionality stuff
|
||||
myconf+=(
|
||||
$(use_enable ipv6)
|
||||
$(multilib_native_use_with sasl cyrus-sasl)
|
||||
$(multilib_native_use_enable sasl spasswd)
|
||||
$(use_enable tcpd wrappers)
|
||||
)
|
||||
|
||||
local ssl_lib="no"
|
||||
if use ssl || ( ! use minimal && use samba ) ; then
|
||||
ssl_lib="openssl"
|
||||
use gnutls && ssl_lib="gnutls"
|
||||
fi
|
||||
|
||||
myconf+=( --with-tls=${ssl_lib} )
|
||||
|
||||
for basicflag in dynamic local proctitle shared; do
|
||||
myconf+=( --enable-${basicflag} )
|
||||
done
|
||||
|
||||
tc-export AR CC CXX
|
||||
ECONF_SOURCE=${S} \
|
||||
STRIP=/bin/true \
|
||||
econf \
|
||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/openldap \
|
||||
$(use_enable static-libs static) \
|
||||
"${myconf[@]}"
|
||||
emake depend
|
||||
}
|
||||
|
||||
src_configure_cxx() {
|
||||
# This needs the libraries built by the first build run.
|
||||
# So we have to run it AFTER the main build, not just after the main
|
||||
# configure.
|
||||
local myconf_ldapcpp=(
|
||||
--with-ldap-includes="${S}"/include
|
||||
)
|
||||
|
||||
mkdir -p "${BUILD_DIR}"/contrib/ldapc++ || die
|
||||
cd "${BUILD_DIR}/contrib/ldapc++" || die
|
||||
|
||||
local LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS}
|
||||
append-ldflags -L"${BUILD_DIR}"/libraries/liblber/.libs \
|
||||
-L"${BUILD_DIR}"/libraries/libldap/.libs
|
||||
append-cppflags -I"${BUILD_DIR}"/include
|
||||
ECONF_SOURCE=${S}/contrib/ldapc++ \
|
||||
econf "${myconf_ldapcpp[@]}" \
|
||||
CC="${CC}" \
|
||||
CXX="${CXX}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export AR CC CXX
|
||||
emake CC="${CC}" AR="${AR}" SHELL="${EPREFIX}"/bin/bash
|
||||
local lt="${BUILD_DIR}/libtool"
|
||||
export echo="echo"
|
||||
|
||||
if ! use minimal && multilib_is_native_abi ; then
|
||||
if use cxx ; then
|
||||
einfo "Building contrib library: ldapc++"
|
||||
src_configure_cxx
|
||||
cd "${BUILD_DIR}/contrib/ldapc++" || die
|
||||
emake \
|
||||
CC="${CC}" CXX="${CXX}"
|
||||
fi
|
||||
|
||||
if use smbkrb5passwd ; then
|
||||
einfo "Building contrib-module: smbk5pwd"
|
||||
cd "${S}/contrib/slapd-modules/smbk5pwd" || die
|
||||
|
||||
MY_DEFS="-DDO_SHADOW"
|
||||
if use samba ; then
|
||||
MY_DEFS="${MY_DEFS} -DDO_SAMBA"
|
||||
MY_KRB5_INC=""
|
||||
fi
|
||||
if use kerberos ; then
|
||||
MY_DEFS="${MY_DEFS} -DDO_KRB5"
|
||||
MY_KRB5_INC="$(krb5-config --cflags)"
|
||||
fi
|
||||
|
||||
emake \
|
||||
DEFS="${MY_DEFS}" \
|
||||
KRB5_INC="${MY_KRB5_INC}" \
|
||||
LDAP_BUILD="${BUILD_DIR}" \
|
||||
CC="${CC}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap"
|
||||
fi
|
||||
|
||||
if use overlays ; then
|
||||
einfo "Building contrib-module: samba4"
|
||||
cd "${S}/contrib/slapd-modules/samba4" || die
|
||||
|
||||
emake \
|
||||
LDAP_BUILD="${BUILD_DIR}" \
|
||||
CC="${CC}" libexecdir="/usr/$(get_libdir)/openldap"
|
||||
fi
|
||||
|
||||
if use kerberos ; then
|
||||
build_contrib_module "kinit" "kinit.c" "kinit"
|
||||
cd "${S}/contrib/slapd-modules/passwd" || die
|
||||
einfo "Compiling contrib-module: pw-kerberos"
|
||||
"${lt}" --mode=compile --tag=CC \
|
||||
"${CC}" \
|
||||
-I"${BUILD_DIR}"/include \
|
||||
-I../../../include \
|
||||
${CFLAGS} \
|
||||
$(krb5-config --cflags) \
|
||||
-DHAVE_KRB5 \
|
||||
-o kerberos.lo \
|
||||
-c kerberos.c || die "compiling pw-kerberos failed"
|
||||
einfo "Linking contrib-module: pw-kerberos"
|
||||
"${lt}" --mode=link --tag=CC \
|
||||
"${CC}" -module \
|
||||
${CFLAGS} \
|
||||
${LDFLAGS} \
|
||||
-rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \
|
||||
-o pw-kerberos.la \
|
||||
kerberos.lo || die "linking pw-kerberos failed"
|
||||
fi
|
||||
# We could build pw-radius if GNURadius would install radlib.h
|
||||
cd "${S}/contrib/slapd-modules/passwd" || die
|
||||
einfo "Compiling contrib-module: pw-netscape"
|
||||
"${lt}" --mode=compile --tag=CC \
|
||||
"${CC}" \
|
||||
-I"${BUILD_DIR}"/include \
|
||||
-I../../../include \
|
||||
${CFLAGS} \
|
||||
-o netscape.lo \
|
||||
-c netscape.c || die "compiling pw-netscape failed"
|
||||
einfo "Linking contrib-module: pw-netscape"
|
||||
"${lt}" --mode=link --tag=CC \
|
||||
"${CC}" -module \
|
||||
${CFLAGS} \
|
||||
${LDFLAGS} \
|
||||
-rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \
|
||||
-o pw-netscape.la \
|
||||
netscape.lo || die "linking pw-netscape failed"
|
||||
|
||||
#build_contrib_module "acl" "posixgroup.c" "posixGroup" # example code only
|
||||
#build_contrib_module "acl" "gssacl.c" "gss" # example code only, also needs kerberos
|
||||
build_contrib_module "addpartial" "addpartial-overlay.c" "addpartial-overlay"
|
||||
build_contrib_module "allop" "allop.c" "overlay-allop"
|
||||
build_contrib_module "allowed" "allowed.c" "allowed"
|
||||
build_contrib_module "autogroup" "autogroup.c" "autogroup"
|
||||
build_contrib_module "cloak" "cloak.c" "cloak"
|
||||
# build_contrib_module "comp_match" "comp_match.c" "comp_match" # really complex, adds new external deps, questionable demand
|
||||
build_contrib_module "denyop" "denyop.c" "denyop-overlay"
|
||||
build_contrib_module "dsaschema" "dsaschema.c" "dsaschema-plugin"
|
||||
build_contrib_module "dupent" "dupent.c" "dupent"
|
||||
build_contrib_module "lastbind" "lastbind.c" "lastbind"
|
||||
# lastmod may not play well with other overlays
|
||||
build_contrib_module "lastmod" "lastmod.c" "lastmod"
|
||||
build_contrib_module "noopsrch" "noopsrch.c" "noopsrch"
|
||||
build_contrib_module "nops" "nops.c" "nops-overlay"
|
||||
#build_contrib_module "nssov" "nssov.c" "nssov-overlay" RESO:LATER
|
||||
build_contrib_module "trace" "trace.c" "trace"
|
||||
# build slapi-plugins
|
||||
cd "${S}/contrib/slapi-plugins/addrdnvalues" || die
|
||||
einfo "Building contrib-module: addrdnvalues plugin"
|
||||
"${CC}" -shared \
|
||||
-I"${BUILD_DIR}"/include \
|
||||
-I../../../include \
|
||||
${CFLAGS} \
|
||||
-fPIC \
|
||||
${LDFLAGS} \
|
||||
-o libaddrdnvalues-plugin.so \
|
||||
addrdnvalues.c || die "Building libaddrdnvalues-plugin.so failed"
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if multilib_is_native_abi; then
|
||||
cd tests || die
|
||||
emake tests || die "make tests failed"
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local lt="${BUILD_DIR}/libtool"
|
||||
emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install
|
||||
use static-libs || prune_libtool_files --all
|
||||
|
||||
if ! use minimal && multilib_is_native_abi; then
|
||||
# openldap modules go here
|
||||
# TODO: write some code to populate slapd.conf with moduleload statements
|
||||
keepdir /usr/$(get_libdir)/openldap/openldap/
|
||||
|
||||
# initial data storage dir
|
||||
keepdir /var/lib/openldap-data
|
||||
use prefix || fowners ldap:ldap /var/lib/openldap-data
|
||||
fperms 0700 /var/lib/openldap-data
|
||||
|
||||
echo "OLDPF='${PF}'" > "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}"
|
||||
echo "# do NOT delete this. it is used" >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}"
|
||||
echo "# to track versions for upgrading." >> "${ED}${OPENLDAP_DEFAULTDIR_VERSIONTAG}/${OPENLDAP_VERSIONTAG}"
|
||||
|
||||
# use our config
|
||||
rm "${ED}"etc/openldap/slapd.conf
|
||||
insinto /etc/openldap
|
||||
newins "${FILESDIR}"/${PN}-2.4.40-slapd-conf slapd.conf
|
||||
configfile="${ED}"etc/openldap/slapd.conf
|
||||
|
||||
# populate with built backends
|
||||
ebegin "populate config with built backends"
|
||||
for x in "${ED}"usr/$(get_libdir)/openldap/openldap/back_*.so; do
|
||||
einfo "Adding $(basename ${x})"
|
||||
sed -e "/###INSERTDYNAMICMODULESHERE###$/a# moduleload\t$(basename ${x})" -i "${configfile}"
|
||||
done
|
||||
sed -e "s:###INSERTDYNAMICMODULESHERE###$:# modulepath\t${EPREFIX}/usr/$(get_libdir)/openldap/openldap:" -i "${configfile}"
|
||||
use prefix || fowners root:ldap /etc/openldap/slapd.conf
|
||||
fperms 0640 /etc/openldap/slapd.conf
|
||||
cp "${configfile}" "${configfile}".default
|
||||
eend
|
||||
|
||||
# install our own init scripts and systemd unit files
|
||||
einfo "Install init scripts"
|
||||
newinitd "${FILESDIR}"/slapd-initd-2.4.40-r1 slapd
|
||||
newconfd "${FILESDIR}"/slapd-confd-2.4.28-r1 slapd
|
||||
einfo "Install systemd service"
|
||||
systemd_dounit "${FILESDIR}"/slapd.service
|
||||
systemd_install_serviced "${FILESDIR}"/slapd.service.conf
|
||||
systemd_newtmpfilesd "${FILESDIR}"/slapd.tmpfilesd slapd.conf
|
||||
|
||||
if [[ $(get_libdir) != lib ]]; then
|
||||
sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i \
|
||||
"${ED}"/etc/init.d/slapd \
|
||||
"${ED}"/usr/lib/systemd/system/slapd.service || die
|
||||
fi
|
||||
# If built without SLP, we don't need to be before avahi
|
||||
use slp \
|
||||
|| sed -i \
|
||||
-e '/before/{s/avahi-daemon//g}' \
|
||||
"${ED}"etc/init.d/slapd
|
||||
|
||||
if use cxx ; then
|
||||
einfo "Install the ldapc++ library"
|
||||
cd "${BUILD_DIR}/contrib/ldapc++" || die
|
||||
emake DESTDIR="${D}" libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install
|
||||
cd "${S}"/contrib/ldapc++ || die
|
||||
newdoc README ldapc++-README
|
||||
fi
|
||||
|
||||
if use smbkrb5passwd ; then
|
||||
einfo "Install the smbk5pwd module"
|
||||
cd "${S}/contrib/slapd-modules/smbk5pwd" || die
|
||||
emake DESTDIR="${D}" \
|
||||
LDAP_BUILD="${BUILD_DIR}" \
|
||||
libexecdir="${EPREFIX}/usr/$(get_libdir)/openldap" install
|
||||
newdoc README smbk5pwd-README
|
||||
fi
|
||||
|
||||
if use overlays ; then
|
||||
einfo "Install the samba4 module"
|
||||
cd "${S}/contrib/slapd-modules/samba4" || die
|
||||
emake DESTDIR="${D}" \
|
||||
LDAP_BUILD="${BUILD_DIR}" \
|
||||
libexecdir="/usr/$(get_libdir)/openldap" install
|
||||
newdoc README samba4-README
|
||||
fi
|
||||
|
||||
einfo "Installing contrib modules"
|
||||
cd "${S}/contrib/slapd-modules" || die
|
||||
for l in */*.la; do
|
||||
"${lt}" --mode=install cp ${l} \
|
||||
"${ED}"usr/$(get_libdir)/openldap/openldap || \
|
||||
die "installing ${l} failed"
|
||||
done
|
||||
|
||||
dodoc "${FILESDIR}"/DB_CONFIG.fast.example
|
||||
docinto contrib
|
||||
doman */*.5
|
||||
#newdoc acl/README*
|
||||
newdoc addpartial/README addpartial-README
|
||||
newdoc allop/README allop-README
|
||||
newdoc allowed/README allowed-README
|
||||
newdoc autogroup/README autogroup-README
|
||||
newdoc dsaschema/README dsaschema-README
|
||||
newdoc passwd/README passwd-README
|
||||
cd "${S}/contrib/slapi-plugins" || die
|
||||
insinto /usr/$(get_libdir)/openldap/openldap
|
||||
doins */*.so
|
||||
docinto contrib
|
||||
newdoc addrdnvalues/README addrdnvalues-README
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins "${DISTDIR}"/${BIS_P} ${BIS_PN}
|
||||
|
||||
docinto back-sock ; dodoc "${S}"/servers/slapd/back-sock/searchexample*
|
||||
docinto back-shell ; dodoc "${S}"/servers/slapd/back-shell/searchexample*
|
||||
docinto back-perl ; dodoc "${S}"/servers/slapd/back-perl/SampleLDAP.pm
|
||||
|
||||
dosbin "${S}"/contrib/slapd-tools/statslog
|
||||
newdoc "${S}"/contrib/slapd-tools/README README.statslog
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc ANNOUNCEMENT CHANGES COPYRIGHT README
|
||||
docinto rfc ; dodoc doc/rfc/*.txt
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# keep old libs if any
|
||||
preserve_old_lib /usr/$(get_libdir)/{liblber,libldap_r,liblber}-2.3$(get_libname 0)
|
||||
# bug 440470, only display the getting started help there was no openldap before,
|
||||
# or we are going to a non-minimal build
|
||||
! has_version net-nds/openldap || has_version 'net-nds/openldap[minimal]'
|
||||
OPENLDAP_PRINT_MESSAGES=$((! $?))
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use minimal ; then
|
||||
# You cannot build SSL certificates during src_install that will make
|
||||
# binary packages containing your SSL key, which is both a security risk
|
||||
# and a misconfiguration if multiple machines use the same key and cert.
|
||||
if use ssl; then
|
||||
install_cert /etc/openldap/ssl/ldap
|
||||
use prefix || chown ldap:ldap "${EROOT}"etc/openldap/ssl/ldap.*
|
||||
ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]"
|
||||
ewarn "Self-signed SSL certificates are treated harshly by OpenLDAP 2.[12]"
|
||||
ewarn "add 'TLS_REQCERT allow' if you want to use them."
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
# Warn about prefix issues with slapd
|
||||
eerror "slapd might NOT be usable on Prefix systems as it requires root privileges"
|
||||
eerror "to start up, and requires that certain files directories be owned by"
|
||||
eerror "ldap:ldap. As Prefix does not support changing ownership of files and"
|
||||
eerror "directories, you will have to manually fix this yourself."
|
||||
fi
|
||||
|
||||
# These lines force the permissions of various content to be correct
|
||||
use prefix || chown ldap:ldap "${EROOT}"var/run/openldap
|
||||
chmod 0755 "${EROOT}"var/run/openldap
|
||||
use prefix || chown root:ldap "${EROOT}"etc/openldap/slapd.conf{,.default}
|
||||
chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default}
|
||||
use prefix || chown ldap:ldap "${EROOT}"var/lib/openldap-data
|
||||
fi
|
||||
|
||||
if has_version 'net-nds/openldap[-minimal]' && ((${OPENLDAP_PRINT_MESSAGES})); then
|
||||
elog "Getting started using OpenLDAP? There is some documentation available:"
|
||||
elog "Gentoo Guide to OpenLDAP Authentication"
|
||||
elog "(http://www.gentoo.org/doc/en/ldap-howto.xml)"
|
||||
elog "---"
|
||||
elog "An example file for tuning BDB backends with openldap is"
|
||||
elog "DB_CONFIG.fast.example in /usr/share/doc/${PF}/"
|
||||
fi
|
||||
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/{liblber,libldap,libldap_r}-2.3$(get_libname 0)
|
||||
}
|
Loading…
Reference in new issue