Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/polkit: ChangeLog polkit-0.94.ebuild
Date: Fri, 30 Oct 2009 17:31:07
Message-Id: E1N3vJY-0001PI-R8@stork.gentoo.org
1 nirbheek 09/10/30 17:31:04
2
3 Modified: ChangeLog polkit-0.94.ebuild
4 Log:
5 Remove zsh-completion (bug 291114), force pam support on (bug 291116)
6 (Portage version: 2.1.7.1/cvs/Linux i686)
7
8 Revision Changes Path
9 1.2 sys-auth/polkit/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/polkit/ChangeLog?r1=1.1&r2=1.2
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- ChangeLog 29 Oct 2009 23:28:01 -0000 1.1
22 +++ ChangeLog 30 Oct 2009 17:31:04 -0000 1.2
23 @@ -1,6 +1,10 @@
24 # ChangeLog for sys-auth/polkit
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.1 2009/10/29 23:28:01 eva Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.2 2009/10/30 17:31:04 nirbheek Exp $
28 +
29 + 30 Oct 2009; Nirbheek Chauhan <nirbheek@g.o>
30 + -files/polkit-0.92-zsh-completions.patch, polkit-0.94.ebuild:
31 + Remove zsh-completion (bug 291114), force pam support on (bug 291116)
32
33 *polkit-0.94 (29 Oct 2009)
34
35
36
37
38 1.2 sys-auth/polkit/polkit-0.94.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/polkit/polkit-0.94.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/polkit/polkit-0.94.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/polkit/polkit-0.94.ebuild?r1=1.1&r2=1.2
43
44 Index: polkit-0.94.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.94.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- polkit-0.94.ebuild 29 Oct 2009 23:28:01 -0000 1.1
51 +++ polkit-0.94.ebuild 30 Oct 2009 17:31:04 -0000 1.2
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.94.ebuild,v 1.1 2009/10/29 23:28:01 eva Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.94.ebuild,v 1.2 2009/10/30 17:31:04 nirbheek Exp $
57
58 EAPI="2"
59
60 @@ -13,15 +13,16 @@
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 -IUSE="debug doc expat pam zsh-completion nls"
65 -# introspection
66 +IUSE="debug doc expat nls"
67 +# building w/o pam is broken, bug 291116
68 +# introspection pam
69
70 # not mature enough
71 # introspection? ( dev-libs/gobject-introspection )
72 RDEPEND=">=dev-libs/glib-2.21.4
73 >=dev-libs/eggdbus-0.5
74 - expat? ( dev-libs/expat )
75 - pam? ( virtual/pam )"
76 + virtual/pam
77 + expat? ( dev-libs/expat )"
78 DEPEND="${RDEPEND}
79 !!>=sys-auth/policykit-0.92
80 dev-libs/libxslt
81 @@ -37,11 +38,6 @@
82 }
83
84 src_prepare() {
85 - # Add zsh completions
86 - if use zsh-completion; then
87 - epatch "${FILESDIR}/${PN}-0.92-zsh-completions.patch"
88 - fi
89 -
90 # Fix daemon binary collision with <=policykit-0.9, fdo bug 22951
91 epatch "${FILESDIR}/${PN}-0.93-fix-daemon-name.patch"
92
93 @@ -52,14 +48,8 @@
94 src_configure() {
95 local conf
96
97 - if use pam ; then
98 - conf="--with-authfw=pam --with-pam-module-dir=$(getpam_mod_dir)"
99 - else
100 - conf="--with-authfw=none"
101 - fi
102 -
103 if use expat; then
104 - conf="--with-expat=/usr"
105 + conf="${conf} --with-expat=/usr"
106 fi
107
108 econf ${conf} \
109 @@ -72,6 +62,8 @@
110 --with-os-type=gentoo \
111 --with-polkit-user=polkituser \
112 --localstatedir=/var \
113 + --with-authfw=pam \
114 + --with-pam-module-dir=$(getpam_mod_dir) \
115 $(use_enable debug verbose-mode) \
116 $(use_enable doc gtk-doc) \
117 $(use_enable nls)
118 @@ -83,13 +75,6 @@
119
120 dodoc NEWS README AUTHORS ChangeLog || die "dodoc failed"
121
122 - if use zsh-completion ; then
123 - insinto /usr/share/zsh/site-functions
124 - doins "${S}/tools/_polkit" || die "zsh completion died"
125 - doins "${S}/tools/_polkit_auth" || die "zsh completion died"
126 - doins "${S}/tools/_polkit_action" || die "zsh completion died"
127 - fi
128 -
129 # Need to keep a few directories around...
130 diropts -m0700 -o root -g polkituser
131 keepdir /var/run/polkit-1