summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Mózes <hydrapolic@gmail.com>2020-02-19 09:29:21 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-02-25 16:50:35 +0200
commit919b013d34bb99ab5339dc672a375acc7b9b7cd7 (patch)
tree6bc2c31122e2ad3605ae11757401e35e0c4d608d
parentdev-python/python-language-server: revbump due to changed RDEPEND (diff)
downloadgentoo-919b013d34bb99ab5339dc672a375acc7b9b7cd7.tar.gz
gentoo-919b013d34bb99ab5339dc672a375acc7b9b7cd7.tar.bz2
gentoo-919b013d34bb99ab5339dc672a375acc7b9b7cd7.zip
net-firewall/ferm: bump to 2.5.1
Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14704 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--net-firewall/ferm/Manifest1
-rw-r--r--net-firewall/ferm/ferm-2.5.1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/net-firewall/ferm/Manifest b/net-firewall/ferm/Manifest
index 2da3030f934..2d84da0c938 100644
--- a/net-firewall/ferm/Manifest
+++ b/net-firewall/ferm/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/net-firewall/ferm/ferm-2.5.1.ebuild b/net-firewall/ferm/ferm-2.5.1.ebuild
new file mode 100644
index 00000000000..38b74f9d23c
--- /dev/null
+++ b/net-firewall/ferm/ferm-2.5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_PV=$(ver_cut 1-2)
+
+DESCRIPTION="Command line util for managing firewall rules"
+HOMEPAGE="http://ferm.foo-projects.org/"
+SRC_URI="http://ferm.foo-projects.org/download/${MY_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"
+}