From a5e2f2e0103c10c4db824bb31d0cb48e8218e947 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 28 May 2011 10:16:39 -0400 Subject: [PATCH] Rework /var/lib/monkeysphere creation so it is owned by monkeysphere:monkeysphere (not monkeysphere:root). --- app-crypt/monkeysphere/Manifest | 2 +- app-crypt/monkeysphere/monkeysphere-9999.ebuild | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app-crypt/monkeysphere/Manifest b/app-crypt/monkeysphere/Manifest index 6da40e6..5c09724 100644 --- a/app-crypt/monkeysphere/Manifest +++ b/app-crypt/monkeysphere/Manifest @@ -1,3 +1,3 @@ -EBUILD monkeysphere-9999.ebuild 1341 RMD160 966fbbf4887b92bef9caa90bfca63e0dcad18db2 SHA1 96cf2d155d077dbfa297e1c95c818ea259df5c47 SHA256 f297b48a053f1cf8650091174f37949e97f71b2072d2ff13475e7906dccfbd26 +EBUILD monkeysphere-9999.ebuild 1419 RMD160 a1164ec08a91f9f874e14eab62e8c53e08404451 SHA1 8fb836a1d565dd944cfacf43598b387c8c750f06 SHA256 a8ce950c94243fc456d6c6de3e546019cd53b4abce26d96d569b574e681d20d0 MISC ChangeLog 844 RMD160 467e0da027a97bc7584ddffc2dc899cda9f5d794 SHA1 b1291855c8b54af7e7933e30c23cb7ba613aa792 SHA256 47c91e89263eeed0369532aab85aab4e7bf60f813c1c62590e8e23ac95c4926c MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/app-crypt/monkeysphere/monkeysphere-9999.ebuild b/app-crypt/monkeysphere/monkeysphere-9999.ebuild index 4cbb5d6..6c2aca5 100644 --- a/app-crypt/monkeysphere/monkeysphere-9999.ebuild +++ b/app-crypt/monkeysphere/monkeysphere-9999.ebuild @@ -41,13 +41,17 @@ DEPEND="test? ( ${DEPEND} )" pkg_setup() { enewgroup "${PN}" - enewuser "${PN}" -1 -1 "/var/lib/${PN}" "${PN}" + enewuser "${PN}" -1 -1 -1 "${PN}" } src_install() { emake install DESTDIR="${D}" rm -rf "${ED}usr/share/doc/${PN}" + keepdir /var/lib/${PN} + fperms 700 /var/lib/${PN} + fowners "${PN}:${PN}" "/var/lib/${PN}" + dodoc Changelog README dodoc -r examples/ } -- 2.26.2