d17744c27a
S/MIME messages encrypted with gpgsm are sometimes not decodable by other implementations. Discussion on gnupg-devel indicates that gpg (via libksba) is incorrectly dropping leading zeros from the encrypted session key. This commit adds a patch by Daiki Ueno from the mailinglist that appears to improve interoperability. Upstream has not yet applied it, but also has not said that it is wrong.
30 lines
777 B
Makefile
30 lines
777 B
Makefile
# $NetBSD: Makefile,v 1.34 2017/05/30 22:40:17 gdt Exp $
|
|
|
|
DISTNAME= libksba-1.3.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libksba/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.gnupg.org/(fr)/related_software/libksba/index.html
|
|
COMMENT= X.509 library
|
|
LICENSE= gnu-lgpl-v3 AND gnu-gpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
INFO_FILES= yes
|
|
|
|
TEST_TARGET= check
|
|
TEXINFO_REQD= 4.0
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
|
|
CONFIGURE_ARGS+= CC_FOR_BUILD=${NATIVE_CC:Q}
|
|
.endif
|
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.2
|
|
.include "../../security/libgpg-error/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|