summaryrefslogtreecommitdiffstats
path: root/extra/consolekit
diff options
context:
space:
mode:
Diffstat (limited to 'extra/consolekit')
-rwxr-xr-xextra/consolekit/.footprint.i6862
-rwxr-xr-xextra/consolekit/.footprint.x86_642
-rwxr-xr-xextra/consolekit/.md5sum.i6861
-rwxr-xr-xextra/consolekit/.md5sum.x86_641
-rwxr-xr-xextra/consolekit/Pkgfile7
-rw-r--r--extra/consolekit/consolekit.logrotate5
6 files changed, 15 insertions, 3 deletions
diff --git a/extra/consolekit/.footprint.i686 b/extra/consolekit/.footprint.i686
index 28d4f2132..414e9f95b 100755
--- a/extra/consolekit/.footprint.i686
+++ b/extra/consolekit/.footprint.i686
@@ -7,6 +7,8 @@ drwxr-xr-x root/root etc/ConsoleKit/seats.d/
drwxr-xr-x root/root etc/dbus-1/
drwxr-xr-x root/root etc/dbus-1/system.d/
-rw-r--r-- root/root etc/dbus-1/system.d/ConsoleKit.conf
+drwxr-xr-x root/root etc/logrotate.d/
+-rw-r--r-- root/root etc/logrotate.d/consolekit
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/security/
-rwxr-xr-x root/root lib/security/pam_ck_connector.la
diff --git a/extra/consolekit/.footprint.x86_64 b/extra/consolekit/.footprint.x86_64
index 28d4f2132..414e9f95b 100755
--- a/extra/consolekit/.footprint.x86_64
+++ b/extra/consolekit/.footprint.x86_64
@@ -7,6 +7,8 @@ drwxr-xr-x root/root etc/ConsoleKit/seats.d/
drwxr-xr-x root/root etc/dbus-1/
drwxr-xr-x root/root etc/dbus-1/system.d/
-rw-r--r-- root/root etc/dbus-1/system.d/ConsoleKit.conf
+drwxr-xr-x root/root etc/logrotate.d/
+-rw-r--r-- root/root etc/logrotate.d/consolekit
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/security/
-rwxr-xr-x root/root lib/security/pam_ck_connector.la
diff --git a/extra/consolekit/.md5sum.i686 b/extra/consolekit/.md5sum.i686
index c0a4662bb..d20236aef 100755
--- a/extra/consolekit/.md5sum.i686
+++ b/extra/consolekit/.md5sum.i686
@@ -1,2 +1,3 @@
b57eb18eae8c4d3631d5f4f030218a29 ConsoleKit-0.4.4.tar.bz2
+6fefa451d9fe2fc6d6269629d3529793 consolekit.logrotate
a8a4de71d9b0549b8143e5f6c2a36fc7 pam-foreground-compat.ck
diff --git a/extra/consolekit/.md5sum.x86_64 b/extra/consolekit/.md5sum.x86_64
index c0a4662bb..d20236aef 100755
--- a/extra/consolekit/.md5sum.x86_64
+++ b/extra/consolekit/.md5sum.x86_64
@@ -1,2 +1,3 @@
b57eb18eae8c4d3631d5f4f030218a29 ConsoleKit-0.4.4.tar.bz2
+6fefa451d9fe2fc6d6269629d3529793 consolekit.logrotate
a8a4de71d9b0549b8143e5f6c2a36fc7 pam-foreground-compat.ck
diff --git a/extra/consolekit/Pkgfile b/extra/consolekit/Pkgfile
index 964f3ff34..4a0ae0499 100755
--- a/extra/consolekit/Pkgfile
+++ b/extra/consolekit/Pkgfile
@@ -7,9 +7,10 @@
name=consolekit
version=0.4.4
-release=3
+release=4
source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$version.tar.bz2
- pam-foreground-compat.ck)
+ pam-foreground-compat.ck
+ consolekit.logrotate)
build() {
cd ConsoleKit-$version
@@ -25,5 +26,5 @@ build() {
make
make DESTDIR=$PKG install
install -m755 $SRC/pam-foreground-compat.ck $PKG/usr/lib/ConsoleKit/run-session.d/
+ install -D -m644 $SRC/consolekit.logrotate $PKG/etc/logrotate.d/consolekit
}
-
diff --git a/extra/consolekit/consolekit.logrotate b/extra/consolekit/consolekit.logrotate
new file mode 100644
index 000000000..7c5346ef8
--- /dev/null
+++ b/extra/consolekit/consolekit.logrotate
@@ -0,0 +1,5 @@
+/var/log/ConsoleKit/history {
+ missingok
+ notifempty
+ delaycompress
+}