diff --git a/security/munge/Makefile b/security/munge/Makefile index f0b232fb692c..beaa9834e33a 100644 --- a/security/munge/Makefile +++ b/security/munge/Makefile @@ -1,28 +1,26 @@ PORTNAME= munge -DISTVERSION= 0.5.15 -PORTREVISION= 2 +DISTVERSION= 0.5.16 CATEGORIES= security MASTER_SITES= https://github.com/dun/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Authentication service for creating and validating credentials WWW= https://dun.github.io/munge/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual LIB_DEPENDS= libgcrypt.so:security/libgcrypt USES= cpe libtool pathfix ssl tar:xz CPE_VENDOR= opensuse USE_LDCONFIG= yes USE_RC_SUBR= munged GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-openssl-prefix=${OPENSSLBASE} INSTALL_TARGET= install-strip TEST_TARGET= check .include diff --git a/security/munge/distinfo b/security/munge/distinfo index ddbad5a05e60..e8dbae9a5b38 100644 --- a/security/munge/distinfo +++ b/security/munge/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1681668887 -SHA256 (munge-0.5.15.tar.xz) = 3f979df117a34c74db8fe2835521044bdeb08e3b7d0f168ca97c3547f51da9ba -SIZE (munge-0.5.15.tar.xz) = 459468 +TIMESTAMP = 1722100598 +SHA256 (munge-0.5.16.tar.xz) = 6fa6f14de41064c2b56422592df7ad1de2af483912c54460863db2827e6a2861 +SIZE (munge-0.5.16.tar.xz) = 448120 diff --git a/security/munge/files/munged.in b/security/munge/files/munged.in index 80bba011209f..ddd7fca5ab58 100755 --- a/security/munge/files/munged.in +++ b/security/munge/files/munged.in @@ -1,53 +1,53 @@ #!/bin/sh # PROVIDE: munged -# REQUIRE: LOGIN +# REQUIRE: DAEMON # KEYWORD: shutdown # Add the following line to /etc/rc.conf to enable munged: # munged_enable (bool): Set to "NO" by default. # Set it to "YES" to enable munged. # munged_keyfile (str): Set to "%%PREFIX%%/etc/munge/munge.key" by default. # Custom munge key. # munged_pidfile (str): Set to "/var/run/munged.pid" by default. # Custom PID file path and name. # munged_flags (str): Set to "" by default. # Extra flags passed to start command. . /etc/rc.subr name="munged" rcvar=munged_enable stop_cmd="munged_stop" load_rc_config $name : ${munged_enable="NO"} munged_user=root munged_keyfile="%%PREFIX%%/etc/munge/munge.key" pidfile="/var/run/munge/${name}.pid" command="%%PREFIX%%/sbin/${name}" command_args="--key-file=${munged_keyfile}" munged_stop() { if checkyesno $rcvar; then echo "Stopping $name." pids="$(pgrep -d ' ' $name)" if [ -n "$pids" ]; then echo "Waiting for PIDs: $pids" for signal in TERM INT QUIT KILL do kill -s $signal $pids sleep 1 pids=$(pgrep -d ' ' $name) if [ -z "$pids" ]; then break fi done fi rm -f $pidfile fi } run_rc_command "$1"