Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b5acc4f9bdbc92760ba75ac40614421b7c5e4934

commit b5acc4f9bdbc92760ba75ac40614421b7c5e4934
Author: crazy <[email protected]>
Date:   Mon Jun 20 16:14:55 2016 +0200

pyyaml3-3.11-1-x86_64
* added python3 version for pyyaml needed by lirc-setup

diff --git a/source/devel-extra/pyyaml3/CVE-2014-9130.patch 
b/source/devel-extra/pyyaml3/CVE-2014-9130.patch
new file mode 100644
index 0000000..73e70c3
--- /dev/null
+++ b/source/devel-extra/pyyaml3/CVE-2014-9130.patch
@@ -0,0 +1,37 @@
+# HG changeset patch
+# User Kirill Simonov <[email protected]>
+# Date 1417197216 21600
+# Node ID ddf211a41bb231c365fece5599b7e484e6dc33fc
+# Parent  263dff6f9664ccdc532283ba5c7b282c0e436a7b
+Removed invalid simple key assertion.
+
+Index: pyyaml-3.10/lib/yaml/scanner.py
+===================================================================
+--- pyyaml-3.10.orig/lib/yaml/scanner.py       2014-12-22 17:28:25.000000000 
+0100
++++ pyyaml-3.10/lib/yaml/scanner.py    2014-12-22 17:28:25.000000000 +0100
+@@ -297,10 +297,6 @@
+         # Check if a simple key is required at the current position.
+         required = not self.flow_level and self.indent == self.column
+
+-        # A simple key is required only if it is the first token in the 
current
+-        # line. Therefore it is always allowed.
+-        assert self.allow_simple_key or not required
+-
+         # The next token might be a simple key. Let's save it's number and
+         # position.
+         if self.allow_simple_key:
+Index: pyyaml-3.10/lib3/yaml/scanner.py
+===================================================================
+--- pyyaml-3.10.orig/lib3/yaml/scanner.py      2014-12-22 17:28:25.000000000 
+0100
++++ pyyaml-3.10/lib3/yaml/scanner.py   2014-12-22 17:28:25.000000000 +0100
+@@ -297,10 +297,6 @@
+         # Check if a simple key is required at the current position.
+         required = not self.flow_level and self.indent == self.column
+
+-        # A simple key is required only if it is the first token in the 
current
+-        # line. Therefore it is always allowed.
+-        assert self.allow_simple_key or not required
+-
+         # The next token might be a simple key. Let's save it's number and
+         # position.
+         if self.allow_simple_key:
diff --git a/source/devel-extra/pyyaml3/FrugalBuild 
b/source/devel-extra/pyyaml3/FrugalBuild
new file mode 100644
index 0000000..85567cf
--- /dev/null
+++ b/source/devel-extra/pyyaml3/FrugalBuild
@@ -0,0 +1,21 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: Priyank Gosalia <[email protected]>
+# Contributor: free-zombie <[email protected]>
+
+pkgname=pyyaml3
+_F_archive_name="PyYAML"
+pkgver=3.11
+pkgrel=1
+pkgdesc="a complete python YAML 1.1 parser"
+url="http://pyyaml.org/wiki/PyYAML";
+depends=('python3' 'libyaml')
+groups=('devel-extra')
+archs=('i686' 'x86_64')
+up2date="Flasttar $url"
+source=(http://pyyaml.org/download/pyyaml/$_F_archive_name-$pkgver.tar.gz)
+source+=(CVE-2014-9130.patch)
+sha1sums=('1a2d5df8b31124573efb9598ec6d54767f3c4cd4' \
+          '335cdccd41a4f2b9d5a5292fbe69342836d03cbd')
+_F_python_version="python3"
+
+# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to