summaryrefslogtreecommitdiff
path: root/security/libssh2
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-04-22 20:09:20 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-04-22 20:09:20 +0000
commitd2ae1f9d8763667c4fd7186f56789f443950d066 (patch)
tree81c647cde6ede64f4cf1986cb25aad65cacc9bfd /security/libssh2
parent- Fix PLIST. Unbreak. (diff)
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).
Notes
Notes: svn path=/head/; revision=133962
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 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/