[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 37bdcc5be6ed62338f44081c0c4377a7cff5e45f Author: Arthur Zamarin gentoo org> AuthorDate: Sun Nov 5 16:47:36 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Nov 5 16:47:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bdcc5b net-firewall/arno-iptables-firewall: Stabilize 2.1.1a amd64, #916803 Signed-off-by: Arthur Zamarin gentoo.org> .../arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild index cf8812e2cb2b..8bd047b01d5a 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/aif/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="+plugins rsyslog" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: b16372d0f7520f33e6a73e0835e9f9656c1db54b Author: Arthur Zamarin gentoo org> AuthorDate: Sun Nov 5 16:47:37 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Nov 5 16:47:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b16372d0 net-firewall/arno-iptables-firewall: Stabilize 2.1.1a x86, #916803 Signed-off-by: Arthur Zamarin gentoo.org> .../arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild index 8bd047b01d5a..4a047feb32a5 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/aif/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+plugins rsyslog" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 024b471ca78bcadca89603366b33e3e4438a7aa7 Author: Ferenc Erki gmail com> AuthorDate: Tue Apr 25 18:01:36 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Thu May 18 07:35:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=024b471c net-firewall/arno-iptables-firewall: fix metadata indent Signed-off-by: Ferenc Erki gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30478 Signed-off-by: Joonas Niilola gentoo.org> net-firewall/arno-iptables-firewall/metadata.xml | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/net-firewall/arno-iptables-firewall/metadata.xml b/net-firewall/arno-iptables-firewall/metadata.xml index 31e73d0b2363..6f83b9325a36 100644 --- a/net-firewall/arno-iptables-firewall/metadata.xml +++ b/net-firewall/arno-iptables-firewall/metadata.xml @@ -1,16 +1,16 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - erkifer...@gmail.com - Ferenc Erki - - - proxy-ma...@gentoo.org - Proxy Maintainers - - - Install optional plugins - Install configuration snippet for app-admin/rsyslog - + + erkifer...@gmail.com + Ferenc Erki + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + Install optional plugins + Install configuration snippet for app-admin/rsyslog +
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: a4514318e3f1b74a37e20de8d8bc6301859fd721 Author: Ferenc Erki gmail com> AuthorDate: Tue Apr 4 17:34:23 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Thu May 18 07:35:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4514318 net-firewall/arno-iptables-firewall: bump version to 2.1.1a Signed-off-by: Ferenc Erki gmail.com> Signed-off-by: Joonas Niilola gentoo.org> net-firewall/arno-iptables-firewall/Manifest | 1 + .../arno-iptables-firewall-2.1.1a.ebuild | 107 + 2 files changed, 108 insertions(+) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index 1d3b58cfd981..af9cd4b98d6c 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1 +1,2 @@ DIST arno-iptables-firewall-2.1.1.tar.gz 141076 BLAKE2B d3f78767a3ac447841aa01becfd73434cfddc9f56142d5c6ac86072527c17a30449434b8cddba74bb45f8234268ba589ab2ea932db462317a2dfb714f31f2450 SHA512 55494c8a214c0b2dacfef23170ea596bf9ecdfc73d1a6b2bd703183278569f68103eb63580d1b18cae97a9460b95373f0091bbf5decf275c80803a1331555d79 +DIST arno-iptables-firewall-2.1.1a.tar.gz 141116 BLAKE2B db6a4b5bfc94d69bbc8f6eb6b15485ae030e62ff26b00aa88e0426fdc711dadfc641a3a3fe55ce1c35ab61900f2d2235fca3d7359879d7255e44c3b19f8bf13f SHA512 1af2bd82434a530d44d2a511ce7416d2c5387ae1fe215e0db47cb72d6517a64c7d4366bfed33e0446d48ed403d55b09306d34aa8528d666f088d9557632b5756 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild new file mode 100644 index ..7bcae86ee691 --- /dev/null +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit readme.gentoo-r1 systemd + +DESCRIPTION="Arno's iptables firewall script" +HOMEPAGE="https://rocky.eld.leidenuniv.nl https://github.com/arno-iptables-firewall/aif; + +SRC_URI="https://github.com/${PN}/aif/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins rsyslog" + +DEPEND="" +RDEPEND=" + net-firewall/ipset + net-firewall/iptables + sys-apps/coreutils + sys-apps/iproute2 + plugins? ( net-dns/bind-tools ) +" + +S="${WORKDIR}/aif-${PV}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf +before using this package. To start the script, run: + +/etc/init.d/${PN} start (for OpenRC) +systemctl start ${PN} (for systemd) + +If you want to start this script at boot, run: + +rc-update add ${PN} default (for OpenRC) +systemctl enable ${PN} (for systemd)" + +src_prepare() { + sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ + bin/"${PN}" share/"${PN}"/environment || die "Sed failed!" + sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ + lib/systemd/system/"${PN}.service" || die "Sed failed!" + eapply_user +} + +src_install() { + insinto /etc/"${PN}" + doins etc/"${PN}"/firewall.conf + doins etc/"${PN}"/custom-rules + + doinitd "${FILESDIR}/${PN}" + systemd_dounit lib/systemd/system/"${PN}.service" + + dobin bin/arno-fwfilter + dosbin bin/"${PN}" + + insinto /usr/libexec/"${PN}" + doins share/"${PN}"/environment + + exeinto /usr/libexec/"${PN}" + doexe share/"${PN}"/aif-job-execute + doexe share/"${PN}"/aif-job-processor + + insinto /etc/logrotate.d + doins etc/logrotate.d/"${PN}" + + dodoc CHANGELOG README + readme.gentoo_create_doc + + if use plugins + then + insinto /etc/"${PN}"/plugins + doins etc/"${PN}"/plugins/* + + insinto /usr/libexec/"${PN}"/plugins + doins share/"${PN}"/plugins/*.plugin + doins share/"${PN}"/plugins/adaptive-ban-helper + doins share/"${PN}"/plugins/dyndns-host-open-helper + doins share/"${PN}"/plugins/parasitic-net-helper + doins share/"${PN}"/plugins/traffic-accounting-helper + + exeinto /usr/libexec/"${PN}"/plugins + doexe share/"${PN}"/plugins/traffic-accounting-log-rotate + doexe share/"${PN}"/plugins/traffic-accounting-show + + docinto plugins + dodoc share/"${PN}"/plugins/*.CHANGELOG + fi + + if use rsyslog + then + insinto /etc/rsyslog.d + newins etc/rsyslog.d/"${PN}".conf 20-"${PN}".conf + fi + + doman share/man/man1/arno-fwfilter.1 \ + share/man/man8/"${PN}".8 +} + +pkg_postinst() { + ewarn "When you stop this script, all firewall rules are flushed!" + ewarn "Make sure to not use multiple firewall
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: b26b4da9d40fbda32054db0052d304d0af15030a Author: Joonas Niilola gentoo org> AuthorDate: Thu May 18 07:35:41 2023 + Commit: Joonas Niilola gentoo org> CommitDate: Thu May 18 07:35:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b26b4da9 net-firewall/arno-iptables-firewall: drop empty DEPEND Signed-off-by: Joonas Niilola gentoo.org> .../arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild index 7bcae86ee691..cf8812e2cb2b 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1a.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 + inherit readme.gentoo-r1 systemd DESCRIPTION="Arno's iptables firewall script" @@ -14,7 +15,6 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+plugins rsyslog" -DEPEND="" RDEPEND=" net-firewall/ipset net-firewall/iptables
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: c458dda922dacb02a98fa4b986753f15fff6b542 Author: Joonas Niilola gentoo org> AuthorDate: Sat Mar 20 08:10:06 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Mar 20 08:25:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c458dda9 net-firewall/arno-iptables-firewall: drop 2.0.3, 2.1.0 Signed-off-by: Joonas Niilola gentoo.org> net-firewall/arno-iptables-firewall/Manifest | 2 - .../arno-iptables-firewall-2.0.3.ebuild| 95 - .../arno-iptables-firewall-2.1.0.ebuild| 98 -- 3 files changed, 195 deletions(-) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index 70301165c01..1d3b58cfd98 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1,3 +1 @@ -DIST arno-iptables-firewall-2.0.3.tar.gz 139445 BLAKE2B 57dade49a4aaacb1354129efeb5ca013060d51baa8c23dea1fc326e52a693c7137047883ea7bbca6cc3221f70a83f7283123a345e22ceac4bb99d3b43410b65d SHA512 c88a560d4c0a2644dd1ec35e0a6e2b1883e52dc6c71075207c3b98a59964a4be3787620e9414ad5e926bddb9dbc7c2674fd8687828526c35f0fb4a53a05aa929 -DIST arno-iptables-firewall-2.1.0.tar.gz 140015 BLAKE2B 46ff89db6928bd4f86a5b26a06fa1ab2a88ecc5043f6f92543151c3ca6b74d9704c4b7046e1c5e1371e0b5de552e414cbe0524305947b026ec7953f9d779055d SHA512 b59644e78f281dacdd32045254be15dbd31ecb5f2b26d88a3c9bab60aaf19ea879d87127040db5f72292668e22026d982c17d3ad34c83da16720cdbccebdd07f DIST arno-iptables-firewall-2.1.1.tar.gz 141076 BLAKE2B d3f78767a3ac447841aa01becfd73434cfddc9f56142d5c6ac86072527c17a30449434b8cddba74bb45f8234268ba589ab2ea932db462317a2dfb714f31f2450 SHA512 55494c8a214c0b2dacfef23170ea596bf9ecdfc73d1a6b2bd703183278569f68103eb63580d1b18cae97a9460b95373f0091bbf5decf275c80803a1331555d79 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild deleted file mode 100644 index 5bcbe33d851..000 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit readme.gentoo-r1 systemd eapi7-ver - -DESCRIPTION="Arno's iptables firewall script" -HOMEPAGE="https://rocky.eld.leidenuniv.nl; - -MY_PV=$(ver_rs 3 -) -MY_PV=${MY_PV/rc/RC} -SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+plugins" - -# sys-apps/coreutils dependency wrt -# https://bugs.gentoo.org/show_bug.cgi?id=448716 - -DEPEND="" -RDEPEND="net-firewall/ipset - net-firewall/iptables - >=sys-apps/coreutils-8.21 - sys-apps/iproute2 - plugins? ( net-dns/bind-tools )" - -S="${WORKDIR}/aif-${MY_PV}" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf -before using this package. To start the script, run: - -/etc/init.d/${PN} start (for OpenRC) -systemctl start ${PN} (for systemd) - -If you want to start this script at boot, run: - -rc-update add ${PN} default (for OpenRC) -systemctl enable ${PN} (for systemd)" - -src_prepare() { - sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ - etc/"${PN}"/firewall.conf || die "Sed failed!" - sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ - lib/systemd/system/"${PN}.service" || die "Sed failed!" - eapply_user -} - -src_install() { - insinto /etc/"${PN}" - doins etc/"${PN}"/firewall.conf - doins etc/"${PN}"/custom-rules - - doinitd "${FILESDIR}/${PN}" - systemd_dounit lib/systemd/system/"${PN}.service" - - dobin bin/arno-fwfilter - dosbin bin/"${PN}" - - insinto /usr/libexec/"${PN}" - doins share/"${PN}"/environment - - dodoc CHANGELOG README - readme.gentoo_create_doc - - if use plugins - then - insinto /etc/"${PN}"/plugins - doins etc/"${PN}"/plugins/* - - insinto /usr/libexec/"${PN}"/plugins - doins share/"${PN}"/plugins/*.plugin - - exeinto /usr/libexec/"${PN}"/plugins - doexe share/"${PN}"/plugins/dyndns-host-open-helper - doexe share/"${PN}"/plugins/traffic-accounting-helper - doexe share/"${PN}"/plugins/traffic-accounting-log-rotate - doexe share/"${PN}"/plugins/traffic-accounting-show - - docinto plugins - dodoc share/"${PN}"/plugins/*.CHANGELOG - fi - - doman share/man/man1/arno-fwfilter.1 \ - share/man/man8/"${PN}".8 -} - -pkg_postinst() { - ewarn "When you stop this script, all firewall rules are flushed!" - ewarn "Make sure to not use multiple firewall scripts simultaneously" - ewarn "unless you know
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: fb0e48f61a3bb06d3bd4b120c2c58279d22c9236 Author: Sam James gentoo org> AuthorDate: Sun Jan 3 01:17:31 2021 + Commit: Sam James gentoo org> CommitDate: Sun Jan 3 01:17:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0e48f6 net-firewall/arno-iptables-firewall: Stabilize 2.1.1 amd64, #762295 Signed-off-by: Sam James gentoo.org> .../arno-iptables-firewall/arno-iptables-firewall-2.1.1.ebuild| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1.ebuild index 0b622d4894c..f3ee01bf107 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1.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 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="+plugins rsyslog" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: fbac6ebf7eef99b772840229a5042b1f7c921f85 Author: Ferenc Erki gmail com> AuthorDate: Thu Sep 17 08:41:41 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Oct 2 08:57:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbac6ebf net-firewall/arno-iptables-firewall: bump version to 2.1.1 - upstream removed some configuration options in favor of better autodetection, so we have to search and replace a few default locations in different files than before, but the overall settings/logic didn't change - install built-in job manager used by some plugins - install logrotate file - additional built-in plugin helpers Signed-off-by: Ferenc Erki gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17574 Signed-off-by: Joonas Niilola gentoo.org> net-firewall/arno-iptables-firewall/Manifest | 1 + .../arno-iptables-firewall-2.1.1.ebuild| 105 + 2 files changed, 106 insertions(+) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index 07714f35f42..70301165c01 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1,2 +1,3 @@ DIST arno-iptables-firewall-2.0.3.tar.gz 139445 BLAKE2B 57dade49a4aaacb1354129efeb5ca013060d51baa8c23dea1fc326e52a693c7137047883ea7bbca6cc3221f70a83f7283123a345e22ceac4bb99d3b43410b65d SHA512 c88a560d4c0a2644dd1ec35e0a6e2b1883e52dc6c71075207c3b98a59964a4be3787620e9414ad5e926bddb9dbc7c2674fd8687828526c35f0fb4a53a05aa929 DIST arno-iptables-firewall-2.1.0.tar.gz 140015 BLAKE2B 46ff89db6928bd4f86a5b26a06fa1ab2a88ecc5043f6f92543151c3ca6b74d9704c4b7046e1c5e1371e0b5de552e414cbe0524305947b026ec7953f9d779055d SHA512 b59644e78f281dacdd32045254be15dbd31ecb5f2b26d88a3c9bab60aaf19ea879d87127040db5f72292668e22026d982c17d3ad34c83da16720cdbccebdd07f +DIST arno-iptables-firewall-2.1.1.tar.gz 141076 BLAKE2B d3f78767a3ac447841aa01becfd73434cfddc9f56142d5c6ac86072527c17a30449434b8cddba74bb45f8234268ba589ab2ea932db462317a2dfb714f31f2450 SHA512 55494c8a214c0b2dacfef23170ea596bf9ecdfc73d1a6b2bd703183278569f68103eb63580d1b18cae97a9460b95373f0091bbf5decf275c80803a1331555d79 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1.ebuild new file mode 100644 index 000..0b622d4894c --- /dev/null +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit readme.gentoo-r1 systemd + +DESCRIPTION="Arno's iptables firewall script" +HOMEPAGE="https://rocky.eld.leidenuniv.nl; + +MY_PV=$(ver_rs 3 -) +MY_PV=${MY_PV/rc/RC} +SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins rsyslog" + +DEPEND="" +RDEPEND="net-firewall/ipset + net-firewall/iptables + sys-apps/coreutils + sys-apps/iproute2 + plugins? ( net-dns/bind-tools )" + +S="${WORKDIR}/aif-${MY_PV}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf +before using this package. To start the script, run: + +/etc/init.d/${PN} start (for OpenRC) +systemctl start ${PN} (for systemd) + +If you want to start this script at boot, run: + +rc-update add ${PN} default (for OpenRC) +systemctl enable ${PN} (for systemd)" + +src_prepare() { + sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ + bin/"${PN}" share/"${PN}"/environment || die "Sed failed!" + sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ + lib/systemd/system/"${PN}.service" || die "Sed failed!" + eapply_user +} + +src_install() { + insinto /etc/"${PN}" + doins etc/"${PN}"/firewall.conf + doins etc/"${PN}"/custom-rules + + doinitd "${FILESDIR}/${PN}" + systemd_dounit lib/systemd/system/"${PN}.service" + + dobin bin/arno-fwfilter + dosbin bin/"${PN}" + + insinto /usr/libexec/"${PN}" + doins share/"${PN}"/aif-job-execute + doins share/"${PN}"/aif-job-processor + doins share/"${PN}"/environment + + insinto /etc/logrotate.d + doins etc/logrotate.d/"${PN}" + + dodoc CHANGELOG README + readme.gentoo_create_doc + + if use plugins + then + insinto /etc/"${PN}"/plugins + doins etc/"${PN}"/plugins/* + + insinto /usr/libexec/"${PN}"/plugins + doins share/"${PN}"/plugins/*.plugin + + exeinto /usr/libexec/"${PN}"/plugins + doexe share/"${PN}"/plugins/adaptive-ban-helper + doexe share/"${PN}"/plugins/dyndns-host-open-helper + doexe share/"${PN}"/plugins/parasitic-net-helper + doexe
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: aab8f99d8853d96a4c9be86f4afe379ac417c87e Author: Agostino Sarubbo gentoo org> AuthorDate: Tue May 12 06:38:12 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue May 12 06:38:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aab8f99d net-firewall/arno-iptables-firewall: x86 stable wrt bug #722200 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild index 7d71cd96f7f..e9eecc7f736 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+plugins rsyslog" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: a41c2ee83971317e2126cb4fbea97aa23c85aa29 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon May 11 11:26:06 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon May 11 11:26:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41c2ee8 net-firewall/arno-iptables-firewall: amd64 stable wrt bug #722200 Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild index 6b4973bb283..7d71cd96f7f 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="+plugins rsyslog" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 55830aad1bcc551fa47569c6a24fe6baec598d2e Author: Ferenc Erki gmail com> AuthorDate: Sat Jan 4 19:34:54 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Thu Jan 9 06:01:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55830aad net-firewall/arno-iptables-firewall: bump version to 2.1.0 Closes: https://bugs.gentoo.org/704790 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ferenc Erki gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14243 Signed-off-by: Joonas Niilola gentoo.org> net-firewall/arno-iptables-firewall/Manifest | 1 + .../arno-iptables-firewall-2.1.0.ebuild| 98 ++ net-firewall/arno-iptables-firewall/metadata.xml | 1 + 3 files changed, 100 insertions(+) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index fd2783249c7..07714f35f42 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1 +1,2 @@ DIST arno-iptables-firewall-2.0.3.tar.gz 139445 BLAKE2B 57dade49a4aaacb1354129efeb5ca013060d51baa8c23dea1fc326e52a693c7137047883ea7bbca6cc3221f70a83f7283123a345e22ceac4bb99d3b43410b65d SHA512 c88a560d4c0a2644dd1ec35e0a6e2b1883e52dc6c71075207c3b98a59964a4be3787620e9414ad5e926bddb9dbc7c2674fd8687828526c35f0fb4a53a05aa929 +DIST arno-iptables-firewall-2.1.0.tar.gz 140015 BLAKE2B 46ff89db6928bd4f86a5b26a06fa1ab2a88ecc5043f6f92543151c3ca6b74d9704c4b7046e1c5e1371e0b5de552e414cbe0524305947b026ec7953f9d779055d SHA512 b59644e78f281dacdd32045254be15dbd31ecb5f2b26d88a3c9bab60aaf19ea879d87127040db5f72292668e22026d982c17d3ad34c83da16720cdbccebdd07f diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild new file mode 100644 index 000..b5cdcda849b --- /dev/null +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.1.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit readme.gentoo-r1 systemd + +DESCRIPTION="Arno's iptables firewall script" +HOMEPAGE="https://rocky.eld.leidenuniv.nl; + +MY_PV=$(ver_rs 3 -) +MY_PV=${MY_PV/rc/RC} +SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins rsyslog" + +DEPEND="" +RDEPEND="net-firewall/ipset + net-firewall/iptables + sys-apps/coreutils + sys-apps/iproute2 + plugins? ( net-dns/bind-tools )" + +S="${WORKDIR}/aif-${MY_PV}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf +before using this package. To start the script, run: + +/etc/init.d/${PN} start (for OpenRC) +systemctl start ${PN} (for systemd) + +If you want to start this script at boot, run: + +rc-update add ${PN} default (for OpenRC) +systemctl enable ${PN} (for systemd)" + +src_prepare() { + sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ + etc/"${PN}"/firewall.conf || die "Sed failed!" + sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ + lib/systemd/system/"${PN}.service" || die "Sed failed!" + eapply_user +} + +src_install() { + insinto /etc/"${PN}" + doins etc/"${PN}"/firewall.conf + doins etc/"${PN}"/custom-rules + + doinitd "${FILESDIR}/${PN}" + systemd_dounit lib/systemd/system/"${PN}.service" + + dobin bin/arno-fwfilter + dosbin bin/"${PN}" + + insinto /usr/libexec/"${PN}" + doins share/"${PN}"/environment + + dodoc CHANGELOG README + readme.gentoo_create_doc + + if use plugins + then + insinto /etc/"${PN}"/plugins + doins etc/"${PN}"/plugins/* + + insinto /usr/libexec/"${PN}"/plugins + doins share/"${PN}"/plugins/*.plugin + + exeinto /usr/libexec/"${PN}"/plugins + doexe share/"${PN}"/plugins/dyndns-host-open-helper + doexe share/"${PN}"/plugins/traffic-accounting-helper + doexe share/"${PN}"/plugins/traffic-accounting-log-rotate + doexe share/"${PN}"/plugins/traffic-accounting-show + + docinto plugins + dodoc share/"${PN}"/plugins/*.CHANGELOG + fi + + if use rsyslog + then + insinto /etc/rsyslog.d + newins etc/rsyslog.d/"${PN}".conf 60-"${PN}".conf + fi + + doman share/man/man1/arno-fwfilter.1 \ + share/man/man8/"${PN}".8 +} + +pkg_postinst () { + ewarn "When you stop this script, all firewall rules are flushed!" + ewarn "Make sure to not use multiple firewall scripts simultaneously" + ewarn "unless you know what you are doing!" + readme.gentoo_print_elog +} diff --git
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 3574cb8ec419a63aba69a42a35a8cd76618e7b33 Author: Ferenc Erki gmail com> AuthorDate: Fri Dec 27 22:34:51 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Dec 28 00:58:52 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3574cb8e net-firewall/arno-iptables-firewall: remove old Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ferenc Erki gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14144 Signed-off-by: Aaron Bauman gentoo.org> net-firewall/arno-iptables-firewall/Manifest | 2 - .../arno-iptables-firewall-2.0.1e.ebuild | 87 .../arno-iptables-firewall-2.0.2a.ebuild | 95 -- 3 files changed, 184 deletions(-) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index d4d0807f901..fd2783249c7 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1,3 +1 @@ -DIST arno-iptables-firewall-2.0.2a.tar.gz 138141 BLAKE2B 1dad35b86ff5d93991b01ed0b3f4cd61eeab0d896b7c270d809600de972cae13828f192e8962199563b7ebf55f961a4cd96af9b15234e504df23615827aec638 SHA512 56ba669101375cccd29183e7069198f27d0656021310a90a82cb03ce417d4dec241084f3332f57d52f889b125836a6a08bb116453aaa9a4c3860204e109322e5 DIST arno-iptables-firewall-2.0.3.tar.gz 139445 BLAKE2B 57dade49a4aaacb1354129efeb5ca013060d51baa8c23dea1fc326e52a693c7137047883ea7bbca6cc3221f70a83f7283123a345e22ceac4bb99d3b43410b65d SHA512 c88a560d4c0a2644dd1ec35e0a6e2b1883e52dc6c71075207c3b98a59964a4be3787620e9414ad5e926bddb9dbc7c2674fd8687828526c35f0fb4a53a05aa929 -DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 BLAKE2B 0c8263004d2294f6eedd7f40e6c339da3a57db803ce1d064ac0bf4a3d2191b26fcd0b59185e51240bd0378365f9ca115c80c5edc256aa68359728c960ab8e6e3 SHA512 244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild deleted file mode 100644 index 9659d70d0b5..000 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit readme.gentoo systemd - -DESCRIPTION="Arno's iptables firewall script" -HOMEPAGE="http://rocky.eld.leidenuniv.nl; -SRC_URI="http://rocky.eld.leidenuniv.nl/${PN}/${PN}_${PV}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+plugins" - -DEPEND="" -RDEPEND="net-firewall/iptables - >sys-apps/coreutils-8.20-r1 - sys-apps/iproute2 - plugins? ( net-dns/bind-tools )" - -S="${WORKDIR}/${PN}_${PV}" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf -before using this package. To start the script, run: - -/etc/init.d/${PN} start (for OpenRC) -systemctl start ${PN} (for systemd) - -If you want to start this script at boot, run: - -rc-update add ${PN} default (for OpenRC) -systemctl enable ${PN} (for systemd)" - -src_prepare() { - sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ - etc/"${PN}"/firewall.conf || die "Sed failed!" - sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ - lib/systemd/system/"${PN}.service" || die "Sed failed!" -} - -src_install() { - insinto /etc/"${PN}" - doins etc/"${PN}"/firewall.conf - doins etc/"${PN}"/custom-rules - - doinitd "${FILESDIR}/${PN}" - systemd_dounit lib/systemd/system/"${PN}.service" - - dobin bin/arno-fwfilter - dosbin bin/"${PN}" - - insinto /usr/libexec/"${PN}" - doins share/"${PN}"/environment - - dodoc CHANGELOG README - readme.gentoo_create_doc - - if use plugins - then - insinto /etc/"${PN}"/plugins - doins etc/"${PN}"/plugins/* - - insinto /usr/libexec/"${PN}"/plugins - doins share/"${PN}"/plugins/*.plugin - - exeinto /usr/libexec/"${PN}"/plugins - doexe share/"${PN}"/plugins/dyndns-host-open-helper - doexe share/"${PN}"/plugins/traffic-accounting-helper - doexe share/"${PN}"/plugins/traffic-accounting-log-rotate - doexe share/"${PN}"/plugins/traffic-accounting-show - - docinto plugins - dodoc share/"${PN}"/plugins/*.CHANGELOG - fi - - doman share/man/man1/arno-fwfilter.1 \ - share/man/man8/"${PN}".8 -} - -pkg_postinst () { - ewarn "When you stop this script, all firewall rules are flushed!" - ewarn "Make sure to not use multiple firewall scripts simultaneously" - ewarn "unless you know what you are doing!" - readme.gentoo_print_elog -} diff --git
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 9dde38dfc283d164ab447ce08cdaf0c41a9ab025 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Sep 7 14:07:37 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Sep 7 14:07:37 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dde38df net-firewall/arno-iptables-firewall: amd64 stable wrt bug #664910 Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild index dda88a1f231..e6dd80bd3ea 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="+plugins" # sys-apps/coreutils dependency wrt
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: c886873add8c78397e672d2acdb84411ab6e735e Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Sep 1 17:25:50 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Sep 1 17:54:37 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c886873a net-firewall/arno-iptables-firewall: x86 stable (bug #664910) Package-Manager: Portage-2.3.48, Repoman-2.3.10 net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild index 939a095dd94..dda88a1f231 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="+plugins" # sys-apps/coreutils dependency wrt
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 58d758eeb4b480c02dcc54ca9212b6e85661da7a Author: Michał Górny gentoo org> AuthorDate: Sun Aug 26 17:00:25 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 26 17:00:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d758ee net-firewall/arno-iptables-firewall: Remove support for non-existent deps .../arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild| 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild index 4d1cd0080b7..9659d70d0b5 100644 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1e.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,12 +13,9 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="+plugins" -# sys-apps/coreutils dependency wrt -# https://bugs.gentoo.org/show_bug.cgi?id=448716 - DEPEND="" RDEPEND="net-firewall/iptables - || ( sys-apps/coreutils-8.20-r1 ) + >sys-apps/coreutils-8.20-r1 sys-apps/iproute2 plugins? ( net-dns/bind-tools )"
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 336d88091ab27258d7255bc761e02847782ae3ec Author: Ferenc Erki gmail com> AuthorDate: Wed Jul 18 18:16:10 2018 + Commit: Tony Vroon gentoo org> CommitDate: Mon Jul 23 08:49:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336d8809 net-firewall/arno-iptables-firewall: version bump Also migrating from versionator to eapi7-ver. Closes: https://bugs.gentoo.org/661542 Package-Manager: Portage-2.3.43, Repoman-2.3.10 Closes: https://github.com/gentoo/gentoo/pull/9274 Closes: https://bugs.gentoo.org/661542 net-firewall/arno-iptables-firewall/Manifest | 1 + .../arno-iptables-firewall-2.0.3.ebuild| 95 ++ 2 files changed, 96 insertions(+) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index 3cb0552cc31..d4d0807f901 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1,2 +1,3 @@ DIST arno-iptables-firewall-2.0.2a.tar.gz 138141 BLAKE2B 1dad35b86ff5d93991b01ed0b3f4cd61eeab0d896b7c270d809600de972cae13828f192e8962199563b7ebf55f961a4cd96af9b15234e504df23615827aec638 SHA512 56ba669101375cccd29183e7069198f27d0656021310a90a82cb03ce417d4dec241084f3332f57d52f889b125836a6a08bb116453aaa9a4c3860204e109322e5 +DIST arno-iptables-firewall-2.0.3.tar.gz 139445 BLAKE2B 57dade49a4aaacb1354129efeb5ca013060d51baa8c23dea1fc326e52a693c7137047883ea7bbca6cc3221f70a83f7283123a345e22ceac4bb99d3b43410b65d SHA512 c88a560d4c0a2644dd1ec35e0a6e2b1883e52dc6c71075207c3b98a59964a4be3787620e9414ad5e926bddb9dbc7c2674fd8687828526c35f0fb4a53a05aa929 DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 BLAKE2B 0c8263004d2294f6eedd7f40e6c339da3a57db803ce1d064ac0bf4a3d2191b26fcd0b59185e51240bd0378365f9ca115c80c5edc256aa68359728c960ab8e6e3 SHA512 244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild new file mode 100644 index 000..939a095dd94 --- /dev/null +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit readme.gentoo-r1 systemd eapi7-ver + +DESCRIPTION="Arno's iptables firewall script" +HOMEPAGE="http://rocky.eld.leidenuniv.nl; + +MY_PV=$(ver_rs 3 -) +MY_PV=${MY_PV/rc/RC} +SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins" + +# sys-apps/coreutils dependency wrt +# https://bugs.gentoo.org/show_bug.cgi?id=448716 + +DEPEND="" +RDEPEND="net-firewall/ipset + net-firewall/iptables + >=sys-apps/coreutils-8.21 + sys-apps/iproute2 + plugins? ( net-dns/bind-tools )" + +S="${WORKDIR}/aif-${MY_PV}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf +before using this package. To start the script, run: + +/etc/init.d/${PN} start (for OpenRC) +systemctl start ${PN} (for systemd) + +If you want to start this script at boot, run: + +rc-update add ${PN} default (for OpenRC) +systemctl enable ${PN} (for systemd)" + +src_prepare() { + sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ + etc/"${PN}"/firewall.conf || die "Sed failed!" + sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ + lib/systemd/system/"${PN}.service" || die "Sed failed!" + eapply_user +} + +src_install() { + insinto /etc/"${PN}" + doins etc/"${PN}"/firewall.conf + doins etc/"${PN}"/custom-rules + + doinitd "${FILESDIR}/${PN}" + systemd_dounit lib/systemd/system/"${PN}.service" + + dobin bin/arno-fwfilter + dosbin bin/"${PN}" + + insinto /usr/libexec/"${PN}" + doins share/"${PN}"/environment + + dodoc CHANGELOG README + readme.gentoo_create_doc + + if use plugins + then + insinto /etc/"${PN}"/plugins + doins etc/"${PN}"/plugins/* + + insinto /usr/libexec/"${PN}"/plugins + doins share/"${PN}"/plugins/*.plugin + + exeinto /usr/libexec/"${PN}"/plugins + doexe share/"${PN}"/plugins/dyndns-host-open-helper + doexe share/"${PN}"/plugins/traffic-accounting-helper + doexe share/"${PN}"/plugins/traffic-accounting-log-rotate + doexe share/"${PN}"/plugins/traffic-accounting-show + + docinto plugins + dodoc share/"${PN}"/plugins/*.CHANGELOG + fi + + doman share/man/man1/arno-fwfilter.1 \ + share/man/man8/"${PN}".8 +} + +pkg_postinst () { + ewarn "When you stop this script, all firewall rules are flushed!" + ewarn
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 5b2e754aa5497048b8eff7599e18539d92ea78e8 Author: Ferenc Erki gmail com> AuthorDate: Thu Dec 7 06:23:21 2017 + Commit: Patrice Clement gentoo org> CommitDate: Thu Dec 21 20:33:57 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2e754a net-firewall/arno-iptables-firewall: remove old. Package-Manager: Portage-2.3.13, Repoman-2.3.3 .../arno-iptables-firewall-2.0.1f_rc1.ebuild | 92 -- 1 file changed, 92 deletions(-) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1f_rc1.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1f_rc1.ebuild deleted file mode 100644 index 6ed34cb59a3..000 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1f_rc1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit readme.gentoo systemd versionator - -DESCRIPTION="Arno's iptables firewall script" -HOMEPAGE="http://rocky.eld.leidenuniv.nl; - -MY_PV=$(replace_version_separator 3 -) -SRC_URI="http://rocky.eld.leidenuniv.nl/${PN}/${PN}_${MY_PV}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+plugins" - -# sys-apps/coreutils dependency wrt -# https://bugs.gentoo.org/show_bug.cgi?id=448716 - -DEPEND="" -RDEPEND="net-firewall/iptables - >sys-apps/coreutils-8.20-r1 - sys-apps/iproute2 - plugins? ( net-dns/bind-tools )" - -S="${WORKDIR}/${PN}_${MY_PV/rc/RC}" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf -before using this package. To start the script, run: - -/etc/init.d/${PN} start (for OpenRC) -systemctl start ${PN} (for systemd) - -If you want to start this script at boot, run: - -rc-update add ${PN} default (for OpenRC) -systemctl enable ${PN} (for systemd)" - -src_prepare() { - sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ - etc/"${PN}"/firewall.conf || die "Sed failed!" - sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ - lib/systemd/system/"${PN}.service" || die "Sed failed!" -} - -src_install() { - insinto /etc/"${PN}" - doins etc/"${PN}"/firewall.conf - doins etc/"${PN}"/custom-rules - - doinitd "${FILESDIR}/${PN}" - systemd_dounit lib/systemd/system/"${PN}.service" - - dobin bin/arno-fwfilter - dosbin bin/"${PN}" - - insinto /usr/libexec/"${PN}" - doins share/"${PN}"/environment - - dodoc CHANGELOG README - readme.gentoo_create_doc - - if use plugins - then - insinto /etc/"${PN}"/plugins - doins etc/"${PN}"/plugins/* - - insinto /usr/libexec/"${PN}"/plugins - doins share/"${PN}"/plugins/*.plugin - - exeinto /usr/libexec/"${PN}"/plugins - doexe share/"${PN}"/plugins/dyndns-host-open-helper - doexe share/"${PN}"/plugins/traffic-accounting-helper - doexe share/"${PN}"/plugins/traffic-accounting-log-rotate - doexe share/"${PN}"/plugins/traffic-accounting-show - - docinto plugins - dodoc share/"${PN}"/plugins/*.CHANGELOG - fi - - doman share/man/man1/arno-fwfilter.1 \ - share/man/man8/"${PN}".8 -} - -pkg_postinst () { - ewarn "When you stop this script, all firewall rules are flushed!" - ewarn "Make sure to not use multiple firewall scripts simultaneously" - ewarn "unless you know what you are doing!" - readme.gentoo_print_elog -}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: c7c0b8ed76e89b213c9bedfcb29fa297ad8e4a30 Author: Patrice Clement gentoo org> AuthorDate: Thu Dec 21 20:35:37 2017 + Commit: Patrice Clement gentoo org> CommitDate: Thu Dec 21 20:35:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c0b8ed net-firewall/arno-iptables-firewall: regenerate Manifest file. Package-Manager: Portage-2.3.13, Repoman-2.3.3 net-firewall/arno-iptables-firewall/Manifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index c4704b73c32..3cb0552cc31 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1,2 +1,2 @@ +DIST arno-iptables-firewall-2.0.2a.tar.gz 138141 BLAKE2B 1dad35b86ff5d93991b01ed0b3f4cd61eeab0d896b7c270d809600de972cae13828f192e8962199563b7ebf55f961a4cd96af9b15234e504df23615827aec638 SHA512 56ba669101375cccd29183e7069198f27d0656021310a90a82cb03ce417d4dec241084f3332f57d52f889b125836a6a08bb116453aaa9a4c3860204e109322e5 DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 BLAKE2B 0c8263004d2294f6eedd7f40e6c339da3a57db803ce1d064ac0bf4a3d2191b26fcd0b59185e51240bd0378365f9ca115c80c5edc256aa68359728c960ab8e6e3 SHA512 244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70 -DIST arno-iptables-firewall_2.0.1f-rc1.tar.gz 129834 BLAKE2B b4d0c11074e0f1102800708253a0f49f09d8c7fc0feac2818d076aafe22ef7792c2809c73ad1c1c066f85727f5e4f2a76fd46d88ac1dc56095a74ed597b6 SHA512 cf7c2f97e74e01be48a8206be3116156740dfd2022df957651b587de1492157363249c067a778209c1e239f53c30426c32e6b1f901949c37ab2b5d690542d620
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: e640c289826e5037be0ad199f71dee10f760754c Author: Ferenc Erki gmail com> AuthorDate: Sun Oct 29 21:40:58 2017 + Commit: Patrice Clement gentoo org> CommitDate: Thu Dec 21 20:33:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e640c289 net-firewall/arno-iptables-firewall: version bump. Closes: https://bugs.gentoo.org/597274 Closes: https://github.com/gentoo/gentoo/pull/6076 Package-Manager: Portage-2.3.13, Repoman-2.3.3 .../arno-iptables-firewall-2.0.2a.ebuild | 95 ++ 1 file changed, 95 insertions(+) diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.2a.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.2a.ebuild new file mode 100644 index 000..b7750479cd0 --- /dev/null +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.2a.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit readme.gentoo-r1 systemd versionator + +DESCRIPTION="Arno's iptables firewall script" +HOMEPAGE="http://rocky.eld.leidenuniv.nl; + +MY_PV=$(replace_version_separator 3 -) +MY_PV=${MY_PV/rc/RC} +SRC_URI="https://github.com/${PN}/aif/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins" + +# sys-apps/coreutils dependency wrt +# https://bugs.gentoo.org/show_bug.cgi?id=448716 + +DEPEND="" +RDEPEND="net-firewall/ipset + net-firewall/iptables + >=sys-apps/coreutils-8.21 + sys-apps/iproute2 + plugins? ( net-dns/bind-tools )" + +S="${WORKDIR}/aif-${MY_PV}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf +before using this package. To start the script, run: + +/etc/init.d/${PN} start (for OpenRC) +systemctl start ${PN} (for systemd) + +If you want to start this script at boot, run: + +rc-update add ${PN} default (for OpenRC) +systemctl enable ${PN} (for systemd)" + +src_prepare() { + sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ + etc/"${PN}"/firewall.conf || die "Sed failed!" + sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ + lib/systemd/system/"${PN}.service" || die "Sed failed!" + eapply_user +} + +src_install() { + insinto /etc/"${PN}" + doins etc/"${PN}"/firewall.conf + doins etc/"${PN}"/custom-rules + + doinitd "${FILESDIR}/${PN}" + systemd_dounit lib/systemd/system/"${PN}.service" + + dobin bin/arno-fwfilter + dosbin bin/"${PN}" + + insinto /usr/libexec/"${PN}" + doins share/"${PN}"/environment + + dodoc CHANGELOG README + readme.gentoo_create_doc + + if use plugins + then + insinto /etc/"${PN}"/plugins + doins etc/"${PN}"/plugins/* + + insinto /usr/libexec/"${PN}"/plugins + doins share/"${PN}"/plugins/*.plugin + + exeinto /usr/libexec/"${PN}"/plugins + doexe share/"${PN}"/plugins/dyndns-host-open-helper + doexe share/"${PN}"/plugins/traffic-accounting-helper + doexe share/"${PN}"/plugins/traffic-accounting-log-rotate + doexe share/"${PN}"/plugins/traffic-accounting-show + + docinto plugins + dodoc share/"${PN}"/plugins/*.CHANGELOG + fi + + doman share/man/man1/arno-fwfilter.1 \ + share/man/man8/"${PN}".8 +} + +pkg_postinst () { + ewarn "When you stop this script, all firewall rules are flushed!" + ewarn "Make sure to not use multiple firewall scripts simultaneously" + ewarn "unless you know what you are doing!" + readme.gentoo_print_elog +}
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/files/, net-firewall/arno-iptables-firewall/
commit: bb22e9883c77f170e6eab38d8fdc0972b461d15d Author: Ian Delaney gentoo org> AuthorDate: Wed Oct 7 06:54:02 2015 + Commit: Ian Delaney gentoo org> CommitDate: Wed Oct 7 06:54:27 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb22e988 net-firewall/arno-iptables-firewall: remove -2.0.1d-r2 and its patches request by maintainer in Gentoo Bug: #559858 Package-Manager: portage-2.2.20.1 net-firewall/arno-iptables-firewall/Manifest | 1 - .../arno-iptables-firewall-2.0.1d-r2.ebuild| 90 -- .../files/arno-iptables-firewall.service | 14 .../files/rc.firewall_replace_opts.patch | 11 --- 4 files changed, 116 deletions(-) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index fe6daf6..098487d 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1,3 +1,2 @@ -DIST arno-iptables-firewall_2.0.1d.tar.gz 125329 SHA256 177343362063125985e8b0008fe69bc6ca8d3ba252cfa35a316e708f52fef9c6 SHA512 a99f4fcf4f84a47cc1bda26b39e4f3dc7e10b74f3aeaea8a2519bf18f43ff08ec0bfbd0f078ac36ce12da31d3ac0eabc51231b4559cadca13cd4d75e0940bf9d WHIRLPOOL 2dd56678015cf49ed9442c63c5455c70e72a6f252d9278a56ae1eaabda34d597c44f7fdb97695656882754776385778a5e67d83e7e35e4554e5765e3a0e68b13 DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 SHA256 fa7b865e5d9b8e077cba73b2f28695a2fd691092a0a7f9e1c16ee369fc27fe43 SHA512 244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70 WHIRLPOOL f6c1b5ade8b4acdcc4c8e90e19a84335c3932d2a58bbba2221a91b7cbd228c4d6072af6e21836314d86ef005780b47c5ce85198219b345116af529178e2133c1 DIST arno-iptables-firewall_2.0.1f-rc1.tar.gz 129834 SHA256 84f3e96bb85dbcad2916922d537aa0f188df59ece7ea9d9c0f669468938713e0 SHA512 cf7c2f97e74e01be48a8206be3116156740dfd2022df957651b587de1492157363249c067a778209c1e239f53c30426c32e6b1f901949c37ab2b5d690542d620 WHIRLPOOL 969e09b206cf1e132e93151461297fdb3b40ba849b4b4c9ff9e2ef8095526e4e8340b348e2bc97cfe9838b7de3f42cb1acae7c21d6261dcab5392e26ba81afc4 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d-r2.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d-r2.ebuild deleted file mode 100644 index b611732..000 --- a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1d-r2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit readme.gentoo systemd - -DESCRIPTION="Arno's iptables firewall script" -HOMEPAGE="http://rocky.eld.leidenuniv.nl; -SRC_URI="http://rocky.eld.leidenuniv.nl/${PN}/${PN}_${PV}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+plugins" - -# sys-apps/coreutils dependency wrt -# https://bugs.gentoo.org/show_bug.cgi?id=448716 - -DEPEND="" -RDEPEND="net-firewall/iptables - || ( sys-apps/coreutils-8.20-r1 ) - sys-apps/iproute2 - plugins? ( net-dns/bind-tools )" - -S="${WORKDIR}/${PN}_${PV}" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf -before using this package. To start the script, run: - -/etc/init.d/${PN} start (for openRC) -systemctl start ${PN} (for Systemd) - -If you want to start this script at boot, run: - -rc-update add ${PN} default (for openRC) -systemctl enable ${PN} (for Systemd)" - -src_prepare() { - sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ - etc/"${PN}"/firewall.conf || die "Sed failed!" -} - -src_install() { - - insinto /etc/"${PN}" - doins etc/"${PN}"/firewall.conf - doins etc/"${PN}"/custom-rules - - doinitd "${FILESDIR}/${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - - dobin bin/arno-fwfilter - dosbin bin/"${PN}" - - insinto /usr/libexec/"${PN}" - doins share/"${PN}"/environment - - dodoc CHANGELOG README - readme.gentoo_create_doc - - if use plugins - then - insinto /etc/"${PN}"/plugins - doins etc/"${PN}"/plugins/* - - insinto /usr/libexec/"${PN}"/plugins - doins share/"${PN}"/plugins/*.plugin - - exeinto /usr/libexec/"${PN}"/plugins - doexe share/"${PN}"/plugins/dyndns-host-open-helper - doexe share/"${PN}"/plugins/traffic-accounting-helper - doexe share/"${PN}"/plugins/traffic-accounting-log-rotate - doexe share/"${PN}"/plugins/traffic-accounting-show - - docinto plugins - dodoc share/"${PN}"/plugins/*.CHANGELOG - fi - - doman share/man/man1/arno-fwfilter.1 \ - share/man/man8/"${PN}".8 -} - -pkg_postinst () { - ewarn "When you stop this script, all firewall rules are flushed!" - ewarn
[gentoo-commits] repo/gentoo:master commit in: net-firewall/arno-iptables-firewall/
commit: 1de698ff655f0bb8686a5e078093ab7c47034cd0 Author: Ian Delaney gentoo org> AuthorDate: Sun Sep 13 02:57:03 2015 + Commit: Ian Delaney gentoo org> CommitDate: Sun Sep 13 02:57:47 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de698ff net-firewall/arno-iptables-firewall: bump, request sourced from bug #559858 Package-Manager: portage-2.2.20.1 net-firewall/arno-iptables-firewall/Manifest | 1 + .../arno-iptables-firewall-2.0.1f_rc1.ebuild | 93 ++ 2 files changed, 94 insertions(+) diff --git a/net-firewall/arno-iptables-firewall/Manifest b/net-firewall/arno-iptables-firewall/Manifest index 20eb318..fe6daf6 100644 --- a/net-firewall/arno-iptables-firewall/Manifest +++ b/net-firewall/arno-iptables-firewall/Manifest @@ -1,2 +1,3 @@ DIST arno-iptables-firewall_2.0.1d.tar.gz 125329 SHA256 177343362063125985e8b0008fe69bc6ca8d3ba252cfa35a316e708f52fef9c6 SHA512 a99f4fcf4f84a47cc1bda26b39e4f3dc7e10b74f3aeaea8a2519bf18f43ff08ec0bfbd0f078ac36ce12da31d3ac0eabc51231b4559cadca13cd4d75e0940bf9d WHIRLPOOL 2dd56678015cf49ed9442c63c5455c70e72a6f252d9278a56ae1eaabda34d597c44f7fdb97695656882754776385778a5e67d83e7e35e4554e5765e3a0e68b13 DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 SHA256 fa7b865e5d9b8e077cba73b2f28695a2fd691092a0a7f9e1c16ee369fc27fe43 SHA512 244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70 WHIRLPOOL f6c1b5ade8b4acdcc4c8e90e19a84335c3932d2a58bbba2221a91b7cbd228c4d6072af6e21836314d86ef005780b47c5ce85198219b345116af529178e2133c1 +DIST arno-iptables-firewall_2.0.1f-rc1.tar.gz 129834 SHA256 84f3e96bb85dbcad2916922d537aa0f188df59ece7ea9d9c0f669468938713e0 SHA512 cf7c2f97e74e01be48a8206be3116156740dfd2022df957651b587de1492157363249c067a778209c1e239f53c30426c32e6b1f901949c37ab2b5d690542d620 WHIRLPOOL 969e09b206cf1e132e93151461297fdb3b40ba849b4b4c9ff9e2ef8095526e4e8340b348e2bc97cfe9838b7de3f42cb1acae7c21d6261dcab5392e26ba81afc4 diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1f_rc1.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1f_rc1.ebuild new file mode 100644 index 000..f34f6c9 --- /dev/null +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-2.0.1f_rc1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit readme.gentoo systemd versionator + +DESCRIPTION="Arno's iptables firewall script" +HOMEPAGE="http://rocky.eld.leidenuniv.nl; + +MY_PV=$(replace_version_separator 3 -) +SRC_URI="http://rocky.eld.leidenuniv.nl/${PN}/${PN}_${MY_PV}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins" + +# sys-apps/coreutils dependency wrt +# https://bugs.gentoo.org/show_bug.cgi?id=448716 + +DEPEND="" +RDEPEND="net-firewall/iptables + >sys-apps/coreutils-8.20-r1 + sys-apps/iproute2 + plugins? ( net-dns/bind-tools )" + +S="${WORKDIR}/${PN}_${MY_PV/rc/RC}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS="You will need to configure /etc/${PN}/firewall.conf +before using this package. To start the script, run: + +/etc/init.d/${PN} start (for OpenRC) +systemctl start ${PN} (for systemd) + +If you want to start this script at boot, run: + +rc-update add ${PN} default (for OpenRC) +systemctl enable ${PN} (for systemd)" + +src_prepare() { + sed -i -e 's:/usr/local/share/:/usr/libexec/:' \ + etc/"${PN}"/firewall.conf || die "Sed failed!" + sed -i -e 's:/usr/local/sbin/:/usr/sbin/:' \ + lib/systemd/system/"${PN}.service" || die "Sed failed!" +} + +src_install() { + insinto /etc/"${PN}" + doins etc/"${PN}"/firewall.conf + doins etc/"${PN}"/custom-rules + + doinitd "${FILESDIR}/${PN}" + systemd_dounit lib/systemd/system/"${PN}.service" + + dobin bin/arno-fwfilter + dosbin bin/"${PN}" + + insinto /usr/libexec/"${PN}" + doins share/"${PN}"/environment + + dodoc CHANGELOG README + readme.gentoo_create_doc + + if use plugins + then + insinto /etc/"${PN}"/plugins + doins etc/"${PN}"/plugins/* + + insinto /usr/libexec/"${PN}"/plugins + doins share/"${PN}"/plugins/*.plugin + + exeinto /usr/libexec/"${PN}"/plugins + doexe share/"${PN}"/plugins/dyndns-host-open-helper + doexe share/"${PN}"/plugins/traffic-accounting-helper + doexe share/"${PN}"/plugins/traffic-accounting-log-rotate + doexe share/"${PN}"/plugins/traffic-accounting-show + + docinto plugins + dodoc share/"${PN}"/plugins/*.CHANGELOG + fi + + doman share/man/man1/arno-fwfilter.1 \ + share/man/man8/"${PN}".8 +} + +pkg_postinst () { + ewarn "When you stop this script,