summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Vershilov <qnikst@gentoo.org>2012-12-19 16:00:37 +0000
committerAlexander Vershilov <qnikst@gentoo.org>2012-12-19 16:00:37 +0000
commitaa8191a46ea4591c2eded17c649331f52b841a9a (patch)
tree3c19679142051d7e7455da8d8e36699aa5a72e0c /net-firewall/ebtables
parentStable for HPPA (bug #446524). (diff)
downloadhistorical-aa8191a46ea4591c2eded17c649331f52b841a9a.tar.gz
historical-aa8191a46ea4591c2eded17c649331f52b841a9a.tar.bz2
historical-aa8191a46ea4591c2eded17c649331f52b841a9a.zip
non-maint: fix deprecated options in initscript thanks to Vincent Brillault <gentoo@lerya.net>
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
Diffstat (limited to 'net-firewall/ebtables')
-rw-r--r--net-firewall/ebtables/ChangeLog10
-rw-r--r--net-firewall/ebtables/Manifest41
-rw-r--r--net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild68
-rw-r--r--net-firewall/ebtables/files/ebtables.initd-r17
4 files changed, 96 insertions, 30 deletions
diff --git a/net-firewall/ebtables/ChangeLog b/net-firewall/ebtables/ChangeLog
index d01755e16663..9697ae34c173 100644
--- a/net-firewall/ebtables/ChangeLog
+++ b/net-firewall/ebtables/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-firewall/ebtables
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.49 2012/06/14 15:53:50 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.50 2012/12/19 16:00:36 qnikst Exp $
+
+*ebtables-2.0.10.4-r1 (19 Dec 2012)
+
+ 19 Dec 2012; <qnikst@gentoo.org> +ebtables-2.0.10.4-r1.ebuild,
+ files/ebtables.initd-r1:
+ non-maint: fix deprecated options in initscript thanks to Vincent Brillault
+ <gentoo@lerya.net>
14 Jun 2012; Michael Weber <xmw@gentoo.org> ebtables-2.0.10.4.ebuild:
ppc stable (bug 404265)
@@ -222,4 +229,3 @@
28 Feb 2004; <solar@gentoo.org> 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/net-firewall/ebtables/Manifest b/net-firewall/ebtables/Manifest
index f59c034ef505..95a4d93aaafe 100644
--- a/net-firewall/ebtables/Manifest
+++ b/net-firewall/ebtables/Manifest
@@ -1,25 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX ebtables-2.0.8.1-ebt-save.diff 1089 RMD160 d36bd4ee1f9c5640d960e0b537829faade9251c4 SHA1 efad4c40e92b42d59e044c78945aed00ef756ed8 SHA256 b4d7022a616152ca439d2b09f14fda8a3ef479b823c2da44eb0e9e22b256be90
-AUX ebtables-v2.0.8-2-ethertype-DESTDIR-mkdir.patch 1619 RMD160 62f324507577cdcb9390b42fc87dd7f8017bf4e7 SHA1 7a68888f6ac2d2ee55105a957bcdec263992e266 SHA256 56905064c63c582240da2bc21d03ba66fc28716089ba743396fa67e9ea78b7ca
-AUX ebtables-v2.0.9-2-LDFLAGS.diff 2349 RMD160 db15610f89a004adff95cca96b3f0b59c1c79b9a SHA1 0bc0d680a60ce79439573efa78fda696153a8f6a SHA256 55a236e2d10d2ef1dd699d94c6079acd9ae6447b9a462feb3071cdbd7611231b
-AUX ebtables-v2.0.9-2-compilation.patch 1495 RMD160 942d184f2b819d0f5a13b6823822dbaf7384eeee SHA1 e421bd06de811b08d7890346ba55b6133d440947 SHA256 8f0a3e8dc3035fa875a11bebe3f697019f6979225f8779ba58ab73cfcfd871c4
-AUX ebtables.confd-r1 288 RMD160 97d8fd8a00b48d70881aff05c1fa533e1da7172b SHA1 89b16bf882290bfc31c890948245552da5b26b4d SHA256 c05a6c1ba6add3881068584074681b04bfb2ad43284d7bdd67f47f3da842de58
-AUX ebtables.initd-r1 2071 RMD160 bbc77bbb64a2f73c97647d45e7707ee74da8573e SHA1 72e6b79826d47f7312947e5f2366e9130f690607 SHA256 cef208f784b24abcc7af313355d103ee1c78ade42fb1cee3936b209c012d7a80
-DIST ebtables-v2.0.10-2.tar.gz 104435 RMD160 bdce57aca2712305947f6990cc4a3c3aa43a9fd8 SHA1 352442fa4bc35991c7312e35758cc1ed0ca0b513 SHA256 cc26cc0646c0f6ce6ddd2f29f96d7399d6938f7503f7a8443e959c8ea2d66b61
-DIST ebtables-v2.0.10-4.tar.gz 103764 RMD160 86ecfbb28531add0ee6a1a8f661ba9be891c0cfc SHA1 907d3b82329e8fbb7aaaa98049732bd8dab022f9 SHA256 dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d
-DIST ebtables-v2.0.9-2.tar.gz 101529 RMD160 7dff076ab14dbc2c9e64813c745f1513498fdaa8 SHA1 93b684cf788592f976a12a5f71c3aa9d185a309c SHA256 98855f644d43c615a8e663197978e49c95642f46f2bbf8e6f3213af87f8ad6a3
-EBUILD ebtables-2.0.10.2.ebuild 1988 RMD160 484c20baefd5c31cec5da6733f4a8cd38b3aeaa3 SHA1 a2e020dbec0f428ad92f8149c3f48092e13cf14f SHA256 8356601f3ea11e6a6e399ae5bf5ecb0158521999b29c7a92b064cc1b7be24aca
-EBUILD ebtables-2.0.10.4.ebuild 1986 RMD160 51dac411ef8de79ccbf2e20c011767149e7de62f SHA1 a8cdd9961636ba8703c17a7e1a5be9bd48257e29 SHA256 94a279c1bcad6ac9fb4feeb59dee10ff480eca54c04de264ab17944f80f77470
-EBUILD ebtables-2.0.9.2-r1.ebuild 1959 RMD160 6ddab669bc1cb64490475bdc5544ce46ccb63e31 SHA1 7f90002f76ac87ff30dea2631aec686ea3b713dd SHA256 e4ec3bda2c6eec70ec889667a98f0bf272bc6a91a2152188e21ee447b509f221
-EBUILD ebtables-2.0.9.2-r2.ebuild 2170 RMD160 18de0c9774c193bf422514de98c0cffc4f87f3af SHA1 4b8bc37f197977c051d6e9480fdddf78ba9109af SHA256 b0fb52759dd046d679acc308a757c2f006c2b626c93f6daf9f2e779c650dce64
-MISC ChangeLog 8093 RMD160 755a615ff6db0e2d70b2e68c2362635185ec352a SHA1 1b196be4bcf6a1eecfea1e5fccf604ae48cafd69 SHA256 8e2fe16bcc07ed1d79d1b037aadd8964649ad968714ae831615a1e44afa78710
-MISC metadata.xml 251 RMD160 2acabb95dba06572ab5dfd2a6d7bca5ab53d7a64 SHA1 6bf96c40f48fb4f92026dd80b7b3e1ce7ebdc9d1 SHA256 8d646b2f01acd31f9bc065850081adfa7f1dfabd8e305e05331fc6d21cbbd504
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iF4EAREIAAYFAk/aCO4ACgkQknrdDGLu8JBiIQD+JPJjIr3FRt/XG23m/klzr/fW
-oHRU5SNjtokcdDKXk9UA/11r+aFQPbdwflm40OX5QYQLniDCkenKjFt8OwRjSODj
-=TCXp
------END PGP SIGNATURE-----
+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 1988 SHA256 8356601f3ea11e6a6e399ae5bf5ecb0158521999b29c7a92b064cc1b7be24aca SHA512 2a807c42d767a8859e51b7fa0f883c1c51d2f28c45fad1198810870f8bc4466ad21d6903d734e14df228f2fae198a202ff909fed549391b9840e0a346adbe889 WHIRLPOOL e0fc5c50a5fb29b327e05017326351d50d2fd7e50a4676aadc7abf7db30d5076ce2d1ac9a554ad71a7e21dd92fd56c7260376177adac639bf4308c4184628263
+EBUILD ebtables-2.0.10.4-r1.ebuild 1995 SHA256 ef049c932b7de10c07844cbcf414267bf8201c75aa8336ed37467471f3d5f25b SHA512 6bfb0791eac491d349c2a02a0f9b69c236cc86561ee158bbff76a1673d4810f75bfbbe95f136c763599183d02c708c47bce16171c7ff8469c8800c6ce7db2891 WHIRLPOOL 6fc10fa0d7d5827899b16281f7b7501cd37da9691221bf988b436e450c8d4913c41af8b8cdf1551883175619da585f21975ecc978660f951df3cc0e4af605ab2
+EBUILD ebtables-2.0.10.4.ebuild 1986 SHA256 94a279c1bcad6ac9fb4feeb59dee10ff480eca54c04de264ab17944f80f77470 SHA512 a46dda3668993fbc06ed24eaba9dde1e579b953c46ad325e2a56809edad5592d0eac7f680c22e7e3ca57f760cc94f277ef77e1fe8561507ca819af6a366ad465 WHIRLPOOL bd8d1317314c403c32ecd4feb5e4198a0fd1f59bb02ebf85fe72e1ca5884c08cadf47dbd912b3e2d067bbbd153c6a8fe3553cd30b908674d16768387986d88bb
+EBUILD ebtables-2.0.9.2-r1.ebuild 1959 SHA256 e4ec3bda2c6eec70ec889667a98f0bf272bc6a91a2152188e21ee447b509f221 SHA512 8c2a41bded9e2afe4db48ad08226fdfd53fcf89d4107de7b1447c114aed44511788a3ca07b31d18fcaa3d165354cb3af29e3c0681b528b652becabd6b192bfdc WHIRLPOOL 8f50d9eb9d55ab320674427d4d33bf16d53274a4b46ae4b4767e0834a164a82bab0c7960754d9337e25506541174f0f0cb7d1ea835a8b3c572f3c3567701cb48
+EBUILD ebtables-2.0.9.2-r2.ebuild 2170 SHA256 b0fb52759dd046d679acc308a757c2f006c2b626c93f6daf9f2e779c650dce64 SHA512 6748e073c0a76a8f4a661d174b15d1427a095f7f4cdf96a819199edc9427a740b0630cfd5f09cdf3f4622629679199651e57a1795bc90e6a18b7c46b2c1c620e WHIRLPOOL 8a45b62aa52cfbf42e14b1b65c6f49d1f5c8a637856d0226020216e493b215efb1f1a2f5ab6314701c1f9136782a11dc0aa29f65dc209f925b06e930df154163
+MISC ChangeLog 8326 SHA256 ec8141316c10eb374ae198b4e6d3fff1add67de0c0c0cf841519b9486e5e03fb SHA512 a6675ef7258271445a8be8491bd8a658adf7ddb3df5fbd8c29086c2b7b1938946e66965476af120dff9eed2befaa17920eb9ca31ac2e5fccaab0593a834aacdb WHIRLPOOL 7f3323ecd23873bf3af3034b49238d342d8995e56902e1e6b651bc57ffc39029e966e690b259f0edabfd100801ab71c56f384a4c21c3a9904d88b0474f02e0ea
+MISC metadata.xml 251 SHA256 8d646b2f01acd31f9bc065850081adfa7f1dfabd8e305e05331fc6d21cbbd504 SHA512 7180739ec26dd7ac5d1f98b1e32e22be49dc42dc6e3592cbf3ab5486adb8d25398efb0e419a057edbe76457881a073528a0458257e6494f78c5b100c5e77a53a WHIRLPOOL 49edc8360533950397947f6edc6968778970058425ca3ac693becae919ad3712484f398d8c979fb353d1fd09be7ef84bcdcb1b6cedd1d90149607a7837f305e5
diff --git a/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild b/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
new file mode 100644
index 000000000000..1d0c1341f6e8
--- /dev/null
+++ b/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2012 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.1 2012/12/19 16:00:36 qnikst 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/net-firewall/ebtables/files/ebtables.initd-r1 b/net-firewall/ebtables/files/ebtables.initd-r1
index 1088ad3f5c49..d95af237425b 100644
--- a/net-firewall/ebtables/files/ebtables.initd-r1
+++ b/net-firewall/ebtables/files/ebtables.initd-r1
@@ -1,9 +1,10 @@
#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
+# 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.1 2010/05/09 17:16:15 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/files/ebtables.initd-r1,v 1.2 2012/12/19 16:00:36 qnikst Exp $
-opts="save reload panic"
+extra_commands="save panic"
+extra_started_commands="reload"
ebtables_bin="/sbin/ebtables"
ebtables_save=${EBTABLES_SAVE}