commit libtomcrypt for openSUSE:Factory

2019-10-07 Thread root
Hello community,

here is the log from the commit of package libtomcrypt for openSUSE:Factory 
checked in at 2019-10-07 13:40:28

Comparing /work/SRC/openSUSE:Factory/libtomcrypt (Old)
 and  /work/SRC/openSUSE:Factory/.libtomcrypt.new.2352 (New)


Package is "libtomcrypt"

Mon Oct  7 13:40:28 2019 rev:7 rq:734098 version:1.18.2

Changes:

--- /work/SRC/openSUSE:Factory/libtomcrypt/libtomcrypt.changes  2018-08-27 
13:46:24.376299478 +0200
+++ /work/SRC/openSUSE:Factory/.libtomcrypt.new.2352/libtomcrypt.changes
2019-10-07 13:40:29.552431208 +0200
@@ -1,0 +2,8 @@
+Mon Sep 23 19:45:14 UTC 2019 - Stefan BrĂ¼ns 
+
+- Remove texlive BuildRequires, as the documentation is not built
+- Drop manual __DATE__/__TIME__ mangling, SOURCE_DATE_EPOCH is
+  respected by GCC for more than 3 years.
+- Use license macro
+
+---



Other differences:
--
++ libtomcrypt.spec ++
--- /var/tmp/diff_new_pack.DzmL9G/_old  2019-10-07 13:40:30.120429637 +0200
+++ /var/tmp/diff_new_pack.DzmL9G/_new  2019-10-07 13:40:30.124429626 +0200
@@ -28,12 +28,10 @@
 Source0:
https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz
 Source1:
https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz.asc
 Source2:%{name}.keyring
-Source3:%{name}.changes
 Source4:baselibs.conf
 BuildRequires:  libtommath-devel
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
-BuildRequires:  texlive-latex
 
 %description
 LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
@@ -81,10 +79,6 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-modified="$(sed -n '/^/n;s/ - .*$//;p;q' "%{SOURCE3}")"
-DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
-TIME="\"$(date -d "${modified}" "+%%R")\""
-find . -name '*.[ch]' -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" 
"{}" "+"
 
 %build
 export CFLAGS="%{optflags} -DLTM_DESC -DUSE_LTM"
@@ -103,7 +97,8 @@
 
 %files -n %{soname}
 %{_libdir}/libtomcrypt.so.*
-%doc LICENSE README.md 
+%license LICENSE
+%doc README.md
 
 %files devel
 %attr(0644,root,root) %{_includedir}/tomcrypt*.h






commit libtomcrypt for openSUSE:Factory

2018-08-27 Thread root
Hello community,

here is the log from the commit of package libtomcrypt for openSUSE:Factory 
checked in at 2018-08-27 13:46:22

Comparing /work/SRC/openSUSE:Factory/libtomcrypt (Old)
 and  /work/SRC/openSUSE:Factory/.libtomcrypt.new (New)


Package is "libtomcrypt"

Mon Aug 27 13:46:22 2018 rev:6 rq:629461 version:1.18.2

Changes:

--- /work/SRC/openSUSE:Factory/libtomcrypt/libtomcrypt.changes  2017-06-07 
09:50:44.258414250 +0200
+++ /work/SRC/openSUSE:Factory/.libtomcrypt.new/libtomcrypt.changes 
2018-08-27 13:46:24.376299478 +0200
@@ -1,0 +2,59 @@
+Wed Aug  8 13:14:47 UTC 2018 - jeng...@inai.de
+
+- Expand summary of libtomcrypt1.
+- Use %make_install.
+
+---
+Thu Jul 26 19:40:32 UTC 2018 - jeng...@inai.de
+
+- Fix RPM groups.
+- Don't pipe find, use the safer -exec.
+
+---
+Thu Jul 12 12:41:50 UTC 2018 - meiss...@suse.com
+
+- libtomcrypt.keyring: added key of new release manager 0xAF0CB17621EDAD72
+
+- libtomcrypt-makefile.shared.patch: dropped
+- reproducible.patch: dropped
+
+---
+Mon Jul  2 23:47:09 UTC 2018 - da...@darins.net
+
+- v1.18.2
+  - Fix Side Channel Based ECDSA Key Extraction (CVE-2018-12437) (PR #408)
+  - Fix potential stack overflow when DER flexi-decoding (CVE-2018-0739) (PR 
#373)
+  - Fix two-key 3DES (PR #390)
+  - Fix accelerated CTR mode (PR #359)
+  - Fix Fortuna PRNG (PR #363)
+  - Fix compilation on platforms where cc doesn't point to gcc (PR #382)
+  - Fix using the wrong environment variable LT instead of LIBTOOL (PR #392)
+  - Fix build on platforms where the compiler provides __WCHAR_MAX__ but 
wchar.h is not available (PR #390)
+  - Fix & re-factor crypt_list_all_sizes() and crypt_list_all_constants() (PR 
#414)
+  - Minor fixes (PR's #350 #351 #375 #377 #378 #379)
+` 
+- Added libtommath-devl build requirement
+- Added baselibs.conf
+
+---
+Fri Jun 22 11:47:21 UTC 2018 - da...@darins.net
+
+- v1.18.1
+  - Fix wrong SHA3 blocksizes, thanks to Claus Fischer for reporting this via 
Mail (PR #329)
+  - Fix NULL-pointer dereference in `ccm_memory()` with LTC_CLEAN_STACK 
enabled (PR #327)
+  - Fix `ccm_process()` being unable to process input buffers longer than 256 
bytes (PR #326)
+  - Fix the `register_all_{ciphers,hashes,prngs}()` return values (PR #316)
+  - Fix some typos, warnings and duplicate prototypes in code & doc (PR's #310 
#320 #321 #335)
+  - Fix possible undefined behavior with LTC_PTHREAD (PR #337)
+  - Fix some DER bugs (PR #339)
+  - Fix CTR-mode when accelerator is used (OP-TEE/optee_os #2086)
+  - Fix installation procedure (Issue #340) 
+
+---
+Wed Jul 12 17:15:54 UTC 2017 - da...@darins.net
+
+- udpate to version 1.18.0
+- removed up upstream patches
+ 
+
+---

Old:

  crypt-1.17.tar.bz2
  crypt-1.17.tar.bz2.asc
  libtomcrypt-makefile.shared.patch
  reproducible.patch

New:

  baselibs.conf
  crypt-1.18.2.tar.xz
  crypt-1.18.2.tar.xz.asc



Other differences:
--
++ libtomcrypt.spec ++
--- /var/tmp/diff_new_pack.pt7n8Y/_old  2018-08-27 13:46:25.088300497 +0200
+++ /var/tmp/diff_new_pack.pt7n8Y/_new  2018-08-27 13:46:25.088300497 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libtomcrypt
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2009 Exata T.I., Maringa, PR, Brasil.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,25 +17,23 @@
 #
 
 
-%define soname libtomcrypt0
+%define soname libtomcrypt1
 Name:   libtomcrypt
-Version:1.17
+Version:1.18.2
 Release:0
 Summary:Cryptographic Toolkit Written in Portable C
 License:SUSE-Public-Domain
-Group:  System/Libraries
+Group:  Development/Libraries/C and C++
 Url:http://libtom.org
-Source0:
https://github.com/libtom/libtomcrypt/releases/download/%{version}/crypt-%{version}.tar.bz2
-Source1:
https://github.com/libtom/libtomcrypt/releases/download/%{version}/crypt-%{version}.tar.bz2.asc
+Source0:
https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz
+Source1:
https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz.asc
 Source2:%{name}.keyring
 Source3:%{name}.changes
-# PATCH-FIX-UPSTREAM libtomcrypt-makefile.shared.patch
-Patch0: 

commit libtomcrypt for openSUSE:Factory

2017-06-07 Thread root
Hello community,

here is the log from the commit of package libtomcrypt for openSUSE:Factory 
checked in at 2017-06-07 09:50:43

Comparing /work/SRC/openSUSE:Factory/libtomcrypt (Old)
 and  /work/SRC/openSUSE:Factory/.libtomcrypt.new (New)


Package is "libtomcrypt"

Wed Jun  7 09:50:43 2017 rev:5 rq:499509 version:1.17

Changes:

--- /work/SRC/openSUSE:Factory/libtomcrypt/libtomcrypt.changes  2016-02-25 
21:52:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.libtomcrypt.new/libtomcrypt.changes 
2017-06-07 09:50:44.258414250 +0200
@@ -1,0 +2,6 @@
+Mon May 29 13:08:06 UTC 2017 - bwiedem...@suse.com
+
+- Add reproducible.patch to sort input files to make build reproducible
+  (boo#1041090)
+
+---

New:

  reproducible.patch



Other differences:
--
++ libtomcrypt.spec ++
--- /var/tmp/diff_new_pack.sx2Q26/_old  2017-06-07 09:50:45.022306294 +0200
+++ /var/tmp/diff_new_pack.sx2Q26/_new  2017-06-07 09:50:45.022306294 +0200
@@ -31,6 +31,8 @@
 Source3:%{name}.changes
 # PATCH-FIX-UPSTREAM libtomcrypt-makefile.shared.patch
 Patch0: %{name}-makefile.shared.patch
+# PATCH-FIX-UPSTREAM https://github.com/libtom/libtomcrypt/pull/222
+Patch1: reproducible.patch
 BuildRequires:  libtool
 BuildRequires:  texlive-latex
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -84,6 +86,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 modified="$(sed -n '/^/n;s/ - .*$//;p;q' "%{SOURCE3}")"
 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
 TIME="\"$(date -d "${modified}" "+%%R")\""



++ reproducible.patch ++
https://github.com/libtom/libtomcrypt/pull/222
sort input files

when building packages (e.g. for openSUSE Linux)
(random) filesystem order of input files
influences ordering of functions in the output,
thus without the patch, builds (in disposable VMs) would differ.

See https://reproducible-builds.org/ for why this matters.

Index: libtomcrypt-1.17/makefile.shared
===
--- libtomcrypt-1.17.orig/makefile.shared
+++ libtomcrypt-1.17/makefile.shared
@@ -249,7 +249,7 @@ testprof/$(LIBTEST):
 objs: $(OBJECTS)
 
 $(LIBNAME): $(OBJECTS) testprof/$(LIBTEST)
-   libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep 
"[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) 
-version-info $(VERSION)
+   libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep 
"[.]lo" | grep "src/" | sort | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath 
$(LIBPATH) -version-info $(VERSION)
 
 install: $(LIBNAME)
install -d $(DESTDIR)$(LIBPATH)
Index: libtomcrypt-1.17/testprof/makefile.shared
===
--- libtomcrypt-1.17.orig/testprof/makefile.shared
+++ libtomcrypt-1.17/testprof/makefile.shared
@@ -18,7 +18,7 @@ endif
 default: $(LIBTEST)
 
 $(LIBTEST): $(OBJECTS)
-   libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep 
"[.]lo" |  xargs` -o $@ -rpath $(LIBPATH) -version-info $(VERSION)
+   libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep 
"[.]lo" | sort | xargs` -o $@ -rpath $(LIBPATH) -version-info $(VERSION)
 
 install: $(LIBTEST)
libtool --silent --mode=install install -c $(LIBTEST) 
$(DESTDIR)$(LIBPATH)/$(LIBTEST)



commit libtomcrypt for openSUSE:Factory

2016-02-25 Thread h_root
Hello community,

here is the log from the commit of package libtomcrypt for openSUSE:Factory 
checked in at 2016-02-25 21:52:35

Comparing /work/SRC/openSUSE:Factory/libtomcrypt (Old)
 and  /work/SRC/openSUSE:Factory/.libtomcrypt.new (New)


Package is "libtomcrypt"

Changes:

--- /work/SRC/openSUSE:Factory/libtomcrypt/libtomcrypt.changes  2014-07-17 
06:58:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.libtomcrypt.new/libtomcrypt.changes 
2016-02-25 21:52:40.0 +0100
@@ -1,0 +2,8 @@
+Fri Feb 12 22:03:58 UTC 2016 - mplus...@suse.com
+
+- Use url for source
+- Add gpg signature
+- Cleanup spec file with spec-cleaner
+- Do not include build date/time
+
+---

New:

  crypt-1.17.tar.bz2.asc
  libtomcrypt.keyring



Other differences:
--
++ libtomcrypt.spec ++
--- /var/tmp/diff_new_pack.kMITDD/_old  2016-02-25 21:52:41.0 +0100
+++ /var/tmp/diff_new_pack.kMITDD/_new  2016-02-25 21:52:41.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libtomcrypt
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2009 Exata T.I., Maringa, PR, Brasil.
 #
 # All modifications and additions to the file contributed by third parties
@@ -25,30 +25,34 @@
 License:SUSE-Public-Domain
 Group:  System/Libraries
 Url:http://libtom.org
-Source0:crypt-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM %{name}-makefile.shared.patch
+Source0:
https://github.com/libtom/libtomcrypt/releases/download/%{version}/crypt-%{version}.tar.bz2
+Source1:
https://github.com/libtom/libtomcrypt/releases/download/%{version}/crypt-%{version}.tar.bz2.asc
+Source2:%{name}.keyring
+Source3:%{name}.changes
+# PATCH-FIX-UPSTREAM libtomcrypt-makefile.shared.patch
 Patch0: %{name}-makefile.shared.patch
 BuildRequires:  libtool
 BuildRequires:  texlive-latex
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-LibTomCrypt is a fairly comprehensive, modular and portable cryptographic 
toolkit that provides developers with
-a vast array of well known published block ciphers, one-way hash functions, 
chaining modes, pseudo-random number
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with a vast array of well known published
+block ciphers, one-way hash functions, chaining modes, pseudo-random number
 generators, public key cryptography and a plethora of other routines.
 
-Author:
-
-Tom St Denis
 
 %package -n %{soname}
 Summary:Libraries for %{name}
 Group:  System/Libraries
 
 %description -n %{soname}
-LibTomCrypt is a fairly comprehensive, modular and portable cryptographic 
toolkit that provides developers with
-a vast array of well known published block ciphers, one-way hash functions, 
chaining modes, pseudo-random number
-generators, public key cryptography and a plethora of other routines.
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with a vast array of well known published
+block ciphers, one-way hash functions, chaining modes, pseudo-random
+numbergenerators, public key cryptography and a plethora of other routines.
+
+This package contains shared libraries
 
 %package devel
 Summary:Development Files for LibTomCrypt
@@ -56,11 +60,13 @@
 Requires:   %{soname} = %{version}
 
 %description devel
-Headers and other development files for TomCrypt library.
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with a vast array of well known published
+block ciphers, one-way hash functions, chaining modes, pseudo-random
+numbergenerators, public key cryptography and a plethora of other routines.
+
+This package contains headers and other development files.
 
-Author:
-
-Tom St Denis
 
 %package examples
 Summary:Example Files for LibTomCrypt
@@ -68,15 +74,20 @@
 Requires:   %{name}-devel = %{version}
 
 %description examples
-Example *.c files showing how to use TomCrypt library.
+LibTomCrypt is a fairly comprehensive, modular and portable cryptographic
+toolkit that provides developers with a vast array of well known published
+block ciphers, one-way hash functions, chaining modes, pseudo-random
+numbergenerators, public key cryptography and a plethora of other routines.
 
-Author:
-
-Tom St Denis
+This package contains example *.c files showing how to use TomCrypt library.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 %patch0 -p1
+modified="$(sed -n '/^/n;s/ - .*$//;p;q' 

commit libtomcrypt for openSUSE:Factory

2014-07-16 Thread h_root
Hello community,

here is the log from the commit of package libtomcrypt for openSUSE:Factory 
checked in at 2014-07-17 06:58:12

Comparing /work/SRC/openSUSE:Factory/libtomcrypt (Old)
 and  /work/SRC/openSUSE:Factory/.libtomcrypt.new (New)


Package is libtomcrypt

Changes:

--- /work/SRC/openSUSE:Factory/libtomcrypt/libtomcrypt.changes  2014-07-15 
08:00:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.libtomcrypt.new/libtomcrypt.changes 
2014-07-17 06:58:17.0 +0200
@@ -1,0 +2,6 @@
+Tue Jul 15 12:38:56 UTC 2014 - da...@darins.net
+
+- cleaned up with spec-cleaner 
+- examples now require the devel package
+
+---



Other differences:
--
++ libtomcrypt.spec ++
--- /var/tmp/diff_new_pack.CPinUF/_old  2014-07-17 06:58:18.0 +0200
+++ /var/tmp/diff_new_pack.CPinUF/_new  2014-07-17 06:58:18.0 +0200
@@ -1,26 +1,35 @@
 #
-# Spec file for package libtomcrypt (Version 1.17)
+# spec file for package libtomcrypt
 #
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2009 Exata T.I., Maringa, PR, Brasil.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
 #
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An Open Source License is a
+# 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/
 #
 
-%define soname libtomcrypt0
 
+%define soname libtomcrypt0
 Name:   libtomcrypt
 Version:1.17
-Release:1
-License:SUSE-Public-Domain
+Release:0
 Summary:Cryptographic Toolkit Written in Portable C
-Url:http://libtom.org
+License:SUSE-Public-Domain
 Group:  System/Libraries
+Url:http://libtom.org
 Source0:crypt-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM %{name}-makefile.shared.patch
 Patch0: %{name}-makefile.shared.patch
-BuildRequires:  libtool, texlive-latex
+BuildRequires:  libtool
+BuildRequires:  texlive-latex
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -41,7 +50,6 @@
 a vast array of well known published block ciphers, one-way hash functions, 
chaining modes, pseudo-random number
 generators, public key cryptography and a plethora of other routines.
 
-
 %package devel
 Summary:Development Files for LibTomCrypt
 Group:  Development/Libraries/C and C++
@@ -57,7 +65,7 @@
 %package examples
 Summary:Example Files for LibTomCrypt
 Group:  Development/Libraries/Other
-Requires:   %{soname} = %{version}
+Requires:   %{name}-devel = %{version}
 
 %description examples
 Example *.c files showing how to use TomCrypt library.
@@ -67,27 +75,23 @@
 Tom St Denis
 
 %prep
-%setup -qn libtomcrypt-%{version}
+%setup -q -n %{name}-%{version}
 %patch0 -p1
 
-
 %build
 export CFLAGS=%{optflags}
 make %{?_smp_mflags} LIBPATH=%{_libdir} -f makefile.shared
 
-
 %install
-%{__make} DESTDIR=%{buildroot} LIBPATH=%{_libdir} NODOCS=0 -f makefile.shared 
install
+make DESTDIR=%{buildroot} LIBPATH=%{_libdir} NODOCS=0 -f makefile.shared 
install
 # Remove static libraries (It's upstream bug in makefile.shared I think.)
-%{__rm} %{buildroot}%{_libdir}/*.a
-%{__rm} %{buildroot}%{_libdir}/*.la
+rm %{buildroot}%{_libdir}/*.a
+find %{buildroot} -type f -name *.la -delete -print
 
 %post -n %{soname} -p /sbin/ldconfig
 
-
 %postun -n %{soname} -p /sbin/ldconfig
 
-
 %files -n %{soname}
 %defattr(-,root,root)
 %{_libdir}/libtomcrypt.so.0
@@ -96,7 +100,6 @@
 %{_libdir}/libtomcrypt_prof.so.0.0.117
 %doc LICENSE README TODO doc/crypt.pdf
 
-
 %files devel
 %defattr(-,root,root)
 %attr(0644,root,root) %{_includedir}/tomcrypt*.h
@@ -105,10 +108,8 @@
 #%{_libdir}/libtomcrypt.la
 #%{_libdir}/libtomcrypt_prof.la
 
-
 %files examples
 %defattr(-,root,root)
 %doc demos
 
-
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org