summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-06-21 20:38:24 +0000
committerBen de Groot <yngwin@gentoo.org>2008-06-21 20:38:24 +0000
commit00c1afd6780d80e753b9bba00402d8e7a23eb850 (patch)
treee51168044f30385d75199614fb9eac06fd73c6dc /sys-auth
parentI meant ~ppc64, not ppc64.. (diff)
downloadhistorical-00c1afd6780d80e753b9bba00402d8e7a23eb850.tar.gz
historical-00c1afd6780d80e753b9bba00402d8e7a23eb850.tar.bz2
historical-00c1afd6780d80e753b9bba00402d8e7a23eb850.zip
Version bump. Fixes compilation with glibc-2.8, bug 225405.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-hh5 i686
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/consolekit/ChangeLog9
-rw-r--r--sys-auth/consolekit/Manifest14
-rw-r--r--sys-auth/consolekit/consolekit-0.2.10.ebuild72
3 files changed, 82 insertions, 13 deletions
diff --git a/sys-auth/consolekit/ChangeLog b/sys-auth/consolekit/ChangeLog
index 8bd2f5e3772c..b019009e206f 100644
--- a/sys-auth/consolekit/ChangeLog
+++ b/sys-auth/consolekit/ChangeLog
@@ -1,6 +1,11 @@
# 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.32 2007/12/06 22:15:06 beandog Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.33 2008/06/21 20:38:24 yngwin Exp $
+
+*consolekit-0.2.10 (21 Jun 2008)
+
+ 21 Jun 2008; Ben de Groot <yngwin@gentoo.org> +consolekit-0.2.10.ebuild:
+ Version bump. Fixes compilation with glibc-2.8, bug 225405.
06 Dec 2007; Steve Dibb <beandog@gentoo.org> consolekit-0.2.3.ebuild:
amd64 stable, bug 201103
diff --git a/sys-auth/consolekit/Manifest b/sys-auth/consolekit/Manifest
index 18712822d271..08d8fded47b1 100644
--- a/sys-auth/consolekit/Manifest
+++ b/sys-auth/consolekit/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX consolekit-0.1.rc 540 RMD160 0db24125d14b177ac54819f4d57fcac589a86bf3 SHA1 e1001914190b644d1557034f5534ba412e4ead57 SHA256 53510ed5f365af2f5fc760fb9462aea660ba54cbbd5f4c6be8d3bc75c4c399c8
AUX consolekit-0.2.3-freebsd.patch 2945 RMD160 e1193ba4010daa33c9646ed8a78a374944ea73dc SHA1 10af67cab72a184fbe89ba36330a20020ae60206 SHA256 f17aa9f3229a24d6bd4291c9f249396864eceb9c01ed00e5c97172c1c57932c5
DIST ConsoleKit-0.2.1.tar.gz 455036 RMD160 73bc8b6a15e193c346bc9516c6def0df4cac3fb6 SHA1 9a925234d0cca0ddfa3a6b5e0c8e3b78411417f5 SHA256 059290d71bd71665cb1f3d40a5900c9e5ef422855070838b60a963d5bfaef61f
+DIST ConsoleKit-0.2.10.tar.gz 521473 RMD160 fa75c371a28803c990c9293732229e2c67625ff6 SHA1 ac4107f2239b072156f4a815609ea1c6fbb5f6cf SHA256 02b9510f65256db33a5e079736bb7234cd5599bf02dc77399d81d50cf5183bcb
DIST ConsoleKit-0.2.3.tar.gz 468591 RMD160 457c1a08e9d2fc789537127c9d069088588c035b SHA1 009f731aa4331125ef052e587d7b0583e07ee8aa SHA256 1b9571f958d3c3be464a6261947c6f817948e878166bca4616f4ac3ac9f02e47
EBUILD consolekit-0.2.1.ebuild 1786 RMD160 95afefd8083014f5aaea7907bd0587047b1a2468 SHA1 5b7697d3594e6e04e6f42f20275cc76fc08800b1 SHA256 f913acc17a5a058473ffe14dbb726ed536d86ae5d40c7145700e5ddba59529e3
+EBUILD consolekit-0.2.10.ebuild 1993 RMD160 a13a80e094b22d2933bf2503fcda72d6cd6961b5 SHA1 1a3dd4064de080ce1aebb9ec9f331fac02c9a8fe SHA256 ffa64fac520bc68723f39c06ed3d04965cc44ebbb376c89f9a8811474590010e
EBUILD consolekit-0.2.3.ebuild 1974 RMD160 dc7a31ad67bb006431223c6db2904be818d0cd18 SHA1 d28953c9196c2c21c497169a586a89b5a2595d70 SHA256 86a16b9373650a8b41e45c9187d8007300c86fb3a7f9ed034fcc39d758eb7672
-MISC ChangeLog 4363 RMD160 fc55cb36ef5fef0eab83d01278f63a8ca7fe6141 SHA1 a3164dfc7b480a896da25a202d8a033e830334ca SHA256 e0943f8b74067b73fca0d74aedb71e88e5c1660d774fb9fc4375ab088a6e414f
+MISC ChangeLog 4534 RMD160 606d34f314043af21f073f985199798778669450 SHA1 7ea3a425678d7bdadb8a32453ed3ab63f0bfc544 SHA256 7a74f4074169ca9c2e682b04ec758b018f0f4a1d4f67c0d91bd5b5a85c1c9799
MISC metadata.xml 224 RMD160 feef623491f64af70c81f6c3e1b05703113b9ab4 SHA1 4d12cdcf7f5c2927c2e26a843c3ee575f21687c3 SHA256 cfc5350e2a164ad4374a1972a10208274c87ae9335dff0d9db2cfc11fb003954
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFH7a9Ej9hvisErhMIRAr3WAKDQIdfiv6O5cM6xB1pcVJH2JTZJJgCgj9Nh
-4gZZjxpz8iWnvlJzEnehCbU=
-=NK/o
------END PGP SIGNATURE-----
diff --git a/sys-auth/consolekit/consolekit-0.2.10.ebuild b/sys-auth/consolekit/consolekit-0.2.10.ebuild
new file mode 100644
index 000000000000..77c368e9de8d
--- /dev/null
+++ b/sys-auth/consolekit/consolekit-0.2.10.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.2.10.ebuild,v 1.1 2008/06/21 20:38:24 yngwin Exp $
+
+inherit eutils autotools multilib pam
+
+MY_PN="ConsoleKit"
+MY_PV="${PV//_pre*/}"
+
+DESCRIPTION="Framework for defining and tracking users, login sessions and seats."
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
+SRC_URI="http://people.freedesktop.org/~mccann/dist/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
+~sparc ~x86 ~x86-fbsd"
+IUSE="debug pam"
+
+# Not parallel make safe
+MAKEOPTS="$MAKEOPTS -j1"
+
+RDEPEND=">=dev-libs/glib-2.7
+ >=dev-libs/dbus-glib-0.61
+ >=x11-libs/libX11-1.0.0
+ pam? ( virtual/pam )
+ elibc_glibc? ( !=sys-libs/glibc-2.4* )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Work around an apparent FreeBSD kernel bug
+ use x86-fbsd && epatch "${FILESDIR}/${PN}"-0.2.3-freebsd.patch
+}
+
+src_compile() {
+ econf $(use_enable debug) \
+ $(use_enable pam pam-module) \
+ --with-pam-module-dir=/$(getpam_mod_dir) \
+ --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/"
+
+ #Portage barfs on .la files
+ rm -f "${D}/$(get_libdir)/security/pam_ck_connector.la"
+
+ # Gentoo style init script
+ newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit
+}
+
+pkg_postinst() {
+ ewarn
+ 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"
+ ewarn
+}