mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
- Update to 0.3.1
Approved by: tabthorpe (mentor)
This commit is contained in:
parent
1f4d1fb8a0
commit
e3725d54a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237881
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libssh
|
||||
PORTVERSION= 0.3.0
|
||||
PORTVERSION= 0.3.1
|
||||
CATEGORIES= security devel
|
||||
MASTER_SITES= http://www.libssh.org/files/
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (libssh-0.3.0.tar.gz) = 2496338686932685c08ed8f6ad185227
|
||||
SHA256 (libssh-0.3.0.tar.gz) = d9a7575cd3dfcfcafd3a00c8b9f40baf981b7f2d6edbdd19ea4e6ff07a4a6bf5
|
||||
SIZE (libssh-0.3.0.tar.gz) = 234813
|
||||
MD5 (libssh-0.3.1.tar.gz) = 4e053deac7b643ed67ed130d60ca4062
|
||||
SHA256 (libssh-0.3.1.tar.gz) = e84e9e661c53fa931599e166b535492422674c8d4922d86c8f9a73344fab904c
|
||||
SIZE (libssh-0.3.1.tar.gz) = 221834
|
||||
|
@ -1,19 +0,0 @@
|
||||
Index: cmake/Modules/DefineCompilerFlags.cmake
|
||||
===================================================================
|
||||
--- cmake/Modules/DefineCompilerFlags.cmake (revision 772)
|
||||
+++ cmake/Modules/DefineCompilerFlags.cmake (working copy)
|
||||
@@ -29,11 +29,11 @@
|
||||
ERROR_QUIET
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
+ string(REGEX REPLACE "[\r\n]" " " "${_lfs_CFLAGS}" "${${_lfs_CFLAGS}}")
|
||||
+
|
||||
+ add_definitions(${_lfs_CFLAGS})
|
||||
endif (CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||
|
||||
- string(REGEX REPLACE "[\r\n]" " " ${_lfs_CFLAGS} "${${_lfs_CFLAGS}}")
|
||||
-
|
||||
- add_definitions(${_lfs_CFLAGS})
|
||||
add_definitions(-Wall -Wextra -Wmissing-prototypes -Wdeclaration-after-statement -Wunused)
|
||||
|
||||
check_c_compiler_flag("-fstack-protector" WITH_STACK_PROTECTOR)
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/agent.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/agent.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -44,6 +44,10 @@
|
||||
#include <poll.h>
|
||||
#include <unistd.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/agent.h"
|
||||
#include "libssh/priv.h"
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- ./libssh/auth.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/auth.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -22,12 +22,17 @@
|
||||
* MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
-#include "libssh/priv.h"
|
||||
-#include "libssh/ssh2.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
+#include "libssh/priv.h"
|
||||
+#include "libssh/ssh2.h"
|
||||
+
|
||||
/** \defgroup ssh_auth SSH Authentication functions
|
||||
* \brief functions to authenticate to servers
|
||||
*/
|
@ -1,14 +0,0 @@
|
||||
--- ./libssh/buffer.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/buffer.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -23,6 +23,11 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/priv.h"
|
||||
|
||||
/** \defgroup ssh_buffer SSH Buffers
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/channels.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/channels.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -28,6 +28,10 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/ssh2.h"
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- ./libssh/client.c.orig 2009-05-21 18:46:18.000000000 +1000
|
||||
+++ ./libssh/client.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -24,6 +24,11 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/ssh2.h"
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/crypt.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/crypt.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -26,6 +26,10 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef OPENSSL_CRYPTO
|
||||
#include <openssl/blowfish.h>
|
||||
#include <openssl/evp.h>
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/dh.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/dh.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -44,6 +44,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/crypto.h"
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/kex.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/kex.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -25,6 +25,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "config.h"
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/ssh2.h"
|
@ -1,14 +0,0 @@
|
||||
--- ./libssh/keyfiles.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/keyfiles.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -29,6 +29,11 @@
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <ctype.h>
|
||||
+
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/priv.h"
|
||||
|
||||
#ifdef HAVE_LIBGCRYPT
|
@ -1,14 +0,0 @@
|
||||
--- ./libssh/messages.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/messages.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -34,6 +34,11 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/libssh.h"
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/server.h"
|
@ -1,10 +0,0 @@
|
||||
--- ./libssh/misc.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/misc.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <pwd.h>
|
||||
+#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "libssh/priv.h"
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/packet.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/packet.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -27,6 +27,10 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "config.h"
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/ssh2.h"
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/sftp.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/sftp.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -31,6 +31,10 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/priv.h"
|
||||
#include "libssh/ssh2.h"
|
||||
#include "libssh/sftp.h"
|
@ -1,13 +0,0 @@
|
||||
--- ./libssh/sftpserver.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/sftpserver.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -26,6 +26,10 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/libssh.h"
|
||||
#include "libssh/sftp.h"
|
||||
#include "libssh/ssh2.h"
|
@ -1,14 +0,0 @@
|
||||
--- ./libssh/string.c.orig 2009-05-21 18:46:17.000000000 +1000
|
||||
+++ ./libssh/string.c 2009-07-09 08:21:13.000000000 +1000
|
||||
@@ -24,6 +24,11 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
+
|
||||
+#ifndef _WIN32
|
||||
+#include <arpa/inet.h>
|
||||
+#endif
|
||||
+
|
||||
#include "libssh/priv.h"
|
||||
|
||||
/** \defgroup ssh_string SSH Strings
|
@ -1,6 +1,6 @@
|
||||
lib/libssh.so
|
||||
lib/libssh.so.3
|
||||
lib/libssh.so.3.0.0
|
||||
lib/libssh.so.3.1.0
|
||||
include/libssh/libssh.h
|
||||
include/libssh/sftp.h
|
||||
include/libssh/crypto.h
|
||||
|
Loading…
Reference in New Issue
Block a user