diff --git a/net-libs/nfqueue-bindings/Manifest b/net-libs/nfqueue-bindings/Manifest deleted file mode 100644 index cc1792429..000000000 --- a/net-libs/nfqueue-bindings/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST nfqueue-bindings-0.4.tar.gz 22664 SHA256 cdbdb8987f2a3e2e1f9895814590f680aaf154b14de27336474bc52e28e5b2ce SHA512 2469447b84b11afd448ea7cd8bf50d4d4227f532bf0e2ddbef963f9e2c1d5a272fe210ba06df2a44661bd43b989de60cc6338f3a4d7978709963a7ef5bbc0992 WHIRLPOOL 01338eb8e368d75a00ef4aee322de231c15c99e5c9691e6984a817c0ce62212314a2b1d2b95c292f5bac19b99c96543a44961180798260576093daba9698002b diff --git a/net-libs/nfqueue-bindings/files/0.4-perl.patch b/net-libs/nfqueue-bindings/files/0.4-perl.patch deleted file mode 100644 index 1d711818c..000000000 --- a/net-libs/nfqueue-bindings/files/0.4-perl.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/perl/CMakeLists.txt.orig 2013-07-12 08:05:38.000000000 +0800 -+++ a/perl/CMakeLists.txt 2013-07-12 08:11:19.000000000 +0800 -@@ -2,7 +2,7 @@ - - SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}") - FIND_PACKAGE(Perl) --FIND_PACKAGE(PerlLibs2) -+FIND_PACKAGE(PerlLibs) - - IF ( PERL_EXECUTABLE ) - EXEC_PROGRAM( ${PERL_EXECUTABLE} ARGS "-e 'use Config; print \$Config{revision},\"\\n\"'" OUTPUT_VARIABLE PERL_VERSION ) -@@ -20,9 +20,7 @@ - SWIG_ADD_MODULE(nfqueue perl ../libnetfilter_queue.i ${SOURCES}) - SWIG_LINK_LIBRARIES(nfqueue ${PERL_LIBRARY} ${LIBNFQ_LDFLAGS}) - --INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/nfqueue.pm -- DESTINATION ${LIB_INSTALL_DIR}/perl${PERL_VERSION}/) -- --INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libnfqueue.so -- DESTINATION ${LIB_INSTALL_DIR}/perl${PERL_VERSION}/) - -+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/nfqueue.pm -+ ${CMAKE_CURRENT_BINARY_DIR}/libnfqueue.so -+ DESTINATION ${PERL_ARCHLIB}) diff --git a/net-libs/nfqueue-bindings/files/10-fix-ftbfs-uint32.patch b/net-libs/nfqueue-bindings/files/10-fix-ftbfs-uint32.patch deleted file mode 100644 index 3c95845ad..000000000 --- a/net-libs/nfqueue-bindings/files/10-fix-ftbfs-uint32.patch +++ /dev/null @@ -1,8 +0,0 @@ -Index: nfqueue-bindings/nfq.c -=================================================================== ---- nfqueue-bindings.orig/nfq.c 2011-11-21 18:19:08.000000000 +0100 -+++ nfqueue-bindings/nfq.c 2013-07-08 11:15:24.464364553 +0200 -@@ -1,2 +1,3 @@ -+#include - #include "nfq.h" - diff --git a/net-libs/nfqueue-bindings/nfqueue-bindings-0.4.ebuild b/net-libs/nfqueue-bindings/nfqueue-bindings-0.4.ebuild deleted file mode 100644 index 7e9b16bd8..000000000 --- a/net-libs/nfqueue-bindings/nfqueue-bindings-0.4.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -inherit eutils linux-info cmake-utils - -DESCRIPTION="Set of high-level modules for languages such as Perl or Python, for libnetfilter_queue" -HOMEPAGE="https://www.wzdftpd.net/redmine/projects/nfqueue-bindings" -#invalid cert: SRC_URI="https://www.wzdftpd.net/redmine/attachments/download/62/${P}.tar.gz" -SRC_URI="http://dev.pentoo.ch/~blshkv/distfiles/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -#mask due to invalid certificate in SRC_URI -KEYWORDS="~amd64 ~x86" -IUSE="perl python examples" - -DEPEND="" -RDEPEND="python? ( - dev-lang/python - dev-python/dpkt - ) - perl? ( dev-lang/perl ) - net-libs/libnetfilter_queue - dev-lang/swig" - -pkg_setup() { - # At least one of Python or Perl must be selected - use python || use 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() { - #perl_set_version - - #upstream was smoking something -# sed -i "s|PerlLibs2|PerlLibs|g" perl/CMakeLists.txt - epatch "${FILESDIR}/0.4-perl.patch" - rm FindPerlLibs2.cmake - - #python modules must be in the searchable path - sed -i "s|dist-packages|site-packages|g" python/CMakeLists.txt - - #outdated - epatch "${FILESDIR}/10-fix-ftbfs-uint32.patch" - -# # Disable Perl/Python from USE flags - use perl || sed -i '/ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*perl[[:space:]]*)/s/^/#/g' CMakeLists.txt - use python || sed -i '/ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*python[[:space:]]*)/s/^/#/g' CMakeLists.txt -} - -src_install() { - emake DESTDIR="${D}" install PREFIX=/usr - docinto examples - use examples && dodoc examples/* -}