summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2018-04-17 04:40:06 +0000
committerKurt Jaeger <pi@FreeBSD.org>2018-04-17 04:40:06 +0000
commitd8b36c484dba1ebdea49c978a95a378811b26b27 (patch)
tree93e0dc3b4022bcf8f74c12b7cb54c147d40881ae
parentdevel/py-python-gitlab: create port (diff)
mail/postgrey: fix files/postgrey.in for PG_* -> POSTGREY_* variables
PR: 227261 Submitted by: Melissa Pilgrim <ports.maintainer@evilphi.com> (maintainer) Reported by: Pierre Guinoiseau <pierre@guinoiseau.eu>, Paul Blazejowski <paulb@blazebox.homeip.net>
Notes
Notes: svn path=/head/; revision=467559
-rw-r--r--mail/postgrey/Makefile2
-rw-r--r--mail/postgrey/files/postgrey.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index b81f66e14832..7983eddcb372 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -3,7 +3,7 @@
PORTNAME= postgrey
PORTVERSION= 1.37
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://postgrey.schweikert.ch/pub/ \
http://postgrey.schweikert.ch/pub/old/
diff --git a/mail/postgrey/files/postgrey.in b/mail/postgrey/files/postgrey.in
index 36c2fefae99e..9a352bb33cb7 100644
--- a/mail/postgrey/files/postgrey.in
+++ b/mail/postgrey/files/postgrey.in
@@ -12,7 +12,7 @@
# postgrey_enable (bool) Set to 'YES' to enable
# Default: NO
# postgrey_dbdir (path) Location of postgrey database files.
-# Default: %%PG_DBDIR%%
+# Default: %%POSTGREY_DBDIR%%
# postgrey_flags (extra args) Additional command-line parameters.
# Default: --inet=10023
#
@@ -30,13 +30,13 @@ rcvar=postgrey_enable
load_rc_config $name
: ${postgrey_enable:=NO}
-: ${postgrey_dbdir:=%%PG_DBDIR%%}
+: ${postgrey_dbdir:=%%POSTGREY_DBDIR%%}
: ${postgrey_flags:=--inet=10023}
command=%%PREFIX%%/sbin/postgrey
extra_commands=reload
-pidfile=%%PG_RUNDIR%%/postgrey.pid
-required_dirs="${postgrey_dbdir} %%PG_RUNDIR%%"
+pidfile=%%POSTGREY_RUNDIR%%/postgrey.pid
+required_dirs="${postgrey_dbdir} %%POSTGREY_RUNDIR%%"
command_args="-d --pidfile=${pidfile} --dbdir=${postgrey_dbdir}"