pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/munge Add rc.subr control script.
details: https://anonhg.NetBSD.org/pkgsrc/rev/910827a8aa36
branches: trunk
changeset: 639361:910827a8aa36
user: asau <asau%pkgsrc.org@localhost>
date: Thu Sep 11 16:11:46 2014 +0000
description:
Add rc.subr control script.
diffstat:
security/munge/Makefile | 6 ++++--
security/munge/files/munge.sh | 15 +++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 310da5105c4b -r 910827a8aa36 security/munge/Makefile
--- a/security/munge/Makefile Thu Sep 11 14:00:18 2014 +0000
+++ b/security/munge/Makefile Thu Sep 11 16:11:46 2014 +0000
@@ -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 @@
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 -r 310da5105c4b -r 910827a8aa36 security/munge/files/munge.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/munge/files/munge.sh Thu Sep 11 16:11:46 2014 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index