summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2018-07-24 09:48:15 +0100
committerAmy Liffey <amynka@gentoo.org>2018-07-24 09:54:59 +0100
commitb1a84c1d8f7266c74989a0ab68c71b70c047732d (patch)
treebb477329d0fac818c625ca600fe722cc4700dc4c /net-misc/netkit-telnetd
parentx11-misc/kapow: Old. (diff)
downloadgentoo-b1a84c1d8f7266c74989a0ab68c71b70c047732d.tar.gz
gentoo-b1a84c1d8f7266c74989a0ab68c71b70c047732d.tar.bz2
gentoo-b1a84c1d8f7266c74989a0ab68c71b70c047732d.zip
net-misc/netkit-telnetd: [QA] fix src_prepare failure
- change epatch to eapply, remove eutils eclass - add default ( eapply_user ) - change patch to -p1 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-misc/netkit-telnetd')
-rw-r--r--net-misc/netkit-telnetd/files/netkit-telnetd-0.17-cflags-gnu_source.patch8
-rw-r--r--net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild7
2 files changed, 8 insertions, 7 deletions
diff --git a/net-misc/netkit-telnetd/files/netkit-telnetd-0.17-cflags-gnu_source.patch b/net-misc/netkit-telnetd/files/netkit-telnetd-0.17-cflags-gnu_source.patch
index 1ebbda77c078..31be21deac14 100644
--- a/net-misc/netkit-telnetd/files/netkit-telnetd-0.17-cflags-gnu_source.patch
+++ b/net-misc/netkit-telnetd/files/netkit-telnetd-0.17-cflags-gnu_source.patch
@@ -1,5 +1,5 @@
---- telnetd/Makefile.orig 2004-09-29 22:16:50.175839840 -0500
-+++ telnetd/Makefile 2004-09-29 22:09:30.439689896 -0500
+--- a/telnetd/Makefile 2004-09-29 22:16:50.175839840 -0500
++++ b/telnetd/Makefile 2004-09-29 22:09:30.439689896 -0500
@@ -10,7 +10,7 @@
CFLAGS += '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS \
@@ -9,8 +9,8 @@
# LIBS += $(LIBTERMCAP)
OBJS = telnetd.o state.o termstat.o slc.o sys_term.o utility.o \
---- telnet/Makefile.orig 2004-11-01 15:23:29 -0500
-+++ telnet/Makefile 2004-11-01 16:05:05 -0500
+--- a/telnet/Makefile 2004-11-01 15:23:29 -0500
++++ b/telnet/Makefile 2004-11-01 16:05:05 -0500
@@ -6,7 +6,7 @@
#CXXFLAGS:=$(patsubst -O2, -g, $(CXXFLAGS))
diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
index 47aac67eb810..e041e858c76c 100644
--- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
+++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
PATCHLEVEL=41
DESCRIPTION="Standard Linux telnet client and server"
@@ -36,18 +36,19 @@ src_prepare() {
# better to just stay in sync with debian's own netkit-telnet
# package. Lots of bug fixes by them over time which were not in
# our telnetd.
- EPATCH_FORCE="yes" EPATCH_SUFFIX="diff" epatch "${WORKDIR}"/debian/patches
+ EPATCH_FORCE="yes" EPATCH_SUFFIX="diff" eapply "${WORKDIR}"/debian/patches
# Patch: [1]
# after the deb patch we need to add a small patch that defines
# gnu source. This is needed for gcc-3.4.x (needs to be pushed
# back to the deb folk?)
- epatch "${FILESDIR}"/netkit-telnetd-0.17-cflags-gnu_source.patch
+ eapply "${FILESDIR}"/netkit-telnetd-0.17-cflags-gnu_source.patch
# Fix portability issues.
sed -i \
-e 's:echo -n:printf %s:' \
configure || die
+ default
}
src_configure() {