gcrypt/gcrypt.patch

Sat, 24 Mar 2012 21:40:49 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 24 Mar 2012 21:40:49 +0100
changeset 414
fd611cde817f
permissions
-rw-r--r--

Introduce many changes to the buildconf and source code including:
(01) clean up, update, and partially update default config files,
(02) seems that Melware is unable to perform release engineering so
update chan_capi to new daily snapshot to solve echo problems,
(03) correct Asterisk inadequate hard coded gmime version check,
(04) force postgresql pthreads linkage to solve build problem,
(05) remove buggy hard coded LibXML configure definitions,
(06) remove local architecture specification to allow GCC
internal logic to determine proper CPU type instead,
(07) remove vendor sound install target causing uncontrolled
downloads and non RPM managed file installation,
(08) solve long outstanding bug in tcptls causing Asterisk
to ignore any intermediate CA certificate signatures,
(09) back out Digium engineering team's bright idea of replacing the
very portable and pervasive POSIX rand(1) with ast_random(), and
then not even implementing it causing all references to fail in
platforms not providing the very new POSIX.1-2008 mkdtemp(3)
function only distributed by BSD and some Linux,
(10) withdraw advanced linker symbol manipulations from SVR5 builds
until either Binutils supports hybrid versioned and anonymous
linker scripts or GCC stops hard coding versioned linker scripts,
(11) correct missing library linkage, some tailored to a specific OS,
(12) remove outdated logic for the no longer distributed gmime-config(1),
(13) remove local gmime buildconf hacks now that Asterisk has corrected
their own build configuration to almost portably support gmime,
(14) solve build problems relating to undetected LibXML paths,
(15) correct erroneous out of tree include definitions,
(16) improve some variable and comment naming,
(17) simplify sound language path hierarchy creation,
and correct australian english installation logic.

michael@107 1 Index: cipher/cipher.c
michael@107 2 diff -Nau cipher/cipher.c.orig cipher/cipher.c
michael@107 3 --- cipher/cipher.c.orig 2008-09-12 15:23:37.000000000 +0200
michael@107 4 +++ cipher/cipher.c 2009-02-18 19:07:30.388253084 +0100
michael@107 5 @@ -97,6 +97,10 @@
michael@107 6 { &_gcry_cipher_spec_rfc2268_40,
michael@107 7 &dummy_extra_spec, GCRY_CIPHER_RFC2268_40 },
michael@107 8 #endif
michael@107 9 +#if USE_IDEA
michael@107 10 + { &_gcry_cipher_spec_idea,
michael@107 11 + &dummy_extra_spec, GCRY_CIPHER_IDEA },
michael@107 12 +#endif
michael@107 13 #if USE_SEED
michael@107 14 { &_gcry_cipher_spec_seed,
michael@107 15 &dummy_extra_spec, GCRY_CIPHER_SEED },
michael@107 16 Index: src/cipher.h
michael@107 17 diff -Nau src/cipher.h.orig src/cipher.h
michael@107 18 --- src/cipher.h.orig 2008-09-03 12:04:42.000000000 +0200
michael@107 19 +++ src/cipher.h 2009-02-18 19:09:20.193397539 +0100
michael@107 20 @@ -105,6 +105,7 @@
michael@107 21 extern gcry_cipher_spec_t _gcry_cipher_spec_camellia128;
michael@107 22 extern gcry_cipher_spec_t _gcry_cipher_spec_camellia192;
michael@107 23 extern gcry_cipher_spec_t _gcry_cipher_spec_camellia256;
michael@107 24 +extern gcry_cipher_spec_t _gcry_cipher_spec_idea;
michael@107 25
michael@107 26 extern cipher_extra_spec_t _gcry_cipher_extraspec_tripledes;
michael@107 27 extern cipher_extra_spec_t _gcry_cipher_extraspec_aes;
michael@107 28 Index: tests/basic.c
michael@107 29 diff -Nau tests/basic.c.orig tests/basic.c
michael@107 30 --- tests/basic.c.orig 2008-09-18 16:35:57.000000000 +0200
michael@107 31 +++ tests/basic.c 2009-02-18 19:10:14.460255272 +0100
michael@107 32 @@ -1028,6 +1028,9 @@
michael@107 33 GCRY_CIPHER_CAMELLIA192,
michael@107 34 GCRY_CIPHER_CAMELLIA256,
michael@107 35 #endif
michael@107 36 +#if USE_IDEA
michael@107 37 + GCRY_CIPHER_IDEA,
michael@107 38 +#endif
michael@107 39 0
michael@107 40 };
michael@107 41 static int algos2[] = {

mercurial