Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2017 20:42:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430884 - in head/ftp/pure-ftpd: . files
Message-ID:  <201701082042.v08Kglqj071453@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan  8 20:42:47 2017
New Revision: 430884
URL: https://svnweb.freebsd.org/changeset/ports/430884

Log:
  Update to 1.0.44
  
  - Clean up MASTER_SITES
  - Convert to options target helper
  - Update WWW
  
  Changes:	https://github.com/jedisct1/pure-ftpd/releases

Modified:
  head/ftp/pure-ftpd/Makefile
  head/ftp/pure-ftpd/distinfo
  head/ftp/pure-ftpd/files/pure-ftpd.in
  head/ftp/pure-ftpd/pkg-descr
  head/ftp/pure-ftpd/pkg-plist

Modified: head/ftp/pure-ftpd/Makefile
==============================================================================
--- head/ftp/pure-ftpd/Makefile	Sun Jan  8 20:42:42 2017	(r430883)
+++ head/ftp/pure-ftpd/Makefile	Sun Jan  8 20:42:47 2017	(r430884)
@@ -2,11 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	pure-ftpd
-PORTVERSION=	1.0.43
+PORTVERSION=	1.0.44
 CATEGORIES=	ftp ipv6
-MASTER_SITES=	http://download.pureftpd.org/pub/pure-ftpd/releases/ \
-		ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/ \
-		SF/pureftpd/Pure-FTPd/${PORTVERSION}
+MASTER_SITES=	https://github.com/jedisct1/${PORTNAME}/releases/download/${PORTVERSION}/ \
+		https://download.pureftpd.org/pub/pure-ftpd/releases/ \
+		ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Small, easy to set up, fast, and secure FTP server
@@ -107,18 +107,18 @@ pre-fetch:
 	@${ECHO_MSG} "  spanish, swedish, traditional-chinese, turkish"
 	@${ECHO_MSG} ""
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|@PERL@|${PERL}|; s|$${exec_prefix}|${PREFIX}|g' ${WRKSRC}/configuration-file/pure-config.pl.in
-
 post-install:
+	${MV} ${STAGEDIR}${PREFIX}/etc/pure-ftpd.conf ${STAGEDIR}${PREFIX}/etc/pure-ftpd.conf.sample
 	${INSTALL_DATA} ${WRKSRC}/pureftpd-ldap.conf ${STAGEDIR}${PREFIX}/etc/pureftpd-ldap.conf.sample
 	${INSTALL_DATA} ${WRKSRC}/pureftpd-mysql.conf ${STAGEDIR}${PREFIX}/etc/pureftpd-mysql.conf.sample
 	${INSTALL_DATA} ${WRKSRC}/pureftpd-pgsql.conf ${STAGEDIR}${PREFIX}/etc/pureftpd-pgsql.conf.sample
-	${INSTALL_DATA} ${WRKSRC}/configuration-file/pure-ftpd.conf ${STAGEDIR}${PREFIX}/etc/pure-ftpd.conf.sample
-	${INSTALL_SCRIPT} ${WRKSRC}/configuration-file/pure-config.pl ${STAGEDIR}${PREFIX}/sbin/
 	${INSTALL_SCRIPT} ${FILESDIR}/pure-alwaysfail ${STAGEDIR}${PREFIX}/sbin/
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	cd ${WRKSRC}/contrib/ && ${INSTALL_SCRIPT} ${CONTRIB} ${STAGEDIR}${EXAMPLESDIR}/
 	${MKDIR} ${STAGEDIR}${PAM_DIR}/

Modified: head/ftp/pure-ftpd/distinfo
==============================================================================
--- head/ftp/pure-ftpd/distinfo	Sun Jan  8 20:42:42 2017	(r430883)
+++ head/ftp/pure-ftpd/distinfo	Sun Jan  8 20:42:47 2017	(r430884)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1479482590
-SHA256 (pure-ftpd-1.0.43.tar.bz2) = 1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2
-SIZE (pure-ftpd-1.0.43.tar.bz2) = 496391
+TIMESTAMP = 1483302327
+SHA256 (pure-ftpd-1.0.44.tar.bz2) = 30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a
+SIZE (pure-ftpd-1.0.44.tar.bz2) = 497528

Modified: head/ftp/pure-ftpd/files/pure-ftpd.in
==============================================================================
--- head/ftp/pure-ftpd/files/pure-ftpd.in	Sun Jan  8 20:42:42 2017	(r430883)
+++ head/ftp/pure-ftpd/files/pure-ftpd.in	Sun Jan  8 20:42:47 2017	(r430884)
@@ -31,11 +31,11 @@ rcvar=pureftpd_enable
 
 load_rc_config $name
 
-command=%%PREFIX%%/sbin/pure-config.pl
-pidfile=${pidfile:-"/var/run/pure-ftpd.pid"}
+command=%%PREFIX%%/sbin/pure-ftpd
 procname=pure-ftpd
 pureftpd_config=${pureftpd_config:-"%%PREFIX%%/etc/pure-ftpd.conf"}
 pureftpd_enable=${pureftpd_enable:-"no"}
+pureftpd_pidfile=${pureftpd_pidfile:-"/var/run/pure-ftpd.pid"}
 required_files=${pureftpd_config}
 # authd
 command_authd=%%PREFIX%%/sbin/pure-authd
@@ -49,7 +49,7 @@ pidfile_uploadscript=${pidfile_uploadscr
 pureftpd_upload_enable=${pureftpd_upload_enable:-"no"}
 pureftpd_uploadscript=${pureftpd_uploadscript:-"/usr/bin/touch"}
 # command_args
-flags="${pureftpd_config} -g${pidfile}"
+flags="${pureftpd_config}"
 command_args="${pureftpd_flags}"
 command_authd_args="-B -p ${pidfile_authd} -r ${pureftpd_authdscript} -s ${pureftpd_authsocket}"
 command_upload_args="-B -p ${pidfile_uploadscript} -r ${pureftpd_uploadscript}"

Modified: head/ftp/pure-ftpd/pkg-descr
==============================================================================
--- head/ftp/pure-ftpd/pkg-descr	Sun Jan  8 20:42:42 2017	(r430883)
+++ head/ftp/pure-ftpd/pkg-descr	Sun Jan  8 20:42:47 2017	(r430884)
@@ -12,5 +12,5 @@ fortune files, Apache-like log files, fa
 real-time status report, virtual users, virtual quotas, privilege separation and
 more.
 
-WWW: http://www.pureftpd.org/
+WWW: https://www.pureftpd.org/
 WWW: https://github.com/jedisct1/pure-ftpd

Modified: head/ftp/pure-ftpd/pkg-plist
==============================================================================
--- head/ftp/pure-ftpd/pkg-plist	Sun Jan  8 20:42:42 2017	(r430883)
+++ head/ftp/pure-ftpd/pkg-plist	Sun Jan  8 20:42:47 2017	(r430884)
@@ -16,7 +16,6 @@ man/man8/pure-statsdecode.8.gz
 man/man8/pure-uploadscript.8.gz
 sbin/pure-alwaysfail
 sbin/pure-authd
-sbin/pure-config.pl
 sbin/pure-ftpd
 sbin/pure-ftpwho
 sbin/pure-mrtginfo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701082042.v08Kglqj071453>