Hello community,
here is the log from the commit of package ghc-x509-validation for
openSUSE:Factory checked in at 2016-10-22 13:20:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-x509-validation (Old)
and /work/SRC/openSUSE:Factory/.ghc-x509-validation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-x509-validation"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-x509-validation/ghc-x509-validation.changes
2016-07-20 09:20:09.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-x509-validation.new/ghc-x509-validation.changes
2016-10-22 13:21:03.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Sep 26 06:51:59 UTC 2016 - [email protected]
+
+- Update to version 1.6.4 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
x509-validation-1.6.3.tar.gz
New:
----
x509-validation-1.6.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-x509-validation.spec ++++++
--- /var/tmp/diff_new_pack.VeefnZ/_old 2016-10-22 13:21:06.000000000 +0200
+++ /var/tmp/diff_new_pack.VeefnZ/_new 2016-10-22 13:21:06.000000000 +0200
@@ -18,15 +18,14 @@
%global pkg_name x509-validation
Name: ghc-%{pkg_name}
-Version: 1.6.3
+Version: 1.6.4
Release: 0
Summary: X.509 Certificate and CRL validation
License: BSD-3-Clause
-Group: System/Libraries
+Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
-# Begin cabal-rpm deps:
BuildRequires: ghc-asn1-encoding-devel
BuildRequires: ghc-asn1-types-devel
BuildRequires: ghc-byteable-devel
@@ -42,7 +41,6 @@
BuildRequires: ghc-x509-devel
BuildRequires: ghc-x509-store-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
%description
X.509 Certificate and CRL validation.
@@ -62,15 +60,12 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%post devel
%ghc_pkg_recache
++++++ x509-validation-1.6.3.tar.gz -> x509-validation-1.6.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/x509-validation-1.6.3/Data/X509/Validation/Signature.hs
new/x509-validation-1.6.4/Data/X509/Validation/Signature.hs
--- old/x509-validation-1.6.3/Data/X509/Validation/Signature.hs 2015-09-21
22:05:21.000000000 +0200
+++ new/x509-validation-1.6.4/Data/X509/Validation/Signature.hs 2016-09-15
22:15:59.000000000 +0200
@@ -138,7 +138,7 @@
Nothing -> Nothing
Just (ptFormat, input) ->
case ptFormat of
- 4 -> if B.length bs == 2 * bytes
+ 4 -> if B.length input /= 2 * bytes
then Nothing
else
let (x, y) = B.splitAt bytes input
@@ -148,7 +148,7 @@
else Nothing
-- 2 and 3 for compressed format.
_ -> Nothing
- where bits = numBits . ECC.ecc_n . ECC.common_curve $ curve
+ where bits = ECC.curveSizeBits curve
bytes = (bits + 7) `div` 8
ecdsaVerify HashMD2 = ECDSA.verify MD2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/x509-validation-1.6.3/x509-validation.cabal
new/x509-validation-1.6.4/x509-validation.cabal
--- old/x509-validation-1.6.3/x509-validation.cabal 2015-09-21
22:05:21.000000000 +0200
+++ new/x509-validation-1.6.4/x509-validation.cabal 2016-09-15
22:56:34.000000000 +0200
@@ -1,5 +1,5 @@
Name: x509-validation
-Version: 1.6.3
+Version: 1.6.4
Description: X.509 Certificate and CRL validation
License: BSD3
License-file: LICENSE
@@ -25,9 +25,9 @@
, pem >= 0.1 && < 0.3
, asn1-types >= 0.3 && < 0.4
, asn1-encoding >= 0.9 && < 0.10
- , x509 >= 1.6 && < 1.7
+ , x509 >= 1.6.2 && < 1.7
, x509-store >= 1.6 && < 1.7
- , cryptonite >= 0.3
+ , cryptonite >= 0.8
Exposed-modules: Data.X509.Validation
Other-modules: Data.X509.Validation.Signature
Data.X509.Validation.Fingerprint