summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/consolekit/ChangeLog8
-rw-r--r--sys-auth/consolekit/Manifest9
-rw-r--r--sys-auth/consolekit/consolekit-0.4.5-r1.ebuild95
3 files changed, 107 insertions, 5 deletions
diff --git a/sys-auth/consolekit/ChangeLog b/sys-auth/consolekit/ChangeLog
index f38c26b44034..5a57b8c4cca8 100644
--- a/sys-auth/consolekit/ChangeLog
+++ b/sys-auth/consolekit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-auth/consolekit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.104 2011/05/15 07:14:20 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.105 2011/07/05 19:45:23 ssuominen Exp $
+
+*consolekit-0.4.5-r1 (05 Jul 2011)
+
+ 05 Jul 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +consolekit-0.4.5-r1.ebuild:
+ keepdir missing run-seat.d directory wrt #372537 by Duncan
*consolekit-0.4.5 (15 May 2011)
diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest
index dc5b375399d1..af90f324da04 100644
--- a/sys-auth/consolekit/Manifest
+++ b/sys-auth/consolekit/Manifest
@@ -11,13 +11,14 @@ AUX pam-foreground-compat.ck 389 RMD160 b72a66d5fde612a825fb60f0f1402a0665cc6d81
DIST ConsoleKit-0.4.4.tar.bz2 424699 RMD160 e9a37d8c71a9c8d09646be5d105ed9ecf45e9b5a SHA1 163ee0e6308b94dd4712cc64d5a34e8c9007d5d4 SHA256 f0c00969fb6fe7d628071f0f43ac0d411982a5e798d7dc31747caa772c9716ae
DIST ConsoleKit-0.4.5.tar.bz2 425423 RMD160 2eba158e321778a4c17bf765d0106d214b93fe53 SHA1 6f090c1ce0d459dd6904854532554323755bdeca SHA256 43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b223686b9c38
EBUILD consolekit-0.4.4.ebuild 2727 RMD160 8aed4bf5e32598fc2c21cd9b7d953b7d0d31abe0 SHA1 afdd07f633f77993e3578351dc28b8fa426d4459 SHA256 e8f6f403fe3c78150e709f8239a4bb164356321ddf79aade18c9f26057c7d44e
+EBUILD consolekit-0.4.5-r1.ebuild 2808 RMD160 5391f0c02604385c3d7bed9a45c6326763e8fe4d SHA1 62918ca659cbd5092aaeb0dbf0f50fad2717c3f2 SHA256 686b9bffe6cd1bb80490f40eccc10a952c7afd380a7d82b8717e038f9c3d58f5
EBUILD consolekit-0.4.5.ebuild 2755 RMD160 8e380bf7c2dd8f1c66fb107c6e6bec55926ba98e SHA1 1992a34943f79702bd87cd6c6e55e5258cab7577 SHA256 c029588ef5993d0eb4b3ecc4f3ac29bb68987cdf89e80bc57a0736694efbe608
-MISC ChangeLog 15177 RMD160 f732d71ae31ea37c74ea312ef7ba5c4529db3a24 SHA1 eb656a758331e8f9eacb175d364d9acb4856c7ee SHA256 912548a7d8f21eabe219336bf94c9c8026ec901fb4cf21206ac8b9deb07d6586
+MISC ChangeLog 15360 RMD160 d2c78084b1d0421ffbd7e74c9f0ea751656bda2a SHA1 d9c17860cfb8de6638b8b56c8f6fb32e6e8a8269 SHA256 162f6b3310f5303cc44de0e75c5c98d1e22f7e6239d2f975f28c59b5176164c3
MISC metadata.xml 313 RMD160 d6625d48d47f8417bccec2c9ccf0524b5bbd58e5 SHA1 7934855c56b41e669b8070577a7838e3037dd1a1 SHA256 a59fecba81d8bb5f8cc5d32815107f8087d3c1274c72dc42061bc0a720b0504b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk3PfS4ACgkQXkR9YqOcLPGd8AEApsDd1mx+Mqd4L/7pwZBiukKs
-8tM7GHKI66LFyYWHguABAJdZ283DlKnzY98wxXlso0YYITq8DjUCRODP7W+TjL59
-=MyvB
+iF4EAREIAAYFAk4TaYoACgkQXkR9YqOcLPHWrgD/ZMFKe/uezseFn+TM2meN2Ha5
+887xqsm53C8U/f2C+6UBAKNghTh6cc0rzr+e2fsTUYcRE9i+PnkRetQ/xXEzZgS8
+=IfAb
-----END PGP SIGNATURE-----
diff --git a/sys-auth/consolekit/consolekit-0.4.5-r1.ebuild b/sys-auth/consolekit/consolekit-0.4.5-r1.ebuild
new file mode 100644
index 000000000000..ebc1dbdab60d
--- /dev/null
+++ b/sys-auth/consolekit/consolekit-0.4.5-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.4.5-r1.ebuild,v 1.1 2011/07/05 19:45:23 ssuominen Exp $
+
+EAPI=4
+inherit autotools eutils linux-info multilib pam systemd
+
+MY_PN=ConsoleKit
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Framework for defining and tracking users, login sessions and seats."
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
+SRC_URI="http://www.freedesktop.org/software/${MY_PN}/dist/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="debug doc kernel_linux pam policykit test"
+
+RDEPEND=">=dev-libs/dbus-glib-0.88
+ >=dev-libs/glib-2.20:2
+ sys-libs/zlib
+ x11-libs/libX11
+ pam? ( virtual/pam )
+ policykit? ( >=sys-auth/polkit-0.101-r1 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-libs/libxslt
+ doc? ( app-text/xmlto )
+ test? ( app-text/docbook-xml-dtd:4.1.2 )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ # This is required to get login-session-id string with pam_ck_connector.so
+ if use pam && use kernel_linux; then
+ CONFIG_CHECK="~AUDITSYSCALL"
+ linux-info_pkg_setup
+ fi
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.2.10-cleanup_console_tags.patch \
+ "${FILESDIR}"/${PN}-0.4.0-polkit-automagic.patch \
+ "${FILESDIR}"/${PN}-0.4.0-multilib.patch \
+ "${FILESDIR}"/${PN}-0.4.1-shutdown-reboot-without-policies.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ XMLTO_FLAGS="--skip-validation" \
+ --localstatedir="${EPREFIX}"/var \
+ $(use_enable pam pam-module) \
+ $(use_enable doc docbook-docs) \
+ $(use_enable debug) \
+ $(use_enable policykit polkit) \
+ --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \
+ --with-pam-module-dir=$(getpam_mod_dir) \
+ "$(systemd_with_unitdir)"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ htmldocdir="${EPREFIX}"/usr/share/doc/${PF}/html \
+ install
+
+ dodoc AUTHORS ChangeLog HACKING NEWS README TODO
+
+ newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit
+
+ keepdir /usr/$(get_libdir)/ConsoleKit/run-seat.d
+ keepdir /usr/$(get_libdir)/ConsoleKit/run-session.d
+ keepdir /etc/ConsoleKit/run-session.d
+ keepdir /var/run/ConsoleKit
+ keepdir /var/log/ConsoleKit
+
+ exeinto /etc/X11/xinit/xinitrc.d
+ newexe "${FILESDIR}"/90-consolekit-3 90-consolekit
+
+ exeinto /usr/$(get_libdir)/ConsoleKit/run-session.d
+ doexe "${FILESDIR}"/pam-foreground-compat.ck
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_postinst() {
+ ewarn "You need to restart ConsoleKit to get the new features."
+ ewarn "This can be done with /etc/init.d/consolekit restart"
+ ewarn "but make sure you do this and then restart your session"
+ ewarn "otherwise you will get access denied for certain actions"
+}