2002-01-27 00:58:36 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2002/01/27 05:58:36 brad 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
|
|
|
|
|
|
|
COMMENT= "small, easy to set up, fast and very secure FTP server"
|
|
|
|
|
2002-01-27 00:58:36 -05:00
|
|
|
DISTNAME= pure-ftpd-1.0.8
|
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
|
2001-12-17 10:56:28 -05:00
|
|
|
NEED_VERSION= 1.500
|
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
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= pureftpd
|
|
|
|
|
|
|
|
HOMEPAGE= http://pureftpd.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-12-28 00:03:27 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
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_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --with-everything \
|
2001-12-27 15:13:45 -05:00
|
|
|
--with-paranoidmsg
|
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-27 15:13:45 -05:00
|
|
|
FLAVORS= ldap mysql postgresql no_banner
|
2001-12-17 15:33:34 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2001-12-27 15:13:45 -05:00
|
|
|
.if ${FLAVOR:L:Mldap}
|
|
|
|
LIB_DEPENDS+= ldap.2,lber:openldap-client-2.*:databases/openldap
|
|
|
|
CONFIGURE_ARGS+= --with-ldap="${LOCALBASE}"
|
|
|
|
DOCS+= README.LDAP
|
|
|
|
CONF_FILE+= pureftpd-ldap.conf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mmysql}
|
|
|
|
LIB_DEPENDS+= lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
|
|
|
|
CONFIGURE_ARGS+= --with-mysql="${LOCALBASE}"
|
|
|
|
DOCS+= README.MySQL
|
|
|
|
CONF_FILE+= pureftpd-mysql.conf
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mpostgresql}
|
|
|
|
LIB_DEPENDS+= pq.2::databases/postgresql
|
|
|
|
CONFIGURE_ARGS+= --with-pgsql="${LOCALBASE}"
|
|
|
|
DOCS+= README.PGSQL
|
|
|
|
CONF_FILE+= pureftpd-pgsql.conf
|
|
|
|
.endif
|
|
|
|
|
2001-12-17 15:33:34 -05:00
|
|
|
.if ${FLAVOR:L:Mno_banner}
|
|
|
|
CONFIGURE_ARGS+= --without-banner
|
|
|
|
.endif
|
|
|
|
|
2001-12-27 15:13:45 -05:00
|
|
|
DOCS+= README README.Configuration-File README.Contrib \
|
2002-01-27 00:58:36 -05:00
|
|
|
README.Virtual-Users README.Authentication-Modules poweredby.jpg
|
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-01-27 00:58:36 -05:00
|
|
|
CONTRIB= xml_python_processors.txt sfv-crc-check.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>
|