Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 17:01:16 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r393809 - head/sysutils/consolekit
Message-ID:  <201508091701.t79H1GZM031602@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+@exec /usr/bin/touch /var/log/ConsoleKit/history
+@rmtry /var/log/ConsoleKit/history
 @dir etc/ConsoleKit/run-seat.d
 @dir etc/ConsoleKit/run-session.d
 @dir lib/ConsoleKit/run-seat.d



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