summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2019-04-10 21:51:37 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2019-04-10 21:54:21 +0300
commit7447951a1db952fa2ffc2484ebc6b9172936412c (patch)
tree70ce728cf3cffe6671b2e21ce4846fe1d5d0ecae /app-crypt/signing-party
parentpackage.mask: Last rite media-sound/aacplusenc (diff)
downloadgentoo-7447951a1db952fa2ffc2484ebc6b9172936412c.tar.gz
gentoo-7447951a1db952fa2ffc2484ebc6b9172936412c.tar.bz2
gentoo-7447951a1db952fa2ffc2484ebc6b9172936412c.zip
app-crypt/signing-party: version bump
Thanks: Sergey Alirzaev <zl29ah@gmail.com> Signed-off-by: Sergey Alirzaev <zl29ah@gmail.com> Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Diffstat (limited to 'app-crypt/signing-party')
-rw-r--r--app-crypt/signing-party/Manifest1
-rw-r--r--app-crypt/signing-party/signing-party-2.9.ebuild113
2 files changed, 114 insertions, 0 deletions
diff --git a/app-crypt/signing-party/Manifest b/app-crypt/signing-party/Manifest
index 5f511e9a96c..29f753d2464 100644
--- a/app-crypt/signing-party/Manifest
+++ b/app-crypt/signing-party/Manifest
@@ -1 +1,2 @@
DIST signing-party_2.7.orig.tar.gz 201320 BLAKE2B 4fe5781b610dc8acd5166fc7ce7daa1b856f6617952d5eb226cae0c8c6fcaa196b88ffe313b2d71b8f11423a81e84f2124d9adea86edbfb0d22808473d1c36fe SHA512 d1599ca0cb2dd554b4688bc8c77f4a1dd907d00539bb11abe147300dd2184f8548ebe9fdf793e83e2956a220b1c4bf9e19bd543b77f724b0c8ea4794ac945985
+DIST signing-party_2.9.orig.tar.gz 222606 BLAKE2B 5c7fd8fdb4945f3155d5dc146716ae402c72ec3cc728feb5b3d009878d88313ed26dbf4461820346bd3340ec84d9a439dfd52950452ad796bf1fbc98a342ff6a SHA512 31a0f15f679c0339753bafbac645609e9e16f3da2c5105c33e87e0f258453b3101f188398a7c1509fe5c005339289ac5465ccb18631a526d231c714f9ed61d96
diff --git a/app-crypt/signing-party/signing-party-2.9.ebuild b/app-crypt/signing-party/signing-party-2.9.ebuild
new file mode 100644
index 00000000000..f1181a3c174
--- /dev/null
+++ b/app-crypt/signing-party/signing-party-2.9.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+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
+ )"
+
+src_prepare() {
+ default
+
+ # app-crypt/keylookup
+ rm -r keylookup || die
+ sed -i -e 's#keylookup/keylookup##' Makefile || die
+
+ # media-gfx/springgraph
+ rm -r springgraph || die
+
+ find . -name Makefile | xargs sed -i -e 's/CFLAGS:=/CFLAGS=/' -e 's/CPPFLAGS:=/CPPFLAGS=/' -e 's/LDFLAGS:=/LDFLAGS=/'
+
+ sed -i -e 's/autoreconf/true/g' keyanalyze/Makefile || die
+ pushd keyanalyze/pgpring
+ eautoreconf
+ popd
+}
+
+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
+}