2014-09-28 21:12:50 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pure-ftpd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-07-28 00:52:36 +02:00
|
|
|
PURE_FTPD_VERSION = 1.0.42
|
2014-09-28 21:12:50 +02:00
|
|
|
PURE_FTPD_SITE = http://download.pureftpd.org/pub/pure-ftpd/releases
|
2015-06-30 12:25:50 +02:00
|
|
|
PURE_FTPD_SOURCE = pure-ftpd-$(PURE_FTPD_VERSION).tar.bz2
|
2014-09-28 21:12:50 +02:00
|
|
|
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
|
|
|
|
|
2015-07-09 11:38:51 +02:00
|
|
|
ifeq ($(BR2_arc),y)
|
|
|
|
PURE_FTPD_CONF_ENV += ax_cv_check_cflags___fPIE=no ax_cv_check_ldflags___fPIE=no
|
|
|
|
endif
|
|
|
|
|
2014-09-28 21:12:50 +02:00
|
|
|
$(eval $(autotools-package))
|