From 2089bfa2602a601b517be7d6304036ae558d9d2e Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 21 Jan 2015 12:58:18 -0800 Subject: [PATCH] bump(net-firewall/ebtables): sync with upstream --- .../md5-cache/net-firewall/ebtables-2.0.10.2 | 11 + .../md5-cache/net-firewall/ebtables-2.0.10.4 | 11 + .../net-firewall/ebtables-2.0.10.4-r1 | 11 + .../net-firewall/ebtables-2.0.9.2-r1 | 11 + .../net-firewall/ebtables-2.0.9.2-r2 | 11 + .../net-firewall/ebtables/ChangeLog | 239 ++++++++++++++++++ .../net-firewall/ebtables/Manifest | 26 ++ .../ebtables/ebtables-2.0.10.2.ebuild | 68 +++++ .../ebtables/ebtables-2.0.10.4-r1.ebuild | 68 +++++ .../ebtables/ebtables-2.0.10.4.ebuild | 68 +++++ .../ebtables/ebtables-2.0.9.2-r1.ebuild | 65 +++++ .../ebtables/ebtables-2.0.9.2-r2.ebuild | 71 ++++++ .../files/ebtables-2.0.8.1-ebt-save.diff | 31 +++ ...les-v2.0.8-2-ethertype-DESTDIR-mkdir.patch | 40 +++ .../files/ebtables-v2.0.9-2-LDFLAGS.diff | 63 +++++ .../files/ebtables-v2.0.9-2-compilation.patch | 35 +++ .../ebtables/files/ebtables.confd-r1 | 11 + .../ebtables/files/ebtables.initd-r1 | 102 ++++++++ .../net-firewall/ebtables/metadata.xml | 5 + 19 files changed, 947 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.2 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4-r1 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r1 create mode 100644 sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r2 create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ChangeLog create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-2.0.8.1-ebt-save.diff create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.8-2-ethertype-DESTDIR-mkdir.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-LDFLAGS.diff create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-compilation.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.confd-r1 create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.initd-r1 create mode 100644 sdk_container/src/third_party/portage-stable/net-firewall/ebtables/metadata.xml diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.2 new file mode 100644 index 0000000000..46157e8e9f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.2 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile install prepare setup +DESCRIPTION=Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting +EAPI=4 +HOMEPAGE=http://ebtables.sourceforge.net/ +IUSE=static +KEYWORDS=~amd64 ~ppc ~x86 +LICENSE=GPL-2 +SLOT=0 +SRC_URI=mirror://sourceforge/ebtables/ebtables-v2.0.10-2.tar.gz +_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 flag-o-matic eda1c0b5ba85b3eeb555a071d69eb819 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=adae4240cdcd03d0cb01eb0b69331ef3 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4 new file mode 100644 index 0000000000..7197a2c42b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile install prepare setup +DESCRIPTION=Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting +EAPI=4 +HOMEPAGE=http://ebtables.sourceforge.net/ +IUSE=static +KEYWORDS=amd64 ppc x86 +LICENSE=GPL-2 +SLOT=0 +SRC_URI=mirror://sourceforge/ebtables/ebtables-v2.0.10-4.tar.gz +_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 flag-o-matic eda1c0b5ba85b3eeb555a071d69eb819 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=657b9a71dd63dc8f0769358e439e0d4a diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4-r1 new file mode 100644 index 0000000000..604080d9f9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.10.4-r1 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile install prepare setup +DESCRIPTION=Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting +EAPI=4 +HOMEPAGE=http://ebtables.sourceforge.net/ +IUSE=static +KEYWORDS=~amd64 ~ppc ~x86 +LICENSE=GPL-2 +SLOT=0 +SRC_URI=mirror://sourceforge/ebtables/ebtables-v2.0.10-4.tar.gz +_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 flag-o-matic eda1c0b5ba85b3eeb555a071d69eb819 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=fe35b4d6d642a359fba29df2583e9c8c diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r1 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r1 new file mode 100644 index 0000000000..1cc9514348 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r1 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile install prepare setup +DESCRIPTION=Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting +EAPI=2 +HOMEPAGE=http://ebtables.sourceforge.net/ +IUSE=static +KEYWORDS=amd64 ppc x86 +LICENSE=GPL-2 +SLOT=0 +SRC_URI=mirror://sourceforge/ebtables/ebtables-v2.0.9-2.tar.gz +_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 flag-o-matic eda1c0b5ba85b3eeb555a071d69eb819 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=eea08519504fa63a650ce54e70a90843 diff --git a/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r2 b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r2 new file mode 100644 index 0000000000..95854cd6af --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ebtables-2.0.9.2-r2 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile install prepare setup +DESCRIPTION=Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting +EAPI=4 +HOMEPAGE=http://ebtables.sourceforge.net/ +IUSE=static +KEYWORDS=amd64 ppc x86 +LICENSE=GPL-2 +SLOT=0 +SRC_URI=mirror://sourceforge/ebtables/ebtables-v2.0.9-2.tar.gz +_eclasses_=eutils 6faef4c127028ccbba3a11400d24ae34 flag-o-matic eda1c0b5ba85b3eeb555a071d69eb819 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0dfbfa13f57c6184f4728d12ac002aac versionator cd0bcdb170807e4a1984115e9d53a26f +_md5_=3721e12c20d8ff2259cf4eb16431432d diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ChangeLog b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ChangeLog new file mode 100644 index 0000000000..80caf57c90 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ChangeLog @@ -0,0 +1,239 @@ +# ChangeLog for net-firewall/ebtables +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.52 2014/08/10 20:55:27 slyfox Exp $ + + 10 Aug 2014; Sergei Trofimovich ebtables-2.0.10.2.ebuild, + ebtables-2.0.10.4-r1.ebuild, ebtables-2.0.10.4.ebuild, + ebtables-2.0.9.2-r1.ebuild, ebtables-2.0.9.2-r2.ebuild: + QA: drop trailing '.' from DESCRIPTION + + 16 Feb 2013; Pacho Ramos metadata.xml: + Cleanup due bug #96436 + +*ebtables-2.0.10.4-r1 (19 Dec 2012) + + 19 Dec 2012; +ebtables-2.0.10.4-r1.ebuild, + files/ebtables.initd-r1: + non-maint: fix deprecated options in initscript thanks to Vincent Brillault + + + 14 Jun 2012; Michael Weber ebtables-2.0.10.4.ebuild: + ppc stable (bug 404265) + + 13 Jun 2012; Jeff Horelick ebtables-2.0.10.4.ebuild: + marked x86 per bug 404265 + + 11 Jun 2012; Agostino Sarubbo ebtables-2.0.10.4.ebuild: + Stable for amd64, wrt bug #404265 + +*ebtables-2.0.10.4 (17 Dec 2011) + + 17 Dec 2011; Peter Volkov +ebtables-2.0.10.4.ebuild: + Version bump. + + 20 Oct 2011; Brent Baude ebtables-2.0.9.2-r2.ebuild: + Marking ebtables-2.0.9.2-r2 ppc for bug 373291 + +*ebtables-2.0.10.2 (13 Aug 2011) + + 13 Aug 2011; Peter Volkov +ebtables-2.0.10.2.ebuild: + Version bump. + + 15 Jul 2011; Markus Meier ebtables-2.0.9.2-r2.ebuild: + x86 stable, bug #373291 + + 30 Jun 2011; Markos Chandras + ebtables-2.0.9.2-r2.ebuild: + Stable on amd64 wrt bug #373291 + + 22 Jun 2011; Peter Volkov ebtables-2.0.9.2-r2.ebuild, + +files/ebtables-v2.0.9-2-compilation.patch: + Fix build issue reported in bug #370953 by Bertrand Jacquin. Added + -Wno-strict-aliasing to avoid QA warnings (code is Ok). + +*ebtables-2.0.9.2-r2 (19 May 2011) + + 19 May 2011; Peter Volkov + -files/ebtables-v2.0.9-1-LDFLAGS.diff, -ebtables-2.0.9.1.ebuild, + -ebtables-2.0.9.1-r1.ebuild, -ebtables-2.0.9.2.ebuild, + +ebtables-2.0.9.2-r2.ebuild, -files/ebtables-v2.0.8-2-LDFLAGS.diff, + files/ebtables-v2.0.9-2-LDFLAGS.diff, -files/ebtables.confd, + -files/ebtables.initd: + Install /etc/ethertypes even with USE=static, bug #367379 thank Dirk-Lüder + Kreie for report. Respect LDFLAGS when USE=static. Drop old. + + 11 Jul 2010; Markus Meier ebtables-2.0.9.2-r1.ebuild: + x86 stable, bug #323571 + + 26 Jun 2010; ebtables-2.0.9.2-r1.ebuild: + ppc stable #323571 + + 24 Jun 2010; Pacho Ramos ebtables-2.0.9.2-r1.ebuild: + stable amd64, bug 323571 + +*ebtables-2.0.9.2-r1 (09 May 2010) + + 09 May 2010; Peter Volkov +ebtables-2.0.9.2-r1.ebuild, + +files/ebtables.confd-r1, +files/ebtables.initd-r1: + Fix ebtables tables detection, bug #314529, thank Veovis for report and + suggested fix. + +*ebtables-2.0.9.2 (16 Mar 2010) + + 16 Mar 2010; Peter Volkov +ebtables-2.0.9.2.ebuild, + +files/ebtables-v2.0.9-2-LDFLAGS.diff: + Version bump, #309479 thank hitachi for report. + + 06 Dec 2009; Diego E. Pettenò + ebtables-2.0.9.1-r1.ebuild: + Further fix typo, this tiem it applies fine. + + 05 Dec 2009; Diego E. Pettenò + ebtables-2.0.9.1-r1.ebuild: + Fix typo. + +*ebtables-2.0.9.1-r1 (05 Dec 2009) + + 05 Dec 2009; Peter Volkov -ebtables-2.0.8.2-r2.ebuild, + +ebtables-2.0.9.1-r1.ebuild: + Added static USE flag, bug #275460, thank Joakim Tjernlund for report. + Drop old. + + 08 Nov 2009; nixnut ebtables-2.0.9.1.ebuild: + ppc stable #288289 + + 25 Oct 2009; Markus Meier ebtables-2.0.9.1.ebuild: + amd64/x86 stable, bug #288289 + + 04 Oct 2009; Samuli Suominen + ebtables-2.0.8.2-r2.ebuild, ebtables-2.0.9.1.ebuild: + Replace -Wl,--no-as-needed with function from flag-o-matic eclass. + +*ebtables-2.0.9.1 (22 Jun 2009) + + 22 Jun 2009; Peter Volkov + +files/ebtables-v2.0.9-1-LDFLAGS.diff, +ebtables-2.0.9.1.ebuild: + Version bump, fixes 'invalid size 8 != 4', bug #273693 reported by Joakim + Tjernlund. + + 04 Jan 2009; Markus Meier ebtables-2.0.8.2-r2.ebuild: + amd64/x86 stable, bug #252658 + + 02 Jan 2009; Tobias Scherbaum + ebtables-2.0.8.2-r2.ebuild: + ppc stable, bug #252658 + +*ebtables-2.0.8.2-r2 (13 Oct 2008) + + 13 Oct 2008; Peter Volkov -ebtables-2.0.8.2-r1.ebuild, + +ebtables-2.0.8.2-r2.ebuild: + Respect CFLAGS, bug #240890, thank Diego Pettenò for report. + +*ebtables-2.0.8.2-r1 (13 Aug 2008) + + 13 Aug 2008; Peter Volkov + +files/ebtables-v2.0.8-2-LDFLAGS.diff, + +files/ebtables-v2.0.8-2-ethertype-DESTDIR-mkdir.patch, + +ebtables-2.0.8.2-r1.ebuild: + Fixed bug #233190, thank Suertreus for report. Also make ebtables respect + LDFLAGS. + + 11 May 2008; Peter Volkov + -files/ebtables-2.0.8.1-fix-textrel.patch, + -files/ebtables-2.0.8.1-scripts-build.patch, -ebtables-2.0.8.1.ebuild, + ebtables-2.0.8.2.ebuild: + Removed useless postinst message, bug #221031 reported by Denilson. + Removed old ebuild. + + 02 Nov 2007; Lars Weiler ebtables-2.0.8.2.ebuild: + stable ppc, bug #197750 + + 02 Nov 2007; Steve Dibb ebtables-2.0.8.2.ebuild: + amd64 stable + + 01 Nov 2007; Dawid Węgliński ebtables-2.0.8.2.ebuild: + Stable on x86 (bug #197750) + +*ebtables-2.0.8.2 (28 Sep 2007) + + 28 Sep 2007; -files/ebtables-2.0.6-gcc34.patch, + -files/ebtables-2.0.6-gcc4.patch, +files/ebtables-2.0.8.1-ebt-save.diff, + -files/README.gentoo.init, files/ebtables.confd, files/ebtables.initd, + -ebtables-2.0.6-r1.ebuild, -ebtables-2.0.8.1-r1.ebuild, + +ebtables-2.0.8.2.ebuild: + Version bump. Finally init script works, thank Lech Perczak , bug #189315. Remove old. + + 10 Sep 2007; Markus Meier ebtables-2.0.8.1.ebuild: + stable on x86, wrt bug #191127 + + 05 Sep 2007; Christoph Mende ebtables-2.0.8.1.ebuild: + Stable on amd64 + + 03 Sep 2007; Tobias Scherbaum + ebtables-2.0.8.1.ebuild: + ppc stable, bug #191127 + +*ebtables-2.0.8.1-r1 (02 Sep 2007) + + 02 Sep 2007; +files/README.gentoo.init, + +files/ebtables.confd, +files/ebtables.initd, -ebtables-2.0.6.ebuild, + +ebtables-2.0.8.1-r1.ebuild: + Added init scripts into /usr/share/doc. See README.gentoo.init and bug + #189315 for details. Thank Lech Perczak for + report. + +*ebtables-2.0.8.1 (12 Aug 2007) + + 12 Aug 2007; +files/ebtables-2.0.8.1-fix-textrel.patch, + +files/ebtables-2.0.8.1-scripts-build.patch, metadata.xml, + +ebtables-2.0.8.1.ebuild: + Version bump. Fixed bug #159371 and bug #167769. Thank Jochen Schlick, + Olivier Huber, Richard Benjamin Voigt and others mentioned in that bugs. + + 16 Jul 2007; metadata.xml: + Grabed from solar. + + 25 Aug 2006; Chris Gianelloni + ebtables-2.0.6-r1.ebuild: + Stable on amd64 and x86 wrt bug #142194. + + 31 Jul 2006; Tobias Scherbaum + ebtables-2.0.6-r1.ebuild: + ppc stable, bug #142194 + +*ebtables-2.0.6-r1 (19 Jan 2006) + + 19 Jan 2006; +files/ebtables-2.0.6-gcc4.patch, + +ebtables-2.0.6-r1.ebuild: + - ebtables-2.0.6 does not build with gcc-4.x; Bug #119489 + + 07 Jun 2005; ebtables-2.0.6.ebuild: + - ebtables used the host compiler vs the cross compiler while merging. We use + toolchain-funcs now + + 31 Dec 2004; Sven Wegener ebtables-2.0.6.ebuild: + Moved inherit to the top. Don't use variables in HOMEPAGE. Use MY_P. + + 11 Dec 2004; ebtables-2.0.6.ebuild: + stable on x86 + + 24 Jul 2004; ebtables-2.0.6.ebuild: + update for ebtables -p support. bug 58116. Reported by Andrej Kacian + + 19 Jul 2004; Travis Tilley + +files/ebtables-2.0.6-gcc34.patch, ebtables-2.0.6.ebuild: + added 'inherit eutils', fixed compiling with gcc 3.4, and added ~amd64 keyword + + 01 Jul 2004; Jeremy Huddleston + ebtables-2.0.6.ebuild: + virtual/glibc -> virtual/libc + + 19 Jun 2004; David Holm ebtables-2.0.6.ebuild: + Added to ~ppc. + +*ebtables-2.0.6 (28 Feb 2004) + + 28 Feb 2004; ebtables-2.0.6.ebuild, metadata.xml: + initial import into portage of the ebtable utility that enables basic ethernet + frame filtering on a bridge, MAC NAT and brouting. diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/Manifest b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/Manifest new file mode 100644 index 0000000000..8c75c5a21f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX ebtables-2.0.8.1-ebt-save.diff 1089 SHA256 b4d7022a616152ca439d2b09f14fda8a3ef479b823c2da44eb0e9e22b256be90 SHA512 904cb936ca6fc39dc4fa6e287ef70df9e1dacbd9dc464f839f25213f5525d4020f819dd893b784c5f611f1185c05ffbaa49423afcd6db2ef328950408a07e6a7 WHIRLPOOL df0664bc20dcd36bf640c8c88dea1e7d17b55c686403bceb77f5416b95ce0e2fc3292755e5986822b794628fc31aff25f7dab4d70d742fc93e78bac9fcdea4b2 +AUX ebtables-v2.0.8-2-ethertype-DESTDIR-mkdir.patch 1619 SHA256 56905064c63c582240da2bc21d03ba66fc28716089ba743396fa67e9ea78b7ca SHA512 d7894d354ab510f1115f6884451d60fdf0b48a0ae29f1a4b97c6ff9825ce94a21483e50c2cee2f4317a455fb26b3d5927ac410c3f75ac298586e8d6bc3c070ae WHIRLPOOL 34d88692a32d6ef4bf25211003756b2a9be0505134f5bbec98b5442d70a18ac3a97ff462769c2aa0a0fdf35168c64a88b1391a2e0ce79ad247d8b8ffd4d441f0 +AUX ebtables-v2.0.9-2-LDFLAGS.diff 2349 SHA256 55a236e2d10d2ef1dd699d94c6079acd9ae6447b9a462feb3071cdbd7611231b SHA512 b458662d58ec222999605c25c468f8aa4663c6e437cf3cd27634e46e6d9a8d2d9e5a3de65a0d36b3824cbb6b8755efd92a00a3092e932ee004b6c620a8f4e849 WHIRLPOOL 0edd15a4a793fa47007b55056bab3e6de703c803c564277bed2ac52dc586d4736765761320369ba2481fda6a992b180061f0a8de08fefebf1f301cacd477d14f +AUX ebtables-v2.0.9-2-compilation.patch 1495 SHA256 8f0a3e8dc3035fa875a11bebe3f697019f6979225f8779ba58ab73cfcfd871c4 SHA512 c0b2a8e919c015f58d33b4b8d5397dc2a722b930bfc3bfdd152f129359d5cd037a3cf50909328877cb664f009e22f745c4a06bc0960e08d50cee426af25a1d6c WHIRLPOOL 4ae2aae85a330f6a148aef12ad9384a5dfaabd1f1bcaa2eedb29d2c8a4e5722ed7b503cb381ee7ffff9b794ad1e6ddda710314f97e463fcfabdd5ff052a44243 +AUX ebtables.confd-r1 288 SHA256 c05a6c1ba6add3881068584074681b04bfb2ad43284d7bdd67f47f3da842de58 SHA512 088308eba077fcec35299c8aaad0492024173504a361c2ba7e29dce106888a78c72818a791f3d3655aed3f6df26a3319c42e2b2c54760cdbad036d46b89b97f3 WHIRLPOOL f6353fcc69beff674227544b36c3e2289f094758b02087d57b44fd0a73d7aa47500592404125bd2570ac2fa0da74aa18138e80c292ff5b21ee1ede13fa1125c4 +AUX ebtables.initd-r1 2109 SHA256 b5436fea0bf5e282a37d92504c8102122446490e6b0be907570fb5ea7cec9274 SHA512 9d6779bd864b1a1dcc414e8a946afe30ddff0298e59c3c31f0930b3d263f9217a640e156c5cbe271be5b2a95cadd7ef3c1aee8b79186ef35b08ba8fc17ac007d WHIRLPOOL ebfe5bd2a5dc1778a5283e70773b4c657da298dd04b5b5d2f845f5a4c634cd2dcf6bd529936d8a4c8b2a4614c05d5be7175551a672bd087eeffdeec136a58b38 +DIST ebtables-v2.0.10-2.tar.gz 104435 SHA256 cc26cc0646c0f6ce6ddd2f29f96d7399d6938f7503f7a8443e959c8ea2d66b61 +DIST ebtables-v2.0.10-4.tar.gz 103764 SHA256 dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d SHA512 a6832453812eaede3fcbb5b4cab5902ea1ea752a80a259eed276a01b61e2afaa6cf07d3d023d86a883f9a02505aecc44a1c6e0d27b3a61f341002e4c051cd60a WHIRLPOOL 5a1e0703e3fd5c79e149824e789646d042660081fb8a9f301fa4cc2716e84fbf842216d5b6b4c8c33de3b6949bfbfcaa2eb7293fe7afa71a2305de8f70abd57d +DIST ebtables-v2.0.9-2.tar.gz 101529 SHA256 98855f644d43c615a8e663197978e49c95642f46f2bbf8e6f3213af87f8ad6a3 +EBUILD ebtables-2.0.10.2.ebuild 1990 SHA256 b2eb091b6dadfcfbe9fa2a583e8191c92e6fbebde8e940b7f042e9672c02ea6d SHA512 d7ec1cb7f879f2ac949657f785b5badbadae65408b7260044d9dd8ebca8d085597adc0cd0769c534b8f40da40226f12329d61934d6c77762e1c5fd84ee125a47 WHIRLPOOL 8eb56ef6adb7974129cb963873afb31e2913a740547fd068ad68b638d165ee1c9dd1ee3a6e7519c035e066707f43473b56a4c8c89648dab0b9e62490c6ab9d64 +EBUILD ebtables-2.0.10.4-r1.ebuild 1994 SHA256 bea288286037265d4c2c7ac3214f3aeef55e21923b41be4825ff56cd0ed75bc5 SHA512 8623e485e146a1b2e3abb8a1c5aa6de3fe1854b2e2f17bcdb311ab5163ea07b6abebb0b2cd370bef32f841c2879dbcb6e2b29f332e831de2545b926fdbe35998 WHIRLPOOL 7603da6ac38f4ef406293347855f2a8de44b7fcb75857c995ad131fab5633798b1742e547a2f86a9cedc10a5658cbbd9ad2b2c530a9c756095fb6708cbd6366f +EBUILD ebtables-2.0.10.4.ebuild 1988 SHA256 c65d4806c320541d264781883591ac83a709b6e48d6be271734eded5817eab30 SHA512 34bd9e0fe6178167e2d383e2701fe4596ce22e4e15deedb26e29830af12a49a8736f2c60480d954efa2c6ebb9241e2e8e9de2a9c106f76a07a56aaa5bb35525c WHIRLPOOL 9ae167dea0186855701baf7e8e734b74bd075dc8e5470bcb39044b97b07a4be59b0938296e065be8286f959d73dec0fc4184e834b6d893fb935fe60efbf0b64f +EBUILD ebtables-2.0.9.2-r1.ebuild 1958 SHA256 b6d516fb8adbfda642fea4abe95421fb7fae70b7b95236d961a25c4a90657ba0 SHA512 498ef955753389329776f1b32fb7c1c2feaf9b6a1cbf93af3639a7acb7b4024aa615d9aff8d0ccc9343ce86c4cf96295399ebedc4e9308417198c81d6ed08e24 WHIRLPOOL f95a43906abae3d749866fe1ed662925e50480099133d78584bf1729e087bf22f915ba65a90ca6d8bc9d555f635933f8fb081a0f3a19b478261dc92f4f265b31 +EBUILD ebtables-2.0.9.2-r2.ebuild 2169 SHA256 cd04c23c54e1051539ebaefb3205a2268e460c8b6274f71191901d223ba6b98c SHA512 e542a86bb0956850983dc017c7cce081d1719fbda5d9cdb674ae8a9e932894cf225061941a31152e85f2e641d2be67ec4bcdf0350e3ee307f9f08a17e7c41d67 WHIRLPOOL f2668ecbf4ab2c07790cb047fb9392ae4a020bb261397c68dd3062f8ce1e539b45b0053a480a45ce7d125d47db31609a6c0f4acab460587ee678f1e6e7a42f37 +MISC ChangeLog 8649 SHA256 c289cc7bd8886998d70f6f56d708f52035911706c30952dd9abd9240c3d88253 SHA512 c3e4d32b2fc6483f47b00096e00ae5d403ff0646b30ddb561ce43105a1b8d7aeac4343550d466d6b8ef106bf99b0cdaab3507f1f660d051e6cdc99756038ed05 WHIRLPOOL eb3c305a6f9377e7bcfede764abd96ab61498787d33d38bab992bc054891e7cea96904c118c370aea557a4dd41dbd8d6f95563e862e2a88aaed767c3cbc3b140 +MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlPn3EAACgkQcaHudmEf86pJGgCfTyWuSP/fQP7eGuZLzcAoLYd8 +x30AniF89i/Eviq9FFbnGYDsKJOWCnfQ +=smaZ +-----END PGP SIGNATURE----- diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.2.ebuild b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.2.ebuild new file mode 100644 index 0000000000..020d43e10f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.10.2.ebuild,v 1.2 2014/08/10 20:55:27 slyfox Exp $ + +EAPI="4" + +inherit versionator eutils toolchain-funcs multilib flag-o-matic + +MY_PV=$(replace_version_separator 3 '-' ) +MY_P=${PN}-v${MY_PV} + +DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting" +HOMEPAGE="http://ebtables.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static" +LICENSE="GPL-2" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use static; then + ewarn "You've chosen static build which is useful for embedded devices." + ewarn "It has no init script. Make sure that's really what you want." + fi +} + +src_prepare() { + # Enhance ebtables-save to take table names as parameters bug #189315 + epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff" + + sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \ + -e "s,^BINDIR:=.*,BINDIR:=/sbin," \ + -e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \ + -e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \ + -e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile +} + +src_compile() { + # This package uses _init functions to initialise extensions. With + # --as-needed this will not work. + append-ldflags $(no-as-needed) + # This package correctly aliases pointers, but gcc is unable to know that: + # unsigned char ip[4]; + # if (*((uint32_t*)ip) == 0) { + append-cflags -Wno-strict-aliasing + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + $(use static && echo static) +} + +src_install() { + if ! use static; then + make DESTDIR="${D}" install + keepdir /var/lib/ebtables/ + newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables + newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables + else + into / + newsbin static ebtables + insinto /etc + doins ethertypes + fi + dodoc ChangeLog THANKS || die +} diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild new file mode 100644 index 0000000000..0f3ea40f21 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild,v 1.2 2014/08/10 20:55:27 slyfox Exp $ + +EAPI="4" + +inherit versionator eutils toolchain-funcs multilib flag-o-matic + +MY_PV=$(replace_version_separator 3 '-' ) +MY_P=${PN}-v${MY_PV} + +DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting" +HOMEPAGE="http://ebtables.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="static" +LICENSE="GPL-2" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use static; then + ewarn "You've chosen static build which is useful for embedded devices." + ewarn "It has no init script. Make sure that's really what you want." + fi +} + +src_prepare() { + # Enhance ebtables-save to take table names as parameters bug #189315 + epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff" + + sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \ + -e "s,^BINDIR:=.*,BINDIR:=/sbin," \ + -e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \ + -e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \ + -e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile +} + +src_compile() { + # This package uses _init functions to initialise extensions. With + # --as-needed this will not work. + append-ldflags $(no-as-needed) + # This package correctly aliases pointers, but gcc is unable to know that: + # unsigned char ip[4]; + # if (*((uint32_t*)ip) == 0) { + #append-cflags -Wno-strict-aliasing + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + $(use static && echo static) +} + +src_install() { + if ! use static; then + make DESTDIR="${D}" install + keepdir /var/lib/ebtables/ + newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables + newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables + else + into / + newsbin static ebtables + insinto /etc + doins ethertypes + fi + dodoc ChangeLog THANKS || die +} diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4.ebuild b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4.ebuild new file mode 100644 index 0000000000..8bcea18b83 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.10.4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.10.4.ebuild,v 1.5 2014/08/10 20:55:27 slyfox Exp $ + +EAPI="4" + +inherit versionator eutils toolchain-funcs multilib flag-o-matic + +MY_PV=$(replace_version_separator 3 '-' ) +MY_P=${PN}-v${MY_PV} + +DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting" +HOMEPAGE="http://ebtables.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +KEYWORDS="amd64 ppc x86" +IUSE="static" +LICENSE="GPL-2" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use static; then + ewarn "You've chosen static build which is useful for embedded devices." + ewarn "It has no init script. Make sure that's really what you want." + fi +} + +src_prepare() { + # Enhance ebtables-save to take table names as parameters bug #189315 + epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff" + + sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \ + -e "s,^BINDIR:=.*,BINDIR:=/sbin," \ + -e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \ + -e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \ + -e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile +} + +src_compile() { + # This package uses _init functions to initialise extensions. With + # --as-needed this will not work. + append-ldflags $(no-as-needed) + # This package correctly aliases pointers, but gcc is unable to know that: + # unsigned char ip[4]; + # if (*((uint32_t*)ip) == 0) { + #append-cflags -Wno-strict-aliasing + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + $(use static && echo static) +} + +src_install() { + if ! use static; then + make DESTDIR="${D}" install + keepdir /var/lib/ebtables/ + newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables + newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables + else + into / + newsbin static ebtables + insinto /etc + doins ethertypes + fi + dodoc ChangeLog THANKS || die +} diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r1.ebuild b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r1.ebuild new file mode 100644 index 0000000000..64474d0aa3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.9.2-r1.ebuild,v 1.5 2014/08/10 20:55:27 slyfox Exp $ + +EAPI="2" + +inherit versionator eutils toolchain-funcs multilib flag-o-matic + +MY_PV=$(replace_version_separator 3 '-' ) +MY_P=${PN}-v${MY_PV} + +DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting" +HOMEPAGE="http://ebtables.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +KEYWORDS="amd64 ppc x86" +IUSE="static" +LICENSE="GPL-2" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use static; then + ewarn "You've chosen static build which is useful for embedded devices." + ewarn "It has no init script. Make sure that's really what you want." + fi +} + +src_prepare() { + # Enhance ebtables-save to take table names as parameters bug #189315 + epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff" + epatch "${FILESDIR}/${PN}-v2.0.9-2-LDFLAGS.diff" + epatch "${FILESDIR}/${PN}-v2.0.8-2-ethertype-DESTDIR-mkdir.patch" + + sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \ + -e "s,^BINDIR:=.*,BINDIR:=/sbin," \ + -e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \ + -e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \ + -e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile +} + +src_compile() { + # This package uses _init functions to initialise extensions. With + # --as-needed this will not work. + append-ldflags $(no-as-needed) + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + $(use static && echo static) \ + || die "emake failed" +} + +src_install() { + if ! use static; then + make DESTDIR="${D}" install || die + keepdir /var/lib/ebtables/ + newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables || die + newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables || die + else + into / + newsbin static ebtables || die + fi + dodoc ChangeLog THANKS || die +} diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r2.ebuild b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r2.ebuild new file mode 100644 index 0000000000..34056c989f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/ebtables-2.0.9.2-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.9.2-r2.ebuild,v 1.6 2014/08/10 20:55:27 slyfox Exp $ + +EAPI="4" + +inherit versionator eutils toolchain-funcs multilib flag-o-matic + +MY_PV=$(replace_version_separator 3 '-' ) +MY_P=${PN}-v${MY_PV} + +DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting" +HOMEPAGE="http://ebtables.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +KEYWORDS="amd64 ppc x86" +IUSE="static" +LICENSE="GPL-2" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use static; then + ewarn "You've chosen static build which is useful for embedded devices." + ewarn "It has no init script. Make sure that's really what you want." + fi +} + +src_prepare() { + # Enhance ebtables-save to take table names as parameters bug #189315 + epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff" + epatch "${FILESDIR}/${PN}-v2.0.9-2-LDFLAGS.diff" + epatch "${FILESDIR}/${PN}-v2.0.8-2-ethertype-DESTDIR-mkdir.patch" + epatch "${FILESDIR}/${PN}-v2.0.9-2-compilation.patch" #370953 + + sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \ + -e "s,^BINDIR:=.*,BINDIR:=/sbin," \ + -e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \ + -e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \ + -e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile +} + +src_compile() { + # This package uses _init functions to initialise extensions. With + # --as-needed this will not work. + append-ldflags $(no-as-needed) + # This package correctly aliases pointers, but gcc is unable to know that: + # unsigned char ip[4]; + # if (*((uint32_t*)ip) == 0) { + append-cflags -Wno-strict-aliasing + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + $(use static && echo static) +} + +src_install() { + if ! use static; then + make DESTDIR="${D}" install + keepdir /var/lib/ebtables/ + newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables + newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables + else + into / + newsbin static ebtables + insinto /etc + doins ethertypes + fi + dodoc ChangeLog THANKS || die +} diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-2.0.8.1-ebt-save.diff b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-2.0.8.1-ebt-save.diff new file mode 100644 index 0000000000..cdfd823447 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-2.0.8.1-ebt-save.diff @@ -0,0 +1,31 @@ +--- ./ebtables-save.orig 2007-09-28 22:50:35.000000000 +0400 ++++ ./ebtables-save 2007-09-28 22:51:22.000000000 +0400 +@@ -12,6 +12,7 @@ + my $cnt = ""; + my $version = "1.0"; + my $table_name; ++my @table_names; + + # ======================================================== + # Process filter table +@@ -49,12 +50,19 @@ + } + # ======================================================== + ++if ($#ARGV + 1 == 0) { ++ @table_names =split("\n", `grep -E '^ebtable_' /proc/modules | cut -f1 -d' ' | sed s/ebtable_//`); ++} ++else { ++ @table_names = @ARGV; ++} ++# ======================================================== + unless (-x $ebtables) { exit -1 }; + print "# Generated by ebtables-save v$version on " . `date`; + if (defined($ENV{'EBTABLES_SAVE_COUNTER'}) && $ENV{'EBTABLES_SAVE_COUNTER'} eq "yes") { + $cnt = "--Lc"; + } +-foreach $table_name (split("\n", `grep -E '^ebtable_' /proc/modules | cut -f1 -d' ' | sed s/ebtable_//`)) { ++foreach $table_name (@table_names) { + $table =`$ebtables -t $table_name -L $cnt`; + unless ($? == 0) { print $table; exit -1 }; + &process_table($table); diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.8-2-ethertype-DESTDIR-mkdir.patch b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.8-2-ethertype-DESTDIR-mkdir.patch new file mode 100644 index 0000000000..310454087e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.8-2-ethertype-DESTDIR-mkdir.patch @@ -0,0 +1,40 @@ +=== modified file 'Makefile' +--- Makefile 2008-08-13 04:20:07 +0000 ++++ Makefile 2008-08-13 04:28:51 +0000 +@@ -153,10 +153,13 @@ + .PHONY: scripts + scripts: ebtables-save ebtables.sysv ebtables-config + cat ebtables-save | sed 's/__EXEC_PATH__/$(tmp1)/g' > ebtables-save_ ++ mkdir -p $(DESTDIR)$(BINDIR) + install -m 0755 -o root -g root ebtables-save_ $(DESTDIR)$(BINDIR)/ebtables-save + cat ebtables.sysv | sed 's/__EXEC_PATH__/$(tmp1)/g' | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables.sysv_ ++ mkdir -p $(DESTDIR)$(INITDIR) + install -m 0755 -o root -g root ebtables.sysv_ $(DESTDIR)$(INITDIR)/ebtables + cat ebtables-config | sed 's/__SYSCONFIG__/$(tmp2)/g' > ebtables-config_ ++ mkdir -p $(DESTDIR)$(SYSCONFIGDIR) + install -m 0600 -o root -g root ebtables-config_ $(DESTDIR)$(SYSCONFIGDIR)/ebtables-config + rm -f ebtables-save_ ebtables.sysv_ ebtables-config_ + +@@ -166,9 +169,9 @@ + install -m 0644 -o root -g root ebtables.8_ $(DESTDIR)$@ + rm -f ebtables.8_ + +-$(ETHERTYPESFILE): ethertypes +- mkdir -p $(DESTDIR)$(@D) +- install -m 0644 -o root -g root $< $(DESTDIR)$@ ++$(DESTDIR)$(ETHERTYPESFILE): ethertypes ++ mkdir -p $(@D) ++ install -m 0644 -o root -g root $< $@ + + .PHONY: exec + exec: ebtables ebtables-restore +@@ -177,7 +180,7 @@ + install -m 0755 -o root -g root ebtables-restore $(DESTDIR)$(BINDIR)/ebtables-restore + + .PHONY: install +-install: $(MANDIR)/man8/ebtables.8 $(ETHERTYPESFILE) exec scripts ++install: $(MANDIR)/man8/ebtables.8 $(DESTDIR)$(ETHERTYPESFILE) exec scripts + mkdir -p $(DESTDIR)$(LIBDIR) + install -m 0755 extensions/*.so $(DESTDIR)$(LIBDIR) + install -m 0755 *.so $(DESTDIR)$(LIBDIR) + diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-LDFLAGS.diff b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-LDFLAGS.diff new file mode 100644 index 0000000000..e29909474b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-LDFLAGS.diff @@ -0,0 +1,63 @@ +=== modified file 'Makefile' +--- Makefile 2011-05-17 11:10:15 +0000 ++++ Makefile 2011-05-17 11:47:00 +0000 +@@ -18,7 +18,6 @@ + CFLAGS:=-Wall -Wunused + CFLAGS_SH_LIB:=-fPIC + CC:=gcc +-LD:=ld + + ifeq ($(shell uname -m),sparc64) + CFLAGS+=-DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32 +@@ -85,10 +84,10 @@ + + .PHONY: libebtc + libebtc: $(OBJECTS2) +- $(CC) -shared -Wl,-soname,libebtc.so -o libebtc.so -lc $(OBJECTS2) ++ $(CC) -shared $(LDFLAGS) -Wl,-soname,libebtc.so -o libebtc.so -lc $(OBJECTS2) + + ebtables: $(OBJECTS) ebtables-standalone.o libebtc +- $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ ++ $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(LDFLAGS) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ + -Wl,-rpath,$(LIBDIR) + + ebtablesu: ebtablesu.c +@@ -105,7 +104,7 @@ + $(CC) $(CFLAGS) $(PROGSPECS) -c $< -o $@ -I$(KERNEL_INCLUDES) + + ebtables-restore: $(OBJECTS) ebtables-restore.o libebtc +- $(CC) $(CFLAGS) -o $@ ebtables-restore.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ ebtables-restore.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ + -Wl,-rpath,$(LIBDIR) + + .PHONY: daemon +@@ -134,7 +133,7 @@ + printf "extern void %s();\n" _t_$${arg}_init >> include/ebtables_u.h ; \ + done ; \ + printf "\n\tpseudomain(argc, argv);\n\treturn 0;\n}\n" >> ebtables-standalone.c ;\ +- $(CC) $(CFLAGS) $(PROGSPECS) -o $@ $^ -I$(KERNEL_INCLUDES) -Iinclude ; \ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(PROGSPECS) -o $@ $^ -I$(KERNEL_INCLUDES) -Iinclude ; \ + for arg in $(EXT_FUNC) \ + ; do \ + sed "s/ .*_init/ _init/" extensions/ebt_$${arg}.c > extensions/ebt_$${arg}.c_ ; \ + +=== modified file 'extensions/Makefile' +--- extensions/Makefile 2011-05-17 11:10:15 +0000 ++++ extensions/Makefile 2011-05-17 11:46:36 +0000 +@@ -11,13 +11,13 @@ + EXT_LIBSI+=$(foreach T,$(EXT_TABLES), -lebtable_$(T)) + + extensions/ebt_%.so: extensions/ebt_%.o +- $(CC) -shared -o $@ -lc $< -nostartfiles ++ $(CC) $(LDFLAGS) -shared -o $@ -lc $< -nostartfiles + + extensions/libebt_%.so: extensions/ebt_%.so + mv $< $@ + + extensions/ebtable_%.so: extensions/ebtable_%.o +- $(CC) -shared -o $@ -lc $< -nostartfiles ++ $(CC) $(LDFLAGS) -shared -o $@ -lc $< -nostartfiles + + extensions/libebtable_%.so: extensions/ebtable_%.so + mv $< $@ + diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-compilation.patch b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-compilation.patch new file mode 100644 index 0000000000..38970d2904 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables-v2.0.9-2-compilation.patch @@ -0,0 +1,35 @@ +http://ebtables.cvs.sourceforge.net/viewvc/ebtables/ebtables2/userspace/ebtables2/Makefile?r1=1.62&r2=1.63 + +--- Makefile 2010/03/18 08:58:44 1.62 ++++ Makefile 2011/06/19 11:35:21 1.63 +@@ -82,11 +82,10 @@ + ebtables-standalone.o: ebtables-standalone.c include/ebtables_u.h + $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(PROGSPECS) -c $< -o $@ -I$(KERNEL_INCLUDES) + +-.PHONY: libebtc +-libebtc: $(OBJECTS2) ++libebtc.so: $(OBJECTS2) + $(CC) -shared $(LDFLAGS) -Wl,-soname,libebtc.so -o libebtc.so -lc $(OBJECTS2) + +-ebtables: $(OBJECTS) ebtables-standalone.o libebtc ++ebtables: $(OBJECTS) ebtables-standalone.o libebtc.so + $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(LDFLAGS) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ + -Wl,-rpath,$(LIBDIR) + +@@ -96,14 +95,14 @@ + ebtablesd.o: ebtablesd.c include/ebtables_u.h + $(CC) $(CFLAGS) $(PROGSPECSD) -c $< -o $@ -I$(KERNEL_INCLUDES) + +-ebtablesd: $(OBJECTS) ebtablesd.o libebtc ++ebtablesd: $(OBJECTS) ebtablesd.o libebtc.so + $(CC) $(CFLAGS) -o $@ ebtablesd.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ + -Wl,-rpath,$(LIBDIR) + + ebtables-restore.o: ebtables-restore.c include/ebtables_u.h + $(CC) $(CFLAGS) $(PROGSPECS) -c $< -o $@ -I$(KERNEL_INCLUDES) + +-ebtables-restore: $(OBJECTS) ebtables-restore.o libebtc ++ebtables-restore: $(OBJECTS) ebtables-restore.o libebtc.so + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ ebtables-restore.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \ + -Wl,-rpath,$(LIBDIR) + diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.confd-r1 b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.confd-r1 new file mode 100644 index 0000000000..645b26edae --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.confd-r1 @@ -0,0 +1,11 @@ +# /etc/conf.d/ebtables + +# Location in which ebtables initscript will save set rules on +# service shutdown +EBTABLES_SAVE="/var/lib/ebtables/rules-save" + +# Options to pass to ebtables-save and ebtables-restore +SAVE_RESTORE_OPTIONS="" + +# Save state on stopping ebtables +SAVE_ON_STOP="yes" diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.initd-r1 b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.initd-r1 new file mode 100644 index 0000000000..d95af23742 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/files/ebtables.initd-r1 @@ -0,0 +1,102 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/files/ebtables.initd-r1,v 1.2 2012/12/19 16:00:36 qnikst Exp $ + +extra_commands="save panic" +extra_started_commands="reload" + +ebtables_bin="/sbin/ebtables" +ebtables_save=${EBTABLES_SAVE} + +depend() { + before net + use logger +} + +ebtables_tables() { + for table in filter nat broute; do + if ${ebtables_bin} -t ${table} -L > /dev/null 2>&1; then + echo -n "${table} " + fi + done +} + +set_table_policy() { + local chains table=$1 policy=$2 + case ${table} in + nat) chains="PREROUTING POSTROUTING OUTPUT";; + broute) chains="BROUTING";; + filter) chains="INPUT FORWARD OUTPUT";; + *) chains="";; + esac + local chain + for chain in ${chains} ; do + ${ebtables_bin} -t ${table} -P ${chain} ${policy} + done +} + +checkconfig() { + if [ ! -f ${ebtables_save} ] ; then + eerror "Not starting ebtables. First create some rules then run:" + eerror "/etc/init.d/ebtables save" + return 1 + fi + return 0 +} + +start() { + checkconfig || return 1 + ebegin "Loading ebtables state and starting bridge firewall" + ${ebtables_bin}-restore ${SAVE_RESTORE_OPTIONS} < "${ebtables_save}" + eend $? +} + +stop() { + if [ "${SAVE_ON_STOP}" = "yes" ] ; then + save || return 1 + fi + ebegin "Stopping bridge firewall" + local a + for a in $(ebtables_tables); do + set_table_policy $a ACCEPT + + ${ebtables_bin} -t $a -F + ${ebtables_bin} -t $a -X + done + eend $? +} + +reload() { + ebegin "Flushing bridge firewall" + local a + for a in $(ebtables_tables); do + ${ebtables_bin} -t $a -F + ${ebtables_bin} -t $a -X + done + eend $? + + start +} + +save() { + ebegin "Saving ebtables state" + touch "${ebtables_save}" + chmod 0600 "${ebtables_save}" + ${ebtables_bin}-save $(ebtables_tables) ${SAVE_RESTORE_OPTIONS} > "${ebtables_save}" + eend $? +} + +panic() { + service_started ebtables && svc_stop + + local a + ebegin "Dropping all packets forwarded on bridges" + for a in $(ebtables_tables); do + ${ebtables_bin} -t $a -F + ${ebtables_bin} -t $a -X + + set_table_policy $a DROP + done + eend $? +} diff --git a/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/metadata.xml b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/metadata.xml new file mode 100644 index 0000000000..96a2d58636 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-firewall/ebtables/metadata.xml @@ -0,0 +1,5 @@ + + + +base-system +