31 lines
868 B
Plaintext
31 lines
868 B
Plaintext
# Description: Internet service daemon
|
|
# URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
name=inetd
|
|
version=0.17
|
|
release=1
|
|
source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-base-$version.tar.gz \
|
|
$name-usagi-20030214.patch \
|
|
$name-break.patch \
|
|
$name-gcc4.patch \
|
|
inetd.conf inetd)
|
|
|
|
build() {
|
|
cd netkit-base-$version
|
|
patch -p1 < ../$name-usagi-20030214.patch
|
|
patch -p1 < ../$name-break.patch
|
|
patch -p1 < ../$name-gcc4.patch
|
|
./configure --prefix=/usr \
|
|
--installroot=$PKG \
|
|
--enable-ipv6
|
|
cd inetd
|
|
make
|
|
mkdir -p $PKG/etc/rc.d $PKG/usr/sbin $PKG/usr/man/man8
|
|
install -m 755 inetd $PKG/usr/sbin
|
|
install -m 644 inetd.8 $PKG/usr/man/man8
|
|
install -m 644 $SRC/inetd.conf $PKG/etc
|
|
install -m 755 $SRC/inetd $PKG/etc/rc.d
|
|
|
|
}
|