---- 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 \
# 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))
EAPI="6"
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
PATCHLEVEL=41
DESCRIPTION="Standard Linux telnet client and server"
# 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() {