mail/postsrsd: add missing files and variables
This fixes an issue where postsrsd would fail to start. Reported by: Javier Sturman <sturmanj@gmail.com> PR: 273787
This commit is contained in:
parent
2a076903c1
commit
3e774cb07c
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= postsrsd
|
||||
PORTVERSION= 2.0.8
|
||||
DISTVERSION= 2.0.8
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= mail
|
||||
|
||||
|
@ -32,6 +33,7 @@ SUB_FILES= pkg-message
|
|||
|
||||
PLIST_FILES= \
|
||||
sbin/postsrsd \
|
||||
"@sample ${ETCDIR}.conf.sample" \
|
||||
"@dir /var/db/${PORTNAME}"
|
||||
|
||||
PORTDOCS= CHANGELOG.rst README.rst postsrsd.conf
|
||||
|
@ -48,4 +50,7 @@ SQLITE_DESC= Use sqlite3 backebd for storing envelope senders
|
|||
SQLITE_USES= sqlite
|
||||
SQLITE_CMAKE_BOOL= WITH_SQLITE
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/postsrsd.conf ${STAGEDIR}${PREFIX}/etc/postsrsd.conf.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
# postsrsd_enable (bool): Set to "NO" by default.
|
||||
# Set it to "YES" to enable postsrsd.
|
||||
# postsrsd_uid (str): Set username to run postsrsd.
|
||||
# postsrsd_secret (str): Secret file file. See postsrsd(8)
|
||||
# postsrsd_flags (str): Flags passed to start command.
|
||||
|
||||
. /etc/rc.subr
|
||||
|
@ -33,6 +34,7 @@ load_rc_config $name
|
|||
#
|
||||
: ${postsrsd_enable="NO"}
|
||||
: ${postsrsd_uid="mailnull"}
|
||||
: ${postsrsd_secret="%%PREFIX%%/etc/postsrsd.secret"}
|
||||
|
||||
# Options other than above can be set with $postsrsd_flags.
|
||||
# see postsrsd documentation for detail.
|
||||
|
|
Loading…
Reference in a new issue