diff options
Diffstat (limited to 'ftp/smbftpd')
-rw-r--r-- | ftp/smbftpd/Makefile | 7 | ||||
-rw-r--r-- | ftp/smbftpd/distinfo | 1 | ||||
-rw-r--r-- | ftp/smbftpd/pkg-plist | 10 |
3 files changed, 11 insertions, 7 deletions
diff --git a/ftp/smbftpd/Makefile b/ftp/smbftpd/Makefile index ff3ebac39c21..103a9ddad549 100644 --- a/ftp/smbftpd/Makefile +++ b/ftp/smbftpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= smbftpd PORTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= SF/${PORTNAME}/SmbFTPD/${PORTVERSION} \ http://www.twbsd.org/download/download.php?file=smbftpd/ @@ -24,7 +25,7 @@ MAKE_ENV= OSTYPE=FreeBSD CONFIGURE_ARGS= "--prefix=${PREFIX}" USE_PERL5= yes -USE_RC_SUBR= smbftpd.sh +USE_RC_SUBR= ${PORTNAME}.sh .include <bsd.port.pre.mk> @@ -51,4 +52,8 @@ CONFIGURE_ARGS+= "--with-ssl" 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) + .include <bsd.port.post.mk> diff --git a/ftp/smbftpd/distinfo b/ftp/smbftpd/distinfo index c7628e093eb2..80397ad26391 100644 --- a/ftp/smbftpd/distinfo +++ b/ftp/smbftpd/distinfo @@ -1,3 +1,2 @@ -MD5 (smbftpd-2.2.tar.gz) = 89a263832c4363c4bf00aef32b6007a7 SHA256 (smbftpd-2.2.tar.gz) = 9b9fff9c525652a5a68aeec3ad210dc52baeeeef684934aa2ddbbec7b69351a2 SIZE (smbftpd-2.2.tar.gz) = 139266 diff --git a/ftp/smbftpd/pkg-plist b/ftp/smbftpd/pkg-plist index 48ef75eaa115..9864637ed6eb 100644 --- a/ftp/smbftpd/pkg-plist +++ b/ftp/smbftpd/pkg-plist @@ -1,8 +1,8 @@ @comment $FreeBSD$ bin/smbftpd-user -etc/smbftpd/smbftpd.conf -etc/smbftpd/smbftpd_share.conf -etc/smbftpd/smbftpd_mysql.conf -etc/smbftpd/smbftpd_pgsql.conf +%%ETCDIR%%/smbftpd.conf.sample +%%ETCDIR%%/smbftpd_share.conf.sample +%%ETCDIR%%/smbftpd_mysql.conf.sample +%%ETCDIR%%/smbftpd_pgsql.conf.sample sbin/smbftpd -@dirrmtry etc/smbftpd +@dirrmtry %%ETCDIR%% |