pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add munge user to security/munge



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <jwbacon%tds.net@localhost>
Pushed By:	outpaddling
Date:		Tue Aug 16 09:28:06 2016 -0500
Changeset:	372988dce37a93d611b561ca853f0ddd97aa84f9

Added Files:
	munge/DESCR
	munge/Makefile
	munge/PLIST
	munge/PLIST.FreeBSD
	munge/PLIST.Linux
	munge/PLIST.NetBSD
	munge/buildlink3.mk
	munge/distinfo
	munge/files/munge.sh
	munge/patches/patch-src_etc_Makefile.in

Log Message:
Add munge user to security/munge

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=372988dce37a93d611b561ca853f0ddd97aa84f9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 munge/DESCR                             |  9 +++++++
 munge/Makefile                          | 34 ++++++++++++++++++++++++
 munge/PLIST                             | 32 ++++++++++++++++++++++
 munge/PLIST.FreeBSD                     |  3 +++
 munge/PLIST.Linux                       |  3 +++
 munge/PLIST.NetBSD                      |  3 +++
 munge/buildlink3.mk                     | 13 +++++++++
 munge/distinfo                          |  7 +++++
 munge/files/munge.sh                    | 15 +++++++++++
 munge/patches/patch-src_etc_Makefile.in | 47 +++++++++++++++++++++++++++++++++
 10 files changed, 166 insertions(+)

diffs:
diff --git a/munge/DESCR b/munge/DESCR
new file mode 100644
index 0000000..fc10b79
--- /dev/null
+++ b/munge/DESCR
@@ -0,0 +1,9 @@
+MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service
+for creating and validating credentials. It is designed to be
+highly scalable for use in an HPC cluster environment. It allows
+a process to authenticate the UID and GID of another local or
+remote process within a group of hosts having common users and
+groups. These hosts form a security realm that is defined by a
+shared cryptographic key. Clients within this security realm can
+create and validate credentials without the use of root
+privileges, reserved ports, or platform-specific methods.
diff --git a/munge/Makefile b/munge/Makefile
new file mode 100644
index 0000000..64932ef
--- /dev/null
+++ b/munge/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.14 2016/03/05 11:29:22 jperkin Exp $
+
+DISTNAME=	munge-0.5.11
+PKGREVISION=	6
+CATEGORIES=	security
+MASTER_SITES=	http://munge.googlecode.com/files/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	asau%inbox.ru@localhost
+HOMEPAGE=	http://code.google.com/p/munge/
+COMMENT=	Authentication service for creating and validating credentials
+
+USE_TOOLS=	perl pkg-config
+GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+CONFIGURE_ARGS+=	--localstatedir=$(VARBASE)
+INSTALLATION_DIRS+=	lib/pkgconfig
+
+OWN_DIRS=	$(VARBASE)/lib/munge $(VARBASE)/log/munge $(VARBASE)/run/munge
+
+PKG_GROUPS=		munge
+PKG_USERS=		munge:munge
+
+PKG_GECOS.munge=	SLURM user
+PKG_SHELL.munge=	${NOLOGIN}
+
+RCD_SCRIPTS+=	munge
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/munge/PLIST b/munge/PLIST
new file mode 100644
index 0000000..830d9c6
--- /dev/null
+++ b/munge/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.4 2014/04/25 10:20:06 asau Exp $
+bin/munge
+bin/remunge
+bin/unmunge
+include/munge.h
+lib/libmunge.la
+lib/pkgconfig/munge.pc
+man/man1/munge.1
+man/man1/remunge.1
+man/man1/unmunge.1
+man/man3/munge.3
+man/man3/munge_ctx.3
+man/man3/munge_ctx_copy.3
+man/man3/munge_ctx_create.3
+man/man3/munge_ctx_destroy.3
+man/man3/munge_ctx_get.3
+man/man3/munge_ctx_set.3
+man/man3/munge_ctx_strerror.3
+man/man3/munge_decode.3
+man/man3/munge_encode.3
+man/man3/munge_enum.3
+man/man3/munge_enum_int_to_str.3
+man/man3/munge_enum_is_valid.3
+man/man3/munge_enum_str_to_int.3
+man/man3/munge_strerror.3
+man/man7/munge.7
+man/man8/munged.8
+sbin/munged
+@pkgdir var/run/munge
+@pkgdir var/log/munge
+@pkgdir var/lib/munge
+@pkgdir share/examples/munge
diff --git a/munge/PLIST.FreeBSD b/munge/PLIST.FreeBSD
new file mode 100644
index 0000000..a384145
--- /dev/null
+++ b/munge/PLIST.FreeBSD
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.FreeBSD,v 1.3 2015/12/29 04:04:31 dholland Exp $
+share/examples/init.d/munge
+share/examples/default/munge
diff --git a/munge/PLIST.Linux b/munge/PLIST.Linux
new file mode 100644
index 0000000..1f5279f
--- /dev/null
+++ b/munge/PLIST.Linux
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.Linux,v 1.3 2015/12/29 04:04:31 dholland Exp $
+share/examples/rc.d/init.d/munge
+share/examples/sysconfig/munge
diff --git a/munge/PLIST.NetBSD b/munge/PLIST.NetBSD
new file mode 100644
index 0000000..f90bf69
--- /dev/null
+++ b/munge/PLIST.NetBSD
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.NetBSD,v 1.3 2015/12/29 04:04:31 dholland Exp $
+share/examples/init.d/munge
+share/examples/default/munge
diff --git a/munge/buildlink3.mk b/munge/buildlink3.mk
new file mode 100644
index 0000000..9a20f1e
--- /dev/null
+++ b/munge/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/02/19 03:51:17 asau Exp $
+
+BUILDLINK_TREE+=	munge
+
+.if !defined(MUNGE_BUILDLINK3_MK)
+MUNGE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.munge+=	munge>=0.5.10
+BUILDLINK_PKGSRCDIR.munge?=	../../security/munge
+
+.endif	# MUNGE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-munge
diff --git a/munge/distinfo b/munge/distinfo
new file mode 100644
index 0000000..a2cc13b
--- /dev/null
+++ b/munge/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.4 2015/11/04 01:17:51 agc Exp $
+
+SHA1 (munge-0.5.11.tar.bz2) = 6939ddabc4bc2b3bacdb8bb2bf24766b666d1c0d
+RMD160 (munge-0.5.11.tar.bz2) = f7908ba980570519dab99f81023201fb0bd3c195
+SHA512 (munge-0.5.11.tar.bz2) = b9d4cd76c4fe605ad67934af48809205de0f0e5fa1a10dd3b6e382da2cb8bc274bd2a8c0d4bc49d1d58155bf008945a584afd0b6e01cc8052aa1d21c8de2815b
+Size (munge-0.5.11.tar.bz2) = 423232 bytes
+SHA1 (patch-src_etc_Makefile.in) = 11a79fd9d5e5b3da76a3c637c3e7cf394acbbe5e
diff --git a/munge/files/munge.sh b/munge/files/munge.sh
new file mode 100644
index 0000000..eab0703
--- /dev/null
+++ b/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"
diff --git a/munge/patches/patch-src_etc_Makefile.in b/munge/patches/patch-src_etc_Makefile.in
new file mode 100644
index 0000000..cfda949
--- /dev/null
+++ b/munge/patches/patch-src_etc_Makefile.in
@@ -0,0 +1,47 @@
+$NetBSD: patch-src_etc_Makefile.in,v 1.3 2013/12/08 22:34:10 joerg Exp $
+
+--- src/etc/Makefile.in.orig	2013-08-27 18:35:31.000000000 +0000
++++ src/etc/Makefile.in
+@@ -242,6 +242,7 @@ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ srcdir = @srcdir@
+ sysconfdir = @sysconfdir@
++sysconfexampledir = $(pkgdatadir)/examples
+ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+@@ -465,18 +466,18 @@ distclean-local::
+ 
+ install-data-local:
+ 	test -d "/etc/rc.d/init.d" \
+-	    && INITDIR="$(sysconfdir)/rc.d/init.d" \
+-	    || INITDIR="$(sysconfdir)/init.d"; \
++	    && INITDIR="$(sysconfexampledir)/rc.d/init.d" \
++	    || INITDIR="$(sysconfexampledir)/init.d"; \
+ 	  $(INSTALL) -m 0755 -d "$(DESTDIR)$${INITDIR}"; \
+ 	  $(INSTALL) -m 0755 \
+ 	    "$(builddir)/munge.init" "$(DESTDIR)$${INITDIR}/munge"
+ 	test -d "/etc/sysconfig" \
+-	    && CONFDIR="$(sysconfdir)/sysconfig" \
+-	    || CONFDIR="$(sysconfdir)/default"; \
++	    && CONFDIR="$(sysconfexampledir)/sysconfig" \
++	    || CONFDIR="$(sysconfexampledir)/default"; \
+ 	  $(INSTALL) -m 0755 -d "$(DESTDIR)$${CONFDIR}"; \
+ 	  $(INSTALL) -m 0644 \
+ 	    "$(srcdir)/munge.sysconfig" "$(DESTDIR)$${CONFDIR}/munge"
+-	if test -d "$(libdir)/pkgconfig"; then \
++	if test -d "${DESTDIR}$(libdir)/pkgconfig"; then \
+ 	  $(INSTALL) -m 0755 \
+ 	    -d "$(DESTDIR)$(libdir)/pkgconfig"; \
+ 	  $(INSTALL) -m 0644 \
+@@ -500,8 +501,8 @@ install-data-local:
+ 	    "$(srcdir)/munge-tmpfiles.conf" \
+ 	    "$(DESTDIR)$(prefix)/lib/tmpfiles.d/munge.conf"; \
+ 	fi
+-	$(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)"
+-	$(INSTALL) -m 0700 -d "$(DESTDIR)$(sysconfdir)/munge"
++	$(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfexampledir)"
++	$(INSTALL) -m 0700 -d "$(DESTDIR)$(sysconfexampledir)/munge"
+ 	$(INSTALL) -m 0755 -d "$(DESTDIR)$(localstatedir)"
+ 	$(INSTALL) -m 0755 -d "$(DESTDIR)$(localstatedir)/lib"
+ 	$(INSTALL) -m 0711 -d "$(DESTDIR)$(localstatedir)/lib/munge"


Home | Main Index | Thread Index | Old Index