talimat 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Description: Xinetd, * inetd * için güvenli bir değiştirme olan, genişletilmiş InterNET hizmetleri arka plan programıdır.
  2. # URL: ftp://anduin.linuxfromscratch.org/BLFS/xinetd/xinetd-2.3.15.tar.gz
  3. # Packager: milisarge
  4. # Depends on:
  5. name=xinetd
  6. version=2.3.15
  7. release=1
  8. source=(ftp://anduin.linuxfromscratch.org/BLFS/xinetd/$name-$version.tar.gz
  9. xinetd.conf chargen daytime echo systat xined_time )
  10. build() {
  11. cd $name-$version
  12. source /etc/blfs-bootscripts
  13. wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
  14. tar xvf $scripts-$scriptsversion.tar.bz2
  15. sed -i -e "s/exec_server/child_process/" xinetd/builtins.c
  16. sed -i -e "/register unsigned count/s/register//" xinetd/itox.c
  17. ./configure --prefix=/usr --mandir=/usr/share/man --with-loadavg
  18. make
  19. make DESTDIR=$PKG install
  20. install -v -m755 -d $PKG/etc
  21. cp -v $SRC/xinetd.conf $PKG/etc
  22. install -v -m755 -d $PKG/etc/xinetd.d
  23. cp -v $SRC/chargen $PKG/etc/xinetd.d
  24. install -v -m755 -d $PKG/etc/xinetd.d
  25. cp -v $SRC/daytime $PKG/etc/xinetd.d
  26. install -v -m755 -d $PKG/etc/xinetd.d
  27. cp -v $SRC/echo $PKG/etc/xinetd.d
  28. install -v -m755 -d $PKG/etc/xinetd.d
  29. cp -v $SRC/systat $PKG/etc/xinetd.d
  30. install -v -m755 -d $PKG/etc/xinetd.d
  31. cp -v $SRC/xined_time $PKG/etc/xinetd.d/time
  32. cd $scripts-$scriptsversion
  33. make DESTDIR=$PKG install-xinetd
  34. }