commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2020-09-08 22:55:08 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new.3399 (New) Package is "libxcrypt" Tue Sep 8 22:55:08 2020 rev:8 rq:831255 version:4.4.17 Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2020-03-06 21:23:21.225418136 +0100 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new.3399/libxcrypt.changes 2020-09-08 22:55:10.783749064 +0200 @@ -1,0 +2,7 @@ +Tue Sep 1 14:47:37 UTC 2020 - Andreas Schwab + +- Add compatibility provides for SLE15 +- Update to version 4.4.17 + * Salt string compatibility with generic implementations + +--- Old: libxcrypt-4.4.15.tar.gz New: libxcrypt-4.4.17.tar.gz Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.IL0KSW/_old 2020-09-08 22:55:11.319749332 +0200 +++ /var/tmp/diff_new_pack.IL0KSW/_new 2020-09-08 22:55:11.319749332 +0200 @@ -17,7 +17,7 @@ Name: libxcrypt -Version:4.4.15 +Version:4.4.17 Release:0 Summary:Extended crypt library for DES, MD5, Blowfish and others License:GPL-3.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND SUSE-Public-Domain @@ -42,6 +42,16 @@ Summary:Extended crypt library for DES, MD5, Blowfish and others License:LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND SUSE-Public-Domain Group: System/Libraries +# Compatibility provides to help the transition from libowcrypt.so.1 +# to libcrypt.so.1, which provides all symbols of the former +%ifarch x86_64 s390x ppc64le aarch64 +Provides: libowcrypt.so.1()(64bit) +Provides: libowcrypt.so.1(OW_CRYPT_1.0)(64bit) +%endif +%ifarch i586 +Provides: libowcrypt.so.1 +Provides: libowcrypt.so.1(OW_CRYPT_1.0) +%endif %description -n libcrypt1 libxcrypt is a modern library for one-way hashing of passwords. It ++ baselibs.conf ++ --- /var/tmp/diff_new_pack.IL0KSW/_old 2020-09-08 22:55:11.347749346 +0200 +++ /var/tmp/diff_new_pack.IL0KSW/_new 2020-09-08 22:55:11.351749348 +0200 @@ -1,4 +1,6 @@ libcrypt1 + arch i586 provides "libowcrypt.so.1" + arch i586 provides "libowcrypt.so.1(OW_CRYPT_1.0)" libxcrypt-devel requires -libxcrypt- requires "libcrypt1- = " ++ libxcrypt-4.4.15.tar.gz -> libxcrypt-4.4.17.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libxcrypt-4.4.15/.gitignore new/libxcrypt-4.4.17/.gitignore --- old/libxcrypt-4.4.15/.gitignore 2020-02-25 20:30:42.0 +0100 +++ new/libxcrypt-4.4.17/.gitignore 2020-08-23 09:49:51.0 +0200 @@ -86,8 +86,25 @@ test/gensalt-extradata test/getrandom-fallbacks test/getrandom-interface +test/ka-bcrypt +test/ka-bcrypt-a +test/ka-bcrypt-x +test/ka-bcrypt-y +test/ka-bigcrypt +test/ka-bsdicrypt +test/ka-descrypt +test/ka-gost-yescrypt +test/ka-md5crypt +test/ka-nt +test/ka-scrypt +test/ka-sha1crypt +test/ka-sha256crypt +test/ka-sha512crypt +test/ka-sunmd5 +test/ka-yescrypt test/preferred-method test/short-outbuf +test/special-char-salt /xcrypt.h # backup-files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libxcrypt-4.4.15/.travis.yml new/libxcrypt-4.4.17/.travis.yml --- old/libxcrypt-4.4.15/.travis.yml2020-02-25 20:30:42.0 +0100 +++ new/libxcrypt-4.4.17/.travis.yml2020-08-23 09:49:51.0 +0200 @@ -38,7 +38,7 @@ - "ircs://chat.freenode.net:6697/#libxcrypt" skip_join: true -dist: bionic +dist: focal matrix: fast_finish: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libxcrypt-4.4.15/LICENSING new/libxcrypt-4.4.17/LICENSING --- old/libxcrypt-4.4.15/LICENSING 2020-02-25 20:30:42.0 +0100 +++ new/libxcrypt-4.4.17/LICENSING 2020-08-23 09:49:51.0 +0200 @@ -55,7 +55,7 @@ * Copyright Björn Esser; 0-clause BSD: crypt-common.c, test-checksalt.c, test-compile-strong-alias.c, - test-gensalt-nthash.c, test-short-outbuf.c + test-gensalt-nthash.c, test-short-outbuf.c, test-special-char-salt.c * Copyright Michael Bretterklieber, Björn Esser et al.; 2-clause BSD: crypt-nthash.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libxcrypt-4.4.15/Makefile.am new/libxcrypt-4.4.17/Makefile.am --- old/libxcrypt-4.4.15/Makefile.am2020-02-25 20:30:42.0 +0100 +++ new/libxcrypt-4.4.17/Makefile.am2020-08-23 09:49:51.0 +0200 @@ -344,7 +344,8 @@
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2020-03-06 21:23:18 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new.26092 (New) Package is "libxcrypt" Fri Mar 6 21:23:18 2020 rev:7 rq:780882 version:4.4.15 Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2020-02-15 22:21:32.919184125 +0100 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new.26092/libxcrypt.changes 2020-03-06 21:23:21.225418136 +0100 @@ -1,0 +2,9 @@ +Mon Mar 2 09:50:17 UTC 2020 - Andreas Schwab + +- Update to version 4.4.15 + * The compatibility symbols crypt_gensalt_r, xcrypt, xcrypt_r, +xcrypt_gensalt, and xcrypt_gensalt_r are deprecated further + * Speed up ka-sunmd5 by skipping most of the test phrases +- Package README.md and TODO.md (bsc#1165389) + +--- Old: libxcrypt-4.4.12.tar.gz New: libxcrypt-4.4.15.tar.gz Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.bNg6aM/_old 2020-03-06 21:23:21.973418549 +0100 +++ /var/tmp/diff_new_pack.bNg6aM/_new 2020-03-06 21:23:21.977418552 +0100 @@ -17,7 +17,7 @@ Name: libxcrypt -Version:4.4.12 +Version:4.4.15 Release:0 Summary:Extended crypt library for DES, MD5, Blowfish and others License:GPL-3.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND SUSE-Public-Domain @@ -116,12 +116,12 @@ %files -n libcrypt1 %license COPYING.LIB LICENSING -%doc AUTHORS NEWS README THANKS +%doc AUTHORS NEWS README README.md THANKS %{_libdir}/libcrypt.so.* %{_libdir}/libowcrypt.so.* %files devel -%doc TODO +%doc TODO TODO.md %{_libdir}/libcrypt.so %{_libdir}/libxcrypt.so %{_libdir}/libowcrypt.so ++ libxcrypt-4.4.12.tar.gz -> libxcrypt-4.4.15.tar.gz ++ 2692 lines of diff (skipped)
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2020-02-15 22:21:28 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new.26092 (New) Package is "libxcrypt" Sat Feb 15 22:21:28 2020 rev:6 rq:768748 version:4.4.12 Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2019-12-16 17:26:12.755963910 +0100 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new.26092/libxcrypt.changes 2020-02-15 22:21:32.919184125 +0100 @@ -1,0 +2,14 @@ +Thu Jan 30 13:34:00 UTC 2020 - Andreas Schwab + +- Update to version 4.4.12 + * Another fix for GCC v10.x, which occurs on s390 architectures only. + +--- +Wed Jan 22 11:35:17 UTC 2020 - Andreas Schwab + +- Update to version 4.4.11 + * Fixes for GCC v10.x + * Change how the known-answer tests are parallelized +- gcc10.patch: remove + +--- Old: gcc10.patch libxcrypt-4.4.10.tar.gz New: libxcrypt-4.4.12.tar.gz Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.5RsfYF/_old 2020-02-15 22:21:33.435184404 +0100 +++ /var/tmp/diff_new_pack.5RsfYF/_new 2020-02-15 22:21:33.439184407 +0100 @@ -1,7 +1,7 @@ # # spec file for package libxcrypt # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libxcrypt -Version:4.4.10 +Version:4.4.12 Release:0 Summary:Extended crypt library for DES, MD5, Blowfish and others License:GPL-3.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND SUSE-Public-Domain @@ -25,7 +25,6 @@ URL:https://github.com/besser82/%{name} Source0:%{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:baselibs.conf -Patch0: gcc10.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -86,8 +85,8 @@ %build # Disable LTO due to symbol versioning (boo#1138833): # (https://en.opensuse.org/openSUSE:LTO#Symbol_versioning). - %define _lto_cflags %{nil} + autoreconf -fi %configure \ --disable-silent-rules \ ++ libxcrypt-4.4.10.tar.gz -> libxcrypt-4.4.12.tar.gz ++ 15969 lines of diff (skipped)
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2019-12-16 17:26:11 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new.4691 (New) Package is "libxcrypt" Mon Dec 16 17:26:11 2019 rev:5 rq:756005 version:4.4.10 Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2019-12-11 11:59:15.592888383 +0100 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new.4691/libxcrypt.changes 2019-12-16 17:26:12.755963910 +0100 @@ -1,0 +2,5 @@ +Thu Dec 12 08:23:08 UTC 2019 - Andreas Schwab + +- gcc10.patch: fix build with gcc10 (bsc#1158192) + +--- New: gcc10.patch Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.SAqCDv/_old 2019-12-16 17:26:13.551963591 +0100 +++ /var/tmp/diff_new_pack.SAqCDv/_new 2019-12-16 17:26:13.555963589 +0100 @@ -25,6 +25,7 @@ URL:https://github.com/besser82/%{name} Source0:%{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:baselibs.conf +Patch0: gcc10.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool ++ gcc10.patch ++ >From 45ff87405a6f2ee64ec282e6efc6cca229eae893 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 11 Dec 2019 13:27:54 -0500 Subject: [PATCH 1/2] Remove -Winline from the list of warnings to use (#95) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC 10 may decline to inline some functions in `alg-yescrypt-opt.c` and, with `-Winline -Werror`, this breaks the build. This warning isn’t ever going to expose actual bugs, so let’s just turn it off. Fixes #95. --- m4/zw_simple_warnings.m4 | 1 - 1 file changed, 1 deletion(-) diff --git a/m4/zw_simple_warnings.m4 b/m4/zw_simple_warnings.m4 index cfdf9e9..e45453e 100644 --- a/m4/zw_simple_warnings.m4 +++ b/m4/zw_simple_warnings.m4 @@ -72,7 +72,6 @@ AC_ARG_ENABLE( -Wformat-overflow=2 dnl -Wformat-signedness dnl -Wformat-truncation=1 dnl --Winline dnl -Wlogical-op dnl -Wmissing-declarations dnl -Wmissing-prototypes dnl -- 2.24.1 >From 941362e2868a71a32a2a497903e651fb647b4fd2 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 11 Dec 2019 13:33:07 -0500 Subject: [PATCH 2/2] crypt-common.h: Declare `ascii64` with explicit `extern`. GCC 10 changes its default compilation mode from `-fcommon` to `-fno-common`, which means that tentative definitions of data objects will no longer be merged across translation units; instead they will produce multiple definition errors. The `ascii64` constant was supposed to be _declared_ in crypt-common.h, but it was accidentally a tentative definition instead. Fix this by adding the `extern` annotation that should have always been there. --- lib/crypt-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crypt-common.h b/lib/crypt-common.h index c97fa5d..1134bc4 100644 --- a/lib/crypt-common.h +++ b/lib/crypt-common.h @@ -24,7 +24,7 @@ /* The base-64 encoding table used by most hashing methods. (bcrypt uses a slightly different encoding.) Size 65 because it's used as a C string in a few places. */ -const unsigned char ascii64[65]; +extern const unsigned char ascii64[65]; /* Same table gets used with other names in various places. */ #define b64t ((const char *) ascii64) -- 2.24.1
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2019-12-11 11:59:03 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new.4691 (New) Package is "libxcrypt" Wed Dec 11 11:59:03 2019 rev:4 rq:754951 version:4.4.10 Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2019-07-08 15:06:16.979011553 +0200 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new.4691/libxcrypt.changes 2019-12-11 11:59:15.592888383 +0100 @@ -1,0 +2,12 @@ +Sat Dec 7 14:19:35 UTC 2019 - Andreas Schwab + +- Update to version 4.4.10 + * Fix alignment problem for GOST 34.11 (Streebog) in gost-yestcrypt. + * The crypt_* functions will now all fail and set errno to ERANGE if +their 'phrase' argument is longer than CRYPT_MAX_PASSPHRASE_SIZE +characters (this is currently 512) + * The NT hashing method no longer truncates passphrases at 128 +characters; Windows does not do this. +- format-overflow.patch: remove + +--- Old: format-overflow.patch libxcrypt-4.4.3.tar.gz New: libxcrypt-4.4.10.tar.gz Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.Vnhsbc/_old 2019-12-11 11:59:15.952888232 +0100 +++ /var/tmp/diff_new_pack.Vnhsbc/_new 2019-12-11 11:59:15.956888230 +0100 @@ -1,7 +1,7 @@ # # spec file for package libxcrypt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libxcrypt -Version:4.4.3 +Version:4.4.10 Release:0 Summary:Extended crypt library for DES, MD5, Blowfish and others License:GPL-3.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND SUSE-Public-Domain @@ -25,7 +25,6 @@ URL:https://github.com/besser82/%{name} Source0:%{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:baselibs.conf -Patch0: format-overflow.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool ++ libxcrypt-4.4.3.tar.gz -> libxcrypt-4.4.10.tar.gz ++ 63917 lines of diff (skipped)
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2019-07-08 15:06:15 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new.4615 (New) Package is "libxcrypt" Mon Jul 8 15:06:15 2019 rev:3 rq:711714 version:4.4.3 Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2019-02-24 16:55:20.224910430 +0100 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new.4615/libxcrypt.changes 2019-07-08 15:06:16.979011553 +0200 @@ -1,0 +2,5 @@ +Thu Jun 20 11:49:28 UTC 2019 - Martin Liška + +- Disable LTO due to symbol versioning (boo#1138833). + +--- Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.DJJkwR/_old 2019-07-08 15:06:18.767014257 +0200 +++ /var/tmp/diff_new_pack.DJJkwR/_new 2019-07-08 15:06:18.771014263 +0200 @@ -84,6 +84,10 @@ %autosetup -p 1 %build +# Disable LTO due to symbol versioning (boo#1138833): +# (https://en.opensuse.org/openSUSE:LTO#Symbol_versioning). + +%define _lto_cflags %{nil} autoreconf -fi %configure \ --disable-silent-rules \
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2019-02-24 16:55:14 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new.28833 (New) Package is "libxcrypt" Sun Feb 24 16:55:14 2019 rev:2 rq:677323 version:4.4.3 Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2019-02-08 12:03:09.497704898 +0100 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new.28833/libxcrypt.changes 2019-02-24 16:55:20.224910430 +0100 @@ -1,0 +2,12 @@ +Tue Feb 19 10:49:30 UTC 2019 - sch...@suse.de + +- format-overflow.patch: Fix -Werror=format-overflow + +--- +Thu Feb 14 13:54:55 UTC 2019 - Martin Liška + +- Update to version 4.4.3: + * Add libxcrypt.so, libxcrypt.a and xcrypt.h. + * Add new man3 manual pages. + +--- Old: libxcrypt-4.1.0.tar.gz New: format-overflow.patch libxcrypt-4.4.3.tar.gz Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.k6OZyk/_old 2019-02-24 16:55:20.736910187 +0100 +++ /var/tmp/diff_new_pack.k6OZyk/_new 2019-02-24 16:55:20.736910187 +0100 @@ -1,7 +1,7 @@ # # spec file for package libxcrypt # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,7 +17,7 @@ Name: libxcrypt -Version:4.1.0 +Version:4.4.3 Release:0 Summary:Extended crypt library for DES, MD5, Blowfish and others License:GPL-3.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND BSD-3-Clause AND SUSE-Public-Domain @@ -25,6 +25,7 @@ URL:https://github.com/besser82/%{name} Source0:%{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:baselibs.conf +Patch0: format-overflow.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -119,16 +120,26 @@ %files devel %doc TODO %{_libdir}/libcrypt.so +%{_libdir}/libxcrypt.so %{_libdir}/libowcrypt.so %{_includedir}/crypt.h +%{_includedir}/xcrypt.h %{_libdir}/pkgconfig/libcrypt.pc %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/crypt_rn.3.* %{_mandir}/man3/crypt_gensalt.3.* +%{_mandir}/man3/crypt.3.* +%{_mandir}/man3/crypt_checksalt.3.* +%{_mandir}/man3/crypt_gensalt_ra.3.* +%{_mandir}/man3/crypt_gensalt_rn.3.* +%{_mandir}/man3/crypt_preferred_method.3.* +%{_mandir}/man3/crypt_r.3.* +%{_mandir}/man3/crypt_ra.3.* %{_mandir}/man5/crypt.5.* %files devel-static %{_libdir}/libcrypt.a +%{_libdir}/libxcrypt.a %{_libdir}/libowcrypt.a %changelog ++ format-overflow.patch ++ >From 2e4135284e7aaeac2218878041de31d8e724dc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Thu, 24 Jan 2019 22:22:36 +0100 Subject: [PATCH] test-alg-hmac-sha1: Fix -Wformat-overflow. --- test-alg-hmac-sha1.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test-alg-hmac-sha1.c b/test-alg-hmac-sha1.c index ffc6cb4..167f0b4 100644 --- a/test-alg-hmac-sha1.c +++ b/test-alg-hmac-sha1.c @@ -162,8 +162,15 @@ main (void) if (strcmp (dbuf, test->expect) != 0) { n = 1; - printf ("\nkey=%s, data=%s,\nresult=%s: %s\n", - test->key, test->data, dbuf, test->expect); + printf ("\nkey="); + puts (test->key); + puts (", data="); + puts (test->data); + printf (",\nresult="); + puts (dbuf); + puts (": "); + puts (test->expect); + printf ("\n"); } } return n; -- 2.20.1 >From 8d109010f022ac75e383ac74d1961c0c63a16c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 19 Feb 2019 10:59:43 +0100 Subject: [PATCH] test-alg-hmac-sha1: Use fputs() instead of puts(). puts() appends a newline character at the end of the output, while fputs() does not. --- test-alg-hmac-sha1.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test-alg-hmac-sha1.c b/test-alg-hmac-sha1.c index 167f0b4..5a87c7b 100644 --- a/test-alg-hmac-sha1.c +++ b/test-alg-hmac-sha1.c @@ -162,15 +162,15 @@ main (void) if (strcmp (dbuf, test->expect) != 0) { n = 1; - printf ("\nkey="); - puts (test->key); - puts (", data="); - puts (test->data); - printf (",\nresult="); - puts (dbuf); - puts (": "); - puts
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2011-12-06 18:26:19 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new (New) Package is libxcrypt, Maintainer is ku...@suse.com Changes: Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.GBC46u/_old 2011-12-06 18:47:48.0 +0100 +++ /var/tmp/diff_new_pack.GBC46u/_new 2011-12-06 18:47:48.0 +0100 @@ -18,7 +18,7 @@ Name: libxcrypt -License:LGPLv2.1+ ; Public Domain, Freeware +License:LGPL-2.1+ ; SUSE-Public-Domain Group: System/Libraries # bnc#437293 %ifarch ppc64 @@ -47,7 +47,7 @@ %package devel -License:LGPLv2.1+ ; Public Domain, Freeware +License:LGPL-2.1+ ; SUSE-Public-Domain Summary:Development Include Files and Libraries for enhanced crypt functionality Group: Development/Libraries/C and C++ Requires: libxcrypt = %{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at 2011-11-25 11:12:14 Comparing /work/SRC/openSUSE:Factory/libxcrypt (Old) and /work/SRC/openSUSE:Factory/.libxcrypt.new (New) Package is libxcrypt, Maintainer is ku...@suse.com Changes: --- /work/SRC/openSUSE:Factory/libxcrypt/libxcrypt.changes 2011-09-23 02:11:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.libxcrypt.new/libxcrypt.changes 2011-11-25 10:12:42.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 23 21:11:44 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.ag8CFJ/_old 2011-11-25 10:12:43.0 +0100 +++ /var/tmp/diff_new_pack.ag8CFJ/_new 2011-11-25 10:12:43.0 +0100 @@ -15,13 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libxcrypt License:LGPLv2.1+ ; Public Domain, Freeware Group: System/Libraries -AutoReqProv:on # bnc#437293 %ifarch ppc64 Obsoletes: libxcrypt-64bit @@ -38,6 +36,7 @@ Patch1: libxcrypt-3.0.4-blowfish-noasm.diff Patch2: libxcrypt-3.0.4-blowfish-xcrypt.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libtool Provides: libxcrypt-crypt_blowfish = 1.2 %description -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at Fri Jul 29 09:54:10 CEST 2011. --- libxcrypt/libxcrypt.changes 2011-07-20 11:54:58.0 +0200 +++ /mounts/work_src_done/STABLE/libxcrypt/libxcrypt.changes2011-07-27 12:02:19.0 +0200 @@ -1,0 +2,6 @@ +Wed Jul 27 10:01:36 UTC 2011 - lnus...@suse.de + +- fix 2x and 2y modes +- add libxcrypt-crypt_blowfish = 1.2 provides + +--- calling whatdependson for head-i586 Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.RYlPwP/_old 2011-07-29 09:53:46.0 +0200 +++ /var/tmp/diff_new_pack.RYlPwP/_new 2011-07-29 09:53:46.0 +0200 @@ -27,7 +27,7 @@ Obsoletes: libxcrypt-64bit %endif Version:3.0.4 -Release:5 +Release:7 Summary:Crypt Library for DES, MD5, Blowfish and others Source: libxcrypt-%{version}.tar.bz2 Url:http://www.openwall.com/crypt/ @@ -38,6 +38,7 @@ Patch1: libxcrypt-3.0.4-blowfish-noasm.diff Patch2: libxcrypt-3.0.4-blowfish-xcrypt.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +Provides: libxcrypt-crypt_blowfish = 1.2 %description Libxcrypt is a replacement for libcrypt, which comes with the GNU C ++ libxcrypt-3.0.4-blowfish-xcrypt.diff ++ --- /var/tmp/diff_new_pack.RYlPwP/_old 2011-07-29 09:53:46.0 +0200 +++ /var/tmp/diff_new_pack.RYlPwP/_new 2011-07-29 09:53:46.0 +0200 @@ -10,27 +10,41 @@ #include errno.h #ifndef __set_errno -@@ -52,6 +53,9 @@ +@@ -52,6 +53,10 @@ #define BF_SCALE 0 #endif +#include xcrypt-plugin.h +#define _crypt_blowfish_rn __crypt_r ++#include dlfcn.h + typedef unsigned int BF_word; typedef signed int BF_word_signed; -@@ -887,3 +891,10 @@ char *_crypt_gensalt_blowfish_rn(const c +@@ -887,3 +892,23 @@ char *_crypt_gensalt_blowfish_rn(const c return output; } + -+char *__crypt_gensalt_r (unsigned long count, __const char *input, int size, char *output, int output_size) ++/* dirty hack */ ++static const char* _find_prefix(const char* prefix) +{ -+ return _crypt_gensalt_blowfish_rn($2a$, count, input, size, output, output_size); ++ Dl_info info; ++ if (dladdr(_find_prefix, info) strlen(info.dli_fname) 8) ++ { ++ const char* sfx = info.dli_fname+strlen(info.dli_fname)-8; ++ if (!strncmp(sfx, _2y., 4)) ++ prefix = $2y$; ++ else if (!strncmp(sfx, _2x., 4)) ++ prefix = $2x$; ++ } ++ return prefix; +} + -+ ++char *__crypt_gensalt_r (unsigned long count, __const char *input, int size, char *output, int output_size) ++{ ++ return _crypt_gensalt_blowfish_rn(_find_prefix($2a$), count, input, size, output, output_size); ++} Index: libxcrypt-3.0.4/plugins/blowfish/blowfish-test.c === --- libxcrypt-3.0.4.orig/plugins/blowfish/blowfish-test.c @@ -105,25 +119,15 @@ === --- libxcrypt-3.0.4.orig/plugins/blowfish/Makefile.am +++ libxcrypt-3.0.4/plugins/blowfish/Makefile.am -@@ -25,5 +25,5 @@ libxcrypt_2a_la_SOURCES = crypt_blowfish +@@ -25,5 +25,9 @@ libxcrypt_2a_la_SOURCES = crypt_blowfish noinst_PROGRAMS = blowfish-test -blowfish_test_CFLAGS = $(AM_CFLAGS) -DTEST_THREADS=10 +-blowfish_test_LDADD = libxcrypt_2a.la -lpthread +blowfish_test_CFLAGS = $(AM_CFLAGS) -DTEST -DTEST_THREADS=4 -DXCRYPT - blowfish_test_LDADD = libxcrypt_2a.la -lpthread -Index: libxcrypt-3.0.4/src/xcrypt.c -=== libxcrypt-3.0.4.orig/src/xcrypt.c -+++ libxcrypt-3.0.4/src/xcrypt.c -@@ -42,6 +42,10 @@ get_plugin (const char *hash_id) - { -struct plugin_t *ptr = plugins; - -+ /* blowfish hack for CVE-2011-2483 */ -+ if (!strcmp(hash_id, 2x) || !strcmp(hash_id, 2y)) -+ hash_id = 2a; -+ -while (ptr) - { - if (strcmp (hash_id, ptr-id) == 0) ++blowfish_test_LDADD = libxcrypt_2a.la -ldl -lpthread ++ ++install-data-local: ++ $(LN_S) libxcrypt_2a.so.1 $(DESTDIR)$(plugindir)/libxcrypt_2x.so.1 ++ $(LN_S) libxcrypt_2a.so.1 $(DESTDIR)$(plugindir)/libxcrypt_2y.so.1 Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libxcrypt for openSUSE:Factory
Hello community, here is the log from the commit of package libxcrypt for openSUSE:Factory checked in at Tue Jun 28 10:12:19 CEST 2011. --- libxcrypt/libxcrypt.changes 2010-06-28 08:50:28.0 +0200 +++ /mounts/work_src_done/STABLE/libxcrypt/libxcrypt.changes2011-06-09 09:40:22.0 +0200 @@ -1,0 +2,11 @@ +Thu Jun 9 09:40:04 CEST 2011 - meiss...@suse.de + +- check return value of scanf() to fix -Werror building + +--- +Tue May 10 12:50:50 CEST 2011 - ku...@suse.de + +- Update to version 3.0.4 + - Fix new warning generated by gcc 4.6 + +--- calling whatdependson for head-i586 Old: libxcrypt-3.0.3.tar.bz2 New: fix-werror.patch libxcrypt-3.0.4.tar.bz2 Other differences: -- ++ libxcrypt.spec ++ --- /var/tmp/diff_new_pack.wZ7xht/_old 2011-06-28 10:11:26.0 +0200 +++ /var/tmp/diff_new_pack.wZ7xht/_new 2011-06-28 10:11:26.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package libxcrypt (Version 3.0.3) +# spec file for package libxcrypt # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,11 +26,12 @@ %ifarch ppc64 Obsoletes: libxcrypt-64bit %endif -Version:3.0.3 -Release:3 +Version:3.0.4 +Release:1 Summary:Crypt Library for DES, MD5, Blowfish and others Source: libxcrypt-%{version}.tar.bz2 Source2:baselibs.conf +Patch0: fix-werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -63,6 +64,7 @@ %prep %setup -q +%patch0 -p1 %build ./configure CFLAGS=$RPM_OPT_FLAGS -Wno-cast-align \ ++ fix-werror.patch ++ Index: libxcrypt-3.0.4/src/cert.c === --- libxcrypt-3.0.4.orig/src/cert.c +++ libxcrypt-3.0.4/src/cert.c @@ -87,7 +87,8 @@ char *cp; int i,j,t; for(i=0;i8;i++){ - scanf(%2x,t); + if (!scanf(%2x,t)) + good_bye(); if(feof(stdin)) good_bye(); for(j=0; j8 ; j++) { ++ libxcrypt-3.0.3.tar.bz2 - libxcrypt-3.0.4.tar.bz2 ++ 4407 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/libxcrypt-3.0.3/ChangeLog new/libxcrypt-3.0.4/ChangeLog --- old/libxcrypt-3.0.3/ChangeLog 2009-10-30 09:22:43.0 +0100 +++ new/libxcrypt-3.0.4/ChangeLog 2011-05-10 11:56:48.0 +0200 @@ -1,3 +1,9 @@ +2011-05-10 Thorsten Kukuk ku...@suse.de + + * release version 3.0.4 + + * src/cert.c (get8): Don't save return value we never use. + 2009-10-29 Thorsten Kukuk ku...@suse.de * release version 3.0.3 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/libxcrypt-3.0.3/NEWS new/libxcrypt-3.0.4/NEWS --- old/libxcrypt-3.0.3/NEWS2009-10-30 08:55:49.0 +0100 +++ new/libxcrypt-3.0.4/NEWS2011-05-10 11:57:40.0 +0200 @@ -1,10 +1,13 @@ libxcrypt NEWS -- history of user-visible changes. Copyright (C) 2002, 2003, 2004 SuSE Linux AG, Germany -Copyright (C) 2005, 2008 SUSE LINUX Products GmbH, Germany +Copyright (C) 2005, 2008, 2009 2011 SUSE LINUX Products GmbH, Germany Please send bug reports, questions and suggestions to ku...@suse.de. +Version 3.0.4 +* Fix warnings generated by gcc 4.6 + Version 3.0.3 * Fix memory leak * Fix compiler warnings 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/libxcrypt-3.0.3/configure.in new/libxcrypt-3.0.4/configure.in --- old/libxcrypt-3.0.3/configure.in2008-09-29 11:50:19.0 +0200 +++ new/libxcrypt-3.0.4/configure.in2011-05-10 12:00:47.0 +0200 @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(xcrypt, 3.0.3, http://www.suse.de/feedback,