kn 36dc57e5cf COMMENT = DigiDoc4 GUI client for signing and encrypting documents
V =			4.2.12
REVISION =		2
DISTNAME =		qdigidoc4-${V}
CATEGORIES =		security x11

DEBUG_PACKAGES =	${BUILD_PACKAGES}

HOMEPAGE =		https://www.id.ee/

# LGPL 2.1+
PERMIT_PACKAGE =	Yes

DIST_SUBDIR =		qdigidoc4
MASTER_SITES =		https://github.com/open-eid/DigiDoc4-Client/releases/download/v${V}/
DISTFILES =		${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY =		${DISTNAME}${EXTRACT_SUFX}

MASTER_SITES0 =		https://id.eesti.ee/
DISTFILES +=		config.json:0 \
			config.pub:0 \
			config.rsa:0
# ${WRKSRC}/common/CMakeLists.txt itself substitutes suffix in CONFIG_URL
CONFIGURE_ENV +=	CONFIG_URL=file://${FULLDISTDIR}/config.json

MASTER_SITES1 =		https://ec.europa.eu/tools/lotl/
DISTFILES +=		eu-lotl-pivot-300.xml:1
CONFIGURE_ENV +=	TSL_URL=file://${FULLDISTDIR}/eu-lotl-pivot-300.xml

MASTER_SITES2 =		https://github.com/open-eid/DigiDoc4-Client/
# merged but after 4.2.12 release
PATCHFILES +=		bsd-{pull/}1072.patch:2
PATCHFILES +=		qt6-{pull/}1082.patch:2

MASTER_SITES3 =		https://github.com/open-eid/qt-common/
# merged but after 4.2.12 release
PATCHFILES +=		qt-common-fix-i386-{pull/}124.patch:3
PATCHFILES +=		qt-common-pcsc-lite-{pull/}121.patch:3
PATCH_CASES +=		qt-common-*.patch) \
				${PATCH} ${PATCH_DIST_ARGS} < $$patchfile \
				    -d${WRKSRC}/common ;;

PATCH_DIST_STRIP =	-p1

MAINTAINER =		Klemens Nanni <kn@openbsd.org>

WANTLIB +=		${COMPILER_LIBCXX} GL Qt6Core Qt6Core5Compat Qt6Gui
WANTLIB +=		Qt6Network Qt6PrintSupport Qt6Svg Qt6SvgWidgets Qt6Widgets
WANTLIB += 		c crypto digidocpp lber ldap m pcsclite ssl

MODULES =		devel/cmake \
			x11/qt6

BUILD_DEPENDS =		devel/gettext,-tools \
			x11/qt6/qttools

LIB_DEPENDS =		databases/openldap,-main \
			security/libdigidocpp>=3.14.10 \
			security/pcsc-lite \
			x11/qt6/qt5compat \
			x11/qt6/qtsvg

RUN_DEPENDS =		devel/desktop-file-utils \
			misc/shared-mime-info \
			x11/qt6/qttranslations \
			x11/gtk+3,-guic

CONFIGURE_ENV +=	LDFLAGS=${LDFLAGS:Q}

# dlopen()'ed "opensc-pkcs11.so" in qdigidoc4
BUILD_DEPENDS +=	security/opensc
RUN_DEPENDS +=		security/opensc
CONFIGURE_ARGS +=	-DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS} \
			    -Wl,-rpath,/usr/local/lib/pkcs11"

NO_TEST =		Yes

# merged but after 4.2.12 release "Update plugin for KDE Plasma"
# https://github.com/open-eid/digidoc-extensions/pull/21
post-install:
	# fix program name in KDE extension
	sed -i -E s/qdigidoc-?client/qdigidoc4/ \
	    ${PREFIX}/share/kservices5/qdigidoc-signer.desktop

.include <bsd.port.mk>
2022-12-13 19:49:22 +00:00
..
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-03-11 19:53:16 +00:00
2022-11-22 19:27:08 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-16 09:48:03 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-29 13:15:51 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-09-06 19:28:23 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-04-02 12:17:44 +00:00
2022-03-11 19:53:16 +00:00
2022-11-14 22:39:20 +00:00
2022-09-14 11:10:45 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-10-19 15:59:21 +00:00
2022-10-03 22:28:31 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-05-29 15:41:20 +00:00
2022-03-11 19:53:16 +00:00
2022-11-14 18:56:32 +00:00
2022-03-31 13:37:02 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-06-07 10:57:04 +00:00
2022-11-16 13:26:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-11-30 00:47:52 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-10-12 18:19:21 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-10-18 11:57:08 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-07-28 05:48:39 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-08-25 07:48:53 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-06-04 13:48:19 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-05-28 06:19:58 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-12-13 14:56:28 +00:00
2022-03-11 19:53:16 +00:00
2022-10-05 19:30:49 +00:00
2022-08-10 21:49:01 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-21 22:57:46 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-20 21:43:04 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-21 22:29:57 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-12-11 08:40:18 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-05-24 12:36:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-08-30 06:06:32 +00:00
2022-03-14 21:55:51 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-10-25 19:45:37 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-14 11:34:47 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-28 18:09:21 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-28 12:37:23 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-12-07 08:56:31 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-10-26 06:29:16 +00:00
2022-05-28 06:19:58 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-10-18 19:39:16 +00:00
2022-10-05 08:03:52 +00:00
2022-11-25 19:30:34 +00:00
2022-11-25 19:30:34 +00:00
2022-03-11 19:53:16 +00:00
2022-05-25 20:02:45 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-19 00:58:42 +00:00
2022-03-21 13:50:49 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-12-02 10:09:38 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-05-28 06:19:58 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-06-08 20:08:06 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-12-03 17:33:25 +00:00
2022-03-11 19:53:16 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:29:25 +00:00
2022-11-25 19:30:34 +00:00
2022-06-08 08:47:42 +00:00
2022-03-11 19:53:16 +00:00
2022-11-25 19:30:34 +00:00
2022-03-11 19:53:16 +00:00
2022-12-09 06:48:48 +00:00