[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Sunday, May 27, 2012 @ 00:30:21 Author: dreisner Revision: 159793 upgpkg: consolekit 0.4.6-4 - rebuild for libudev.so.1.0.0 Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-05-27 04:23:02 UTC (rev 159792) +++ PKGBUILD2012-05-27 04:30:21 UTC (rev 159793) @@ -4,7 +4,7 @@ pkgname=consolekit pkgver=0.4.6 -pkgrel=3 +pkgrel=4 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -16,6 +16,10 @@ # this has not been released yet, so this is a snapshot source=(ftp://ftp.archlinux.org/other/${pkgname}/ConsoleKit-${pkgver}.tar.bz2 pam-foreground-compat.ck consolekit.logrotate consolekit.tmpfiles.conf) +md5sums=('810990b607e338f06a6396c92b8a4a06' + 'a8a4de71d9b0549b8143e5f6c2a36fc7' + '6fefa451d9fe2fc6d6269629d3529793' + '8c5a8059db515d40fae1379daf084094') build() { cd $srcdir/ConsoleKit-$pkgver @@ -43,7 +47,3 @@ rm -rf ${pkgdir}/var/run } -md5sums=('810990b607e338f06a6396c92b8a4a06' - 'a8a4de71d9b0549b8143e5f6c2a36fc7' - '6fefa451d9fe2fc6d6269629d3529793' - '8c5a8059db515d40fae1379daf084094')
[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Saturday, April 28, 2012 @ 15:28:45 Author: tomegun Revision: 157473 upgpkg: consolekit 0.4.6-3 move /lib/security to /usr/lib/security Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-04-28 18:54:17 UTC (rev 157472) +++ PKGBUILD2012-04-28 19:28:45 UTC (rev 157473) @@ -4,7 +4,7 @@ pkgname=consolekit pkgver=0.4.6 -pkgrel=2 +pkgrel=3 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -25,6 +25,7 @@ --libexecdir=/usr/lib/ConsoleKit \ --with-systemdsystemunitdir=/usr/lib/systemd/system \ --enable-pam-module \ + --with-pam-module-dir=/usr/lib/security \ --enable-docbook-docs \ --enable-udev-acl make
[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Thursday, April 12, 2012 @ 17:12:47 Author: tomegun Revision: 156073 upgpkg: consolekit 0.4.6-2 rebuilt against extra (accidentally built the first version against testing) fixed the url to the sourcefile Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-04-12 19:45:04 UTC (rev 156072) +++ PKGBUILD2012-04-12 21:12:47 UTC (rev 156073) @@ -4,7 +4,7 @@ pkgname=consolekit pkgver=0.4.6 -pkgrel=1 +pkgrel=2 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -14,7 +14,7 @@ options=(!libtool) #source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2 # this has not been released yet, so this is a snapshot -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2 +source=(ftp://ftp.archlinux.org/other/${pkgname}/ConsoleKit-${pkgver}.tar.bz2 pam-foreground-compat.ck consolekit.logrotate consolekit.tmpfiles.conf) build() {
[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Monday, April 9, 2012 @ 09:18:02 Author: tomegun Revision: 155916 upgpkg: consolekit 0.4.6-1 updated to git snapshot (which will soon become 0.4.6) in order to include udev-acl which was deleted from udev so we can release the new udev version Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-04-09 08:06:09 UTC (rev 155915) +++ PKGBUILD2012-04-09 13:18:02 UTC (rev 155916) @@ -3,8 +3,8 @@ # Contributor: onestep_ua ones...@ukr.net pkgname=consolekit -pkgver=0.4.5 -pkgrel=2 +pkgver=0.4.6 +pkgrel=1 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -14,10 +14,6 @@ options=(!libtool) source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2 pam-foreground-compat.ck consolekit.logrotate consolekit.tmpfiles.conf) -md5sums=('f2657f93761206922d558471a936fbc3' - 'a8a4de71d9b0549b8143e5f6c2a36fc7' - '6fefa451d9fe2fc6d6269629d3529793' - '8c5a8059db515d40fae1379daf084094') build() { cd $srcdir/ConsoleKit-$pkgver @@ -25,9 +21,10 @@ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/ConsoleKit \ - --with-systemdsystemunitdir=/lib/systemd/system \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ --enable-pam-module \ - --enable-docbook-docs + --enable-docbook-docs \ + --enable-udev-acl make } @@ -43,3 +40,7 @@ rm -rf ${pkgdir}/var/run } +md5sums=('810990b607e338f06a6396c92b8a4a06' + 'a8a4de71d9b0549b8143e5f6c2a36fc7' + '6fefa451d9fe2fc6d6269629d3529793' + '8c5a8059db515d40fae1379daf084094')
[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Monday, April 9, 2012 @ 09:26:49 Author: tomegun Revision: 155921 use git snapshot Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2012-04-09 13:23:41 UTC (rev 155920) +++ PKGBUILD2012-04-09 13:26:49 UTC (rev 155921) @@ -12,7 +12,9 @@ depends=('polkit' 'zlib' 'libx11' 'dbus-glib') makedepends=('pkgconfig' 'xmlto' 'docbook-xsl') options=(!libtool) -source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2 +#source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2 +# this has not been released yet, so this is a snapshot +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2 pam-foreground-compat.ck consolekit.logrotate consolekit.tmpfiles.conf) build() {
[arch-commits] Commit in consolekit/trunk (PKGBUILD consolekit.tmpfiles.conf)
Date: Tuesday, January 3, 2012 @ 12:18:55 Author: ibiru Revision: 145879 remove /var/run, use tmpfiles support from initscripts to create /run/ConsoleKit Added: consolekit/trunk/consolekit.tmpfiles.conf Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD | 23 +-- consolekit.tmpfiles.conf |1 + 2 files changed, 14 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-01-03 17:17:44 UTC (rev 145878) +++ PKGBUILD2012-01-03 17:18:55 UTC (rev 145879) @@ -4,7 +4,7 @@ pkgname=consolekit pkgver=0.4.5 -pkgrel=1 +pkgrel=2 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -12,14 +12,15 @@ depends=('polkit' 'zlib' 'libx11' 'dbus-glib') makedepends=('pkgconfig' 'xmlto' 'docbook-xsl') options=(!libtool) -source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2 -pam-foreground-compat.ck consolekit.logrotate) +source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2 +pam-foreground-compat.ck consolekit.logrotate consolekit.tmpfiles.conf) md5sums=('f2657f93761206922d558471a936fbc3' 'a8a4de71d9b0549b8143e5f6c2a36fc7' - '6fefa451d9fe2fc6d6269629d3529793') + '6fefa451d9fe2fc6d6269629d3529793' + '8c5a8059db515d40fae1379daf084094') build() { - cd ${srcdir}/ConsoleKit-${pkgver} + cd $srcdir/ConsoleKit-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -31,12 +32,14 @@ } package() { - cd ${srcdir}/ConsoleKit-${pkgver} - make DESTDIR=${pkgdir} install - install -m755 ${srcdir}/pam-foreground-compat.ck ${pkgdir}/usr/lib/ConsoleKit/run-session.d/ + cd $srcdir/ConsoleKit-$pkgver + make DESTDIR=$pkgdir install + install -m755 $srcdir/pam-foreground-compat.ck $pkgdir/usr/lib/ConsoleKit/run-session.d/ # install the logrotate config - install -D -m644 ${srcdir}/consolekit.logrotate ${pkgdir}/etc/logrotate.d/consolekit + install -D -m644 $srcdir/consolekit.logrotate $pkgdir/etc/logrotate.d/consolekit -# rm -rf ${pkgdir}/var/run + install -D -m644 $srcdir/consolekit.tmpfiles.conf $pkgdir/usr/lib/tmpfiles.d/consolekit.conf + + rm -rf ${pkgdir}/var/run } Added: consolekit.tmpfiles.conf === --- consolekit.tmpfiles.conf(rev 0) +++ consolekit.tmpfiles.conf2012-01-03 17:18:55 UTC (rev 145879) @@ -0,0 +1 @@ +d /run/ConsoleKit 0755 - - -
[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Tuesday, May 31, 2011 @ 09:01:15 Author: ibiru Revision: 125884 update to 0.4.5, enable systemd Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-05-31 11:46:05 UTC (rev 125883) +++ PKGBUILD2011-05-31 13:01:15 UTC (rev 125884) @@ -3,7 +3,7 @@ # Contributor: onestep_ua ones...@ukr.net pkgname=consolekit -pkgver=0.4.4 +pkgver=0.4.5 pkgrel=1 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ options=(!libtool) source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2 pam-foreground-compat.ck consolekit.logrotate) -md5sums=('b57eb18eae8c4d3631d5f4f030218a29' +md5sums=('f2657f93761206922d558471a936fbc3' 'a8a4de71d9b0549b8143e5f6c2a36fc7' '6fefa451d9fe2fc6d6269629d3529793') @@ -24,6 +24,7 @@ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/ConsoleKit \ + --with-systemdsystemunitdir=/lib/systemd/system \ --enable-pam-module \ --enable-docbook-docs make
[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Monday, April 18, 2011 @ 08:49:11 Author: ibiru Revision: 120022 upgpkg: consolekit 0.4.4-1 update to 0.4.4 Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-18 11:39:06 UTC (rev 120021) +++ PKGBUILD2011-04-18 12:49:11 UTC (rev 120022) @@ -3,8 +3,8 @@ # Contributor: onestep_ua ones...@ukr.net pkgname=consolekit -pkgver=0.4.3 -pkgrel=3 +pkgver=0.4.4 +pkgrel=1 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -14,7 +14,7 @@ options=(!libtool) source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2 pam-foreground-compat.ck consolekit.logrotate) -md5sums=('4c39c6eacc75334b890f21eead1d2945' +md5sums=('b57eb18eae8c4d3631d5f4f030218a29' 'a8a4de71d9b0549b8143e5f6c2a36fc7' '6fefa451d9fe2fc6d6269629d3529793') @@ -37,5 +37,5 @@ # install the logrotate config install -D -m644 ${srcdir}/consolekit.logrotate ${pkgdir}/etc/logrotate.d/consolekit - rm -rf ${pkgdir}/var/run +# rm -rf ${pkgdir}/var/run }
[arch-commits] Commit in consolekit/trunk (PKGBUILD)
Date: Sunday, April 10, 2011 @ 09:37:10 Author: ibiru Revision: 119015 upgpkg: consolekit 0.4.3-3 nuke /var/run Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-04-10 13:15:42 UTC (rev 119014) +++ PKGBUILD2011-04-10 13:37:10 UTC (rev 119015) @@ -4,12 +4,12 @@ pkgname=consolekit pkgver=0.4.3 -pkgrel=2 +pkgrel=3 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; license=('GPL') -depends=('polkit=0.99' 'zlib' 'libx11=1.4.1' 'dbus-glib=0.92') +depends=('polkit' 'zlib' 'libx11' 'dbus-glib') makedepends=('pkgconfig' 'xmlto' 'docbook-xsl') options=(!libtool) source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2 @@ -27,9 +27,15 @@ --enable-pam-module \ --enable-docbook-docs make +} + +package() { + cd ${srcdir}/ConsoleKit-${pkgver} make DESTDIR=${pkgdir} install install -m755 ${srcdir}/pam-foreground-compat.ck ${pkgdir}/usr/lib/ConsoleKit/run-session.d/ # install the logrotate config install -D -m644 ${srcdir}/consolekit.logrotate ${pkgdir}/etc/logrotate.d/consolekit + + rm -rf ${pkgdir}/var/run }
[arch-commits] Commit in consolekit/trunk (PKGBUILD consolekit.logrotate)
Date: Tuesday, February 1, 2011 @ 15:16:14 Author: ibiru Revision: 108600 upgpkg: consolekit 0.4.3-2 add back the logrorate. the gdm user list bug is not yet fixed Added: consolekit/trunk/consolekit.logrotate Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD | 10 +++--- consolekit.logrotate |5 + 2 files changed, 12 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2011-02-01 19:32:36 UTC (rev 108599) +++ PKGBUILD2011-02-01 20:16:14 UTC (rev 108600) @@ -4,7 +4,7 @@ pkgname=consolekit pkgver=0.4.3 -pkgrel=1 +pkgrel=2 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -13,9 +13,10 @@ makedepends=('pkgconfig' 'xmlto' 'docbook-xsl') options=(!libtool) source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2 -pam-foreground-compat.ck) +pam-foreground-compat.ck consolekit.logrotate) md5sums=('4c39c6eacc75334b890f21eead1d2945' - 'a8a4de71d9b0549b8143e5f6c2a36fc7') + 'a8a4de71d9b0549b8143e5f6c2a36fc7' + '6fefa451d9fe2fc6d6269629d3529793') build() { cd ${srcdir}/ConsoleKit-${pkgver} @@ -28,4 +29,7 @@ make make DESTDIR=${pkgdir} install install -m755 ${srcdir}/pam-foreground-compat.ck ${pkgdir}/usr/lib/ConsoleKit/run-session.d/ + + # install the logrotate config + install -D -m644 ${srcdir}/consolekit.logrotate ${pkgdir}/etc/logrotate.d/consolekit } Added: consolekit.logrotate === --- consolekit.logrotate(rev 0) +++ consolekit.logrotate2011-02-01 20:16:14 UTC (rev 108600) @@ -0,0 +1,5 @@ +/var/log/ConsoleKit/history { +missingok +notifempty +delaycompress +}
[arch-commits] Commit in consolekit/trunk (PKGBUILD add_since_option.patch)
Date: Tuesday, August 10, 2010 @ 14:29:16 Author: jgc Revision: 87085 Add --since option from git master Added: consolekit/trunk/add_since_option.patch Modified: consolekit/trunk/PKGBUILD + PKGBUILD |5 - add_since_option.patch | 220 +++ 2 files changed, 224 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2010-08-10 18:27:07 UTC (rev 87084) +++ PKGBUILD2010-08-10 18:29:16 UTC (rev 87085) @@ -4,7 +4,7 @@ pkgname=consolekit pkgver=0.4.1 -pkgrel=3 +pkgrel=4 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -16,17 +16,20 @@ pam-foreground-compat.ck nodaemon.patch reorder-initialization.patch +add_since_option.patch consolekit.logrotate) md5sums=('48eda4483cc97841d5f88e8e003eb6d7' 'a8a4de71d9b0549b8143e5f6c2a36fc7' 'a5bfd56bc89411ff5bb18276a68cb212' '99fa8cb1bf232050cc0c076378e216c5' + 'bd5e72397fe2d42a933a897d28d58155' '6fefa451d9fe2fc6d6269629d3529793') build() { cd ${srcdir}/ConsoleKit-${pkgver} patch -Np1 -i ${srcdir}/nodaemon.patch patch -Np1 -i ${srcdir}/reorder-initialization.patch + patch -Np1 -i ${srcdir}/add_since_option.patch ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ Added: add_since_option.patch === --- add_since_option.patch (rev 0) +++ add_since_option.patch 2010-08-10 18:29:16 UTC (rev 87085) @@ -0,0 +1,220 @@ +From c9f2292339540d4b9d8940bcef16b7485480c8d9 Mon Sep 17 00:00:00 2001 +From: William Jon McCann jmcc...@redhat.com +Date: Fri, 11 Jun 2010 19:53:22 + +Subject: Add a --since option to show entries in a time window + +Doesn't load any history files it doesn't need to which should +help performance on systems with long histories. + +https://bugs.freedesktop.org/show_bug.cgi?id=25660 +--- +diff --git a/tools/ck-history.c b/tools/ck-history.c +index 606106c..d02caaa 100644 +--- a/tools/ck-history.c b/tools/ck-history.c +@@ -62,8 +62,8 @@ typedef enum { + + static GList *all_events = NULL; + +-static gboolean +-process_event_line (const char *line) ++static CkLogEvent * ++parse_event_line (const char *line) + { + GString*str; + CkLogEvent *event; +@@ -72,47 +72,80 @@ process_event_line (const char *line) + event = ck_log_event_new_from_string (str); + g_string_free (str, TRUE); + +-if (event != NULL) { +-all_events = g_list_prepend (all_events, event); +-} +- +-return TRUE; ++return event; + } + + static gboolean +-process_log_gzstream (gzFile *fstream) ++process_log_gzstream (gzFile *fstream, ++ GTimeVal *since) + { +-char line[MAX_LINE_LEN]; ++char line[MAX_LINE_LEN]; ++gboolean hit_since; ++GList *events; + ++events = NULL; ++hit_since = FALSE; + while (gzgets (fstream, line, sizeof (line)) != Z_NULL) { ++CkLogEvent *event; ++ + if (strlen (line) == sizeof (line) - 1) { + g_warning (Log line truncated); + } + +-process_event_line (line); ++event = parse_event_line (line); ++if (event == NULL) { ++continue; ++} ++ ++if (since == NULL || event-timestamp.tv_sec = since-tv_sec) { ++events = g_list_prepend (events, event); ++} else { ++hit_since = TRUE; ++} + } + +-return TRUE; ++all_events = g_list_concat (all_events, events); ++ ++return !hit_since; + } + + static gboolean +-process_log_stream (FILE *fstream) ++process_log_stream (FILE *fstream, ++GTimeVal *since) + { +-char line[MAX_LINE_LEN]; ++char line[MAX_LINE_LEN]; ++gboolean hit_since; ++GList *events; + ++events = NULL; ++hit_since = FALSE; + while (fgets (line, sizeof (line), fstream) != NULL) { ++CkLogEvent *event; ++ + if (strlen (line) == sizeof (line) - 1) { + g_warning (Log line truncated); + } + +-process_event_line (line); ++event = parse_event_line (line); ++if (event == NULL) { ++continue; ++} ++ ++if (since == NULL || event-timestamp.tv_sec = since-tv_sec) { ++events = g_list_prepend (events, event); ++}
[arch-commits] Commit in consolekit/trunk (PKGBUILD consolekit.logrotate)
Date: Friday, August 6, 2010 @ 16:24:41 Author: ibiru Revision: 86890 upgpkg: consolekit 0.4.1-3 add temporally logrotate config until new gdm is released to fix missing user list because of ck-history Added: consolekit/trunk/consolekit.logrotate Modified: consolekit/trunk/PKGBUILD --+ PKGBUILD | 23 ++- consolekit.logrotate |5 + 2 files changed, 19 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2010-08-06 18:02:54 UTC (rev 86889) +++ PKGBUILD2010-08-06 20:24:41 UTC (rev 86890) @@ -4,7 +4,7 @@ pkgname=consolekit pkgver=0.4.1 -pkgrel=2 +pkgrel=3 pkgdesc=A framework for defining and tracking users, login sessions, and seats arch=('i686' 'x86_64') url=http://www.freedesktop.org/wiki/Software/ConsoleKit; @@ -15,23 +15,28 @@ source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2 pam-foreground-compat.ck nodaemon.patch -reorder-initialization.patch) +reorder-initialization.patch +consolekit.logrotate) md5sums=('48eda4483cc97841d5f88e8e003eb6d7' 'a8a4de71d9b0549b8143e5f6c2a36fc7' 'a5bfd56bc89411ff5bb18276a68cb212' - '99fa8cb1bf232050cc0c076378e216c5') + '99fa8cb1bf232050cc0c076378e216c5' + '6fefa451d9fe2fc6d6269629d3529793') build() { cd ${srcdir}/ConsoleKit-${pkgver} - patch -Np1 -i ${srcdir}/nodaemon.patch || return 1 - patch -Np1 -i ${srcdir}/reorder-initialization.patch || return 1 + patch -Np1 -i ${srcdir}/nodaemon.patch + patch -Np1 -i ${srcdir}/reorder-initialization.patch ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/ConsoleKit \ --enable-pam-module \ - --enable-docbook-docs || return 1 - make || return 1 - make DESTDIR=${pkgdir} install || return 1 - install -m755 ${srcdir}/pam-foreground-compat.ck ${pkgdir}/usr/lib/ConsoleKit/run-session.d/ || return 1 + --enable-docbook-docs + make + make DESTDIR=${pkgdir} install + install -m755 ${srcdir}/pam-foreground-compat.ck ${pkgdir}/usr/lib/ConsoleKit/run-session.d/ + + # install the logrotate config + install -D -m644 ${srcdir}/consolekit.logrotate ${pkgdir}/etc/logrotate.d/consolekit } Added: consolekit.logrotate === --- consolekit.logrotate(rev 0) +++ consolekit.logrotate2010-08-06 20:24:41 UTC (rev 86890) @@ -0,0 +1,5 @@ +/var/log/ConsoleKit/history { +missingok +notifempty +delaycompress +}