pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/seccure



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Mar 17 07:25:58 UTC 2026

Modified Files:
        pkgsrc/security/seccure: distinfo
        pkgsrc/security/seccure/patches: patch-seccure.c

Log Message:
seccure: Fix implicit declaration of alloca.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/seccure/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/seccure/patches/patch-seccure.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/seccure/distinfo
diff -u pkgsrc/security/seccure/distinfo:1.7 pkgsrc/security/seccure/distinfo:1.8
--- pkgsrc/security/seccure/distinfo:1.7        Tue Oct 26 11:18:00 2021
+++ pkgsrc/security/seccure/distinfo    Tue Mar 17 07:25:58 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:18:00 nia Exp $
+$NetBSD: distinfo,v 1.8 2026/03/17 07:25:58 nia Exp $
 
 BLAKE2s (seccure-0.4.tar.gz) = a01e7176e3c52b793373bc7acef4b6fd311f17b3f00263ce7c185411517efd59
 SHA512 (seccure-0.4.tar.gz) = 3372ecc473677a50822de39dfb62c449f1c03fd19c8f0bf72838d6dce452960bd1ca80ac8987c0e1f1874b515c94776ba2f26886150756f00c8bd849cfbfefa7
 Size (seccure-0.4.tar.gz) = 31881 bytes
 SHA1 (patch-aa) = 91c83d4583d28cade721c105e52fd0535b7a0171
-SHA1 (patch-seccure.c) = 61ff85bc1e6d4d7ec59903328ec079d176ba4e92
+SHA1 (patch-seccure.c) = c6107beb05ead3d4db29092a4e11e6cb8b9182a0

Index: pkgsrc/security/seccure/patches/patch-seccure.c
diff -u pkgsrc/security/seccure/patches/patch-seccure.c:1.1 pkgsrc/security/seccure/patches/patch-seccure.c:1.2
--- pkgsrc/security/seccure/patches/patch-seccure.c:1.1 Sat Mar  2 17:57:53 2013
+++ pkgsrc/security/seccure/patches/patch-seccure.c     Tue Mar 17 07:25:58 2026
@@ -1,8 +1,18 @@
-$NetBSD: patch-seccure.c,v 1.1 2013/03/02 17:57:53 joerg Exp $
+$NetBSD: patch-seccure.c,v 1.2 2026/03/17 07:25:58 nia Exp $
 
---- seccure.c.orig     2013-03-01 23:39:45.000000000 +0000
+--- seccure.c.orig     2009-04-09 12:42:50.000000000 +0000
 +++ seccure.c
-@@ -685,10 +685,11 @@ int app_verify(const char *pubkey, const
+@@ -41,6 +41,9 @@
+ #include <fcntl.h>
+ #include <errno.h>
+ #include <assert.h>
++#if defined(__sun) || defined(__linux__)
++#include <alloca.h>
++#endif
+ #include <termios.h>
+ #include <getopt.h>
+ #include <sys/mman.h>
+@@ -685,10 +688,11 @@ int app_verify(const char *pubkey, const
      fatal("Invalid verification key (wrong length)");
    
    if (decompress_from_string(&Q, pubkey, DF_COMPACT, cp)) {
@@ -18,7 +28,7 @@ $NetBSD: patch-seccure.c,v 1.1 2013/03/0
      
      err = gcry_md_open(&mh, GCRY_MD_SHA512, 0);
      if (gcry_err_code(err))
-@@ -700,7 +701,7 @@ int app_verify(const char *pubkey, const
+@@ -700,7 +704,7 @@ int app_verify(const char *pubkey, const
        fatal_errno("Cannot open signature file", errno);
  
        if (opt_sigbin) {
@@ -27,7 +37,7 @@ $NetBSD: patch-seccure.c,v 1.1 2013/03/0
          if (ferror(sigfile))
            fatal_errno("Cannot read signature", errno);
          else {
-@@ -711,11 +712,11 @@ int app_verify(const char *pubkey, const
+@@ -711,11 +715,11 @@ int app_verify(const char *pubkey, const
        }
        }
        else {
@@ -42,7 +52,7 @@ $NetBSD: patch-seccure.c,v 1.1 2013/03/0
        }
        
        if (fclose(sigfile))
-@@ -727,12 +728,12 @@ int app_verify(const char *pubkey, const
+@@ -727,12 +731,12 @@ int app_verify(const char *pubkey, const
  
      if (opt_sigappend) {
        if (opt_sigbin)
@@ -58,7 +68,7 @@ $NetBSD: patch-seccure.c,v 1.1 2013/03/0
        }
      }
      else
-@@ -751,7 +752,7 @@ int app_verify(const char *pubkey, const
+@@ -751,7 +755,7 @@ int app_verify(const char *pubkey, const
        
      if (! opt_sigbin) {
        if (! sig)
@@ -67,7 +77,7 @@ $NetBSD: patch-seccure.c,v 1.1 2013/03/0
        if (strlen(sig) != cp->sig_len_compact) {
        print_quiet("Invalid signature (wrong length)!\n", 1);
        goto error;
-@@ -763,7 +764,7 @@ int app_verify(const char *pubkey, const
+@@ -763,7 +767,7 @@ int app_verify(const char *pubkey, const
        }
      }
      else



Home | Main Index | Thread Index | Old Index