Browse Source

pure-ftpd: Update to 1.0.47, enable tls (#1779)

android-5
Fredrik Fornwall 7 years ago
parent
commit
f72b5c93dd
  1. 11
      packages/pure-ftpd/build.sh
  2. 12
      packages/pure-ftpd/src-ftpd.h.patch

11
packages/pure-ftpd/build.sh

@ -1,15 +1,16 @@
TERMUX_PKG_HOMEPAGE=https://www.pureftpd.org/project/pure-ftpd TERMUX_PKG_HOMEPAGE=https://www.pureftpd.org/project/pure-ftpd
TERMUX_PKG_DESCRIPTION="Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server" TERMUX_PKG_DESCRIPTION="Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server"
TERMUX_PKG_VERSION=1.0.46 TERMUX_PKG_VERSION=1.0.47
TERMUX_PKG_SRCURL=https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SRCURL=https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=0609807335aade4d7145abdbb5cb05c9856a3e626babe90658cb0df315cb0a5c TERMUX_PKG_SHA256=4740c316f5df879a2d68464489fb9b8b90113fe7dce58e2cdd2054a4768f27ad
TERMUX_PKG_DEPENDS="libcrypt" TERMUX_PKG_DEPENDS="libcrypt, openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_lib_elf_elf_begin=no
ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=no
--with-ftpwho --with-ftpwho
--with-minimal --with-minimal
--with-nonroot --with-nonroot
--with-puredb --with-puredb
ac_cv_lib_elf_elf_begin=no --with-tls
ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=no
" "
TERMUX_PKG_CONFFILES="etc/pure-ftpd.conf" TERMUX_PKG_CONFFILES="etc/pure-ftpd.conf"

12
packages/pure-ftpd/src-ftpd.h.patch

@ -0,0 +1,12 @@
diff -u -r ../pure-ftpd-1.0.47/src/ftpd.h ./src/ftpd.h
--- ../pure-ftpd-1.0.47/src/ftpd.h 2017-08-19 01:47:43.000000000 +0200
+++ ./src/ftpd.h 2017-11-13 00:02:42.291967297 +0100
@@ -416,7 +416,7 @@
#ifdef WITH_TLS
# ifndef TLS_CONFDIR
-# define TLS_CONFDIR "/etc/ssl/private"
+# define TLS_CONFDIR CONFDIR "/ssl/private"
# endif
# ifndef TLS_CERTIFICATE_FILE
# define TLS_CERTIFICATE_FILE TLS_CONFDIR "/pure-ftpd.pem"
Loading…
Cancel
Save