Import libssh, a multiplatform C library implementing the SSHv2 and SSHv1

protocol on client and server side. With libssh, you can remotely
execute programs, transfer files, use a secure and transparent tunnel
for your remote applications.

ok jasper@.
This commit is contained in:
rpointel 2011-07-18 17:38:47 +00:00
parent 6629ed8d6d
commit f5f79db5ae
6 changed files with 70 additions and 0 deletions

32
security/libssh/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/07/18 17:38:47 rpointel Exp $
COMMENT = C library implementing server and client side
DISTNAME = libssh-0.5.0
SHARED_LIBS += ssh 0.0 # 4.2
SHARED_LIBS += ssh_threads 0.0 # 4.2
CATEGORIES = security devel
HOMEPAGE = http://www.libssh.org/
MASTER_SITES = ${HOMEPAGE}files/0.5/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# LGPL v2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += crypto ssl z
MODULES = devel/cmake
WRKBUILD = ${WRKDIST}/build/
BUILD_DEPENDS = devel/cmockery
CONFIGURE_ARGS += -DWITH_TESTING=ON
.include <bsd.port.mk>

5
security/libssh/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (libssh-0.5.0.tar.gz) = mzf0V1HArnumYJnB+xNpRg==
RMD160 (libssh-0.5.0.tar.gz) = Iq9nks+mzKjFNx/GChYH90ic7ig=
SHA1 (libssh-0.5.0.tar.gz) = 7HKi4j+X1BLEZfi6l9aIZ5VQrBg=
SHA256 (libssh-0.5.0.tar.gz) = S/0JZ20ctmZ8/HeKJynIX8jjvbathdZmGrl2QZ9PmTw=
SIZE (libssh-0.5.0.tar.gz) = 314429

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-tests_unittests_torture_misc_c,v 1.1.1.1 2011/07/18 17:38:47 rpointel Exp $
--- tests/unittests/torture_misc.c.orig Tue May 31 16:29:52 2011
+++ tests/unittests/torture_misc.c Fri Jul 8 15:25:08 2011
@@ -195,7 +195,8 @@
#ifdef _WIN32
unit_test(torture_path_expand_tilde_win),
#else
- unit_test(torture_path_expand_tilde_unix),
+ /* failed with our make regress ("env -i"), need a real user to be tested.
+ unit_test(torture_path_expand_tilde_unix), */
#endif
unit_test_setup_teardown(torture_path_expand_escape, setup, teardown),
unit_test_setup_teardown(torture_path_expand_known_hosts, setup, teardown),

View File

@ -0,0 +1,4 @@
libssh is a multiplatform C library implementing the SSHv2 and SSHv1
protocol on client and server side. With libssh, you can remotely
execute programs, transfer files, use a secure and transparent tunnel
for your remote applications.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/07/18 17:38:47 rpointel Exp $
@lib lib/libssh.so.${LIBssh_VERSION}
@lib lib/libssh_threads.so.${LIBssh_threads_VERSION}

13
security/libssh/pkg/PLIST Normal file
View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/07/18 17:38:47 rpointel Exp $
%%SHARED%%
include/libssh/
include/libssh/callbacks.h
include/libssh/legacy.h
include/libssh/libssh.h
include/libssh/server.h
include/libssh/sftp.h
include/libssh/ssh2.h
lib/libssh.a
lib/libssh_threads_static.a
lib/pkgconfig/
lib/pkgconfig/libssh.pc