From 17c5fb3ed0a3c82fd1d2a1a7e6c1a66f9ac5b435 Mon Sep 17 00:00:00 2001 From: markd Date: Sat, 8 Jul 2006 21:29:24 +0000 Subject: Solaris grep doesn't deal well with the binary output of tar when testing if tar supports "ustar" so feed through strings before grep. Fixes PR pkg/33776. --- security/gnupg/distinfo | 3 ++- security/gnupg/patches/patch-ac | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 security/gnupg/patches/patch-ac (limited to 'security/gnupg') diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo index 2eb14ba75dc..743ae311488 100644 --- a/security/gnupg/distinfo +++ b/security/gnupg/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.41 2006/07/03 21:15:14 wiz Exp $ +$NetBSD: distinfo,v 1.42 2006/07/08 21:29:24 markd Exp $ SHA1 (gnupg-1.4.4.tar.bz2) = 3414d67f22973576f31e354f44859bafbccb7eee RMD160 (gnupg-1.4.4.tar.bz2) = b3807b3cf4fc577bf071261eff787c481bd4e0ca @@ -8,4 +8,5 @@ RMD160 (idea.c.gz) = e35be5a031d10d52341ac5f029d28f811edd908d Size (idea.c.gz) = 5216 bytes SHA1 (patch-aa) = 91d55ca22b58e8a1f3c17a2fd0ad888d4c85c6cf SHA1 (patch-ab) = 29a7d0b736322eb1ecf0925a2419b513f323000e +SHA1 (patch-ac) = b5279fa5c43866139ef61b064580837a98ae2a9f SHA1 (patch-ak) = 89a6a7552104f4d5b97a98889da88fca68c54f31 diff --git a/security/gnupg/patches/patch-ac b/security/gnupg/patches/patch-ac new file mode 100644 index 00000000000..12325d09a6b --- /dev/null +++ b/security/gnupg/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.17 2006/07/08 21:29:24 markd Exp $ + +--- configure.orig 2006-06-25 23:14:59.000000000 +1200 ++++ configure +@@ -4876,7 +4876,7 @@ fi + echo "$as_me:$LINENO: checking whether $_mytar speaks USTAR" >&5 + echo $ECHO_N "checking whether $_mytar speaks USTAR... $ECHO_C" >&6 + echo hithere > conftest.txt +- $_mytar -cf - conftest.txt | grep -q ustar ++ $_mytar -cf - conftest.txt | strings | grep -q ustar + _tar_bad=$? + rm conftest.txt + -- cgit v1.2.3