summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-24 11:02:13 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-24 11:02:59 +0200
commitfd8c52001c8bb68a3659a8c1f6abf7808776dfa4 (patch)
tree370e8658674410abf79e1733b9ceb23ca7ffa280 /app-crypt/pgpdump
parentmedia-tv/mythtv: Per mythtv/libs/libmyth/mediamonitor-unix.cpp this is also c... (diff)
downloadgentoo-fd8c52001c8bb68a3659a8c1f6abf7808776dfa4.tar.gz
gentoo-fd8c52001c8bb68a3659a8c1f6abf7808776dfa4.tar.bz2
gentoo-fd8c52001c8bb68a3659a8c1f6abf7808776dfa4.zip
app-crypt/pgpdump: Bump to version 0.32
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'app-crypt/pgpdump')
-rw-r--r--app-crypt/pgpdump/Manifest1
-rw-r--r--app-crypt/pgpdump/files/pgpdump-0.32-respect-ldflags.patch42
-rw-r--r--app-crypt/pgpdump/pgpdump-0.32.ebuild27
3 files changed, 70 insertions, 0 deletions
diff --git a/app-crypt/pgpdump/Manifest b/app-crypt/pgpdump/Manifest
index ba027ffa745c..9d69cb442974 100644
--- a/app-crypt/pgpdump/Manifest
+++ b/app-crypt/pgpdump/Manifest
@@ -1,2 +1,3 @@
DIST pgpdump-0.30.tar.gz 63152 SHA256 8c36a005baee8dd6e730e5735c7ac2bbc8826a1bb29f500c0202d00fd62baad4 SHA512 e250dc82bb890a7645a41f6ddbfad9155ddf70f2ea53b09e771e9b6851d05d3fba88e16b106681ab092174e79ad709ed860be25bfded1ca7f369b357e8c72730 WHIRLPOOL 80a054e53d262ad5d349ecb10a5f421c1308de248ad9e2884eb4f37244f79efb3428dedd6d1d2d6b59cdb20b76c95f8ac6674fab3b47635944e0012c8eeaa59c
DIST pgpdump-0.31.tar.gz 63808 SHA256 206ae52d4a8bbfa095b6ceefcc8b53ccabcdb75696db3bae5e05c15433729813 SHA512 10d138baf0e3c9a47f6c8549a94b14eaa8babf95a09265e3a5b91469598726d6ee94cc7c481688c2d2b63917d6daba1bb368923aaf75adac6b18694d9a2940c4 WHIRLPOOL b706d92da109305b72900e7f31aec70b2a9a286e49ab13a03801623ac8997df5c8dc1f30d829aef35dd8d898786748b37dcdeb8cc178f3cddac0662f014a6b03
+DIST pgpdump-0.32.tar.gz 65444 SHA256 2d49d9fa5c12750abc16e09db7f52950b526475bdb27ad16e489c92b59c2af25 SHA512 3f28a301cce703e934eb8b6124af4db78801d444ce74f43f8511009ea0684f9e9c229ef2a18cc732fe0854f2e02c4bbfdee46ffee64a5f490ff06c060472e49d WHIRLPOOL 2df4bbd29a9cd5dda1718fb498db2bd7b8a24d54d979f519f2323578f1a0177caa871c26e79ae27fc8d9597862456d594eb1084c49ccef13e9c9f621a682295a
diff --git a/app-crypt/pgpdump/files/pgpdump-0.32-respect-ldflags.patch b/app-crypt/pgpdump/files/pgpdump-0.32-respect-ldflags.patch
new file mode 100644
index 000000000000..44f81b451489
--- /dev/null
+++ b/app-crypt/pgpdump/files/pgpdump-0.32-respect-ldflags.patch
@@ -0,0 +1,42 @@
+From 43dfe847efa8e614b3e6f8d37ad04ba577ead595 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Manuel=20R=C3=BCger?= <mrueg@rueg.eu>
+Date: Fri, 16 Jun 2017 10:11:36 +0200
+Subject: [PATCH] Respect LDFLAGS, minor other improvements
+
+---
+ Makefile.in | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index f9bff30..969a16f 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -3,7 +3,8 @@ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ mandir = @mandir@
+ LIBS = @LIBS@
+-CFLAGS = @CFLAGS@ -O -Wall
++CC = @CC@
++CFLAGS = @CFLAGS@ -Wall
+ LDFLAGS = @LDFLAGS@
+ VERSION = `git tag | tail -1 | sed -e 's/v//'`
+
+@@ -22,13 +23,13 @@ MAN = pgpdump.1
+ CNF = config.h config.status config.cache config.log
+ MKF = Makefile
+
+-.c.o:
++%.o : %.c
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
+
+ all: $(PROG)
+
+ $(PROG): $(OBJS)
+- $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(LDFLAGS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
+
+ clean:
+ $(RM) $(OBJS) $(PROG)
+--
+2.13.1
+
diff --git a/app-crypt/pgpdump/pgpdump-0.32.ebuild b/app-crypt/pgpdump/pgpdump-0.32.ebuild
new file mode 100644
index 000000000000..13720556f1ed
--- /dev/null
+++ b/app-crypt/pgpdump/pgpdump-0.32.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A PGP packet visualizer"
+HOMEPAGE="http://www.mew.org/~kazu/proj/pgpdump/"
+SRC_URI="http://www.mew.org/~kazu/proj/pgpdump/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ app-arch/bzip2"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.32-respect-ldflags.patch
+)
+
+src_install() {
+ dobin pgpdump
+ doman pgpdump.1
+ dodoc CHANGES README.md
+}