summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-firewall/ferm/Manifest1
-rw-r--r--net-firewall/ferm/ferm-2.4.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/net-firewall/ferm/Manifest b/net-firewall/ferm/Manifest
index 94d24e25886e..5dd27c55ff04 100644
--- a/net-firewall/ferm/Manifest
+++ b/net-firewall/ferm/Manifest
@@ -1,3 +1,4 @@
DIST ferm-2.3.1.tar.gz 126720 SHA256 8a5444e2844023798e5c681516253c1d3c948ad8aa3b93bd3ce8902945b38de9 SHA512 3d1901dac691334f6f30ca175f2ad1909146479c7dcc43bc8e8ee8fc361eb3d0c4fd6d18546613ac226da7e4e7e891428e4dda37b48f66b0884fdb97cd84e267 WHIRLPOOL 2402d570ab5502dc78c88872773810cfc77699764bef8a2496a627f4e0f2fdea2250a24df8f35e8e6a2415a151d8571854157d45e60965b0c19eb1a5631deaf3
DIST ferm-2.3.tar.gz 125706 SHA256 9de83d3e5f6e459f27140ae50610ed9419ac4f7b90d8d51e54c1172ea11ba64b SHA512 0df172fcae0d862df1d2840c401ebf5a20a609f447301c398c0d5f9992d07af23b09530f4214d3debd231f35b1d7c76324f57d134225cf884008daec1c3c76f8 WHIRLPOOL 327b870c191cb25839bd2a08cf5ab1e9d2b87ccffdd81cc4f004c68492fb2914d712332553fbd5b1d189e9beedf64b6f4622073a76e931da9f20f9cf418f77fe
+DIST ferm-2.4.1.tar.xz 71324 SHA256 8a6f7d5beeac07c574bef7a6f938ef543c08aaa0b9980830b9dafb11cae468bb SHA512 beea4b8dd04e00662ef380442f8249c2d2dadf6d35b90e415038df807c8d08295d2575efbf3265f48f5e92afa174135a9c662f74d52545dd3e1c55a1436aa5bb WHIRLPOOL d2d115112a538ef39160fd0906d6abb9b3deb2f4a70adf77f4e84170f8d355063c8806d3587175dc5cba0c0a429fdcb713ab7ce4d57cd5a5f6683721fc5276ad
DIST ferm-2.4.tar.gz 128776 SHA256 1293d56d6e9d3e3a389c54919fee5a4323ce81fc8b25eee8f3296a858410d470 SHA512 0b36b95a5ebb4cd306f9ab84ea12ce16c15d56ecc70c895261c74310f2474946ec1e73d63e7cda5becbfa875091c1362c715226776793c5b6ed179bf543ab27e WHIRLPOOL d4a2a10b6bc3b1b18ddcc1d3b0250f6054329ae8a6a727daf89dde7f9ba851c10b98ff9cc334f9357ea4cb932f821b6ecfd2e117cdd29b7b685afa724e9df6e8
diff --git a/net-firewall/ferm/ferm-2.4.1.ebuild b/net-firewall/ferm/ferm-2.4.1.ebuild
new file mode 100644
index 000000000000..339938cb9200
--- /dev/null
+++ b/net-firewall/ferm/ferm-2.4.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd versionator
+
+MY_PV=$(get_version_component_range 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"
+
+# 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"
+}