28 lines
953 B
Plaintext
28 lines
953 B
Plaintext
|
# Tanım: Güvenli FTP sunucusu
|
|||
|
# URL: https://security.appspot.com/vsftpd.html
|
|||
|
# Paketçi: milisarge
|
|||
|
# Gerekler:
|
|||
|
# Grup: ağ
|
|||
|
|
|||
|
isim=vsftpd
|
|||
|
surum=3.0.3
|
|||
|
devir=1
|
|||
|
kaynak=(https://security.appspot.com/downloads/vsftpd-3.0.3.tar.gz)
|
|||
|
|
|||
|
derle() {
|
|||
|
cd ${isim}-${surum}
|
|||
|
# build-time config
|
|||
|
sed -e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' -i builddefs.h
|
|||
|
sed -e 's|/usr/share/empty|/var/empty|g' -i tunables.c vsftpd.conf.5 INSTALL
|
|||
|
# fix linking to openssl 1.1
|
|||
|
sed -e 's|SSL_library_init|SSL_CTX_new|' -i vsf_findlibs.sh
|
|||
|
make LINK=''
|
|||
|
install -Dm 755 ${isim} -t "${PKG}/usr/bin"
|
|||
|
install -Dm 644 ${isim}.conf -t "${PKG}/etc"
|
|||
|
install -Dm 644 ${isim}.8 -t "${PKG}/usr/share/man/man8"
|
|||
|
install -Dm 644 ${isim}.conf.5 -t "${PKG}/usr/share/man/man5"
|
|||
|
install -Dm 644 EXAMPLE/INTERNET_SITE/${isim}.xinetd "${PKG}/etc/xinetd.d/${isim}"
|
|||
|
install -Dm 644 RedHat/${isim}.log "${PKG}/etc/logrotate.d/${isim}"
|
|||
|
install -dm 755 "${PKG}/var/empty"
|
|||
|
}
|