aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2020-02-12 22:00:05 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2020-02-12 22:00:05 +0000
commit3061e545ae1e586350196dc3821ee7ac0690f3a0 (patch)
tree20edd44870c7ee033bd772c09a4dfef64397f38d /security
parent79ca22257944b45aedbfc827c116a0577e319f6d (diff)
downloadports-3061e545ae1e586350196dc3821ee7ac0690f3a0.tar.gz
ports-3061e545ae1e586350196dc3821ee7ac0690f3a0.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/munge/Makefile1
-rw-r--r--security/munge/files/munged.in4
2 files changed, 2 insertions, 3 deletions
diff --git a/security/munge/Makefile b/security/munge/Makefile
index d91733903d77..c53989bccecc 100644
--- a/security/munge/Makefile
+++ b/security/munge/Makefile
@@ -4,6 +4,7 @@
PORTNAME= munge
PORTVERSION= 0.5.14
DISTVERSIONPREFIX= ${PORTNAME}-
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= bofh@FreeBSD.org
diff --git a/security/munge/files/munged.in b/security/munge/files/munged.in
index 4c908664fe7d..7e1abec2941b 100644
--- a/security/munge/files/munged.in
+++ b/security/munge/files/munged.in
@@ -32,9 +32,7 @@ command_args="--key-file=${munged_keyfile}"
munged_stop()
{
if [ -f "${pidfile}" ]; then
- kill -9 `cat ${pidfile}`
- sleep 1 # wait a little bit
- rm -f /var/run/munge/*
+ kill `cat ${pidfile}`
fi
}