1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to 0.4.7

- The libssh library is distributed under LGPL21 license
This commit is contained in:
Alexander Logvinov 2010-12-30 03:13:02 +00:00
parent 591498d02c
commit a9019a45d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267152
4 changed files with 7 additions and 22 deletions

View File

@ -6,10 +6,9 @@
#
PORTNAME= libssh
PORTVERSION= 0.4.6
PORTREVISION= 1
PORTVERSION= 0.4.7
CATEGORIES= security devel
MASTER_SITES= http://www.libssh.org/files/ \
MASTER_SITES= http://www.libssh.org/files/0.4/ \
LOCAL/avl
MAINTAINER= avl@FreeBSD.org
@ -27,9 +26,9 @@ INSTALL_WRKSRC?= ${BUILD_WRKSRC}
CMAKE_ARGS+= -DWITH_STATIC_LIB:BOOL=ON
USE_LDCONFIG= yes
LICENSE= GPLv2 BSD
LICENSE= LGPL21 BSD
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
LICENSE_FILE_BSD= ${WRKSRC}/BSD
.include <bsd.port.options.mk>

View File

@ -1,2 +1,2 @@
SHA256 (libssh-0.4.6.tar.gz) = 17ef7bacb3c6c53e67c12767266e4826c6a594452a1a6fd13394f14a67f26988
SIZE (libssh-0.4.6.tar.gz) = 276843
SHA256 (libssh-0.4.7.tar.gz) = eb7b1ac40ff687b83660991099ff256b83fb03c62caec0798f0e23c6bd39be07
SIZE (libssh-0.4.7.tar.gz) = 277238

View File

@ -1,14 +0,0 @@
--- libssh/socket.c.orig 2010-09-06 03:29:26.000000000 +1000
+++ libssh/socket.c 2010-12-05 14:25:26.000000000 +0900
@@ -265,7 +265,10 @@
if (s->fd == SSH_INVALID_SOCKET)
return;
FD_SET(s->fd,set);
- if (s->fd >= 0 && s->fd != SSH_INVALID_SOCKET) {
+
+ if (s->fd >= 0 &&
+ s->fd >= *max_fd &&
+ s->fd != SSH_INVALID_SOCKET) {
*max_fd = s->fd + 1;
}
}

View File

@ -7,5 +7,5 @@ include/libssh/ssh2.h
lib/libssh.a
lib/libssh.so
lib/libssh.so.4
lib/libssh.so.4.1.3
lib/libssh.so.4.1.4
@dirrm include/libssh