aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd-milter
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2006-01-14 11:39:52 +0000
committerTim Bishop <tdb@FreeBSD.org>2006-01-14 11:39:52 +0000
commite2261b7ffcc76e3ea0e7fe31be2c7b4c8a3c9c93 (patch)
tree3f2ce8a3dee9c9680e87ddd0939da04deb3d0a1d /security/amavisd-milter
parent0b365f3ce0522882c0ba04d236244f3fc5b0b45a (diff)
- Update to 1.0.4
- Properly use pidfile variable in rc.d script PR: 91770 Submitted by: Petr Rehor <prehor@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=153447
Diffstat (limited to 'security/amavisd-milter')
-rw-r--r--security/amavisd-milter/Makefile4
-rw-r--r--security/amavisd-milter/distinfo6
-rw-r--r--security/amavisd-milter/files/amavisd-milter.sh.in5
3 files changed, 9 insertions, 6 deletions
diff --git a/security/amavisd-milter/Makefile b/security/amavisd-milter/Makefile
index 4e4d1a2d7216..b03c3ecfa2ed 100644
--- a/security/amavisd-milter/Makefile
+++ b/security/amavisd-milter/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= amavisd-milter
-PORTVERSION= 1.0.3
+PORTVERSION= 1.0.4
CATEGORIES= security mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -32,6 +32,8 @@ PORTDOCS= AUTHORS CHANGES INSTALL LICENSE README TODO
PLIST_SUB= RC_DIR=${RC_DIR} \
RC_SUFX=${RC_SUFX}
+MAN8= amavisd-milter.8
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/security/amavisd-milter/distinfo b/security/amavisd-milter/distinfo
index 1aea7e579559..3908520f53fb 100644
--- a/security/amavisd-milter/distinfo
+++ b/security/amavisd-milter/distinfo
@@ -1,3 +1,3 @@
-MD5 (amavisd-milter-1.0.3.tar.gz) = 595cf90f782123cb30fb0c26d9bb05da
-SHA256 (amavisd-milter-1.0.3.tar.gz) = 72e50225972a2533365698cbadc3ea70775a764e4b1eeece75852ed56c2ca463
-SIZE (amavisd-milter-1.0.3.tar.gz) = 126822
+MD5 (amavisd-milter-1.0.4.tar.gz) = b0eaad0e3b35089181e8516383af51c5
+SHA256 (amavisd-milter-1.0.4.tar.gz) = 3fc8c118d8d0f85c34622beaf0662fdfeae583d0067afead462f95bb75eaa844
+SIZE (amavisd-milter-1.0.4.tar.gz) = 131437
diff --git a/security/amavisd-milter/files/amavisd-milter.sh.in b/security/amavisd-milter/files/amavisd-milter.sh.in
index 209963def1fb..8b64687a34e4 100644
--- a/security/amavisd-milter/files/amavisd-milter.sh.in
+++ b/security/amavisd-milter/files/amavisd-milter.sh.in
@@ -23,11 +23,12 @@ load_rc_config $name
# Set defaults
: ${amavisd_milter_enable:="NO"}
-: ${amavisd_milter_flags:=""}
-: ${amavisd_milter_pidfile:="%%AMAVISDIR%%/amavisd-milter.pid"}
+: ${amavisd_milter_flags:="-w %%AMAVISDIR%%/tmp"}
: ${amavisd_milter_user:="%%AMAVISUSER%%"}
+pidfile="${amavisd_milter_pidfile:-%%AMAVISDIR%%/amavisd-milter.pid}"
command="%%PREFIX%%/sbin/amavisd-milter"
+command_args="-p ${pidfile}"
required_files="%%PREFIX%%/etc/amavisd.conf"
run_rc_command "$1"