pkgsrc/net/pure-ftpd/Makefile
xtraeme 22b580daff Update to 1.0.17a
Changes:

* Version 1.0.17a:

 + An old standing issue has been fixed : ungracefully aborted transfers
   caused the session to exit without removing ftpwho entry and atomic
   files. This fix also speeds up ftpwho and peruserlimit.

* Version 1.0.17:

 + The SSL certificate file can now be changed through a new configuration
   switch, --with-certfile. It doesn't depend on sysconfdir any more and it
   defaults to the original location : /etc/ssl/private/pure-ftpd.pem.
 + Shadowed NIS accounts and MacOS X Panther system accounts are now
   processed by the pure-pwconvert tool.
 + The server doesn't reject users any more on Linux when capabilities are
   used.
 + The documentation has been improved (man pages, README, FAQ, typos).
 + Optimizations have been made.
 + SO_REUSEPORT is now used on FreeBSD to always bind the ftp-data port.
 + SSL-related error messages are now more explicit.
 + The SITE TIME command has been implemented.
 + The sample PAM configuration file has been rewritten.
 + A logfile parser has been added to the contribs.
 + MacOS X Panther specific instructions have been added.
 + Upload is now atomic. A file is uploaded with a temporary name and it
   gets its final name only once the upload has been completed. If a file
   already exists with the same name, the content can be preserved until the
   new content has been fully transfered (using the new --notruncate run-time
    switch).
   Web servers will no more serve partially transfered files during uploads.
   The new handling of uploads also limits the races in virtual quota
   handling.

* Version 1.0.16c:

 + The PAM backend and the CGI mode were accidentally broken in version
   1.0.16b. This version fixes both issues.
 + The Norwegian translation has been updated.

* Version 1.0.16b:

 + The server now properly compiles with SSL/TLS on RedHat 9 systems.
 + pure-ftpwho now outputs nice-looking XHTML 1.1 conformant code, an XSS
   issue has been fixed and the local host name is now properly displayed in
   verbose mode.
 + The path to SSL certificates now follows the --sysconfdir prefix.
 + Minor optimizations have been made.
 + IPv4 and IPv6 addresses will now listen for connections even
   without the -4 switch on NetBSD and FreeBSD.
2003-12-18 04:26:05 +00:00

66 lines
2.2 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2003/12/18 04:26:05 xtraeme Exp $
#
DISTNAME= pure-ftpd-1.0.17a
CATEGORIES= net
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp2.fr.pureftpd.org/pub/mirrors/ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp3.fr.pureftpd.org/pure-ftpd/releases/ \
ftp://ftp.dk.pureftpd.org/mirrors/pure-ftpd/releases/ \
ftp://ftp.nl.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp.fr.pureftpd.org/pub/pure-ftpd/releases/ \
ftp://ftp.cn.pureftpd.org/pub/pureftpd/pure-ftpd/releases/ \
${MASTER_SITE_SOURCEFORGE:=pureftpd/}
MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.pureftpd.org/
COMMENT= FTP daemon with optional SQL support
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-everything \
--with-privsep \
--sysconfdir=${PKG_SYSCONFDIR}
.include "../../mk/bsd.prefs.mk"
.if defined(PURE_FTPD_USE_MYSQL) && !empty(PURE_FTPD_USE_MYSQL:M[Yy][Ee][Ss])
.include "../../databases/mysql-client/buildlink2.mk"
CONFIGURE_ARGS+= --with-mysql
CPPFLAGS+= -I${BUILDLINK_PREFIX.mysql-client}/include/mysql
LDFLAGS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql
LDFLAGS+= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql
BUILD_DEFS+= PURE_FTPD_USE_MYSQL
.endif
.if defined(PURE_FTPD_USE_PGSQL) && !empty(PURE_FTPD_USE_PGSQL:M[Yy][Ee][Ss])
.include "../../databases/postgresql-lib/buildlink2.mk"
CONFIGURE_ARGS+= --with-pgsql
CPPFLAGS+= -I${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql
BUILD_DEFS+= PURE_FTPD_USE_PGSQL
.endif
.if defined(PURE_FTPD_USE_TLS) && !empty(PURE_FTPD_USE_TLS:M[Yy][Ee][Ss])
.include "../../security/openssl/buildlink2.mk"
CONFIGURE_ARGS+= --with-tls
BUILD_DEFS+= PURE_FTPD_USE_TLS
.endif
.if defined(PURE_FTPD_USE_VIRTUAL_CHROOT) && !empty(PURE_FTPD_USE_VIRTUAL_CHROOT:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --with-virtualchroot
BUILD_DEFS+= PURE_FTPD_USE_VIRTUAL_CHROOT
.endif
RCD_SCRIPTS= pure_ftpd
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pure-ftpd
cd ${WRKSRC} && \
${INSTALL_DATA} README README.Authentication-Modules \
README.Configuration-File README.Contrib \
README.TLS README.Virtual-Users \
${PREFIX}/share/doc/pure-ftpd
.include "../../mk/bsd.pkg.mk"