pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/sudo



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed Oct 16 20:25:21 UTC 2019

Modified Files:
        pkgsrc/security/sudo: Makefile distinfo
        pkgsrc/security/sudo/patches: patch-lib_util_str2sig.c

Log Message:
sudo: correct fallback for no sysconf(_SC_RTSIG_MAX).

Thanks nros for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.169 pkgsrc/security/sudo/Makefile
cvs rdiff -u -r1.102 -r1.103 pkgsrc/security/sudo/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/security/sudo/patches/patch-lib_util_str2sig.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/sudo/Makefile
diff -u pkgsrc/security/sudo/Makefile:1.168 pkgsrc/security/sudo/Makefile:1.169
--- pkgsrc/security/sudo/Makefile:1.168 Mon Oct 14 20:05:58 2019
+++ pkgsrc/security/sudo/Makefile       Wed Oct 16 20:25:21 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.168 2019/10/14 20:05:58 maya Exp $
+# $NetBSD: Makefile,v 1.169 2019/10/16 20:25:21 maya Exp $
 
 DISTNAME=      sudo-1.8.28
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  https://www.sudo.ws/dist/
 MASTER_SITES+= ftp://ftp.sudo.ws/pub/sudo/

Index: pkgsrc/security/sudo/distinfo
diff -u pkgsrc/security/sudo/distinfo:1.102 pkgsrc/security/sudo/distinfo:1.103
--- pkgsrc/security/sudo/distinfo:1.102 Mon Oct 14 20:05:58 2019
+++ pkgsrc/security/sudo/distinfo       Wed Oct 16 20:25:21 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.102 2019/10/14 20:05:58 maya Exp $
+$NetBSD: distinfo,v 1.103 2019/10/16 20:25:21 maya Exp $
 
 SHA1 (sudo-1.8.28.tar.gz) = c0a6ccb124b4cef58255ee9ca3179c52db07910b
 RMD160 (sudo-1.8.28.tar.gz) = 5104faf846b59a0c04045e2f464ffeae3ddf95c2
@@ -9,7 +9,7 @@ SHA1 (patch-configure) = 460b9575346c263
 SHA1 (patch-include_sudo__compat.h) = 4f9b021ebdd507949f13e289deabdb6090ab334c
 SHA1 (patch-include_sudo__event.h) = 4d0787a45c2c7d4a7d3ae3111ccb3a4a4b84d083
 SHA1 (patch-lib_util_sig2str.c) = e5636d9e414fc9354cd238751fa4a00026320dd3
-SHA1 (patch-lib_util_str2sig.c) = 42de4b9716baaff72439512df41e5382a6ce9294
+SHA1 (patch-lib_util_str2sig.c) = e04aa67cab901e1be10d59bd1b0ee740aa1295b8
 SHA1 (patch-plugins_sudoers_Makefile.in) = d8612ac7bf2f5a892d9720c4df91810ca807f4ed
 SHA1 (patch-plugins_sudoers_logging.c) = 700ac9540a82bea4f3106cea941b785e5bd31203
 SHA1 (patch-plugins_sudoers_starttime.c) = ab051d327a2b01736ab9ceefe7e6f03e0e2f1ee6

Index: pkgsrc/security/sudo/patches/patch-lib_util_str2sig.c
diff -u pkgsrc/security/sudo/patches/patch-lib_util_str2sig.c:1.1 pkgsrc/security/sudo/patches/patch-lib_util_str2sig.c:1.2
--- pkgsrc/security/sudo/patches/patch-lib_util_str2sig.c:1.1   Mon Oct 14 20:05:58 2019
+++ pkgsrc/security/sudo/patches/patch-lib_util_str2sig.c       Wed Oct 16 20:25:21 2019
@@ -1,4 +1,4 @@
-$NetBSD: patch-lib_util_str2sig.c,v 1.1 2019/10/14 20:05:58 maya Exp $
+$NetBSD: patch-lib_util_str2sig.c,v 1.2 2019/10/16 20:25:21 maya Exp $
 
 Handle sysconf(_SC_RTSIG_MAX) not existing (netbsd):
 just assume the static limits is good enough.
@@ -12,7 +12,7 @@ just assume the static limits is good en
 +#ifdef _SC_RTSIG_MAX
                const long rtmax = sysconf(_SC_RTSIG_MAX);
 +#else
-+              const long rtmax = SIGRTMAX;
++              const long rtmax = SIGRTMAX - SIGRTMIN;
 +#endif
                const int off = signame[6] - '0';
  
@@ -24,7 +24,7 @@ just assume the static limits is good en
 +#ifdef _SC_RTSIG_MAX
                const long rtmax = sysconf(_SC_RTSIG_MAX);
 +#else
-+              const long rtmax = SIGRTMAX;
++              const long rtmax = SIGRTMAX - SIGRTMIN;
 +#endif
                const int off = signame[6] - '0';
  



Home | Main Index | Thread Index | Old Index