diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/libssh2/Makefile | 34 | ||||
-rw-r--r-- | security/libssh2/distinfo | 2 | ||||
-rw-r--r-- | security/libssh2/pkg-descr | 5 |
4 files changed, 42 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index b1aa33ea3144..ac26bd8fbf4e 100644 --- a/security/Makefile +++ b/security/Makefile @@ -191,6 +191,7 @@ SUBDIR += libparanoia SUBDIR += libprelude SUBDIR += libsectok + SUBDIR += libssh2 SUBDIR += libtasn1 SUBDIR += libtomcrypt SUBDIR += libwhisker 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 <netchild@freebsd.org> +# +# $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 <bsd.port.mk> 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/ |