aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2018-04-17 12:40:06 +0800
committerpi <pi@FreeBSD.org>2018-04-17 12:40:06 +0800
commit9aef0d0f9ab07d31fedf43fef5735e5d85af4829 (patch)
tree93e0dc3b4022bcf8f74c12b7cb54c147d40881ae /mail
parent82adb47d9f7cef4d749d882ed1ff831ed4ee0ce5 (diff)
downloadfreebsd-ports-gnome-9aef0d0f9ab07d31fedf43fef5735e5d85af4829.tar.gz
freebsd-ports-gnome-9aef0d0f9ab07d31fedf43fef5735e5d85af4829.tar.zst
freebsd-ports-gnome-9aef0d0f9ab07d31fedf43fef5735e5d85af4829.zip
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>
Diffstat (limited to 'mail')
-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}"