From 0f65b402fe79d2f70a67d3853cdfe876584b9f97 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 25 May 2011 12:02:14 -0400 Subject: [PATCH] Add monkeysphere package. --- app-crypt/monkeysphere/ChangeLog | 13 +++++ app-crypt/monkeysphere/Manifest | 3 + app-crypt/monkeysphere/metadata.xml | 9 +++ .../monkeysphere/monkeysphere-9999.ebuild | 55 +++++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 app-crypt/monkeysphere/ChangeLog create mode 100644 app-crypt/monkeysphere/Manifest create mode 100644 app-crypt/monkeysphere/metadata.xml create mode 100644 app-crypt/monkeysphere/monkeysphere-9999.ebuild diff --git a/app-crypt/monkeysphere/ChangeLog b/app-crypt/monkeysphere/ChangeLog new file mode 100644 index 0000000..78dc7f3 --- /dev/null +++ b/app-crypt/monkeysphere/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for app-crypt/monkeysphere +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*be-9999 (25 May 2011) + 25 May 2011; W. Trevor King ChangeLog, metadata.xml, monkeysphere-9999.ebuild : + - Created ebuild suite for monkeywphere + - Added initial ChangeLog which should be updated whenever the + package is updated in any way. This changelog is targetted to + users. This means that the comments should well explained and + written in clean English. The details about writing correct + changelogs are explained in the skel.ChangeLog file which you can + find in the root directory of the portage repository. diff --git a/app-crypt/monkeysphere/Manifest b/app-crypt/monkeysphere/Manifest new file mode 100644 index 0000000..895ed31 --- /dev/null +++ b/app-crypt/monkeysphere/Manifest @@ -0,0 +1,3 @@ +EBUILD monkeysphere-9999.ebuild 1240 RMD160 ff1ca94e3614ff0053d225d7e9092afdcebfed2e SHA1 e9a087cae930dd088d399cca21e0e085dcc48f53 SHA256 2cb7bc7df11f7a80a4b386c818cfdd49de88f715a720320d80bb2be817efd0b2 +MISC ChangeLog 668 RMD160 8ec23421543b775d2436970b921b2be09ac3924c SHA1 1089c26b42333cb1db9a0cb2d1e6f464239066b1 SHA256 a1fff8c436146d73c19e7f95d5f5f8a560657177cde5141b0ebf70464ead7af4 +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/app-crypt/monkeysphere/metadata.xml b/app-crypt/monkeysphere/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/app-crypt/monkeysphere/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/app-crypt/monkeysphere/monkeysphere-9999.ebuild b/app-crypt/monkeysphere/monkeysphere-9999.ebuild new file mode 100644 index 0000000..55a929a --- /dev/null +++ b/app-crypt/monkeysphere/monkeysphere-9999.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +if [[ ${PV} == "9999" ]] ; then + inherit git + EGIT_BRANCH="master" + EGIT_REPO_URI="git://git.monkeysphere.info/monkeysphere" + SRC_URI="" +else + MY_P="${P/-/_}" + SRC_URI="http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/${MY_P}.orig.tar.gz" +fi + +DESCRIPTION="use the OpenPGP web of trust to verify ssh connections" +HOMEPAGE="http://web.monkeysphere.info/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +#RESTRICT="test" # ssh connection failed + +RDEPEND="app-crypt/gnupg + dev-perl/Crypt-OpenSSL-Bignum + dev-perl/Crypt-OpenSSL-RSA + virtual/perl-Digest-SHA + virtual/perl-MIME-Base64 + net-misc/openssh + net-misc/socat + || ( + app-misc/lockfile-progs + mail-filter/procmail + )" +DEPEND="test? ( ${DEPEND} )" + +src_install() { + emake install DESTDIR="${D}" + rm -rf "${ED}usr/share/doc/${PN}" + + dodoc Changelog README + dodoc -r examples/ +} + +pkg_postinst() { + elog "Monkeysphere ssh config stanza (for ~/.ssh/config or /etc/ssh_config)" + elog "This checks for host keys in the OpenPGP WoT:" + elog "" + elog "Host *" + elog "ProxyCommand monkeysphere ssh-proxycommand %h %p" + elog "" +} -- 2.26.2