ports/133657: [new port] security/libssh: A library implementing the SSH1 and SSH2 protocol

Alexander Logvinov ports at logvinov.com
Sun Apr 12 12:00:22 UTC 2009


>Number:         133657
>Category:       ports
>Synopsis:       [new port] security/libssh: A library implementing the SSH1 and SSH2 protocol
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 12 12:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.4-RELEASE i386
>Organization:
>Environment:

>Description:

The ssh library was designed to be used by programmers needing a working SSH
implementation by the mean of a library. The complete control of the client is
made by the programmer. With libssh, you can remotely execute programs, transfer
files, use a secure and transparent tunnel for your remote programs.
With its Secure FTP implementation, you can play with remote files easily,
without third-party programs others than libcrypto (from openssl).

libssh features:

 * Full C library functions for manipulating a client-side SSH connection
 * SSH2 and SSH1 protocol compliant
 * Fully configurable sessions
 * Server support
 * Support for AES-128,AES-192,AES-256,blowfish,3des in cbc mode
 * Use multiple SSH connections in a same process, at same time
 * Use multiple channels in the same connection
 * Thread safety when using different sessions at same time
 * Basic but correct SFTP implementation (secure file transfer)
 * RSA and DSS server public key supported
 * Compression support (with zlib)
 * Public key (RSA and DSS), password and keyboard-interactive authentication

WWW: http://0xbadc0de.be/wiki/libssh:libssh

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libssh
#	libssh/files
#	libssh/files/patch-server.c
#	libssh/files/patch-Makefile.in
#	libssh/Makefile
#	libssh/distinfo
#	libssh/pkg-descr
#	libssh/pkg-plist
#
echo c - libssh
mkdir -p libssh > /dev/null 2>&1
echo c - libssh/files
mkdir -p libssh/files > /dev/null 2>&1
echo x - libssh/files/patch-server.c
sed 's/^X//' >libssh/files/patch-server.c << 'ecb34e2210201d8bc10d07ab9b3c30a9'
X--- libssh/server.c.orig	2009-04-12 20:06:06.000000000 +1000
X+++ libssh/server.c	2009-04-12 20:06:16.000000000 +1000
X@@ -27,6 +27,7 @@
X #include <stdio.h>
X #include <sys/types.h>
X #include <sys/socket.h>
X+#include <netinet/in.h>
X #include <netdb.h>
X #include <errno.h>
X #include <string.h>
ecb34e2210201d8bc10d07ab9b3c30a9
echo x - libssh/files/patch-Makefile.in
sed 's/^X//' >libssh/files/patch-Makefile.in << 'ca403cd7e34ada7d0e39ae78b622a043'
X--- Makefile.in.orig	2009-04-12 20:24:31.000000000 +1000
X+++ Makefile.in	2009-04-12 20:22:37.000000000 +1000
X@@ -28,7 +28,7 @@
X CONFIG = include/libssh/config.h
X 
X .PHONY: all
X-all: $(CONFIG) SUBDIRS $(OBJECTS) $(APPS)
X+all: $(CONFIG) SUBDIRS
X 
X .PHONY: SUBDIRS
X SUBDIRS:
ca403cd7e34ada7d0e39ae78b622a043
echo x - libssh/Makefile
sed 's/^X//' >libssh/Makefile << 'cc0c2970f708ce5e4b934b0a513fb88c'
X# New ports collection makefile for:	libssh
X# Date created:				12 April 2009
X# Whom:					Alexander Logvinov <ports at logvinov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libssh
XPORTVERSION=	0.2
XCATEGORIES=	security devel
XMASTER_SITES=	http://0xbadc0de.be/libssh/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ports at logvinov.com
XCOMMENT=	A library implementing the SSH1 and SSH2 protocol
X
XMAKE_JOBS_SAFE=	yes
XGNU_CONFIGURE=	yes
XUSE_OPENSSL=	yes
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
cc0c2970f708ce5e4b934b0a513fb88c
echo x - libssh/distinfo
sed 's/^X//' >libssh/distinfo << 'e852b3b2fb11ed5aca07c9795b10b621'
XMD5 (libssh-0.2.tgz) = 8a76c03579a3e27046e6bafe88ffd171
XSHA256 (libssh-0.2.tgz) = 46c3831fd563c54283ebef56e2cb11c27f47b1be9f6cb44f1465897dd7aea5ff
XSIZE (libssh-0.2.tgz) = 329371
e852b3b2fb11ed5aca07c9795b10b621
echo x - libssh/pkg-descr
sed 's/^X//' >libssh/pkg-descr << 'e19d5434e75f69c2c8e4d7626e547d18'
XThe ssh library was designed to be used by programmers needing a working SSH
Ximplementation by the mean of a library. The complete control of the client is
Xmade by the programmer. With libssh, you can remotely execute programs, transfer
Xfiles, use a secure and transparent tunnel for your remote programs.
XWith its Secure FTP implementation, you can play with remote files easily,
Xwithout third-party programs others than libcrypto (from openssl).
X
Xlibssh features:
X
X * Full C library functions for manipulating a client-side SSH connection
X * SSH2 and SSH1 protocol compliant
X * Fully configurable sessions
X * Server support
X * Support for AES-128,AES-192,AES-256,blowfish,3des in cbc mode
X * Use multiple SSH connections in a same process, at same time
X * Use multiple channels in the same connection
X * Thread safety when using different sessions at same time
X * Basic but correct SFTP implementation (secure file transfer)
X * RSA and DSS server public key supported
X * Compression support (with zlib)
X * Public key (RSA and DSS), password and keyboard-interactive authentication
X
XWWW: http://0xbadc0de.be/wiki/libssh:libssh
e19d5434e75f69c2c8e4d7626e547d18
echo x - libssh/pkg-plist
sed 's/^X//' >libssh/pkg-plist << 'a57b7474161274c7c9762480d85c770b'
Xlib/libssh.a
Xlib/libssh.la
Xlib/libssh.so
Xlib/libssh.so.2
Xinclude/libssh/libssh.h
Xinclude/libssh/config.h
Xinclude/libssh/sftp.h
Xinclude/libssh/crypto.h
Xinclude/libssh/server.h
Xinclude/libssh/ssh2.h
Xinclude/libssh/ssh1.h
X at dirrm include/libssh
a57b7474161274c7c9762480d85c770b
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list