Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1272 - Splitting netkit telnet

Attached to Project: Arch Linux
Opened by Julian Wiesener (yofuh) - Thursday, 19 August 2004, 21:27 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hi,

ithink its a good idea to split netkit-telnet into two packages to have on client only telnet-package. The reason is very simple, telnet is the most time only wantet as a client, noone who wants use telnet for debuging remote smtps likes to run xinetd on the machine.


PKGFILE for the Client:

pkgname=netkit-telnet
pkgver=0.17
pkgrel=5
pkgdesc="A telnet client"
depends=('ncurses')
source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.
gz $pkgname-$pkgver.patch)
md5sums=('d6beabaaf53fe6e382c42ce3faa05a36' 'd56497f2c6b96e8909ed57f1be19411d')

build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i ../$pkgname-$pkgver.patch
./configure --prefix=/usr --installroot=$startdir/pkg
make || return 1
mkdir -p $startdir/pkg/usr/{bin,sbin,man/man1,man/man5,man/man8} $startdir/pkg
make install
rm -rf $startdir/pkg/usr/{sbin,man/man8}
}


PKGFILE for the server:

pkgname=netkit-telnetd
pkgver=0.17
pkgrel=1
pkgdesc="A telnet Server"
depends=('ncurses' 'xinetd')
provides=(netkit-telnet)
conflicts=(netkit-telnet)
source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-$pkgver
.tar.gz netkit-telnet-$pkgver.patch telnet.xinetd)
md5sums=('d6beabaaf53fe6e382c42ce3faa05a36' 'd56497f2c6b96e8909ed57f1be19411d' \
'c6e6ca4ba8e084be8ce2a170bebc17cc')

build() {
cd $startdir/src/netkit-telnet-$pkgver
patch -Np1 -i ../netkit-telnet-$pkgver.patch
./configure --prefix=/usr --installroot=$startdir/pkg
make || return 1
mkdir -p $startdir/pkg/usr/{bin,sbin,man/man1,man/man5,man/man8} $startdir/pkg
/etc/xinetd.d
make install
install -m644 $startdir/src/telnet.xinetd $startdir/pkg/etc/xinetd.d/telnet
}


the last is the orginal PKGFILE bur with conflickts, and provides. The importance change is the pkgdesc, its not realy usefull to cal it telnet client an require xinetd.
This task depends upon

Closed by  Judd Vinet (judd)
Friday, 20 August 2004, 16:53 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Friday, 20 August 2004, 16:53 GMT
I'm not very fond of splitting up packages unless there's a good reason.

But you're right, nobody really runs a telnet server anymore. I'm going to leave the server binary in there (it's small) but remove the dependency on xinetd.

Loading...