3c6f67587d
A lot of changes and bug fixes, including fix for the following security problem: http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2005/11/03 19:09:46 martti Exp $
|
|
|
|
DISTNAME= proftpd-1.3.0rc3
|
|
#PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
|
ftp://ftp.servus.at/ProFTPD/distrib/source/ \
|
|
ftp://ftp.fsn.hu/pub/proftpd/distrib/source/ \
|
|
ftp://ftp.middle-earth.it/proftpd/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= martti@NetBSD.org
|
|
HOMEPAGE= http://www.proftpd.org/
|
|
COMMENT= FTP server with Apache like configuration
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PKGINSTALL= yes
|
|
USE_TOOLS+= gmake
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
CONFIGURE_ARGS+= --disable-sendfile
|
|
CONFIGURE_ARGS+= --enable-ctrls
|
|
|
|
RCD_SCRIPTS= proftpd
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/proftpd/basic.conf \
|
|
${PKG_SYSCONFDIR}/proftpd.conf
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_MESSAGE.man= "Fixing paths in manual pages."
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_FILES.man= utils/ftpcount.1.in utils/ftptop.1.in utils/ftpwho.1.in
|
|
SUBST_SED.man= -e s,@LOCALSTATEDIR@/run/proftpd,${VARBASE}/run,
|
|
|
|
.include "options.mk"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/proftpd
|
|
.for i in NEWS README README.IPv6 README.LDAP README.PAM README.capabilities \
|
|
README.classes README.controls README.facl README.modules
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/proftpd
|
|
.endfor
|
|
.for i in Configuration.html faq.html license.txt
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/proftpd
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/proftpd
|
|
${INSTALL_DATA} ${WRKSRC}/sample-configurations/*.conf \
|
|
${PREFIX}/share/examples/proftpd
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|