2014-09-28 21:12:50 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pure-ftpd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-06-27 13:23:02 +02:00
|
|
|
PURE_FTPD_VERSION = 1.0.41
|
2014-09-28 21:12:50 +02:00
|
|
|
PURE_FTPD_SITE = http://download.pureftpd.org/pub/pure-ftpd/releases
|
|
|
|
PURE_FTPD_LICENSE = ISC
|
|
|
|
PURE_FTPD_LICENSE_FILES = COPYING
|
|
|
|
PURE_FTPD_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
PURE_FTPD_CONF_OPTS = \
|
2014-09-28 21:12:50 +02:00
|
|
|
--with-altlog \
|
|
|
|
--with-puredb \
|
|
|
|
--with-rfc2640
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
PURE_FTPD_CONF_OPTS += --with-capabilities
|
2014-09-28 21:12:50 +02:00
|
|
|
PURE_FTPD_DEPENDENCIES += libcap
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
PURE_FTPD_CONF_OPTS += --without-capabilities
|
2014-09-28 21:12:50 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
PURE_FTPD_CONF_OPTS += --with-tls
|
2014-09-28 21:12:50 +02:00
|
|
|
PURE_FTPD_DEPENDENCIES += openssl
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2014-09-28 21:12:50 +02:00
|
|
|
PURE_FTPD_CONF_ENV += LIBS='-lssl -lcrypto -lz'
|
|
|
|
endif
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
PURE_FTPD_CONF_OPTS += --without-tls
|
2014-09-28 21:12:50 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|