summaryrefslogtreecommitdiffstats
path: root/security/libssh2
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-04-22 20:09:20 +0000
committernetchild <netchild@FreeBSD.org>2005-04-22 20:09:20 +0000
commit9c44cc115bc83831eae1b117b4db6de5e15f56a0 (patch)
tree19222243f36456ee6b9e92f5ad3b1bbb4e811525 /security/libssh2
parentedf9d48884917e51b15f537c731fc3569fe7bfba (diff)
downloadFreeBSD-ports-9c44cc115bc83831eae1b117b4db6de5e15f56a0.zip
FreeBSD-ports-9c44cc115bc83831eae1b117b4db6de5e15f56a0.tar.gz
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).
Diffstat (limited to 'security/libssh2')
-rw-r--r--security/libssh2/Makefile34
-rw-r--r--security/libssh2/distinfo2
-rw-r--r--security/libssh2/pkg-descr5
3 files changed, 41 insertions, 0 deletions
diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
new file mode 100644
index 0000000..45d8029
--- /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 0000000..76012d9
--- /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 0000000..2924354
--- /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/
OpenPOWER on IntegriCloud