diff options
author | Kristian Fiskerstrand <k_f@gentoo.org> | 2016-08-09 17:36:33 +0200 |
---|---|---|
committer | Kristian Fiskerstrand <k_f@gentoo.org> | 2016-08-09 17:37:13 +0200 |
commit | 5ca3028d1a392aa98808a72b098651fe22e8493e (patch) | |
tree | 3804d5865a2862f693fccd61314222189e4f6dcd /app-crypt/monkeysphere/monkeysphere-0.38.ebuild | |
parent | sys-fs/xfsprogs: drop some older versions (diff) | |
download | gentoo-5ca3028d1a392aa98808a72b098651fe22e8493e.tar.gz gentoo-5ca3028d1a392aa98808a72b098651fe22e8493e.tar.bz2 gentoo-5ca3028d1a392aa98808a72b098651fe22e8493e.zip |
app-crypt/monkeysphere: Version bump to 0.38
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-crypt/monkeysphere/monkeysphere-0.38.ebuild')
-rw-r--r-- | app-crypt/monkeysphere/monkeysphere-0.38.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-crypt/monkeysphere/monkeysphere-0.38.ebuild b/app-crypt/monkeysphere/monkeysphere-0.38.ebuild new file mode 100644 index 000000000000..c67b3093f06c --- /dev/null +++ b/app-crypt/monkeysphere/monkeysphere-0.38.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils user + +DESCRIPTION="Leverage the OpenPGP web of trust for OpenSSH and Web authentication" +HOMEPAGE="http://web.monkeysphere.info/" + +LICENSE="GPL-3" +SLOT="0/0" +IUSE="" +SRC_URI="mirror://debian/pool/monkeysphere/m/monkeysphere/monkeysphere_${PV}.orig.tar.gz http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_${PV}.orig.tar.gz" +KEYWORDS="~amd64 ~arm ~x86" + +DOCS=( README Changelog ) + +# Tests fail upstream for SSH connection. Issue has been reported. +RESTRICT="test" + +DEPEND="app-crypt/gnupg:0= + net-misc/socat:0= + dev-perl/Crypt-OpenSSL-RSA:0= + dev-perl/Digest-SHA1:0= + app-misc/lockfile-progs:0=" + +RDEPEND="${DEPEND}" + +pkg_setup() +{ + einfo "Creating named group and user" + enewgroup monkeysphere + enewuser monkeysphere -1 -1 /var/lib/monkeysphere monkeysphere + # Using fperms and fowner in src_install leave unusable config with error + # Authentication refused: bad ownership or modes for directory /var/lib/monkeysphere + chown root:monkeysphere /var/lib/monkeysphere + chmod 751 /var/lib/monkeysphere +} + +src_prepare() +{ + epatch "${FILESDIR}/${P}-asprintf.patch" \ + "${FILESDIR}/${P}-revert-executable-patch.patch"\ + "${FILESDIR}/${P}-syssharedir-whitespace.patch"\ + "${FILESDIR}/${PN}-0.37_default_shell.patch"\ + "${FILESDIR}/${PN}-0.37_hd_od.patch" + + sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile || die +} + +src_install() +{ + default + dodir /var/lib/monkeysphere +} + +pkg_postinst() +{ + monkeysphere-authentication setup || die +} |