Hello community, here is the log from the commit of package libopencdk checked in at Fri Sep 1 01:47:47 CEST 2006. -------- --- libopencdk/libopencdk.changes 2006-07-31 13:14:12.000000000 +0200 +++ libopencdk/libopencdk.changes 2006-08-31 17:25:09.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Aug 31 16:26:57 CEST 2006 - mkoenig@suse.de + +- update to version 0.5.9 (minor bugfix release) +- added libgcrypt-devel, glibc-devel, libgpg-error-devel and + zlib-devel to Requires tag of devel subpackage. + +------------------------------------------------------------------- Old: ---- opencdk-0.5.8.tar.bz2 New: ---- opencdk-0.5.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libopencdk.spec ++++++ --- /var/tmp/diff_new_pack.3XBbi5/_old 2006-09-01 01:47:41.000000000 +0200 +++ /var/tmp/diff_new_pack.3XBbi5/_new 2006-09-01 01:47:41.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libopencdk (Version 0.5.8) +# spec file for package libopencdk (Version 0.5.9) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -13,15 +13,15 @@ Name: libopencdk BuildRequires: libgcrypt-devel URL: http://www.gnutls.org/ -Version: 0.5.8 -Release: 2 +Version: 0.5.9 +Release: 1 Summary: Library Providing Basic Parts of the OpenPGP Message Format License: GPL Group: System/Libraries Autoreqprov: on Source: opencdk-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch1: %{name}-%{version}-warnings.diff +Patch1: %{name}-0.5.8-warnings.diff %description For reference, read RFC2440. Due to some possible security problems, @@ -44,7 +44,7 @@ %package devel Summary: Development tools for programs which will use the opencdk library Group: Development/Libraries/C and C++ -Requires: libopencdk = %{version} +Requires: libopencdk = %{version}, libgcrypt-devel, glibc-devel, libgpg-error-devel, zlib-devel %description devel This package contains the header files and static libraries for @@ -95,6 +95,10 @@ %_datadir/aclocal/* %changelog -n libopencdk +* Thu Aug 31 2006 - mkoenig@suse.de +- update to version 0.5.9 (minor bugfix release) +- added libgcrypt-devel, glibc-devel, libgpg-error-devel and + zlib-devel to Requires tag of devel subpackage. * Mon Jul 31 2006 - mskibbe@suse.de - fix a compiler warning see bug #177157 - libopencdk-0.5.5-13: local variable used before set ++++++ opencdk-0.5.8.tar.bz2 -> opencdk-0.5.9.tar.bz2 ++++++ ++++ 26142 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/ChangeLog new/opencdk-0.5.9/ChangeLog --- old/opencdk-0.5.8/ChangeLog 2005-08-31 16:42:44.000000000 +0200 +++ new/opencdk-0.5.9/ChangeLog 2006-08-06 16:26:33.000000000 +0200 @@ -1,3 +1,52 @@ +2006-08-06 Simon Josefsson <simon@josefsson.org> + + * NEWS: Version 0.5.9. + +2006-08-06 Simon Josefsson <simon@josefsson.org> + + * configure.ac: Change bug report address. + +2006-08-06 Simon Josefsson <simon@josefsson.org> + + * NEWS: Add. + +2006-08-06 Simon Josefsson <simon@josefsson.org> + + * src/opencdk.h.in: Don't use trailing comma in last enum constant, + for IBM C v6. Tiny patch from Albert Chin + <gnutls-dev@mlists.thewrittenword.com>. + +2006-08-06 Simon Josefsson <simon@josefsson.org> + + * configure.ac: Bump version. + +2006-08-06 Simon Josefsson <simon@josefsson.org> + + * NEWS: Add. + +2006-08-06 Simon Josefsson <simon@josefsson.org> + + * src/kbnode.c: + (cdk_kbnode_write_to_mem): Return CDK_Too_Short when buf is NULL, + tiny patch from Mario Lenz <mario.lenz@gmx.net>. + +2006-02-02 Simon Josefsson <simon@josefsson.org> + + * src/main.h, src/packet.h: Fix prototypes for AIX compiler, + reported by "Heiden, John" <JHeiden@UTNet.UToledo.Edu>. + +2005-12-05 Simon Josefsson <simon@josefsson.org> + + * src/opencdk-config.in: Add -lz. + +2005-12-05 Simon Josefsson <simon@josefsson.org> + + * NEWS: Fix. + +2005-12-05 Simon Josefsson <simon@josefsson.org> + + * NEWS: Add. + 2005-08-31 Simon Josefsson <simon@josefsson.org> * NEWS: Add. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/NEWS new/opencdk-0.5.9/NEWS --- old/opencdk-0.5.8/NEWS 2005-08-31 16:30:30.000000000 +0200 +++ new/opencdk-0.5.9/NEWS 2006-08-06 16:25:29.000000000 +0200 @@ -1,3 +1,16 @@ +Noteworthy changes in version 0.5.9 (2006-08-06) +------------------------------------------------ + +* Fix cdk_kbnode_write_to_mem to return CDK_Too_Short when buf is + NULL, tiny patch from Mario Lenz. + +* Fixed opencdk-config script to include -lz, thanks to Weng Liong, Low. + +* Fix prototypes for AIX compiler, reported by John Heiden. + +* Don't use trailing comma in last enum constant, for IBM C v6. Tiny + patch from Albert Chin. + Noteworthy changes in version 0.5.8 (2005-08-31) ------------------------------------------------ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/configure.ac new/opencdk-0.5.9/configure.ac --- old/opencdk-0.5.8/configure.ac 2005-08-31 16:26:54.000000000 +0200 +++ new/opencdk-0.5.9/configure.ac 2006-08-06 15:21:50.000000000 +0200 @@ -1,4 +1,5 @@ dnl configure.ac - OpenCDK Configure script +dnl Copyright (C) 2006 Free Software Foundation, Inc. dnl Copyright (C) 2002, 2003, 2004, 2005 Timo Schulz dnl dnl This file is part of OpenCDK. @@ -18,7 +19,7 @@ dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA dnl -AC_INIT(opencdk, 0.5.8, twoaday@freakmail.de) +AC_INIT(opencdk, 0.5.9, bug-gnutls@gnutls.org) AC_PREREQ(2.52) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) @@ -29,7 +30,7 @@ # (No interfaces changed: REVISION++) AC_SUBST(LT_CURRENT, 8) AC_SUBST(LT_AGE, 0) -AC_SUBST(LT_REVISION, 4) +AC_SUBST(LT_REVISION, 5) AC_PROG_CC AC_GNU_SOURCE diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/src/kbnode.c new/opencdk-0.5.9/src/kbnode.c --- old/opencdk-0.5.8/src/kbnode.c 2005-06-13 14:24:50.000000000 +0200 +++ new/opencdk-0.5.9/src/kbnode.c 2006-08-06 15:13:07.000000000 +0200 @@ -1,6 +1,6 @@ /* -*- Mode: C; c-file-style: "bsd" -*- * kbnode.c - keyblock node utility functions - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2006 Free Software Foundation, Inc. * Copyright (C) 2002, 2003 Timo Schulz * * This file is part of OpenCDK. @@ -438,7 +438,7 @@ if( !buf ) { *r_nbytes = len; /* only return the length of the buffer */ cdk_stream_close( s ); - return 0; + return CDK_Too_Short; } if( *r_nbytes < len ) rc = CDK_Too_Short; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/src/main.h new/opencdk-0.5.9/src/main.h --- old/opencdk-0.5.8/src/main.h 2005-06-13 14:24:51.000000000 +0200 +++ new/opencdk-0.5.9/src/main.h 2006-08-06 15:13:07.000000000 +0200 @@ -1,4 +1,5 @@ /* main.h + * Copyright (C) 2006 Free Software Foundation * Copyright (C) 2002, 2003, 2004 Timo Schulz * * This file is part of OpenCDK. @@ -112,9 +113,10 @@ void _cdk_kbnode_clone (cdk_kbnode_t node); /*-- sesskey.c --*/ -int _cdk_digest_encode_pkcs1( byte ** r_md, size_t * r_mdlen, int pk_algo, - const byte * md, int digest_algo, unsigned nbits ); -int _cdk_sk_unprotect_auto( cdk_ctx_t hd, cdk_pkt_seckey_t sk ); +cdk_error_t _cdk_digest_encode_pkcs1( byte ** r_md, size_t * r_mdlen, + int pk_algo, const byte * md, + int digest_algo, unsigned nbits ); +cdk_error_t _cdk_sk_unprotect_auto( cdk_ctx_t hd, cdk_pkt_seckey_t sk ); /*-- keydb.c --*/ int _cdk_keydb_get_pk_byusage (cdk_keydb_hd_t hd, const char * name, diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/src/opencdk-config.in new/opencdk-0.5.9/src/opencdk-config.in --- old/opencdk-0.5.8/src/opencdk-config.in 2002-02-11 20:54:25.000000000 +0100 +++ new/opencdk-0.5.9/src/opencdk-config.in 2006-08-06 15:13:07.000000000 +0200 @@ -1,4 +1,5 @@ #!/bin/sh +# Copyright (C) 2005 Free Software Foundation, Inc. # Copyright (C) 2002 Timo Schulz, Free Software Foundation, Inc. # # This file is free software; as a special exception the author gives @@ -13,7 +14,7 @@ exec_prefix=@exec_prefix@ exec_prefix_set=no -opencdk_libs="@LIBOPENCDK_LIBS@" +opencdk_libs="@LIBOPENCDK_LIBS@ @LIBZ@" opencdk_cflags="@LIBOPENCDK_CFLAGS@" usage() diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/src/opencdk.h new/opencdk-0.5.9/src/opencdk.h --- old/opencdk-0.5.8/src/opencdk.h 2005-08-31 16:30:21.000000000 +0200 +++ new/opencdk-0.5.9/src/opencdk.h 2006-08-06 15:23:19.000000000 +0200 @@ -1,4 +1,5 @@ /* opencdk.h - Open Crypto Development Kit (OpenCDK) + * Copyright (C) 2006 Free Software Foundation, Inc. * Copyright (C) 2001, 2002, 2003, 2005 Timo Schulz * * This file is part of OpenCDK. @@ -23,7 +24,7 @@ #include <stdarg.h> -#define OPENCDK_VERSION "0.5.8" +#define OPENCDK_VERSION "0.5.9" #ifdef __cplusplus extern "C" { @@ -112,7 +113,7 @@ CDK_Wrong_Format = 22, CDK_Inv_Packet_Ver = 23, CDK_Too_Short = 24, - CDK_Unusable_Key = 25, + CDK_Unusable_Key = 25 } cdk_error_t; @@ -160,7 +161,7 @@ CDK_MD_RMD160 = 3, CDK_MD_MD2 = 5, CDK_MD_TIGER = 6, /* will be removed and thus: reserved */ - CDK_MD_SHA256 = 8, + CDK_MD_SHA256 = 8 }; enum cdk_cipher_algo_t { @@ -174,7 +175,7 @@ CDK_CIPHER_AES = 7, CDK_CIPHER_AES192 = 8, CDK_CIPHER_AES256 = 9, - CDK_CIPHER_TWOFISH = 10, + CDK_CIPHER_TWOFISH = 10 }; enum cdk_s2k_type_t { @@ -228,12 +229,12 @@ CDK_ARMOR_PUBKEY = 1, CDK_ARMOR_SECKEY = 2, CDK_ARMOR_SIGNATURE = 3, - CDK_ARMOR_CLEARSIG = 4, + CDK_ARMOR_CLEARSIG = 4 }; enum cdk_stream_control_t { CDK_STREAMCTL_DISABLE = 2, - CDK_STREAMCTL_COMPRESSED = 3, + CDK_STREAMCTL_COMPRESSED = 3 }; enum cdk_keydb_flag_t { @@ -267,7 +268,7 @@ CDK_KEY_INVALID = 1, /* missing or wrong self signature */ CDK_KEY_EXPIRED = 2, CDK_KEY_REVOKED = 4, - CDK_KEY_NOSIGNER= 8, + CDK_KEY_NOSIGNER= 8 }; enum cdk_trust_flag_t { @@ -316,7 +317,7 @@ /* cdk key flags */ CDK_FLAG_KEY_REVOKED = 256, CDK_FLAG_KEY_EXPIRED = 512, - CDK_FLAG_SIG_EXPIRED = 1024, + CDK_FLAG_SIG_EXPIRED = 1024 }; @@ -345,7 +346,7 @@ CDK_PKT_OLD_COMMENT = 16, CDK_PKT_ATTRIBUTE = 17, CDK_PKT_ENCRYPTED_MDC = 18, - CDK_PKT_MDC = 19, + CDK_PKT_MDC = 19 } cdk_packet_type_t; #define CDK_PKT_IS_ENCRYPTED(pkttype) (\ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/src/opencdk.h.in new/opencdk-0.5.9/src/opencdk.h.in --- old/opencdk-0.5.8/src/opencdk.h.in 2005-06-14 12:05:22.000000000 +0200 +++ new/opencdk-0.5.9/src/opencdk.h.in 2006-08-06 15:21:03.000000000 +0200 @@ -1,4 +1,5 @@ /* opencdk.h - Open Crypto Development Kit (OpenCDK) + * Copyright (C) 2006 Free Software Foundation, Inc. * Copyright (C) 2001, 2002, 2003, 2005 Timo Schulz * * This file is part of OpenCDK. @@ -112,7 +113,7 @@ CDK_Wrong_Format = 22, CDK_Inv_Packet_Ver = 23, CDK_Too_Short = 24, - CDK_Unusable_Key = 25, + CDK_Unusable_Key = 25 } cdk_error_t; @@ -160,7 +161,7 @@ CDK_MD_RMD160 = 3, CDK_MD_MD2 = 5, CDK_MD_TIGER = 6, /* will be removed and thus: reserved */ - CDK_MD_SHA256 = 8, + CDK_MD_SHA256 = 8 }; enum cdk_cipher_algo_t { @@ -174,7 +175,7 @@ CDK_CIPHER_AES = 7, CDK_CIPHER_AES192 = 8, CDK_CIPHER_AES256 = 9, - CDK_CIPHER_TWOFISH = 10, + CDK_CIPHER_TWOFISH = 10 }; enum cdk_s2k_type_t { @@ -228,12 +229,12 @@ CDK_ARMOR_PUBKEY = 1, CDK_ARMOR_SECKEY = 2, CDK_ARMOR_SIGNATURE = 3, - CDK_ARMOR_CLEARSIG = 4, + CDK_ARMOR_CLEARSIG = 4 }; enum cdk_stream_control_t { CDK_STREAMCTL_DISABLE = 2, - CDK_STREAMCTL_COMPRESSED = 3, + CDK_STREAMCTL_COMPRESSED = 3 }; enum cdk_keydb_flag_t { @@ -267,7 +268,7 @@ CDK_KEY_INVALID = 1, /* missing or wrong self signature */ CDK_KEY_EXPIRED = 2, CDK_KEY_REVOKED = 4, - CDK_KEY_NOSIGNER= 8, + CDK_KEY_NOSIGNER= 8 }; enum cdk_trust_flag_t { @@ -316,7 +317,7 @@ /* cdk key flags */ CDK_FLAG_KEY_REVOKED = 256, CDK_FLAG_KEY_EXPIRED = 512, - CDK_FLAG_SIG_EXPIRED = 1024, + CDK_FLAG_SIG_EXPIRED = 1024 }; @@ -345,7 +346,7 @@ CDK_PKT_OLD_COMMENT = 16, CDK_PKT_ATTRIBUTE = 17, CDK_PKT_ENCRYPTED_MDC = 18, - CDK_PKT_MDC = 19, + CDK_PKT_MDC = 19 } cdk_packet_type_t; #define CDK_PKT_IS_ENCRYPTED(pkttype) (\ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/opencdk-0.5.8/src/packet.h new/opencdk-0.5.9/src/packet.h --- old/opencdk-0.5.8/src/packet.h 2005-06-13 14:24:51.000000000 +0200 +++ new/opencdk-0.5.9/src/packet.h 2006-08-06 15:13:07.000000000 +0200 @@ -1,5 +1,6 @@ /* -*- Mode: C; c-file-style: "bsd" -*- * packet.h - Internal packet routines + * Copyright (C) 2006 Free Software Foundation * Copyright (C) 2002, 2003 Timo Schulz * * This file is part of OpenCDK. @@ -35,12 +36,12 @@ void _cdk_free_pubkey( cdk_pkt_pubkey_t pk ); void _cdk_free_seckey( cdk_pkt_seckey_t sk ); cdk_prefitem_t _cdk_copy_prefs( const cdk_prefitem_t prefs ); -int _cdk_copy_userid( cdk_pkt_userid_t *dst, cdk_pkt_userid_t src ); -int _cdk_copy_pubkey( cdk_pkt_pubkey_t* dst, cdk_pkt_pubkey_t src ); -int _cdk_copy_seckey( cdk_pkt_seckey_t* dst, cdk_pkt_seckey_t src ); -int _cdk_copy_pk_to_sk( cdk_pkt_pubkey_t pk, cdk_pkt_seckey_t sk ); -int _cdk_copy_signature( cdk_pkt_signature_t* dst, cdk_pkt_signature_t src ); -int _cdk_pubkey_compare( cdk_pkt_pubkey_t a, cdk_pkt_pubkey_t b ); +cdk_error_t _cdk_copy_userid( cdk_pkt_userid_t *dst, cdk_pkt_userid_t src ); +cdk_error_t _cdk_copy_pubkey( cdk_pkt_pubkey_t* dst, cdk_pkt_pubkey_t src ); +cdk_error_t _cdk_copy_seckey( cdk_pkt_seckey_t* dst, cdk_pkt_seckey_t src ); +cdk_error_t _cdk_copy_pk_to_sk( cdk_pkt_pubkey_t pk, cdk_pkt_seckey_t sk ); +cdk_error_t _cdk_copy_signature( cdk_pkt_signature_t* dst, cdk_pkt_signature_t src ); +cdk_error_t _cdk_pubkey_compare( cdk_pkt_pubkey_t a, cdk_pkt_pubkey_t b ); #endif /* CDK_PACKET_H */ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de