Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2016 16:53:58 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422733 - in head/security/munge: . files
Message-ID:  <201609241653.u8OGrwVg073243@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Sat Sep 24 16:53:57 2016
New Revision: 422733
URL: https://svnweb.freebsd.org/changeset/ports/422733

Log:
  security/munge: UNBREAK and Update version 0.5.11=>0.5.12
  
  - Move MASTER_SITES to GITHUB from GOOGLE_CODE
  - Update WWW
  
  PR:		212712
  Submitted by:	monwarez@mailoo.org

Added:
  head/security/munge/files/patch-src_etc_Makefile.in   (contents, props changed)
Modified:
  head/security/munge/Makefile
  head/security/munge/distinfo
  head/security/munge/pkg-descr
  head/security/munge/pkg-plist

Modified: head/security/munge/Makefile
==============================================================================
--- head/security/munge/Makefile	Sat Sep 24 16:46:14 2016	(r422732)
+++ head/security/munge/Makefile	Sat Sep 24 16:53:57 2016	(r422733)
@@ -2,10 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	munge
-PORTVERSION=	0.5.11
-PORTREVISION=	2
+PORTVERSION=	0.5.12
 CATEGORIES=	security
-MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Authentication service for creating and validating credentials
@@ -13,18 +11,15 @@ COMMENT=	Authentication service for crea
 LICENSE=	GPLv3 LGPL3
 LICENSE_COMB=	dual
 
-BROKEN=		Unfetchable (google code has gone away)
+USE_GITHUB=yes
+GH_ACCOUNT=	dun
+GH_TAGNAME=	880584f
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-openssl-prefix=${OPENSSLBASE}
-USES=		libtool pathfix perl5 ssl tar:bzip2
+USES=		libtool pathfix perl5 ssl
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	munged
 INSTALL_TARGET=	install-strip
 
-post-install:
-	${RM} -r ${STAGEDIR}${PREFIX}/etc/default
-	${RM} -r ${STAGEDIR}${PREFIX}/etc/init.d
-	${RM} -r ${STAGEDIR}${ETCDIR}
-
 .include <bsd.port.mk>

Modified: head/security/munge/distinfo
==============================================================================
--- head/security/munge/distinfo	Sat Sep 24 16:46:14 2016	(r422732)
+++ head/security/munge/distinfo	Sat Sep 24 16:53:57 2016	(r422733)
@@ -1,2 +1,3 @@
-SHA256 (munge-0.5.11.tar.bz2) = 8e075614f81cb0a6df21a0aafdc825498611a04429d0876f074fc828739351a5
-SIZE (munge-0.5.11.tar.bz2) = 423232
+TIMESTAMP = 1474733134
+SHA256 (dun-munge-0.5.12-880584f_GH0.tar.gz) = 3b1849b3482b7cf7d14c55c0529a3b9a963fc0f17f78b0283e0b865defc1268f
+SIZE (dun-munge-0.5.12-880584f_GH0.tar.gz) = 573947

Added: head/security/munge/files/patch-src_etc_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/munge/files/patch-src_etc_Makefile.in	Sat Sep 24 16:53:57 2016	(r422733)
@@ -0,0 +1,39 @@
+--- src/etc/Makefile.in.orig	2016-09-24 16:18:55 UTC
++++ src/etc/Makefile.in
+@@ -520,36 +520,11 @@ distclean-local::
+ 	-rm -f *~ \#* .\#* cscope*.out core core.* tags TAGS
+ 
+ install-data-local:
+-	test -d "/etc/rc.d/init.d" \
+-	    && INITDIR="$(sysconfdir)/rc.d/init.d" \
+-	    || INITDIR="$(sysconfdir)/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"; \
+-	  $(INSTALL) -m 0755 -d "$(DESTDIR)$${CONFDIR}"; \
+-	  $(INSTALL) -m 0644 \
+-	    "$(srcdir)/munge.sysconfig" "$(DESTDIR)$${CONFDIR}/munge"
+-	:
+ 	PKGCONFIGDIR="$(prefix)/libdata/pkgconfig"; \
+ 	$(INSTALL) -m 0755 -d "$(DESTDIR)$${PKGCONFIGDIR}"; \
+ 	$(INSTALL) -m 0644 \
+ 	  "$(builddir)/munge.pc" "$(DESTDIR)$${PKGCONFIGDIR}/munge.pc"
+ 	:
+-	UNITDIR="$(prefix)/lib/systemd/system"; \
+-	$(INSTALL) -m 0755 -d "$(DESTDIR)$${UNITDIR}"; \
+-	$(INSTALL) -m 0644 \
+-	  "$(srcdir)/munge.service" "$(DESTDIR)$${UNITDIR}/munge.service"
+-	:
+-	TMPFILESDIR="$(prefix)/lib/tmpfiles.d"; \
+-	$(INSTALL) -m 0755 -d "$(DESTDIR)$${TMPFILESDIR}"; \
+-	$(INSTALL) -m 0644 \
+-	  "$(srcdir)/munge-tmpfiles.conf" \
+-	  "$(DESTDIR)$${TMPFILESDIR}/munge.conf"
+-	:
+ 	$(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)"
+ 	$(INSTALL) -m 0700 -d "$(DESTDIR)$(sysconfdir)/munge"
+ 	$(INSTALL) -m 0755 -d "$(DESTDIR)$(localstatedir)"

Modified: head/security/munge/pkg-descr
==============================================================================
--- head/security/munge/pkg-descr	Sat Sep 24 16:46:14 2016	(r422732)
+++ head/security/munge/pkg-descr	Sat Sep 24 16:53:57 2016	(r422733)
@@ -7,4 +7,4 @@ cryptographic key. Clients within this s
 credentials without the use of root privileges, reserved ports, or
 platform-specific methods.
 
-WWW: http://code.google.com/p/munge/
+WWW: https://dun.github.io/munge/

Modified: head/security/munge/pkg-plist
==============================================================================
--- head/security/munge/pkg-plist	Sat Sep 24 16:46:14 2016	(r422732)
+++ head/security/munge/pkg-plist	Sat Sep 24 16:53:57 2016	(r422733)
@@ -28,7 +28,8 @@ man/man3/munge_strerror.3.gz
 man/man7/munge.7.gz
 man/man8/munged.8.gz
 sbin/munged
-@dir /var/run/munge
-@dir(,,700) /var/log/munge
+@dir %%ETCDIR%%
 @dir(,,711) /var/lib/munge
 @dir /var/lib
+@dir /var/run/munge
+@dir(,,700) /var/log/munge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609241653.u8OGrwVg073243>