Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-entropy for openSUSE:Factory checked in at 2024-07-22 17:16:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-entropy (Old) and /work/SRC/openSUSE:Factory/.ghc-entropy.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-entropy" Mon Jul 22 17:16:20 2024 rev:9 rq:1188638 version:0.4.1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-entropy/ghc-entropy.changes 2023-04-14 13:12:56.079514629 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-entropy.new.17339/ghc-entropy.changes 2024-07-22 17:17:08.967236168 +0200 @@ -1,0 +2,6 @@ +Sun Jun 30 19:11:37 UTC 2024 - Peter Simons <[email protected]> + +- Update entropy to version 0.4.1.10 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-entropy.spec ++++++ --- /var/tmp/diff_new_pack.CkGohv/_old 2024-07-22 17:17:10.367291828 +0200 +++ /var/tmp/diff_new_pack.CkGohv/_new 2024-07-22 17:17:10.387292623 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-entropy # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-prof BuildRequires: ghc-base-devel ++++++ entropy.cabal ++++++ --- /var/tmp/diff_new_pack.CkGohv/_old 2024-07-22 17:17:10.711305504 +0200 +++ /var/tmp/diff_new_pack.CkGohv/_new 2024-07-22 17:17:10.735306459 +0200 @@ -1,91 +1,105 @@ -name: entropy - -version: 0.4.1.10 -x-revision: 1 -description: A mostly platform independent method to obtain cryptographically strong entropy - (RDRAND, urandom, CryptAPI, and patches welcome) - Users looking for cryptographically strong (number-theoretically - sound) PRNGs should see the 'DRBG' package too. -synopsis: A platform independent entropy source -license: BSD3 -license-file: LICENSE -copyright: Thomas DuBuisson <[email protected]> -author: Thomas DuBuisson <[email protected]> -maintainer: Thomas DuBuisson <[email protected]> -category: Data, Cryptography -homepage: https://github.com/TomMD/entropy -bug-reports: https://github.com/TomMD/entropy/issues -stability: stable - -build-type: Custom - --- ^^ Test for RDRAND support using 'ghc' -cabal-version: >=1.10 -tested-with: GHC == 8.2.2 --- data-files: -extra-source-files: ./cbits/getrandom.c ./cbits/random_initialized.c ./cbits/rdrand.c, ./cbits/rdrand.h, README.md - -Flag DoNotGetEntropy - Description: Avoid use of the getentropy() *nix function. By default getentropy will be used - if detected during compilation (this plays poorly with cross compilation). - Default: False - Manual: True - -custom-setup - setup-depends: Cabal >= 1.10 && < 3.11 - -- Relax Cabal: https://github.com/haskell/entropy/pull/79 - , base < 5 - , filepath < 1.5 - , directory < 1.4 - , process < 1.7 - -library - ghc-options: -O2 - exposed-modules: System.Entropy - if impl(ghcjs) || os(ghcjs) - other-modules: System.EntropyGhcjs - else { - if os(windows) - other-modules: System.EntropyWindows - else { - other-modules: System.EntropyNix - } - } - other-extensions: CPP, ForeignFunctionInterface, BangPatterns, - ScopedTypeVariables - build-depends: base >= 4.8 && < 5, bytestring - - default-language: Haskell2010 - - if impl(ghcjs) || os(ghcjs) { - build-depends: ghcjs-dom >= 0.9.5.0 && < 1 - , jsaddle - } - else { - if arch(x86_64) - cpp-options: -Darch_x86_64 - cc-options: -Darch_x86_64 -O2 - -- gcc 4.8.2 on i386 fails to compile rdrand.c when using -fPIC! - c-sources: cbits/rdrand.c - include-dirs: cbits - if arch(i386) - cpp-options: -Darch_i386 - cc-options: -Darch_i386 -O2 - if os(windows) - build-depends: Win32 >= 2.5 - cpp-options: -DisWindows - cc-options: -DisWindows - extra-libraries: advapi32 - else - Build-Depends: unix - c-sources: cbits/getrandom.c cbits/random_initialized.c - } - if flag(DoNotGetEntropy) { - cc-options: -DDO_NOT_USE_GET_ENTROPY - } - - -source-repository head - type: git - location: https://github.com/TomMD/entropy +cabal-version: >=1.10 +name: entropy +version: 0.4.1.10 +x-revision: 2 +description: A mostly platform independent method to obtain cryptographically strong entropy + (RDRAND, urandom, CryptAPI, and patches welcome) + Users looking for cryptographically strong (number-theoretically + sound) PRNGs should see the 'DRBG' package too. +synopsis: A platform independent entropy source +license: BSD3 +license-file: LICENSE +copyright: Thomas DuBuisson <[email protected]> +author: Thomas DuBuisson <[email protected]> +maintainer: Thomas DuBuisson <[email protected]> +category: Data, Cryptography +homepage: https://github.com/TomMD/entropy +bug-reports: https://github.com/TomMD/entropy/issues +stability: stable + +build-type: Custom + +tested-with: + GHC == 9.10.1 + GHC == 9.8.2 + GHC == 9.6.5 + GHC == 9.4.8 + GHC == 9.2.8 + GHC == 9.0.2 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + GHC == 8.4.4 + GHC == 8.2.2 + GHC == 8.0.2 + +extra-source-files: + ./cbits/getrandom.c + ./cbits/random_initialized.c + ./cbits/rdrand.c + ./cbits/rdrand.h + README.md + +Flag DoNotGetEntropy + Description: Avoid use of the getentropy() *nix function. By default getentropy will be used + if detected during compilation (this plays poorly with cross compilation). + Default: False + Manual: True + +custom-setup + setup-depends: Cabal >= 1.10 && < 3.13 + , base < 5 + , filepath < 1.6 + , directory < 1.4 + , process < 1.7 + +library + ghc-options: -O2 + exposed-modules: System.Entropy + if impl(ghcjs) || os(ghcjs) + other-modules: System.EntropyGhcjs + else { + if os(windows) + other-modules: System.EntropyWindows + else { + other-modules: System.EntropyNix + } + } + other-extensions: CPP, ForeignFunctionInterface, BangPatterns, + ScopedTypeVariables + build-depends: base >= 4.8 && < 5, bytestring + + default-language: Haskell2010 + + if impl(ghcjs) || os(ghcjs) { + build-depends: ghcjs-dom >= 0.9.5.0 && < 1 + , jsaddle + } + else { + if arch(x86_64) + cpp-options: -Darch_x86_64 + cc-options: -Darch_x86_64 -O2 + -- gcc 4.8.2 on i386 fails to compile rdrand.c when using -fPIC! + c-sources: cbits/rdrand.c + include-dirs: cbits + if arch(i386) + cpp-options: -Darch_i386 + cc-options: -Darch_i386 -O2 + if os(windows) + build-depends: Win32 >= 2.5 + cpp-options: -DisWindows + cc-options: -DisWindows + extra-libraries: advapi32 + else + Build-Depends: unix + c-sources: cbits/getrandom.c cbits/random_initialized.c + } + if flag(DoNotGetEntropy) { + cc-options: -DDO_NOT_USE_GET_ENTROPY + } + + +source-repository head + type: git + location: https://github.com/TomMD/entropy
