From a216984edccce985ef0c815bd561f3b80db7e7c5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 10 Mar 2021 00:32:16 +0000 Subject: net-misc/knock: drop invalid EROOT usage Signed-off-by: Sam James --- net-misc/knock/knock-0.7-r1.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net-misc') 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 -- cgit v1.2.3-65-gdbad