- 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@centrale-marseille.fr Approved by: ports@bsdserwis.com (maintainer, for PR), portmgr blanket (for other fixes)
This commit is contained in:
parent
13e7c9b533
commit
6fe79356c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414992
@ -3,22 +3,24 @@
|
||||
|
||||
PORTNAME= postsrsd
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
|
||||
MAINTAINER= ports@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}
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user