summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-05-23 10:28:41 +0000
committerJeroen Roovers <jer@gentoo.org>2011-05-23 10:28:41 +0000
commit3d21d7ccf90b001e86f64428052c0f69f4990f98 (patch)
treedae3bf4b1553fa5982b5838d02ae5487831d2062 /net-libs
parentx86 stable wrt bug #368293 (diff)
downloadgentoo-2-3d21d7ccf90b001e86f64428052c0f69f4990f98.tar.gz
gentoo-2-3d21d7ccf90b001e86f64428052c0f69f4990f98.tar.bz2
gentoo-2-3d21d7ccf90b001e86f64428052c0f69f4990f98.zip
Version bump thanks to Peter Volkov (bug #). Add IUSE=static-libs.
(Portage version: 2.2.0_alpha34/cvs/Linux i686)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnetfilter_queue/ChangeLog10
-rw-r--r--net-libs/libnetfilter_queue/libnetfilter_queue-1.0.0.ebuild37
2 files changed, 45 insertions, 2 deletions
diff --git a/net-libs/libnetfilter_queue/ChangeLog b/net-libs/libnetfilter_queue/ChangeLog
index a0f21cacb207..abbdeb706d2d 100644
--- a/net-libs/libnetfilter_queue/ChangeLog
+++ b/net-libs/libnetfilter_queue/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libnetfilter_queue
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_queue/ChangeLog,v 1.12 2009/09/08 16:58:19 ikelos Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_queue/ChangeLog,v 1.13 2011/05/23 10:28:41 jer Exp $
+
+*libnetfilter_queue-1.0.0 (23 May 2011)
+
+ 23 May 2011; Jeroen Roovers <jer@gentoo.org>
+ +libnetfilter_queue-1.0.0.ebuild:
+ Version bump thanks to Peter Volkov (bug #). Add IUSE=static-libs.
08 Sep 2009; Mike Auty <ikelos@gentoo.org>
libnetfilter_queue-0.0.12.ebuild, libnetfilter_queue-0.0.13.ebuild,
diff --git a/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.0.ebuild b/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.0.ebuild
new file mode 100644
index 000000000000..0dc94661ab0c
--- /dev/null
+++ b/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnetfilter_queue/libnetfilter_queue-1.0.0.ebuild,v 1.1 2011/05/23 10:28:41 jer Exp $
+
+EAPI="3"
+
+inherit autotools-utils linux-info
+
+DESCRIPTION="API to packets that have been queued by the kernel packet filter"
+HOMEPAGE="http://www.netfilter.org/projects/libnetfilter_queue/"
+SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="static-libs"
+
+COMMON_DEPEND=">=net-libs/libnfnetlink-0.0.41"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig"
+RDEPEND=${COMMON_DEPEND}
+
+CONFIG_CHECK="~NETFILTER_NETLINK_QUEUE"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ kernel_is lt 2 6 14 && die "requires at least 2.6.14 kernel version"
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ use static-libs || remove_libtool_files
+}