Update user privs in monkeysphere ebuild
authorkristianf <devnull@localhost>
Sun, 6 Oct 2013 15:11:22 +0000 (17:11 +0200)
committerkristianf <devnull@localhost>
Sun, 6 Oct 2013 15:11:22 +0000 (17:11 +0200)
app-crypt/monkeysphere/Manifest
app-crypt/monkeysphere/monkeysphere-0.36.ebuild

index 6d637c1..cfcf267 100644 (file)
@@ -1,2 +1,2 @@
 DIST monkeysphere_0.36.orig.tar.gz 98876 SHA256 6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7 SHA512 eb6776bd9996db8a5d6a1d16b5b06e6733069cbb3cb35f4e3965508575e084c6f08576f31c71429432daf93910d145804ecf155c3d7550a0f4550a056cb4f0c8 WHIRLPOOL c163d0be77d3c6d838f752c8f53d967b17aeafd798e4fca694a31bf55628fb57d18b6a4664ca9552bd3daf3b89b6f86452d430529985ca0a31c3c4aa48470bc0
 DIST monkeysphere_0.36.orig.tar.gz 98876 SHA256 6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7 SHA512 eb6776bd9996db8a5d6a1d16b5b06e6733069cbb3cb35f4e3965508575e084c6f08576f31c71429432daf93910d145804ecf155c3d7550a0f4550a056cb4f0c8 WHIRLPOOL c163d0be77d3c6d838f752c8f53d967b17aeafd798e4fca694a31bf55628fb57d18b6a4664ca9552bd3daf3b89b6f86452d430529985ca0a31c3c4aa48470bc0
-EBUILD monkeysphere-0.36.ebuild 906 SHA256 1cc5b6cb0b3b86e5d9af3956b409906c4d188b09703315f63258ce9265b881e0 SHA512 7fc42582802785415556bef894b865f10c59f9355276e574612bc63e0ebc3cfc63610221c70aa1ccc2dcda352c8954b2a40ebec2a9505ab360090accb87d7a30 WHIRLPOOL 3f5e9bd4f6768eb484bae1ae24ad21de6ecae9c8085a4a41d61c8fe339bda6fb2217d15cc0a3253e0112444572ad426337388d3333b0e409578fb58fe5d47aaa
+EBUILD monkeysphere-0.36.ebuild 1121 SHA256 219c3f64e41c025a2b8a68192f76a42a6de2a73266ee720c9060819a145353eb SHA512 47092449beef9c5c39ce987969f0efbf91ac129c0a63279fb8291722702c8cf638b579367c5367149b4841bb011b42b90372309c15f4ff1db3c426923f778315 WHIRLPOOL 48fb7be2fa7aa3ae5bac9f13cf75269012ebd4d702222f4380b3b793a1d65418d9e3230319784c91da465a274e108e2051684c18af01fa4b173592e751c519df
index 87cc80a..6a9b2dc 100644 (file)
@@ -25,8 +25,11 @@ pkg_setup()
        ebegin "Creating named group and user"
        enewgroup monkeysphere
        enewuser monkeysphere -1 /bin/sh /var/lib/monkeysphere monkeysphere
        ebegin "Creating named group and user"
        enewgroup monkeysphere
        enewuser monkeysphere -1 /bin/sh /var/lib/monkeysphere monkeysphere
-       chown root:root /var/lib/monkeysphere || die
-       chmod 751 /var/lib/monkeysphere || die
+       mkdir -p /var/lib/monkeysphere/authentication/sphere || die
+       chown root:monkeysphere /var/lib/monkeysphere || die
+       chown root:monkeysphere /var/lib/monkeysphere/authentication
+       chown monkeysphere:monkeysphere /var/lib/monkeysphere/authentication/sphere || die
+       chmod 755 /var/lib/monkeysphere || die
        eend ${?}
 }
 
        eend ${?}
 }