pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security qca2-qt5: Update to 2.3.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/378b023d1708
branches:  trunk
changeset: 389167:378b023d1708
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Dec 01 12:47:23 2022 +0000

description:
qca2-qt5: Update to 2.3.5.

Detach from the qca2 build as a newer release is now required for QT5.  I was
unable to find a list of changes since 2.2.1.

diffstat:

 security/qca2-qt5-gnupg/Makefile               |   5 +--
 security/qca2-qt5-ossl/Makefile                |   5 +--
 security/qca2-qt5/Makefile                     |   7 ++---
 security/qca2-qt5/Makefile.common              |  30 ++++++++++++++++++++++++++
 security/qca2-qt5/distinfo                     |   6 +++++
 security/qca2-qt5/patches/patch-CMakeLists.txt |  14 ++++++++++++
 6 files changed, 57 insertions(+), 10 deletions(-)

diffs (122 lines):

diff -r 63ca8eb70e41 -r 378b023d1708 security/qca2-qt5-gnupg/Makefile
--- a/security/qca2-qt5-gnupg/Makefile  Thu Dec 01 12:19:09 2022 +0000
+++ b/security/qca2-qt5-gnupg/Makefile  Thu Dec 01 12:47:23 2022 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.20 2022/11/23 16:21:02 adam Exp $
+# $NetBSD: Makefile,v 1.21 2022/12/01 12:47:23 jperkin Exp $
 
 PKGNAME=       qca2-qt5-gnupg-${DISTNAME:C/.*-//}
-PKGREVISION=   11
 
 COMMENT=       Cross-platform crypto API for QT5 - GnuPG plugin
 
-.include "../../security/qca2/Makefile.common"
+.include "../../security/qca2-qt5/Makefile.common"
 
 DEPENDS+=      gnupg2-[0-9]*:../../security/gnupg2
 
diff -r 63ca8eb70e41 -r 378b023d1708 security/qca2-qt5-ossl/Makefile
--- a/security/qca2-qt5-ossl/Makefile   Thu Dec 01 12:19:09 2022 +0000
+++ b/security/qca2-qt5-ossl/Makefile   Thu Dec 01 12:47:23 2022 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.20 2022/11/23 16:21:02 adam Exp $
+# $NetBSD: Makefile,v 1.21 2022/12/01 12:47:23 jperkin Exp $
 
 PKGNAME=       qca2-qt5-ossl-${DISTNAME:C/.*-//}
-PKGREVISION=   11
 
 COMMENT=       Cross-platform crypto API for QT5 - OpenSSL plugin
 
-.include "../../security/qca2/Makefile.common"
+.include "../../security/qca2-qt5/Makefile.common"
 
 BUILD_DIRS=    plugins/qca-ossl
 
diff -r 63ca8eb70e41 -r 378b023d1708 security/qca2-qt5/Makefile
--- a/security/qca2-qt5/Makefile        Thu Dec 01 12:19:09 2022 +0000
+++ b/security/qca2-qt5/Makefile        Thu Dec 01 12:47:23 2022 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2022/11/23 16:18:59 adam Exp $
+# $NetBSD: Makefile,v 1.20 2022/12/01 12:47:23 jperkin Exp $
 
 PKGNAME=       qca2-qt5-${DISTNAME:C/.*-//}
-PKGREVISION=   11
 
 COMMENT=       Cross-platform crypto API for QT5
 
-.include "../../security/qca2/Makefile.common"
+.include "../../security/qca2-qt5/Makefile.common"
 
 DEPENDS+=      mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
 
@@ -14,7 +13,7 @@
 CMAKE_ARGS+=   -DBUILD_PLUGINS=none
 CMAKE_ARGS+=   -DQCA_MAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR}
 
-PKGCONFIG_OVERRIDE=            lib/pkgconfig/qca2-qt5.pc 
+PKGCONFIG_OVERRIDE=            lib/pkgconfig/qca2-qt5.pc
 PKGCONFIG_OVERRIDE_STAGE=      post-configure
 
 post-install:
diff -r 63ca8eb70e41 -r 378b023d1708 security/qca2-qt5/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/qca2-qt5/Makefile.common Thu Dec 01 12:47:23 2022 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile.common,v 1.1 2022/12/01 12:47:23 jperkin Exp $
+#
+# used by security/qca2-qt5-gnupg/Makefile
+# used by security/qca2-qt5-ossl/Makefile
+
+DISTNAME=      qca-2.3.5
+CATEGORIES=    security
+MASTER_SITES=  ${MASTER_SITE_KDE:=qca/${PKGVERSION_NOREV}/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://userbase.kde.org/QCA
+LICENSE=       gnu-lgpl-v2.1
+
+PATCHDIR=      ${.CURDIR}/../../security/qca2-qt5/patches
+DISTINFO_FILE= ${.CURDIR}/../../security/qca2-qt5/distinfo
+
+USE_TOOLS+=    gmake
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+# install under qt5 prefix to not clash with qca 1.x
+CMAKE_ARGS+=   -DQCA_INSTALL_IN_QT_PREFIX=ON
+CMAKE_ARGS+=   -DOSX_FRAMEWORK=OFF
+CMAKE_ARGS+=   -DBUILD_TESTS=OFF
+
+SUBST_CLASSES+=                certs
+SUBST_STAGE.certs=     pre-configure
+SUBST_FILES.certs=     CMakeLists.txt
+SUBST_VARS.certs=      PREFIX
diff -r 63ca8eb70e41 -r 378b023d1708 security/qca2-qt5/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/qca2-qt5/distinfo        Thu Dec 01 12:47:23 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/12/01 12:47:23 jperkin Exp $
+
+BLAKE2s (qca-2.3.5.tar.xz) = 380c378b23617c316480a2f899ecc69bec50e9f0b55d495cfde6161a54277473
+SHA512 (qca-2.3.5.tar.xz) = 656e44d4f30c3c0e1a8c04f2703484e3cff2d962b12c6ff9891b9f28127cd61ed30dcd248c059bf9066ac645bf53a9b7c14bdb413a7766c8b3f3d37426478d96
+Size (qca-2.3.5.tar.xz) = 741036 bytes
+SHA1 (patch-CMakeLists.txt) = 4867c54f8bff523233a11201bdb021e6e81a10ed
diff -r 63ca8eb70e41 -r 378b023d1708 security/qca2-qt5/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/qca2-qt5/patches/patch-CMakeLists.txt    Thu Dec 01 12:47:23 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2022/12/01 12:47:23 jperkin Exp $
+
+Add mozilla-rootcerts certstore to list
+
+--- CMakeLists.txt.orig        2018-01-31 20:15:27.000000000 +0000
++++ CMakeLists.txt
+@@ -304,6 +304,7 @@ else ( WIN32 )
+       "/etc/pki/tls/cert.pem"
+       "/etc/ssl/ca-bundle.pem"
+       "/usr/share/curl/curl-ca-bundle.crt"
++      "@PREFIX@/share/mozilla-rootcerts/cacert.pem"
+     )
+     foreach (_current_try ${toTry})
+       if(EXISTS ${_current_try})



Home | Main Index | Thread Index | Old Index