summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-08-13 13:28:45 +0000
committerPeter Volkov <pva@gentoo.org>2011-08-13 13:28:45 +0000
commit4e07a31cc88256f9be1fa8381aefba027fa3b944 (patch)
tree84cfc12c3687b76027afe9a6d14a4caaa1c51b90 /net-firewall/ebtables
parentDrop old. (diff)
downloadhistorical-4e07a31cc88256f9be1fa8381aefba027fa3b944.tar.gz
historical-4e07a31cc88256f9be1fa8381aefba027fa3b944.tar.bz2
historical-4e07a31cc88256f9be1fa8381aefba027fa3b944.zip
Version bump.
Package-Manager: portage-2.1.10.10/cvs/Linux x86_64
Diffstat (limited to 'net-firewall/ebtables')
-rw-r--r--net-firewall/ebtables/ChangeLog7
-rw-r--r--net-firewall/ebtables/Manifest14
-rw-r--r--net-firewall/ebtables/ebtables-2.0.10.2.ebuild68
3 files changed, 77 insertions, 12 deletions
diff --git a/net-firewall/ebtables/ChangeLog b/net-firewall/ebtables/ChangeLog
index 4073bd76b1df..5deef2b9da80 100644
--- a/net-firewall/ebtables/ChangeLog
+++ b/net-firewall/ebtables/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/ebtables
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.43 2011/07/15 20:31:54 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.44 2011/08/13 13:28:45 pva Exp $
+
+*ebtables-2.0.10.2 (13 Aug 2011)
+
+ 13 Aug 2011; Peter Volkov <pva@gentoo.org> +ebtables-2.0.10.2.ebuild:
+ Version bump.
15 Jul 2011; Markus Meier <maekke@gentoo.org> ebtables-2.0.9.2-r2.ebuild:
x86 stable, bug #373291
diff --git a/net-firewall/ebtables/Manifest b/net-firewall/ebtables/Manifest
index a39cf72de552..d660c080939a 100644
--- a/net-firewall/ebtables/Manifest
+++ b/net-firewall/ebtables/Manifest
@@ -1,21 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
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.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.9.2-r1.ebuild 1959 RMD160 6ddab669bc1cb64490475bdc5544ce46ccb63e31 SHA1 7f90002f76ac87ff30dea2631aec686ea3b713dd SHA256 e4ec3bda2c6eec70ec889667a98f0bf272bc6a91a2152188e21ee447b509f221
EBUILD ebtables-2.0.9.2-r2.ebuild 2171 RMD160 dfe6e41d7aa7e1e80ab870b5041cc252466fbb7b SHA1 fb95add2e28c9b99f4bb074751415d46e9151b5f SHA256 b2fca9b8002d425b61613685e0e7f72a9c7def9af593cb78c0b81a59f5104449
-MISC ChangeLog 7410 RMD160 46ceed9c918c173e0e13dd6ca9fc60fca5b8b5b3 SHA1 29456d1aa10ab0e12fb134f98349efc421a7dcd0 SHA256 0e41da2aeaa2a1e40e12e8c0affb96be39424c5bbfd01651961063b1af2eed28
+MISC ChangeLog 7530 RMD160 41ed3bf1c6e6633822861d7ee18e0b1bb2363bce SHA1 fa965fbbc94f005d3ae62caeb5812fd91760f96b SHA256 a76a5745160711eca00c555c3a0a3f641aa0b48f90a6e03cc75763368e09f00b
MISC metadata.xml 251 RMD160 2acabb95dba06572ab5dfd2a6d7bca5ab53d7a64 SHA1 6bf96c40f48fb4f92026dd80b7b3e1ce7ebdc9d1 SHA256 8d646b2f01acd31f9bc065850081adfa7f1dfabd8e305e05331fc6d21cbbd504
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk4go+AACgkQkKaRLQcq0GLUYQCfYJ2fT4zVKqZaPYTjyfRaR0u7
-Yd0AnibzRyxMz6rn9B89lyLLcxWA+dhP
-=iFHg
------END PGP SIGNATURE-----
diff --git a/net-firewall/ebtables/ebtables-2.0.10.2.ebuild b/net-firewall/ebtables/ebtables-2.0.10.2.ebuild
new file mode 100644
index 000000000000..195f5b2bb7a3
--- /dev/null
+++ b/net-firewall/ebtables/ebtables-2.0.10.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 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.1 2011/08/13 13:28:45 pva 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
+}