pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/botan Update to 1.8.7. Too many changes to l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0ddbac34b77
branches:  trunk
changeset: 399644:f0ddbac34b77
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Sep 23 16:03:25 2009 +0000

description:
Update to 1.8.7.  Too many changes to list here.

This update is quite delicate and I'm sure it'll break somewhere.  So far
I've only been able to test it in NetBSD/amd64 and Mac OS X Leopard.

I'm bumping the dependency version in buildlink3.mk because the only package
using this seems to be Monotone, and I'll updating it right away.

diffstat:

 security/botan/Makefile         |   40 +++++---
 security/botan/PLIST.NetBSD     |    4 +
 security/botan/PLIST.common     |  166 ++++++++++++++++++++++++++++-----------
 security/botan/buildlink3.mk    |    4 +-
 security/botan/distinfo         |   22 +---
 security/botan/patches/patch-aa |  126 ------------------------------
 security/botan/patches/patch-ab |   38 ++++++--
 security/botan/patches/patch-ac |   41 +++++++--
 security/botan/patches/patch-ad |   12 --
 security/botan/patches/patch-ae |   12 --
 security/botan/patches/patch-af |   12 --
 security/botan/patches/patch-ag |   12 --
 security/botan/patches/patch-ah |   20 ----
 security/botan/patches/patch-ai |   12 --
 security/botan/patches/patch-aj |   12 --
 security/botan/patches/patch-ak |    8 +-
 16 files changed, 218 insertions(+), 323 deletions(-)

diffs (truncated from 771 to 300 lines):

diff -r 839a6e99d60b -r f0ddbac34b77 security/botan/Makefile
--- a/security/botan/Makefile   Wed Sep 23 15:22:36 2009 +0000
+++ b/security/botan/Makefile   Wed Sep 23 16:03:25 2009 +0000
@@ -1,31 +1,39 @@
-# $NetBSD: Makefile,v 1.13 2009/08/25 12:32:56 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2009/09/23 16:03:25 jmmv Exp $
 
-DISTNAME=      Botan-1.4.11
-PKGNAME=       botan-1.4.11
-PKGREVISION=   1
+DISTNAME=      Botan-1.8.7
+PKGNAME=       botan-1.8.7
 CATEGORIES=    security
-MASTER_SITES=  http://files.randombit.net/botan/archive/v1.4/
+MASTER_SITES=  http://files.randombit.net/botan/archive/v1.8/
 EXTRACT_SUFX=  .tgz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://botan.randombit.net/
 COMMENT=       Portable, easy to use, and efficient C++ crypto library
 
-USE_TOOLS+=    perl
+PKG_DESTDIR_SUPPORT=   user-destdir
 
-USE_LANGUAGES= c++
-REPLACE_PERL+= ./configure.pl
-HAS_CONFIGURE= yes
-CONFIG_SHELL=          perl
-CONFIGURE_SCRIPT=      ./configure.pl
+HAS_CONFIGURE=         yes
+REPLACE_PYTHON+=       configure.pl
+USE_LANGUAGES=         c++
+
+PYTHON_FOR_BUILD_ONLY= yes
+
+CONFIG_SHELL=          ${PYTHONBIN}
+CONFIGURE_SCRIPT=      ./configure.py
 CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
 
-MAKE_FLAGS+=   INSTALL_CMD_EXEC=${INSTALL_PROGRAM:Q}
-MAKE_FLAGS+=   INSTALL_CMD_DATA=${INSTALL_DATA:Q}
 MAKE_FLAGS+=   LIB_OPT=${CXXFLAGS:Q}
 
-CXXFLAGS.DragonFly+=   -D_DRAGONFLY_SOURCE
-CXXFLAGS.NetBSD+=      -D_NETBSD_SOURCE
-BUILDLINK_TRANSFORM+=  rm:-mcpu=i686
+.if ${MACHINE_ARCH} == "amd64"
+PLIST_SUBST+=          AMD64=
+PLIST_SUBST+=          AMD64_OR_IA32=
+.elif ${MACHINE_ARCH} == "i386"
+PLIST_SUBST+=          AMD64="@comment "
+PLIST_SUBST+=          AMD64_OR_IA32=
+.else
+PLIST_SUBST+=          AMD64="@comment "
+PLIST_SUBST+=          AMD64_OR_IA32="@comment "
+.endif
 
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 839a6e99d60b -r f0ddbac34b77 security/botan/PLIST.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/botan/PLIST.NetBSD       Wed Sep 23 16:03:25 2009 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST.NetBSD,v 1.1 2009/09/23 16:03:25 jmmv Exp $
+${AMD64_OR_IA32}include/botan/asm_macr.h
+${AMD64_OR_IA32}include/botan/eng_sse2.h
+${AMD64_OR_IA32}include/botan/sha1_sse2.h
diff -r 839a6e99d60b -r f0ddbac34b77 security/botan/PLIST.common
--- a/security/botan/PLIST.common       Wed Sep 23 15:22:36 2009 +0000
+++ b/security/botan/PLIST.common       Wed Sep 23 16:03:25 2009 +0000
@@ -1,85 +1,139 @@
-@comment $NetBSD: PLIST.common,v 1.2 2006/07/21 16:22:36 wiz Exp $
+@comment $NetBSD: PLIST.common,v 1.3 2009/09/23 16:03:25 jmmv Exp $
 bin/botan-config
 include/botan/adler32.h
 include/botan/aes.h
-include/botan/algolist.h
+include/botan/alg_id.h
+include/botan/algo_cache.h
+include/botan/algo_factory.h
 include/botan/allocate.h
 include/botan/arc4.h
-include/botan/asn1.h
+include/botan/asn1_int.h
 include/botan/asn1_obj.h
 include/botan/asn1_oid.h
-include/botan/barrett.h
-include/botan/base.h
+include/botan/auto_rng.h
 include/botan/base64.h
 include/botan/basefilt.h
+include/botan/benchmark.h
 include/botan/ber_dec.h
 include/botan/bigint.h
 include/botan/bit_ops.h
 include/botan/blinding.h
+include/botan/block_cipher.h
 include/botan/blowfish.h
 include/botan/botan.h
-include/botan/botan.py
-include/botan/buf_es.h
+include/botan/bswap.h
+include/botan/buf_comp.h
 include/botan/buf_filt.h
+include/botan/build.h
 include/botan/cast128.h
 include/botan/cast256.h
 include/botan/cbc.h
+include/botan/cbc_mac.h
 include/botan/certstor.h
 include/botan/cfb.h
 include/botan/charset.h
 include/botan/cmac.h
-include/botan/conf.h
-include/botan/config.h
+include/botan/cms_dec.h
+include/botan/cms_enc.h
 include/botan/crc24.h
 include/botan/crc32.h
 include/botan/crl_ent.h
+include/botan/cryptobox.h
 include/botan/ctr.h
 include/botan/cts.h
+include/botan/curve_gfp.h
+include/botan/cvc_ado.h
+include/botan/cvc_ca.h
+include/botan/cvc_cert.h
+include/botan/cvc_gen_cert.h
+include/botan/cvc_key.h
+include/botan/cvc_req.h
+include/botan/cvc_self.h
 include/botan/data_snk.h
 include/botan/data_src.h
+include/botan/datastor.h
 include/botan/def_eng.h
+include/botan/def_powm.h
 include/botan/defalloc.h
 include/botan/der_enc.h
 include/botan/des.h
+include/botan/desx.h
 include/botan/dh.h
+include/botan/dh_core.h
+include/botan/dh_op.h
+include/botan/divide.h
 include/botan/dl_algo.h
-include/botan/dl_param.h
+include/botan/dl_group.h
 include/botan/dlies.h
 include/botan/dsa.h
+include/botan/dsa_core.h
+include/botan/dsa_op.h
+include/botan/eac_asn_obj.h
+include/botan/eac_obj.h
 include/botan/eax.h
+include/botan/ec_dompar.h
 include/botan/ecb.h
+include/botan/ecc_key.h
+include/botan/ecdsa.h
+include/botan/ecdsa_core.h
+include/botan/ecdsa_op.h
+include/botan/ecdsa_sig.h
+include/botan/eckaeg.h
+include/botan/eckaeg_core.h
+include/botan/eckaeg_op.h
+include/botan/elg_core.h
+include/botan/elg_op.h
 include/botan/elgamal.h
 include/botan/eme.h
+include/botan/eme1.h
+include/botan/eme_pkcs.h
 include/botan/emsa.h
+include/botan/emsa1.h
+include/botan/emsa1_bsi.h
+include/botan/emsa2.h
+include/botan/emsa3.h
+include/botan/emsa4.h
+include/botan/emsa_raw.h
+${AMD64}include/botan/eng_amd64.h
 include/botan/engine.h
-include/botan/enums.h
+include/botan/entropy_src.h
+include/botan/es_dev.h
 include/botan/es_egd.h
-include/botan/es_file.h
 include/botan/es_unix.h
 include/botan/exceptn.h
 include/botan/fd_unix.h
 include/botan/filter.h
 include/botan/filters.h
-include/botan/fips140.h
 include/botan/fork256.h
-include/botan/gost.h
+include/botan/freestore.h
+include/botan/get_pbe.h
+include/botan/gfp_element.h
+include/botan/gfp_modulus.h
+include/botan/gost_28147.h
+include/botan/gost_3411.h
 include/botan/has160.h
+include/botan/hash.h
 include/botan/hash_id.h
-include/botan/haval.h
 include/botan/hex.h
 include/botan/hmac.h
+include/botan/hmac_rng.h
 include/botan/idea.h
 include/botan/if_algo.h
+include/botan/if_core.h
+include/botan/if_op.h
 include/botan/init.h
-include/botan/isaac.h
 include/botan/kasumi.h
 include/botan/kdf.h
+include/botan/kdf1.h
+include/botan/kdf2.h
 include/botan/keypair.h
+include/botan/libstate.h
 include/botan/lion.h
-include/botan/look_add.h
+include/botan/loadstor.h
 include/botan/look_pk.h
 include/botan/lookup.h
 include/botan/lubyrack.h
+include/botan/mac.h
 include/botan/mars.h
 include/botan/md2.h
 include/botan/md4.h
@@ -90,15 +144,19 @@
 include/botan/mgf1.h
 include/botan/misty1.h
 include/botan/mmap_mem.h
-include/botan/mod_exp.h
 include/botan/mode_pad.h
 include/botan/modebase.h
+include/botan/mp_asm.h
+include/botan/mp_asmi.h
 include/botan/mp_core.h
-include/botan/mp_madd.h
 include/botan/mp_types.h
 include/botan/mutex.h
+include/botan/mux_noop.h
 include/botan/mux_pthr.h
+include/botan/noekeon.h
 include/botan/nr.h
+include/botan/nr_core.h
+include/botan/nr_op.h
 include/botan/numthry.h
 include/botan/ofb.h
 include/botan/oids.h
@@ -107,20 +165,26 @@
 include/botan/par_hash.h
 include/botan/parsing.h
 include/botan/pbe.h
-include/botan/pbe_pkcs.h
+include/botan/pbes1.h
+include/botan/pbes2.h
+include/botan/pbkdf1.h
+include/botan/pbkdf2.h
 include/botan/pem.h
 include/botan/pgp_s2k.h
 include/botan/pipe.h
 include/botan/pk_algs.h
-include/botan/pk_core.h
+include/botan/pk_engine.h
 include/botan/pk_filts.h
 include/botan/pk_keys.h
-include/botan/pk_ops.h
-include/botan/pk_util.h
 include/botan/pkcs10.h
-include/botan/pkcs5.h
 include/botan/pkcs8.h
+include/botan/point_gfp.h
+include/botan/pow_mod.h
+include/botan/prf_ssl3.h
+include/botan/prf_tls.h
+include/botan/prf_x942.h
 include/botan/pubkey.h
+include/botan/pubkey_enums.h
 include/botan/randpool.h
 include/botan/rc2.h
 include/botan/rc5.h
@@ -129,24 +193,34 @@
 include/botan/rmd128.h
 include/botan/rmd160.h
 include/botan/rng.h
+include/botan/rotate.h
 include/botan/rsa.h
 include/botan/rw.h
 include/botan/s2k.h
 include/botan/safer_sk.h
-include/botan/seal.h
+include/botan/salsa20.h
+include/botan/scan_name.h
 include/botan/secmem.h
 include/botan/secqueue.h
 include/botan/seed.h
+include/botan/selftest.h
 include/botan/serpent.h
 include/botan/sha160.h
-include/botan/sha256.h



Home | Main Index | Thread Index | Old Index