ports/166386: [NEW PORT] security/munge: An authentication service for creating and validating credentials

Muhammad Moinur Rahman 5u623l20 at gmail.com
Sun Mar 25 10:20:12 UTC 2012


>Number:         166386
>Category:       ports
>Synopsis:       [NEW PORT] security/munge: An authentication service for creating and validating credentials
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 25 10:20:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Muhammad Moinur Rahman
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD bofh.telnet.net.bd 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Mar  2 02:21:51 BDT
>Description:
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.

WWW:	http://code.google.com/p/munge/

For Committers Reference :
http://tb.s.ubze.ro//logs/9.0-FreeBSD/amd64/munge-0.5.10.log
http://tb.s.ubze.ro//logs/8.2-RELEASE/i386/munge-0.5.10.log
http://tb.s.ubze.ro//logs/9.0-FreeBSD/i386/munge-0.5.10.log
http://tb.s.ubze.ro//logs/8.2-RELEASE/amd64/munge-0.5.10.log
http://tb.s.ubze.ro//logs/10.0-RELEASE/i386/munge-0.5.10.log
http://tb.s.ubze.ro//logs/7.4-FreeBSD/i386/munge-0.5.10.log
http://tb.s.ubze.ro//logs/7.4-FreeBSD/amd64/munge-0.5.10.log
http://tb.s.ubze.ro//errors/10.0-RELEASE/amd64/munge-0.5.10.log

It does not build on 10.0-amd64 due to a dependancy installation error.

Generated with FreeBSD Port Tools 0.99_4 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	munge
#	munge/Makefile
#	munge/files
#	munge/files/patch-configure
#	munge/files/munged.in
#	munge/files/patch-src-etc-Makefile.in
#	munge/distinfo
#	munge/pkg-descr
#	munge/pkg-plist
#
echo c - munge
mkdir -p munge > /dev/null 2>&1
echo x - munge/Makefile
sed 's/^X//' >munge/Makefile << 'afd35bdfb0852b513dfd3b4fb22102fd'
X# New ports collection makefile for:	munge
X# Date created:		2012-03-18
X# Whom:			Muhammad Moinur Rahman <5u623l20 at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	munge
XPORTVERSION=	0.5.10
XCATEGORIES=	security
XMASTER_SITES=	GOOGLE_CODE
X
XMAINTAINER=	5u623l20 at gmail.com
XCOMMENT=	An authentication service for creating and validating credentials
X
XUSE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_PERL5=	yes
XUSE_LDCONFIG=	yes
XUSE_RC_SUBR=	munged
X
XMAN1=		unmunge.1 \
X	       	munge.1 \
X	       	remunge.1
XMAN3=		munge.3 \
X		munge_ctx_copy.3 \
X	       	munge_ctx_get.3 \
X	       	munge_ctx.3 \
X	       	munge_enum_int_to_str.3 \
X	       	munge_enum_is_valid.3 \
X	       	munge_enum_str_to_int.3 \
X	       	munge_enum.3
XMAN7=		munge.7
XMAN8=		munged.8
XMLINKS=		munge.3 munge_strerror.3 \
X		munge.3 munge_encode.3 \
X		munge.3 munge_decode.3 \
X	       	munge_ctx.3 munge_ctx_create.3 \
X	       	munge_ctx.3 munge_ctx_destroy.3 \
X		munge_ctx.3 munge_ctx_set.3 \
X		munge_ctx.3 munge_ctx_strerror.3
X
X.include <bsd.port.mk>
afd35bdfb0852b513dfd3b4fb22102fd
echo c - munge/files
mkdir -p munge/files > /dev/null 2>&1
echo x - munge/files/patch-configure
sed 's/^X//' >munge/files/patch-configure << '94675ce400debad0547a61a3f246257c'
X--- configure.orig	2012-03-18 03:31:24.960241537 +0600
X+++ configure	2012-03-18 03:31:41.879241019 +0600
X@@ -952,7 +952,7 @@
X datadir='${datarootdir}'
X sysconfdir='${prefix}/etc'
X sharedstatedir='${prefix}/com'
X-localstatedir='${prefix}/var'
X+localstatedir='/var'
X includedir='${prefix}/include'
X oldincludedir='/usr/include'
X docdir='${datarootdir}/doc/${PACKAGE}'
94675ce400debad0547a61a3f246257c
echo x - munge/files/munged.in
sed 's/^X//' >munge/files/munged.in << '89aeab696118c1cb6a29f56ff9d5115a'
X#!/bin/sh
X#
X#
X
X# PROVIDE: munged
X# REQUIRE: LOGIN
X# KEYWORD: shutdown
X
X#
X# Add the following line to /etc/rc.conf to enable mysql:
X# munged_enable (bool):	Set to "NO" by default.
X#			Set it to "YES" to enable munged.
X# munged_keyfile (str):	Default to "/usr/local/etc/munge/munge.key"
X#			Default munge key.
X# munged_pidfile (str):	Custum PID file path and name.
X#			Default to "/var/run/munged.pid".
X#
X
X. /etc/rc.subr
X
Xname="munged"
Xrcvar=munged_enable
Xstop_cmd="munged_stop"
X
Xload_rc_config $name
X
X: ${munged_enable="NO"}
X
Xmunged_user=root
Xmunged_keyfile="/usr/local/etc/munge/munge.key"
Xpidfile="/var/run/munge/${name}.pid"
Xcommand="/usr/local/sbin/${name}"
Xcommand_args="--key-file=${munged_keyfile}"
X
Xmunged_stop()
X{
X	if [ -f "${pidfile}" ]; then
X		kill -9 `cat ${pidfile}`
X		sleep 1 # wait a little bit
X		rm -f /var/run/munge/*
X	fi
X
X}
X
Xrun_rc_command "$1"
89aeab696118c1cb6a29f56ff9d5115a
echo x - munge/files/patch-src-etc-Makefile.in
sed 's/^X//' >munge/files/patch-src-etc-Makefile.in << '462f6ef254fcf7b8c38d458b9abbb915'
X--- src/etc/Makefile.in.orig	2012-03-24 23:11:13.000000000 +0600
X+++ src/etc/Makefile.in	2012-03-24 23:14:23.000000000 +0600
X@@ -431,24 +431,7 @@
X 	-rm -f *~ \#* .\#* cscope*.out core core.* tags TAGS
X 
X install-data-local:
X-	expr "`id`" : 'uid=0(' >/dev/null && OWNER="-o daemon" || OWNER=""; \
X-	$(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)/init.d"; \
X-	new=""; test ! -f "$(DESTDIR)$(sysconfdir)/init.d/munge" \
X-	  || cmp "$(builddir)/munge.init" \
X-	    "$(DESTDIR)$(sysconfdir)/init.d/munge" \
X-	  1>/dev/null 2>&1 || new=".new"; \
X-	$(INSTALL) -m 0755 "$(builddir)/munge.init" \
X-	  "$(DESTDIR)$(sysconfdir)/init.d/munge$${new}"; \
X-	test -d "/etc/sysconfig" && d="sysconfig" || d="default"; \
X-	new=""; test ! -f "$(DESTDIR)$(sysconfdir)/$${d}/munge" \
X-	  || cmp "$(srcdir)/munge.sysconfig" \
X-	    "$(DESTDIR)$(sysconfdir)/$${d}/munge" \
X-	  1>/dev/null 2>&1 || new=".new"; \
X-	$(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)/$${d}"; \
X-	$(INSTALL) -m 0644 "$(srcdir)/munge.sysconfig" \
X-	  "$(DESTDIR)$(sysconfdir)/$${d}/munge$${new}"; \
X-	$(INSTALL) $${OWNER} -m 0700 -d \
X-	  "$(DESTDIR)$(sysconfdir)/munge"; \
X+	expr "`id`" : 'uid=0(' >/dev/null && OWNER="-o root" || OWNER=""; \
X 	$(INSTALL) -m 0711 -d "$(DESTDIR)$(localstatedir)/lib"; \
X 	$(INSTALL) $${OWNER} -m 0711 -d \
X 	  "$(DESTDIR)$(localstatedir)/lib/munge"; \
462f6ef254fcf7b8c38d458b9abbb915
echo x - munge/distinfo
sed 's/^X//' >munge/distinfo << 'c769d746a2fa6d9ce73f66d22cf31e3d'
XSHA256 (munge-0.5.10.tar.bz2) = 00e0125c2895877b555872647b0a98d13838a54acda78614bb6c6e70daadabc6
XSIZE (munge-0.5.10.tar.bz2) = 424285
c769d746a2fa6d9ce73f66d22cf31e3d
echo x - munge/pkg-descr
sed 's/^X//' >munge/pkg-descr << '69fc3a529668add21913f1930ec3a5e8'
XMUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for creating and
Xvalidating credentials. It is designed to be highly scalable for use in an HPC
Xcluster environment. It allows a process to authenticate the UID and GID of
Xanother local or remote process within a group of hosts having common users and
Xgroups. These hosts form a security realm that is defined by a shared
Xcryptographic key. Clients within this security realm can create and validate
Xcredentials without the use of root privileges, reserved ports, or
Xplatform-specific methods.
X
XWWW:	http://code.google.com/p/munge/
69fc3a529668add21913f1930ec3a5e8
echo x - munge/pkg-plist
sed 's/^X//' >munge/pkg-plist << '4bfdd0d6f002561db68276194f558ece'
X at stopdaemon munged
Xinclude/munge.h
Xbin/remunge
Xbin/unmunge
Xbin/munge
Xlib/libmunge.la
Xlib/libmunge.so.2
Xlib/libmunge.a
Xlib/libmunge.so
Xsbin/munged
X at cwd /
X at exec rm /var/run/${PORTNAME}
X at exec rm /var/log/${PORTNAME}
X at exec rm /var/lib/${PORTNAME}
4bfdd0d6f002561db68276194f558ece
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list