From 1320d94a0711bbc3c1bdf1b0c6ac7d413cfe063f Mon Sep 17 00:00:00 2001 From: jmc Date: Tue, 12 Mar 2002 20:58:42 +0000 Subject: Any version of m4 before 1.5.3 has a bug where in certain conditions it'll add 0xff as the last byte of output. Pass the m4 output through tr to strip it. --- security/nessus-libraries/distinfo | 4 ++-- security/nessus-libraries/patches/patch-ab | 29 +++++++++++++++++++++++++---- 2 files changed, 27 insertions(+), 6 deletions(-) (limited to 'security') diff --git a/security/nessus-libraries/distinfo b/security/nessus-libraries/distinfo index 943d0c52035..73c18f451c6 100644 --- a/security/nessus-libraries/distinfo +++ b/security/nessus-libraries/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.6 2001/12/30 18:38:54 frueauf Exp $ +$NetBSD: distinfo,v 1.7 2002/03/12 20:58:42 jmc Exp $ SHA1 (nessus-libraries-1.0.10.tar.gz) = 53693550ebabaa8765527dff6066368d5d2d70fb Size (nessus-libraries-1.0.10.tar.gz) = 1791769 bytes SHA1 (patch-aa) = 3eb222fd9751291ec9079f1d612519651ec786d4 -SHA1 (patch-ab) = a210700e76fafc982319d534193885163d6fb000 +SHA1 (patch-ab) = 22772050e5d146a2081a676b7017eea11acf493e SHA1 (patch-ac) = bcce198edd708404f9821448a1387ddfc993137d SHA1 (patch-ad) = 636dcd64d5c025cf09759feb8d1a0ff848f85248 SHA1 (patch-ae) = 07e561209a6a89267a3001721acf9e2fa81c1193 diff --git a/security/nessus-libraries/patches/patch-ab b/security/nessus-libraries/patches/patch-ab index 34b2d7acd94..054906d338d 100644 --- a/security/nessus-libraries/patches/patch-ab +++ b/security/nessus-libraries/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.1.1.1 2000/07/30 11:14:32 frueauf Exp $ +$NetBSD: patch-ab,v 1.2 2002/03/12 20:58:42 jmc Exp $ ---- libpeks/gmp3/mpn/Makefile.in-orig Mon Jun 12 13:32:24 2000 -+++ libpeks/gmp3/mpn/Makefile.in Sat Jul 22 22:17:09 2000 -@@ -139,7 +139,7 @@ +--- libpeks/gmp3/mpn/Makefile.in.orig Sun Aug 6 19:46:54 2000 ++++ libpeks/gmp3/mpn/Makefile.in Tue Mar 12 20:46:49 2002 +@@ -142,7 +142,7 @@ # COMPILE minus CC. FIXME: Really pass *_CFLAGS to CPP? COMPILE_FLAGS = \ @@ -11,3 +11,24 @@ $NetBSD: patch-ab,v 1.1.1.1 2000/07/30 11:14:32 frueauf Exp $ SUFFIXES = .s .S .asm +@@ -453,7 +453,7 @@ + + # *.m4 are preprocessed with m4. + .asm.o: +- $(M4) -DOPERATION_$* $< >tmp-$*.s ++ $(M4) -DOPERATION_$* $< | tr -d '\377' >tmp-$*.s + $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ + rm -f tmp-$*.s + .asm.obj: +@@ -461,9 +461,9 @@ + $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ + rm -f tmp-$*.s + .asm.lo: +- $(M4) -DPIC -DOPERATION_$* $< >tmp-$*.s ++ $(M4) -DPIC -DOPERATION_$* $< | tr -d '\377' >tmp-$*.s + $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ +- $(M4) -DOPERATION_$* $< >tmp-$*.s ++ $(M4) -DOPERATION_$* $< | tr -d '\377' >tmp-$*.s + $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $*.o + rm -f tmp-$*.s + -- cgit v1.2.3