milis/talimatname/genel/t/tftp-hpa/talimat

26 lines
727 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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"
}