pkgsrc/security/gnupg/Makefile
wiz fae189b50e Update to 1.2.4:
* Added read-only support for BZIP2 compression.  This should be
      considered experimental, and is only available if the libbzip2
      library <http://sources.redhat.com/bzip2/> is installed.

    * Added the ability to handle messages that can be decrypted with
      either a passphrase or a secret key.

    * Most support for Elgamal sign+encrypt keys has been removed.
      Old signatures may still be verified, and existing encrypted
      messages may still be decrypted, but no new signatures may be
      issued by, and no new messages will be encrypted to, these keys.
      Elgamal sign+encrypt keys are not part of the web of trust.  The
      only new message that can be generated by an Elgamal
      sign+encrypt key is a key revocation.  Note that in a future
      version of GnuPG (currently planned for 1.4), all support for
      Elgamal sign+encrypt keys will be removed, so take this
      opportunity to revoke old keys now.

    * A Russian translation is included again as well as a new
      Belarusian translation.
2003-12-25 14:05:02 +00:00

68 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.56 2003/12/25 14:05:02 wiz Exp $
DISTNAME= gnupg-1.2.4
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \
ftp://ftp.planetmirror.com/pub/gnupg/gnupg/ \
ftp://gd.tuwien.ac.at/privacy/gnupg/gnupg/ \
ftp://ftp.jyu.fi/pub/crypt/gcrypt/gnupg/ \
ftp://ftp.freenet.de/pub/ftp.gnupg.org/gcrypt/gnupg/
EXTRACT_SUFX= .tar.bz2
# don't remove this -- we may add idea.c.gz to it below
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.gnupg.org/
COMMENT= Privacy Guard, public-Key encryption and digital signatures
BUILD_USES_MSGFMT= yes
CRYPTO= yes
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
USE_PKGLOCALEDIR= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --enable-tiger --with-static-rnd=auto
TEST_TARGET= check
USE_GNU_TOOLS+= sed
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
INFO_FILES= gpg.info gpgv.info
.include "../../mk/bsd.prefs.mk"
BUILD_DEFS+= USE_I586 USE_IDEA USE_OPENLDAP
.if defined(USE_I586) && ${USE_I586} == YES
# use assembler routines optimized for i586
ONLY_FOR_PLATFORM= *-*-i386
MACHINE_GNU_ARCH= i586
.endif
.if defined(USE_IDEA) && ${USE_IDEA} == YES
# use of IDEA as crypto function
LICENCE= fee-based-commercial-use
DISTFILES+= idea.c.gz
SITES_idea.c.gz=ftp://ftp.gnupg.dk/pub/contrib-dk/ \
http://www.gnupg.dk/contrib-dk/
pre-configure:
${GZCAT} ${DISTDIR}/idea.c.gz > ${WRKSRC}/cipher/idea.c
.endif
.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
.include "../../databases/openldap/buildlink2.mk"
PLIST_SUBST+= OPENLDAP=""
.else
CONFIGURE_ARGS+=--disable-ldap
PLIST_SUBST+= OPENLDAP="@comment "
.endif
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"