summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2021-02-12 15:56:55 +0000
committerSam James <sam@gentoo.org>2021-02-12 17:01:02 +0000
commit41fb983d5be774258ccb19471828683e1196ac75 (patch)
treeea5579411f9ac4cf52eac590b906ce4b30de6ba0
parentdev-python/genshi: version bump to 0.7.5 (diff)
downloadgentoo-41fb983d5be774258ccb19471828683e1196ac75.tar.gz
gentoo-41fb983d5be774258ccb19471828683e1196ac75.tar.bz2
gentoo-41fb983d5be774258ccb19471828683e1196ac75.zip
net-firewall/ferm: bump to 2.6
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-firewall/ferm/Manifest1
-rw-r--r--net-firewall/ferm/ferm-2.6.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/net-firewall/ferm/Manifest b/net-firewall/ferm/Manifest
index 2d84da0c938..665bd18ca0e 100644
--- a/net-firewall/ferm/Manifest
+++ b/net-firewall/ferm/Manifest
@@ -1,3 +1,4 @@
DIST ferm-2.4.1.tar.xz 71324 BLAKE2B 290cd2f6fbb1ca1c1f060f998d84eaed2ba2a6ec8f736375a460a3ae81c6f5e67c174774065a09fbe155347f6dc1b7977321d65ac753f4c28f8a47cda8409dd8 SHA512 beea4b8dd04e00662ef380442f8249c2d2dadf6d35b90e415038df807c8d08295d2575efbf3265f48f5e92afa174135a9c662f74d52545dd3e1c55a1436aa5bb
DIST ferm-2.5.1.tar.xz 74860 BLAKE2B 8ad76918f45516dcbee18922600690f9d1c418ee62b0edc3eef43c09138fbf3c2d820cb692d855deb779adc183122591e88929f130b25fc658f4e1fae9393430 SHA512 bc7228fbf452722fef54519fec97d3548bc73ec5350aa1f7dd68aa2ac35c233f6fae6aeee6bf687c478cc58f20afab3ce25dd237cd68ebe2eb9b23c77d29e4ab
DIST ferm-2.5.tar.xz 74052 BLAKE2B daaf7ca8d132fe03b61fdc36aeb4ebe21076928fddf08b7e5be78df80a5759b1947a1c0ee1eff2e92c739b3af64978883bcbb21c4ad0cca9c8556bf9ea2ed6ca SHA512 f456141c939aaac390b27893d88eb5d532139cbe7bc33dd794f6b09b31ff218990c6ba76f2817c531cefeb948d6ee51e4b7ee092492cd9e5e711f794e4005399
+DIST ferm-2.6.tar.xz 76748 BLAKE2B 17c15e9d95c4562d1635715c599ab07fc98d8e9ebfcc332a42953fe279298799f26f7b3679f97e5dc9a82b745f70f54756fe2a9ed5763e91db15f7c0255c179e SHA512 af2bb852630304a86629c2ce3af8f557d17f59c704589ea130d8578f300a606e4fedbd39c88f89646df974947fc27982e3ea21de1187257afc74a6056fdf666c
diff --git a/net-firewall/ferm/ferm-2.6.ebuild b/net-firewall/ferm/ferm-2.6.ebuild
new file mode 100644
index 00000000000..fe419f389e4
--- /dev/null
+++ b/net-firewall/ferm/ferm-2.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+}