diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-21 20:47:40 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-21 20:47:40 +0200 |
commit | 15c5ce385b135d4dfb5b1883510450f2df9fcbe8 (patch) | |
tree | aafa984ec7330630cc0937a2cc9f65eddaba5a38 /net-misc/knock | |
parent | net-misc/knock: Rollover stable keywords (diff) | |
download | gentoo-15c5ce385b135d4dfb5b1883510450f2df9fcbe8.tar.gz gentoo-15c5ce385b135d4dfb5b1883510450f2df9fcbe8.tar.bz2 gentoo-15c5ce385b135d4dfb5b1883510450f2df9fcbe8.zip |
net-misc/knock: Drop 0.7 (r0)
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc/knock')
-rw-r--r-- | net-misc/knock/knock-0.7.ebuild | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/net-misc/knock/knock-0.7.ebuild b/net-misc/knock/knock-0.7.ebuild deleted file mode 100644 index 2b61ae365f34..000000000000 --- a/net-misc/knock/knock-0.7.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -DESCRIPTION="A simple port-knocking daemon" -HOMEPAGE="http://www.zeroflux.org/projects/knock" -SRC_URI="http://www.zeroflux.org/proj/knock/files/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86" -IUSE="+server" - -DEPEND="server? ( net-libs/libpcap )" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -e "/^AM_CFLAGS/s: -g : :" \ - -e "/dist_doc_DATA/s:COPYING::" \ - -i Makefile.in || die - sed -e "s:/usr/sbin/iptables:/sbin/iptables:g" \ - -i knockd.conf || die -} - -src_configure() { - econf $(use_enable server knockd) -} - -src_install() { - emake DESTDIR="${D}" docdir="${EROOT}/usr/share/doc/${PF}" install - - if use server ; then - newinitd "${FILESDIR}"/knockd.initd.2 knock - newconfd "${FILESDIR}"/knockd.confd.2 knock - fi -} - -pkg_postinst() { - if use server && ! has_version net-firewall/iptables ; then - einfo - elog "You're really encouraged to install net-firewall/iptables to" - elog "actually modify your firewall and use the example configuration." - einfo - fi -} |