svn commit: r414992 - in head/mail/postsrsd: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 11 13:17:49 UTC 2016


Author: amdmi3
Date: Wed May 11 13:17:47 2016
New Revision: 414992
URL: https://svnweb.freebsd.org/changeset/ports/414992

Log:
  - Make rc.d script able to stop all postsrsd processes
  - Document some rc variables
  - While here, clarify license and fix uneeded variable appends
  
  PR:		209255
  Submitted by:	dgeo at centrale-marseille.fr
  Approved by:	ports at bsdserwis.com (maintainer, for PR), portmgr blanket (for other fixes)

Modified:
  head/mail/postsrsd/Makefile
  head/mail/postsrsd/files/postsrsd.in

Modified: head/mail/postsrsd/Makefile
==============================================================================
--- head/mail/postsrsd/Makefile	Wed May 11 13:08:13 2016	(r414991)
+++ head/mail/postsrsd/Makefile	Wed May 11 13:17:47 2016	(r414992)
@@ -3,22 +3,24 @@
 
 PORTNAME=	postsrsd
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	mail
 
 MAINTAINER=	ports at bsdserwis.com
 COMMENT=	Postfix Sender Rewriting Scheme daemon
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS+=	help2man:misc/help2man \
+BUILD_DEPENDS=	help2man:misc/help2man \
 		base64:converters/base64
-RUN_DEPENDS+=	base64:converters/base64
+RUN_DEPENDS=	base64:converters/base64
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	roehling
 
 USES=		cmake pkgconfig
-CMAKE_ARGS+=	--no-warn-unused-cli \
+CMAKE_ARGS=	--no-warn-unused-cli \
 		-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
 		-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}

Modified: head/mail/postsrsd/files/postsrsd.in
==============================================================================
--- head/mail/postsrsd/files/postsrsd.in	Wed May 11 13:08:13 2016	(r414991)
+++ head/mail/postsrsd/files/postsrsd.in	Wed May 11 13:17:47 2016	(r414992)
@@ -18,6 +18,10 @@
 # postsrsd_uid (str):       Set username to run postsrsd.
 # postsrsd_secret (str):    Secret file file. See postsrsd(8)
 # postsrsd_domain (str):    Local domain name: rewrite to originate from this domain
+# postsrsd_exclude_domains (str):      Domains to exclude (comma-separated list)
+# postsrsd_forward_port (int): Port to listen for forward map
+# postsrsd_reverse_port (int): Port to listen for reverse map
+# postsrsd_idle_timeout (int): Timeout for idle client connection
 # postsrsd_flags (str):     Flags passed to start command.
 
 . /etc/rc.subr
@@ -88,4 +92,7 @@ postsrsd_postcmd()
     rmdir ${_piddir} > /dev/null 2>&1
 }
 
+# to let rc.subr kill them all
+unset pidfile
+
 run_rc_command "$1"


More information about the svn-ports-head mailing list