summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-23 04:01:20 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-23 04:01:20 +0000
commitb0a8d26472d9d48e68030d775dd621b0f141e1bc (patch)
tree9179fe7fca1598db125dd471d8e065c79855e936 /sys-auth
parentFix einstall call to not install into /. Remove installation of html docs sin... (diff)
downloadhistorical-b0a8d26472d9d48e68030d775dd621b0f141e1bc.tar.gz
historical-b0a8d26472d9d48e68030d775dd621b0f141e1bc.tar.bz2
historical-b0a8d26472d9d48e68030d775dd621b0f141e1bc.zip
Convert pkg_postinst() message about polkitd home directory to new user.eclass function esethome().
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/ChangeLog6
-rw-r--r--sys-auth/polkit/Manifest18
-rw-r--r--sys-auth/polkit/polkit-0.106-r2.ebuild15
3 files changed, 22 insertions, 17 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index 706597212215..e7fb059d6803 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -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@gentoo.org> 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@gentoo.org> polkit-0.106-r2.ebuild:
Check for mozjs187.pc for >=dev-lang/spidermonkey-1.8.7 compability.
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index 36e71be94aa5..b8e47db2e9ce 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -6,17 +6,17 @@ DIST polkit-0.105.tar.gz 1431080 RMD160 cd1100ee69a308d620e437d34e471580bb6dcf5a
DIST polkit-0.106.tar.gz 1381428 RMD160 6fa79aaa4e67e072d16860f1a242b053cc311bc3 SHA1 665624f5d69876ec5833f7952290188ca594aac0 SHA256 4005076a67aaa182872c1e316939fcb0ba74a89298e6330d72cfdac6624c984e
EBUILD polkit-0.104-r1.ebuild 3548 RMD160 e056d1186192d865a610ebe1250e8adf9250eed7 SHA1 1a7cec206005fdb8985fc308f16bbe6f76b45c34 SHA256 a038cdfd2381bd5ddbd6cf4feef8a3aaa126b4e80a6205979538c9ebcbf0b9a0
EBUILD polkit-0.105.ebuild 2194 RMD160 7f46dccee0326480a5c1c2fd276df48553abd630 SHA1 f41f0393be142066d39d52994f7f29f52c336f2c SHA256 15339d2d61f350eec88ad0fd90cec401df45106fc2ee52ee7b8b051103a5279e
-EBUILD polkit-0.106-r2.ebuild 3017 RMD160 1d7936862d9b2982fbd8ca38e810f4d1ea7faba3 SHA1 c374bc687186b82ce37a970dba3401e43bb3c0fc SHA256 f018e50ad7487f2c071fdafe5e2d81405a5372808c46609b4009100204dff90d
-MISC ChangeLog 11429 RMD160 76e2a57cbab4a45cd81755793401fee45aa80fcc SHA1 7349a702b23cee2eea9677a9decf8cd2a8d660d8 SHA256 5526adf7f5b12cd0ab4aa6586c992e026f4603dc61dd597faefad35c37dab259
+EBUILD polkit-0.106-r2.ebuild 2944 RMD160 692481f847aff6601a3468e938bff3334698ef8c SHA1 4fe3ae9cea9a1494d9575ede92197ee1b4301682 SHA256 f17b750e069cff665a55072c6a3ef964ddb7a37864f1d9f49e1bfc3b67aae0bb
+MISC ChangeLog 11612 RMD160 2184afe40734eaa33c89a1c388a0d105dbca5e75 SHA1 7f28a7b7fbe6d534d7f273e229d32a04a9064c78 SHA256 9f5686ffd8a4abeab7f9e7814e6ff6f13c00872a27d0204ed6962ca9e06be20b
MISC metadata.xml 516 RMD160 0c65650680494cadd548ec430b11facf2cc28912 SHA1 092816617aa2ab7a9047298b6752b82bbab33520 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBAgAGBQJP4GmnAAoJEEdUh39IaPFNud4H/2Gk+6Pb0xBrYVMuQMOibebT
-wwp5y/G5q/U9ByMlf3U+FZ0hucYwNqxfgxl0NtOUdxqv2IPRL1neW0zRL8unPvRG
-nZ6fTizUv+savB4Y+XnD8++7BApqPbNEpSm9C4y9o1P5Rx7wtT+YeOM8OhVIAykA
-dm4IdyYkDsfg+ZtIaOajgQ9RgkAEjoNjpAARt6oN9+EBXaUaiceOBY3lHV+MrlUu
-P6ZchvyXdfnqPpJAYxWfLSvgkrn+mkVpuW9T4u50s5kmH8snWAgBWDLjr51Bov90
-ohaoEMqrUHvMZeyaIIxn5GM6UqoR1Erx7lXJq9xqdEK6CFABXmVFMOfM713vtLY=
-=PN+g
+iQEcBAEBAgAGBQJP5T5wAAoJEEdUh39IaPFNs2cIAJOMox/WTkT3H3tSRiEIe8Ir
+dfVekX/yj8JvtOwsjfBITyWuPXiDCSxfjHMqMUJy0GweveTQC6w+1Xf9V/r9sEYE
+2rTU+Ov3ooQAiyK48bXQgbs8BOU/uTlJvW/poGEzT9jZj7adCCBAuHXAa2G8drss
+lyvBj7kQwd6wDmGO5sckwodXfQrFWIm+0qNpVmw8xCTLdSPuRYh+AC2oqBwjbQXY
+m0Xx3AuerY0Ft3lkv/Ocz8JCExjmr/9970ECJioUUrEgDzFcVUz/BexYv/wxUZhf
+khVfczYwa5B5/mPzdZXM/Z4DracdVgP/CvrlDwZx9/FElKWO5yEXfre4Drq4Fxs=
+=qUy7
-----END PGP SIGNATURE-----
diff --git a/sys-auth/polkit/polkit-0.106-r2.ebuild b/sys-auth/polkit/polkit-0.106-r2.ebuild
index 223823367b89..d7cfcc6d2aa3 100644
--- a/sys-auth/polkit/polkit-0.106-r2.ebuild
+++ b/sys-auth/polkit/polkit-0.106-r2.ebuild
@@ -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 @@ PDEPEND="
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 @@ pkg_postinst() {
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\""