pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libssh



Module Name:    pkgsrc
Committed By:   micha
Date:           Mon Jul 20 15:56:24 UTC 2020

Modified Files:
        pkgsrc/security/libssh: distinfo
Added Files:
        pkgsrc/security/libssh/patches: patch-examples_sshd__direct-tcpip.c

Log Message:
security/libssh: Build fix

Include header files with declarations for struct sockaddr_in and send().

OK from is@.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/security/libssh/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/libssh/patches/patch-examples_sshd__direct-tcpip.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/libssh/distinfo
diff -u pkgsrc/security/libssh/distinfo:1.22 pkgsrc/security/libssh/distinfo:1.23
--- pkgsrc/security/libssh/distinfo:1.22        Sun Apr 12 21:05:01 2020
+++ pkgsrc/security/libssh/distinfo     Mon Jul 20 15:56:24 2020
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.22 2020/04/12 21:05:01 wiz Exp $
+$NetBSD: distinfo,v 1.23 2020/07/20 15:56:24 micha Exp $
 
 SHA1 (libssh-0.9.4.tar.xz) = 93289b77379263328c843fa85ba5ed4b274b689f
 RMD160 (libssh-0.9.4.tar.xz) = 4d1323a8ee50d54d66151177002fd9d12d696fed
 SHA512 (libssh-0.9.4.tar.xz) = 38705c19c293ea5e6d286d22eb17021dbe58d88c1e647b699933aa0db9ca1174d43d1ff76c1a1b17bf2cc1a8297ec02f1a67dd9e969676dd69cf6fbdae9bc8d4
 Size (libssh-0.9.4.tar.xz) = 500776 bytes
 SHA1 (patch-CompilerChecks.cmake) = 77b93572006132c557cb9a57698e8455f7874073
+SHA1 (patch-examples_sshd__direct-tcpip.c) = 62de8625d58dbc03c38b0eb23f6e7f20a46e91de
 SHA1 (patch-tests_torture.c) = 2c70e9d827f15ec36a62e0d0f5dd98774f24f79e

Added files:

Index: pkgsrc/security/libssh/patches/patch-examples_sshd__direct-tcpip.c
diff -u /dev/null pkgsrc/security/libssh/patches/patch-examples_sshd__direct-tcpip.c:1.1
--- /dev/null   Mon Jul 20 15:56:24 2020
+++ pkgsrc/security/libssh/patches/patch-examples_sshd__direct-tcpip.c  Mon Jul 20 15:56:24 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-examples_sshd__direct-tcpip.c,v 1.1 2020/07/20 15:56:24 micha Exp $
+
+Build fix:
+Include header files with declarations for struct sockaddr_in and send().
+
+--- examples/sshd_direct-tcpip.c.orig  2020-01-27 15:45:32.000000000 +0000
++++ examples/sshd_direct-tcpip.c
+@@ -20,6 +20,9 @@ clients must be made or how a client sho
+ 
+ #include "config.h"
+ 
++#include <netinet/in.h>  /* For struct sockaddr_in */
++#include <sys/socket.h>  /* For send() */
++
+ #include <libssh/libssh.h>
+ #include <libssh/server.h>
+ #include <libssh/callbacks.h>



Home | Main Index | Thread Index | Old Index