# Tanım: Resmi tftp sunucusu # URL: http://www.kernel.org/pub/software/network/tftp/tftp-hpa/ # Paketçi: milisarge # Gerekler: # Grup: ağ isim=tftp-hpa surum=5.2 devir=1 kaynak=(http://www.kernel.org/pub/software/network/tftp/tftp-hpa/tftp-hpa-$surum.tar.gz tftpd.conf tftp-hpa-0.49-fortify-strcpy-crash.patch) derle() { cd ${isim}-${surum} # fix #28103 patch -Np1 -i ../tftp-hpa-0.49-fortify-strcpy-crash.patch ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin --without-tcpwrappers make make INSTALLROOT="${PKG}" install install -D -m644 "${SRC}/tftpd.conf" "$PKG/etc/conf.d/tftpd" install -d "${PKG}/srv/tftp" # Remove conflict with iputils rm "${PKG}/usr/share/man/man8/tftpd.8" }