Skip to content

Commit

Permalink
app-crypt/pgpdump: Bump to version 0.32
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.3
  • Loading branch information
Lars Wendler committed Jul 24, 2017
1 parent d314bee commit fd8c520
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-crypt/pgpdump/Manifest
Original file line number Diff line number Diff line change
@@ -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
42 changes: 42 additions & 0 deletions app-crypt/pgpdump/files/pgpdump-0.32-respect-ldflags.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
From 43dfe847efa8e614b3e6f8d37ad04ba577ead595 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20R=C3=BCger?= <[email protected]>
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

27 changes: 27 additions & 0 deletions app-crypt/pgpdump/pgpdump-0.32.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit fd8c520

Please sign in to comment.