* [gentoo-commits] repo/gentoo:master commit in: app-crypt/pgpdump/, app-crypt/pgpdump/files/
@ 2017-07-24 9:03 Lars Wendler
0 siblings, 0 replies; 2+ messages in thread
From: Lars Wendler @ 2017-07-24 9:03 UTC (permalink / raw
To: gentoo-commits
commit: fd8c52001c8bb68a3659a8c1f6abf7808776dfa4
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 09:02:13 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 09:02:59 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd8c5200
app-crypt/pgpdump: Bump to version 0.32
Package-Manager: Portage-2.3.6, Repoman-2.3.3
app-crypt/pgpdump/Manifest | 1 +
.../files/pgpdump-0.32-respect-ldflags.patch | 42 ++++++++++++++++++++++
app-crypt/pgpdump/pgpdump-0.32.ebuild | 27 ++++++++++++++
3 files changed, 70 insertions(+)
diff --git a/app-crypt/pgpdump/Manifest b/app-crypt/pgpdump/Manifest
index ba027ffa745..9d69cb44297 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 00000000000..44f81b45148
--- /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 00000000000..13720556f1e
--- /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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/pgpdump/, app-crypt/pgpdump/files/
@ 2024-11-17 2:07 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-11-17 2:07 UTC (permalink / raw
To: gentoo-commits
commit: d7b8916e46538241d5cb032a8264c4f6660f8964
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 02:05:22 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 02:05:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b8916e
app-crypt/pgpdump: fix C23 compat
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-crypt/pgpdump/files/pgpdump-0.36-c23.patch | 35 ++++++++++++++++++++++++++
app-crypt/pgpdump/pgpdump-0.36.ebuild | 1 +
2 files changed, 36 insertions(+)
diff --git a/app-crypt/pgpdump/files/pgpdump-0.36-c23.patch b/app-crypt/pgpdump/files/pgpdump-0.36-c23.patch
new file mode 100644
index 000000000000..70c4453a0993
--- /dev/null
+++ b/app-crypt/pgpdump/files/pgpdump-0.36-c23.patch
@@ -0,0 +1,35 @@
+https://github.com/kazu-yamamoto/pgpdump/pull/45
+
+From 541442dc04259bde680b46742522177be40cc065 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sun, 17 Nov 2024 02:04:03 +0000
+Subject: [PATCH] Fix C23 compatibility
+
+C23 removes unprototyped functions, so fix the function pointer type.
+---
+ packet.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/packet.c b/packet.c
+index b6f3665..bdd3d3e 100644
+--- a/packet.c
++++ b/packet.c
+@@ -4,7 +4,7 @@
+
+ #include "pgpdump.h"
+
+-typedef void (*funcptr)();
++typedef void (*funcptr)(int);
+
+ private int get_new_len(int);
+ private int is_partial(int);
+@@ -91,7 +91,7 @@ TAG[] = {
+ #define TAG_NUM (sizeof(TAG) * sizeof(string))
+
+ private void
+-(*tag_func[])() = {
++(*tag_func[])(int) = {
+ Reserved,
+ Public_Key_Encrypted_Session_Key_Packet,
+ Signature_Packet,
+
diff --git a/app-crypt/pgpdump/pgpdump-0.36.ebuild b/app-crypt/pgpdump/pgpdump-0.36.ebuild
index b4695a9c1939..e835dec48598 100644
--- a/app-crypt/pgpdump/pgpdump-0.36.ebuild
+++ b/app-crypt/pgpdump/pgpdump-0.36.ebuild
@@ -17,6 +17,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-0.32-respect-ldflags.patch
+ "${FILESDIR}"/${PN}-0.36-c23.patch
)
src_install() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-17 2:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-17 2:07 [gentoo-commits] repo/gentoo:master commit in: app-crypt/pgpdump/, app-crypt/pgpdump/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2017-07-24 9:03 Lars Wendler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox