Re: How compile telnet like Debian telnet?
>
> I have 2 machines, on the first I'm using Debian and on the other,
> a linux that I had compiled everthing, without using pre-compiled packages.
> In the second machine (not Debian), when I use /usr/bin/telnet in a xterm
> and do a ls -l /usr/lib in the remote machine (Every action that have a
> extended output do this), it logs out from the system, while on the Debian
> machine /usr/bin/telnet works fine. The package used was NetKit-0.09.tar.gz.
> If needed, I list all packages used (including the libs).
I'll give you here my list of commands that told me what packages etc
to get:
rulcmc:~$ dpkg -S /usr/bin/telnet #what package is telnet in?
netstd: /usr/bin/telnet #Ah, netstd.
$ dpkg -s netstd #does "dpkg -s" show a special source
Package: netstd #package (may differ)?
Status: install ok installed # (looking... no, must be in netstd.tar).
Priority: standard
Section: net
Installed-Size: 1459
Maintainer: Peter Tobias <tobias@et-inf.fho-emden.de>
Version: 2.13-1
Depends: cpp, libc5 (>= 5.4.0-0), libreadline2 (>= 2.1), ncurses3.0
Pre-Depends: netbase (>= 2.08)
Suggests: bind, wu-ftpd, mail-transport-agent
[..]
Now, get netstd_2.13-1.diff.gz, netstd_2.13-1.dsc, netstd_2.13.orig.tar.gz,
put them in some-dir, then
cd some-dir
dpkg-source -x netstd_2.13-1.dsc
cd netstd-2.13
dpkg-buildpackage
cd debian/tmp/usr/bin
ls -al telnet
And, there you've got your self-compiled telnet binary.
(for dpkg-source, you'll need dpkg-dev installed).
--
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: