Date: Sat, 25 Mar 2017 19:25:13 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436913 - in head/mail/postsrsd: . files Message-ID: <201703251925.v2PJPDuD045564@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Sat Mar 25 19:25:13 2017 New Revision: 436913 URL: https://svnweb.freebsd.org/changeset/ports/436913 Log: 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 Modified: head/mail/postsrsd/Makefile (contents, props changed) head/mail/postsrsd/files/postsrsd.in Modified: head/mail/postsrsd/Makefile ============================================================================== --- head/mail/postsrsd/Makefile Sat Mar 25 18:08:50 2017 (r436912) +++ head/mail/postsrsd/Makefile Sat Mar 25 19:25:13 2017 (r436913) @@ -3,6 +3,7 @@ PORTNAME= postsrsd PORTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= mail MAINTAINER= ports@bsdserwis.com @@ -11,9 +12,7 @@ COMMENT= Postfix Sender Rewriting Scheme LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= help2man:misc/help2man \ - base64:converters/base64 -RUN_DEPENDS= base64:converters/base64 +BUILD_DEPENDS= help2man:misc/help2man USE_GITHUB= yes GH_ACCOUNT= roehling @@ -28,7 +27,7 @@ PORTDOCS= README.md main.cf.ex README_UP OPTIONS_DEFINE= DOCS -DOCS_CMAKE_ON= -DENABLE_DOCS:STRING="ON" +DOCS_CMAKE_BOOL= ENABLE_DOCS PLIST_FILES= sbin/postsrsd man/man8/postsrsd.8.gz Modified: head/mail/postsrsd/files/postsrsd.in ============================================================================== --- head/mail/postsrsd/files/postsrsd.in Sat Mar 25 18:08:50 2017 (r436912) +++ head/mail/postsrsd/files/postsrsd.in Sat Mar 25 19:25:13 2017 (r436913) @@ -71,7 +71,7 @@ postsrsd_prepcmd () chown ${postsrsd_uid} ${_piddir} fi 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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703251925.v2PJPDuD045564>