diff options
author | kwm <kwm@FreeBSD.org> | 2015-08-10 01:01:15 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2015-08-10 01:01:15 +0800 |
commit | 79add0e737a5f6ac4ccbb1f321215d6df4e4cc89 (patch) | |
tree | 2e0b7acc1b2104c7d26e3c7df5209fbb1208f059 | |
parent | a27776d4deb16a57f913ef23d264fe2db92d18e3 (diff) | |
download | freebsd-ports-gnome-79add0e737a5f6ac4ccbb1f321215d6df4e4cc89.tar.gz freebsd-ports-gnome-79add0e737a5f6ac4ccbb1f321215d6df4e4cc89.tar.zst freebsd-ports-gnome-79add0e737a5f6ac4ccbb1f321215d6df4e4cc89.zip |
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@
-rw-r--r-- | sysutils/consolekit/Makefile | 3 | ||||
-rw-r--r-- | sysutils/consolekit/pkg-plist | 3 |
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 |