From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 25 10:20:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23A65106564A for ; Sun, 25 Mar 2012 10:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EE6D78FC1B for ; Sun, 25 Mar 2012 10:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2PAKBIp003369 for ; Sun, 25 Mar 2012 10:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2PAKBdW003368; Sun, 25 Mar 2012 10:20:11 GMT (envelope-from gnats) Resent-Date: Sun, 25 Mar 2012 10:20:11 GMT Resent-Message-Id: <201203251020.q2PAKBdW003368@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Muhammad Moinur Rahman <5u623l20@gmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 769F71065670 for ; Sun, 25 Mar 2012 10:18:10 +0000 (UTC) (envelope-from bofh@bofh.telnet.net.bd) Received: from mx-out-01.telnet-bd.com (mx-out-01.telnet-bd.com [116.212.104.92]) by mx1.freebsd.org (Postfix) with ESMTP id B921F8FC14 for ; Sun, 25 Mar 2012 10:18:08 +0000 (UTC) Received: from bofh.telnet.net.bd (bofh.telnet.net.bd [120.50.31.42]) by fortune-02.telnet.net.bd (Postfix) with ESMTPS id E24F62D420F for ; Sun, 25 Mar 2012 16:18:35 +0600 (BDT) Received: (from root@localhost) by bofh.telnet.net.bd (8.14.5/8.14.5/Submit) id q2PAI3v1081222; Sun, 25 Mar 2012 16:18:03 +0600 (BDT) (envelope-from bofh) Message-Id: <201203251018.q2PAI3v1081222@bofh.telnet.net.bd> Date: Sun, 25 Mar 2012 16:18:03 +0600 (BDT) From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/166386: [NEW PORT] security/munge: An authentication service for creating and validating credentials X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 10:20:12 -0000 >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@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= munge XPORTVERSION= 0.5.10 XCATEGORIES= security XMASTER_SITES= GOOGLE_CODE X XMAINTAINER= 5u623l20@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 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@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@cwd / X@exec rm /var/run/${PORTNAME} X@exec rm /var/log/${PORTNAME} X@exec rm /var/lib/${PORTNAME} 4bfdd0d6f002561db68276194f558ece exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: