talimat 727 B

1234567891011121314151617181920212223242526
  1. # Tanım: Resmi tftp sunucusu
  2. # URL: http://www.kernel.org/pub/software/network/tftp/tftp-hpa/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: ağ
  6. isim=tftp-hpa
  7. surum=5.2
  8. devir=1
  9. kaynak=(http://www.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-$surum.tar.gz
  10. tftpd.conf
  11. tftp-hpa-0.49-fortify-strcpy-crash.patch)
  12. derle() {
  13. cd ${isim}-${surum}
  14. # fix #28103
  15. patch -Np1 -i ../tftp-hpa-0.49-fortify-strcpy-crash.patch
  16. ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin --without-tcpwrappers
  17. make
  18. make INSTALLROOT="${PKG}" install
  19. install -D -m644 "${SRC}/tftpd.conf" "$PKG/etc/conf.d/tftpd"
  20. install -d "${PKG}/srv/tftp"
  21. # Remove conflict with iputils
  22. rm "${PKG}/usr/share/man/man8/tftpd.8"
  23. }