milis/talimatname/genel/x/xinetd/talimat

52 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Xinetd, * inetd * için güvenli bir değiştirme olan, genişletilmiş InterNET hizmetleri arka plan programıdır.
2018-07-25 10:55:09 +02:00
# URL: https://github.com/xinetd-org/xinetd
2018-06-09 00:06:58 +02:00
# Paketçi: milisarge
# Gerekler:
2018-07-25 10:55:09 +02:00
# Grup: ağ sistem
2018-06-09 00:06:58 +02:00
isim=xinetd
surum=2.3.15
devir=1
kaynak=(ftp://anduin.linuxfromscratch.org/BLFS/xinetd/$isim-$surum.tar.gz
xinetd.conf chargen daytime echo systat xined_time )
derle() {
cd $isim-$surum
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
sed -i -e "s/exec_server/child_process/" xinetd/builtins.c
sed -i -e "/register unsigned count/s/register//" xinetd/itox.c
./configure --prefix=/usr --mandir=/usr/share/man --with-loadavg
make
make DESTDIR=$PKG install
install -v -m755 -d $PKG/etc
cp -v $SRC/xinetd.conf $PKG/etc
install -v -m755 -d $PKG/etc/xinetd.d
cp -v $SRC/chargen $PKG/etc/xinetd.d
install -v -m755 -d $PKG/etc/xinetd.d
cp -v $SRC/daytime $PKG/etc/xinetd.d
install -v -m755 -d $PKG/etc/xinetd.d
cp -v $SRC/echo $PKG/etc/xinetd.d
install -v -m755 -d $PKG/etc/xinetd.d
cp -v $SRC/systat $PKG/etc/xinetd.d
install -v -m755 -d $PKG/etc/xinetd.d
cp -v $SRC/xined_time $PKG/etc/xinetd.d/time
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-xinetd
}