summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ferm/ferm-2.1.1.ebuild')
-rw-r--r--net-misc/ferm/ferm-2.1.1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/ferm/ferm-2.1.1.ebuild b/net-misc/ferm/ferm-2.1.1.ebuild
new file mode 100644
index 000000000000..ca5cbbae2e0b
--- /dev/null
+++ b/net-misc/ferm/ferm-2.1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ferm/ferm-2.1.1.ebuild,v 1.1 2012/08/07 19:06:23 kensington Exp $
+
+EAPI=4
+
+inherit 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.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ net-firewall/iptables
+ virtual/perl-File-Spec"
+
+src_prepare() {
+ sed -e "s/COPYING//" -i Makefile || die
+}
+
+src_install () {
+ emake PREFIX="${D}/usr" DOCDIR="${D}/usr/share/doc/${PF}" install
+}
+
+pkg_postinst() {
+ einfo "See /usr/share/doc/${PF}/examples for sample configs"
+}