[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: fa38aa82249bfcce192c1acac0db4906b287596c Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Oct 29 12:33:35 2023 + Commit: Ulrich Müller gentoo org> CommitDate: Mon Nov 20 20:37:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa38aa82 net-firewall/arptables: use HTTPS, fix LICENSE Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Ulrich Müller gentoo.org> net-firewall/arptables/arptables-0.0.5-r2.ebuild | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/net-firewall/arptables/arptables-0.0.5-r2.ebuild b/net-firewall/arptables/arptables-0.0.5-r2.ebuild index fee032c21db6..3eac5585e025 100644 --- a/net-firewall/arptables/arptables-0.0.5-r2.ebuild +++ b/net-firewall/arptables/arptables-0.0.5-r2.ebuild @@ -1,18 +1,17 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit toolchain-funcs -DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" -HOMEPAGE="http://ebtables.sourceforge.net/; +DESCRIPTION="Set up, maintain, and inspect the tables of ARP rules in the Linux kernel" +HOMEPAGE="https://ebtables.netfilter.org; SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.gz; -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="" BDEPEND=">=app-eselect/eselect-iptables-20211203" RDEPEND="${BDEPEND}"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 61c556d2b8c26c6b08ec13f30c908caa546558d1 Author: Patrick McLean sony com> AuthorDate: Fri Dec 3 19:16:38 2021 + Commit: Patrick McLean gentoo org> CommitDate: Fri Dec 3 19:16:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c556d2 net-firewall/arptables: Revbump, update esel-ipt dep (bug #828064) Closes: https://bugs.gentoo.org/828064 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick McLean gentoo.org> .../{arptables-0.0.5-r1.ebuild => arptables-0.0.5-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild b/net-firewall/arptables/arptables-0.0.5-r2.ebuild similarity index 90% rename from net-firewall/arptables/arptables-0.0.5-r1.ebuild rename to net-firewall/arptables/arptables-0.0.5-r2.ebuild index 42dcb668a2df..fee032c21db6 100644 --- a/net-firewall/arptables/arptables-0.0.5-r1.ebuild +++ b/net-firewall/arptables/arptables-0.0.5-r2.ebuild @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" -BDEPEND=">=app-eselect/eselect-iptables-20200508" +BDEPEND=">=app-eselect/eselect-iptables-20211203" RDEPEND="${BDEPEND}" src_compile() { @@ -37,7 +37,7 @@ src_install() { pkg_postinst() { if ! eselect arptables show &>/dev/null; then - elog "Current arptables implementation is unset, setting to ebtables-legacy" + elog "Current arptables implementation is unset, setting to arptables-legacy" eselect arptables set arptables-legacy fi
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 42abe286d312eab08bc17029f6f9b9cd62135c9f Author: David Seifert gentoo org> AuthorDate: Sat May 8 19:11:11 2021 + Commit: David Seifert gentoo org> CommitDate: Sat May 8 19:11:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42abe286 net-firewall/arptables: Remove old 0.0.4, 0.0.5 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert gentoo.org> net-firewall/arptables/Manifest | 1 - net-firewall/arptables/arptables-0.0.4.ebuild | 32 - net-firewall/arptables/arptables-0.0.5.ebuild | 34 --- 3 files changed, 67 deletions(-) diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest index 32ec8d11764..b7bdc03d93a 100644 --- a/net-firewall/arptables/Manifest +++ b/net-firewall/arptables/Manifest @@ -1,2 +1 @@ DIST arptables-0.0.5.tar.gz 52247 BLAKE2B 860aac1af315f188ecb7f17956f9225c2a9ec007882d102be8edc9fecc9400928f4200e95283f0ecc27c4c3ae0b409887445ed79a330cef2e2d00444db83c01f SHA512 fe7f909b45a1bdc435a8307352fe2dc9c292bb7c6cf4a4d13cc2728f447b3da14a07a4dd6dc25b7872895e4e26561681f1fed25ce517102ae762701bcbcbf104 -DIST arptables-v0.0.4.tar.gz 45380 BLAKE2B a256aa280aa65fae8c5b17477fedb3fed4973e8d76746d5832184858b77111eb22bec63211a1ddfb74d25bdc23b0f237caf5ac7effa85433d0f63c51e23a3ef1 SHA512 bd84e93ab5e0a038753aa17dae9e1f48364f2d2b1492dce2edac117e21edd5aa912be7b9e21bf4fb3698031d2f765a75fa067fe10ce20a1c8951ae7efcc5dbbd diff --git a/net-firewall/arptables/arptables-0.0.4.ebuild b/net-firewall/arptables/arptables-0.0.4.ebuild deleted file mode 100644 index f5362319242..000 --- a/net-firewall/arptables/arptables-0.0.4.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -MY_P="${PN}-v${PV}" - -DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" -HOMEPAGE="http://ebtables.sourceforge.net/; -SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -S="${WORKDIR}/${MY_P}" - -src_compile() { - # -O0 does not work and at least -O2 is required, bug #240752 - emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" - sed -ie 's:__EXEC_PATH__:/sbin:g' arptables-save arptables-restore \ - || die "sed failed" -} - -src_install() { - into / - dosbin arptables arptables-restore arptables-save - doman arptables.8 -} diff --git a/net-firewall/arptables/arptables-0.0.5.ebuild b/net-firewall/arptables/arptables-0.0.5.ebuild deleted file mode 100644 index 8484f81cf19..000 --- a/net-firewall/arptables/arptables-0.0.5.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" -HOMEPAGE="http://ebtables.sourceforge.net/; -SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -src_compile() { - # -O0 does not work and at least -O2 is required, bug #240752 - emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" - sed -e 's:__EXEC_PATH__:/sbin:g' \ - -i arptables-save arptables-restore || die "sed failed" -} - -src_install() { - emake \ - PREFIX="${ED}"/ \ - LIBDIR="${ED}/$(get_libdir)" \ - SYSCONFIGDIR="${ED}"/etc \ - MANDIR="${ED}"/usr/share/man \ - install - - dosym arptables-legacy /sbin/arptables - newman arptables-legacy.8 arptables.8 -}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 9646241d03df250f43458e8612efd2b43f066996 Author: Sam James gentoo org> AuthorDate: Sat May 8 18:54:56 2021 + Commit: Sam James gentoo org> CommitDate: Sat May 8 18:54:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9646241d net-firewall/arptables: Stabilize 0.0.5-r1 ppc, #788928 Signed-off-by: Sam James gentoo.org> net-firewall/arptables/arptables-0.0.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild b/net-firewall/arptables/arptables-0.0.5-r1.ebuild index 79e3a62eba0..42dcb668a2d 100644 --- a/net-firewall/arptables/arptables-0.0.5-r1.ebuild +++ b/net-firewall/arptables/arptables-0.0.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ppc x86" IUSE="" BDEPEND=">=app-eselect/eselect-iptables-20200508"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: e363a5b5adf0d29c0a51b00d317ba10d6e2b57b3 Author: Sam James gentoo org> AuthorDate: Sat May 8 18:44:05 2021 + Commit: Sam James gentoo org> CommitDate: Sat May 8 18:44:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e363a5b5 net-firewall/arptables: Stabilize 0.0.5-r1 x86, #788928 Signed-off-by: Sam James gentoo.org> net-firewall/arptables/arptables-0.0.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild b/net-firewall/arptables/arptables-0.0.5-r1.ebuild index 6d8369ed502..79e3a62eba0 100644 --- a/net-firewall/arptables/arptables-0.0.5-r1.ebuild +++ b/net-firewall/arptables/arptables-0.0.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc x86" IUSE="" BDEPEND=">=app-eselect/eselect-iptables-20200508"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 9b84ea0dba5e43d525abb62d5bb6a6c579ae8f87 Author: Sam James gentoo org> AuthorDate: Fri May 7 15:07:46 2021 + Commit: Sam James gentoo org> CommitDate: Fri May 7 15:07:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b84ea0d net-firewall/arptables: Stabilize 0.0.5-r1 amd64, #788928 Signed-off-by: Sam James gentoo.org> net-firewall/arptables/arptables-0.0.5-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild b/net-firewall/arptables/arptables-0.0.5-r1.ebuild index 9bfd2df4fba..6d8369ed502 100644 --- a/net-firewall/arptables/arptables-0.0.5-r1.ebuild +++ b/net-firewall/arptables/arptables-0.0.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc ~x86" IUSE="" BDEPEND=">=app-eselect/eselect-iptables-20200508"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 492d19bad85ff43e2ed8071cda6cc3a8cef0a452 Author: Patrick McLean gentoo org> AuthorDate: Sun May 10 20:46:55 2020 + Commit: Patrick McLean gentoo org> CommitDate: Sun May 10 20:49:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=492d19ba net-firewall/arptables-0.0.5-r1: Don't change provder on upgrades Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean gentoo.org> net-firewall/arptables/arptables-0.0.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild b/net-firewall/arptables/arptables-0.0.5-r1.ebuild index 6dc0f8f781c..9bfd2df4fba 100644 --- a/net-firewall/arptables/arptables-0.0.5-r1.ebuild +++ b/net-firewall/arptables/arptables-0.0.5-r1.ebuild @@ -45,7 +45,7 @@ pkg_postinst() { } pkg_prerm() { - if has_version 'net-firewall/iptables[nftables]'; then + if [[ -z ${REPLACED_BY_VERSION} ]] && has_version 'net-firewall/iptables[nftables]'; then elog "Resetting arptables symlinks to xtables-nft-multi before removal" eselect arptables set xtables-nft-multi else
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 166b01ff87eef4866daeede41629a619e8605d02 Author: Patrick McLean sony com> AuthorDate: Sat May 9 02:50:50 2020 + Commit: Patrick McLean gentoo org> CommitDate: Sat May 9 02:54:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=166b01ff net-firewall/arptables-0.0.5-r1: Revbump, support eselect-arptables Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean gentoo.org> net-firewall/arptables/arptables-0.0.5-r1.ebuild | 55 1 file changed, 55 insertions(+) diff --git a/net-firewall/arptables/arptables-0.0.5-r1.ebuild b/net-firewall/arptables/arptables-0.0.5-r1.ebuild new file mode 100644 index 000..6dc0f8f781c --- /dev/null +++ b/net-firewall/arptables/arptables-0.0.5-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" +HOMEPAGE="http://ebtables.sourceforge.net/; +SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +BDEPEND=">=app-eselect/eselect-iptables-20200508" +RDEPEND="${BDEPEND}" + +src_compile() { + # -O0 does not work and at least -O2 is required, bug #240752 + emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" + sed -e 's:__EXEC_PATH__:/sbin:g' \ + -i arptables-save arptables-restore || die "sed failed" +} + +src_install() { + emake \ + PREFIX="${ED}"/ \ + LIBDIR="${ED}/$(get_libdir)" \ + SYSCONFIGDIR="${ED}"/etc \ + MANDIR="${ED}"/usr/share/man \ + install + + newman arptables-legacy.8 arptables.8 +} + +pkg_postinst() { + if ! eselect arptables show &>/dev/null; then + elog "Current arptables implementation is unset, setting to ebtables-legacy" + eselect arptables set arptables-legacy + fi + + eselect arptables show +} + +pkg_prerm() { + if has_version 'net-firewall/iptables[nftables]'; then + elog "Resetting arptables symlinks to xtables-nft-multi before removal" + eselect arptables set xtables-nft-multi + else + elog "Unsetting arptables symlinks before removal" + eselect arptables unset + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: e07bbe5cf2db48528fae860865a2f697d7d49aa3 Author: Patrick McLean gentoo org> AuthorDate: Tue Dec 10 18:56:35 2019 + Commit: Patrick McLean gentoo org> CommitDate: Tue Dec 10 18:56:50 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e07bbe5c net-firewall/arptables-0.0.5: Version bump Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Patrick McLean gentoo.org> net-firewall/arptables/Manifest | 1 + net-firewall/arptables/arptables-0.0.5.ebuild | 34 +++ 2 files changed, 35 insertions(+) diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest index b2363806184..32ec8d11764 100644 --- a/net-firewall/arptables/Manifest +++ b/net-firewall/arptables/Manifest @@ -1 +1,2 @@ +DIST arptables-0.0.5.tar.gz 52247 BLAKE2B 860aac1af315f188ecb7f17956f9225c2a9ec007882d102be8edc9fecc9400928f4200e95283f0ecc27c4c3ae0b409887445ed79a330cef2e2d00444db83c01f SHA512 fe7f909b45a1bdc435a8307352fe2dc9c292bb7c6cf4a4d13cc2728f447b3da14a07a4dd6dc25b7872895e4e26561681f1fed25ce517102ae762701bcbcbf104 DIST arptables-v0.0.4.tar.gz 45380 BLAKE2B a256aa280aa65fae8c5b17477fedb3fed4973e8d76746d5832184858b77111eb22bec63211a1ddfb74d25bdc23b0f237caf5ac7effa85433d0f63c51e23a3ef1 SHA512 bd84e93ab5e0a038753aa17dae9e1f48364f2d2b1492dce2edac117e21edd5aa912be7b9e21bf4fb3698031d2f765a75fa067fe10ce20a1c8951ae7efcc5dbbd diff --git a/net-firewall/arptables/arptables-0.0.5.ebuild b/net-firewall/arptables/arptables-0.0.5.ebuild new file mode 100644 index 000..8484f81cf19 --- /dev/null +++ b/net-firewall/arptables/arptables-0.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" +HOMEPAGE="http://ebtables.sourceforge.net/; +SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +src_compile() { + # -O0 does not work and at least -O2 is required, bug #240752 + emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" + sed -e 's:__EXEC_PATH__:/sbin:g' \ + -i arptables-save arptables-restore || die "sed failed" +} + +src_install() { + emake \ + PREFIX="${ED}"/ \ + LIBDIR="${ED}/$(get_libdir)" \ + SYSCONFIGDIR="${ED}"/etc \ + MANDIR="${ED}"/usr/share/man \ + install + + dosym arptables-legacy /sbin/arptables + newman arptables-legacy.8 arptables.8 +}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/, net-firewall/arptables/files/
commit: 9dacb769388e9ebcf0f852008832d161e2cd01ed Author: Mikle Kolyada gentoo org> AuthorDate: Wed May 9 11:05:07 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed May 9 11:05:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dacb769 net-firewall/arptables: Drop old Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-firewall/arptables/Manifest| 1 - net-firewall/arptables/arptables-0.0.3.4-r2.ebuild | 38 -- .../files/arptables-0.0.3.4-arptables_save.patch | 24 -- .../files/arptables-0.0.3.4-ldflags.patch | 13 .../files/arptables-0.0.3.4-manpage.patch | 12 --- .../arptables/files/arptables-0.0.3.4-type.patch | 17 -- 6 files changed, 105 deletions(-) diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest index 6ecca60a894..b2363806184 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 14b31b9b264..000 --- 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 a1b60b24ea1..000 --- 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.0 +0200 -+++ arptables-0.0.3.3/arptables-save 2009-08-19 14:19:58.0 +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 }; - _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 b5ced69c504..000 --- 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 + -+++ Makefile 2010-09-15 11:52:56 + -@@ -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
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 1dfe316b09427ca71810d8140f103435f8296eba Author: Mikle Kolyada gentoo org> AuthorDate: Wed May 9 11:02:33 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed May 9 11:02:33 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dfe316b net-firewall/arptables: ppc stable wrt bug #648398 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-firewall/arptables/arptables-0.0.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arptables/arptables-0.0.4.ebuild b/net-firewall/arptables/arptables-0.0.4.ebuild index c69397f1040..f5362319242 100644 --- a/net-firewall/arptables/arptables-0.0.4.ebuild +++ b/net-firewall/arptables/arptables-0.0.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ppc x86" IUSE="" S="${WORKDIR}/${MY_P}"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/
commit: 4b3c4d93cb24b19cbd514839c648a9b9d11b9ba7 Author: Lars Wendler gentoo org> AuthorDate: Wed Aug 2 11:58:37 2017 + Commit: Lars Wendler gentoo org> CommitDate: Wed Aug 2 11:58:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b3c4d93 net-firewall/arptables: Bump to version 0.0.4 Package-Manager: Portage-2.3.6, Repoman-2.3.3 net-firewall/arptables/Manifest | 1 + net-firewall/arptables/arptables-0.0.4.ebuild | 32 +++ 2 files changed, 33 insertions(+) diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest index 1ffc750253c..73450610497 100644 --- a/net-firewall/arptables/Manifest +++ b/net-firewall/arptables/Manifest @@ -1 +1,2 @@ DIST arptables-v0.0.3-4.tar.gz 44335 SHA256 e529fd465c67d69ad335299a043516e6b38cdcd337a5ed21718413e96073f928 SHA512 a566b6df5c4b22c9c15d22c3801763e640f15b76043123c4ca8db1cc753a20a99b8b7b6dae2f0d9277cc6c49bcb269ba481958bcff3f6a516c7c9d8b553d35b5 WHIRLPOOL a045489531c2eec53cc57b18639291d38fa443a9b4e4539e096fa2afbaaa8585bfa387c4759e0a02d407d76ef0ed87f602b4f847edd49d3be9c1113264e69996 +DIST arptables-v0.0.4.tar.gz 45380 SHA256 277985e29ecd93bd759a58242cad0e02ba9d4a6e1b7795235e3b507661bc0049 SHA512 bd84e93ab5e0a038753aa17dae9e1f48364f2d2b1492dce2edac117e21edd5aa912be7b9e21bf4fb3698031d2f765a75fa067fe10ce20a1c8951ae7efcc5dbbd WHIRLPOOL 6209b2837e22fa1a3ef9d8d090210a8dda7b6199ec58cbdd565e646f24eb499ae4e3d36175e3ed215eb47783f33ae4a02a50e0b7df5aec78a82a6b5e2c7b1660 diff --git a/net-firewall/arptables/arptables-0.0.4.ebuild b/net-firewall/arptables/arptables-0.0.4.ebuild new file mode 100644 index 000..23c063983b0 --- /dev/null +++ b/net-firewall/arptables/arptables-0.0.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +MY_P="${PN}-v${PV}" + +DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" +HOMEPAGE="http://ebtables.sourceforge.net/; +SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + # -O0 does not work and at least -O2 is required, bug #240752 + emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" + sed -ie 's:__EXEC_PATH__:/sbin:g' arptables-save arptables-restore \ + || die "sed failed" +} + +src_install() { + into / + dosbin arptables arptables-restore arptables-save + doman arptables.8 +}