Hello community, here is the log from the commit of package ghc-yaml for openSUSE:Factory checked in at 2017-07-23 12:15:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-yaml (Old) and /work/SRC/openSUSE:Factory/.ghc-yaml.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yaml" Sun Jul 23 12:15:39 2017 rev:25 rq:511926 version:0.8.23.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-yaml/ghc-yaml.changes 2017-07-06 00:01:17.444123630 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-yaml.new/ghc-yaml.changes 2017-07-23 12:15:39.605063923 +0200 @@ -1,0 +2,5 @@ +Mon Jul 17 03:01:35 UTC 2017 - psim...@suse.com + +- Update to version 0.8.23.3. + +------------------------------------------------------------------- Old: ---- yaml-0.8.23.1.tar.gz New: ---- yaml-0.8.23.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-yaml.spec ++++++ --- /var/tmp/diff_new_pack.MCNQ9R/_old 2017-07-23 12:15:40.156985962 +0200 +++ /var/tmp/diff_new_pack.MCNQ9R/_new 2017-07-23 12:15:40.156985962 +0200 @@ -19,7 +19,7 @@ %global pkg_name yaml %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.23.1 +Version: 0.8.23.3 Release: 0 Summary: Support for parsing and rendering YAML documents License: BSD-3-Clause ++++++ yaml-0.8.23.1.tar.gz -> yaml-0.8.23.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.23.1/ChangeLog.md new/yaml-0.8.23.3/ChangeLog.md --- old/yaml-0.8.23.1/ChangeLog.md 2017-06-16 05:46:31.000000000 +0200 +++ new/yaml-0.8.23.3/ChangeLog.md 2017-07-14 09:17:46.000000000 +0200 @@ -1,3 +1,11 @@ +## 0.8.23.3 + +* Avoid over-escaping `*` [#113](https://github.com/snoyberg/yaml/issues/113) + +## 0.8.23.2 + +* Update libyaml [#110](https://github.com/snoyberg/yaml/issues/110) + ## 0.8.23.1 * Update CPP `MIN_VERSION_*` checks [#109](https://github.com/snoyberg/yaml/pull/109) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.23.1/Data/Yaml/Internal.hs new/yaml-0.8.23.3/Data/Yaml/Internal.hs --- old/yaml-0.8.23.1/Data/Yaml/Internal.hs 2017-05-14 05:27:45.000000000 +0200 +++ new/yaml-0.8.23.3/Data/Yaml/Internal.hs 2017-07-14 09:17:05.000000000 +0200 @@ -281,7 +281,7 @@ -- | Strings which must be escaped so as not to be treated as non-string scalars. specialStrings :: HashSet.HashSet Text specialStrings = HashSet.fromList $ T.words - "y Y yes Yes YES n N no No NO true True TRUE false False FALSE on On ON off Off OFF null Null NULL ~" + "y Y yes Yes YES n N no No NO true True TRUE false False FALSE on On ON off Off OFF null Null NULL ~ *" isNumeric :: Text -> Bool isNumeric t = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.23.1/libyaml/scanner.c new/yaml-0.8.23.3/libyaml/scanner.c --- old/yaml-0.8.23.1/libyaml/scanner.c 2017-02-16 18:25:11.000000000 +0100 +++ new/yaml-0.8.23.3/libyaml/scanner.c 2017-06-30 06:02:56.000000000 +0200 @@ -3284,6 +3284,11 @@ /* Check if we are at the end of the scalar. */ + /* Fix for crash unitialized value crash + * Credit for the bug and input is to OSS Fuzz + * Credit for the fix to Alex Gaynor + */ + if (!CACHE(parser, 1)) goto error; if (CHECK(parser->buffer, single ? '\'' : '"')) break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.23.1/libyaml/yaml.h new/yaml-0.8.23.3/libyaml/yaml.h --- old/yaml-0.8.23.1/libyaml/yaml.h 2017-02-16 18:25:11.000000000 +0100 +++ new/yaml-0.8.23.3/libyaml/yaml.h 2017-06-30 06:02:56.000000000 +0200 @@ -26,10 +26,9 @@ /** The public API declaration. */ -/* __MINGW32__ definition added for Haskell yaml package */ #if defined(__MINGW32__) # define YAML_DECLARE(type) type -#elif _WIN32 +#elif defined(WIN32) # if defined(YAML_DECLARE_STATIC) # define YAML_DECLARE(type) type # elif defined(YAML_DECLARE_EXPORT) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.23.1/test/Data/YamlSpec.hs new/yaml-0.8.23.3/test/Data/YamlSpec.hs --- old/yaml-0.8.23.1/test/Data/YamlSpec.hs 2017-05-14 05:25:46.000000000 +0200 +++ new/yaml-0.8.23.3/test/Data/YamlSpec.hs 2017-07-14 09:16:04.000000000 +0200 @@ -116,6 +116,7 @@ it "True" $ D.encode (object ["foo" .= True]) `shouldBe` "foo: true\n" it "False" $ D.encode (object ["foo" .= False]) `shouldBe` "foo: false\n" it "simple string" $ D.encode (object ["foo" .= ("bar" :: T.Text)]) `shouldBe` "foo: bar\n" + it "*" $ D.encode (object ["foo" .= ("*" :: T.Text)]) `shouldBe` "foo: '*'\n" describe "special keys" $ do let tester key = it (T.unpack key) $ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yaml-0.8.23.1/yaml.cabal new/yaml-0.8.23.3/yaml.cabal --- old/yaml-0.8.23.1/yaml.cabal 2017-06-16 05:46:34.000000000 +0200 +++ new/yaml-0.8.23.3/yaml.cabal 2017-07-14 09:17:49.000000000 +0200 @@ -1,5 +1,5 @@ name: yaml -version: 0.8.23.1 +version: 0.8.23.3 license: BSD3 license-file: LICENSE author: Michael Snoyman <mich...@snoyman.com>, Anton Ageev <ant...@gmail.com>,Kirill Simonov