commit mhash for openSUSE:Factory
Hello community, here is the log from the commit of package mhash for openSUSE:Factory checked in at 2020-01-20 22:56:02 Comparing /work/SRC/openSUSE:Factory/mhash (Old) and /work/SRC/openSUSE:Factory/.mhash.new.26092 (New) Package is "mhash" Mon Jan 20 22:56:02 2020 rev:25 rq:765879 version:0.9.9.9 Changes: --- /work/SRC/openSUSE:Factory/mhash/mhash.changes 2015-03-01 14:46:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.mhash.new.26092/mhash.changes 2020-01-20 22:56:04.823358187 +0100 @@ -1,0 +2,10 @@ +Mon Jan 20 16:16:45 CET 2020 - r...@suse.de + +- add a few patches from the fedora package to tackle + a crash in the testsuite on 32bit + - add patch mhash-0.9.9.9-fix-snefru-segfault.patch + - add patch mhash-0.9.9.9-fix-whirlpool-segfault.patch + - add patch mhash-0.9.9.9-fix-mem-leak.patch + - add patch mhash-0.9.9-no-free-before-use.patch + +--- New: mhash-0.9.9-no-free-before-use.patch mhash-0.9.9.9-fix-mem-leak.patch mhash-0.9.9.9-fix-snefru-segfault.patch mhash-0.9.9.9-fix-whirlpool-segfault.patch Other differences: -- ++ mhash.spec ++ --- /var/tmp/diff_new_pack.AUbWM4/_old 2020-01-20 22:56:06.683358903 +0100 +++ /var/tmp/diff_new_pack.AUbWM4/_new 2020-01-20 22:56:06.687358904 +0100 @@ -1,7 +1,7 @@ # # spec file for package mhash # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,13 +20,17 @@ Version:0.9.9.9 Release:0 Summary:A Library for Working with Strong Hashes -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Development/Libraries/C and C++ -Url:http://mhash.sourceforge.net/ +URL:http://mhash.sourceforge.net/ Source: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-shared.diff # PATCH-FIX-UPSTREAM fix-for-upstream-sources.patch sourceforge#2908478 Patch1: mhash_remove_premature_free.patch +Patch2: mhash-0.9.9.9-fix-snefru-segfault.patch +Patch3: mhash-0.9.9.9-fix-mem-leak.patch +Patch4: mhash-0.9.9.9-fix-whirlpool-segfault.patch +Patch5: mhash-0.9.9-no-free-before-use.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -60,6 +64,10 @@ %setup -q %patch0 %patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build autoreconf --force --install ++ mhash-0.9.9-no-free-before-use.patch ++ diff -up mhash-0.9.9.9/src/hmac_test.c.nofree mhash-0.9.9.9/src/hmac_test.c --- mhash-0.9.9.9/src/hmac_test.c.nofree2019-07-29 14:44:55.856345469 -0400 +++ mhash-0.9.9.9/src/hmac_test.c 2019-07-29 14:45:11.466021935 -0400 @@ -72,7 +72,7 @@ int main() return(MUTILS_INVALID_RESULT); } - mutils_free(tmp); + /* mutils_free(tmp); */ /* Test No 2 */ ++ mhash-0.9.9.9-fix-mem-leak.patch ++ diff -up mhash-0.9.9.9/lib/mhash.c.BAD mhash-0.9.9.9/lib/mhash.c --- mhash-0.9.9.9/lib/mhash.c.BAD 2009-07-02 16:57:43.872049877 -0400 +++ mhash-0.9.9.9/lib/mhash.c 2009-07-02 16:58:03.909029777 -0400 @@ -719,6 +719,8 @@ WIN32DLL_DEFINE MHASH mhash_restore_stat mutils_memcpy( >state_size, [pos], sizeof(ret->state_size)); pos += sizeof( ret->state_size); + if (ret->state) + mutils_free(ret->state); ret->state = mutils_malloc(ret->state_size); if (ret->state==NULL) goto freeall; ++ mhash-0.9.9.9-fix-snefru-segfault.patch ++ diff -up mhash-0.9.9.9/lib/snefru.c.BAD mhash-0.9.9.9/lib/snefru.c --- mhash-0.9.9.9/lib/snefru.c.BAD 2009-07-02 16:54:58.973279449 -0400 +++ mhash-0.9.9.9/lib/snefru.c 2009-07-02 16:55:04.609279072 -0400 @@ -859,6 +859,8 @@ static void snefru_digest(__const struct { mutils_word32 i; + if(!digest) return; + for (i = 0; i < len; i++, digest += 4) { *(mutils_word32 *)digest = mutils_bend2sys32(ctx->hash[i]); ++ mhash-0.9.9.9-fix-whirlpool-segfault.patch ++ diff -up mhash-0.9.9.9/lib/whirlpool.c.BAD mhash-0.9.9.9/lib/whirlpool.c --- mhash-0.9.9.9/lib/whirlpool.c.BAD 2009-07-02 16:59:50.885279180 -0400
commit mhash for openSUSE:Factory
Hello community, here is the log from the commit of package mhash for openSUSE:Factory checked in at 2015-03-01 14:46:46 Comparing /work/SRC/openSUSE:Factory/mhash (Old) and /work/SRC/openSUSE:Factory/.mhash.new (New) Package is mhash Changes: --- /work/SRC/openSUSE:Factory/mhash/mhash.changes 2013-01-14 12:02:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.mhash.new/mhash.changes 2015-03-01 14:46:50.0 +0100 @@ -1,0 +2,13 @@ +Thu Feb 26 21:13:22 UTC 2015 - mplus...@suse.com + +- Move part of documentation to devel package + +--- +Thu Feb 26 20:27:25 UTC 2015 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner +- Refresh dependencies +- Move libraries to libmhash2 to comply with shlip policies +- Use url for source + +--- Other differences: -- ++ mhash.spec ++ --- /var/tmp/diff_new_pack.9je0YC/_old 2015-03-01 14:46:51.0 +0100 +++ /var/tmp/diff_new_pack.9je0YC/_new 2015-03-01 14:46:51.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package mhash # -# 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 @@ -19,66 +19,77 @@ Name: mhash Version:0.9.9.9 Release:0 -BuildRequires: libtool -Url:http://mhash.sourceforge.net/ -Summary:A Library for Working with Strong Hashes (Like MD5) +Summary:A Library for Working with Strong Hashes License:GPL-2.0+ Group: Development/Libraries/C and C++ -Source: %{name}-%{version}.tar.bz2 +Url:http://mhash.sourceforge.net/ +Source: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-shared.diff # PATCH-FIX-UPSTREAM fix-for-upstream-sources.patch sourceforge#2908478 Patch1: mhash_remove_premature_free.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The mhash library provides an easy way to access strong hashes, such as MD5, SHA1, and other algorithms. +%package -n lib%{name}2 +Summary:A Library for Working with Strong Hashes +Group: System/Libraries +Provides: %{name} = %{version} +Obsoletes: %{name} %{version} + +%description -n lib%{name}2 +The mhash library provides an easy way to access strong hashes, such as +MD5, SHA1, and other algorithms. + %package devel -Summary:Static Library and Header Files for mhash Library +Summary:Header Files for mhash Library Group: Development/Libraries/C and C++ -Provides: mhash:/usr/include/mhash.h -Requires: glibc-devel -Requires: mhash = %{version} +Requires: lib%{name}2 = %{version} +Provides: %{name}:%{_includedir}/%{name}.h %description devel The mhash library provides an easy way to access strong hashes such as MD5, SHA1, and other algorithms. %prep -%setup -q -n %{name}-%{version} +%setup -q %patch0 %patch1 -p1 %build autoreconf --force --install -%configure --with-pic\ +%configure \ + --with-pic \ --disable-static -%{__make} %{?_smp_mflags} + +make %{?_smp_mflags} %install -%{__make} DESTDIR=%{buildroot} install -# useless .la file - has empty dependency_libs variable -%{__rm} -f %{buildroot}%{_libdir}/libmhash.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +# useless .la file +rm %{buildroot}%{_libdir}/lib%{name}.la %check -make check - -%post -p /sbin/ldconfig +make %{?_smp_mflags} check -%postun -p /sbin/ldconfig +%post -n lib%{name}2 -p /sbin/ldconfig -%clean -%{__rm} -rf %{buildroot} +%postun -n lib%{name}2 -p /sbin/ldconfig -%files +%files -n lib%{name}2 %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO -%doc doc/skid2-authentication doc/example.c %{_libdir}/libmhash.so.* %files devel %defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO +%doc doc/skid2-authentication doc/example.c %doc %{_mandir}/man?/* %{_includedir}/* %{_libdir}/libmhash.so -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mhash for openSUSE:Factory
Hello community, here is the log from the commit of package mhash for openSUSE:Factory checked in at 2013-01-14 12:02:35 Comparing /work/SRC/openSUSE:Factory/mhash (Old) and /work/SRC/openSUSE:Factory/.mhash.new (New) Package is mhash, Maintainer is orpha...@suse.de Changes: --- /work/SRC/openSUSE:Factory/mhash/mhash.changes 2011-11-16 17:19:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.mhash.new/mhash.changes 2013-01-14 12:02:36.0 +0100 @@ -1,0 +2,5 @@ +Sat Jan 12 19:18:55 UTC 2013 - co...@suse.com + +- remove suse_update_config + +--- Other differences: -- ++ mhash.spec ++ --- /var/tmp/diff_new_pack.2byuDc/_old 2013-01-14 12:02:37.0 +0100 +++ /var/tmp/diff_new_pack.2byuDc/_new 2013-01-14 12:02:37.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package mhash # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -15,17 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: mhash Version:0.9.9.9 -Release:11 +Release:0 BuildRequires: libtool -Group: Development/Libraries/C and C++ -License:GPL-2.0+ Url:http://mhash.sourceforge.net/ Summary:A Library for Working with Strong Hashes (Like MD5) +License:GPL-2.0+ +Group: Development/Libraries/C and C++ Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-shared.diff # PATCH-FIX-UPSTREAM fix-for-upstream-sources.patch sourceforge#2908478 @@ -38,9 +36,10 @@ %package devel Summary:Static Library and Header Files for mhash Library -Provides: mhash:/usr/include/mhash.h -Requires: mhash = %{version} glibc-devel Group: Development/Libraries/C and C++ +Provides: mhash:/usr/include/mhash.h +Requires: glibc-devel +Requires: mhash = %{version} %description devel The mhash library provides an easy way to access strong hashes such as @@ -52,7 +51,6 @@ %patch1 -p1 %build -%{suse_update_config -f .} autoreconf --force --install %configure --with-pic\ --disable-static -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mhash for openSUSE:Factory
Hello community, here is the log from the commit of package mhash for openSUSE:Factory checked in at 2011-12-06 18:28:58 Comparing /work/SRC/openSUSE:Factory/mhash (Old) and /work/SRC/openSUSE:Factory/.mhash.new (New) Package is mhash, Maintainer is prus...@suse.com Changes: Other differences: -- ++ mhash.spec ++ --- /var/tmp/diff_new_pack.u2iJOW/_old 2011-12-06 18:51:10.0 +0100 +++ /var/tmp/diff_new_pack.u2iJOW/_new 2011-12-06 18:51:10.0 +0100 @@ -23,7 +23,7 @@ Release:11 BuildRequires: libtool Group: Development/Libraries/C and C++ -License:GPLv2+ +License:GPL-2.0+ Url:http://mhash.sourceforge.net/ Summary:A Library for Working with Strong Hashes (Like MD5) Source: %{name}-%{version}.tar.bz2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit mhash for openSUSE:Factory
Hello community, here is the log from the commit of package mhash for openSUSE:Factory checked in at 2011-11-16 17:19:24 Comparing /work/SRC/openSUSE:Factory/mhash (Old) and /work/SRC/openSUSE:Factory/.mhash.new (New) Package is mhash, Maintainer is prus...@suse.com Changes: --- /work/SRC/openSUSE:Factory/mhash/mhash.changes 2011-09-23 02:13:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.mhash.new/mhash.changes 2011-11-16 17:19:49.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 16 08:20:48 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ mhash.spec ++ --- /var/tmp/diff_new_pack.Q55cVm/_old 2011-11-16 17:19:50.0 +0100 +++ /var/tmp/diff_new_pack.Q55cVm/_new 2011-11-16 17:19:50.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package mhash (Version 0.9.9.9) +# spec file for package mhash # -# 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 @@ -21,7 +21,7 @@ Name: mhash Version:0.9.9.9 Release:11 -AutoReqProv:on +BuildRequires: libtool Group: Development/Libraries/C and C++ License:GPLv2+ Url:http://mhash.sourceforge.net/ @@ -37,7 +37,6 @@ MD5, SHA1, and other algorithms. %package devel -License:GPLv2+ Summary:Static Library and Header Files for mhash Library Provides: mhash:/usr/include/mhash.h Requires: mhash = %{version} glibc-devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org