talimat 1.3 KB

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