pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/qore-ssh2-module Update qore-ssh2-module to v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56880a72182a
branches:  trunk
changeset: 349991:56880a72182a
user:      nros <nros%pkgsrc.org@localhost>
date:      Wed Jul 20 14:54:57 2016 +0000

description:
Update qore-ssh2-module to version 1.0.

Patches have been applied upstream.

Release notes:

* fixed crashing bugs handling errors and handle scope in the SFTPClient class
* added the SftpPoller user module
* force socket disconnect in case of a timeout error when trying to
  close a file descriptor
* socket performance instrumentation supported in the SFTPClient class
* user modules moved to top-level qore module directory from
  version-specific module directory since they are valid for multiple
  versions of qore
* fixed a bug where a crash would result when attempting a connection and
  libssh2 would not return any user authentication methods
* implemented an automatic disconnection when timeouts occur to avoid
  dead connections
* fixed crashing bugs in the SFTPClient class handling disconnect events
  when an sftp handle was open; the handle must be closed before the
  socket connection is closed or a crash will result
* implemented the SFTPClient::retrieveFile() and SFTPClient::transferFile()
  methods
* ported the SFTPClient class tests to QUnit and added tests for the
  new methods
* ported test/sftp-poller.q to QUnit
* fixed a bug in socket handling related to asyncronous socket event polling
  and select(2) and lack of socket descriptor bounds checking
  (issue 714)
* requires Qore 0.8.12+ to build (uses the new QoreValue API)

diffstat:

 security/qore-ssh2-module/Makefile                      |   13 +-
 security/qore-ssh2-module/PLIST                         |  143 +++++++--------
 security/qore-ssh2-module/buildlink3.mk                 |    4 +-
 security/qore-ssh2-module/distinfo                      |   12 +-
 security/qore-ssh2-module/patches/patch-configure       |   21 --
 security/qore-ssh2-module/patches/patch-src_Makefile.in |   14 -
 6 files changed, 86 insertions(+), 121 deletions(-)

diffs (295 lines):

diff -r d0d265e2b13e -r 56880a72182a security/qore-ssh2-module/Makefile
--- a/security/qore-ssh2-module/Makefile        Wed Jul 20 14:53:26 2016 +0000
+++ b/security/qore-ssh2-module/Makefile        Wed Jul 20 14:54:57 2016 +0000
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2016/03/05 11:27:55 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2016/07/20 14:54:57 nros Exp $
 
-DISTNAME=      qore-ssh2-module-0.9.9
-PKGREVISION=   7
+DISTNAME=      qore-ssh2-module-1.0
 CATEGORIES=    security
-MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=qore/}
+MASTER_SITES=   ${MASTER_SITE_GITHUB:=qorelanguage/}
 EXTRACT_SUFX=   .tar.bz2
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+GITHUB_PROJECT=        module-ssh2
 
-MAINTAINER=    nros%users.sourceforge.net@localhost
+MAINTAINER=    nros%netbsd.org@localhost
 COMMENT=       SSH2 module for Qore
 HOMEPAGE=      http://www.qore.org/
 LICENSE=       gnu-lgpl-v2.1 OR mit
@@ -17,6 +18,8 @@
 USE_TOOLS+=    gmake pax
 PTHREAD_OPTS+= native
 
+CONFIGURE_ARGS+=--with-libsuffix=""
+
 #This is needed in order to comply the with MIT license and binary distribution
 #Install docs
 INSTALLATION_DIRS+=     share/doc/${PKGBASE}
diff -r d0d265e2b13e -r 56880a72182a security/qore-ssh2-module/PLIST
--- a/security/qore-ssh2-module/PLIST   Wed Jul 20 14:53:26 2016 +0000
+++ b/security/qore-ssh2-module/PLIST   Wed Jul 20 14:54:57 2016 +0000
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2014/12/30 16:02:08 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/07/20 14:54:57 nros Exp $
 ${QORE_MODULE_DIR}/ssh2-api-${QORE_LATEST_MODULE_API}.qmod
 share/doc/qore-ssh2-module/COPYING.LGPL
 share/doc/qore-ssh2-module/COPYING.MIT
 share/doc/qore-ssh2-module/html/annotated.html
-share/doc/qore-ssh2-module/html/annotated.js
+share/doc/qore-ssh2-module/html/annotated_dup.js
+share/doc/qore-ssh2-module/html/arrowdown.png
+share/doc/qore-ssh2-module/html/arrowright.png
 share/doc/qore-ssh2-module/html/bc_s.png
 share/doc/qore-ssh2-module/html/bdwn.png
 share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SFTPClient-members.html
@@ -33,25 +35,12 @@
 share/doc/qore-ssh2-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map
 share/doc/qore-ssh2-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5
 share/doc/qore-ssh2-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.png
+share/doc/qore-ssh2-module/html/doc.png
 share/doc/qore-ssh2-module/html/doxygen.css
 share/doc/qore-ssh2-module/html/doxygen.png
 share/doc/qore-ssh2-module/html/dynsections.js
-share/doc/qore-ssh2-module/html/ftv2blank.png
-share/doc/qore-ssh2-module/html/ftv2cl.png
-share/doc/qore-ssh2-module/html/ftv2doc.png
-share/doc/qore-ssh2-module/html/ftv2folderclosed.png
-share/doc/qore-ssh2-module/html/ftv2folderopen.png
-share/doc/qore-ssh2-module/html/ftv2lastnode.png
-share/doc/qore-ssh2-module/html/ftv2link.png
-share/doc/qore-ssh2-module/html/ftv2mlastnode.png
-share/doc/qore-ssh2-module/html/ftv2mnode.png
-share/doc/qore-ssh2-module/html/ftv2mo.png
-share/doc/qore-ssh2-module/html/ftv2node.png
-share/doc/qore-ssh2-module/html/ftv2ns.png
-share/doc/qore-ssh2-module/html/ftv2plastnode.png
-share/doc/qore-ssh2-module/html/ftv2pnode.png
-share/doc/qore-ssh2-module/html/ftv2splitbar.png
-share/doc/qore-ssh2-module/html/ftv2vertline.png
+share/doc/qore-ssh2-module/html/folderclosed.png
+share/doc/qore-ssh2-module/html/folderopen.png
 share/doc/qore-ssh2-module/html/functions.html
 share/doc/qore-ssh2-module/html/functions_func.html
 share/doc/qore-ssh2-module/html/graph_legend.html
@@ -77,71 +66,80 @@
 share/doc/qore-ssh2-module/html/nav_h.png
 share/doc/qore-ssh2-module/html/navtree.css
 share/doc/qore-ssh2-module/html/navtree.js
+share/doc/qore-ssh2-module/html/navtreedata.js
 share/doc/qore-ssh2-module/html/navtreeindex0.js
 share/doc/qore-ssh2-module/html/open.png
 share/doc/qore-ssh2-module/html/resize.js
-share/doc/qore-ssh2-module/html/search/all_63.html
-share/doc/qore-ssh2-module/html/search/all_63.js
-share/doc/qore-ssh2-module/html/search/all_64.html
-share/doc/qore-ssh2-module/html/search/all_64.js
-share/doc/qore-ssh2-module/html/search/all_65.html
-share/doc/qore-ssh2-module/html/search/all_65.js
-share/doc/qore-ssh2-module/html/search/all_67.html
-share/doc/qore-ssh2-module/html/search/all_67.js
-share/doc/qore-ssh2-module/html/search/all_69.html
-share/doc/qore-ssh2-module/html/search/all_69.js
-share/doc/qore-ssh2-module/html/search/all_6c.html
-share/doc/qore-ssh2-module/html/search/all_6c.js
-share/doc/qore-ssh2-module/html/search/all_6d.html
-share/doc/qore-ssh2-module/html/search/all_6d.js
-share/doc/qore-ssh2-module/html/search/all_6f.html
-share/doc/qore-ssh2-module/html/search/all_6f.js
-share/doc/qore-ssh2-module/html/search/all_70.html
-share/doc/qore-ssh2-module/html/search/all_70.js
-share/doc/qore-ssh2-module/html/search/all_71.html
-share/doc/qore-ssh2-module/html/search/all_71.js
-share/doc/qore-ssh2-module/html/search/all_72.html
-share/doc/qore-ssh2-module/html/search/all_72.js
-share/doc/qore-ssh2-module/html/search/all_73.html
-share/doc/qore-ssh2-module/html/search/all_73.js
-share/doc/qore-ssh2-module/html/search/all_77.html
-share/doc/qore-ssh2-module/html/search/all_77.js
-share/doc/qore-ssh2-module/html/search/classes_73.html
-share/doc/qore-ssh2-module/html/search/classes_73.js
+share/doc/qore-ssh2-module/html/search/all_0.html
+share/doc/qore-ssh2-module/html/search/all_0.js
+share/doc/qore-ssh2-module/html/search/all_1.html
+share/doc/qore-ssh2-module/html/search/all_1.js
+share/doc/qore-ssh2-module/html/search/all_2.html
+share/doc/qore-ssh2-module/html/search/all_2.js
+share/doc/qore-ssh2-module/html/search/all_3.html
+share/doc/qore-ssh2-module/html/search/all_3.js
+share/doc/qore-ssh2-module/html/search/all_4.html
+share/doc/qore-ssh2-module/html/search/all_4.js
+share/doc/qore-ssh2-module/html/search/all_5.html
+share/doc/qore-ssh2-module/html/search/all_5.js
+share/doc/qore-ssh2-module/html/search/all_6.html
+share/doc/qore-ssh2-module/html/search/all_6.js
+share/doc/qore-ssh2-module/html/search/all_7.html
+share/doc/qore-ssh2-module/html/search/all_7.js
+share/doc/qore-ssh2-module/html/search/all_8.html
+share/doc/qore-ssh2-module/html/search/all_8.js
+share/doc/qore-ssh2-module/html/search/all_9.html
+share/doc/qore-ssh2-module/html/search/all_9.js
+share/doc/qore-ssh2-module/html/search/all_a.html
+share/doc/qore-ssh2-module/html/search/all_a.js
+share/doc/qore-ssh2-module/html/search/all_b.html
+share/doc/qore-ssh2-module/html/search/all_b.js
+share/doc/qore-ssh2-module/html/search/all_c.html
+share/doc/qore-ssh2-module/html/search/all_c.js
+share/doc/qore-ssh2-module/html/search/all_d.html
+share/doc/qore-ssh2-module/html/search/all_d.js
+share/doc/qore-ssh2-module/html/search/classes_0.html
+share/doc/qore-ssh2-module/html/search/classes_0.js
 share/doc/qore-ssh2-module/html/search/close.png
-share/doc/qore-ssh2-module/html/search/functions_63.html
-share/doc/qore-ssh2-module/html/search/functions_63.js
-share/doc/qore-ssh2-module/html/search/functions_64.html
-share/doc/qore-ssh2-module/html/search/functions_64.js
-share/doc/qore-ssh2-module/html/search/functions_65.html
-share/doc/qore-ssh2-module/html/search/functions_65.js
-share/doc/qore-ssh2-module/html/search/functions_67.html
-share/doc/qore-ssh2-module/html/search/functions_67.js
-share/doc/qore-ssh2-module/html/search/functions_69.html
-share/doc/qore-ssh2-module/html/search/functions_69.js
-share/doc/qore-ssh2-module/html/search/functions_6c.html
-share/doc/qore-ssh2-module/html/search/functions_6c.js
-share/doc/qore-ssh2-module/html/search/functions_6d.html
-share/doc/qore-ssh2-module/html/search/functions_6d.js
-share/doc/qore-ssh2-module/html/search/functions_6f.html
-share/doc/qore-ssh2-module/html/search/functions_6f.js
-share/doc/qore-ssh2-module/html/search/functions_70.html
-share/doc/qore-ssh2-module/html/search/functions_70.js
-share/doc/qore-ssh2-module/html/search/functions_72.html
-share/doc/qore-ssh2-module/html/search/functions_72.js
-share/doc/qore-ssh2-module/html/search/functions_73.html
-share/doc/qore-ssh2-module/html/search/functions_73.js
-share/doc/qore-ssh2-module/html/search/functions_77.html
-share/doc/qore-ssh2-module/html/search/functions_77.js
+share/doc/qore-ssh2-module/html/search/functions_0.html
+share/doc/qore-ssh2-module/html/search/functions_0.js
+share/doc/qore-ssh2-module/html/search/functions_1.html
+share/doc/qore-ssh2-module/html/search/functions_1.js
+share/doc/qore-ssh2-module/html/search/functions_2.html
+share/doc/qore-ssh2-module/html/search/functions_2.js
+share/doc/qore-ssh2-module/html/search/functions_3.html
+share/doc/qore-ssh2-module/html/search/functions_3.js
+share/doc/qore-ssh2-module/html/search/functions_4.html
+share/doc/qore-ssh2-module/html/search/functions_4.js
+share/doc/qore-ssh2-module/html/search/functions_5.html
+share/doc/qore-ssh2-module/html/search/functions_5.js
+share/doc/qore-ssh2-module/html/search/functions_6.html
+share/doc/qore-ssh2-module/html/search/functions_6.js
+share/doc/qore-ssh2-module/html/search/functions_7.html
+share/doc/qore-ssh2-module/html/search/functions_7.js
+share/doc/qore-ssh2-module/html/search/functions_8.html
+share/doc/qore-ssh2-module/html/search/functions_8.js
+share/doc/qore-ssh2-module/html/search/functions_9.html
+share/doc/qore-ssh2-module/html/search/functions_9.js
+share/doc/qore-ssh2-module/html/search/functions_a.html
+share/doc/qore-ssh2-module/html/search/functions_a.js
+share/doc/qore-ssh2-module/html/search/functions_b.html
+share/doc/qore-ssh2-module/html/search/functions_b.js
+share/doc/qore-ssh2-module/html/search/functions_c.html
+share/doc/qore-ssh2-module/html/search/functions_c.js
 share/doc/qore-ssh2-module/html/search/mag_sel.png
-share/doc/qore-ssh2-module/html/search/namespaces_71.html
-share/doc/qore-ssh2-module/html/search/namespaces_71.js
+share/doc/qore-ssh2-module/html/search/namespaces_0.html
+share/doc/qore-ssh2-module/html/search/namespaces_0.js
 share/doc/qore-ssh2-module/html/search/nomatches.html
+share/doc/qore-ssh2-module/html/search/pages_0.html
+share/doc/qore-ssh2-module/html/search/pages_0.js
 share/doc/qore-ssh2-module/html/search/search.css
 share/doc/qore-ssh2-module/html/search/search.js
 share/doc/qore-ssh2-module/html/search/search_l.png
 share/doc/qore-ssh2-module/html/search/search_m.png
 share/doc/qore-ssh2-module/html/search/search_r.png
+share/doc/qore-ssh2-module/html/search/searchdata.js
+share/doc/qore-ssh2-module/html/splitbar.png
 share/doc/qore-ssh2-module/html/sync_off.png
 share/doc/qore-ssh2-module/html/sync_on.png
 share/doc/qore-ssh2-module/html/tab_a.png
@@ -149,3 +147,4 @@
 share/doc/qore-ssh2-module/html/tab_h.png
 share/doc/qore-ssh2-module/html/tab_s.png
 share/doc/qore-ssh2-module/html/tabs.css
+${QORE_USER_MODULE_DIR}/SftpPoller.qm
diff -r d0d265e2b13e -r 56880a72182a security/qore-ssh2-module/buildlink3.mk
--- a/security/qore-ssh2-module/buildlink3.mk   Wed Jul 20 14:53:26 2016 +0000
+++ b/security/qore-ssh2-module/buildlink3.mk   Wed Jul 20 14:54:57 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2016/03/05 11:27:55 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2016/07/20 14:54:57 nros Exp $
 
 BUILDLINK_TREE+=       qore-ssh2-module
 
@@ -6,7 +6,7 @@
 QORE_SSH2_MODULE_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.qore-ssh2-module+=       qore-ssh2-module>=0.9.9
-BUILDLINK_ABI_DEPENDS.qore-ssh2-module?=       qore-ssh2-module>=0.9.9nb7
+BUILDLINK_ABI_DEPENDS.qore-ssh2-module?=       qore-ssh2-module>=1.0
 BUILDLINK_PKGSRCDIR.qore-ssh2-module?= ../../security/qore-ssh2-module
 
 .include "../../lang/qore/buildlink3.mk"
diff -r d0d265e2b13e -r 56880a72182a security/qore-ssh2-module/distinfo
--- a/security/qore-ssh2-module/distinfo        Wed Jul 20 14:53:26 2016 +0000
+++ b/security/qore-ssh2-module/distinfo        Wed Jul 20 14:54:57 2016 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:18:06 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/07/20 14:54:57 nros Exp $
 
-SHA1 (qore-ssh2-module-0.9.9.tar.bz2) = 39dd210f4e9281139781a674fe56b3c7dfbd8882
-RMD160 (qore-ssh2-module-0.9.9.tar.bz2) = bba602645ab9c218ee6720fe41a5b97f02ce7984
-SHA512 (qore-ssh2-module-0.9.9.tar.bz2) = 035d0df228a3e2a32d63d4cb40ff3d73b42e63f75f1bba8e147bc5e0b120c8563a81639b17fa77d4beb9bd2a540a129acd2beb3b60d1fded4032f8d3ad835950
-Size (qore-ssh2-module-0.9.9.tar.bz2) = 449265 bytes
-SHA1 (patch-configure) = 44b22a0af32fd4646e2d11f020988c2543ac1fb4
-SHA1 (patch-src_Makefile.in) = 08d51e1951453e3596e32fc793f73a524516c798
+SHA1 (qore-ssh2-module-1.0.tar.bz2) = fdec8a5d0cf292eb5818813bb6d28e8994e84fa4
+RMD160 (qore-ssh2-module-1.0.tar.bz2) = 02a2b504cb838d6854b73edc93406d03d103ba63
+SHA512 (qore-ssh2-module-1.0.tar.bz2) = b9af0453f07326fdde99feddb1b2f78fa884c46838eeb3752ee28871f7edb4901b1ab278a2f49d27f467858f71c8c2d1a519fb35c4ae69637d26e8b51923152e
+Size (qore-ssh2-module-1.0.tar.bz2) = 599221 bytes
diff -r d0d265e2b13e -r 56880a72182a security/qore-ssh2-module/patches/patch-configure
--- a/security/qore-ssh2-module/patches/patch-configure Wed Jul 20 14:53:26 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2014/12/30 16:02:08 wiz Exp $
-pkgsrc doesn't use lib64 or targetdir so don't set it.
-fixes build on linux.
-http://sf.net/p/qore/code/6817/
---- configure.orig     2014-10-31 22:14:45.582674365 +0000
-+++ configure
-@@ -15490,14 +15490,6 @@ if test "$enable_64bit" = "yes"; then
-       *linux*)        if test "$GXX" = "yes"; then
-                  CXXFLAGS="$CXXFLAGS -m64"
-               fi
--              # only set LIBSUFFIX=64 if /usr/lib64 exists
--              if test -d /usr/lib64; then
--                 LIBSUFFIX=64
--                fi
--                target="${host_cpu}-${host_os}"
--                if test -d /usr/lib/$target; then
--                   LIBSUFFIX=/$target
--                fi
- 
-               ;;
-       *hpux*) if test "$host_cpu" = "ia64"; then
diff -r d0d265e2b13e -r 56880a72182a security/qore-ssh2-module/patches/patch-src_Makefile.in
--- a/security/qore-ssh2-module/patches/patch-src_Makefile.in   Wed Jul 20 14:53:26 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 16:02:08 wiz Exp $
-* don't install .a file
-http://sourceforge.net/p/qore/code/6291/
---- src/Makefile.in.orig       2013-10-05 08:04:54.000000000 +0000
-+++ src/Makefile.in
-@@ -682,7 +682,7 @@ uninstall-am: uninstall-libLTLIBRARIES
- 
- install-exec-hook:
-       mv $(DESTDIR)$(libdir)/$(MNAME).$(MODULE_SUFFIX) $(DESTDIR)$(libdir)/$(MNAME)-api-$(MODULE_API).qmod
--      $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(RM_OTHER)
-+      $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(DESTDIR)$(libdir)/$(MNAME).a $(RM_OTHER)
- 
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.



Home | Main Index | Thread Index | Old Index