summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-05-09 14:05:07 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-05-09 14:05:07 +0300
commit9dacb769388e9ebcf0f852008832d161e2cd01ed (patch)
treee989d96336efd1cd8f178233e9e129c100d8bd19
parentnet-firewall/arptables: ppc stable wrt bug #648398 (diff)
downloadgentoo-9dacb769388e9ebcf0f852008832d161e2cd01ed.tar.gz
gentoo-9dacb769388e9ebcf0f852008832d161e2cd01ed.tar.bz2
gentoo-9dacb769388e9ebcf0f852008832d161e2cd01ed.zip
net-firewall/arptables: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--net-firewall/arptables/Manifest1
-rw-r--r--net-firewall/arptables/arptables-0.0.3.4-r2.ebuild38
-rw-r--r--net-firewall/arptables/files/arptables-0.0.3.4-arptables_save.patch24
-rw-r--r--net-firewall/arptables/files/arptables-0.0.3.4-ldflags.patch13
-rw-r--r--net-firewall/arptables/files/arptables-0.0.3.4-manpage.patch12
-rw-r--r--net-firewall/arptables/files/arptables-0.0.3.4-type.patch17
6 files changed, 0 insertions, 105 deletions
diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest
index 6ecca60a894e..b23638061848 100644
--- a/net-firewall/arptables/Manifest
+++ b/net-firewall/arptables/Manifest
@@ -1,2 +1 @@
-DIST arptables-v0.0.3-4.tar.gz 44335 BLAKE2B a5764ad0976cddd10d0fc727609a5d6d68bd19422900401040990d464940c87855b82e8da994a23e62a233ace2a7f1fdecc20161855ed41925f34cf1e796a29f SHA512 a566b6df5c4b22c9c15d22c3801763e640f15b76043123c4ca8db1cc753a20a99b8b7b6dae2f0d9277cc6c49bcb269ba481958bcff3f6a516c7c9d8b553d35b5
DIST arptables-v0.0.4.tar.gz 45380 BLAKE2B a256aa280aa65fae8c5b17477fedb3fed4973e8d76746d5832184858b77111eb22bec63211a1ddfb74d25bdc23b0f237caf5ac7effa85433d0f63c51e23a3ef1 SHA512 bd84e93ab5e0a038753aa17dae9e1f48364f2d2b1492dce2edac117e21edd5aa912be7b9e21bf4fb3698031d2f765a75fa067fe10ce20a1c8951ae7efcc5dbbd
diff --git a/net-firewall/arptables/arptables-0.0.3.4-r2.ebuild b/net-firewall/arptables/arptables-0.0.3.4-r2.ebuild
deleted file mode 100644
index 14b31b9b2647..000000000000
--- a/net-firewall/arptables/arptables-0.0.3.4-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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"
- epatch "${FILESDIR}/${P}-arptables_save.patch"
- epatch "${FILESDIR}/${P}-manpage.patch"
- epatch "${FILESDIR}/${P}-type.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-arptables_save.patch b/net-firewall/arptables/files/arptables-0.0.3.4-arptables_save.patch
deleted file mode 100644
index a1b60b24ea10..000000000000
--- a/net-firewall/arptables/files/arptables-0.0.3.4-arptables_save.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-# Don't resolve host names and don't convert '*' interface names to any.
-# Remove '*' interface names.
-
-diff -urNad arptables-0.0.3.3~/arptables-save arptables-0.0.3.3/arptables-save
---- arptables-0.0.3.3~/arptables-save 2009-08-19 14:17:17.000000000 +0200
-+++ arptables-0.0.3.3/arptables-save 2009-08-19 14:19:58.000000000 +0200
-@@ -35,6 +35,8 @@
- # Due to arptables "issues" with displaying device names
- # we need to use -v and then do some processing
- $line =~ s/\s,\s.*//;
-+ $line =~ s/-i\s\*//;
-+ $line =~ s/-o\s\*//;
- $rules = $rules . "-A $chain $line\n";
- }
-
-@@ -47,7 +49,7 @@
- # ========================================================
-
- unless (-x "$tool") { print "ERROR: Tool $tool isn't executable"; exit -1; };
--$table =`$tool -t filter -L -v`;
-+$table =`$tool -t filter -L -v -n`;
- unless ($? == 0) { print $table; exit -1 };
- &process_table($table);
-
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
deleted file mode 100644
index b5ced69c504b..000000000000
--- a/net-firewall/arptables/files/arptables-0.0.3.4-ldflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-=== 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)
-
diff --git a/net-firewall/arptables/files/arptables-0.0.3.4-manpage.patch b/net-firewall/arptables/files/arptables-0.0.3.4-manpage.patch
deleted file mode 100644
index 76295b6d9b5c..000000000000
--- a/net-firewall/arptables/files/arptables-0.0.3.4-manpage.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urNad arptables-0.0.3.3~/arptables.8 arptables-0.0.3.3/arptables.8
---- arptables-0.0.3.3~/arptables.8 2007-08-19 15:04:51.000000000 +0200
-+++ arptables-0.0.3.3/arptables.8 2008-05-08 18:56:35.000000000 +0200
-@@ -22,7 +22,7 @@
- .\"
- .\"
- .SH NAME
--arptables (v.0.0.3-3) \- ARP table administration
-+arptables \- ARP table administration
- .SH SYNOPSIS
- .BR "arptables " [ "-t table" ] " -" [ AD ] " chain rule-specification " [ options ]
- .br
diff --git a/net-firewall/arptables/files/arptables-0.0.3.4-type.patch b/net-firewall/arptables/files/arptables-0.0.3.4-type.patch
deleted file mode 100644
index 851bf0ee247f..000000000000
--- a/net-firewall/arptables/files/arptables-0.0.3.4-type.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-# Patch from Jeroen van Wolffelaar <jeroen@wolffelaar.nl> to make
-# arptables --proto-type also accept hexadecimal inputs (ethernet protocol
-# numbers are often specfied in hex, not decimal), using standard strtol()
-# behaviour (hex iff starts with 0x).
-
-diff -urNad arptables-0.0.3.3~/arptables.c arptables-0.0.3.3/arptables.c
---- arptables-0.0.3.3~/arptables.c 2007-08-19 15:04:51.000000000 +0200
-+++ arptables-0.0.3.3/arptables.c 2008-05-08 19:16:43.000000000 +0200
-@@ -2039,7 +2039,7 @@
- check_inverse(optarg, &invert, &optind, argc);
- set_option(&options, OPT_P_TYPE, &fw.arp.invflags,
- invert);
-- if (get16_and_mask(argv[optind - 1], &fw.arp.arpro, &fw.arp.arpro_mask, 10)) {
-+ if (get16_and_mask(argv[optind - 1], &fw.arp.arpro, &fw.arp.arpro_mask, 0)) {
- if (strcasecmp(argv[optind-1], "ipv4"))
- exit_error(PARAMETER_PROBLEM, "Problem with specified protocol type");
- fw.arp.arpro = htons(0x800);