pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/apg



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Sep 26 05:04:09 UTC 2018

Modified Files:
        pkgsrc/security/apg: Makefile distinfo
Added Files:
        pkgsrc/security/apg/patches: patch-apg.c

Log Message:
Fix segfault from -y case

* Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/security/apg/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/apg/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/apg/patches/patch-apg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/apg/Makefile
diff -u pkgsrc/security/apg/Makefile:1.25 pkgsrc/security/apg/Makefile:1.26
--- pkgsrc/security/apg/Makefile:1.25   Wed Aug 22 09:46:17 2018
+++ pkgsrc/security/apg/Makefile        Wed Sep 26 05:04:09 2018
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2018/08/22 09:46:17 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2018/09/26 05:04:09 ryoon Exp $
 #
 
 DISTNAME=      apg-2.3.0b
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    security
 #MASTER_SITES= http://www.adel.nursat.kz/apg/download/
 

Index: pkgsrc/security/apg/distinfo
diff -u pkgsrc/security/apg/distinfo:1.8 pkgsrc/security/apg/distinfo:1.9
--- pkgsrc/security/apg/distinfo:1.8    Wed Nov  4 01:17:41 2015
+++ pkgsrc/security/apg/distinfo        Wed Sep 26 05:04:09 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.8 2015/11/04 01:17:41 agc Exp $
+$NetBSD: distinfo,v 1.9 2018/09/26 05:04:09 ryoon Exp $
 
 SHA1 (apg-2.3.0b.tar.gz) = d729c939adb659c05fd0ea3d9c03842c6fe86fed
 RMD160 (apg-2.3.0b.tar.gz) = 18f9955d6fdb721bec26613860b312d7fea6fba7
 SHA512 (apg-2.3.0b.tar.gz) = 3112d2267f2311f960a52fa268b55a5faf0250a4a8c5e7444f0c1326afa2844a476a54befcf79e5b8532d74c53f6f58ffc420591c8c36798dd82b43c14869e1a
 Size (apg-2.3.0b.tar.gz) = 109995 bytes
 SHA1 (patch-aa) = 59d5537da45c7fb05480d12d1e73b04d19eed63f
+SHA1 (patch-apg.c) = 212c6b8b61127243428ffa2bfbab8424bde0a7da

Added files:

Index: pkgsrc/security/apg/patches/patch-apg.c
diff -u /dev/null pkgsrc/security/apg/patches/patch-apg.c:1.1
--- /dev/null   Wed Sep 26 05:04:09 2018
+++ pkgsrc/security/apg/patches/patch-apg.c     Wed Sep 26 05:04:09 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-apg.c,v 1.1 2018/09/26 05:04:09 ryoon Exp $
+
+* 11th for NULL termination. Fix -y segfault
+
+--- apg.c.orig 2003-08-07 15:40:39.000000000 +0000
++++ apg.c
+@@ -709,7 +709,7 @@ print_help (void)
+ */
+ char * crypt_passstring (const char *p)
+ {
+- char salt[10];
++ char salt[11];
+  gen_rand_pass (salt, 10, 10, S_SL|S_CL|S_NB);
+  return (crypt(p, salt));
+ }



Home | Main Index | Thread Index | Old Index