[gentoo-commits] repo/gentoo:master commit in: net-libs/nfqueue-bindings/
commit: a320ae500c5ce81b923211e01c72105c068958b0 Author: Zac Medico gentoo org> AuthorDate: Thu Sep 21 19:50:45 2017 + Commit: Zac Medico gentoo org> CommitDate: Thu Sep 21 19:51:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a320ae50 net-libs/nfqueue-bindings: fix python_export in src_prepare (bug 606528) Closes: https://bugs.gentoo.org/606528 Package-Manager: Portage-2.3.10, Repoman-2.3.3 .../nfqueue-bindings/nfqueue-bindings-0.5.ebuild | 20 +--- .../nfqueue-bindings/nfqueue-bindings-0.6.ebuild | 20 +--- 2 files changed, 26 insertions(+), 14 deletions(-) diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild index 9b53a58b9d8..864546a6d19 100644 --- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild +++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild @@ -47,13 +47,19 @@ pkg_setup() { } src_prepare() { - # Fix Perl destination directory - perl_set_version - sed -i "s|\${LIB_INSTALL_DIR}/perl\${PERL_VERSION}/|${VENDOR_ARCH}|" perl/CMakeLists.txt || die - sed -i "s|\${LIB_INSTALL_DIR}/python\${PYTHON_VERSION}/dist-packages/|$(python_get_sitedir)|" python/CMakeLists.txt || die - # Disable Perl/Python from USE flags - use perl || sed -i 's|ADD_SUBDIRECTORY(perl)||' CMakeLists.txt || die - use python || sed -i 's|ADD_SUBDIRECTORY(python)||' CMakeLists.txt || die + if use perl; then + # Fix Perl destination directory + perl_set_version + sed -i "s|\${LIB_INSTALL_DIR}/perl\${PERL_VERSION}/|${VENDOR_ARCH}|" perl/CMakeLists.txt || die + else + sed -i 's|ADD_SUBDIRECTORY(perl)||' CMakeLists.txt || die + fi + + if use python; then + sed -i "s|\${LIB_INSTALL_DIR}/python\${PYTHON_VERSION}/dist-packages/|$(python_get_sitedir)|" python/CMakeLists.txt || die + else + sed -i 's|ADD_SUBDIRECTORY(python)||' CMakeLists.txt || die + fi } src_install() { diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild index 2282bae8496..6c7f4afc4a1 100644 --- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild +++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild @@ -45,13 +45,19 @@ pkg_setup() { } src_prepare() { - # Fix Perl destination directory - perl_set_version - sed -i "s|\${LIB_INSTALL_DIR}/perl\${PERL_VERSION}/|${VENDOR_ARCH}|" perl/CMakeLists.txt || die - sed -i "s|\${LIB_INSTALL_DIR}/python\${PYTHON_VERSION}/dist-packages/|$(python_get_sitedir)|" python/CMakeLists.txt || die - # Disable Perl/Python from USE flags - use perl || sed -i 's|ADD_SUBDIRECTORY(perl)||' CMakeLists.txt || die - use python || sed -i 's|ADD_SUBDIRECTORY(python)||' CMakeLists.txt || die + if use perl; then + # Fix Perl destination directory + perl_set_version + sed -i "s|\${LIB_INSTALL_DIR}/perl\${PERL_VERSION}/|${VENDOR_ARCH}|" perl/CMakeLists.txt || die + else + sed -i 's|ADD_SUBDIRECTORY(perl)||' CMakeLists.txt || die + fi + + if use python; then + sed -i "s|\${LIB_INSTALL_DIR}/python\${PYTHON_VERSION}/dist-packages/|$(python_get_sitedir)|" python/CMakeLists.txt || die + else + sed -i 's|ADD_SUBDIRECTORY(python)||' CMakeLists.txt || die + fi } src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-libs/nfqueue-bindings/
commit: ef50a8b9159484de6941c0af921734c4a42e519d Author: David Seifert gentoo org> AuthorDate: Sun Apr 23 20:09:39 2017 + Commit: David Seifert gentoo org> CommitDate: Sun Apr 23 20:59:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef50a8b9 net-libs/nfqueue-bindings: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild | 12 net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild | 12 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild index ee81ba0f637..9b53a58b9d8 100644 --- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild +++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 + PYTHON_COMPAT=( python2_7 ) + inherit cmake-utils perl-module linux-info python-single-r1 DESCRIPTION="High-level language bindings for libnetfilter_queue" @@ -13,12 +15,14 @@ KEYWORDS="~x86 ~amd64" SLOT="0" LICENSE="GPL-3" IUSE="perl python examples" -REQUIRED_USE="|| ( perl python )" +REQUIRED_USE="|| ( perl python ) python? ( ${PYTHON_REQUIRED_USE} )" -DEPEND="python? ( +RDEPEND=" + python? ( dev-python/dpkt[${PYTHON_USEDEP}] ${PYTHON_DEPS} - ) + )" +DEPEND="${RDEPEND} perl? ( dev-lang/perl ) net-libs/libnetfilter_queue dev-lang/swig" diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild index 0d4a5800b41..2282bae8496 100644 --- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild +++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 + PYTHON_COMPAT=( python2_7 ) + inherit cmake-utils perl-module linux-info python-single-r1 DESCRIPTION="High-level language bindings for libnetfilter_queue" @@ -13,12 +15,14 @@ KEYWORDS="~x86 ~amd64" SLOT="0" LICENSE="GPL-3" IUSE="perl python examples" -REQUIRED_USE="|| ( perl python )" +REQUIRED_USE="|| ( perl python ) python? ( ${PYTHON_REQUIRED_USE} )" -DEPEND="python? ( +RDEPEND=" + python? ( dev-python/dpkt[${PYTHON_USEDEP}] ${PYTHON_DEPS} - ) + )" +DEPEND="${RDEPEND} perl? ( dev-lang/perl ) net-libs/libnetfilter_queue dev-lang/swig"
[gentoo-commits] repo/gentoo:master commit in: net-libs/nfqueue-bindings/
commit: 9123ec72622db68316e9babe4abb7a2da6f51c30 Author: Zac Medico gentoo org> AuthorDate: Tue Aug 30 16:12:19 2016 + Commit: Zac Medico gentoo org> CommitDate: Tue Aug 30 16:12:19 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9123ec72 net-libs/nfqueue-bindings: version bump to 0.6 Package-Manager: portage-2.3.0 net-libs/nfqueue-bindings/Manifest | 1 + .../nfqueue-bindings/nfqueue-bindings-0.6.ebuild | 58 ++ 2 files changed, 59 insertions(+) diff --git a/net-libs/nfqueue-bindings/Manifest b/net-libs/nfqueue-bindings/Manifest index 148fac2..84b990a 100644 --- a/net-libs/nfqueue-bindings/Manifest +++ b/net-libs/nfqueue-bindings/Manifest @@ -1 +1,2 @@ DIST nfqueue-bindings-0.5.tar.gz 22385 SHA256 98ce420e2f9c95e6ee961f3a7c8b92fd6da6939bef3847f5090f1e2429f2394d SHA512 c88ef6997b8e4b3ae2c2eb6c1002b74f39979c73b4dc3a4da428aa4eeb6eedeeaff1cbc27c0740e8b29fb8b6a6f98af326be0b4fbc6ed3e432a9884febb3f7a6 WHIRLPOOL 11c70ebd63c0f2970dab3d2747ca8ac585b8c831b7326ebba37be72ab058a7a65049f1833a1d7117c150e91e6c6163f95e001d1eb3453ec6577723a4db811aa6 +DIST nfqueue-bindings-0.6.tar.gz 22425 SHA256 37cf8607baaf1459119c1745a6b3a9d6196fee1e7103ff84250e64ac71156dbb SHA512 6ee31b01377c0e4b6aa2d2f2e14b34d4d432f04d0e813f90a9d7e52ea9c8483044f7a36b48220887d658c80ca07bfefc88f8aa92309cff30619ec8fb9f52ab43 WHIRLPOOL 2f5a45e7e68ade56c8f008effcf8488b3db629d6f0f98ec2f938bf389ec3d97a5934085390e768b461a44fa04a207364fb2b2ba4cb8dffe4d97fc53ae5f3c6c1 diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild new file mode 100644 index ..b9acbe6 --- /dev/null +++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit cmake-utils perl-module linux-info python-single-r1 + +DESCRIPTION="High-level language bindings for libnetfilter_queue" +HOMEPAGE="https://github.com/chifflier/nfqueue-bindings"; +SRC_URI="https://github.com/chifflier/nfqueue-bindings/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-3" +IUSE="perl python examples" +REQUIRED_USE="|| ( perl python )" + +DEPEND="python? ( + dev-python/dpkt[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) + perl? ( dev-lang/perl ) + net-libs/libnetfilter_queue + dev-lang/swig" + +pkg_setup() { + use python && python-single-r1_pkg_setup + # At least one of Python or Perl must be selected + use python || useq perl || die "At least one supported language must be selected." + # Check kernel configuration for NFQUEUE + if linux_config_exists; then + ebegin "Checking NETFILTER_NETLINK_QUEUE support" + linux_chkconfig_present NETFILTER_NETLINK_QUEUE + eend $? || \ + eerror 'Netfilter NFQUEUE over NFNETLINK interface support not found!' + ebegin "Checking NETFILTER_XT_TARGET_NFQUEUE support" + linux_chkconfig_present NETFILTER_XT_TARGET_NFQUEUE + eend $? || \ + eerror '"NFQUEUE" target Support not found!' + fi +} + +src_prepare() { + # Fix Perl destination directory + perl_set_version + sed -i "s|\${LIB_INSTALL_DIR}/perl\${PERL_VERSION}/|${VENDOR_ARCH}|" perl/CMakeLists.txt || die + sed -i "s|\${LIB_INSTALL_DIR}/python\${PYTHON_VERSION}/dist-packages/|$(python_get_sitedir)|" python/CMakeLists.txt || die + # Disable Perl/Python from USE flags + use perl || sed -i 's|ADD_SUBDIRECTORY(perl)||' CMakeLists.txt || die + use python || sed -i 's|ADD_SUBDIRECTORY(python)||' CMakeLists.txt || die +} + +src_install() { + emake DESTDIR="${D}" install PREFIX=/usr || die + docinto examples + use examples && dodoc examples/* +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/nfqueue-bindings/
commit: 8afca06d607a0ecacdcd97e56ef969fba053884c Author: Zac Medico gentoo org> AuthorDate: Tue Aug 30 15:58:36 2016 + Commit: Zac Medico gentoo org> CommitDate: Tue Aug 30 15:59:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afca06d net-libs/nfqueue-bindings: update SRC_URI Package-Manager: portage-2.3.0 net-libs/nfqueue-bindings/Manifest| 2 +- net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net-libs/nfqueue-bindings/Manifest b/net-libs/nfqueue-bindings/Manifest index 622138a..148fac2 100644 --- a/net-libs/nfqueue-bindings/Manifest +++ b/net-libs/nfqueue-bindings/Manifest @@ -1 +1 @@ -DIST nfqueue-bindings-0.5.tar.xz 20496 SHA256 ebb1ef46681a79d346b6df51bec902316d09ad057abf4a719d276fb694b7ac9b SHA512 52a2cc1a764e3bdc5e97e35a67e4207e5ce3d6a70e336b0d319d1a99581502f955080688c8835b7748fdadadf315fedf5f098ea1832b57f3808e9f563db2f842 WHIRLPOOL 609b0433cbee437664b26a9b3e4550800e2f094a4e6f13fd478a67ad8e67767f742ca336e685345c21096ba61eb15f423f523b3ddd9e87a9924ef61b3fbf57b0 +DIST nfqueue-bindings-0.5.tar.gz 22385 SHA256 98ce420e2f9c95e6ee961f3a7c8b92fd6da6939bef3847f5090f1e2429f2394d SHA512 c88ef6997b8e4b3ae2c2eb6c1002b74f39979c73b4dc3a4da428aa4eeb6eedeeaff1cbc27c0740e8b29fb8b6a6f98af326be0b4fbc6ed3e432a9884febb3f7a6 WHIRLPOOL 11c70ebd63c0f2970dab3d2747ca8ac585b8c831b7326ebba37be72ab058a7a65049f1833a1d7117c150e91e6c6163f95e001d1eb3453ec6577723a4db811aa6 diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild index 848abbd..bf1c100 100644 --- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild +++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild @@ -8,7 +8,7 @@ inherit cmake-utils perl-module linux-info python-single-r1 DESCRIPTION="High-level language bindings for libnetfilter_queue" HOMEPAGE="https://github.com/chifflier/nfqueue-bindings"; -SRC_URI="https://www.wzdftpd.net/redmine/attachments/download/68/nfqueue-bindings-0.5.tar.xz"; +SRC_URI="https://github.com/chifflier/nfqueue-bindings/archive/nfqueue-bindings-0.5.tar.gz"; KEYWORDS="~x86 ~amd64" SLOT="0" @@ -24,6 +24,8 @@ DEPEND="python? ( net-libs/libnetfilter_queue dev-lang/swig" +S=${WORKDIR}/${PN}-${P} + pkg_setup() { use python && python-single-r1_pkg_setup # At least one of Python or Perl must be selected
[gentoo-commits] repo/gentoo:master commit in: net-libs/nfqueue-bindings/
commit: 126bdf79c50fd6d6dc837fdcea5fc90d000687f6 Author: Zac Medico gentoo org> AuthorDate: Tue Aug 30 15:47:29 2016 + Commit: Zac Medico gentoo org> CommitDate: Tue Aug 30 15:48:04 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=126bdf79 net-libs/nfqueue-bindings: update HOMEPAGE Package-Manager: portage-2.3.0 net-libs/nfqueue-bindings/metadata.xml| 3 +++ net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net-libs/nfqueue-bindings/metadata.xml b/net-libs/nfqueue-bindings/metadata.xml index 0c28d18..96c116c 100644 --- a/net-libs/nfqueue-bindings/metadata.xml +++ b/net-libs/nfqueue-bindings/metadata.xml @@ -7,4 +7,7 @@ chutz...@gentoo.org + + chifflier/nfqueue-bindings + diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild index 35b0d59..848abbd 100644 --- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild +++ b/net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 ) inherit cmake-utils perl-module linux-info python-single-r1 DESCRIPTION="High-level language bindings for libnetfilter_queue" -HOMEPAGE="https://www.wzdftpd.net/redmine/projects/nfqueue-bindings/wiki/"; +HOMEPAGE="https://github.com/chifflier/nfqueue-bindings"; SRC_URI="https://www.wzdftpd.net/redmine/attachments/download/68/nfqueue-bindings-0.5.tar.xz"; KEYWORDS="~x86 ~amd64"