svn commit: r393809 - head/sysutils/consolekit

Koop Mast kwm at FreeBSD.org
Sun Aug 9 17:01:17 UTC 2015


Author: kwm
Date: Sun Aug  9 17:01:15 2015
New Revision: 393809
URL: https://svnweb.freebsd.org/changeset/ports/393809

Log:
  Don't create the history log file at post-install, and don't list it in the
  plist with a fixed checksum. Move the touch command to the plist, and clean
  it up regardless of checksum.
  
  PR:		202034
  Submitted by:	peter@

Modified:
  head/sysutils/consolekit/Makefile
  head/sysutils/consolekit/pkg-plist

Modified: head/sysutils/consolekit/Makefile
==============================================================================
--- head/sysutils/consolekit/Makefile	Sun Aug  9 16:46:24 2015	(r393808)
+++ head/sysutils/consolekit/Makefile	Sun Aug  9 17:01:15 2015	(r393809)
@@ -3,7 +3,7 @@
 
 PORTNAME=	consolekit
 PORTVERSION=	0.4.5
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	http://www.freedesktop.org/software/ConsoleKit/dist/
 DISTFILES=	ConsoleKit-${PORTVERSION}${EXTRACT_SUFX}
@@ -33,6 +33,5 @@ post-install:
 	${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-server-pid \
 	    	${STAGEDIR}${PREFIX}/libexec/ck-get-x11-server-pid
 	@${MKDIR} ${STAGEDIR}/var/log/ConsoleKit
-	${TOUCH} ${STAGEDIR}/var/log/ConsoleKit/history
 
 .include <bsd.port.mk>

Modified: head/sysutils/consolekit/pkg-plist
==============================================================================
--- head/sysutils/consolekit/pkg-plist	Sun Aug  9 16:46:24 2015	(r393808)
+++ head/sysutils/consolekit/pkg-plist	Sun Aug  9 17:01:15 2015	(r393809)
@@ -1,4 +1,3 @@
-/var/log/ConsoleKit/history
 bin/ck-history
 bin/ck-launch-session
 bin/ck-list-sessions
@@ -27,6 +26,8 @@ share/dbus-1/system-services/org.freedes
 share/polkit-1/actions/org.freedesktop.consolekit.policy
 @dir /var/run/ConsoleKit
 @dir /var/log/ConsoleKit
+ at exec /usr/bin/touch /var/log/ConsoleKit/history
+ at rmtry /var/log/ConsoleKit/history
 @dir etc/ConsoleKit/run-seat.d
 @dir etc/ConsoleKit/run-session.d
 @dir lib/ConsoleKit/run-seat.d


More information about the svn-ports-head mailing list