From 2c7a52d46e93f634ef540d6ce56d94de8f03dd03 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Wed, 8 Jan 2020 17:19:18 +0100 Subject: [PATCH] wip/eiskaltdcpp: import eiskaltdcpp-2.2.10 EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocols. It is compatible with DC++, FlylinkDC++, LinuxDC++ and other DC clients. EiskaltDC++ also interoperates with all common DC hub software. Does not build on NetBSD-9.99.31/amd64: In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/SSL.h:19, from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/SSLSocket.h:23, from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/CryptoManager.h:24, from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/CryptoManager.cpp:20: /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^~~~~ /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/CryptoManager.cpp:107:20: error: invalid use of incomplete type 'struct dh_st' if (!dh->p || !dh->g) { ^~ --- eiskaltdcpp/DESCR | 4 ++++ eiskaltdcpp/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++ eiskaltdcpp/PLIST | 4 ++++ eiskaltdcpp/TODO | 15 +++++++++++++ eiskaltdcpp/distinfo | 6 ++++++ 5 files changed, 79 insertions(+) create mode 100644 eiskaltdcpp/DESCR create mode 100644 eiskaltdcpp/Makefile create mode 100644 eiskaltdcpp/PLIST create mode 100644 eiskaltdcpp/TODO create mode 100644 eiskaltdcpp/distinfo diff --git a/eiskaltdcpp/DESCR b/eiskaltdcpp/DESCR new file mode 100644 index 0000000000..2dc785f12c --- /dev/null +++ b/eiskaltdcpp/DESCR @@ -0,0 +1,4 @@ +EiskaltDC++ is a cross-platform program that uses the Direct Connect +and ADC protocols. It is compatible with DC++, FlylinkDC++, LinuxDC++ +and other DC clients. EiskaltDC++ also interoperates with all common +DC hub software. diff --git a/eiskaltdcpp/Makefile b/eiskaltdcpp/Makefile new file mode 100644 index 0000000000..12c7d12e2e --- /dev/null +++ b/eiskaltdcpp/Makefile @@ -0,0 +1,50 @@ +# $NetBSD$ + +DISTNAME= eiskaltdcpp-2.2.10 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GITHUB:=eiskaltdcpp/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/eiskaltdcpp/eiskaltdcpp/ +COMMENT= Cross-platform program that uses the Direct Connect and ADC protocols +LICENSE= gnu-gpl-v3 + +USE_CMAKE= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= perl:run + +CMAKE_ARGS+= -DUSE_QT=OFF +CMAKE_ARGS+= -DUSE_QT5=ON + +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../devel/pcre/buildlink3.mk" +.include "../../devel/libidn/buildlink3.mk" +.include "../../textproc/aspell/buildlink3.mk" +.include "../../devel/boost-libs/buildlink3.mk" +.include "../../textproc/xmlrpc-c/buildlink3.mk" +.include "../../x11/qt5-qtbase/buildlink3.mk" +.include "../../x11/qt5-qtscript/buildlink3.mk" + +# optional: +#liblua5.1 (optional, see cmake keys) +#miniupnpc (optional, see cmake keys) +# gtk interface: +#gettext +#libpango +#libgtk2 (>= 2.24) +#libglib2 (>= 2.24) +#libnotify (>= 0.4.1) (optional, see cmake keys) +#libgnome2 (optional, see cmake keys) +#libcanberra-gtk3-0 (optional, see cmake keys) +# perl modules needed: +# Getopt::Long (libgetopt-long-descriptive-perl) +# Data::Dump (libdata-dump-perl) +# Term::ShellUI (libterm-shellui-perl) +# RPC::XML (librpc-xml-perl) (optional, see cmake keys) +# JSON::RPC (libjson-rpc-perl) (optional, see cmake keys) + +.include "../../mk/bsd.pkg.mk" diff --git a/eiskaltdcpp/PLIST b/eiskaltdcpp/PLIST new file mode 100644 index 0000000000..92ba51a2d7 --- /dev/null +++ b/eiskaltdcpp/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD$ +@comment TODO: to fill this file with the file listing: +@comment TODO: 1. run "/usr/bin/make package" +@comment TODO: 2. run "/usr/bin/make print-PLIST" diff --git a/eiskaltdcpp/TODO b/eiskaltdcpp/TODO new file mode 100644 index 0000000000..c25339ea77 --- /dev/null +++ b/eiskaltdcpp/TODO @@ -0,0 +1,15 @@ +Does not build on NetBSD-9.99.31/amd64: + +In file included from /usr/include/openssl/crypto.h:25, + from /usr/include/openssl/comp.h:16, + from /usr/include/openssl/ssl.h:17, + from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/SSL.h:19, + from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/SSLSocket.h:23, + from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/CryptoManager.h:24, + from /scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/CryptoManager.cpp:20: +/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' + typedef struct dh_st DH; + ^~~~~ +/scratch/wip/eiskaltdcpp/work/eiskaltdcpp-2.2.10/dcpp/CryptoManager.cpp:107:20: error: invalid use of incomplete type 'struct dh_st' + if (!dh->p || !dh->g) { + ^~ diff --git a/eiskaltdcpp/distinfo b/eiskaltdcpp/distinfo new file mode 100644 index 0000000000..289ec15f9c --- /dev/null +++ b/eiskaltdcpp/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (eiskaltdcpp-2.2.10.tar.gz) = feb756c529fff1ff8c29de49d6a059e5f7f9f56e +RMD160 (eiskaltdcpp-2.2.10.tar.gz) = 24ea6263a2a7832191eb466a90766f312bdcfbf1 +SHA512 (eiskaltdcpp-2.2.10.tar.gz) = 97c39287b9568aebc5ab21aeabefb63ea32bde8744242bb8647b742c933de9cf74a7fbb2e6df7be6046319bbc660e8abdec0fa332ee91ec5048492af0d763818 +Size (eiskaltdcpp-2.2.10.tar.gz) = 3843143 bytes