summaryrefslogtreecommitdiff
path: root/app-crypt/signing-party
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-03 08:30:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-03 08:30:30 +0000
commiteaab68ba6a05bc57d98ca12032440835ef905326 (patch)
tree722637b4f6d0087c5b321ceb515a98913bee7559 /app-crypt/signing-party
parent4650985dd0e898b82e0d2ec225931297d4fadccf (diff)
gentoo resync : 03.02.2018
Diffstat (limited to 'app-crypt/signing-party')
-rw-r--r--app-crypt/signing-party/Manifest2
-rw-r--r--app-crypt/signing-party/signing-party-2.7.ebuild120
2 files changed, 122 insertions, 0 deletions
diff --git a/app-crypt/signing-party/Manifest b/app-crypt/signing-party/Manifest
index 4af0dfb310b3..c0f58c23bc6e 100644
--- a/app-crypt/signing-party/Manifest
+++ b/app-crypt/signing-party/Manifest
@@ -1,3 +1,5 @@
DIST signing-party_2.6.orig.tar.gz 201210 BLAKE2B 9be19ffafbb42aca36c7fa8a42e9cb2f804cb226f9b0bdcd97d02751b23a6adf055f4667d0e8192c51d96a96978a5807a9ec6bfb21151cedfef1cb32db1d87a0 SHA512 094af9b354d958d382bf99a1f10a9f12585f85769686e3bc9b9b813016f68232775e4002c0a7accbc894c946f7532b32ee7f9b3e23d467b973041c092ba4efb9
+DIST signing-party_2.7.orig.tar.gz 201320 BLAKE2B 4fe5781b610dc8acd5166fc7ce7daa1b856f6617952d5eb226cae0c8c6fcaa196b88ffe313b2d71b8f11423a81e84f2124d9adea86edbfb0d22808473d1c36fe SHA512 d1599ca0cb2dd554b4688bc8c77f4a1dd907d00539bb11abe147300dd2184f8548ebe9fdf793e83e2956a220b1c4bf9e19bd543b77f724b0c8ea4794ac945985
EBUILD signing-party-2.6.ebuild 2998 BLAKE2B 814fe8aa0e723d0dafa3adb18a909c92b326aca8d07bef61bc4a72531ab3cac38164b29b5bf143ac6a37fda368f9561f7e286e3a154da227abd530a00ceebdd7 SHA512 12f7429286f57c949a404ac689d1c6374af4161fa5da9e220b53b84bc6d6fe9768e3089c7b0a1b07892cca85903649237854b8fd2f4314ddccf30c54213f0a10
+EBUILD signing-party-2.7.ebuild 2984 BLAKE2B 52932a6aaeec894e4f56b44f1ff19004fa03029e540592c0c4dde3773fd7db02e8e1f84750de37204a5c8becd3a0b1724f875cc0f3d0a992f8957869a18c3df9 SHA512 f6fb2e480375ea6f20e6002f046ed58c0cbb7db6ea35428fb99cd0537fece17124b5cfb26f2fa8e4520e1ba5647685db4a8bf18927aac2ae79b6b9bfe9ad4fa9
MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08
diff --git a/app-crypt/signing-party/signing-party-2.7.ebuild b/app-crypt/signing-party/signing-party-2.7.ebuild
new file mode 100644
index 000000000000..1ec1a1b3bd1b
--- /dev/null
+++ b/app-crypt/signing-party/signing-party-2.7.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2018 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
+ 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
+}