Import munge-0.5.10nb3 as wip/munge.
Updated to build on CentOS Linux. 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.
This commit is contained in:
parent
5ab0fc1623
commit
07776ca2bf
10 changed files with 190 additions and 0 deletions
9
munge/DESCR
Normal file
9
munge/DESCR
Normal file
|
@ -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.
|
28
munge/Makefile
Normal file
28
munge/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# $NetBSD: Makefile,v 1.1 2013/08/29 02:10:07 outpaddling Exp $
|
||||
|
||||
DISTNAME= munge-0.5.10
|
||||
PKGREVISION= 3
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://munge.googlecode.com/files/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MAINTAINER= asau@inbox.ru
|
||||
HOMEPAGE= http://code.google.com/p/munge/
|
||||
COMMENT= Authentication service for creating and validating credentials
|
||||
|
||||
USE_TOOLS= perl
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ARGS+= --localstatedir=$(VARBASE)
|
||||
|
||||
OWN_DIRS= $(VARBASE)/lib/munge $(VARBASE)/log/munge $(VARBASE)/run/munge
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
.if ${OPSYS} == Linux
|
||||
.include "../../security/libgcrypt/buildlink3.mk"
|
||||
.endif
|
||||
.include "../../archivers/bzip2/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
.include "../../security/openssl/buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
32
munge/PLIST
Normal file
32
munge/PLIST
Normal file
|
@ -0,0 +1,32 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2013/08/29 02:10:07 outpaddling Exp $
|
||||
bin/munge
|
||||
bin/remunge
|
||||
bin/unmunge
|
||||
include/munge.h
|
||||
lib/libmunge.la
|
||||
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
|
||||
share/examples/init.d/munge
|
||||
@pkgdir var/run/munge
|
||||
@pkgdir var/log/munge
|
||||
@pkgdir var/lib/munge
|
||||
@pkgdir share/examples/munge
|
1
munge/PLIST.Linux
Normal file
1
munge/PLIST.Linux
Normal file
|
@ -0,0 +1 @@
|
|||
share/examples/sysconfig/munge
|
1
munge/PLIST.NetBSD
Normal file
1
munge/PLIST.NetBSD
Normal file
|
@ -0,0 +1 @@
|
|||
share/examples/defaults/munge
|
13
munge/buildlink3.mk
Normal file
13
munge/buildlink3.mk
Normal file
|
@ -0,0 +1,13 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2013/08/29 02:10:07 outpaddling Exp $
|
||||
|
||||
BUILDLINK_TREE+= munge
|
||||
|
||||
.if !defined(MUNGE_BUILDLINK3_MK)
|
||||
MUNGE_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.munge+= munge>=0.5.10
|
||||
BUILDLINK_PKGSRCDIR.munge?= ../../wip/munge
|
||||
|
||||
.endif # MUNGE_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -munge
|
8
munge/distinfo
Normal file
8
munge/distinfo
Normal file
|
@ -0,0 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.1 2013/08/29 02:10:07 outpaddling Exp $
|
||||
|
||||
SHA1 (munge-0.5.10.tar.bz2) = 2abd4103dc99549e2d8d002d845e301304f3fbbf
|
||||
RMD160 (munge-0.5.10.tar.bz2) = d461bd002dde7114608993dacb6a5535a9047f2b
|
||||
Size (munge-0.5.10.tar.bz2) = 424285 bytes
|
||||
SHA1 (patch-config_x__ac__arch.m4) = c55f74140c7e4234fcbbbee8ba46069745c03994
|
||||
SHA1 (patch-configure) = 52b13fea580e2a80ba352475d6486b87d199283d
|
||||
SHA1 (patch-src_etc_Makefile.in) = bd0963657918d70bcb03c12cff80831f96d8f4a7
|
22
munge/patches/patch-config_x__ac__arch.m4
Normal file
22
munge/patches/patch-config_x__ac__arch.m4
Normal file
|
@ -0,0 +1,22 @@
|
|||
$NetBSD: patch-config_x__ac__arch.m4,v 1.1 2013/08/29 02:10:08 outpaddling Exp $
|
||||
|
||||
--- config/x_ac_arch.m4.orig 2006-10-31 01:17:13.000000000 +0000
|
||||
+++ config/x_ac_arch.m4
|
||||
@@ -57,7 +57,7 @@ AC_DEFUN([X_AC_ARCH], [
|
||||
fi
|
||||
fi
|
||||
|
||||
- if test "$x_ac_arch" == "32"; then
|
||||
+ if test "$x_ac_arch" = "32"; then
|
||||
if expr "$host_os" : "aix" >/dev/null 2>&1; then
|
||||
test -z "$OBJECT_MODE" && AC_MSG_ERROR(
|
||||
[The OBJECT_MODE variable must be exported to the shell.])
|
||||
@@ -67,7 +67,7 @@ AC_DEFUN([X_AC_ARCH], [
|
||||
test -d /lib -o -d /usr/lib \
|
||||
&& LDFLAGS="-L/lib -L/usr/lib $LDFLAGS"
|
||||
fi
|
||||
- elif test "$x_ac_arch" == "64"; then
|
||||
+ elif test "$x_ac_arch" = "64"; then
|
||||
if expr "$host_os" : "aix" >/dev/null 2>&1; then
|
||||
test -z "$OBJECT_MODE" && AC_MSG_ERROR(
|
||||
[The OBJECT_MODE variable must be exported to the shell.])
|
22
munge/patches/patch-configure
Normal file
22
munge/patches/patch-configure
Normal file
|
@ -0,0 +1,22 @@
|
|||
$NetBSD: patch-configure,v 1.1 2013/08/29 02:10:08 outpaddling Exp $
|
||||
|
||||
--- configure.orig 2012-01-24 14:54:58.000000000 +0000
|
||||
+++ configure
|
||||
@@ -4864,7 +4864,7 @@ $as_echo "${x_ac_arch_prog_cc_maix=no}"
|
||||
fi
|
||||
fi
|
||||
|
||||
- if test "$x_ac_arch" == "32"; then
|
||||
+ if test "$x_ac_arch" = "32"; then
|
||||
if expr "$host_os" : "aix" >/dev/null 2>&1; then
|
||||
test -z "$OBJECT_MODE" && as_fn_error $? "The OBJECT_MODE variable must be exported to the shell." "$LINENO" 5
|
||||
OBJECT_MODE=32
|
||||
@@ -4873,7 +4873,7 @@ $as_echo "${x_ac_arch_prog_cc_maix=no}"
|
||||
test -d /lib -o -d /usr/lib \
|
||||
&& LDFLAGS="-L/lib -L/usr/lib $LDFLAGS"
|
||||
fi
|
||||
- elif test "$x_ac_arch" == "64"; then
|
||||
+ elif test "$x_ac_arch" = "64"; then
|
||||
if expr "$host_os" : "aix" >/dev/null 2>&1; then
|
||||
test -z "$OBJECT_MODE" && as_fn_error $? "The OBJECT_MODE variable must be exported to the shell." "$LINENO" 5
|
||||
OBJECT_MODE=64
|
54
munge/patches/patch-src_etc_Makefile.in
Normal file
54
munge/patches/patch-src_etc_Makefile.in
Normal file
|
@ -0,0 +1,54 @@
|
|||
$NetBSD: patch-src_etc_Makefile.in,v 1.1 2013/08/29 02:10:08 outpaddling Exp $
|
||||
|
||||
--- src/etc/Makefile.in.orig 2011-01-20 01:41:36.000000000 +0000
|
||||
+++ src/etc/Makefile.in
|
||||
@@ -217,6 +217,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@
|
||||
@@ -432,23 +433,23 @@ distclean-local::
|
||||
|
||||
install-data-local:
|
||||
expr "`id`" : 'uid=0(' >/dev/null && OWNER="-o daemon" || OWNER=""; \
|
||||
- $(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)/init.d"; \
|
||||
- new=""; test ! -f "$(DESTDIR)$(sysconfdir)/init.d/munge" \
|
||||
+ $(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfexampledir)/init.d"; \
|
||||
+ new=""; test ! -f "$(DESTDIR)$(sysconfexampledir)/init.d/munge" \
|
||||
|| cmp "$(builddir)/munge.init" \
|
||||
- "$(DESTDIR)$(sysconfdir)/init.d/munge" \
|
||||
+ "$(DESTDIR)$(sysconfexampledir)/init.d/munge" \
|
||||
1>/dev/null 2>&1 || new=".new"; \
|
||||
$(INSTALL) -m 0755 "$(builddir)/munge.init" \
|
||||
- "$(DESTDIR)$(sysconfdir)/init.d/munge$${new}"; \
|
||||
+ "$(DESTDIR)$(sysconfexampledir)/init.d/munge$${new}"; \
|
||||
test -d "/etc/sysconfig" && d="sysconfig" || d="default"; \
|
||||
- new=""; test ! -f "$(DESTDIR)$(sysconfdir)/$${d}/munge" \
|
||||
+ new=""; test ! -f "$(DESTDIR)$(sysconfexampledir)/$${d}/munge" \
|
||||
|| cmp "$(srcdir)/munge.sysconfig" \
|
||||
- "$(DESTDIR)$(sysconfdir)/$${d}/munge" \
|
||||
+ "$(DESTDIR)$(sysconfexampledir)/$${d}/munge" \
|
||||
1>/dev/null 2>&1 || new=".new"; \
|
||||
- $(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)/$${d}"; \
|
||||
+ $(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfexampledir)/$${d}"; \
|
||||
$(INSTALL) -m 0644 "$(srcdir)/munge.sysconfig" \
|
||||
- "$(DESTDIR)$(sysconfdir)/$${d}/munge$${new}"; \
|
||||
+ "$(DESTDIR)$(sysconfexampledir)/$${d}/munge$${new}"; \
|
||||
$(INSTALL) $${OWNER} -m 0700 -d \
|
||||
- "$(DESTDIR)$(sysconfdir)/munge"; \
|
||||
+ "$(DESTDIR)$(sysconfexampledir)/munge"; \
|
||||
$(INSTALL) -m 0711 -d "$(DESTDIR)$(localstatedir)/lib"; \
|
||||
$(INSTALL) $${OWNER} -m 0711 -d \
|
||||
"$(DESTDIR)$(localstatedir)/lib/munge"; \
|
||||
@@ -458,7 +459,7 @@ install-data-local:
|
||||
$(INSTALL) -m 0711 -d "$(DESTDIR)$(localstatedir)/run"; \
|
||||
$(INSTALL) $${OWNER} -m 0755 -d \
|
||||
"$(DESTDIR)$(localstatedir)/run/munge"
|
||||
- chmod 755 "$(DESTDIR)$(sysconfdir)"
|
||||
+ chmod 755 "$(DESTDIR)$(sysconfexampledir)"
|
||||
chmod 755 "$(DESTDIR)$(localstatedir)"
|
||||
chmod 755 "$(DESTDIR)$(localstatedir)/lib"
|
||||
chmod 755 "$(DESTDIR)$(localstatedir)/log"
|
Loading…
Reference in a new issue