summaryrefslogtreecommitdiff
path: root/archivers/hpack
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-09-14 15:03:10 +0000
committerwiz <wiz@pkgsrc.org>2001-09-14 15:03:10 +0000
commit93fb6caab333a9dbde85a8020535ea2f2235dd84 (patch)
treeb5cc49b3075122873062162d7d3fe080842d84aa /archivers/hpack
parent37fd599af3b113c0b11075fc4e6bfe43f83ecd1f (diff)
downloadpkgsrc-93fb6caab333a9dbde85a8020535ea2f2235dd84.tar.gz
Replace gets(3) by fgets(3). Patches by Don Yuniskis in pkg/13896.
Diffstat (limited to 'archivers/hpack')
-rw-r--r--archivers/hpack/distinfo5
-rw-r--r--archivers/hpack/patches/patch-ac15
-rw-r--r--archivers/hpack/patches/patch-ah13
3 files changed, 28 insertions, 5 deletions
diff --git a/archivers/hpack/distinfo b/archivers/hpack/distinfo
index 6419b42ee82..a7bd081175b 100644
--- a/archivers/hpack/distinfo
+++ b/archivers/hpack/distinfo
@@ -1,12 +1,13 @@
-$NetBSD: distinfo,v 1.3 2001/04/22 15:52:28 wiz Exp $
+$NetBSD: distinfo,v 1.4 2001/09/14 15:03:10 wiz Exp $
SHA1 (hpack79src.tar.gz) = 5fb85346724e5d972ae809311d6571a9034ee5d5
Size (hpack79src.tar.gz) = 545648 bytes
SHA1 (patch-aa) = d39d13ee6f99eb71ac3129c24942bf02d2527e1f
SHA1 (patch-ab) = 48fa56d17725d2b3de87955f09d82624d14e2f56
-SHA1 (patch-ac) = cb6c809d6c49d6b98923958cbaf5e9d683324919
+SHA1 (patch-ac) = cf399b72c990fc2a6583ab0abbb252075c2ceceb
SHA1 (patch-ad) = 9d51a5e62c89953ba97bcb7642a4a23f544690b4
SHA1 (patch-ae) = 2677c4aa0899ecfbc1a274461bcb153a58ef2b51
SHA1 (patch-af) = 7809e665e108152689036c150afe3865a3848d31
SHA1 (patch-ag) = fd04724f6ab2bf1fa4f206d18c7235574a357c36
+SHA1 (patch-ah) = 30e7a7e11b10ccb3510199c5e6b86eb77a8ec98d
SHA1 (patch-rsaref) = 55be181d088b5f3af9321981964565104f036a3a
diff --git a/archivers/hpack/patches/patch-ac b/archivers/hpack/patches/patch-ac
index d0444f3bce3..6ebcfc7ead0 100644
--- a/archivers/hpack/patches/patch-ac
+++ b/archivers/hpack/patches/patch-ac
@@ -1,7 +1,16 @@
-$NetBSD: patch-ac,v 1.1.1.1 1999/05/23 22:41:21 tv Exp $
+$NetBSD: patch-ac,v 1.2 2001/09/14 15:03:11 wiz Exp $
---- keycvt/keycvt.c.orig Fri Aug 13 16:06:28 1993
-+++ keycvt/keycvt.c Sun May 23 17:36:39 1999
+--- keycvt/keycvt.c.orig Fri Aug 13 22:06:28 1993
++++ keycvt/keycvt.c
+@@ -586,7 +586,7 @@
+ puts( "Warning: Password will be echoed to screen!" );
+ printf( "Password: " );
+ fflush( stdout );
+- gets( password );
++ fgets( password, sizeof(password), stdin );
+ }
+
+ void initCrypt( void )
@@ -1034,13 +1034,17 @@
tempFileName[ pathLen++ ] = '/';
strcat( tempFileName, "randseed.bin" );
diff --git a/archivers/hpack/patches/patch-ah b/archivers/hpack/patches/patch-ah
new file mode 100644
index 00000000000..17445d55a02
--- /dev/null
+++ b/archivers/hpack/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2001/09/14 15:03:11 wiz Exp $
+
+--- archive.c.orig Tue Jun 29 12:27:52 1993
++++ archive.c
+@@ -331,7 +331,7 @@
+ /* Nasty input routine - should check for illegal chars and suchlike.
+ Will also overflow if anyone enters more than 16K chars */
+ hflush( stdout );
+- hgets( ( char * ) mrglBuffer );
++ fgets( ( char * ) mrglBuffer, MAX_PATH, stdin );
+ mrglBuffer[ MAX_PATH - 1 ] = '\0';
+ strcpy( fileName, ( char * ) mrglBuffer );
+