Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/consolekit: ChangeLog consolekit-0.2.10.ebuild
Date: Sat, 21 Jun 2008 20:38:31
Message-Id: E1KA9qr-0003ds-Ck@stork.gentoo.org
1 yngwin 08/06/21 20:38:25
2
3 Modified: ChangeLog
4 Added: consolekit-0.2.10.ebuild
5 Log:
6 Version bump. Fixes compilation with glibc-2.8, bug 225405.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-hh5 i686)
8
9 Revision Changes Path
10 1.33 sys-auth/consolekit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 6 Dec 2007 22:15:06 -0000 1.32
23 +++ ChangeLog 21 Jun 2008 20:38:24 -0000 1.33
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-auth/consolekit
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.32 2007/12/06 22:15:06 beandog Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.33 2008/06/21 20:38:24 yngwin Exp $
30 +
31 +*consolekit-0.2.10 (21 Jun 2008)
32 +
33 + 21 Jun 2008; Ben de Groot <yngwin@g.o> +consolekit-0.2.10.ebuild:
34 + Version bump. Fixes compilation with glibc-2.8, bug 225405.
35
36 06 Dec 2007; Steve Dibb <beandog@g.o> consolekit-0.2.3.ebuild:
37 amd64 stable, bug 201103
38
39
40
41 1.1 sys-auth/consolekit/consolekit-0.2.10.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/consolekit-0.2.10.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/consolekit-0.2.10.ebuild?rev=1.1&content-type=text/plain
45
46 Index: consolekit-0.2.10.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.2.10.ebuild,v 1.1 2008/06/21 20:38:24 yngwin Exp $
51
52 inherit eutils autotools multilib pam
53
54 MY_PN="ConsoleKit"
55 MY_PV="${PV//_pre*/}"
56
57 DESCRIPTION="Framework for defining and tracking users, login sessions and seats."
58 HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
59 SRC_URI="http://people.freedesktop.org/~mccann/dist/${MY_PN}-${PV}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="debug pam"
66
67 # Not parallel make safe
68 MAKEOPTS="$MAKEOPTS -j1"
69
70 RDEPEND=">=dev-libs/glib-2.7
71 >=dev-libs/dbus-glib-0.61
72 >=x11-libs/libX11-1.0.0
73 pam? ( virtual/pam )
74 elibc_glibc? ( !=sys-libs/glibc-2.4* )"
75 DEPEND="${RDEPEND}
76 dev-util/pkgconfig"
77
78 S="${WORKDIR}/${MY_PN}-${MY_PV}"
79
80 src_unpack() {
81 unpack ${A}
82 cd "${S}"
83
84 # Work around an apparent FreeBSD kernel bug
85 use x86-fbsd && epatch "${FILESDIR}/${PN}"-0.2.3-freebsd.patch
86 }
87
88 src_compile() {
89 econf $(use_enable debug) \
90 $(use_enable pam pam-module) \
91 --with-pam-module-dir=/$(getpam_mod_dir) \
92 --with-pid-file=/var/run/consolekit.pid \
93 --with-dbus-services=/usr/share/dbus-1/services/ \
94 || die "econf failed"
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 emake DESTDIR="${D}" install || die "emake install failed"
100
101 #crappy Redhat init script
102 rm -f "${D}/etc/rc.d/init.d/ConsoleKit"
103 rm -r "${D}/etc/rc.d/"
104
105 #Portage barfs on .la files
106 rm -f "${D}/$(get_libdir)/security/pam_ck_connector.la"
107
108 # Gentoo style init script
109 newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit
110 }
111
112 pkg_postinst() {
113 ewarn
114 ewarn "You need to restart ConsoleKit to get the new features."
115 ewarn "This can be done with /etc/init.d/consolekit restart"
116 ewarn "but make sure you do this and then restart your session"
117 ewarn "otherwise you will get access denied for certain actions"
118 ewarn
119 }
120
121
122
123 --
124 gentoo-commits@l.g.o mailing list