f5a2246b38
Noteworthy changes in version 1.10.0: * Now returns more specific error codes for decryption to distinguish between bad passphrase, user canceled, and no secret key. * Now returns key origin information if available. * Added context flag "auto-key-retrieve" to selectively enable the corresponding gpg option. * Added flag is_de_vs to decryption and verify results. * py: Use SEEK_SET as default for data.seek. * cpp: Various new APIs. * Reduced spawn overhead on Linux again. Added new configure option --disable-linux-getdents to disable this feature for very old Linux versions. * Improved the Python bindings build system. * Made the test suite less fragile.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.87 2017/12/21 09:47:31 adam Exp $
|
|
|
|
DISTNAME= gpgme-1.10.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnupg.org/related_software/gpgme/
|
|
COMMENT= GnuPG Made Easy
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES+= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
PTHREAD_OPTS+= require
|
|
INFO_FILES= yes
|
|
|
|
SUBST_CLASSES+= pthread
|
|
SUBST_FILES.pthread= src/gpgme-config.in
|
|
SUBST_SED.pthread+= -e 's,@PTHREAD_LIBS@,${PTHREAD_LDFLAGS} ${PTHREAD_LIBS},g'
|
|
SUBST_SED.pthread+= -e 's,@PTHREAD_CFLAGS@,${PTHREAD_CFLAGS},g'
|
|
SUBST_STAGE.pthread= post-patch
|
|
|
|
CPPFLAGS.Darwin= -D_POSIX_C_SOURCE=200809L
|
|
LIBS.SunOS+= -lnsl -lsocket
|
|
|
|
TEST_TARGET= check
|
|
#TEST_ENV+= GPGME_DEBUG=9
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libassuan+= libassuan>=2.0.2
|
|
.include "../../security/libassuan2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.17
|
|
.include "../../security/libgpg-error/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|