aboutsummaryrefslogtreecommitdiffstats
path: root/security/libssh2
diff options
context:
space:
mode:
authorlx <lx@FreeBSD.org>2007-07-08 08:26:55 +0800
committerlx <lx@FreeBSD.org>2007-07-08 08:26:55 +0800
commit128c2e8cf57aecdab6f8e2a7c93dc2f7668f7f23 (patch)
tree4b1a7ef5c2991fd0838371fe11a82cce4e66b70f /security/libssh2
parent69808c44f26e578f93de6066c52aff93c56da33c (diff)
downloadfreebsd-ports-gnome-128c2e8cf57aecdab6f8e2a7c93dc2f7668f7f23.tar.gz
freebsd-ports-gnome-128c2e8cf57aecdab6f8e2a7c93dc2f7668f7f23.tar.zst
freebsd-ports-gnome-128c2e8cf57aecdab6f8e2a7c93dc2f7668f7f23.zip
Updating to 0.15.
Diffstat (limited to 'security/libssh2')
-rw-r--r--security/libssh2/Makefile41
-rw-r--r--security/libssh2/distinfo6
-rw-r--r--security/libssh2/files/patch-configure13
3 files changed, 37 insertions, 23 deletions
diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
index 0cc50c3fa125..0beedf56d5ee 100644
--- a/security/libssh2/Makefile
+++ b/security/libssh2/Makefile
@@ -6,32 +6,59 @@
#
PORTNAME= libssh2
-PORTVERSION= 0.14
-PORTREVISION= 1
+PORTVERSION= 0.15
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= lx@redundancy.redundancy.org
+MAINTAINER= lx@FreeBSD.org
COMMENT= A library implementing the SSH2 protocol
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
USE_LDCONFIG= yes
PLIST_FILES= include/libssh2.h \
include/libssh2_publickey.h \
include/libssh2_sftp.h \
lib/libssh2.so \
- lib/libssh2.so.0
+ lib/libssh2.so.1 \
+ lib/libssh2.la \
+ lib/libssh2.a
+
+MAN3= libssh2_banner_set.3 libssh2_channel_close.3 \
+ libssh2_channel_direct_tcpip_ex.3 libssh2_channel_eof.3 \
+ libssh2_channel_flush_ex.3 libssh2_channel_forward_accept.3 \
+ libssh2_channel_forward_cancel.3 libssh2_channel_forward_listen_ex.3 \
+ libssh2_channel_free.3 libssh2_channel_get_exit_status.3 \
+ libssh2_channel_handle_extended_data.3 \
+ libssh2_channel_handle_extended_data2.3 libssh2_channel_open_ex.3 \
+ libssh2_channel_process_startup.3 libssh2_channel_read_ex.3 \
+ libssh2_channel_request_pty_ex.3 libssh2_channel_send_eof.3 \
+ libssh2_channel_set_blocking.3 libssh2_channel_setenv_ex.3 \
+ libssh2_channel_wait_eof.3 libssh2_channel_x11_req_ex.3 \
+ libssh2_hostkey_hash.3 libssh2_scp_recv.3 libssh2_scp_send_ex.3 \
+ libssh2_session_abstract.3 libssh2_session_free.3 \
+ libssh2_session_callback_set.3 libssh2_session_disconnect_ex.3 \
+ libssh2_session_init.3 libssh2_session_last_errno.3 \
+ libssh2_session_last_error.3 libssh2_session_method_pref.3 \
+ libssh2_session_methods.3 libssh2_session_set_blocking.3 \
+ libssh2_session_startup.3 libssh2_poll.3 libssh2_poll_channel_read.3 \
+ libssh2_sftp_close_handle.3 libssh2_sftp_fstat_ex.3 \
+ libssh2_sftp_last_error.3 libssh2_sftp_init.3 libssh2_sftp_open_ex.3 \
+ libssh2_sftp_mkdir_ex.3 libssh2_sftp_read.3 libssh2_sftp_readdir.3 \
+ libssh2_sftp_rename_ex.3 libssh2_sftp_rmdir_ex.3 libssh2_sftp_seek.3 \
+ libssh2_sftp_shutdown.3 libssh2_sftp_stat_ex.3 \
+ libssh2_sftp_symlink_ex.3 libssh2_sftp_tell.3 \
+ libssh2_sftp_unlink_ex.3 libssh2_sftp_write.3 \
+ libssh2_userauth_authenticated.3 libssh2_userauth_list.3 \
+ libssh2_userauth_password_ex.3 libssh2_userauth_publickey_fromfile.3
post-patch:
@${REINPLACE_CMD} -e '/ssh2_sample\.o/d' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|SHLIB_SUFFIX_NAME@ |SHLIB_SUFFIX_NAME@.0 |g' \
${WRKSRC}/src/Makefile.in
-post-install:
- ${LN} -s libssh2.so.0 ${PREFIX}/lib/libssh2.so
-
.include <bsd.port.mk>
diff --git a/security/libssh2/distinfo b/security/libssh2/distinfo
index 42ca938436a0..15cfc8222211 100644
--- a/security/libssh2/distinfo
+++ b/security/libssh2/distinfo
@@ -1,3 +1,3 @@
-MD5 (libssh2-0.14.tar.gz) = 7a44b7b38295d80bd8f80254ee135930
-SHA256 (libssh2-0.14.tar.gz) = 5f18347bd3d45c5b79162b91221a764f18ed3c30f0a7cab8c03baa680131b653
-SIZE (libssh2-0.14.tar.gz) = 140033
+MD5 (libssh2-0.15.tar.gz) = 6c641d6dc0d0e546249cad1d16f10a6a
+SHA256 (libssh2-0.15.tar.gz) = 062cc96257a635a8800acbc84dc1555ac943df9ce040e2a40d6ffc39d07690cd
+SIZE (libssh2-0.15.tar.gz) = 513787
diff --git a/security/libssh2/files/patch-configure b/security/libssh2/files/patch-configure
deleted file mode 100644
index c2fa0cb5060c..000000000000
--- a/security/libssh2/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
---- configure.orig Tue Sep 5 13:14:03 2006
-+++ configure Tue Sep 5 13:14:17 2006
-@@ -3738,8 +3738,8 @@
- if test "$found_openssl" = "no" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then
- found_openssl=yes
- pkgcfg_openssl=yes
-- OPENSSL_LIBLINE=`$PKG_CONFIG --libs openssl`
-- OPENSSL_INCLINE=`$PKG_CONFIG --variable=includedir openssl`
-+ OPENSSL_LIBLINE=-L`$PKG_CONFIG --libs openssl`
-+ OPENSSL_INCLINE=-I`$PKG_CONFIG --variable=includedir openssl`
- echo "$as_me:$LINENO: result: Using paths from pkg-config" >&5
- echo "${ECHO_T}Using paths from pkg-config" >&6
- fi