summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2015-08-09 17:01:15 +0000
committerKoop Mast <kwm@FreeBSD.org>2015-08-09 17:01:15 +0000
commit6551f52192c36f10d16eca5f172612e31a3da31b (patch)
tree2e0b7acc1b2104c7d26e3c7df5209fbb1208f059 /sysutils
parentUpdate to 2.8.5 [1]. (diff)
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@
Notes
Notes: svn path=/head/; revision=393809
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/consolekit/Makefile3
-rw-r--r--sysutils/consolekit/pkg-plist3
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile
index 745def092c11..b34473b685fc 100644
--- a/sysutils/consolekit/Makefile
+++ b/sysutils/consolekit/Makefile
@@ -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>
diff --git a/sysutils/consolekit/pkg-plist b/sysutils/consolekit/pkg-plist
index cba8377bb5dd..30f1ba35429b 100644
--- a/sysutils/consolekit/pkg-plist
+++ b/sysutils/consolekit/pkg-plist
@@ -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.freedesktop.ConsoleKit.service
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