diff options
author | asau <asau@pkgsrc.org> | 2014-09-11 16:11:46 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2014-09-11 16:11:46 +0000 |
commit | ddfad88f5fc59a601c32798f0589dc9490b9cfc7 (patch) | |
tree | 59d4b82aeb49ebbb92f64879160a70ef713ba019 /security | |
parent | 139e164f2db0443e556f9c75866d628d7fa3818c (diff) | |
download | pkgsrc-ddfad88f5fc59a601c32798f0589dc9490b9cfc7.tar.gz |
Add rc.subr control script.
Diffstat (limited to 'security')
-rw-r--r-- | security/munge/Makefile | 6 | ||||
-rw-r--r-- | security/munge/files/munge.sh | 15 |
2 files changed, 19 insertions, 2 deletions
diff --git a/security/munge/Makefile b/security/munge/Makefile index 0bf6d9ad8fd..e014412836c 100644 --- a/security/munge/Makefile +++ b/security/munge/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.11 2014/05/29 23:37:20 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2014/09/11 16:11:46 asau Exp $ DISTNAME= munge-0.5.11 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security MASTER_SITES= http://munge.googlecode.com/files/ EXTRACT_SUFX= .tar.bz2 @@ -18,6 +18,8 @@ INSTALLATION_DIRS+= lib/pkgconfig OWN_DIRS= $(VARBASE)/lib/munge $(VARBASE)/log/munge $(VARBASE)/run/munge +RCD_SCRIPTS+= munge + .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/libgcrypt/buildlink3.mk" diff --git a/security/munge/files/munge.sh b/security/munge/files/munge.sh new file mode 100644 index 00000000000..eab070367f0 --- /dev/null +++ b/security/munge/files/munge.sh @@ -0,0 +1,15 @@ +#!@RCD_SCRIPTS_SHELL@ +# $NetBSD: munge.sh,v 1.1 2014/09/11 16:11:46 asau Exp $ +# +# PROVIDE: munge +# REQUIRE: DAEMON +# KEYWORD: shutdown + +. /etc/rc.subr + +name="munge" +rcvar=${name} +command="@PREFIX@/sbin/munged" + +load_rc_config $name +run_rc_command "$1" |