aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-02-21 16:05:27 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-02-21 16:05:27 +0000
commita782ac42d5d41c4ccdc2b2ecdc57d25126dead0e (patch)
treebf8d8d5ac2807bf3a3622948a57592a4b7e72a44 /ftp
parent96a33532bb93c2175d08546087e58024b5025517 (diff)
downloadports-a782ac42d5d41c4ccdc2b2ecdc57d25126dead0e.tar.gz
ports-a782ac42d5d41c4ccdc2b2ecdc57d25126dead0e.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pure-ftpd/Makefile21
-rw-r--r--ftp/pure-ftpd/distinfo6
-rw-r--r--ftp/pure-ftpd/files/pure-ftpd.sh.in (renamed from ftp/pure-ftpd/files/pure-ftpd.sh.sample)0
-rw-r--r--ftp/pure-ftpd/pkg-plist1
4 files changed, 15 insertions, 13 deletions
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index 3502a99ba1e1..026538658928 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -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}
diff --git a/ftp/pure-ftpd/distinfo b/ftp/pure-ftpd/distinfo
index 9316f6bbda77..786df9622d85 100644
--- a/ftp/pure-ftpd/distinfo
+++ b/ftp/pure-ftpd/distinfo
@@ -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
diff --git a/ftp/pure-ftpd/files/pure-ftpd.sh.sample b/ftp/pure-ftpd/files/pure-ftpd.sh.in
index 991897b0c7b6..991897b0c7b6 100644
--- a/ftp/pure-ftpd/files/pure-ftpd.sh.sample
+++ b/ftp/pure-ftpd/files/pure-ftpd.sh.in
diff --git a/ftp/pure-ftpd/pkg-plist b/ftp/pure-ftpd/pkg-plist
index 893595d9d2f9..aa42fcb858fe 100644
--- a/ftp/pure-ftpd/pkg-plist
+++ b/ftp/pure-ftpd/pkg-plist
@@ -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