Hello community, here is the log from the commit of package ghc-x509-validation for openSUSE:Factory checked in at 2015-09-17 09:19:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-08-25 08:48:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-x509-validation.new/ghc-x509-validation.changes 2015-09-17 09:19:51.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Sep 13 13:19:06 UTC 2015 - mimi...@gmail.com + +- update to 1.6.2 + +------------------------------------------------------------------- Old: ---- x509-validation-1.6.0.tar.gz New: ---- x509-validation-1.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-x509-validation.spec ++++++ --- /var/tmp/diff_new_pack.XcEyBO/_old 2015-09-17 09:19:51.000000000 +0200 +++ /var/tmp/diff_new_pack.XcEyBO/_new 2015-09-17 09:19:51.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package ghc +# spec file for package ghc-x509-validation # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ %global pkg_name x509-validation Name: ghc-x509-validation -Version: 1.6.0 +Version: 1.6.2 Release: 0 Summary: X.509 Certificate and CRL validation License: BSD-3-Clause ++++++ x509-validation-1.6.0.tar.gz -> x509-validation-1.6.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/x509-validation-1.6.0/Data/X509/Validation/Types.hs new/x509-validation-1.6.2/Data/X509/Validation/Types.hs --- old/x509-validation-1.6.0/Data/X509/Validation/Types.hs 2015-06-19 22:18:40.000000000 +0200 +++ new/x509-validation-1.6.2/Data/X509/Validation/Types.hs 2015-09-08 10:31:28.000000000 +0200 @@ -11,9 +11,10 @@ , HostName ) where -import Network.BSD (HostName) import Data.ByteString (ByteString) +type HostName = String + -- | identification of the connection consisting of the -- fully qualified host name (e.g. www.example.com) and -- an optional suffix. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/x509-validation-1.6.0/Data/X509/Validation.hs new/x509-validation-1.6.2/Data/X509/Validation.hs --- old/x509-validation-1.6.0/Data/X509/Validation.hs 2015-06-19 22:18:40.000000000 +0200 +++ new/x509-validation-1.6.2/Data/X509/Validation.hs 2015-09-08 10:31:28.000000000 +0200 @@ -354,11 +354,10 @@ -- character to the fqhn and inevitably will fail. -- -- e.g. *.*.server.com will try to litteraly match the '*' subdomain of server.com + -- + -- Also '*' is not accepted as a valid wildcard wildcardMatch l - -- <star>.com or <star> is always invalid - | length l < 2 = [InvalidWildcard] - -- some TLD like .uk got small subTLD like (.co.uk), and we don't want to accept *.co.uk - | length (head l) <= 2 && length (head $ drop 1 l) <= 3 && length l < 3 = [InvalidWildcard] + | null l = [InvalidWildcard] -- '*' is always invalid | l == take (length l) (reverse $ splitDot fqhn) = [] -- success: we got a match | otherwise = [NameMismatch fqhn] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/x509-validation-1.6.0/x509-validation.cabal new/x509-validation-1.6.2/x509-validation.cabal --- old/x509-validation-1.6.0/x509-validation.cabal 2015-06-19 22:18:40.000000000 +0200 +++ new/x509-validation-1.6.2/x509-validation.cabal 2015-09-08 10:31:28.000000000 +0200 @@ -1,5 +1,5 @@ Name: x509-validation -Version: 1.6.0 +Version: 1.6.2 Description: X.509 Certificate and CRL validation License: BSD3 License-file: LICENSE @@ -18,12 +18,8 @@ , bytestring , memory , byteable - , network , mtl , containers - , directory - , filepath - , process , hourglass , data-default-class , pem >= 0.1 && < 0.3