init
authorkristianf <devnull@localhost>
Sat, 21 Sep 2013 21:00:41 +0000 (23:00 +0200)
committerkristianf <devnull@localhost>
Sat, 21 Sep 2013 21:00:41 +0000 (23:00 +0200)
app-crypt/monkeysphere/monkeysphere-0.36.ebuild [new file with mode: 0644]

diff --git a/app-crypt/monkeysphere/monkeysphere-0.36.ebuild b/app-crypt/monkeysphere/monkeysphere-0.36.ebuild
new file mode 100644 (file)
index 0000000..15ddd8b
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit base
+
+DESCRIPTION="Leverage the OpenPGP web of trust for OpenSSH and Web authentication"
+HOMEPAGE="http://web.monkeysphere.info/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+if [[ ${PV} == "9999" ]]
+       then
+               EGIT_REPO_URI="git://git.monkeysphere.info/${PN}"
+               inherit git-2
+       else
+               SRC_URI="http://archive.${PN}.info/debian/pool/${PN}/${PN::1}/${PN}/${PN}_${PV}.orig.tar.gz"
+fi
+
+DEPEND=""
+RDEPEND="${DEPEND}
+app-crypt/gnupg
+dev-perl/Crypt-OpenSSL-RSA
+dev-perl/Digest-SHA1
+app-misc/lockfile-progs"
+
+src_prepare()
+{
+       sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile
+}
+
+pkg_setup()
+{
+       ebegin "Creating named group and user"
+       enewgroup monkeysphere
+       enewuser monkeysphere -1 /bin/sh /var/lib/monkeysphere monkeysphere
+       chown root:root /var/lib/monkeysphere
+       chmod 751 /var/lib/monkeysphere
+       eend ${?}
+}
+
+DOCS=(README Changelog COPYING)