talimat 1020 B

123456789101112131415161718192021222324252627282930313233
  1. # Tanım: Inetd'nin güvenli sürümü
  2. # URL: http://www.xinetd.org/
  3. # Paketçi: milisarge
  4. # Gerekler: libtirpc
  5. # Grup: sistem
  6. isim=xinetd
  7. surum=2.3.15
  8. devir=1
  9. kaynak=(https://sources.archlinux.org/other/packages/xinetd/xinetd-2.3.15.tar.gz
  10. xinetd.conf
  11. servers
  12. services
  13. fix-CVE-2013-4342.patch)
  14. derle() {
  15. cd $SRC/$isim-$surum
  16. sed -i "s#${prefix}/man#${prefix}/share/man#" configure
  17. # fix #37310
  18. # https://bugzilla.redhat.com/show_bug.cgi?id=1006100#c
  19. patch -Np1 -i $SRC/fix-CVE-2013-4342.patch
  20. ./configure --prefix=/usr --sbindir=/usr/bin --without-libwrap
  21. CFLAGS+=' -I/usr/include/tirpc' LDFLAGS+=' -ltirpc' make
  22. make prefix=$PKG/usr DAEMONDIR=$PKG/usr/bin install
  23. install -Dm644 $SRC/xinetd.conf $PKG/etc/xinetd.conf
  24. install -Dm644 $SRC/servers $PKG/etc/xinetd.d/servers
  25. install -Dm644 $SRC/services $PKG/etc/xinetd.d/services
  26. install -Dm644 COPYRIGHT $PKG/usr/share/licenses/$isim/COPYRIGHT
  27. cd /sources/milis.git/ayarlar/servisler
  28. make DESTDIR=$PKG kur-xinetd
  29. rm -rf $PKG/etc/sysconfig
  30. }