vsftpd
This commit is contained in:
parent
c1be38f140
commit
e7f0724699
|
@ -2,6 +2,7 @@
|
|||
# URL: http://downloads.sourceforge.net/project/libtirpc
|
||||
# Paketçi: milisarge
|
||||
# Gerekler:
|
||||
# Grup: kütüphane
|
||||
|
||||
isim=libtirpc
|
||||
surum=0.3.2
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
# 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"
|
||||
}
|
Loading…
Reference in New Issue