Use postinst for monkeysphere
authorkristianf <devnull@localhost>
Sun, 6 Oct 2013 15:19:51 +0000 (17:19 +0200)
committerkristianf <devnull@localhost>
Sun, 6 Oct 2013 15:19:51 +0000 (17:19 +0200)
app-crypt/monkeysphere/Manifest
app-crypt/monkeysphere/monkeysphere-0.36.ebuild

index aeb7298..384a285 100644 (file)
@@ -1,2 +1,2 @@
 DIST monkeysphere_0.36.orig.tar.gz 98876 SHA256 6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7 SHA512 eb6776bd9996db8a5d6a1d16b5b06e6733069cbb3cb35f4e3965508575e084c6f08576f31c71429432daf93910d145804ecf155c3d7550a0f4550a056cb4f0c8 WHIRLPOOL c163d0be77d3c6d838f752c8f53d967b17aeafd798e4fca694a31bf55628fb57d18b6a4664ca9552bd3daf3b89b6f86452d430529985ca0a31c3c4aa48470bc0
-EBUILD monkeysphere-0.36.ebuild 1128 SHA256 6955905e948aa9426bf3a032fddfc1830b6acf62e52483312050ebaadde35ea3 SHA512 32328dab4e63322ae25c0b2815716ec77a26f227528ea4552d1f6e425c239d968e8f73f902e4d2695d882d9698280b352d0089906894af49d575a8ee1296843d WHIRLPOOL 971ac9aa849aeeeb26290154e2faec4a0d985bd84f406f76a8b7b256c4f4b807124bfbd88b6df64c34e947fd04555617d05dc1d1f5f00eb60b72450c63248db8
+EBUILD monkeysphere-0.36.ebuild 1007 SHA256 3cf026fca8f22f2b058fc494f293c090e48f58426492aba8d1813d4c7270d2e7 SHA512 d5ca7d28b435590b0ef33c566cb7314f708b07b75b3f8da847bc4acca8b99582bb4f5bc1f5e2bc58907d1714972bffcfc1299ae54082ce0d04e01188bf91a73d WHIRLPOOL e90d19a108563b0675ed2c35a2a11b8b029164244375883bf8697ee14f86e6c88811fac7304b6763903390c0c7b986324d8ec09a023bc3bca08b0e50e0222c49
index 860594e..80d7c8d 100644 (file)
@@ -25,10 +25,8 @@ pkg_setup()
        ebegin "Creating named group and user"
        enewgroup monkeysphere
        enewuser monkeysphere -1 /bin/sh /var/lib/monkeysphere monkeysphere
-       mkdir -p /var/lib/monkeysphere/authentication/sphere || die
+       mkdir -p /var/lib/monkeysphere || die
        chown root:monkeysphere /var/lib/monkeysphere || die
-       chown root:monkeysphere /var/lib/monkeysphere/authentication || die
-       chown monkeysphere:monkeysphere /var/lib/monkeysphere/authentication/sphere || die
        chmod 755 /var/lib/monkeysphere || die
        eend ${?}
 }
@@ -37,3 +35,7 @@ src_prepare()
 {
        sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile || die
 }
+
+pkg_postinst(){
+       monkeysphere-authentication setup
+}