app-crypt/monkeysphere: drop 0.36-r2

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-03-16 19:21:05 +00:00
parent 516ce1ddf8
commit 528a1608f9
2 changed files with 0 additions and 68 deletions

View File

@@ -1,3 +1,2 @@
DIST monkeysphere_0.36.orig.tar.gz 98876 BLAKE2B 5f8dcd5349cd038208fcc00dff19c7d001ca8b763f223e832c820bc4f09391ff78667f80af691c0234aed810f4d5aa77d26a378a88b41a4b115ab528e0cdd9ed SHA512 eb6776bd9996db8a5d6a1d16b5b06e6733069cbb3cb35f4e3965508575e084c6f08576f31c71429432daf93910d145804ecf155c3d7550a0f4550a056cb4f0c8
DIST monkeysphere_0.41.orig.tar.gz 109040 BLAKE2B dadbd65c879bc8e73e7dd1360ebe7f7242aef125af3907d4487f8d0711afda6d87736ab82938867201eead5c1008d192dbd90602eff5a4843d990b3c87ee2949 SHA512 fcc3dd6c191635ed7ef27a8219d4c9d7043629dc8a02de947fcc4dfc8e612ec767f68d4e4c41252a0c0fc80e4184018e53991d85fcde50cb5def75b925341962
DIST monkeysphere_0.44.orig.tar.gz 110289 BLAKE2B 8a067035d3a40436fd5c27291ab25f15d475d9a0f17b51259c0431c77841807af93cb04d045b77c5f5dda3cd0061ab52561fdb62a704715d0d8cbbf96cb43259 SHA512 cb3c655a08b1c0a382502f8609f57d0c870fe4491b1b967e9931bdfd146b3926470496577949630452e073f04442b91a1ef679254c0f3091a834f3429e0f8e93

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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"
IUSE=""
SRC_URI="mirror://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
net-misc/socat
dev-perl/Crypt-OpenSSL-RSA
dev-perl/Digest-SHA1
app-misc/lockfile-progs"
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}_default_shell.patch"\
"${FILESDIR}/${P}_non_default_port.patch"\
"${FILESDIR}/${P}_userid_empty_line.patch"\
"${FILESDIR}/${P}_openpgp2ssh_sanity_check.patch"\
"${FILESDIR}/${P}_hd_od.patch"
sed -i "s#share/doc/monkeysphere#share/doc/${PF}#" Makefile || die
# Output format of gpg --check-sigs differ between 1.4 and 2.0 so test
# needs to be updated if 2.0 is used
if has_version '>=app-crypt/gnupg-2.0.0:0'; then
epatch "${FILESDIR}/${P}_tests_gnupg2.patch"
fi;
}
src_install()
{
default
dodir /var/lib/monkeysphere
}
pkg_postinst()
{
#This function is idempotent, make sure it is run at least once.
monkeysphere-authentication setup || die
}