aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-24 23:55:03 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-24 23:55:03 +0000
commit197cb33290dcd6b800cd1f68a8e574eebf2980d3 (patch)
tree52366b36a52dd7ec12187dce3adaf190e7e2a53e /ftp
parent918fae7abbac7655bdeb4f226518ed3655e25c19 (diff)
downloadports-197cb33290dcd6b800cd1f68a8e574eebf2980d3.tar.gz
ports-197cb33290dcd6b800cd1f68a8e574eebf2980d3.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/smbftpd/Makefile23
-rw-r--r--ftp/smbftpd/distinfo4
-rw-r--r--ftp/smbftpd/pkg-plist3
3 files changed, 13 insertions, 17 deletions
diff --git a/ftp/smbftpd/Makefile b/ftp/smbftpd/Makefile
index 9ca9e3fe258a..b0303d2307eb 100644
--- a/ftp/smbftpd/Makefile
+++ b/ftp/smbftpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= smbftpd
-PORTVERSION= 2.3
+PORTVERSION= 2.4
CATEGORIES= ftp
MASTER_SITES= SF/${PORTNAME}/SmbFTPD/${PORTVERSION} \
http://www.twbsd.org/download/download.php?file=smbftpd/
@@ -14,10 +14,11 @@ MASTER_SITES= SF/${PORTNAME}/SmbFTPD/${PORTVERSION} \
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= FTP daemon using Samba-like share management mechanism
-OPTIONS= MYSQL "Users database is a MySQL database" off \
- PGSQL "Users database is a PostgreSQL database" off \
- SSL "Enable SSL/TLS support" off \
- ICONV "Enable codepage to unicode conversion for UTF-8 FTP" off
+OPTIONS_DEFINE= MYSQL PGSQL SSL ICONV
+MYSQL_DESC= Users database is a MySQL database
+PGSQL_DESC= Users database is a PostgreSQL database
+SSL_DESC= Enable SSL/TLS support
+ICONV_DESC= Enable codepage to unicode conversion for UTF-8 FTP
HAS_CONFIGURE= yes
MAKE_ENV= OSTYPE=FreeBSD
@@ -29,29 +30,25 @@ USE_RC_SUBR= ${PORTNAME}.sh
.include <bsd.port.pre.mk>
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+= "--with-mysql"
.endif
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
CONFIGURE_ARGS+= "--with-pgsql"
.endif
-.if defined(WITH_ICONV)
+.if ${PORT_OPTIONS:MICONV}
USE_ICONV= yes
CONFIGURE_ARGS+= "--with-iconv"
.endif
-.if defined(WITH_SSL)
+.if ${PORT_OPTIONS:MSSL}
CONFIGURE_ARGS+= "--with-ssl"
.endif
-.if ${OSVERSION} > 900007
-BROKEN= fails to build with new utmpx
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '/^CONFIGS = / s|\.conf|&.sample|g' ${WRKSRC}/Makefile
@cd ${WRKSRC}/conf/ && (${LS} *.conf | ${XARGS} -I % ${MV} % %.sample)
diff --git a/ftp/smbftpd/distinfo b/ftp/smbftpd/distinfo
index 1270b147be41..f3275bf6bcb3 100644
--- a/ftp/smbftpd/distinfo
+++ b/ftp/smbftpd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (smbftpd-2.3.tar.gz) = e80f30623b75a343eb3e35da4340e6d600b07eaf510eda6813955a1ba8c21fdc
-SIZE (smbftpd-2.3.tar.gz) = 139472
+SHA256 (smbftpd-2.4.tar.gz) = 2ed59e76d1e30b7a930954a5585a30eeaf8a5d7da11670e5fcf7bbc4d20d20d5
+SIZE (smbftpd-2.4.tar.gz) = 139650
diff --git a/ftp/smbftpd/pkg-plist b/ftp/smbftpd/pkg-plist
index 9864637ed6eb..fc939aaa0a43 100644
--- a/ftp/smbftpd/pkg-plist
+++ b/ftp/smbftpd/pkg-plist
@@ -1,8 +1,7 @@
-@comment $FreeBSD$
bin/smbftpd-user
%%ETCDIR%%/smbftpd.conf.sample
-%%ETCDIR%%/smbftpd_share.conf.sample
%%ETCDIR%%/smbftpd_mysql.conf.sample
%%ETCDIR%%/smbftpd_pgsql.conf.sample
+%%ETCDIR%%/smbftpd_share.conf.sample
sbin/smbftpd
@dirrmtry %%ETCDIR%%