summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/ferm/ferm-2.3.ebuild')
-rw-r--r--net-firewall/ferm/ferm-2.3.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-firewall/ferm/ferm-2.3.ebuild b/net-firewall/ferm/ferm-2.3.ebuild
new file mode 100644
index 00000000000..de30150e00d
--- /dev/null
+++ b/net-firewall/ferm/ferm-2.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+# does not install any perl libs
+RDEPEND="dev-lang/perl:*
+ net-firewall/iptables
+ virtual/perl-File-Spec"
+
+DOCS=( AUTHORS NEWS README TODO doc/ferm.txt examples/ )
+HTML_DOCS=( doc/ferm.html )
+
+src_compile() { :; }
+
+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"
+}