summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2022-07-13 07:06:51 +0000
committerSam James <sam@gentoo.org>2022-07-15 02:23:10 +0100
commitd927284e8cebc422680d483511f86c9d3ccc576f (patch)
treef15290d4d1e059b35ab36e00f7896d5d36d4449c /net-firewall
parentdev-libs/uulib: Fix the build with rlibtool (diff)
downloadgentoo-d927284e8cebc422680d483511f86c9d3ccc576f.tar.gz
gentoo-d927284e8cebc422680d483511f86c9d3ccc576f.tar.bz2
gentoo-d927284e8cebc422680d483511f86c9d3ccc576f.zip
net-firewall/ferm: bump to 2.7
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/ferm/Manifest1
-rw-r--r--net-firewall/ferm/ferm-2.7.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/net-firewall/ferm/Manifest b/net-firewall/ferm/Manifest
index 5911cbd03b28..c922ceca1f20 100644
--- a/net-firewall/ferm/Manifest
+++ b/net-firewall/ferm/Manifest
@@ -1,2 +1,3 @@
DIST ferm-2.5.1.tar.xz 74860 BLAKE2B 8ad76918f45516dcbee18922600690f9d1c418ee62b0edc3eef43c09138fbf3c2d820cb692d855deb779adc183122591e88929f130b25fc658f4e1fae9393430 SHA512 bc7228fbf452722fef54519fec97d3548bc73ec5350aa1f7dd68aa2ac35c233f6fae6aeee6bf687c478cc58f20afab3ce25dd237cd68ebe2eb9b23c77d29e4ab
DIST ferm-2.6.tar.xz 76748 BLAKE2B 17c15e9d95c4562d1635715c599ab07fc98d8e9ebfcc332a42953fe279298799f26f7b3679f97e5dc9a82b745f70f54756fe2a9ed5763e91db15f7c0255c179e SHA512 af2bb852630304a86629c2ce3af8f557d17f59c704589ea130d8578f300a606e4fedbd39c88f89646df974947fc27982e3ea21de1187257afc74a6056fdf666c
+DIST ferm-2.7.tar.xz 77320 BLAKE2B 1c7b9e111b86cebc5c0f503e96422d3411b14eb18621268653262926be3e2493b6e66869d607feddbcdb945dada8960f40f166202e3b61a6e93007683fa3a38b SHA512 bbc0e025514c8bf826dd0c13c24cba64b2729380bce5ab8f0e1a72c4f22471edc4fcd2c343cf9af97a2e9bd204ba27feefcfe21d4b0ce53837be042f863c9c24
diff --git a/net-firewall/ferm/ferm-2.7.ebuild b/net-firewall/ferm/ferm-2.7.ebuild
new file mode 100644
index 000000000000..13e74b23ec9e
--- /dev/null
+++ b/net-firewall/ferm/ferm-2.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="Command line util for managing firewall rules"
+HOMEPAGE="http://ferm.foo-projects.org/"
+SRC_URI="http://ferm.foo-projects.org/download/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+# Uses Internet connection while testing.
+RESTRICT="test"
+
+# does not install any perl libs
+RDEPEND="dev-lang/perl:*
+ net-firewall/iptables
+ virtual/perl-File-Spec"
+
+DOCS=( AUTHORS NEWS README.rst TODO doc/ferm.txt examples/ )
+HTML_DOCS=( doc/ferm.html )
+
+src_install() {
+ dosbin src/{,import-}ferm
+ systemd_dounit ferm.service
+
+ einstalldocs
+ doman doc/*.1
+}
+
+pkg_postinst() {
+ elog "See ${EROOT}/usr/share/doc/${PF}/examples for sample configs"
+}