pkgsrc/security/qore-ssh2-module/Makefile
nros 36ccc8777b Updated security/qore-ssh2-module to version 1.2 .
Changes from release notes:
* added the Ssh2Connections user module
* added the following SFTPClient methods supporting
  streams:SFTPClient::get(), SFTPClient::put()
* fixed bugs retrieving zero-length text files with
  SFTPClient::getFile(), SFTPClient::getTextFile(),
  SFTPClient::get(), and SFTPClient::retrieveFile()
* fixed bugs streaming data with SFTPClient::transferFile()
  and SFTPClient::put()
* argument error in SFTPClient disconnection with
  socket errors causes a crash
* infinite loop in SftpPoller polling when
  PO_NO_PROCESS_CONTROL is not set and no sleep
  option is given
* implement support for additional directories
  in SftpPoller
* SftpPoller::run() cannot be synchronized
* compile fixes for Solaris 10 g++
* add constructor option to SftpPoller for checking
  if polled directories are writable
* fixed a bug that could cause a crash when an error
  occurs in the SFTPClient class
* streaming from SFTP server impossible without user
  re-implementing SftpPoller methods
* fixed a bug in libssh2 library initialization
  error reporting
2018-06-08 20:02:30 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2018/06/08 20:02:30 nros Exp $
DISTNAME= qore-ssh2-module-1.2
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=qorelanguage/}
EXTRACT_SUFX= .tar.bz2
GITHUB_RELEASE= v${PKGVERSION_NOREV}
GITHUB_PROJECT= module-ssh2
MAINTAINER= nros@NetBSD.org
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++11
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}
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"