app-crypt/monkeysphere: update ebuild
authorkristianf <devnull@localhost>
Mon, 18 Nov 2013 17:44:03 +0000 (18:44 +0100)
committerkristianf <devnull@localhost>
Mon, 18 Nov 2013 17:44:03 +0000 (18:44 +0100)
app-crypt/monkeysphere/Manifest
app-crypt/monkeysphere/monkeysphere-0.36.ebuild

index 78adcbc..8a5e7f3 100644 (file)
@@ -2,5 +2,5 @@ AUX monkeysphere-0.36_default_shell.patch 466 SHA256 637f4cf6e83ea01e5a981f94061
 AUX monkeysphere-0.36_non_default_port.patch 418 SHA256 7d20a74a0ec3d49b93d1d881d22d5d13316b4c16c709cfab23782cd0ed03b41c SHA512 2a173500e0b659a79a7274e042e49a282f708cda0f6a78ce8fa126013e35c4f6f117e606b90ce31da5158e58ab52a236038a913cc98c5ae1fc8e04a5dcbf816e WHIRLPOOL 825bfa045f03444bdd301cac503a6932d0f75c52bfa72fa8f07e79a1ba359600c8f15e7a930d349bb8c2afa4aedc5f3a6e4f22436fccbf4f60a22060a66c8c4c
 AUX monkeysphere-0.36_userid_empty_line.patch 292 SHA256 bf3eefe21edd72ad813888bcd91a9c6cef8a90d0e5f8272f847cb278750ab787 SHA512 15b8e8ff71537e79d069d0f298326cc6705931c58ff1cf2f16c5486e587fe69f610dc1e0ebd0006e0bdef12f936685a0594dc3f9dbdadb928fba25a8e2982eb7 WHIRLPOOL bf27a00f18407a616e22340d10d15837fca21b659ab57fbd603718c49fb15533734d660ee061bc544cb281c6d4bb073aabff6c85d3f4b232b0872da512ae8964
 DIST monkeysphere_0.36.orig.tar.gz 98876 SHA256 6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7 SHA512 eb6776bd9996db8a5d6a1d16b5b06e6733069cbb3cb35f4e3965508575e084c6f08576f31c71429432daf93910d145804ecf155c3d7550a0f4550a056cb4f0c8 WHIRLPOOL c163d0be77d3c6d838f752c8f53d967b17aeafd798e4fca694a31bf55628fb57d18b6a4664ca9552bd3daf3b89b6f86452d430529985ca0a31c3c4aa48470bc0
-EBUILD monkeysphere-0.36.ebuild 1181 SHA256 5ec9175edc0e90136d61fa6dd16addaab40beaaa3e81a4dfb530555796567db7 SHA512 99a870fb6fe7801588d60f485ca1dd2d78c708f619e04932ee162785094f9e574c0e8d6edbf1ac78dfe12aaf878ad6073d8b2b619473b6aa2dd153dd40c55ddb WHIRLPOOL 0c54f43464b144d5391ee6292f651a231e80b5a5782dbde5adce3c6c7fec5c0cbeb3536b3f531924c20063e1b697a6eddfd99563a67df4d07776257f90b626e5
+EBUILD monkeysphere-0.36.ebuild 1243 SHA256 a59d58e997b06d0eb14cbb2e95d220044a799389590c5ea5f8a97d940aec8c52 SHA512 60a76e812da2ea2868e8e36379d3143676e309d0657b2e12ee774169ed5f82fd56b05788eac1c99c8af23351c47ae7ae91792d68a1f606160b6242625dae0efb WHIRLPOOL 5897d0cce3757bea5354d13fe7fc1016ae325be24f95069c8f6d921282263d946e0ae2981f49fc9dddb9fd215f97331d8483b0e2c1046f8dff14a181c4f33014
 MISC metadata.xml 209 SHA256 1395b5c18e78e85c534a39796fdd1d97be9e17d1800cca5e9a8b1341743f847c SHA512 ba9a5a751095aa33d737e0a6647b78f067497aad54ab0193a5aa2ec01c92a30f613ed85015f2ffda846acea85e892ea498b300f7ebae2e8f31c9cf3e4839db98 WHIRLPOOL b1d84fa003d98e38b81d14580a881417aac75958e924fcbad16cb8803b0b1e6831dc8fbfcb758d5b96e38c6f5f27bdc290bade36adb0a8d67121e169b7cbf2ff
index 18a8ea4..8989c39 100644 (file)
@@ -22,6 +22,14 @@ RDEPEND="
        dev-perl/Digest-SHA1
        app-misc/lockfile-progs"
 
+pkg_setup()
+{
+       einfo "Creating named group and user"
+       enewgroup monkeysphere
+       enewuser monkeysphere -1 -1 /var/lib/monkeysphere monkeysphere
+
+}
+
 src_prepare()
 {
        epatch "${FILESDIR}/${P}_default_shell.patch"
@@ -30,13 +38,16 @@ src_prepare()
        sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile || die
 }
 
-pkg_postinst(){
-       einfo "Creating named group and user"
-       enewgroup monkeysphere
-       enewuser monkeysphere -1 -1 /var/lib/monkeysphere monkeysphere
-       mkdir -p /var/lib/monkeysphere || die
-       chown root:monkeysphere /var/lib/monkeysphere || die
-       chmod 751 /var/lib/monkeysphere || die
+src_install()
+{
+       emake DESTDIR="${D}" install
+       dodoc ${DOCS}
+       dodir /var/lib/monkeysphere
+       fowners root:monkeysphere /var/lib/monkeysphere
+       fperms 751 /var/lib/monkeysphere
+       
+}
 
+pkg_postinst(){
        monkeysphere-authentication setup || die
 }