pkgsrc/security/gnupg2/Makefile
wiz e7439a3e74 Update security/gnupg2 to 2.0.29.
While here, clean up patches. They looked pretty cargo-culty to me and
were not commented.
File a bug report for one of the remaining ones and link to it from comment.

Changes in 2.0.29:

Noteworthy changes in version 2.0.29 (2015-09-08)
-------------------------------------------------

 * gpg: Print a PGP-2 fingerprint again instead of a row of "0".

 * gpg: Fixed a race condition from multiple several "gpg --verify".

 * gpg: Print FAILURE status lines to help GPGME.

 * gpgsm: Fixed a regression in CSR generation.

 * scdaemon: Fixed problems with some pinpads.

 * Fixed a few other bugs.
2015-09-09 18:15:34 +00:00

53 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.63 2015/09/09 18:15:34 wiz Exp $
DISTNAME= gnupg-2.0.29
PKGNAME= ${DISTNAME:S/gnupg/gnupg2/}
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnupg.org/
COMMENT= GnuPG with OpenPGP and S/MIME capabilities
LICENSE= gnu-gpl-v3
INFO_FILES= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-pinentry-pgm=${BUILDLINK_PREFIX.pinentry}/bin/pinentry
.include "../../mk/bsd.prefs.mk"
# Sometimes wrong include file gets detected, e.g. for Clang
.if defined(OSX_SDK_PATH) && exists(${OSX_SDK_PATH:Q}/usr/include/stdint.h)
CONFIGURE_ENV+= gl_cv_absolute_stdint_h=${OSX_SDK_PATH:Q}/usr/include/stdint.h
.elif exists(/usr/include/stdint.h)
CONFIGURE_ENV+= gl_cv_absolute_stdint_h=/usr/include/stdint.h
.endif
TEST_TARGET= check
DEPENDS+= pinentry-[0-9]*:../../security/pinentry
.include "options.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pth/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/libassuan2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.5.0
.include "../../security/libgcrypt/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.4
.include "../../security/libgpg-error/buildlink3.mk"
BUILDLINK_API_DEPENDS.libksba+= libksba>=1.0.2
.include "../../security/libksba/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"