pkgsrc/security/botan/Makefile

49 lines
1.2 KiB
Makefile
Raw Normal View History

2017-11-26 11:39:37 +01:00
# $NetBSD: Makefile,v 1.44 2017/11/26 10:39:37 wiz Exp $
DISTNAME= Botan-1.10.16
Update to Botan 1.8.13: * 1.8.13, 2011-07-02 - A race in Algorithm_Factory that could cause crashes in multithreaded code has been fixed. * 1.8.12, 2011-06-20 - If EMSA3(Raw) was used for more than one signature, it would produce incorrect output. - Fix the --enable-debug option to configure.py - Improve OS detection on Cygwin - Fix compilation under Sun Studio 12 on Solaris - Fix a memory leak in the constructors of DataSource_Stream and DataSink_Stream which would occur if opening the file failed. PR 144 * 1.8.11, 2010-11-02 - Fix a number of CRL encoding and decoding bugs - When building a debug library under VC++, use the debug runtime - Fix compilation under Sun Studio on Linux and Solaris - Add several functions for compatability with 1.9 - In the examples, read most input files as binary - The Perl build script has been removed in this release * 1.8.10, 2010-08-31 - Switch default PKCS #8 encryption algorithm from 3DES to AES-256 - Increase default hash iterations from 2048 to 10000 in PBES1 and PBES2 - Use small tables in the first round of AES - Add PBKDF typedef and get_pbkdf for better compatability with 1.9 - Add version of S2K::derive_key taking salt and iteration count - Enable the /proc-walking entropy source on NetBSD - Fix the doxygen makefile target * 1.8.9, 2010-06-16 - Use constant time multiplication in IDEA - Avoid possible timing attack against OAEP decoding - Add new X509::BER_encode and PKCS8::BER_encode - Enable DLL builds under Windows - Add Win32 installer support - Add support for the Clang compiler - Fix problem in semcem.h preventing build under Clang or GCC 3.4 - Fix bug that prevented creation of DSA groups under 1024 bits - Fix crash in GMP_Engine if library is shutdown and reinitialized - Work around problem with recent binutils in x86-64 SHA-1 - The Perl build script is no longer supported and refuses to run by default * 1.8.8, 2009-11-03 - Alter Skein-512 to match the tweaked 1.2 specification - Fix use of inline asm for access to x86 bswap function - Allow building the library without AES enabled - Add 'powerpc64' alias to ppc64 arch for Gentoo ebuild
2011-11-25 22:25:26 +01:00
PKGNAME= ${DISTNAME:tl}
CATEGORIES= security
2017-11-26 11:39:37 +01:00
MASTER_SITES= https://botan.randombit.net/releases/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
2017-11-26 11:39:37 +01:00
HOMEPAGE= https://botan.randombit.net/
COMMENT= Portable, easy to use, and efficient C++ crypto library
2014-02-24 20:58:19 +01:00
LICENSE= 2-clause-bsd
HAS_CONFIGURE= yes
USE_LANGUAGES= c++
PYTHON_FOR_BUILD_ONLY= yes
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 1.8.14; 1.10 is supposedly better
CONFIG_SHELL= ${PYTHONBIN}
CONFIGURE_SCRIPT= ./configure.py
CONFIGURE_ARGS+= --prefix=${PREFIX}
2016-06-19 07:26:37 +02:00
CONFIGURE_ARGS+= --without-sphinx
MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= x86 x86_64 i386
2009-10-06 20:34:14 +02:00
.if ${MACHINE_ARCH} == "x86_64"
CONFIGURE_ARGS+= --cpu=amd64
2009-10-06 20:34:14 +02:00
PLIST.x86_64= yes
PLIST.x86= yes
.elif ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --cpu=i386
PLIST.i386= yes
2009-10-06 20:34:14 +02:00
PLIST.x86= yes
.elif ${MACHINE_ARCH} == "powerpc"
CONFIGURE_ARGS+= --cpu=ppc
.elif ${MACHINE_ARCH} == "powerpc64"
CONFIGURE_ARGS+= --cpu=ppc64
.elif ${MACHINE_ARCH} == "arm"
CONFIGURE_ARGS+= --cpu=arm
.endif
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"