Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/consolekit: ChangeLog consolekit-0.2.3.ebuild
Date: Wed, 19 Sep 2007 02:48:33
Message-Id: E1IXpUX-0002pJ-TY@stork.gentoo.org
1 cardoe 07/09/19 02:40:41
2
3 Modified: ChangeLog
4 Added: consolekit-0.2.3.ebuild
5 Log:
6 add latest ConsoleKit from Gentopia
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.21 sys-auth/consolekit/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 6 Sep 2007 20:49:29 -0000 1.20
23 +++ ChangeLog 19 Sep 2007 02:40:41 -0000 1.21
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.20 2007/09/06 20:49:29 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/ChangeLog,v 1.21 2007/09/19 02:40:41 cardoe Exp $
29 +
30 +*consolekit-0.2.3 (19 Sep 2007)
31 +
32 + 19 Sep 2007; Doug Goldstein <cardoe@g.o> +consolekit-0.2.3.ebuild:
33 + add latest ConsoleKit from Gentopia
34
35 06 Sep 2007; Doug Goldstein <cardoe@g.o>
36 -files/consolekit-0.2.0-gdk-to-x11.patch,
37
38
39
40 1.1 sys-auth/consolekit/consolekit-0.2.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/consolekit-0.2.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/consolekit/consolekit-0.2.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: consolekit-0.2.3.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-auth/consolekit/consolekit-0.2.3.ebuild,v 1.1 2007/09/19 02:40:41 cardoe Exp $
50
51 inherit eutils autotools multilib pam
52
53 MY_PN="ConsoleKit"
54 MY_PV="${PV//_pre*/}"
55
56 DESCRIPTION="Framework for defining and tracking users, login sessions and seats."
57 HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
58 SRC_URI="http://people.freedesktop.org/~mccann/dist/${MY_PN}-${PV}.tar.gz"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
62 IUSE="debug pam"
63
64 # Not parallel make safe
65 MAKEOPTS="$MAKEOPTS -j1"
66
67 RDEPEND=">=dev-libs/glib-2.7
68 >=dev-libs/dbus-glib-0.61
69 >=x11-libs/libX11-1.0.0
70 pam? ( virtual/pam )"
71 DEPEND="${RDEPEND}
72 dev-util/pkgconfig"
73
74 S="${WORKDIR}/${MY_PN}-${MY_PV}"
75
76 src_compile() {
77 econf $(use_enable debug) \
78 $(use_enable pam pam-module) \
79 --with-pam-module-dir=/$(getpam_mod_dir) \
80 --with-pid-file=/var/run/consolekit.pid \
81 --with-dbus-services=/usr/share/dbus-1/services/ \
82 || die "econf failed"
83 emake || die "emake failed"
84 }
85
86 src_install() {
87 emake DESTDIR="${D}" install || die "emake install failed"
88
89 #crappy Redhat init script
90 rm -f "${D}/etc/rc.d/init.d/ConsoleKit"
91 rm -r "${D}/etc/rc.d/"
92
93 #Portage barfs on .la files
94 rm -f "${D}/$(get_libdir)/security/pam_ck_connector.la"
95
96 # Gentoo style init script
97 newinitd "${FILESDIR}"/${PN}-0.1.rc consolekit
98 }
99
100 pkg_postinst() {
101 ewarn
102 ewarn "You need to restart ConsoleKit to get the new features."
103 ewarn "This can be done with /etc/init.d/consolekit restart"
104 ewarn "but make sure you do this and then restart your session"
105 ewarn "otherwise you will get access denied for certain actions"
106 ewarn
107 }
108
109
110
111 --
112 gentoo-commits@g.o mailing list