From d896afd49677a039ef2751feb5625ff946d49831 Mon Sep 17 00:00:00 2001 From: adrianp Date: Sun, 17 Apr 2005 11:34:16 +0000 Subject: 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). --- security/libssh/DESCR | 8 ++++++++ security/libssh/Makefile | 21 +++++++++++++++++++++ security/libssh/PLIST | 10 ++++++++++ security/libssh/buildlink3.mk | 18 ++++++++++++++++++ security/libssh/distinfo | 5 +++++ 5 files changed, 62 insertions(+) create mode 100644 security/libssh/DESCR create mode 100644 security/libssh/Makefile create mode 100644 security/libssh/PLIST create mode 100644 security/libssh/buildlink3.mk create mode 100644 security/libssh/distinfo (limited to 'security') diff --git a/security/libssh/DESCR b/security/libssh/DESCR new file mode 100644 index 00000000000..44de5a31dc2 --- /dev/null +++ b/security/libssh/DESCR @@ -0,0 +1,8 @@ +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). diff --git a/security/libssh/Makefile b/security/libssh/Makefile new file mode 100644 index 00000000000..5f50b4afaaa --- /dev/null +++ b/security/libssh/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/04/17 11:34:16 adrianp Exp $ +# + +DISTNAME= libssh-0.1 +CATEGORIES= security +MASTER_SITES= http://www.0xbadc0de.be/libssh/ +EXTRACT_SUFX= .tgz + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://0xbadc0de.be/ +COMMENT= Working SSH implementation by the mean of a library + +GNU_CONFIGURE= YES + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libssh + ${INSTALL_DATA} ${WRKSRC}/API.txt ${PREFIX}/share/doc/libssh + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libssh + +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/libssh/PLIST b/security/libssh/PLIST new file mode 100644 index 00000000000..5cd022a2a2d --- /dev/null +++ b/security/libssh/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/17 11:34:16 adrianp Exp $ +include/libssh/config.h +include/libssh/crypto.h +include/libssh/libssh.h +include/libssh/sftp.h +lib/libssh.so +share/doc/libssh/API.txt +share/doc/libssh/README +@dirrm share/doc/libssh +@dirrm include/libssh diff --git a/security/libssh/buildlink3.mk b/security/libssh/buildlink3.mk new file mode 100644 index 00000000000..23fdf5d4d08 --- /dev/null +++ b/security/libssh/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/04/17 11:34:17 adrianp Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBSSH_BUILDLINK3_MK:= ${NETWIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibssh} +BUILDLINK_PACKAGES+= libssh + +.if !empty(LIBSSH_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libssh+= libssh>=0.1 +BUILDLINK_PKGSRCDIR.libssh?= ../../security/libssh +.endif # LIBSSH_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/security/libssh/distinfo b/security/libssh/distinfo new file mode 100644 index 00000000000..29ee66570b8 --- /dev/null +++ b/security/libssh/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/04/17 11:34:16 adrianp Exp $ + +SHA1 (libssh-0.1.tgz) = 900d4af824bd01a21c4db7c3cc36789e3f8ab525 +RMD160 (libssh-0.1.tgz) = dc195249bbf0e04390f0ecc88012e9b2f9be24fa +Size (libssh-0.1.tgz) = 122663 bytes -- cgit v1.2.3