2009-05-03 07:06:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.41 2009/05/03 11:06:31 chl Exp $
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2007-09-01 16:11:21 -04:00
|
|
|
COMMENT= small, easy to set up, fast and very secure FTP server
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2009-05-03 07:06:31 -04:00
|
|
|
DISTNAME= pure-ftpd-1.0.22
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
CATEGORIES= net
|
2002-02-21 22:14:33 -05:00
|
|
|
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
|
2002-08-25 18:57:56 -04:00
|
|
|
ftp://ftp2.fr.pureftpd.org/pub/mirrors/ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \
|
|
|
|
ftp://ftp3.fr.pureftpd.org/pure-ftpd/releases/ \
|
2002-08-26 10:39:29 -04:00
|
|
|
ftp://ftp.dk.pureftpd.org/mirrors/pure-ftpd/releases/ \
|
2002-03-28 22:30:00 -05:00
|
|
|
ftp://ftp.es.pureftpd.org/mirror/pureftpd/latest/releases/ \
|
2002-11-23 16:02:14 -05:00
|
|
|
ftp://ftp.nl.pureftpd.org/pub/pure-ftpd/releases/ \
|
2002-02-21 22:14:33 -05:00
|
|
|
ftp://ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \
|
2002-08-25 18:57:56 -04:00
|
|
|
ftp://ftp.cn.pureftpd.org/pub/pureftpd/pure-ftpd/releases/ \
|
2002-05-15 13:42:24 -04:00
|
|
|
${MASTER_SITE_SOURCEFORGE:=pureftpd/}
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2002-03-11 13:00:30 -05:00
|
|
|
HOMEPAGE= http://www.pureftpd.org/
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2007-09-01 16:11:21 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2003-06-18 06:33:46 -04:00
|
|
|
# BSD
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c crypto ssl
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2001-12-28 00:03:27 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2003-11-04 19:13:17 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
CONFIGURE_ARGS+= --with-everything \
|
2003-01-30 14:56:58 -05:00
|
|
|
--with-paranoidmsg \
|
2009-05-03 07:06:31 -04:00
|
|
|
--with-rfc2640 \
|
2006-03-03 23:30:11 -05:00
|
|
|
--with-tls
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2009-05-03 07:06:31 -04:00
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
2003-05-23 18:30:58 -04:00
|
|
|
FLAVORS= ldap mysql postgresql no_banner virtual_chroot
|
2001-12-17 15:33:34 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2001-12-27 15:13:45 -05:00
|
|
|
.if ${FLAVOR:L:Mldap}
|
2009-03-16 09:21:22 -04:00
|
|
|
LIB_DEPENDS+= ldap.>=2,lber:openldap-client->=2,<3:databases/openldap
|
2001-12-27 15:13:45 -05:00
|
|
|
CONFIGURE_ARGS+= --with-ldap="${LOCALBASE}"
|
2002-02-21 22:14:33 -05:00
|
|
|
DOCS+= README.LDAP pureftpd.schema
|
2001-12-27 15:13:45 -05:00
|
|
|
CONF_FILE+= pureftpd-ldap.conf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mmysql}
|
2006-08-03 19:15:57 -04:00
|
|
|
LIB_DEPENDS+= lib/mysql/mysqlclient.>=10::databases/mysql
|
2001-12-27 15:13:45 -05:00
|
|
|
CONFIGURE_ARGS+= --with-mysql="${LOCALBASE}"
|
|
|
|
DOCS+= README.MySQL
|
|
|
|
CONF_FILE+= pureftpd-mysql.conf
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB+= m z
|
2001-12-27 15:13:45 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mpostgresql}
|
2006-08-03 19:15:57 -04:00
|
|
|
LIB_DEPENDS+= pq.>=2::databases/postgresql
|
2001-12-27 15:13:45 -05:00
|
|
|
CONFIGURE_ARGS+= --with-pgsql="${LOCALBASE}"
|
|
|
|
DOCS+= README.PGSQL
|
|
|
|
CONF_FILE+= pureftpd-pgsql.conf
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB+= m z
|
2001-12-27 15:13:45 -05:00
|
|
|
.endif
|
|
|
|
|
2001-12-17 15:33:34 -05:00
|
|
|
.if ${FLAVOR:L:Mno_banner}
|
|
|
|
CONFIGURE_ARGS+= --without-banner
|
|
|
|
.endif
|
|
|
|
|
2003-05-23 18:30:58 -04:00
|
|
|
.if ${FLAVOR:L:Mvirtual_chroot}
|
|
|
|
CONFIGURE_ARGS+= --with-virtualchroot
|
|
|
|
.endif
|
|
|
|
|
2003-08-12 19:18:35 -04:00
|
|
|
DOCS+= README README.Configuration-File README.Contrib README.TLS \
|
2002-03-28 22:30:00 -05:00
|
|
|
README.Virtual-Users README.Authentication-Modules pure-ftpd.png
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
2002-11-23 16:02:14 -05:00
|
|
|
CONTRIB= xml_python_processors.txt pure-vpopauth.pl
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pure-ftpd
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pure-ftpd
|
2002-01-10 15:56:15 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/configuration-file/pure-config.pl \
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
${PREFIX}/sbin
|
2002-01-10 15:56:15 -05:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/configuration-file/pure-ftpd.conf \
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
${PREFIX}/share/examples/pure-ftpd/pure-ftpd.conf.sample
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/pure-ftpd
|
2001-12-27 15:13:45 -05:00
|
|
|
.if defined(CONF_FILE) && !empty(CONF_FILE)
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${CONF_FILE} \
|
|
|
|
${PREFIX}/share/examples/pure-ftpd
|
|
|
|
.endif
|
add pure-ftpd port
--
Pure-FTPd is a fast, production-quality, standard-conformant FTP server,
based upon Troll-FTPd.
Unlike other popular FTP servers, it's designed to be secure in default
configuration, has no known buffer overflow, it is really trivial to set
up and it is especially designed for modern kernels.
Features include chroot()ed home directories, virtual domains, built-in
'ls', anti-warez system, bounded ports for passive downloads, FXP
protocol, bandwidth throttling, ratios, LDAP, customizable SQL, fortune
files, Apache-like log files, fast standalone mode, text / HTML / XML
real-time status report, virtual users, virtual quotas and more.
2001-12-14 11:31:32 -05:00
|
|
|
cd ${WRKSRC}/contrib; ${INSTALL_DATA} ${CONTRIB} \
|
|
|
|
${PREFIX}/share/examples/pure-ftpd
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|