Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=systemd.git;a=commitdiff;h=aa3d67bb9f5abcea4d110021f45931fa6a32f4b5
commit aa3d67bb9f5abcea4d110021f45931fa6a32f4b5 Author: bouleetbil <bouleet...@frogdev.info> Date: Sun Nov 28 21:27:36 2010 +0000 consolekit-0.4.3-3-i686 *switch to systemd diff --git a/source/apps/consolekit/FrugalBuild b/source/apps/consolekit/FrugalBuild index 419fcaa..a4fa81f 100644 --- a/source/apps/consolekit/FrugalBuild +++ b/source/apps/consolekit/FrugalBuild @@ -4,10 +4,10 @@ pkgname=consolekit _F_archive_name="ConsoleKit" pkgver=0.4.3 -pkgrel=2 +pkgrel=3 pkgdesc="Framework for defining and tracking users, login sessions and seats." url="http://www.freedesktop.org/wiki/Software/ConsoleKit" -source=(http://www.freedesktop.org/software/ConsoleKit/dist/$_F_archive_name-$pkgver.tar.bz2 rc.xconsolekit \ +source=(http://www.freedesktop.org/software/ConsoleKit/dist/$_F_archive_name-$pkgver.tar.bz2 \ consolekit-0.4.0-polkit-automagic.patch) up2date="Flasttar http://www.freedesktop.org/software/ConsoleKit/dist" depends=('dbus-glib' 'zlib' 'pam' 'polkit') @@ -15,7 +15,6 @@ groups=('apps') archs=('i686' 'x86_64' 'ppc') Fconfopts="$Fconfopts --enable-pam-module --with-pam-module-dir=/lib/security --with-systemdsystemunitdir=/lib/systemd/system" sha1sums=('59f4d3d16f4cfef69ec2ab6afe2f1f2e8f8f70a2' \ - 'fee9f121f3c40eb067dc22019d76d30e08e8adef' \ '8a72a8f080542c6b0fb586ffd1d92e8330640663') subpkgs=('consolekit-x11') @@ -31,7 +30,6 @@ build() { Fmake Fmakeinstall Fsplit $pkgname-x11 /usr/libexec/ck-{collect-session-info,get-x11-display-device,get-x11-server-pid} - Frcd2 xconsolekit } # optimization OK diff --git a/source/apps/consolekit/consolekit.install b/source/apps/consolekit/consolekit.install index ff16416..cad213f 100644 --- a/source/apps/consolekit/consolekit.install +++ b/source/apps/consolekit/consolekit.install @@ -1,11 +1,16 @@ post_install() { - /usr/sbin/chkconfig --add rc.xconsolekit + systemctl enable console-kit-daemon.service +} + +post_upgrade() +{ + post_install } pre_remove() { - /usr/sbin/chkconfig --del rc.xconsolekit + systemctl delete console-kit-daemon.service } op=$1 diff --git a/source/apps/consolekit/rc.xconsolekit b/source/apps/consolekit/rc.xconsolekit deleted file mode 100644 index c3d3f51..0000000 --- a/source/apps/consolekit/rc.xconsolekit +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -# (c) 2008 bouleetbil <bouleet...@frogdev.info> -# rc.xconsolekit for FrugalWare -# distributed under GPL License - -# chkconfig: 2345 97 03 -# description: Framework for defining and tracking users, login sessions and seats. - -source /lib/initscripts/functions -TEXTDOMAIN=xconsolekit -TEXTDOMAINDIR=/lib/initscripts/messages - -actions=(restart start status stop) -daemon=$"ConsoleKit Daemon" - -pid="pidof console-kit-daemon 2> /dev/null" - -rc_start() -{ - start_msg - if [ -z "$(eval $pid)" ]; then - /usr/sbin/console-kit-daemon -- 2>/dev/null 1>/dev/null - ok $? - else - ok 999 - fi -} - -rc_stop() -{ - stop_msg - if [ ! -z "$(eval $pid)" ] ;then - kill $(eval $pid) 2>/dev/null 1>/dev/null - ok $? - else - ok 999 - fi -} - -rc_exec $1 _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git