git: 0762d27e10bd - main - deskutils/ausweisapp2: Update 2.4.0 => 2.6.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Oct 2026 20:03:21 UTC
The branch main has been updated by nxjoseph:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0762d27e10bd6ad84edc3cba8e0f8d82dccbb747
commit 0762d27e10bd6ad84edc3cba8e0f8d82dccbb747
Author: Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2026-10-18 10:31:31 +0000
Commit: Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-10-26 20:02:47 +0000
deskutils/ausweisapp2: Update 2.4.0 => 2.6.1
Changelogs:
- https://github.com/Governikus/AusweisApp/releases/tag/2.4.1
- https://github.com/Governikus/AusweisApp/releases/tag/2.5.0
- https://github.com/Governikus/AusweisApp/releases/tag/2.5.1
- https://github.com/Governikus/AusweisApp/releases/tag/2.5.3
- https://github.com/Governikus/AusweisApp/releases/tag/2.5.4
- https://github.com/Governikus/AusweisApp/releases/tag/2.5.5
- https://github.com/Governikus/AusweisApp/releases/tag/2.6.0
- https://github.com/Governikus/AusweisApp/releases/tag/2.6.1
Commit log:
- https://github.com/Governikus/AusweisApp/compare/2.4.0...2.6.1
Port changes:
- Upstream replaced www/http-parser with www/llhttp.
- Upstream requires a compiler with C++20 support.
PR: 299558
Approved by: osa, vvd (Mentors, implicit)
Signed-off-by: Martin Filla <freebsd@sysctl.cz>
MFH: 2026Q4
---
deskutils/ausweisapp2/Makefile | 6 +++---
deskutils/ausweisapp2/distinfo | 6 +++---
.../patch-src_ifd_base_messages_Discovery.cpp | 25 ++++++++++++++++++++++
3 files changed, 31 insertions(+), 6 deletions(-)
diff --git a/deskutils/ausweisapp2/Makefile b/deskutils/ausweisapp2/Makefile
index 726698f2b331..12ad025d483e 100644
--- a/deskutils/ausweisapp2/Makefile
+++ b/deskutils/ausweisapp2/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ausweisapp2
-DISTVERSION= 2.4.0
+DISTVERSION= 2.6.1
CATEGORIES= deskutils security
MASTER_SITES= https://github.com/Governikus/AusweisApp/releases/download/${DISTVERSION}/
DISTNAME= AusweisApp-${DISTVERSION}
@@ -12,11 +12,11 @@ LICENSE= EUPL12
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
-LIB_DEPENDS= libhttp_parser.so:www/http-parser \
+LIB_DEPENDS= libllhttp.so:www/llhttp \
libpcsclite.so:devel/pcsc-lite \
libudev.so:devel/libudev-devd
-USES= cmake compiler:c++17-lang gl pkgconfig qmake qt:6 ssl
+USES= cmake compiler:c++20-lang gl pkgconfig qmake qt:6 ssl
USE_GL= opengl
USE_QT= base declarative scxml svg tools websockets
diff --git a/deskutils/ausweisapp2/distinfo b/deskutils/ausweisapp2/distinfo
index 59708f604935..4b6b021fd0bd 100644
--- a/deskutils/ausweisapp2/distinfo
+++ b/deskutils/ausweisapp2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1769291830
-SHA256 (AusweisApp-2.4.0.tar.gz) = cd748510c4f6f3782d18c76d0661322dd78a7f5021ff60d122163a3a961850e3
-SIZE (AusweisApp-2.4.0.tar.gz) = 6249851
+TIMESTAMP = 1792318700
+SHA256 (AusweisApp-2.6.1.tar.gz) = 754acde7b37bd774ccbd588f155dd4bd555e2d141dcc9747c4697ef12a3cc6b0
+SIZE (AusweisApp-2.6.1.tar.gz) = 6083997
diff --git a/deskutils/ausweisapp2/files/patch-src_ifd_base_messages_Discovery.cpp b/deskutils/ausweisapp2/files/patch-src_ifd_base_messages_Discovery.cpp
new file mode 100644
index 000000000000..dff4f95a7410
--- /dev/null
+++ b/deskutils/ausweisapp2/files/patch-src_ifd_base_messages_Discovery.cpp
@@ -0,0 +1,25 @@
+--- src/ifd/base/messages/Discovery.cpp.orig 2025-10-21 08:00:00 UTC
++++ src/ifd/base/messages/Discovery.cpp
+@@ -267,9 +267,21 @@ void Discovery::setAddresses(const QSet<QHostAddress>& pAddresses)
+ continue;
+ }
+
++ // FreeBSD defaults to net.inet6.ip6.v6only=1, so a connect() to an
++ // IPv4-mapped IPv6 address (e.g. the sender of an IPv4 broadcast
++ // received on a dual-stack socket) fails with EINVAL, which Qt
++ // reports as ConnectionRefusedError. Use the plain IPv4 address.
++ auto host = address;
++ bool isIPv4 = false;
++ const quint32 ipv4 = address.toIPv4Address(&isIPv4);
++ if (isIPv4 && address.protocol() == QAbstractSocket::IPv6Protocol)
++ {
++ host = QHostAddress(ipv4);
++ }
++
+ QUrl url;
+ url.setScheme(QStringLiteral("wss"));
+- url.setHost(address.toString());
++ url.setHost(host.toString());
+ url.setPort(mPort);
+ mAddresses << url;
+ }