Hi,

This diff updates libssh to the latest version which among a few other changes
includes a fix for CVE-2020-1730: 
https://www.libssh.org/security/advisories/CVE-2020-1730.txt

OK?
-- 
jasper

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/libssh/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile    31 Mar 2020 18:46:01 -0000      1.21
+++ Makefile    20 Apr 2020 07:06:03 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.21 2020/03/31 18:46:01 kn Exp $
 
 COMMENT =              C library implementing server and client side
-V =                    0.9.3
+V =                    0.9.4
 DISTNAME =             libssh-${V}
 
 SHARED_LIBS +=         ssh             4.1 # 4.8
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/libssh/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo    31 Mar 2020 18:46:01 -0000      1.15
+++ distinfo    20 Apr 2020 07:06:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (libssh-0.9.3.tar.xz) = LItfiU3O1Ys9Yp8W86+mViwgtL3IlGORY89leDNojww=
-SIZE (libssh-0.9.3.tar.xz) = 500068
+SHA256 (libssh-0.9.4.tar.xz) = FQiXpWmFKsBarIMdxBenuo5hDIbKLgFUqZxq3iSGIms=
+SIZE (libssh-0.9.4.tar.xz) = 500776
Index: patches/patch-include_libssh_priv_h
===================================================================
RCS file: patches/patch-include_libssh_priv_h
diff -N patches/patch-include_libssh_priv_h
--- patches/patch-include_libssh_priv_h 31 Mar 2020 18:46:01 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,35 +0,0 @@
-$OpenBSD: patch-include_libssh_priv_h,v 1.1 2020/03/31 18:46:01 kn Exp $
-
-Fix macro collision with __attribute__ ((__unused__)) in system-wide headers.
-Problem known upstream: https://bugs.libssh.org/T175
-
-Index: include/libssh/priv.h
---- include/libssh/priv.h.orig
-+++ include/libssh/priv.h
-@@ -405,20 +405,20 @@ void explicit_bzero(void *s, size_t n);
- # endif /* HAVE_FALLTHROUGH_ATTRIBUTE */
- #endif /* FALL_THROUGH */
- 
--#ifndef __unused__
-+#ifndef ssh__unused
- # ifdef HAVE_UNUSED_ATTRIBUTE
--#  define __unused__ __attribute__((unused))
-+#  define ssh__unused __attribute__((unused))
- # else /* HAVE_UNUSED_ATTRIBUTE */
--#  define __unused__
-+#  define ssh__unused
- # endif /* HAVE_UNUSED_ATTRIBUTE */
--#endif /* __unused__ */
-+#endif /* ssh__unused */
- 
- #ifndef UNUSED_PARAM
--#define UNUSED_PARAM(param) param __unused__
-+#define UNUSED_PARAM(param) param ssh__unused
- #endif /* UNUSED_PARAM */
- 
- #ifndef UNUSED_VAR
--#define UNUSED_VAR(var) __unused__ var
-+#define UNUSED_VAR(var) ssh__unused var
- #endif /* UNUSED_VAR */
- 
- void ssh_agent_state_free(void *data);

Reply via email to