Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 11:27:24 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361052 - in head/security/munge: . files
Message-ID:  <201407071127.s67BROBC023047@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Jul  7 11:27:24 2014
New Revision: 361052
URL: http://svnweb.freebsd.org/changeset/ports/361052
QAT: https://qat.redports.org/buildarchive/r361052/

Log:
  - USES=libtool pathfix tar:bzip2
  - Set localstatedir in CONFIGURE_ARGS instead of using a patch
  - Install pkgconfig file
  - Fix pkg-plist for directories under /var

Deleted:
  head/security/munge/files/patch-configure
  head/security/munge/files/patch-src-Makefile.in
Modified:
  head/security/munge/Makefile
  head/security/munge/pkg-plist

Modified: head/security/munge/Makefile
==============================================================================
--- head/security/munge/Makefile	Mon Jul  7 10:47:37 2014	(r361051)
+++ head/security/munge/Makefile	Mon Jul  7 11:27:24 2014	(r361052)
@@ -3,6 +3,7 @@
 
 PORTNAME=	munge
 PORTVERSION=	0.5.11
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	GOOGLE_CODE
 
@@ -12,10 +13,16 @@ COMMENT=	Authentication service for crea
 LICENSE=	GPLv3 LGPL3
 LICENSE_COMB=	dual
 
-USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USES=		perl5
+CONFIGURE_ARGS=	--localstatedir=/var
+PLIST_SUB=	RESETPREFIX=${PREFIX}
+USES=		libtool pathfix perl5 tar:bzip2
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	munged
 
+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/pkg-plist
==============================================================================
--- head/security/munge/pkg-plist	Mon Jul  7 10:47:37 2014	(r361051)
+++ head/security/munge/pkg-plist	Mon Jul  7 11:27:24 2014	(r361052)
@@ -1,13 +1,13 @@
 @stopdaemon munged
-include/munge.h
+bin/munge
 bin/remunge
 bin/unmunge
-bin/munge
-lib/libmunge.la
-lib/libmunge.so.2
+include/munge.h
 lib/libmunge.a
 lib/libmunge.so
-sbin/munged
+lib/libmunge.so.2
+lib/libmunge.so.2.0.0
+libdata/pkgconfig/munge.pc
 man/man1/munge.1.gz
 man/man1/remunge.1.gz
 man/man1/unmunge.1.gz
@@ -28,6 +28,14 @@ man/man3/munge_enum_str_to_int.3.gz
 man/man3/munge_strerror.3.gz
 man/man7/munge.7.gz
 man/man8/munged.8.gz
-@unexec rm %D/var/run/munge 2>&1 >/dev/null || true
-@unexec rm %D/var/log/munge 2>&1 >/dev/null || true
-@unexec rm %D/var/lib/munge 2>&1 >/dev/null || true
+sbin/munged
+@cwd /var
+@exec mkdir -p %D/lib
+@exec mkdir -p -m 711 %D/lib/munge
+@exec mkdir -p -m 700 %D/log/munge
+@exec mkdir -p %D/run/munge
+@dirrmtry run/munge
+@dirrmtry log/munge
+@dirrmtry lib/munge
+@dirrmtry lib
+@cwd %%RESETPREFIX%%



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