diff options
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/arptables/ChangeLog | 9 | ||||
-rw-r--r-- | net-firewall/arptables/Manifest | 4 | ||||
-rw-r--r-- | net-firewall/arptables/arptables-0.0.3.4-r1.ebuild | 36 | ||||
-rw-r--r-- | net-firewall/arptables/files/arptables-0.0.3.4-ldflags.patch | 13 |
4 files changed, 60 insertions, 2 deletions
diff --git a/net-firewall/arptables/ChangeLog b/net-firewall/arptables/ChangeLog index 20f86d4c03fa..e3bb042796ca 100644 --- a/net-firewall/arptables/ChangeLog +++ b/net-firewall/arptables/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-firewall/arptables # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v 1.15 2010/03/16 07:57:29 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v 1.16 2010/09/15 13:51:39 pva Exp $ + +*arptables-0.0.3.4-r1 (15 Sep 2010) + + 15 Sep 2010; Peter Volkov <pva@gentoo.org> +arptables-0.0.3.4-r1.ebuild, + +files/arptables-0.0.3.4-ldflags.patch: + Respect LDFLAGS, bug #335375, thank Diego E. 'Flameeyes' Pettenò for + report. *arptables-0.0.3.4 (16 Mar 2010) diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest index 82889afe6ac8..a634a658ade9 100644 --- a/net-firewall/arptables/Manifest +++ b/net-firewall/arptables/Manifest @@ -1,6 +1,8 @@ +AUX arptables-0.0.3.4-ldflags.patch 372 RMD160 3e794e1fc35a59979b6d857221aac184ea5dcae3 SHA1 b5bbfa8d2060ab31e897993679041e5c0298b075 SHA256 76a224ca0c93722f299e5309d708fd69a253edf496c1bfc87be6a55c6d61a55f DIST arptables-v0.0.3-3.tar.gz 43903 RMD160 227712bd8b6aa7baa6059b4bd7aa11692f101dec SHA1 ebcd8cc84671fddc73d23b59f767f37af7f437ac SHA256 5fe63803a843f8c3d0c7047d8a7d78cb66fed278832090c0f2a42b97de33940f DIST arptables-v0.0.3-4.tar.gz 44335 RMD160 655e70ce24280dc426a7458cf462dc6e9c79a2a9 SHA1 df60f2cc701238855e5443167bf40a8c8b96a39a SHA256 e529fd465c67d69ad335299a043516e6b38cdcd337a5ed21718413e96073f928 EBUILD arptables-0.0.3.3-r1.ebuild 932 RMD160 099cb2db51020ba9e0fd3a627eb74644ef5d99a7 SHA1 26db1f9b899ffdc52543c7c1b834151d71fa62a2 SHA256 ea8c8ff2429a4d4d3b9a27589185d1ee87e0782b93ee38bf0e70d23e8af77b87 +EBUILD arptables-0.0.3.4-r1.ebuild 1011 RMD160 a9270fdaf533697e405b875c59280e76965a3686 SHA1 9909bb4173350fc13782f9650d4ae09711ee3485 SHA256 4e0c2e83823ab9cfac3c308ca09010e2cf0a6bf87b99cc08675aa1db71fcb470 EBUILD arptables-0.0.3.4.ebuild 948 RMD160 a99691e31af81152708bbf715aea433295b57de0 SHA1 4227af8cf69ace8d06b4a0fb9c34fb32f6dd2032 SHA256 90725849bd60aa5790673ee3278836850ce3e68afc7756a3f641b3a181bd9019 -MISC ChangeLog 2319 RMD160 b43860fb875f5f25d37da22ba210cbec066d8935 SHA1 d3f6697e8f84f5d72f5e7dbe38371dc9780ccabd SHA256 f2a70c2ef68ca9460d49310965f697552700b62bb9c6e0d93b20e4ecfe73efd5 +MISC ChangeLog 2556 RMD160 2d34bfb69db7e3d18b0e1a3836345908f13b595d SHA1 b4faad74ba21cba64dc49efd0f96000441b716ae SHA256 4923b46055d5a8c45ec7938929e8d63d671327ab7d59fe282a79f7d96d7b9b96 MISC metadata.xml 251 RMD160 2acabb95dba06572ab5dfd2a6d7bca5ab53d7a64 SHA1 6bf96c40f48fb4f92026dd80b7b3e1ce7ebdc9d1 SHA256 8d646b2f01acd31f9bc065850081adfa7f1dfabd8e305e05331fc6d21cbbd504 diff --git a/net-firewall/arptables/arptables-0.0.3.4-r1.ebuild b/net-firewall/arptables/arptables-0.0.3.4-r1.ebuild new file mode 100644 index 000000000000..bf0cf3584d8d --- /dev/null +++ b/net-firewall/arptables/arptables-0.0.3.4-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/arptables-0.0.3.4-r1.ebuild,v 1.1 2010/09/15 13:51:39 pva Exp $ + +EAPI="2" +inherit versionator eutils + +MY_P=${PN}-v$(replace_version_separator 3 - ) + +DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" +HOMEPAGE="http://ebtables.sourceforge.net/" +SRC_URI="mirror://sourceforge/ebtables/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}/${P}-ldflags.patch" +} + +src_compile() { + # -O0 does not work and at least -O2 is required, bug #240752 + emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" || die "make failed" + sed -ie 's:__EXEC_PATH__:/sbin:g' arptables-save arptables-restore \ + || die "sed failed" +} + +src_install() { + into / + dosbin arptables arptables-restore arptables-save || die + doman arptables.8 || die +} diff --git a/net-firewall/arptables/files/arptables-0.0.3.4-ldflags.patch b/net-firewall/arptables/files/arptables-0.0.3.4-ldflags.patch new file mode 100644 index 000000000000..b5ced69c504b --- /dev/null +++ b/net-firewall/arptables/files/arptables-0.0.3.4-ldflags.patch @@ -0,0 +1,13 @@ +=== modified file 'Makefile' +--- Makefile 2010-09-15 11:51:49 +0000 ++++ Makefile 2010-09-15 11:52:56 +0000 +@@ -31,7 +31,7 @@ + $(CC) $(CFLAGS) -c -o $@ $< + + arptables: arptables-standalone.o arptables.o libarptc/libarptc.o $(EXT_OBJS) +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + + $(DESTDIR)$(MANDIR)/man8/arptables.8: arptables.8 + mkdir -p $(@D) + |