Initial Commit
- initial default booting image
This commit is contained in:
40
package/pure-ftpd/Config.in
Normal file
40
package/pure-ftpd/Config.in
Normal file
@@ -0,0 +1,40 @@
|
||||
config BR2_PACKAGE_PURE_FTPD
|
||||
bool "pure-ftpd"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
Pure-FTPd is a free (BSD), secure, production-quality and
|
||||
standard- conformant FTP server. It doesn't provide useless
|
||||
bells and whistles, but focuses on efficiency and ease of
|
||||
use. It provides simple answers to common needs, plus unique
|
||||
useful features for personal users as well as hosting
|
||||
providers.
|
||||
|
||||
http://www.pureftpd.org
|
||||
|
||||
if BR2_PACKAGE_PURE_FTPD
|
||||
|
||||
config BR2_PACKAGE_PURE_FTPD_FTPWHO
|
||||
bool "ftpwho"
|
||||
help
|
||||
Enable the pure-ftpd command. Pure-ftpwho shows current
|
||||
Pure-ftpd client sessions. Only the system administrator
|
||||
may run this. Output can be text (default), HTML, XML data
|
||||
and parser-optimized.
|
||||
|
||||
config BR2_PACKAGE_PURE_FTPD_QUOTAS
|
||||
bool "quotas"
|
||||
help
|
||||
Enable virtual quotas. With virtual quotas, restrictions can
|
||||
be placed on the maximum number of files a user can store in
|
||||
his account. In addition, restrictions can also be placed on
|
||||
the total size.
|
||||
|
||||
config BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT
|
||||
bool "uploadscript"
|
||||
help
|
||||
Enable pure-upload script. Automatically run an external
|
||||
program after a successful upload.
|
||||
|
||||
endif
|
||||
3
package/pure-ftpd/pure-ftpd.hash
Normal file
3
package/pure-ftpd/pure-ftpd.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 c2bef41f9635c3a87efd65f089c16ca5df9fd02db199d9fdcf12b206b93d41a6 pure-ftpd-1.0.54.tar.bz2
|
||||
sha256 b0bc52c61f9265bc00c509bd40dab60950371166b59416a1484bf226f480796e COPYING
|
||||
89
package/pure-ftpd/pure-ftpd.mk
Normal file
89
package/pure-ftpd/pure-ftpd.mk
Normal file
@@ -0,0 +1,89 @@
|
||||
################################################################################
|
||||
#
|
||||
# pure-ftpd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PURE_FTPD_VERSION = 1.0.54
|
||||
PURE_FTPD_SITE = https://download.pureftpd.org/pub/pure-ftpd/releases
|
||||
PURE_FTPD_SOURCE = pure-ftpd-$(PURE_FTPD_VERSION).tar.bz2
|
||||
PURE_FTPD_LICENSE = ISC
|
||||
PURE_FTPD_LICENSE_FILES = COPYING
|
||||
PURE_FTPD_CPE_ID_VENDOR = pureftpd
|
||||
|
||||
PURE_FTPD_CONF_OPTS = \
|
||||
--with-altlog \
|
||||
--with-puredb
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ELFUTILS),y)
|
||||
PURE_FTPD_DEPENDENCIES += elfutils
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-capabilities
|
||||
PURE_FTPD_DEPENDENCIES += libcap
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-capabilities
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
|
||||
PURE_FTPD_DEPENDENCIES += libsodium
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
PURE_FTPD_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MARIADB),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr
|
||||
PURE_FTPD_DEPENDENCIES += mariadb
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-mysql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-ldap
|
||||
PURE_FTPD_DEPENDENCIES += openldap
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-ldap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-tls
|
||||
PURE_FTPD_DEPENDENCIES += host-pkgconf openssl
|
||||
PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-tls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-pgsql=$(STAGING_DIR)/usr
|
||||
PURE_FTPD_DEPENDENCIES += postgresql
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-pgsql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
||||
PURE_FTPD_CONF_ENV += ax_cv_check_cflags___fPIE=no ax_cv_check_ldflags___fPIE=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PURE_FTPD_FTPWHO),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-ftpwho
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PURE_FTPD_QUOTAS),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-quotas
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-uploadscript
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
PURE_FTPD_CONF_OPTS += --with-pam
|
||||
PURE_FTPD_DEPENDENCIES += linux-pam
|
||||
else
|
||||
PURE_FTPD_CONF_OPTS += --without-pam
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user