From d2ae1f9d8763667c4fd7186f56789f443950d066 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Fri, 22 Apr 2005 20:09:20 +0000 Subject: libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10). --- security/libssh2/Makefile | 34 ++++++++++++++++++++++++++++++++++ security/libssh2/distinfo | 2 ++ security/libssh2/pkg-descr | 5 +++++ 3 files changed, 41 insertions(+) create mode 100644 security/libssh2/Makefile create mode 100644 security/libssh2/distinfo create mode 100644 security/libssh2/pkg-descr (limited to 'security/libssh2') diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile new file mode 100644 index 000000000000..45d8029e55bc --- /dev/null +++ b/security/libssh2/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: libssh2 +# Date created: 2005-04-07 +# Whom: Alexander Leidinger +# +# $FreeBSD$ +# + +PORTNAME= libssh2 +PORTVERSION= 0.8 +CATEGORIES= security devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= a library implementing the SSH2 protocol + +GNU_CONFIGURE= yes +USE_OPENSSL= yes +USE_REINPLACE= yes +INSTALLS_SHLIB= yes + +PLIST_FILES= include/libssh2.h \ + include/libssh2_sftp.h \ + lib/libssh2.so \ + lib/libssh2.so.0 + +post-patch: + @${REINPLACE_CMD} -e 's:-lcrypto:-lcrypto -lm:g' ${WRKSRC}/configure + +post-install: + @${MV} ${PREFIX}/lib/libssh2.so ${PREFIX}/lib/libssh2.so.0 + @cd ${PREFIX}; ${LN} -s libssh2.so.0 libssh2.so + +.include diff --git a/security/libssh2/distinfo b/security/libssh2/distinfo new file mode 100644 index 000000000000..76012d9bb04e --- /dev/null +++ b/security/libssh2/distinfo @@ -0,0 +1,2 @@ +MD5 (libssh2-0.8.tar.gz) = 439b88328e56b3c1771d308f0550b5c9 +SIZE (libssh2-0.8.tar.gz) = 123100 diff --git a/security/libssh2/pkg-descr b/security/libssh2/pkg-descr new file mode 100644 index 000000000000..2924354b240c --- /dev/null +++ b/security/libssh2/pkg-descr @@ -0,0 +1,5 @@ +libssh2 is a library implementing the SSH2 protocol as defined by +Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), SECSH-CONNECTION(23), +SECSH-ARCH(20), SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10). + +WWW: http://libssh2.sourceforge.net/ -- cgit v1.2.3