Hello community, here is the log from the commit of package libdiscid for openSUSE:Factory checked in at 2015-02-20 12:00:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdiscid (Old) and /work/SRC/openSUSE:Factory/.libdiscid.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdiscid" Changes: -------- --- /work/SRC/openSUSE:Factory/libdiscid/libdiscid.changes 2013-08-05 20:46:34.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libdiscid.new/libdiscid.changes 2015-02-20 12:00:54.000000000 +0100 @@ -1,0 +2,25 @@ +Tue Feb 17 10:55:42 UTC 2015 - [email protected] + +- Add baselibs.conf as source + +------------------------------------------------------------------- +Tue Feb 17 03:01:01 UTC 2015 - [email protected] + +- Update to version 0.6.1 + * LIB-59: windows: fix bug preventing ISRC reads +- Changes from version 0.6.0 + * LIB-41: add discid_get_troc_string() for fuzzy toc lookup + * LIB-54: add libmusicbrainz example with fuzzy toc lookup + * LIB-43: windows: the default drive is the first cd drive letter + * LIB-45: Linux/BSD/Solaris: try several possible default device names + * LIB-28: Mac: allow drive numbers as devices, default now "1" + * LIB-55, LIB-56: allow drive numbers for Windows and Linux + * LIB-53: discid_get_submission_url() returns the new NGS url + currently no functional change, the old url was redirected + * LIB-52: more validation for parameters of discid_put() + * LIB-48: assert successful read/put when API is used + * the discisrc example prints the name of the device used +- Add pkgconfig(libmusicbrainz5) build require; new upstream dependency +- Update libdiscid-no-crypto.patch + +------------------------------------------------------------------- Old: ---- libdiscid-0.5.2.tar.gz New: ---- libdiscid-0.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdiscid.spec ++++++ --- /var/tmp/diff_new_pack.Jen1xL/_old 2015-02-20 12:00:55.000000000 +0100 +++ /var/tmp/diff_new_pack.Jen1xL/_new 2015-02-20 12:00:55.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libdiscid # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,20 @@ Name: libdiscid -Version: 0.5.2 +Version: 0.6.1 Release: 0 Summary: Library for gathering DiscIDs and ISRCs from audio CDs License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://musicbrainz.org/doc/libdiscid Source: http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/%{name}-%{version}.tar.gz +Source1000: baselibs.conf # PATCH-FEATURE-OPENSUSE libdiscid-no-crypto.patch Patch0: libdiscid-no-crypto.patch BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: pkg-config +BuildRequires: pkgconfig(libmusicbrainz5) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++++++ libdiscid-0.5.2.tar.gz -> libdiscid-0.6.1.tar.gz ++++++ ++++ 3839 lines of diff (skipped) ++++++ libdiscid-no-crypto.patch ++++++ --- /var/tmp/diff_new_pack.Jen1xL/_old 2015-02-20 12:00:55.000000000 +0100 +++ /var/tmp/diff_new_pack.Jen1xL/_new 2015-02-20 12:00:55.000000000 +0100 @@ -1,10 +1,10 @@ Subject: use openssl for sha1 Upstream: no -Index: libdiscid-0.5.2/Makefile.am +Index: libdiscid-0.6.1/Makefile.am =================================================================== ---- libdiscid-0.5.2.orig/Makefile.am -+++ libdiscid-0.5.2/Makefile.am +--- libdiscid-0.6.1.orig/Makefile.am ++++ libdiscid-0.6.1/Makefile.am @@ -33,7 +33,7 @@ pc_DATA = libdiscid.pc discid_incdir = $(includedir)/discid @@ -31,10 +31,10 @@ libdiscid_la_SOURCES += src/toc.c src/unix.c src/disc_linux.c endif if OS_NETBSD -Index: libdiscid-0.5.2/src/disc.c +Index: libdiscid-0.6.1/src/disc.c =================================================================== ---- libdiscid-0.5.2.orig/src/disc.c -+++ libdiscid-0.5.2/src/disc.c +--- libdiscid-0.6.1.orig/src/disc.c ++++ libdiscid-0.6.1/src/disc.c @@ -33,8 +33,8 @@ #include <string.h> #include <assert.h> @@ -45,7 +45,7 @@ #include "base64.h" #include "discid/discid.h" -@@ -311,31 +311,34 @@ char *discid_get_version_string(void) { +@@ -361,31 +361,35 @@ * The DiscID is placed in the provided string buffer. */ static void create_disc_id(mb_disc_private *d, char buf[]) { @@ -57,10 +57,11 @@ + unsigned char digest[EVP_MAX_MD_SIZE]; char tmp[17]; /* for 8 hex digits (16 to avoid trouble) */ int i; -+ EVP_MD_CTX *sha; ++ EVP_MD_CTX *sha; + unsigned int sha_len; - assert( d != NULL ); + assert(d != NULL); + assert(d->success); - sha_init(&sha); + sha = EVP_MD_CTX_create(); @@ -85,8 +86,9 @@ - base64 = rfc822_binary(digest, sizeof(digest), &size); + EVP_DigestFinal_ex(sha, digest, &sha_len); + EVP_MD_CTX_destroy(sha); - ++ + base64 = rfc822_binary(digest, sha_len , &size); + memcpy(buf, base64, size); buf[size] = '\0'; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
