svn commit: r361052 - in head/security/munge: . files
Tijl Coosemans
tijl at FreeBSD.org
Mon Jul 7 11:27:25 UTC 2014
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
- at unexec rm %D/var/run/munge 2>&1 >/dev/null || true
- at unexec rm %D/var/log/munge 2>&1 >/dev/null || true
- at unexec rm %D/var/lib/munge 2>&1 >/dev/null || true
+sbin/munged
+ at cwd /var
+ at exec mkdir -p %D/lib
+ at exec mkdir -p -m 711 %D/lib/munge
+ at exec mkdir -p -m 700 %D/log/munge
+ at exec mkdir -p %D/run/munge
+ at dirrmtry run/munge
+ at dirrmtry log/munge
+ at dirrmtry lib/munge
+ at dirrmtry lib
+ at cwd %%RESETPREFIX%%
More information about the svn-ports-all
mailing list