diff options
author | wiz <wiz@pkgsrc.org> | 2014-12-30 16:02:08 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-12-30 16:02:08 +0000 |
commit | b6e412f68ab0d55c3c1d857f73070838e5777490 (patch) | |
tree | ca05fa07c55602bbb42643d41eeffba40f7eab4f /security | |
parent | 9fe4aa7d4a661b67b8fe931bfda73d01ff09a80a (diff) | |
download | pkgsrc-b6e412f68ab0d55c3c1d857f73070838e5777490.tar.gz |
Import qore-ssh2-module-0.9.9nb4 as security/qore-ssh2-module,
packaged for wip by nros.
The ssh2 module provides Qore the possibility to communicate with sshd
servers via the ssh2 protocol; the underlying functionality is provided
by libssh2.
Diffstat (limited to 'security')
-rw-r--r-- | security/qore-ssh2-module/DESCR | 3 | ||||
-rw-r--r-- | security/qore-ssh2-module/Makefile | 39 | ||||
-rw-r--r-- | security/qore-ssh2-module/PLIST | 151 | ||||
-rw-r--r-- | security/qore-ssh2-module/buildlink3.mk | 14 | ||||
-rw-r--r-- | security/qore-ssh2-module/distinfo | 7 | ||||
-rw-r--r-- | security/qore-ssh2-module/options.mk | 12 | ||||
-rw-r--r-- | security/qore-ssh2-module/patches/patch-configure | 21 | ||||
-rw-r--r-- | security/qore-ssh2-module/patches/patch-src_Makefile.in | 14 |
8 files changed, 261 insertions, 0 deletions
diff --git a/security/qore-ssh2-module/DESCR b/security/qore-ssh2-module/DESCR new file mode 100644 index 00000000000..f8efc9f4963 --- /dev/null +++ b/security/qore-ssh2-module/DESCR @@ -0,0 +1,3 @@ +The ssh2 module provides Qore the possibility to communicate with sshd +servers via the ssh2 protocol; the underlying functionality is provided +by libssh2. diff --git a/security/qore-ssh2-module/Makefile b/security/qore-ssh2-module/Makefile new file mode 100644 index 00000000000..347a6bf2f37 --- /dev/null +++ b/security/qore-ssh2-module/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 2014/12/30 16:02:08 wiz Exp $ + +DISTNAME= qore-ssh2-module-0.9.9 +PKGREVISION= 4 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= nros@users.sourceforge.net +COMMENT= SSH2 module for Qore +HOMEPAGE= http://www.qore.org/ +LICENSE= gnu-lgpl-v2.1 OR mit + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake pax +PTHREAD_OPTS+= native + +#This is needed in order to comply the with MIT license and binary distribution +#Install docs +INSTALLATION_DIRS+= share/doc/${PKGBASE} +post-install: + ${INSTALL_DATA} ${WRKSRC}/COPYING.LGPL \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/COPYING.MIT \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + cd ${WRKSRC}/docs/ssh2 && ${PAX} -wr * \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + +.include "options.mk" + +.include "../../mk/pthread.buildlink3.mk" +.include "../../security/libssh2/buildlink3.mk" +.include "../../lang/qore/buildlink3.mk" +.include "../../lang/qore/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/qore-ssh2-module/PLIST b/security/qore-ssh2-module/PLIST new file mode 100644 index 00000000000..0382814457b --- /dev/null +++ b/security/qore-ssh2-module/PLIST @@ -0,0 +1,151 @@ +@comment $NetBSD: PLIST,v 1.1 2014/12/30 16:02:08 wiz 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/bc_s.png +share/doc/qore-ssh2-module/html/bdwn.png +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SFTPClient-members.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SFTPClient.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SFTPClient.js +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SFTPClient__inherit__graph.map +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SFTPClient__inherit__graph.md5 +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SFTPClient__inherit__graph.png +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Base-members.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Base.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Base.js +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Base__inherit__graph.map +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Base__inherit__graph.md5 +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Base__inherit__graph.png +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Channel-members.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Channel.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Channel.js +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Client-members.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Client.html +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Client.js +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Client__inherit__graph.map +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Client__inherit__graph.md5 +share/doc/qore-ssh2-module/html/classQore_1_1SSH2_1_1SSH2Client__inherit__graph.png +share/doc/qore-ssh2-module/html/classes.html +share/doc/qore-ssh2-module/html/closed.png +share/doc/qore-ssh2-module/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +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/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/functions.html +share/doc/qore-ssh2-module/html/functions_func.html +share/doc/qore-ssh2-module/html/graph_legend.html +share/doc/qore-ssh2-module/html/graph_legend.md5 +share/doc/qore-ssh2-module/html/graph_legend.png +share/doc/qore-ssh2-module/html/hierarchy.html +share/doc/qore-ssh2-module/html/hierarchy.js +share/doc/qore-ssh2-module/html/index.html +share/doc/qore-ssh2-module/html/inherit_graph_0.map +share/doc/qore-ssh2-module/html/inherit_graph_0.md5 +share/doc/qore-ssh2-module/html/inherit_graph_0.png +share/doc/qore-ssh2-module/html/inherit_graph_1.map +share/doc/qore-ssh2-module/html/inherit_graph_1.md5 +share/doc/qore-ssh2-module/html/inherit_graph_1.png +share/doc/qore-ssh2-module/html/inherits.html +share/doc/qore-ssh2-module/html/jquery.js +share/doc/qore-ssh2-module/html/namespaceQore_1_1SSH2.html +share/doc/qore-ssh2-module/html/namespaceQore_1_1SSH2.js +share/doc/qore-ssh2-module/html/namespaces.html +share/doc/qore-ssh2-module/html/namespaces.js +share/doc/qore-ssh2-module/html/nav_f.png +share/doc/qore-ssh2-module/html/nav_g.png +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/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/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/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/nomatches.html +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/sync_off.png +share/doc/qore-ssh2-module/html/sync_on.png +share/doc/qore-ssh2-module/html/tab_a.png +share/doc/qore-ssh2-module/html/tab_b.png +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 diff --git a/security/qore-ssh2-module/buildlink3.mk b/security/qore-ssh2-module/buildlink3.mk new file mode 100644 index 00000000000..ec59f23f7b2 --- /dev/null +++ b/security/qore-ssh2-module/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/12/30 16:02:08 wiz Exp $ + +BUILDLINK_TREE+= qore-ssh2-module + +.if !defined(QORE_SSH2_MODULE_BUILDLINK3_MK) +QORE_SSH2_MODULE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.qore-ssh2-module+= qore-ssh2-module>=0.9.9 +BUILDLINK_PKGSRCDIR.qore-ssh2-module?= ../../security/qore-ssh2-module + +.include "../../lang/qore/buildlink3.mk" +.endif # QORE_SSH2_MODULE_BUILDLINK3_MK + +BUILDLINK_TREE+= -qore-ssh2-module diff --git a/security/qore-ssh2-module/distinfo b/security/qore-ssh2-module/distinfo new file mode 100644 index 00000000000..693d6cabb99 --- /dev/null +++ b/security/qore-ssh2-module/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2014/12/30 16:02:08 wiz Exp $ + +SHA1 (qore-ssh2-module-0.9.9.tar.bz2) = 39dd210f4e9281139781a674fe56b3c7dfbd8882 +RMD160 (qore-ssh2-module-0.9.9.tar.bz2) = bba602645ab9c218ee6720fe41a5b97f02ce7984 +Size (qore-ssh2-module-0.9.9.tar.bz2) = 449265 bytes +SHA1 (patch-configure) = 44b22a0af32fd4646e2d11f020988c2543ac1fb4 +SHA1 (patch-src_Makefile.in) = 08d51e1951453e3596e32fc793f73a524516c798 diff --git a/security/qore-ssh2-module/options.mk b/security/qore-ssh2-module/options.mk new file mode 100644 index 00000000000..c93b98daab8 --- /dev/null +++ b/security/qore-ssh2-module/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2014/12/30 16:02:08 wiz Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.qore-ssh2-module +PKG_SUPPORTED_OPTIONS= debug +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +.else +CONFIGURE_ARGS+= --disable-debug +.endif diff --git a/security/qore-ssh2-module/patches/patch-configure b/security/qore-ssh2-module/patches/patch-configure new file mode 100644 index 00000000000..4de83af2dcb --- /dev/null +++ b/security/qore-ssh2-module/patches/patch-configure @@ -0,0 +1,21 @@ +$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 --git a/security/qore-ssh2-module/patches/patch-src_Makefile.in b/security/qore-ssh2-module/patches/patch-src_Makefile.in new file mode 100644 index 00000000000..1394d7d03da --- /dev/null +++ b/security/qore-ssh2-module/patches/patch-src_Makefile.in @@ -0,0 +1,14 @@ +$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. |