diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /net-firewall/ferm/ferm-2.6.ebuild | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'net-firewall/ferm/ferm-2.6.ebuild')
-rw-r--r-- | net-firewall/ferm/ferm-2.6.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-firewall/ferm/ferm-2.6.ebuild b/net-firewall/ferm/ferm-2.6.ebuild new file mode 100644 index 000000000000..fe419f389e4c --- /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" +} |