33 lines
908 B
Plaintext
33 lines
908 B
Plaintext
# Description: Inetd daemon, FTP and telnet client
|
|
# URL: http://www.gnu.org/software/inetutils/inetutils.html
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: readline ncurses
|
|
|
|
name=inetutils
|
|
version=1.5
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
|
|
inetutils-$version.patch inetd.conf inetd)
|
|
|
|
build() {
|
|
cd inetutils-$version
|
|
|
|
patch -p1 -i $SRC/inetutils-$version.patch
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/sbin \
|
|
--localstatedir=/var \
|
|
--sysconfdir=/etc \
|
|
--disable-{servers,clients} \
|
|
--enable-{inetd,ftp,telnet}
|
|
make
|
|
|
|
for p in inetd ftp telnet; do
|
|
(cd $p; make DESTDIR=$PKG install)
|
|
done
|
|
|
|
install -d $PKG/etc/rc.d
|
|
install -m 644 $SRC/inetd.conf $PKG/etc
|
|
install -m 755 $SRC/inetd $PKG/etc/rc.d
|
|
}
|