milis/talimatname/genel/x/xinetd/talimat

51 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Xinetd, * inetd * için güvenli bir değiştirme olan, genişletilmiş InterNET hizmetleri arka plan programıdır.
2016-02-24 01:27:23 +01:00
# URL: ftp://anduin.linuxfromscratch.org/BLFS/xinetd/xinetd-2.3.15.tar.gz
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
name=xinetd
version=2.3.15
release=1
source=(ftp://anduin.linuxfromscratch.org/BLFS/xinetd/$name-$version.tar.gz
2016-07-23 10:24:05 +02:00
xinetd.conf chargen daytime echo systat xined_time )
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
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
2016-07-23 10:24:05 +02:00
cp -v $SRC/xined_time $PKG/etc/xinetd.d/time
2016-02-24 01:27:23 +01:00
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-xinetd
}