Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1898 - sys-apps/netkit-base sample inetd.conf file should reflect telnetlogin
Summary: sys-apps/netkit-base sample inetd.conf file should reflect telnetlogin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-18 01:37 UTC by set_48035
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
modified ebuild (netkit-base-0.17-r6.ebuild,1.30 KB, text/plain)
2002-04-18 01:38 UTC, set_48035
Details

Note You need to log in before you can comment on or make changes to this bug.
Description set_48035 2002-04-18 01:37:17 UTC
When telnetd is installed, telnetlogin is also installed, which is a
safety wrapper around login. This modifies the sample inetd.conf file
which is installed to reflect the usage of telnetlogin. I believe debian
uses this by default, so it must not be too radical.

Here is a diff, and I will attach the complete ebuild.

Paul

--- netkit-base-0.17-r5.ebuild  Fri Feb  8 19:22:33 2002
+++ netkit-base-0.17-r6.ebuild  Thu Apr 18 02:26:34 2002
@@ -27,6 +27,12 @@
 
        if [ -z "`use build`" ]
        then
+               cd ${S}/etc.sample
+               sed -e 's:in\.telnetd$:in.telnetd -L /usr/sbin/telnetlogin:' \
+                       < inetd.conf > inetd.conf.new
+               mv inetd.conf.new inetd.conf
+               cd ${S}
+
                exeopts -m 755
                exeinto /usr/bin
                dosbin inetd/inetd
Comment 1 set_48035 2002-04-18 01:38:44 UTC
Created attachment 604 [details]
modified ebuild
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2002-05-02 00:33:56 UTC
thanks for the contribution!

Matt