Skip to content

Commit 2020d05

Browse files
author
markd
committed
qca2-qt6: add version 2.3.8
QT6 variant of qca2.
1 parent e89b89a commit 2020d05

File tree

6 files changed

+92
-2
lines changed

6 files changed

+92
-2
lines changed

security/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.949 2024/05/18 16:25:50 pin Exp $
1+
# $NetBSD: Makefile,v 1.950 2024/05/26 10:33:26 markd Exp $
22
#
33

44
COMMENT= Security and cryptography tools and libraries
@@ -541,6 +541,7 @@ SUBDIR+= qca2-ossl
541541
SUBDIR+= qca2-qt5
542542
SUBDIR+= qca2-qt5-gnupg
543543
SUBDIR+= qca2-qt5-ossl
544+
SUBDIR+= qca2-qt6
544545
SUBDIR+= qgpgme
545546
SUBDIR+= qident
546547
SUBDIR+= qoauth

security/qca2-qt5/Makefile.common

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# $NetBSD: Makefile.common,v 1.2 2024/05/07 04:11:45 adam Exp $
1+
# $NetBSD: Makefile.common,v 1.3 2024/05/26 10:33:26 markd Exp $
22
#
33
# used by security/qca2-qt5-gnupg/Makefile
44
# used by security/qca2-qt5-ossl/Makefile
5+
# used by security/qca2-qt6/Makefile
56

67
DISTNAME= qca-2.3.8
78
CATEGORIES= security

security/qca2-qt6/DESCR

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Taking a hint from the similarly-named Java Cryptography Architecture,
2+
QCA aims to provide a straightforward and cross-platform crypto
3+
API, using Qt datatypes and conventions. QCA separates the API from
4+
the implementation, using plugins known as Providers. The advantage
5+
of this model is to allow applications to avoid linking to or
6+
explicitly depending on any particular cryptographic library. This
7+
allows one to easily change or upgrade crypto implementations
8+
without even needing to recompile the application. QCA should work
9+
everywhere Qt does, including Windows/Unix/MacOSX.
10+
11+
Features:
12+
* SSL/TLS
13+
* X509
14+
* RSA
15+
* Hashing (SHA1, MD5)
16+
* Ciphers (Blowfish, 3DES, AES)

security/qca2-qt6/Makefile

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# $NetBSD: Makefile,v 1.1 2024/05/26 10:33:26 markd Exp $
2+
3+
PKGNAME= qca2-qt6-${DISTNAME:C/.*-//}
4+
5+
COMMENT= Cross-platform crypto API for Qt6
6+
7+
.include "../../security/qca2-qt5/Makefile.common"
8+
9+
DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
10+
11+
INSTALLATION_DIRS= lib/pkgconfig
12+
13+
CMAKE_ARGS+= -DQT6=ON
14+
CMAKE_ARGS+= -DBUILD_PLUGINS=none
15+
CMAKE_ARGS+= -DQCA_MAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR}
16+
17+
.include "../../devel/qt6-qt5compat/buildlink3.mk"
18+
.include "../../x11/qt6-qtbase/buildlink3.mk"
19+
.include "../../mk/bsd.pkg.mk"
20+
21+
# qt6 insists on a UTF locale, override setting C in bsd.pkg.mk
22+
ALL_ENV+= LANG=C.UTF-8
23+
ALL_ENV+= LC_ALL=C.UTF-8
24+
ALL_ENV+= LC_COLLATE=C.UTF-8
25+
ALL_ENV+= LC_CTYPE=C.UTF-8
26+
ALL_ENV+= LC_MESSAGES=C.UTF-8
27+
ALL_ENV+= LC_MONETARY=C.UTF-8
28+
ALL_ENV+= LC_NUMERIC=C.UTF-8
29+
ALL_ENV+= LC_TIME=C.UTF-8

security/qca2-qt6/PLIST

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
@comment $NetBSD: PLIST,v 1.1 2024/05/26 10:33:26 markd Exp $
2+
man/man1/qcatool-qt6.1
3+
qt6/bin/mozcerts-qt6
4+
qt6/bin/qcatool-qt6
5+
qt6/include/Qca-qt6/QtCrypto/QtCrypto
6+
qt6/include/Qca-qt6/QtCrypto/qca.h
7+
qt6/include/Qca-qt6/QtCrypto/qca_basic.h
8+
qt6/include/Qca-qt6/QtCrypto/qca_cert.h
9+
qt6/include/Qca-qt6/QtCrypto/qca_core.h
10+
qt6/include/Qca-qt6/QtCrypto/qca_export.h
11+
qt6/include/Qca-qt6/QtCrypto/qca_keystore.h
12+
qt6/include/Qca-qt6/QtCrypto/qca_publickey.h
13+
qt6/include/Qca-qt6/QtCrypto/qca_safetimer.h
14+
qt6/include/Qca-qt6/QtCrypto/qca_securelayer.h
15+
qt6/include/Qca-qt6/QtCrypto/qca_securemessage.h
16+
qt6/include/Qca-qt6/QtCrypto/qca_support.h
17+
qt6/include/Qca-qt6/QtCrypto/qca_textfilter.h
18+
qt6/include/Qca-qt6/QtCrypto/qca_tools.h
19+
qt6/include/Qca-qt6/QtCrypto/qca_version.h
20+
qt6/include/Qca-qt6/QtCrypto/qcaprovider.h
21+
qt6/include/Qca-qt6/QtCrypto/qpipe.h
22+
qt6/lib/cmake/Qca-qt6/Qca-qt6Config.cmake
23+
qt6/lib/cmake/Qca-qt6/Qca-qt6ConfigVersion.cmake
24+
qt6/lib/cmake/Qca-qt6/Qca-qt6Targets-noconfig.cmake
25+
qt6/lib/cmake/Qca-qt6/Qca-qt6Targets.cmake
26+
qt6/lib/libqca-qt6.so
27+
qt6/lib/libqca-qt6.so.2
28+
qt6/lib/libqca-qt6.so.${PKGVERSION}

security/qca2-qt6/buildlink3.mk

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# $NetBSD: buildlink3.mk,v 1.1 2024/05/26 10:33:26 markd Exp $
2+
3+
BUILDLINK_TREE+= qca2-qt6
4+
5+
.if !defined(QCA2_QT6_BUILDLINK3_MK)
6+
QCA2_QT6_BUILDLINK3_MK:=
7+
8+
BUILDLINK_API_DEPENDS.qca2-qt6+= qca2-qt6>=2.3.8
9+
BUILDLINK_PKGSRCDIR.qca2-qt6?= ../../security/qca2-qt6
10+
11+
.include "../../devel/qt6-qt5compat/buildlink3.mk"
12+
.include "../../x11/qt6-qtbase/buildlink3.mk"
13+
.endif # QCA2_QT6_BUILDLINK3_MK
14+
15+
BUILDLINK_TREE+= -qca2-qt6

0 commit comments

Comments
 (0)