Rework /var/lib/monkeysphere creation so it is owned by monkeysphere:monkeysphere...
authorW. Trevor King <wking@drexel.edu>
Sat, 28 May 2011 14:16:39 +0000 (10:16 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 28 May 2011 14:16:39 +0000 (10:16 -0400)
app-crypt/monkeysphere/Manifest
app-crypt/monkeysphere/monkeysphere-9999.ebuild

index 6da40e68701d85e8042c1db9216cf470686737ce..5c09724e826a28d9cea005ebed0cd97ea045b15b 100644 (file)
@@ -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
index 4cbb5d67c18a70bab82f8f010508c014b1e55816..6c2aca563eeb2e23c70a6b4d00fc10f3281575ee 100644 (file)
@@ -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/
 }