summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-02-14 22:29:23 +0000
committerJeroen Roovers <jer@gentoo.org>2012-02-14 22:29:23 +0000
commitc6e516a1e188635a4a902a3bb8de5c610fdfda21 (patch)
treed040b08fd79e242222ad1af22e58c305b52b4005 /net-libs/libnfnetlink
parentQA: Fix ebuild header, bug 403707. (diff)
downloadgentoo-2-c6e516a1e188635a4a902a3bb8de5c610fdfda21.tar.gz
gentoo-2-c6e516a1e188635a4a902a3bb8de5c610fdfda21.tar.bz2
gentoo-2-c6e516a1e188635a4a902a3bb8de5c610fdfda21.zip
Clean up old. Add IUSE=static-libs.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libnfnetlink')
-rw-r--r--net-libs/libnfnetlink/ChangeLog13
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild40
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-0.0.30.ebuild40
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-0.0.33.ebuild40
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-0.0.38.ebuild40
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-0.0.40.ebuild40
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-0.0.41.ebuild40
-rw-r--r--net-libs/libnfnetlink/libnfnetlink-1.0.0-r1.ebuild (renamed from net-libs/libnfnetlink/libnfnetlink-0.0.39.ebuild)26
8 files changed, 28 insertions, 251 deletions
diff --git a/net-libs/libnfnetlink/ChangeLog b/net-libs/libnfnetlink/ChangeLog
index 5d34871416ac..f7c4929f8c76 100644
--- a/net-libs/libnfnetlink/ChangeLog
+++ b/net-libs/libnfnetlink/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-libs/libnfnetlink
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/ChangeLog,v 1.42 2011/08/28 15:54:58 armin76 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/ChangeLog,v 1.43 2012/02/14 22:29:23 jer Exp $
+
+*libnfnetlink-1.0.0-r1 (14 Feb 2012)
+
+ 14 Feb 2012; Jeroen Roovers <jer@gentoo.org> -libnfnetlink-0.0.25.ebuild,
+ -libnfnetlink-0.0.30.ebuild, -libnfnetlink-0.0.33.ebuild,
+ -libnfnetlink-0.0.38.ebuild, -libnfnetlink-0.0.39.ebuild,
+ -libnfnetlink-0.0.40.ebuild, -libnfnetlink-0.0.41.ebuild,
+ +libnfnetlink-1.0.0-r1.ebuild:
+ Clean up old. Add IUSE=static-libs.
28 Aug 2011; Raúl Porcel <armin76@gentoo.org> libnfnetlink-1.0.0.ebuild:
alpha/ia64/m68k/s390/sh/sparc stable wrt #376881
diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild
deleted file mode 100644
index 3b7772bece80..000000000000
--- a/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.25.ebuild,v 1.11 2010/01/25 18:36:50 armin76 Exp $
-
-inherit linux-info
-
-DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
-HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc sparc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if kernel_is lt 2 6 14 ; then
- die "${PN} requires at least 2.6.14 kernel version"
- fi
-
- #netfilter core team has changed some option names with kernel 2.6.20
- if kernel_is lt 2 6 20 ; then
- CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
- else
- CONFIG_CHECK="~NF_CT_NETLINK"
- ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t is not set when it should be. You can activate it in the Core Netfilter Configuration"
- fi
-
- check_extra_config
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
-}
diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.30.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.30.ebuild
deleted file mode 100644
index d4b0fb78a41c..000000000000
--- a/net-libs/libnfnetlink/libnfnetlink-0.0.30.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.30.ebuild,v 1.8 2010/01/25 18:36:50 armin76 Exp $
-
-inherit linux-info
-
-DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
-HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ~ia64 ppc sparc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if kernel_is lt 2 6 14 ; then
- die "${PN} requires at least 2.6.14 kernel version"
- fi
-
- #netfilter core team has changed some option names with kernel 2.6.20
- if kernel_is lt 2 6 20 ; then
- CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
- else
- CONFIG_CHECK="~NF_CT_NETLINK"
- ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t is not set when it should be. You can activate it in the Core Netfilter Configuration"
- fi
-
- check_extra_config
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
-}
diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.33.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.33.ebuild
deleted file mode 100644
index c05d8c2b654d..000000000000
--- a/net-libs/libnfnetlink/libnfnetlink-0.0.33.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.33.ebuild,v 1.7 2010/01/25 18:36:50 armin76 Exp $
-
-inherit linux-info
-
-DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
-HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ~ia64 ~ppc sparc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if kernel_is lt 2 6 14 ; then
- die "${PN} requires at least 2.6.14 kernel version"
- fi
-
- #netfilter core team has changed some option names with kernel 2.6.20
- if kernel_is lt 2 6 20 ; then
- CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
- else
- CONFIG_CHECK="~NF_CT_NETLINK"
- ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t is not set when it should be. You can activate it in the Core Netfilter Configuration"
- fi
-
- check_extra_config
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
-}
diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.38.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.38.ebuild
deleted file mode 100644
index 05fc6c8fb405..000000000000
--- a/net-libs/libnfnetlink/libnfnetlink-0.0.38.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.38.ebuild,v 1.3 2010/01/25 18:36:50 armin76 Exp $
-
-inherit linux-info
-
-DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
-HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if kernel_is lt 2 6 18 ; then
- die "${PN} requires at least 2.6.18 kernel version"
- fi
-
- #netfilter core team has changed some option names with kernel 2.6.20
- if kernel_is lt 2 6 20 ; then
- CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
- else
- CONFIG_CHECK="~NF_CT_NETLINK"
- ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t is not set when it should be. You can activate it in the Core Netfilter Configuration"
- fi
-
- check_extra_config
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
-}
diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.40.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.40.ebuild
deleted file mode 100644
index 00448c328104..000000000000
--- a/net-libs/libnfnetlink/libnfnetlink-0.0.40.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.40.ebuild,v 1.3 2010/01/25 18:36:50 armin76 Exp $
-
-inherit linux-info
-
-DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
-HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if kernel_is lt 2 6 18 ; then
- die "${PN} requires at least 2.6.18 kernel version"
- fi
-
- #netfilter core team has changed some option names with kernel 2.6.20
- if kernel_is lt 2 6 20 ; then
- CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
- else
- CONFIG_CHECK="~NF_CT_NETLINK"
- ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t is not set when it should be. You can activate it in the Core Netfilter Configuration"
- fi
-
- check_extra_config
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
-}
diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.41.ebuild b/net-libs/libnfnetlink/libnfnetlink-0.0.41.ebuild
deleted file mode 100644
index bfc72673cf91..000000000000
--- a/net-libs/libnfnetlink/libnfnetlink-0.0.41.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.41.ebuild,v 1.3 2010/01/25 18:36:50 armin76 Exp $
-
-inherit linux-info
-
-DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
-HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/"
-SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if kernel_is lt 2 6 18 ; then
- die "${PN} requires at least 2.6.18 kernel version"
- fi
-
- #netfilter core team has changed some option names with kernel 2.6.20
- if kernel_is lt 2 6 20 ; then
- CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
- else
- CONFIG_CHECK="~NF_CT_NETLINK"
- ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t is not set when it should be. You can activate it in the Core Netfilter Configuration"
- fi
-
- check_extra_config
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
-}
diff --git a/net-libs/libnfnetlink/libnfnetlink-0.0.39.ebuild b/net-libs/libnfnetlink/libnfnetlink-1.0.0-r1.ebuild
index aa6dea429873..bc4a6d7dddf1 100644
--- a/net-libs/libnfnetlink/libnfnetlink-0.0.39.ebuild
+++ b/net-libs/libnfnetlink/libnfnetlink-1.0.0-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-0.0.39.ebuild,v 1.6 2010/01/25 18:36:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnfnetlink/libnfnetlink-1.0.0-r1.ebuild,v 1.1 2012/02/14 22:29:23 jer Exp $
+EAPI=4
inherit linux-info
DESCRIPTION="the low-level library for netfilter related kernel/userspace communication"
@@ -10,11 +11,10 @@ SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 hppa ~ia64 ~ppc sparc x86"
-IUSE=""
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="static-libs"
-DEPEND=""
-RDEPEND=""
+DOCS=( README )
pkg_setup() {
linux-info_pkg_setup
@@ -24,17 +24,25 @@ pkg_setup() {
fi
#netfilter core team has changed some option names with kernel 2.6.20
+ error_common=' is not set when it should be. You can activate it in the Core Netfilter Configuration'
if kernel_is lt 2 6 20 ; then
CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
+ ERROR_IP_NF_CONNTRACK_NETLINK="CONFIG_IP_NF_CONNTRACK_NETLINK:\t${error_common}"
else
CONFIG_CHECK="~NF_CT_NETLINK"
- ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t is not set when it should be. You can activate it in the Core Netfilter Configuration"
+ ERROR_NF_CT_NETLINK="CONFIG_NF_CT_NETLINK:\t${error_common}"
fi
check_extra_config
}
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
+ default
+ if ! use static-libs; then
+ rm -f "${D}"/usr/lib*/*.la || die
+ fi
}