summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-10 00:32:16 +0000
committerSam James <sam@gentoo.org>2021-03-10 00:32:16 +0000
commita216984edccce985ef0c815bd561f3b80db7e7c5 (patch)
tree0c5e696f3101e0bf06c3d4c2cb7c68142fce15e4 /net-misc
parentsys-power/sispmctl: drop 4.0 (EAPI 5, invalid ROOT) (diff)
downloadgentoo-a216984edccce985ef0c815bd561f3b80db7e7c5.tar.gz
gentoo-a216984edccce985ef0c815bd561f3b80db7e7c5.tar.bz2
gentoo-a216984edccce985ef0c815bd561f3b80db7e7c5.zip
net-misc/knock: drop invalid EROOT usage
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/knock/knock-0.7-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/knock/knock-0.7-r1.ebuild b/net-misc/knock/knock-0.7-r1.ebuild
index 117341a6615e..5d3643d7508a 100644
--- a/net-misc/knock/knock-0.7-r1.ebuild
+++ b/net-misc/knock/knock-0.7-r1.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Simple port-knocking daemon"
-HOMEPAGE="https://www.zeroflux.org/projects/knock
- https://github.com/jvinet/knock"
+HOMEPAGE="https://www.zeroflux.org/projects/knock"
SRC_URI="https://www.zeroflux.org/proj/knock/files/${P}.tar.gz"
LICENSE="GPL-2+"
@@ -22,6 +21,7 @@ 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
}
@@ -31,7 +31,7 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" docdir="${EROOT}/usr/share/doc/${PF}" install
+ emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install
if use server ; then
newinitd "${FILESDIR}"/knockd.initd.2 knock