1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 1.0.21

- Add an option for charset conversion
- Add HTTP master site

PR:		ports/93646
Submitted by:	Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
Approved by:	maintainer
This commit is contained in:
Renato Botelho 2006-02-21 16:05:27 +00:00
parent 96a33532bb
commit a782ac42d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156591
4 changed files with 15 additions and 13 deletions

View File

@ -6,10 +6,10 @@
#
PORTNAME= pure-ftpd
PORTVERSION= 1.0.20
PORTREVISION= 4
PORTVERSION= 1.0.21
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
MASTER_SITES= http://download.pureftpd.org/pub/pure-ftpd/releases/ \
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/ \
@ -24,9 +24,8 @@ MAINTAINER= j@pureftpd.org
COMMENT= A small, easy to set up, fast and very secure FTP server
USE_BZIP2= yes
USE_REINPLACE= yes
USE_PERL5_RUN= yes
USE_RC_SUBR= yes
USE_RC_SUBR= pure-ftpd.sh
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-everything \
--with-paranoidmsg \
@ -47,7 +46,8 @@ OPTIONS= LDAP "Support for users in LDAP directories" off \
PERUSERLIMITS "Per-user concurrency limits" off \
THROTTLING "Bandwidth throttling" off \
BANNER "Show ${PORTNAME} welcome upon session start" on \
UPLOADSCRIPT "Support uploadscript daemon" off
UPLOADSCRIPT "Support uploadscript daemon" off \
UTF8 "Support for charset conversion (expreimental)" off
.include <bsd.port.pre.mk>
@ -109,6 +109,12 @@ CONFIGURE_ARGS+= --without-banner
CONFIGURE_ARGS+= --with-uploadscript
.endif
# RFC 2640 charset conversion requested?
.if defined(WITH_UTF8)
USE_ICONV= YES
CONFIGURE_ARGS+= --with-rfc2640
.endif
.if ${OSVERSION} > 500000
PAM_TEMPL?= ${FILESDIR}/pam.conf.5
.else
@ -155,9 +161,6 @@ post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%RC_SUBR%%|${RC_SUBR}|g" \
< ${FILESDIR}/pure-ftpd.sh.sample > ${WRKDIR}/pure-ftpd.sh
${INSTALL_SCRIPT} ${WRKDIR}/pure-ftpd.sh ${PREFIX}/etc/rc.d
.if defined(PAM_TEMPL)
${MKDIR} ${PAM_DIR}
${INSTALL_DATA} ${PAM_TEMPL} ${PAM_DIR}/${PAM_TARGET}

View File

@ -1,3 +1,3 @@
MD5 (pure-ftpd-1.0.20.tar.bz2) = e928e9e15adf6b52bfe6183fdad20144
SHA256 (pure-ftpd-1.0.20.tar.bz2) = 6b3fd0b7eca88a9ac7f9aba57d75ca6b20d363309be68f600a5a154db7bc24e9
SIZE (pure-ftpd-1.0.20.tar.bz2) = 470915
MD5 (pure-ftpd-1.0.21.tar.bz2) = ca8a8dbec0cd9c8ea92fc4c37ea9c410
SHA256 (pure-ftpd-1.0.21.tar.bz2) = f2f03e5bb42325b470b88e8ee7e6014226518b620beb5dd8cf1f07bcdb64559c
SIZE (pure-ftpd-1.0.21.tar.bz2) = 476117

View File

@ -5,7 +5,6 @@ etc/pure-ftpd.conf.sample
etc/pureftpd-ldap.conf.sample
etc/pureftpd-mysql.conf.sample
etc/pureftpd-pgsql.conf.sample
etc/rc.d/pure-ftpd.sh
sbin/pure-authd
sbin/pure-config.pl
sbin/pure-ftpd