SPECS: munge.spec (NEW) - added

aredridel aredridel at pld-linux.org
Mon Dec 25 03:12:59 CET 2006


Author: aredridel                    Date: Mon Dec 25 02:12:59 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   munge.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/munge.spec
diff -u /dev/null SPECS/munge.spec:1.1
--- /dev/null	Mon Dec 25 03:12:59 2006
+++ SPECS/munge.spec	Mon Dec 25 03:12:54 2006
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+#
+Summary:	MUNGE Uid 'N' Gid Emporium
+Name:		munge
+Version:	0.5.7
+Release:	1
+License:	GPL?
+Group:		Applications
+Source0:	http://download.gna.org/munge/0.5.7/%{name}-%{version}.tar.bz2
+# Source0-md5:	50fc85ddded96b13f893568d9f10d713
+URL:		http://home.gna.org/munge/
+BuildRequires:	rpmbuild(macros) >= 1.228
+Requires(post,preun):	/sbin/chkconfig
+Requires(post,postun):	/sbin/ldconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/rc.d/
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+mv $RPM_BUILD_ROOT/etc/init.d/ $RPM_BUILD_ROOT/etc/rc.d/init.d/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add %{name}
+/sbin/ldconfig
+%service %{name} restart
+
+%preun
+if [ "$1" = "0" ]; then
+	%service -q %{name} stop
+	/sbin/chkconfig --del %{name}
+fi
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc
+%attr(754,root,root) /etc/rc.d/init.d/munge
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/munge
+%attr(755,root,root) %{_bindir}/munge
+%attr(755,root,root) %{_bindir}/remunge
+%attr(755,root,root) %{_bindir}/unmunge
+%{_includedir}/munge.h
+%{_libdir}/libmunge.a
+%attr(755,root,root) %{_libdir}/libmunge.so.2.0.0
+%attr(755,root,root) %{_sbindir}/munged
+%{_mandir}/man1/munge.1*
+%{_mandir}/man1/remunge.1*
+%{_mandir}/man1/unmunge.1*
+%{_mandir}/man3/munge.3*
+%{_mandir}/man3/munge_ctx.3*
+%{_mandir}/man3/munge_enum.3*
+%{_mandir}/man7/munge.7*
+%{_mandir}/man8/munged.8*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/25 02:12:54  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list