mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 18:42:22 +02:00
net-firewall/ipset: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
This commit is contained in:
parent
45b3b10dca
commit
656c134790
@ -1,88 +0,0 @@
|
|||||||
# ChangeLog for net-firewall/ipset
|
|
||||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# (auto-generated from git log)
|
|
||||||
|
|
||||||
*ipset-6.24 (09 Aug 2015)
|
|
||||||
*ipset-6.21.1 (09 Aug 2015)
|
|
||||||
*ipset-6.20.1 (09 Aug 2015)
|
|
||||||
*ipset-6.19 (09 Aug 2015)
|
|
||||||
*ipset-6.17 (09 Aug 2015)
|
|
||||||
*ipset-6.16.1 (09 Aug 2015)
|
|
||||||
*ipset-6.16 (09 Aug 2015)
|
|
||||||
*ipset-6.15 (09 Aug 2015)
|
|
||||||
|
|
||||||
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +files/ipset.confd,
|
|
||||||
+files/ipset.initd-r2, +files/ipset.initd-r3, +ipset-6.15.ebuild,
|
|
||||||
+ipset-6.16.ebuild, +ipset-6.16.1.ebuild, +ipset-6.17.ebuild,
|
|
||||||
+ipset-6.19.ebuild, +ipset-6.20.1.ebuild, +ipset-6.21.1.ebuild,
|
|
||||||
+ipset-6.24.ebuild, +metadata.xml:
|
|
||||||
proj/gentoo: Initial commit
|
|
||||||
|
|
||||||
This commit represents a new era for Gentoo:
|
|
||||||
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
|
||||||
|
|
||||||
This commit is the start of the NEW history.
|
|
||||||
Any historical data is intended to be grafted onto this point.
|
|
||||||
|
|
||||||
Creation process:
|
|
||||||
1. Take final CVS checkout snapshot
|
|
||||||
2. Remove ALL ChangeLog* files
|
|
||||||
3. Transform all Manifests to thin
|
|
||||||
4. Remove empty Manifests
|
|
||||||
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
|
||||||
5.1. Do not touch files with -kb/-ko keyword flags.
|
|
||||||
|
|
||||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
|
||||||
tests
|
|
||||||
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
|
||||||
project
|
|
||||||
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
|
||||||
developer, wrote Git features for the migration
|
|
||||||
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
|
||||||
cvs2svn
|
|
||||||
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
|
||||||
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
|
||||||
work in migration
|
|
||||||
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
|
||||||
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
|
||||||
the bikeshed
|
|
||||||
|
|
||||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
|
||||||
Use https by default
|
|
||||||
|
|
||||||
Convert all URLs for sites supporting encrypted connections from http to
|
|
||||||
https
|
|
||||||
|
|
||||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
|
||||||
|
|
||||||
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
|
||||||
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
|
||||||
|
|
||||||
repoman does not yet accept the https version.
|
|
||||||
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
|
||||||
|
|
||||||
Bug: https://bugs.gentoo.org/552720
|
|
||||||
|
|
||||||
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
|
||||||
Set appropriate maintainer types in metadata.xml (GLEP 67)
|
|
||||||
|
|
||||||
28 Feb 2016; Matthew Thode <prometheanfire@gentoo.org> ipset-6.24.ebuild:
|
|
||||||
keywording arm64
|
|
||||||
|
|
||||||
merged on X-C1
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.26
|
|
||||||
|
|
||||||
18 May 2016; Austin English <wizardedit@gentoo.org> files/ipset.initd-r2,
|
|
||||||
files/ipset.initd-r3:
|
|
||||||
use #!/sbin/openrc-run instead of #!/sbin/runscript
|
|
||||||
|
|
||||||
*ipset-6.29 (04 Jun 2016)
|
|
||||||
|
|
||||||
04 Jun 2016; Robin H. Johnson <robbat2@gentoo.org> +files/ipset.initd-r4,
|
|
||||||
+ipset-6.29.ebuild:
|
|
||||||
bug #554904 bump.
|
|
||||||
|
|
||||||
Package-Manager: portage-2.2.28
|
|
||||||
|
|
@ -1,400 +0,0 @@
|
|||||||
# ChangeLog for net-firewall/ipset
|
|
||||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.79 2015/05/14 06:25:02 dlan Exp $
|
|
||||||
|
|
||||||
*ipset-6.24 (14 May 2015)
|
|
||||||
|
|
||||||
14 May 2015; Yixun Lan <dlan@gentoo.org> +ipset-6.24.ebuild:
|
|
||||||
version bump, bug 532754; drop check_header_patch() which only required by <
|
|
||||||
kernel-2.6.35
|
|
||||||
|
|
||||||
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> ipset-6.15.ebuild,
|
|
||||||
ipset-6.16.1.ebuild, ipset-6.16.ebuild, ipset-6.17.ebuild, ipset-6.19.ebuild,
|
|
||||||
ipset-6.20.1.ebuild, ipset-6.21.1.ebuild:
|
|
||||||
QA: drop trailing '.' from DESCRIPTION
|
|
||||||
|
|
||||||
21 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> ipset-6.20.1.ebuild:
|
|
||||||
Stable on amd64 per bug #502870, works for infra (actually do it this time)
|
|
||||||
|
|
||||||
20 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> ipset-6.20.1.ebuild:
|
|
||||||
Stable on amd64 per bug #502870, works for infra.
|
|
||||||
|
|
||||||
*ipset-6.21.1 (20 Jun 2014)
|
|
||||||
|
|
||||||
20 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.21.1.ebuild:
|
|
||||||
Bump per bug #509804.
|
|
||||||
|
|
||||||
*ipset-6.20.1 (01 Dec 2013)
|
|
||||||
|
|
||||||
01 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> +files/ipset.initd-r3,
|
|
||||||
+ipset-6.20.1.ebuild, files/ipset.confd, files/ipset.initd-r2:
|
|
||||||
Bump per bug #486836, adds new modules and future warning about NET_NS. Make
|
|
||||||
USE=-modules not introduce kernel-sources via MODULES_OPTIONAL_USE. Bug
|
|
||||||
#433411: Drop use
|
|
||||||
|
|
||||||
04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> ipset-6.17.ebuild:
|
|
||||||
Stable for x86, wrt bug #461978
|
|
||||||
|
|
||||||
*ipset-6.19 (27 May 2013)
|
|
||||||
|
|
||||||
27 May 2013; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.19.ebuild:
|
|
||||||
Bump.
|
|
||||||
|
|
||||||
07 May 2013; Sergey Popov <pinkbyte@gentoo.org> ipset-6.17.ebuild:
|
|
||||||
Stable on amd64, wrt bug #461978
|
|
||||||
|
|
||||||
*ipset-6.17 (16 Mar 2013)
|
|
||||||
|
|
||||||
16 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.17.ebuild:
|
|
||||||
Version bump, wrt bug #460036
|
|
||||||
|
|
||||||
16 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> -ipset-4.5.ebuild,
|
|
||||||
-ipset-6.8.ebuild, -ipset-6.9.1-r2.ebuild, -ipset-6.10.ebuild,
|
|
||||||
-ipset-6.11.ebuild, -ipset-6.13.ebuild, -ipset-6.14.ebuild,
|
|
||||||
-files/ipset.initd-r1:
|
|
||||||
Drop old versions, permissions granted by maintainer
|
|
||||||
|
|
||||||
*ipset-6.16.1 (17 Feb 2013)
|
|
||||||
|
|
||||||
17 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.16.1.ebuild:
|
|
||||||
Version bump
|
|
||||||
|
|
||||||
17 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> ipset-6.15.ebuild,
|
|
||||||
ipset-6.16.ebuild:
|
|
||||||
Make build process verbose, wrt bug #458008
|
|
||||||
|
|
||||||
17 Feb 2013; Agostino Sarubbo <ago@gentoo.org> ipset-6.15.ebuild:
|
|
||||||
Stable for x86, wrt bug #448814
|
|
||||||
|
|
||||||
17 Feb 2013; Agostino Sarubbo <ago@gentoo.org> ipset-6.15.ebuild:
|
|
||||||
Stable for amd64, wrt bug #448814
|
|
||||||
|
|
||||||
16 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
|
|
||||||
Cleanup due bug #96436
|
|
||||||
|
|
||||||
27 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> -ipset-6.9.1.ebuild,
|
|
||||||
-ipset-6.9.1-r1.ebuild, -files/ipset.initd:
|
|
||||||
Drop old revisions and obsolete files
|
|
||||||
|
|
||||||
*ipset-6.16 (27 Nov 2012)
|
|
||||||
*ipset-6.15 (27 Nov 2012)
|
|
||||||
|
|
||||||
27 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.15.ebuild,
|
|
||||||
+ipset-6.16.ebuild:
|
|
||||||
Another version bump
|
|
||||||
|
|
||||||
*ipset-6.14 (27 Nov 2012)
|
|
||||||
|
|
||||||
27 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.14.ebuild:
|
|
||||||
Version bump, permission was granted by robbat2
|
|
||||||
|
|
||||||
*ipset-6.13 (20 Aug 2012)
|
|
||||||
|
|
||||||
20 Aug 2012; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.13.ebuild:
|
|
||||||
Bug #431456, #418019: version bump. Bug #429814: ensure compile with no
|
|
||||||
/usr/src/linux. Bug #396097 is fixed by upstream as well.
|
|
||||||
|
|
||||||
14 Jun 2012; Michael Weber <xmw@gentoo.org> ipset-6.11.ebuild:
|
|
||||||
adding ~ppc keyword (bug 304037)
|
|
||||||
|
|
||||||
*ipset-6.11 (21 Feb 2012)
|
|
||||||
|
|
||||||
21 Feb 2012; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.11.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
*ipset-6.10 (17 Dec 2011)
|
|
||||||
|
|
||||||
17 Dec 2011; Peter Volkov <pva@gentoo.org> +ipset-6.10.ebuild,
|
|
||||||
+files/ipset.confd, +files/ipset.initd-r2:
|
|
||||||
Version bump. Add confd file and make init file workable with list:set, bug
|
|
||||||
#390129 and bug #393243 by Andrew Savchenko.
|
|
||||||
|
|
||||||
12 Oct 2011; Peter Volkov <pva@gentoo.org> ipset-6.9.1-r2.ebuild:
|
|
||||||
On second thought drop USE=ipv6: userspace should work is the same
|
|
||||||
independently of USE=ipv6 and kernel side will depend on kernel
|
|
||||||
configuration.
|
|
||||||
|
|
||||||
*ipset-6.9.1-r2 (12 Oct 2011)
|
|
||||||
|
|
||||||
12 Oct 2011; Peter Volkov <pva@gentoo.org> +ipset-6.9.1-r2.ebuild,
|
|
||||||
+files/ipset.initd-r1, files/ipset.initd:
|
|
||||||
Fix init script, bug #386151 wrt Alexey Shvetsov. Require
|
|
||||||
CONFIG_IP6_NF_IPTABLES only if USE=ipv6, bug #385445 wrt John Brendler.
|
|
||||||
|
|
||||||
*ipset-6.9.1-r1 (02 Oct 2011)
|
|
||||||
|
|
||||||
02 Oct 2011; Peter Volkov <pva@gentoo.org> +ipset-6.9.1-r1.ebuild,
|
|
||||||
+files/ipset.initd:
|
|
||||||
Drop confusing message about netlink.patch, bug #382221 by John Brendler. Add
|
|
||||||
init script by Andrew Savchenko, bug #181045 by Caleb Cushing.
|
|
||||||
|
|
||||||
17 Sep 2011; Peter Volkov <pva@gentoo.org> -files/ipset-2.4.7-LDFLAGS.patch,
|
|
||||||
-ipset-4.4.ebuild, -ipset-6.7-r1.ebuild:
|
|
||||||
Drop old.
|
|
||||||
|
|
||||||
16 Sep 2011; Tony Vroon <chainsaw@gentoo.org> ipset-4.5.ebuild,
|
|
||||||
ipset-6.8.ebuild:
|
|
||||||
Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney &
|
|
||||||
Tomáš "Mepho" Pružina in bug #381613.
|
|
||||||
|
|
||||||
15 Sep 2011; Andreas Schuerch <nativemad@gentoo.org> ipset-4.5.ebuild,
|
|
||||||
ipset-6.8.ebuild:
|
|
||||||
x86 stable, see bug 381613
|
|
||||||
|
|
||||||
*ipset-6.9.1 (07 Sep 2011)
|
|
||||||
|
|
||||||
07 Sep 2011; Peter Volkov <pva@gentoo.org> +ipset-6.9.1.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
*ipset-6.8 (24 Jul 2011)
|
|
||||||
|
|
||||||
24 Jul 2011; Peter Volkov <pva@gentoo.org> +ipset-6.8.ebuild:
|
|
||||||
Version bump, thank Ed Wildgoose for report.
|
|
||||||
|
|
||||||
02 Jul 2011; Sven Wegener <swegener@gentoo.org> ipset-6.7-r1.ebuild:
|
|
||||||
Use correct source and build options for kernel.
|
|
||||||
|
|
||||||
*ipset-6.7-r1 (16 Jun 2011)
|
|
||||||
|
|
||||||
16 Jun 2011; Peter Volkov <pva@gentoo.org> -ipset-6.4.ebuild,
|
|
||||||
-ipset-6.6.ebuild, -ipset-6.7.ebuild, +ipset-6.7-r1.ebuild:
|
|
||||||
Add missing xt_set and ip_set_hash_netiface modules. Drop old.
|
|
||||||
|
|
||||||
*ipset-6.7 (16 Jun 2011)
|
|
||||||
|
|
||||||
16 Jun 2011; Peter Volkov <pva@gentoo.org> +ipset-6.7.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
*ipset-6.6 (24 May 2011)
|
|
||||||
|
|
||||||
24 May 2011; Peter Volkov <pva@gentoo.org> +ipset-6.6.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
15 May 2011; Peter Volkov <pva@gentoo.org> ipset-6.4.ebuild:
|
|
||||||
Fixed build in case symlink points on different sources then currnely
|
|
||||||
running, bug #356727#c9 thank Ed Wildgoose for this fix.
|
|
||||||
|
|
||||||
*ipset-6.4 (01 May 2011)
|
|
||||||
|
|
||||||
01 May 2011; Peter Volkov <pva@gentoo.org> -ipset-2.4.7.ebuild,
|
|
||||||
+ipset-6.4.ebuild:
|
|
||||||
Version bump, bug 356727, thank Andreis_Vinogradovs (slepnoga) for report.
|
|
||||||
|
|
||||||
25 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> ipset-2.4.7.ebuild,
|
|
||||||
ipset-4.4.ebuild, ipset-4.5.ebuild:
|
|
||||||
Dropped ppc wrt #345019, #304037
|
|
||||||
|
|
||||||
*ipset-4.5 (21 Dec 2010)
|
|
||||||
|
|
||||||
21 Dec 2010; Peter Volkov <pva@gentoo.org> -ipset-4.1.ebuild,
|
|
||||||
-ipset-4.2.ebuild, -ipset-4.3.ebuild, +ipset-4.5.ebuild:
|
|
||||||
Version bump, drop old.
|
|
||||||
|
|
||||||
26 Nov 2010; Christian Faulhammer <fauli@gentoo.org> ipset-4.4.ebuild:
|
|
||||||
stable x86, bug 345019
|
|
||||||
|
|
||||||
11 Nov 2010; Markos Chandras <hwoarang@gentoo.org> ipset-4.4.ebuild:
|
|
||||||
Stable on amd64 wrt bug #345019
|
|
||||||
|
|
||||||
*ipset-4.4 (14 Oct 2010)
|
|
||||||
|
|
||||||
14 Oct 2010; Peter Volkov <pva@gentoo.org> +ipset-4.4.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
*ipset-4.3 (25 Aug 2010)
|
|
||||||
|
|
||||||
25 Aug 2010; Peter Volkov <pva@gentoo.org> +ipset-4.3.ebuild:
|
|
||||||
Version bump, fixes 2.6.35 kernel compatibility issue, bug 332687, thank
|
|
||||||
fkhp and Oleksandr Kovalenko for report.
|
|
||||||
|
|
||||||
20 May 2010; Peter Volkov <pva@gentoo.org> ipset-4.1.ebuild:
|
|
||||||
amd64 stable, bug 304037.
|
|
||||||
|
|
||||||
17 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> ipset-4.1.ebuild:
|
|
||||||
x86 stable wrt bug #304037
|
|
||||||
|
|
||||||
*ipset-4.2 (08 Feb 2010)
|
|
||||||
|
|
||||||
08 Feb 2010; Peter Volkov <pva@gentoo.org> -ipset-2.2.9.20070401.ebuild,
|
|
||||||
-files/ipset-2.4.2-glibc28-fix.patch,
|
|
||||||
-files/ipset-2.4.9-gethostbyname-align.patch, -ipset-3.0.ebuild,
|
|
||||||
+ipset-4.2.ebuild:
|
|
||||||
Version bump, drop old.
|
|
||||||
|
|
||||||
15 Nov 2009; Peter Volkov <pva@gentoo.org> ipset-4.1.ebuild:
|
|
||||||
USE='modules' support.
|
|
||||||
|
|
||||||
14 Nov 2009; Peter Volkov <pva@gentoo.org> ipset-4.1.ebuild:
|
|
||||||
Do not build modules in case kernel is patched and modules are built in,
|
|
||||||
bug #274577 thank Brendan Pike report.
|
|
||||||
|
|
||||||
*ipset-4.1 (14 Nov 2009)
|
|
||||||
|
|
||||||
14 Nov 2009; Peter Volkov <pva@gentoo.org> -ipset-2.4.9-r1.ebuild,
|
|
||||||
-ipset-2.5.0-r1.ebuild, +ipset-4.1.ebuild:
|
|
||||||
Version bump, bug #293043, thank Marcin Mirosław for report.
|
|
||||||
|
|
||||||
06 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> ipset-2.4.7.ebuild,
|
|
||||||
ipset-2.4.9-r1.ebuild, ipset-2.5.0-r1.ebuild, ipset-3.0.ebuild:
|
|
||||||
Cleaning up for linux-info work: inherit linux-mod implies inherit
|
|
||||||
linux-info.
|
|
||||||
|
|
||||||
28 Jul 2009; Robin H. Johnson <robbat2@gentoo.org> ipset-3.0.ebuild:
|
|
||||||
Bug #279286: Min iptables version required for ipset is 1.4.4. Thanks to
|
|
||||||
James Earl Spahlinger <james@nixeagle.org>.
|
|
||||||
|
|
||||||
*ipset-3.0 (05 Jun 2009)
|
|
||||||
|
|
||||||
05 Jun 2009; Peter Volkov <pva@gentoo.org> -ipset-2.5.0.ebuild,
|
|
||||||
+ipset-3.0.ebuild:
|
|
||||||
Version bump, remove broken version.
|
|
||||||
|
|
||||||
*ipset-2.5.0-r1 (14 May 2009)
|
|
||||||
|
|
||||||
14 May 2009; Robin H. Johnson <robbat2@gentoo.org> +ipset-2.5.0-r1.ebuild:
|
|
||||||
Bug #269743: Some of the modules did not get installed.
|
|
||||||
|
|
||||||
*ipset-2.5.0 (04 Apr 2009)
|
|
||||||
|
|
||||||
04 Apr 2009; Peter Volkov <pva@gentoo.org> +ipset-2.5.0.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
20 Mar 2009; Joseph Jezak <josejx@gentoo.org> ipset-2.4.7.ebuild:
|
|
||||||
Marked ppc stable for bug #257483.
|
|
||||||
|
|
||||||
*ipset-2.4.9-r1 (03 Mar 2009)
|
|
||||||
|
|
||||||
03 Mar 2009; Peter Volkov <pva@gentoo.org>
|
|
||||||
+files/ipset-2.4.9-gethostbyname-align.patch,
|
|
||||||
-ipset-2.3.0.20070828-r2.ebuild, -ipset-2.3.1.20080612.ebuild,
|
|
||||||
-ipset-2.3.3a.ebuild, -ipset-2.4.2.ebuild, -ipset-2.4.9.ebuild,
|
|
||||||
+ipset-2.4.9-r1.ebuild:
|
|
||||||
Fixed gethostbyname alignment issue on hppa, bug #260481, thank Antixrict
|
|
||||||
for report and work with upstream. Removed old.
|
|
||||||
|
|
||||||
*ipset-2.4.9 (28 Feb 2009)
|
|
||||||
|
|
||||||
28 Feb 2009; Peter Volkov <pva@gentoo.org>
|
|
||||||
-files/ipset-2.4.8-use-new-hash.patch, -ipset-2.4.8.ebuild,
|
|
||||||
+ipset-2.4.9.ebuild:
|
|
||||||
Version bump, bug #260480, thank Jeroen Roovers for report.
|
|
||||||
|
|
||||||
*ipset-2.4.8 (26 Feb 2009)
|
|
||||||
|
|
||||||
26 Feb 2009; Peter Volkov <pva@gentoo.org>
|
|
||||||
+files/ipset-2.4.8-use-new-hash.patch, ipset-2.4.7.ebuild,
|
|
||||||
+ipset-2.4.8.ebuild:
|
|
||||||
Version bump, bug #260338, thank BoneKracker for report. Disable warnings,
|
|
||||||
fixes bug #259999, thank Aleksey Kunitskiy for report.
|
|
||||||
|
|
||||||
04 Feb 2009; Markus Meier <maekke@gentoo.org> ipset-2.4.7.ebuild:
|
|
||||||
amd64/x86 stable, bug #257483
|
|
||||||
|
|
||||||
*ipset-2.4.7 (31 Jan 2009)
|
|
||||||
|
|
||||||
31 Jan 2009; Peter Volkov <pva@gentoo.org>
|
|
||||||
+files/ipset-2.4.7-LDFLAGS.patch, +ipset-2.4.7.ebuild:
|
|
||||||
Version bump. Respect LDFLAGS, #246016, thank Olivier Huber. Probably
|
|
||||||
fixes compatibility issue with 2.6.28, #254207, thank Jochen Schlick.
|
|
||||||
|
|
||||||
*ipset-2.4.2 (24 Oct 2008)
|
|
||||||
|
|
||||||
24 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+files/ipset-2.4.2-glibc28-fix.patch, +ipset-2.4.2.ebuild:
|
|
||||||
Bug #243092, version bump.
|
|
||||||
|
|
||||||
14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> ipset-2.3.3a.ebuild:
|
|
||||||
Bug #236138, allow building with non-modular kernels.
|
|
||||||
|
|
||||||
*ipset-2.3.3a (14 Aug 2008)
|
|
||||||
|
|
||||||
14 Aug 2008; Robin H. Johnson <robbat2@gentoo.org> +ipset-2.3.3a.ebuild:
|
|
||||||
Bug #233763, version bump to resolve glibc-2.8 issues. Upstream also now
|
|
||||||
includes modules buildable without patching the kernel.
|
|
||||||
|
|
||||||
*ipset-2.3.1.20080612 (25 Jun 2008)
|
|
||||||
|
|
||||||
25 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+ipset-2.3.1.20080612.ebuild:
|
|
||||||
Version bump per bug #226155.
|
|
||||||
|
|
||||||
*ipset-2.3.0.20070828-r2 (14 Nov 2007)
|
|
||||||
|
|
||||||
14 Nov 2007; <pva@gentoo.org> -ipset-2.3.0.20070828-r1.ebuild,
|
|
||||||
+ipset-2.3.0.20070828-r2.ebuild:
|
|
||||||
Fixed LIBDIR to include /; bug 199084 reported by Krzysztof Olędzki
|
|
||||||
<ole+gentoo AT ans.pl>.
|
|
||||||
|
|
||||||
10 Nov 2007; <pva@gentoo.org> -ipset-2.1.0.20050119-r1.ebuild,
|
|
||||||
-ipset-2.2.8.20051203.ebuild, -ipset-2.2.9.20060508.ebuild:
|
|
||||||
Clean old.
|
|
||||||
|
|
||||||
10 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
|
|
||||||
ipset-2.2.9.20070401.ebuild:
|
|
||||||
stable x86, bug 198158
|
|
||||||
|
|
||||||
*ipset-2.3.0.20070828-r1 (07 Nov 2007)
|
|
||||||
|
|
||||||
07 Nov 2007; <pva@gentoo.org> -ipset-2.3.0.20070828.ebuild,
|
|
||||||
+ipset-2.3.0.20070828-r1.ebuild:
|
|
||||||
Cleaned ebuild, courtesy of Donnie Berkholz <dberkholz AT gentoo.org>
|
|
||||||
|
|
||||||
*ipset-2.3.0.20070828 (05 Nov 2007)
|
|
||||||
|
|
||||||
05 Nov 2007; <pva@gentoo.org> metadata.xml, +ipset-2.3.0.20070828.ebuild:
|
|
||||||
Version bump. Added myself in metadata. Added emerge --config to patch the
|
|
||||||
kernel.
|
|
||||||
|
|
||||||
12 Apr 2007; Stefan Schweizer <genstef@gentoo.org>
|
|
||||||
-ipset-2.1.0.20050119.ebuild:
|
|
||||||
Remove old version that uses check_KV, bug 150058
|
|
||||||
|
|
||||||
*ipset-2.2.9.20070401 (10 Apr 2007)
|
|
||||||
|
|
||||||
10 Apr 2007; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+ipset-2.2.9.20070401.ebuild:
|
|
||||||
New version from upstream, bug #173218. Please note that while this version
|
|
||||||
will compile without a patched kernel, you still need a patched kernel to
|
|
||||||
use it!.
|
|
||||||
|
|
||||||
*ipset-2.2.9.20060508 (25 May 2006)
|
|
||||||
|
|
||||||
25 May 2006; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
ipset-2.2.8.20051203.ebuild, +ipset-2.2.9.20060508.ebuild:
|
|
||||||
Bug #126878, upstream seems to have changed the directory name inside the
|
|
||||||
tarball. Also version bump that fixes a return code issue.
|
|
||||||
|
|
||||||
27 Jan 2006; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
ipset-2.2.8.20051203.ebuild:
|
|
||||||
Adjust description to indicate that this package only provides the userspace
|
|
||||||
portion of ipset. You must still manually patch your kernel to have ipset
|
|
||||||
support.
|
|
||||||
|
|
||||||
*ipset-2.2.8.20051203 (12 Dec 2005)
|
|
||||||
|
|
||||||
12 Dec 2005; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+ipset-2.2.8.20051203.ebuild:
|
|
||||||
Version bump.
|
|
||||||
|
|
||||||
26 Sep 2005; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
ipset-2.1.0.20050119-r1.ebuild:
|
|
||||||
Stable on x86, 146 days in ~x86.
|
|
||||||
|
|
||||||
06 May 2005; Sven Wegener <swegener@gentoo.org>
|
|
||||||
ipset-2.1.0.20050119.ebuild, ipset-2.1.0.20050119-r1.ebuild:
|
|
||||||
Removed * postfix from <, <=, >= and > dependencies.
|
|
||||||
|
|
||||||
*ipset-2.1.0.20050119-r1 (03 May 2005)
|
|
||||||
|
|
||||||
03 May 2005; Robin H. Johnson <robbat2@gentoo.org>
|
|
||||||
+ipset-2.1.0.20050119-r1.ebuild:
|
|
||||||
Convert to use linux-info eclass.
|
|
||||||
|
|
||||||
26 Apr 2005; Andrej Kacian <ticho@gentoo.org> ipset-2.1.0.20050119.ebuild:
|
|
||||||
Added ~amd64 keyword.
|
|
||||||
|
|
||||||
*ipset-2.1.0.20050119 (10 Mar 2005)
|
|
||||||
|
|
||||||
10 Mar 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
|
|
||||||
+ipset-2.1.0.20050119.ebuild:
|
|
||||||
Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>.
|
|
@ -1,26 +1,2 @@
|
|||||||
AUX ipset.confd 588 SHA256 a4203705531190ba1793dfe18e0cad03cae624918fdd9845d79c6aef27ad6ee7 SHA512 93e01873c3fb8ff5f4f78e04118a666a650e604a1ba2908309faab08aa140e0ca7a2e24fc5114a9e809d3dbe81e801fc9ad59d53e174014cae1f23719a2a8e3e WHIRLPOOL a1ff1c60d761de759ca9c624784698dfb18e461eb2eb817eadbeeadf0706f8af07d1dc36c495435f338c6aa099a2b974e4c9c10179a4fc98eb11c15dc8fcc23b
|
DIST ipset-7.11.tar.bz2 674100 BLAKE2B 97f2e3372e963654ece511960e8c22d0dd9e29376d087a3767d89544dfbd85f9f9e75e0cc6c4eb9e1d813d1a472a410033a76feef3319b1d87fd51b0c3fd97cd SHA512 20890de32c17c04d9d3ae42fff64acfe21a252974bee5843ae39bdda707fcef55fde11cffccab9f987bf7e18f5445443c46c50eb854fb6f93f172f7bad07f922
|
||||||
AUX ipset.initd-r2 1349 SHA256 38cc2725ab0d798255f0357fde564d9436708d9b41caf511a599e0f78565a304 SHA512 227df4807066938e6d8fdff210840b66ee6186aac2df42f30de0f3d1370deca2a3694b4fe879c9a809119a6c979bb281d247c9714aec21764dbb02ba7ddb3f45 WHIRLPOOL 6e7f62155349797df78284d1a5154de21b2324a3aeb6b2277940333ec3f17d853bf6b77293b1f8bf246e2f7182c4c8e2e8993d5f7a2ec217c7f3198eb47e7b2b
|
DIST ipset-7.15.tar.bz2 680383 BLAKE2B 10acff9741370ad80a2845605be1be4f691e987b271f4dcf1fab3abfe158c63c7d39e6b3453ba7cd361dee3df92f85419cfb70806a71b6806555f6571c70b1ed SHA512 0fc936d971c30a0925c585d506c8840e782fdaeec09bc8fd249e874fe838fa55a4dbb697f6e1423a6769abf07a1ce2195abc37cb641e8e4ad70f1b4c7130916a
|
||||||
AUX ipset.initd-r3 2992 SHA256 75c303cf3f028f4d146efcb2bd5356de1dc71c96883d02fb2b45997f6cf0dea4 SHA512 80f876a4c4f79b77d57688a88cf8fe7e068a940442216fda1e4d45840805246ab8689d73406fba54759801fc2c935c7f36781d73ab88af9e707084989ecef3d4 WHIRLPOOL 265e931980e1f8411fbbadfa9c95cd2dc4a090e53b302f53d85be34a79f9d7c5be8f14ff1bccfed37172ccaed4507a3aac4c8a4a9d70d2c4992d0cfe82df0c73
|
|
||||||
AUX ipset.initd-r4 3012 SHA256 a0543d9c9d2b0e4d8486b0571676e9e03963409f24b2621868c685fe9920a445 SHA512 2c78da98b41a7ea992cc25ad82e02acdaebff9d773f9d971fa89527b90dae3e87b6cdc8d3e82b7e0fed83bf628adce9173e73fd35010910b9dc20a652f2daa5c WHIRLPOOL f7932585f69bbd314408546f6c764545937202721e6a41bfd5d66c4c1f8c95fad807691ced81af855ec7aa756a194592daee8cfd7510ff7a02c3715c819fe7ff
|
|
||||||
DIST ipset-6.15.tar.bz2 432771 SHA256 6f60a472bc2ef7b1c864be6472de65365c90e264dfadf28da48c2361393d8fd1 SHA512 f72329bb8610717ccdddbfaf7b7774e717a34d71fdb7f9c7eac97e3d1b314915500c88137b6e229411df99c86d2228bef447f26c116bc2cf992cfb60ab1422d3 WHIRLPOOL 868ee3cd722c2d86c273aca8f3ca7695e8ef5d00d30111ef0f2bf972a119211008d8cadec1760b43b4f0efb24690f20a2cf5f0fdbbb0700cf66e5660d363ab2a
|
|
||||||
DIST ipset-6.16.1.tar.bz2 433347 SHA256 cb5b02deab8521946fd473b77c40f00452b76fed621f0eee76746c74e89e4c3c SHA512 e54d32932875a9d06acba598280de9e83529f36326cbaaeb05d38b985bc40d276dc46e37eae3d1d4c1afcdd69b3074678512349ebd964b6189ca1c6871efe304 WHIRLPOOL ff2276446c7dbb4005de236b73bf9879ead8273f3ec014883160b779f6c089eaf7d4c4dce06233ef357f0a8b5376754b158eec29187ae5f5f7bb52bfd2d8ae3c
|
|
||||||
DIST ipset-6.16.tar.bz2 433118 SHA256 bc3ea05cfbacd43aebff6668825453d0a626edd5d3495a8670103ab895fba464 SHA512 34ef44af76f3609035ae1bdacb7586f2288ee66701ed8a1a5a0632fb23b5f651fe02b070e0f0f1b0ebae6cab02b3f827cc7e67f740cf77f51ba494c25dcc47dd WHIRLPOOL 3b3c2172626530145401bd813c39114f31bf3546ebe0af6e168ed32ade102c158f3bc5f4690ee8bf0540415adc35929da5d8ca8e4e1c2ec83bf631849a24b8a7
|
|
||||||
DIST ipset-6.17.tar.bz2 448076 SHA256 7987bb8de1b0490b32084ab72165ae53038e497a96ab9940920280d8068629b0 SHA512 668f173b7ddd8a18af2730205e2e2c38610aa9fd191af52f91080e903bcd8e1f38e8e3a7fd57077decb00fd0556df89c3315c91eaffaa6977f2caf2a3300b175 WHIRLPOOL 1d08c841d87c7a5ca355857ac823ee696922b867690e9066c631414615c98f3cf3e59c6dd8d9f556170eef90a029260c7d41dc1e3f47811ede2190c5d0298e8b
|
|
||||||
DIST ipset-6.19.tar.bz2 465927 SHA256 058e7950efdf8b9539ab79eb145de7be60d6cb7b92c0c011edda37e70135024c SHA512 9e9fdccd8ae34ad56c5fc6da03060b39b3acc9a53154acf7e82df3f2c1545b2bdcc7b5b9b4f6ddd6ee3e8582e81b1fa51fae37cb4f46948c053d5153bdca6f39 WHIRLPOOL 31472a732781598c8d99ee562766492c225e359b8153ff68a7769d8fa86f41cac9749eda08e4e3922a6ada5a815192109104b42c59ba3079530f6c0b0169613c
|
|
||||||
DIST ipset-6.20.1.tar.bz2 500898 SHA256 356cac020438cd0871acbfc4cb119b8296030f0bb4661ad0d44bbc115ccbce92 SHA512 3fda3a71c18c8d5f9567038fc72f95abec81b4c789fbca7f7b9c032b15000cfbd2829f11a07f2f9ad2afcff54d6851923caff0917b2ead73756673a6b3667565 WHIRLPOOL f31cd533d286238e63f38aecbf281d428d75e856b393f61db5f6622d0dc0cd0a6de7aa4d3eaa2831e1da7dd0846e95c22f92b3a586cf3918cee074360a4caff3
|
|
||||||
DIST ipset-6.21.1.tar.bz2 510013 SHA256 cf46c9c35a15aa0f2e0fbab0422586757bd82386c8ad3864936e6cffbd74a331 SHA512 c2ffb2eafc780e15370fd48841f4323c39e8fef1893216c8bc0b8aa8d143f9daf078c6e261e4558243004fe9612ce1d5ca4cca16f8b3f324f4194700c1b0accb WHIRLPOOL 230ebb4756891283980f5b7f67c0c64772b1527b8e8c0b6cdd2714de450b3f6c2a75d961d44563e440edd1399bdee8cce820fe59f46c28355a6f053ad6b1c37b
|
|
||||||
DIST ipset-6.24.tar.bz2 518811 SHA256 3071fc283f00a6472b5b352ef57f9825c9face70dda5b0d8715f8d43d0e995d0 SHA512 107bf492030dc4e8e4c2a939e46a715f58458126bfb636dae993e5bf31151d33c2a41b89eb5cca85b71d95b3e36debf97cdfc72c568f351091df17159003d6c6 WHIRLPOOL d34e8d5d197be85cf00ea6a5dbfeb7c52b5d42d9e78299620928e69ba1fbbe124cb16b9f5f2e05d1213b2b7a29a2bed2c1edac2f15ee3c83d8dc19eb3afcc112
|
|
||||||
DIST ipset-6.29.tar.bz2 542735 SHA256 6af58b21c8b475b1058e02529ea9f15b4b727dbc13dc9cbddf89941b0103880e SHA512 ce62c72c4cea1b52f069602a90fbffe9bcb12bf70f5b42d93cacb48e4b5d1192a13b18be45391c66a65421f41968e73416e16af25ae6ef19ba92bdbb2cd45ff3 WHIRLPOOL 8e6642d180b5e682bb121ffc249638da27650f97bc3b1e8aef75996d7c626eb447c9324b9cf68e25773cef73720e6281c7a16bf3ba96433ab77ef6f437be3999
|
|
||||||
DIST ipset-7.6.tar.bz2 676777 BLAKE2B 98b4a0094e4e44dfc8702ad4e61ce3c62de74964afc16ae91d107599fab7f978071693b6e6f57969c35a3dd381fac5b58610fd74a107eebd8af1f8644d819061 SHA512 c4d9c65895335dec8f855fca6c940d2ee19e7b8d2292325778a1608e795e2e35caa787cbcdeb8e2877f3695c641ac348b23ac43f73bdc1a8242e8d04f4944084
|
|
||||||
EBUILD ipset-6.15.ebuild 3233 SHA256 b0c3e06e939025b5a7d819fe53e99699afb3f726d5051f4cc2f80b84c2b00a08 SHA512 2e7cae5122480929018dd8c60d939d15efdbfebf5cd862eecac43ba467d921900ecba3204755cfc5792e174b8c2374e9a8ce3f609fcdb9a481a88a41800a8ee3 WHIRLPOOL d9e1b59c9f088b66f457bbdc765cad9a67ab5637ba18462a4e2077f8d41dc9d41d9ecb255ad7c010a7fd0005b0dddcfaf51d8a75fb130b965b5f1c9feb4eb3e4
|
|
||||||
EBUILD ipset-6.16.1.ebuild 3208 SHA256 89af801936191bdc00ab11bcd820472782a636af6e001ce9c9e75725350e4fe1 SHA512 3d90939bd7375a357c7d1857a98cf083e8e1b6846055c4ae6a602799a0189ecae5c1dec05c9216a5bff65a539942c9e2f2a7953dcdfc927e63ff2d7ceae8be9e WHIRLPOOL 1430e819b48a2b4b5d35df4ab2e7be03a76b849a1e207b5d0016e5cdf0acd9dbca3df1bac929cfa08497e292ec137d8ea9b067d0fcc5b347c67bb9701163041f
|
|
||||||
EBUILD ipset-6.16.ebuild 3208 SHA256 89af801936191bdc00ab11bcd820472782a636af6e001ce9c9e75725350e4fe1 SHA512 3d90939bd7375a357c7d1857a98cf083e8e1b6846055c4ae6a602799a0189ecae5c1dec05c9216a5bff65a539942c9e2f2a7953dcdfc927e63ff2d7ceae8be9e WHIRLPOOL 1430e819b48a2b4b5d35df4ab2e7be03a76b849a1e207b5d0016e5cdf0acd9dbca3df1bac929cfa08497e292ec137d8ea9b067d0fcc5b347c67bb9701163041f
|
|
||||||
EBUILD ipset-6.17.ebuild 3206 SHA256 80439e0c1cfbb69d7c4d8980669dd0d56184a790ebff1e0973ba5963fd7e2032 SHA512 6d1151593a0cc43a6a960bd18cd4fe65beaa3b8ccb48d79c5dcf83fdef68eb15360da198de947d9b9b74bf5cb50066633b33ded0392bc01c2fdcf0aa2af68035 WHIRLPOOL 776603887985a35e77597317bf9c26c33ca9f7482687d4bc1b5e8d0a17513f49bcc8ec4d9428d162f94a5b8ecb395eee6363ee6eb8f4693a28b34a7dd3a9c465
|
|
||||||
EBUILD ipset-6.19.ebuild 3208 SHA256 89af801936191bdc00ab11bcd820472782a636af6e001ce9c9e75725350e4fe1 SHA512 3d90939bd7375a357c7d1857a98cf083e8e1b6846055c4ae6a602799a0189ecae5c1dec05c9216a5bff65a539942c9e2f2a7953dcdfc927e63ff2d7ceae8be9e WHIRLPOOL 1430e819b48a2b4b5d35df4ab2e7be03a76b849a1e207b5d0016e5cdf0acd9dbca3df1bac929cfa08497e292ec137d8ea9b067d0fcc5b347c67bb9701163041f
|
|
||||||
EBUILD ipset-6.20.1.ebuild 3422 SHA256 2e5a3d26b298fda9ca566964ccb3f3bb79944e5bc26371ffea98d08b7a2eb0f3 SHA512 7412b2bb77c48987976bba9faf512d4dd9b6e2c6e0cc049b4f3da13867bc50858daaf2a0bc88f5ec25f375171c8f179088013c8358e229400bf98264018a7302 WHIRLPOOL a6f376142cde0f17f50c15f6488c56e6c3aab0f61ad687905851b9630dd8c1d260cb702c2d2d17d653252e1b084eb25750cc13286fd25e46029916d706b967bb
|
|
||||||
EBUILD ipset-6.21.1.ebuild 3423 SHA256 0b03d180c0c560a1b04798b9770a759b96ed0d0d55bde0e27c1050dcda71cc74 SHA512 0ce6a610e431e363590d8aac67f983eeb5dc7b5f1c04cbf584b72d45dcfa418ff57682042fdab108cafaf361d3e5735f3ca37e2b8fc62f754a926d448d53e213 WHIRLPOOL 8e90d1625ff71f69d74f190db1f9969f9ef94b4f57dc95027ae39e073f6a73f718896d79d10c83b02e8241d2fd2e7343dbd9b2e7d6a0f3a5be2660729e0d57ca
|
|
||||||
EBUILD ipset-6.24.ebuild 3007 SHA256 ed2598414af9d7d284ea76352d88fb36b0749bc4982ac0ca916e72b773e3ce41 SHA512 4acbaea277e50aec9c6b5e02349b6cbeca2d5caa5c7a667553f226b3b5fe21e330ec1b22451ea21c8fc165fe1ea7f3d37cb05476f6fc4d081461a952a38efc5b WHIRLPOOL f864952999e3d0a11b6145314e263053e5f8bfbfd0609d9b76747a08c7abf938e7cb17d0a94db4eee049e81af85927f7799a507fa249d89bd0d2afa2d76a1485
|
|
||||||
EBUILD ipset-6.29.ebuild 3007 SHA256 9fab38c59544a640f3abdeca4939614897ea55a0f1a5831f12f1bdd9231a318d SHA512 f202576b7e4e21490e828a9e30c9f5b6c7eabdf95e931af2acca896e4f4f05808b3c25291fe61b0d52d39e2cc4b24add13c1c2487de38af0f93cea6a4cd49107 WHIRLPOOL fa253cc0e78d42e4a65ae521f4394860bded139cdd86479ae9e62d47134994672da4569a1a6515d6d34f1ed0c36f50f6856e57fb98c23aadf075c026f5d5cd4b
|
|
||||||
MISC ChangeLog 3063 SHA256 c519c437e52c648628786f5968567286b83671980be0d23bfc14fad356605353 SHA512 f56c575dff8add928041f6c83544888f1e09d275ad0dd97544d44a3f7297a954e87d091ca2fa973328d93d65a1de513efabb817ef489983d2920f1cdb8050b83 WHIRLPOOL 645898119a1486853c3c2fa7a7e2bb4eb79813f8891ca83836bda278ac539a27375704a0b42b673f2f3bc5ff7dd33db1151bc7da6ab39e402ebf98ece1763361
|
|
||||||
MISC ChangeLog-2015 13758 SHA256 27fcbac08b65bff92d005acff99837b659b9d5b4e35b8caff074bc806c391944 SHA512 16a2bb6094b0934630108bb336838887457672f74c374316ff5450ee8af8e94432661d85c879b233f16ce751fc3d2abf86888d920d588bbfefbb7b1504f8fba1 WHIRLPOOL d2f52c40acc89740fd22475cd55c92062dc749601fb02cc813d82ac1b8369c33df8f4d0a26d1505ef78715ca7c3f08e491cbcf673be8e7b8ac4a813c203e198a
|
|
||||||
MISC metadata.xml 216 SHA256 f7475919f28a8a93ec8bd025c8f8bbab918f66d0d1737420c876f0480308fe6a SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd WHIRLPOOL 163285b60aa93e00993af659dc1e29a9eb245bd3415dd5ec75b284250596165f469028102b72fa0c344834443a44c1bbcf6272fe6a3f5211f721fc96e1c6ec16
|
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
extra_commands="save"
|
|
||||||
|
|
||||||
IPSET_SAVE=${IPSET_SAVE:-/var/lib/ipset/rules-save}
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
before iptables ip6tables
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if [ ! -f "${IPSET_SAVE}" ] ; then
|
|
||||||
eerror "Not starting ${SVCNAME}. First create some rules then run:"
|
|
||||||
eerror "/etc/init.d/${SVCNAME} save"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkconfig || return 1
|
|
||||||
ebegin "Loading ipset session"
|
|
||||||
ipset restore < "${IPSET_SAVE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
# check if there are any references to current sets
|
|
||||||
|
|
||||||
if ! ipset list | gawk '
|
|
||||||
($1 == "References:") { refcnt += $2 }
|
|
||||||
($1 == "Type:" && $2 == "list:set") { set = 1 }
|
|
||||||
(scan) { if ($0 != "") setcnt++; else { scan = 0; set = 0 } }
|
|
||||||
(set && $1 == "Members:") {scan = 1}
|
|
||||||
END { if ((refcnt - setcnt) > 0) exit 1 }
|
|
||||||
'; then
|
|
||||||
eerror "ipset is in use, can't stop"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${SAVE_ON_STOP}" = "yes" ] ; then
|
|
||||||
save || return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ebegin "Removing kernel IP sets"
|
|
||||||
ipset flush
|
|
||||||
ipset destroy
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
save() {
|
|
||||||
ebegin "Saving ipset session"
|
|
||||||
touch "${IPSET_SAVE}"
|
|
||||||
chmod 0600 "${IPSET_SAVE}"
|
|
||||||
ipset save > "${IPSET_SAVE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,96 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
extra_commands="save"
|
|
||||||
extra_started_commands="reload"
|
|
||||||
|
|
||||||
IPSET_SAVE=${IPSET_SAVE:-/var/lib/ipset/rules-save}
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
before iptables ip6tables
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if [ ! -f "${IPSET_SAVE}" ] ; then
|
|
||||||
eerror "Not starting ${SVCNAME}. First create some rules then run:"
|
|
||||||
eerror "/etc/init.d/${SVCNAME} save"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
checkconfig || return 1
|
|
||||||
ebegin "Loading ipset session"
|
|
||||||
ipset restore < "${IPSET_SAVE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
# check if there are any references to current sets
|
|
||||||
|
|
||||||
if ! ipset list | gawk '
|
|
||||||
($1 == "References:") { refcnt += $2 }
|
|
||||||
($1 == "Type:" && $2 == "list:set") { set = 1 }
|
|
||||||
(scan) { if ($0 != "") setcnt++; else { scan = 0; set = 0 } }
|
|
||||||
(set && $1 == "Members:") {scan = 1}
|
|
||||||
END { if ((refcnt - setcnt) > 0) exit 1 }
|
|
||||||
'; then
|
|
||||||
eerror "ipset is in use, can't stop"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${SAVE_ON_STOP}" = "yes" ] ; then
|
|
||||||
save || return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ebegin "Removing kernel IP sets"
|
|
||||||
ipset flush
|
|
||||||
ipset destroy
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
ebegin "Reloading ipsets"
|
|
||||||
|
|
||||||
# Loading sets from a save file is only additive (there is no
|
|
||||||
# automatic flushing or replacing). And, we can not remove sets
|
|
||||||
# that are currently used in existing iptables rules.
|
|
||||||
#
|
|
||||||
# Instead, we create new temp sets for any set that is already
|
|
||||||
# in use, and then atomically swap them into place.
|
|
||||||
#
|
|
||||||
# XXX: This does not clean out previously used ipsets that are
|
|
||||||
# not in the new saved policy--it can't, because they may still
|
|
||||||
# be referenced in the current iptables rules.
|
|
||||||
|
|
||||||
# Build a list of all currently used sets (if any).
|
|
||||||
running_ipset_list=$(ipset save | gawk '/^create/{printf "%s ",$2}')
|
|
||||||
running_ipset_list="${running_ipset_list% }"
|
|
||||||
# Build a regular expression that matches those set names.
|
|
||||||
running_ipset_list_regex="${running_ipset_list// /|}"
|
|
||||||
|
|
||||||
# Load up sets from the save file, but rename any set that already
|
|
||||||
# exists to a temporary name that we will swap later.
|
|
||||||
if ! cat ${IPSET_SAVE} | sed -r "s/^(create|add) (${running_ipset_list_regex}) /\1 \2_atomic_temp /" | ipset restore ; then
|
|
||||||
eend $? "Failed to load new ipsets"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Now for every set name that currently exists, atomically swap it
|
|
||||||
# with the temporary new one we created, and then destroy the old set.
|
|
||||||
for ipset_name in ${running_ipset_list} ; do
|
|
||||||
ipset swap ${ipset_name} ${ipset_name}_atomic_temp || eend $? "Failed to swap in new ipset $ipset_name"
|
|
||||||
ipset destroy ${ipset_name}_atomic_temp || eend $? "Failed to delete obsolete ipset ${ipset_name}_atomic_temp"
|
|
||||||
done
|
|
||||||
eend 0
|
|
||||||
}
|
|
||||||
|
|
||||||
save() {
|
|
||||||
ebegin "Saving ipset session"
|
|
||||||
touch "${IPSET_SAVE}"
|
|
||||||
chmod 0600 "${IPSET_SAVE}"
|
|
||||||
ipset save > "${IPSET_SAVE}"
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,112 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc x86"
|
|
||||||
IUSE="modules"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
check_header_patch() {
|
|
||||||
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
|
||||||
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
|
||||||
eerror " # cd ${KV_DIR}"
|
|
||||||
eerror " # patch -i ${S}/netlink.patch -p1"
|
|
||||||
eerror "You should recompile and run new kernel to avoid runtime errors."
|
|
||||||
die "Unpatched kernel"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}" \
|
|
||||||
--disable-silent-rules
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,111 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE="modules"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
check_header_patch() {
|
|
||||||
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
|
||||||
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
|
||||||
eerror " # cd ${KV_DIR}"
|
|
||||||
eerror " # patch -i ${S}/netlink.patch -p1"
|
|
||||||
eerror "You should recompile and run new kernel to avoid runtime errors."
|
|
||||||
die "Unpatched kernel"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,111 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE="modules"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
check_header_patch() {
|
|
||||||
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
|
||||||
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
|
||||||
eerror " # cd ${KV_DIR}"
|
|
||||||
eerror " # patch -i ${S}/netlink.patch -p1"
|
|
||||||
eerror "You should recompile and run new kernel to avoid runtime errors."
|
|
||||||
die "Unpatched kernel"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,111 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc x86"
|
|
||||||
IUSE="modules"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
check_header_patch() {
|
|
||||||
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
|
||||||
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
|
||||||
eerror " # cd ${KV_DIR}"
|
|
||||||
eerror " # patch -i ${S}/netlink.patch -p1"
|
|
||||||
eerror "You should recompile and run new kernel to avoid runtime errors."
|
|
||||||
die "Unpatched kernel"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,111 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE="modules"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
check_header_patch() {
|
|
||||||
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
|
||||||
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
|
||||||
eerror " # cd ${KV_DIR}"
|
|
||||||
eerror " # patch -i ${S}/netlink.patch -p1"
|
|
||||||
eerror "You should recompile and run new kernel to avoid runtime errors."
|
|
||||||
die "Unpatched kernel"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,114 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
MODULES_OPTIONAL_USE=modules
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
check_header_patch() {
|
|
||||||
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
|
||||||
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
|
||||||
eerror " # cd ${KV_DIR}"
|
|
||||||
eerror " # patch -i ${S}/netlink.patch -p1"
|
|
||||||
eerror "You should recompile and run new kernel to avoid runtime errors."
|
|
||||||
die "Unpatched kernel"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
# It does still build without NET_NS, but it may be needed in future.
|
|
||||||
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
|
||||||
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r3 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,114 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
MODULES_OPTIONAL_USE=modules
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
check_header_patch() {
|
|
||||||
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
|
||||||
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
|
||||||
eerror " # cd ${KV_DIR}"
|
|
||||||
eerror " # patch -i ${S}/netlink.patch -p1"
|
|
||||||
eerror "You should recompile and run new kernel to avoid runtime errors."
|
|
||||||
die "Unpatched kernel"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
# It does still build without NET_NS, but it may be needed in future.
|
|
||||||
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
|
||||||
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r3 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,103 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
MODULES_OPTIONAL_USE=modules
|
|
||||||
inherit autotools linux-info linux-mod
|
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
|
||||||
net-libs/libmnl"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
|
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
|
||||||
done
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
get_version
|
|
||||||
CONFIG_CHECK="NETFILTER"
|
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
|
||||||
# It does still build without NET_NS, but it may be needed in future.
|
|
||||||
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
|
||||||
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
|
||||||
|
|
||||||
build_modules=0
|
|
||||||
if use modules; then
|
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
|
||||||
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
|
||||||
eerror "Please either build ipset with modules USE flag disabled"
|
|
||||||
eerror "or rebuild kernel without IP_SET support and make sure"
|
|
||||||
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
|
||||||
die "USE=modules and in-kernel ipset support detected."
|
|
||||||
else
|
|
||||||
einfo "Modular kernel detected. Gonna build kernel modules..."
|
|
||||||
build_modules=1
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
|
||||||
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
|
||||||
die "Nonmodular kernel detected, will not build kernel modules"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
#src_prepare() {
|
|
||||||
# eautoreconf
|
|
||||||
#}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_with modules kmod) \
|
|
||||||
--disable-static \
|
|
||||||
--with-maxsets=${IP_NF_SET_MAX} \
|
|
||||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
|
||||||
--with-ksource="${KV_DIR}" \
|
|
||||||
--with-kbuild="${KV_OUT_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "Building userspace"
|
|
||||||
emake
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Building kernel modules"
|
|
||||||
set_arch_to_kernel
|
|
||||||
emake modules
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einfo "Installing userspace"
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r3 ${PN}
|
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
|
||||||
keepdir /var/lib/ipset
|
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
|
||||||
einfo "Installing kernel modules"
|
|
||||||
linux-mod_src_install
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="7"
|
EAPI="7"
|
||||||
@ -6,17 +6,17 @@ MODULES_OPTIONAL_USE=modules
|
|||||||
inherit autotools linux-info linux-mod systemd
|
inherit autotools linux-info linux-mod systemd
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
HOMEPAGE="https://ipset.netfilter.org/"
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
SRC_URI="https://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~x86"
|
KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~riscv x86"
|
||||||
|
|
||||||
BDEPEND="virtual/pkgconfig"
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
net-libs/libmnl"
|
net-libs/libmnl:="
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
@ -29,7 +29,8 @@ IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
|||||||
BUILD_TARGETS="modules"
|
BUILD_TARGETS="modules"
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
|
MODULE_NAMES+=" em_ipset(kernel/net/sched/:${S}/kernel/net/sched/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,mac,mark,port{,ip,net}},mac,net{,port{,net},iface,net}},_list_set}; do
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -37,6 +38,8 @@ pkg_setup() {
|
|||||||
get_version
|
get_version
|
||||||
CONFIG_CHECK="NETFILTER"
|
CONFIG_CHECK="NETFILTER"
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
CONFIG_CHECK+=" NETFILTER_NETLINK"
|
||||||
|
ERROR_NETFILTER_NETLINK="ipset requires NETFILTER_NETLINK support in your kernel."
|
||||||
# It does still build without NET_NS, but it may be needed in future.
|
# It does still build without NET_NS, but it may be needed in future.
|
||||||
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
||||||
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
@ -1,32 +1,36 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI="5"
|
EAPI="7"
|
||||||
MODULES_OPTIONAL_USE=modules
|
MODULES_OPTIONAL_USE=modules
|
||||||
inherit autotools linux-info linux-mod
|
inherit autotools linux-info linux-mod systemd
|
||||||
|
|
||||||
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
DESCRIPTION="IPset tool for iptables, successor to ippool"
|
||||||
HOMEPAGE="http://ipset.netfilter.org/"
|
HOMEPAGE="https://ipset.netfilter.org/"
|
||||||
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
SRC_URI="https://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||||
|
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
RDEPEND=">=net-firewall/iptables-1.4.7
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
net-libs/libmnl"
|
net-libs/libmnl:="
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
DOCS=( ChangeLog INSTALL README UPGRADE )
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
# configurable from outside, e.g. /etc/make.conf
|
PATCHES=( "${FILESDIR}"/${PN}-7.4-fix-pkgconfig-dir.patch )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/portage/make.conf
|
||||||
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
BUILD_TARGETS="modules"
|
BUILD_TARGETS="modules"
|
||||||
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
|
MODULE_NAMES+=" em_ipset(kernel/net/sched/:${S}/kernel/net/sched/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,mac,mark,port{,ip,net}},mac,net{,port{,net},iface,net}},_list_set}; do
|
||||||
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -34,13 +38,16 @@ pkg_setup() {
|
|||||||
get_version
|
get_version
|
||||||
CONFIG_CHECK="NETFILTER"
|
CONFIG_CHECK="NETFILTER"
|
||||||
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
CONFIG_CHECK+=" NETFILTER_NETLINK"
|
||||||
|
ERROR_NETFILTER_NETLINK="ipset requires NETFILTER_NETLINK support in your kernel."
|
||||||
# It does still build without NET_NS, but it may be needed in future.
|
# It does still build without NET_NS, but it may be needed in future.
|
||||||
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
||||||
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
||||||
|
CONFIG_CHECK+=" !PAX_CONSTIFY_PLUGIN"
|
||||||
|
ERROR_PAX_CONSTIFY_PLUGIN="ipset contains constified variables (#614896)"
|
||||||
|
|
||||||
build_modules=0
|
build_modules=0
|
||||||
if use modules; then
|
if use modules; then
|
||||||
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
|
||||||
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
if linux_chkconfig_present "IP_NF_SET" || \
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
linux_chkconfig_present "IP_SET"; then #274577
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
@ -62,9 +69,11 @@ pkg_setup() {
|
|||||||
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
}
|
}
|
||||||
|
|
||||||
#src_prepare() {
|
src_prepare() {
|
||||||
# eautoreconf
|
default
|
||||||
#}
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
econf \
|
econf \
|
||||||
@ -90,10 +99,12 @@ src_compile() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
einfo "Installing userspace"
|
einfo "Installing userspace"
|
||||||
default
|
default
|
||||||
prune_libtool_files
|
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/ipset.initd-r4 ${PN}
|
newinitd "${FILESDIR}"/ipset.initd-r4 ${PN}
|
||||||
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
systemd_newunit "${FILESDIR}"/ipset.systemd ${PN}.service
|
||||||
keepdir /var/lib/ipset
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
if [[ ${build_modules} -eq 1 ]]; then
|
if [[ ${build_modules} -eq 1 ]]; then
|
@ -1,7 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<maintainer type="project">
|
||||||
<email>robbat2@gentoo.org</email>
|
<email>base-system@gentoo.org</email>
|
||||||
</maintainer>
|
<name>Gentoo Base System</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>robbat2@gentoo.org</email>
|
||||||
|
<name>Robin H. Johnson</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user