From 0792b7e1ff760c46616cfb15eb4175a4f5bc97af Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Fri, 8 Sep 2017 22:02:25 +0300 Subject: Gentoo-Bug: 630336 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- app-crypt/signing-party/Manifest | 1 + app-crypt/signing-party/signing-party-2.6.ebuild | 121 +++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 app-crypt/signing-party/signing-party-2.6.ebuild diff --git a/app-crypt/signing-party/Manifest b/app-crypt/signing-party/Manifest index be0dec07185f..955310ae4c80 100644 --- a/app-crypt/signing-party/Manifest +++ b/app-crypt/signing-party/Manifest @@ -1,2 +1,3 @@ DIST signing-party_2.4.orig.tar.gz 197731 SHA256 02b3487ab80cb3030d33317ce1290c2700241fd2138f6768a49c63a55a6a62fe SHA512 0ab18af70314839193d25053c6b3de31afba173ae70a39b84e19aad8ec4864bbd95f9b685b3bc807674310c35af2dc75145eb6eb9d03d6a0ce84ce45ac7f29c0 WHIRLPOOL fb6892338c110751f7332905afd0336dae667104650a1bc10422111d169a398cfebbe2753202d8a64643eb0bd1a16bb0424b7e71be8651077985cbdb1bc51b99 DIST signing-party_2.5.orig.tar.gz 198105 SHA256 62db91ccbde650ffbb332beab9cba0676b0d42fc46034fa3c28a471cc0ec4bf8 SHA512 a04875bfaef791a6505134dd2530148d5e6baaa8aa5610e75d42fbf59e884fafffb5de2486425bb53e6464ff3fd35b974684d8bc85291750e4a7bd8bb82b0da3 WHIRLPOOL 7c070f194a67de7fe4ac2f479c6e15a96bf3f182a9065f293b60f5fb979f035c160860ec25ffe0fcc64b30561af94db40b3d8cb113dc8e8cf17cfe2f9bec5248 +DIST signing-party_2.6.orig.tar.gz 201210 SHA256 d9458db6c5a01298838af99655c0edbebd0c955f50866c6e0f6f277a1dbbabd8 SHA512 094af9b354d958d382bf99a1f10a9f12585f85769686e3bc9b9b813016f68232775e4002c0a7accbc894c946f7532b32ee7f9b3e23d467b973041c092ba4efb9 WHIRLPOOL 4e8c873d0b7aa36442e82cfa204aa900bddd037b00d6bfdf12b18fe6a47acaff6c621956576d0371ed00b0b3985e0a40d6cc2e124f2649367d407ffe8433e0fe diff --git a/app-crypt/signing-party/signing-party-2.6.ebuild b/app-crypt/signing-party/signing-party-2.6.ebuild new file mode 100644 index 000000000000..675acb0adac9 --- /dev/null +++ b/app-crypt/signing-party/signing-party-2.6.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs autotools + +DESCRIPTION="A collection of several tools related to OpenPGP" +HOMEPAGE="http://pgp-tools.alioth.debian.org/" +SRC_URI="mirror://debian/pool/main/s/signing-party/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=" + dev-lang/perl + app-crypt/libmd +" +RDEPEND="${DEPEND} + >=app-crypt/gnupg-1.3.92 + dev-perl/GnuPG-Interface + dev-perl/Text-Template + dev-perl/MIME-tools + net-mail/qprint + >=dev-perl/MailTools-1.62 + dev-perl/Net-IDN-Encode + app-crypt/libmd + virtual/mailx + virtual/mta + || ( + dev-perl/libintl-perl + dev-perl/Text-Iconv + app-text/recode + )" +S="${WORKDIR}" + +src_prepare() { + default + + # app-crypt/keylookup + rm -r keylookup || die + # media-gfx/springgraph + rm -r springgraph || die + + cd keyanalyze/pgpring || die + sed -i 's/AM_C_PROTOTYPES//' configure.ac || die + eautoreconf + cd "${WORKDIR}" || die + + find . -name Makefile | xargs sed -i -e 's/CFLAGS:=/CFLAGS=/' -e 's/CPPFLAGS:=/CPPFLAGS=/' -e 's/LDFLAGS:=/LDFLAGS=/' + + sed -i "s:/usr/share/doc/signing-party/caff/caffrc.sample:${EPREFIX}/usr/share/doc/${P}/caff/caffrc.sample.gz:g" \ + caff/caff || die + sed -i -e 's/automake[^ ]*/true/g' -e 's/autoconf[^ ]*/true/g' keyanalyze/Makefile || die + sed -i 's/make /\$(MAKE) /' keyanalyze/Makefile || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + STRIP=true +} + +src_install() { + einstalldocs + + # Check Makefile when a new tool is introduced to this package. + # caff + dobin caff/caff caff/pgp-clean caff/pgp-fixkey + docinto caff + dodoc caff/{README*,THANKS,TODO,caffrc.sample} + # gpgdir + dobin gpgdir/gpgdir + docinto gpgdir + dodoc gpgdir/{VERSION,LICENSE,README,INSTALL,CREDITS,ChangeLog*} + # gpg-key2ps + dobin gpg-key2ps/gpg-key2ps + docinto gpg-key2ps + dodoc gpg-key2ps/README + # gpglist + dobin gpglist/gpglist + # gpg-mailkeys + dobin gpg-mailkeys/gpg-mailkeys + docinto gpg-mailkeys + dodoc gpg-mailkeys/{example.gpg-mailkeysrc,README} + # gpgparticipants + dobin gpgparticipants/gpgparticipants + # gpgwrap + dobin gpgwrap/bin/gpgwrap + docinto gpgwrap + dodoc gpgwrap/{LICENSE,NEWS,README} + doman gpgwrap/doc/gpgwrap.1 + # gpgsigs + dobin gpgsigs/gpgsigs + insinto /usr/share/signing-party + # keyanalyze + # TODO: some of the scripts are intended for webpages, and not really + # packaging, so they are NOT installed yet. + newbin keyanalyze/pgpring/pgpring pgpring-keyanalyze + dobin keyanalyze/{keyanalyze,process_keys} + docinto keyanalyze + dodoc keyanalyze/{README,Changelog} + # See app-crypt/keylookup instead + #dobin keylookup/keylookup + #docinto keylookup + #dodoc keylookup/NEWS + # sig2dot + dobin sig2dot/sig2dot + dodoc sig2dot/README.sig2dot + # See media-gfx/springgraph instead + #dobin springgraph/springgraph + #dodoc springgraph/README.springgraph + # all other manpages, and the root doc + doman */*.1 + dodoc README +} -- cgit v1.2.3-65-gdbad