mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Remove unneeded dependency, use the opt_CMAKE_BOOL helper, and make sure
tr runs without any LC_* set or it will fail. PR: 218040 Submitted by: mat Approved by: maintainer Sponsored by: Absolight
This commit is contained in:
parent
256a73e1f0
commit
23f2e9e696
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436913
2 changed files with 4 additions and 5 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= postsrsd
|
PORTNAME= postsrsd
|
||||||
PORTVERSION= 1.4
|
PORTVERSION= 1.4
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
|
|
||||||
MAINTAINER= ports@bsdserwis.com
|
MAINTAINER= ports@bsdserwis.com
|
||||||
|
@ -11,9 +12,7 @@ COMMENT= Postfix Sender Rewriting Scheme daemon
|
||||||
LICENSE= GPLv2+
|
LICENSE= GPLv2+
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
BUILD_DEPENDS= help2man:misc/help2man \
|
BUILD_DEPENDS= help2man:misc/help2man
|
||||||
base64:converters/base64
|
|
||||||
RUN_DEPENDS= base64:converters/base64
|
|
||||||
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= roehling
|
GH_ACCOUNT= roehling
|
||||||
|
@ -28,7 +27,7 @@ PORTDOCS= README.md main.cf.ex README_UPGRADE.md
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
DOCS_CMAKE_ON= -DENABLE_DOCS:STRING="ON"
|
DOCS_CMAKE_BOOL= ENABLE_DOCS
|
||||||
|
|
||||||
PLIST_FILES= sbin/postsrsd man/man8/postsrsd.8.gz
|
PLIST_FILES= sbin/postsrsd man/man8/postsrsd.8.gz
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ postsrsd_prepcmd ()
|
||||||
chown ${postsrsd_uid} ${_piddir}
|
chown ${postsrsd_uid} ${_piddir}
|
||||||
fi
|
fi
|
||||||
if [ ! -f "${postsrsd_secret}" ] ; then
|
if [ ! -f "${postsrsd_secret}" ] ; then
|
||||||
tr -cd "[:alnum:]" < /dev/urandom | head -c 24 > "${postsrsd_secret}"
|
env -i tr -cd "[:alnum:]" < /dev/urandom | head -c 24 > "${postsrsd_secret}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue