From: Stephen Klimaszewski Date: Sat, 24 Mar 2007 17:09:06 +0000 (+0000) Subject: New package, needed for GDM, but will hopefully soon replace pam_console X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a97b57b64c4d6c7056c82686f6512d7cbc536e77;p=gentoo.git New package, needed for GDM, but will hopefully soon replace pam_console Package-Manager: portage-2.1.2.2 --- diff --git a/sys-auth/consolekit/ChangeLog b/sys-auth/consolekit/ChangeLog new file mode 100644 index 000000000000..1d4f2f7815ce --- /dev/null +++ b/sys-auth/consolekit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-auth/consolekit +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.1 2007/03/24 17:09:06 steev Exp $ + +*consolekit-0.2.0 (24 Mar 2007) + + 24 Mar 2007; Steev Klimaszewski + +files/consolekit-0.1.rc, +metadata.xml, +consolekit-0.2.0.ebuild: + New package, needed for GDM, but will hopefully soon replace pam_console + diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest new file mode 100644 index 000000000000..5e32ee4ee9b8 --- /dev/null +++ b/sys-auth/consolekit/Manifest @@ -0,0 +1,20 @@ +AUX consolekit-0.1.rc 540 RMD160 0db24125d14b177ac54819f4d57fcac589a86bf3 SHA1 e1001914190b644d1557034f5534ba412e4ead57 SHA256 53510ed5f365af2f5fc760fb9462aea660ba54cbbd5f4c6be8d3bc75c4c399c8 +MD5 fe92ac14f5b3146d01be6051f7fd32f3 files/consolekit-0.1.rc 540 +RMD160 0db24125d14b177ac54819f4d57fcac589a86bf3 files/consolekit-0.1.rc 540 +SHA256 53510ed5f365af2f5fc760fb9462aea660ba54cbbd5f4c6be8d3bc75c4c399c8 files/consolekit-0.1.rc 540 +DIST ConsoleKit-0.2.0.tar.gz 438833 RMD160 c23bd6ec03602b7d8c35a821e03d4069e62886de SHA1 da8472f375801fffcb3c908f64ec34ac07f0a8e5 SHA256 f2f0d902190de61eaff0776620b0c6564fa3a52c3f84fd574aef74ae30383664 +EBUILD consolekit-0.2.0.ebuild 1163 RMD160 3071d05f8973ed9df1ae09e708032f5b882f7210 SHA1 7e0fb07ebb7fa30b49e9e2d26a7b65353bb8ce84 SHA256 8a810b534f290a7b4b6c3206d16a2c777630318f2292c0dec1362160a7e5a635 +MD5 112532309a709c0c875d734da8397e4c consolekit-0.2.0.ebuild 1163 +RMD160 3071d05f8973ed9df1ae09e708032f5b882f7210 consolekit-0.2.0.ebuild 1163 +SHA256 8a810b534f290a7b4b6c3206d16a2c777630318f2292c0dec1362160a7e5a635 consolekit-0.2.0.ebuild 1163 +MISC ChangeLog 441 RMD160 f3ec3ee823b53692c601d668ef191066c69c91a1 SHA1 149536ab53927db1f6824a79871c1a25b212459f SHA256 eda33bcfecf00f1a5dae89b5e81ccb5b3178311e5c6ea9ecc366c5b190306f6c +MD5 a833d7eecd39317653559681d084ae16 ChangeLog 441 +RMD160 f3ec3ee823b53692c601d668ef191066c69c91a1 ChangeLog 441 +SHA256 eda33bcfecf00f1a5dae89b5e81ccb5b3178311e5c6ea9ecc366c5b190306f6c ChangeLog 441 +MISC metadata.xml 224 RMD160 feef623491f64af70c81f6c3e1b05703113b9ab4 SHA1 4d12cdcf7f5c2927c2e26a843c3ee575f21687c3 SHA256 cfc5350e2a164ad4374a1972a10208274c87ae9335dff0d9db2cfc11fb003954 +MD5 36894254b4c442994701559c82e7bdaf metadata.xml 224 +RMD160 feef623491f64af70c81f6c3e1b05703113b9ab4 metadata.xml 224 +SHA256 cfc5350e2a164ad4374a1972a10208274c87ae9335dff0d9db2cfc11fb003954 metadata.xml 224 +MD5 3360cb1575d5d8fe8e89668d23ced719 files/digest-consolekit-0.2.0 250 +RMD160 b4b2cf5298d45e0c1d920914923948777329e6d7 files/digest-consolekit-0.2.0 250 +SHA256 01485f557f43bed3188545bec07450e93de5d6e0b10a3ba871ea703743336be3 files/digest-consolekit-0.2.0 250 diff --git a/sys-auth/consolekit/consolekit-0.2.0.ebuild b/sys-auth/consolekit/consolekit-0.2.0.ebuild new file mode 100644 index 000000000000..a47cc89c2daa --- /dev/null +++ b/sys-auth/consolekit/consolekit-0.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.2.0.ebuild,v 1.1 2007/03/24 17:09:06 steev Exp $ + +inherit eutils autotools + +MY_PN="ConsoleKit" + +DESCRIPTION="Framework for defining and tracking users, login sessions and seats." +HOMEPAGE="http://if.only.it.had.one" +SRC_URI="http://people.freedesktop.org/~mccann/dist/${MY_PN}-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug pam" + +RDEPEND=">=dev-libs/glib-2.7 + >=dev-libs/dbus-glib-0.61 + pam? ( sys-libs/pam )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_compile() { + econf $(use_enable debug) \ + $(use_enable pam pam-module) \ + --with-pid-file=/var/run/consolekit.pid \ + --with-dbus-services=/usr/share/dbus-1/services/ \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + #crappy Redhat init script + rm -f "${D}/etc/rc.d/init.d/ConsoleKit" + rm -r "${D}/etc/rc.d/" + + # Gentoo style init script + newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit +} diff --git a/sys-auth/consolekit/files/consolekit-0.1.rc b/sys-auth/consolekit/files/consolekit-0.1.rc new file mode 100644 index 000000000000..e2db136ff731 --- /dev/null +++ b/sys-auth/consolekit/files/consolekit-0.1.rc @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/files/consolekit-0.1.rc,v 1.1 2007/03/24 17:09:06 steev Exp $ + +depend() { + need dbus + use logger +} + +start() { + ebegin "Starting ConsoleKit daemon" + + start-stop-daemon --start -q --exec /usr/sbin/console-kit-daemon -- + eend $? +} + +stop() { + ebegin "Stopping ConsoleKit daemon" + start-stop-daemon --stop -q --pidfile /var/run/consolekit.pid + eend $? +} diff --git a/sys-auth/consolekit/files/digest-consolekit-0.2.0 b/sys-auth/consolekit/files/digest-consolekit-0.2.0 new file mode 100644 index 000000000000..e800a7875833 --- /dev/null +++ b/sys-auth/consolekit/files/digest-consolekit-0.2.0 @@ -0,0 +1,3 @@ +MD5 e1ffc51b71e955a8703bcf31ff505f50 ConsoleKit-0.2.0.tar.gz 438833 +RMD160 c23bd6ec03602b7d8c35a821e03d4069e62886de ConsoleKit-0.2.0.tar.gz 438833 +SHA256 f2f0d902190de61eaff0776620b0c6564fa3a52c3f84fd574aef74ae30383664 ConsoleKit-0.2.0.tar.gz 438833 diff --git a/sys-auth/consolekit/metadata.xml b/sys-auth/consolekit/metadata.xml new file mode 100644 index 000000000000..5af80b4a7300 --- /dev/null +++ b/sys-auth/consolekit/metadata.xml @@ -0,0 +1,8 @@ + + + +gentopia + + gentopia@gentoo.org + +