Botan (formerly OpenCL) aims to be a portable, easy to use, and efficient C++ crypto library. It currently supports the following algorithms and primes: * Public key encryption algorithms RSA, ElGamal, DLIES (OAEP, PKCS #1 v1.5) * Public key signature algorithms RSA, DSA, ECDSA, Nyberg-Rueppel, Rabin-Williams (PSS, PKCS #1 v1.5, X9.31) * Key agreement techniques Diffie-Hellman and ECKAEG * Block cipher modes ECB, CBC, CBC/CTS, CFB, OFB, CTR and EAX * AES (Rijndael) and AES candidates Serpent, Twofish, MARS, CAST-256, RC6 * DES, and variants 3DES and DESX * Stream ciphers ARC4, Salsa20, Turing, and WiderWake4+1 * National/telecom block ciphers SEED, KASUMI, MISTY1, GOST 28147, Skipjack * Other block ciphers including Blowfish, CAST-128, IDEA, Noekeon, TEA, XTEA, RC2, RC5, SAFER-SK, and Square * Block cipher constructions Luby-Rackoff and Lion * Authentication codes HMAC, CMAC (aka OMAC1), CBC-MAC, ANSI X9.19 DES-MAC, * Hash functions SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, Whirlpool, Tiger RIPEMD-160, RIPEMD-128, HAS-160, GOST 34.11, MD2, MD4, MD5, FORK-256 * Checksums Adler32, CRC24, CRC32 * X.509 certificates (+ generating new self-signed and CA certs), X.509 CRLs * PKCS #10 certificate requests * Card Verifiable Certificates (used in ePassports) * PBKDFs: PBKDF1 from PKCS #5 v1.5, PBKDF2 from PKCS #5 v2.0 OpenPGP S2K * KDF1 and KDF2 from IEEE 1363 * PRFs from ANSI X9.42, SSL v3.0, TLS v1.0
37 lines
881 B
Makefile
37 lines
881 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/04/08 07:44:51 pettai Exp $
|
|
|
|
DISTNAME= Botan-1.8.1
|
|
PKGNAME= botan-1.8.1
|
|
#PKGREVISION= 0
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://files.randombit.net/botan/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pettai@nordu.net
|
|
HOMEPAGE= http://botan.randombit.net/
|
|
COMMENT= Portable, easy to use, and efficient C++ crypto library
|
|
LICENSE= botan-license
|
|
LICENSE_FILE= ${FILESDIR}/botan-license
|
|
|
|
#BROKEN_IN= pkgsrc-2006Q4
|
|
|
|
USE_TOOLS+= perl
|
|
|
|
USE_LANGUAGES= c++
|
|
REPLACE_PERL+= ./configure.pl
|
|
#HAS_CONFIGURE= yes
|
|
CONFIG_SHELL= perl
|
|
#CONFIGURE_SCRIPT= ./configure.pl
|
|
#CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
|
|
MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
|
|
|
|
CXXFLAGS.DragonFly+= -D_DRAGONFLY_SOURCE
|
|
#CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|
BUILDLINK_TRANSFORM+= rm:-mcpu=i686
|
|
|
|
pre-build:
|
|
cd ${WRKSRC} && \
|
|
${CONFIG_SHELL} ./configure.pl --prefix=${PREFIX:Q}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|