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) {
                    ^~
This commit is contained in:
Thomas Klausner 2020-01-08 17:19:18 +01:00
parent 9e9a4f1eb9
commit 2c7a52d46e
5 changed files with 79 additions and 0 deletions

4
eiskaltdcpp/DESCR Normal file
View File

@ -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.

50
eiskaltdcpp/Makefile Normal file
View File

@ -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"

4
eiskaltdcpp/PLIST Normal file
View File

@ -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"

15
eiskaltdcpp/TODO Normal file
View File

@ -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) {
^~

6
eiskaltdcpp/distinfo Normal file
View File

@ -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