talimat 953 B

12345678910111213141516171819202122232425262728
  1. # Tanım: Güvenli FTP sunucusu
  2. # URL: https://security.appspot.com/vsftpd.html
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: ağ
  6. isim=vsftpd
  7. surum=3.0.3
  8. devir=1
  9. kaynak=(https://security.appspot.com/downloads/vsftpd-3.0.3.tar.gz)
  10. derle() {
  11. cd ${isim}-${surum}
  12. # build-time config
  13. sed -e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' -i builddefs.h
  14. sed -e 's|/usr/share/empty|/var/empty|g' -i tunables.c vsftpd.conf.5 INSTALL
  15. # fix linking to openssl 1.1
  16. sed -e 's|SSL_library_init|SSL_CTX_new|' -i vsf_findlibs.sh
  17. make LINK=''
  18. install -Dm 755 ${isim} -t "${PKG}/usr/bin"
  19. install -Dm 644 ${isim}.conf -t "${PKG}/etc"
  20. install -Dm 644 ${isim}.8 -t "${PKG}/usr/share/man/man8"
  21. install -Dm 644 ${isim}.conf.5 -t "${PKG}/usr/share/man/man5"
  22. install -Dm 644 EXAMPLE/INTERNET_SITE/${isim}.xinetd "${PKG}/etc/xinetd.d/${isim}"
  23. install -Dm 644 RedHat/${isim}.log "${PKG}/etc/logrotate.d/${isim}"
  24. install -dm 755 "${PKG}/var/empty"
  25. }