Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
Subject: gentoo-x86 commit in sys-auth/polkit: ChangeLog polkit-0.106-r2.ebuild
Date: Sat, 23 Jun 2012 04:01:20 +0000 (UTC)
ssuominen    12/06/23 04:01:20

  Modified:             ChangeLog polkit-0.106-r2.ebuild
  Log:
  Convert pkg_postinst() message about polkitd home directory to new user.eclass function esethome().
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.86                 sys-auth/polkit/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.86&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.86&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?r1=1.85&r2=1.86

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- ChangeLog	19 Jun 2012 12:04:07 -0000	1.85
+++ ChangeLog	23 Jun 2012 04:01:20 -0000	1.86
@@ -1,6 +1,10 @@
 # ChangeLog for sys-auth/polkit
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.85 2012/06/19 12:04:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.86 2012/06/23 04:01:20 ssuominen Exp $
+
+  23 Jun 2012; Samuli Suominen <ssuominen@g.o> polkit-0.106-r2.ebuild:
+  Convert pkg_postinst() message about polkitd home directory to new
+  user.eclass function esethome().
 
   19 Jun 2012; Samuli Suominen <ssuominen@g.o> polkit-0.106-r2.ebuild:
   Check for mozjs187.pc for >=dev-lang/spidermonkey-1.8.7 compability.



1.4                  sys-auth/polkit/polkit-0.106-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.106-r2.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.106-r2.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.106-r2.ebuild?r1=1.3&r2=1.4

Index: polkit-0.106-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r2.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- polkit-0.106-r2.ebuild	19 Jun 2012 12:04:07 -0000	1.3
+++ polkit-0.106-r2.ebuild	23 Jun 2012 04:01:20 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r2.ebuild,v 1.3 2012/06/19 12:04:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r2.ebuild,v 1.4 2012/06/23 04:01:20 ssuominen Exp $
 
 EAPI=4
 inherit eutils pam systemd user
@@ -44,8 +44,13 @@
 DOCS="docs/TODO HACKING NEWS README"
 
 pkg_setup() {
-	enewgroup polkitd
-	enewuser polkitd -1 -1 /var/lib/polkit-1 polkitd
+	local u=polkitd
+	local g=polkitd
+	local h=/var/lib/polkit-1
+
+	enewgroup ${g}
+	enewuser ${u} -1 -1 ${h} ${g}
+	esethome ${u} ${h}
 }
 
 src_prepare() {
@@ -95,10 +100,6 @@
 	chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
 
 	echo
-	ewarn "If home directory of unix-user \"polkitd\" is set to /dev/null, run:"
-	ewarn "# usermod -d /var/lib/polkit-1 polkitd"
-
-	echo
 	ewarn "The default administrator unix-group was changed from \"wheel\" to"
 	ewarn "\"adm\", see *-default.rules in /etc/polkit-1/rules.d"
 	ewarn "Users of unix-group \"adm\" can run, for example, \"pkexec /bin/sh\""





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
proj/portage:master commit in: pym/portage/_sets/, pym/portage/, pym/portage/tests/resolver/, pym/_emerge/
Next by thread:
gentoo-x86 commit in media-video/libav: libav-0.8.3.ebuild ChangeLog
Previous by date:
proj/portage:master commit in: pym/_emerge/
Next by date:
gentoo commit in xml/htdocs/proj/en/qa/treecleaners: maintainer-needed.xml


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.