02/02: Revert "gnu: binutils: Update to 2.29.1."

2017-10-02 Thread Efraim Flashner
efraim pushed a commit to branch core-updates
in repository guix.

commit d31e7bad8cd9f781f5143669beaf61cd40c32125
Author: Efraim Flashner 
Date:   Mon Oct 2 20:06:13 2017 +0300

Revert "gnu: binutils: Update to 2.29.1."

This reverts commit 3097edf54966442b90f8ff65cb83425187a74d54.
---
 gnu/local.mk   |  1 -
 gnu/packages/base.scm  |  7 ++-
 gnu/packages/patches/binutils-CVE-2017-14729.patch | 58 --
 3 files changed, 3 insertions(+), 63 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 73f5eaf..12b279e 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -538,7 +538,6 @@ dist_patch_DATA =   
\
   %D%/packages/patches/azr3.patch  \
   %D%/packages/patches/bash-completion-directories.patch   \
   %D%/packages/patches/bcftools-regidx-unsigned-char.patch \
-  %D%/packages/patches/binutils-CVE-2017-14729.patch   \
   %D%/packages/patches/binutils-ld-new-dtags.patch \
   %D%/packages/patches/binutils-loongson-workaround.patch  \
   %D%/packages/patches/blast+-fix-makefile.patch   \
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 7b5b5f8..20f5ab7 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -393,16 +393,15 @@ change.  GNU make offers many powerful extensions over 
the standard utility.")
 (define-public binutils
   (package
(name "binutils")
-   (version "2.29.1")
+   (version "2.28.1")
(source (origin
 (method url-fetch)
 (uri (string-append "mirror://gnu/binutils/binutils-"
 version ".tar.bz2"))
 (sha256
  (base32
-  "1k2mziqn0pbxpxnkwxrl824xnmivcqdkb0insap71yv92gsdy28m"))
-(patches (search-patches "binutils-CVE-2017-14729.patch"
- "binutils-ld-new-dtags.patch"
+  "1sj234nd05cdgga1r36zalvvdkvpfbr12g5mir2n8i1dwsdrj939"))
+(patches (search-patches "binutils-ld-new-dtags.patch"
  "binutils-loongson-workaround.patch"
(build-system gnu-build-system)
 
diff --git a/gnu/packages/patches/binutils-CVE-2017-14729.patch 
b/gnu/packages/patches/binutils-CVE-2017-14729.patch
deleted file mode 100644
index ccf3d35..000
--- a/gnu/packages/patches/binutils-CVE-2017-14729.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-https://blogs.gentoo.org/ago/2017/09/25/binutils-heap-based-buffer-overflow-in-_bfd_x86_elf_get_synthetic_symtab-elfxx-x86-c/
-
-this patch is modified slightly to apply to our binutils
-
-From 56933f9e3e90eebf1018ed7417d6c1184b91db6b Mon Sep 17 00:00:00 2001
-From: "H.J. Lu" 
-Date: Fri, 22 Sep 2017 14:15:40 -0700
-Subject: [PATCH] x86: Guard against corrupted PLT
-
-There should be only one entry in PLT for a given symbol.  Set howto to
-NULL after processing a PLT entry to guard against corrupted PLT so that
-the duplicated PLT entries are skipped.
-
-   PR binutils/22170
-* elf32-i386.c (elf_i386_get_synthetic_symtab): Guard against
-corrupted PLT.
-* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.
-
-(cherry picked from commit 61e3bf5f83f7e505b6bc51ef65426e5b31e6e360)

- bfd/ChangeLog  | 7 +++
- bfd/elf32-i386.c   | 4 
- bfd/elf64-x86-64.c | 4 
- 3 files changed, 15 insertions(+)
-
-diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
-index 9dc2d25..ba50c93 100644
 a/bfd/elf32-i386.c
-+++ b/bfd/elf32-i386.c
-@@ -6616,6 +6616,10 @@ bad_return:
- size += sizeof ("+0x") - 1 + 8;
-   n++;
-   s++;
-+  /* There should be only one entry in PLT for a given
-+ symbol.  Set howto to NULL after processing a PLT
-+ entry to guard against corrupted PLT.  */
-+  p->howto = NULL;
- }
-   offset += plt_entry_size;
- }
-diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
-index 558db98..d9225ad 100644
 a/bfd/elf64-x86-64.c
-+++ b/bfd/elf64-x86-64.c
-@@ -6970,6 +6970,10 @@ bad_return:
- size += sizeof ("+0x") - 1 + 8 + 8 * ABI_64_P (abfd);
-   n++;
-   s++;
-+  /* There should be only one entry in PLT for a given
-+ symbol.  Set howto to NULL after processing a PLT
-+ entry to guard against corrupted PLT.  */
-+  p->howto = NULL;
- }
-   offset += plt_entry_size;
- }
--- 
-2.9.3
-



01/02: gnu: gcc@5: Update inputs.

2017-10-02 Thread Efraim Flashner
efraim pushed a commit to branch core-updates
in repository guix.

commit eb9696e7a01c1f236afea3828f8b3774400e2a6f
Author: Efraim Flashner 
Date:   Mon Oct 2 12:37:29 2017 +0300

gnu: gcc@5: Update inputs.

* gnu/packages/gcc.scm (gcc@5)[inputs]: Replace isl@0.11 with isl,
remove cloog.
---
 gnu/packages/gcc.scm | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 7870d45..7ee6830 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -389,11 +389,10 @@ Go.  It also includes runtime support libraries for these 
languages.")
"gcc-asan-powerpc-missing-include.patch"
"gcc-5.0-libvtv-runpath.patch"
"gcc-5-source-date-epoch-1.patch"
-   "gcc-5-source-date-epoch-2.patch"))
-;; TODO: gcc-5 doesn't need cloog.
-;;(inputs
-;; `(("isl" ,isl)
-;;   ,@(package-inputs gcc-4.7)
+   "gcc-5-source-date-epoch-2.patch"
+(inputs
+ `(("isl" ,isl)
+   ,@(package-inputs gcc-4.7)
 
 (define-public gcc-6
   (package



branch core-updates updated (3097edf -> d31e7ba)

2017-10-02 Thread Efraim Flashner
efraim pushed a change to branch core-updates
in repository guix.

  from  3097edf   gnu: binutils: Update to 2.29.1.
   new  eb9696e   gnu: gcc@5: Update inputs.
   new  d31e7ba   Revert "gnu: binutils: Update to 2.29.1."

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/local.mk   |  1 -
 gnu/packages/base.scm  |  7 ++-
 gnu/packages/gcc.scm   |  9 ++--
 gnu/packages/patches/binutils-CVE-2017-14729.patch | 58 --
 4 files changed, 7 insertions(+), 68 deletions(-)
 delete mode 100644 gnu/packages/patches/binutils-CVE-2017-14729.patch



07/10: gnu: Update the propagated inputs of python-urllib3.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit cf47e34e62ef7547f3596cb652eef2fef7b7a1d2
Author: Cyril Roelandt 
Date:   Sun Sep 10 01:20:57 2017 +0200

gnu: Update the propagated inputs of python-urllib3.

* gnu/packages/python.scm (python-urllib3, python2-urllib3): Update 
propagated
  inputs.
---
 gnu/packages/python.scm | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2a83da6..755fd59 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9839,10 +9839,11 @@ concurrent.futures package from Python 3.2")
("python-mock" ,python-mock)
("python-tornado" ,python-tornado)))
 (propagated-inputs
- `(;; extra packages for https security
+ `(;; These 5 inputs are used to build urrlib3[secure]
("python-certifi" ,python-certifi)
-   ("python-ndg-httpsclient" ,python-ndg-httpsclient)
-   ("python-pyasn1" ,python-pyasn1)
+   ("python-cryptography" ,python-cryptography) ;
+   ("python-idna" ,python-idna)
+   ("python-ipaddress" ,python-ipaddress)
("python-pyopenssl" ,python-pyopenssl)))
 (home-page "https://urllib3.readthedocs.org/;)
 (synopsis "HTTP library with thread-safe connection pooling")



08/10: gnu: Add python-tqdm.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit b84ef9e2246024ca0fbec34d0fb0cc39901f674f
Author: Cyril Roelandt 
Date:   Sun Sep 10 02:13:05 2017 +0200

gnu: Add python-tqdm.

* gnu/packages/python.scm (python-tqdm, python2-tqdm): New variables.
---
 gnu/packages/python.scm | 29 +
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 755fd59..98fa998 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16352,3 +16352,32 @@ ignoring formatting changes.")
 
 (define-public python2-nose-timer
   (package-with-python2 python-nose-timer))
+
+(define-public python-tqdm
+  (package
+(name "python-tqdm")
+(version "4.15.0")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "tqdm" version))
+ (sha256
+   (base32
+ "0lwrmby8qz23gvqwkpivfrv4q8nfh90cz9ml6slwvwmcxxsdrhbf"
+(build-system python-build-system)
+(native-inputs
+ `(("python-flake8" ,python-flake8)
+   ("python-nose" ,python-nose)
+   ("python-nose-timer" ,python-nose-timer)
+   ("python-coverage" ,python-coverage)
+   ("python-virtualenv" ,python-virtualenv)))
+(home-page "https://github.com/tqdm/tqdm;)
+(synopsis "Fast, extensible progress meter")
+(description
+  "Make loops show a progress bar on the console by just wrapping any
+iterable with @code{|tqdm(iterable)|}.  Offers many options to define
+design and layout.")
+(license (list license:mpl2.0 license:expat
+
+(define-public python2-tqdm
+  (package-with-python2 python-tqdm))



10/10: gnu: Add python-twine.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 3ef85c1118e19a66d76f21de67beca6f93c920c3
Author: Cyril Roelandt 
Date:   Sun Sep 10 03:02:50 2017 +0200

gnu: Add python-twine.

* gnu/packages/python.scm (python-twine, python2-twine): New variables.
---
 gnu/packages/python.scm | 28 
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 952af29..6ffd468 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16411,3 +16411,31 @@ created by running @code{python setup.py develop}).")
 
 (define-public python2-pkginfo
   (package-with-python2 python-pkginfo))
+
+(define-public python-twine
+  (package
+(name "python-twine")
+(version "1.9.1")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "twine" version))
+(sha256
+  (base32
+"1ay1b6kdq6k4bfbjsvf6ymj41wrgpvinhxndb09355pwhxwmp96a"
+(build-system python-build-system)
+(propagated-inputs
+ `(("python-tqdm" ,python-tqdm)
+   ("python-pkginfo", python-pkginfo)
+   ("python-requests" ,python-requests)
+   ("python-requests-toolbelt" ,python-requests-toolbelt)))
+(home-page "https://github.com/pypa/twine;)
+(synopsis "Collection of utilities for interacting with PyPI")
+(description
+  "@code{twine} currently supports registering projects and uploading
+distributions.  It authenticates the user over HTTPS, allows them to pre-sign
+their files and supports any packaging format (including wheels).")
+(license license:asl2.0)))
+
+(define-public python2-twine
+  (package-with-python2 python-twine))



06/10: gnu: Add python-nose-timer.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 8e6ceb473753de3b17d51410d038bb6ad17decd1
Author: Cyril Roelandt 
Date:   Sat Sep 9 21:34:30 2017 +0200

gnu: Add python-nose-timer.

* gnu/packages/python.scm (python-nose-time, python2-nose-timer): New 
variables.
---
 gnu/packages/python.scm | 28 
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 94aca8f..2a83da6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16323,3 +16323,31 @@ ignoring formatting changes.")
 
 (define-public python2-pydiff
   (package-with-python2 python-pydiff))
+
+(define-public python-nose-timer
+  (package
+(name "python-nose-timer")
+(version "0.7.0")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "nose-timer" version))
+(patches
+ (search-patches
+  ;; This patch will not be needed in the next version.
+  ;; It is taken from the master branch.
+  "python-nose-timer-drop-ordereddict.patch"))
+(sha256
+  (base32
+"1s32ymsnby8lz2qk55ifj9zi50dqcg6swnj5cz2rmwxg2jsslsxp"
+(build-system python-build-system)
+(propagated-inputs
+ `(("python-nose" ,python-nose)
+   ("python-termcolor" ,python-termcolor)))
+(home-page "https://github.com/mahmoudimus/nose-timer;)
+(synopsis "Timer plugin for nosetests")
+(description "Shows how much time was needed to run individual tests.")
+(license license:expat)))
+
+(define-public python2-nose-timer
+  (package-with-python2 python-nose-timer))



03/10: gnu: python-requests-toolbelt: Update to 0.8.0.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 30d7207f2e24f837bba5a4d954143c587b54ef49
Author: Cyril Roelandt 
Date:   Mon Sep 11 04:24:29 2017 +0200

gnu: python-requests-toolbelt: Update to 0.8.0.

* gnu/packages/python.scm (python-requests-toolbelt): Udpate to 0.8.0.
---
 gnu/packages/python.scm | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b566e90..27f260c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9242,16 +9242,13 @@ for atomic file system operations.")
 (define-public python-requests-toolbelt
   (package
 (name "python-requests-toolbelt")
-(version "0.6.2")
+(version "0.8.0")
 (source (origin
  (method url-fetch)
- (uri (string-append
-"https://pypi.python.org/packages/;
-
"e1/a4/a94c037bc72ad70441aff1403d3243510d2542ddca7759faaeffeb11aefe/"
-"requests-toolbelt-" version ".tar.gz"))
+ (uri (pypi-uri "requests-toolbelt" version))
  (sha256
   (base32
-   "15q9nrgp85nqlr4kdz1zvj8z2npafi2sr12y7fqgxbkq28j1aci6"
+   "1dc7l42i4080r8i4m9fj51jx367lqkai170vrv7wd93gdj9k39gn"
 (build-system python-build-system)
 (native-inputs
  `(("python-betamax" ,python-betamax)



01/10: gnu: Add python-pydiff.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit ab7f51fa344c757fd2825ce1fff7d6c587d1b609
Author: Cyril Roelandt 
Date:   Fri Sep 8 23:20:07 2017 +0200

gnu: Add python-pydiff.

* gnu/packages/python.scm (python-pydiff, python2-pydiff): New variables.
---
 gnu/packages/python.scm | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 77c4a83..35a2cec 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16301,3 +16301,25 @@ Templates.")
 
 (define-public python2-uritemplate
   (package-with-python2 python-uritemplate))
+
+(define-public python-pydiff
+  (package
+(name "python-pydiff")
+(version "0.2")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "pydiff" version))
+(sha256
+  (base32
+"1als83h9w0gab24ipyna6khm390qmpnpkc5jksmdbs2xc8hp2z44"
+(build-system python-build-system)
+(home-page "https://github.com/myint/pydiff;)
+(synopsis "Library to diff two Python files at the bytecode level")
+(description
+  "@code{pydiff} makes it easy to look for actual code changes while
+ignoring formatting changes.")
+(license license:expat)))
+
+(define-public python2-pydiff
+  (package-with-python2 python-pydiff))



02/10: gnu: python-autopep8: Update to 1.3.2.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 8e483fb540dc636c2f00efcda338b0a7d3f6dcdc
Author: Cyril Roelandt 
Date:   Fri Sep 8 23:58:22 2017 +0200

gnu: python-autopep8: Update to 1.3.2.

* gnu/packages/python.scm (python-autopep8): Update to 1.3.2.
---
 gnu/packages/python.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 35a2cec..b566e90 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4906,17 +4906,17 @@ SQLAlchemy Database Toolkit for Python.")
 (define-public python-autopep8
   (package
   (name "python-autopep8")
-  (version "1.2.4")
+  (version "1.3.2")
   (source
(origin
  (method url-fetch)
  (uri (pypi-uri "autopep8" version))
  (sha256
   (base32
-   "18parm383lfn42a00wklv3qf20p4v277f1x3cn58x019dqk1xqrq"
+   "1p9pa1ffg4iy96l918808jggg9a69iaka5awmj8xid36yc5mk0ky"
   (build-system python-build-system)
   (propagated-inputs
-`(("python-pep8" ,python-pep8)))
+`(("python-pycodestyle" ,python-pycodestyle)))
   (home-page "https://github.com/hhatto/autopep8;)
   (synopsis "Format Python code according to the PEP 8 style guide")
   (description



05/10: gnu: python-tox: Update to 2.8.1.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 9bb7c05e3db1adca51f9441c725e34599ba8e44c
Author: Cyril Roelandt 
Date:   Sat Sep 9 04:37:22 2017 +0200

gnu: python-tox: Update to 2.8.1.

* gnu/packages/python.scm (python-tox): Update to 2.8.1.
---
 gnu/packages/python.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 55f4f65..94aca8f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9925,14 +9925,14 @@ Pytest but stripped of Pytest specific details.")
 (define-public python-tox
   (package
(name "python-tox")
-   (version "2.8.0")
+   (version "2.8.1")
(source
 (origin
  (method url-fetch)
  (uri (pypi-uri "tox" version))
  (sha256
   (base32
-   "00lrql2cfzhb712v70inac6mrgdv8s8fmvz7qpggkk623hkm2pgc"
+   "1drp6mwm8wdypjym15ia8lwjxbhcksb9vzxg4ay5dh4ji57by2ny"
(build-system python-build-system)
(arguments
 ;; FIXME: Tests require pytest-timeout, which itself requires



04/10: gnu: Add python2-requests-toolbelt.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 74e9895f2da73a3ff6d8f79811ec41532402c93d
Author: Cyril Roelandt 
Date:   Mon Sep 11 04:28:26 2017 +0200

gnu: Add python2-requests-toolbelt.

* gnu/packages/python.scm (python2-requests-toolbelt): New variable.
---
 gnu/packages/python.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 27f260c..55f4f65 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9262,6 +9262,9 @@ with python-requests.")
 (home-page "https://github.com/sigmavirus24/requests-toolbelt;)
 (license license:asl2.0)))
 
+(define-public python2-requests-toolbelt
+  (package-with-python2 python-requests-toolbelt))
+
 (define-public python-click-threading
   (package
 (name "python-click-threading")



09/10: gnu: Add python-pkginfo.

2017-10-02 Thread Cyril Roelandt
steap pushed a commit to branch master
in repository guix.

commit 78f46e65bd1433009bd974b9d150e5675e5a7201
Author: Cyril Roelandt 
Date:   Sun Sep 10 02:47:15 2017 +0200

gnu: Add python-pkginfo.

* gnu/packages/python.scm (python-pkginfo, python2-pkginfo): New variables.
---
 gnu/packages/python.scm | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 98fa998..952af29 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -16381,3 +16381,33 @@ design and layout.")
 
 (define-public python2-tqdm
   (package-with-python2 python-tqdm))
+
+(define-public python-pkginfo
+  (package
+(name "python-pkginfo")
+(version "1.4.1")
+(source
+  (origin
+(method url-fetch)
+(uri (pypi-uri "pkginfo" version))
+(sha256
+  (base32
+"17pqjfpq3c6xzdmk8pski6jcjgjv78q00zjf2bgzb668pzm6l6mv"
+(build-system python-build-system)
+(arguments
+ ;; The tests are broken upstream.
+ '(#:tests? #f))
+(home-page
+  "https://code.launchpad.net/~tseaver/pkginfo/trunk;)
+(synopsis
+  "Query metadatdata from sdists, bdists, and installed packages")
+(description
+  "API to query the distutils metadata written in @file{PKG-INFO} inside a
+source distriubtion (an sdist) or a binary distribution (e.g., created by
+running bdist_egg).  It can also query the EGG-INFO directory of an installed
+distribution, and the *.egg-info stored in a \"development checkout\" (e.g,
+created by running @code{python setup.py develop}).")
+(license license:expat)))
+
+(define-public python2-pkginfo
+  (package-with-python2 python-pkginfo))



branch master updated (76dd04b -> 3ef85c1)

2017-10-02 Thread Cyril Roelandt
steap pushed a change to branch master
in repository guix.

  from  76dd04b   gnu: dnsmasq: Update to 2.78 [Security fixes].
   new  ab7f51f   gnu: Add python-pydiff.
   new  8e483fb   gnu: python-autopep8: Update to 1.3.2.
   new  30d7207   gnu: python-requests-toolbelt: Update to 0.8.0.
   new  74e9895   gnu: Add python2-requests-toolbelt.
   new  9bb7c05   gnu: python-tox: Update to 2.8.1.
   new  8e6ceb4   gnu: Add python-nose-timer.
   new  cf47e34   gnu: Update the propagated inputs of python-urllib3.
   new  b84ef9e   gnu: Add python-tqdm.
   new  78f46e6   gnu: Add python-pkginfo.
   new  3ef85c1   gnu: Add python-twine.

The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/python.scm | 166 
 1 file changed, 152 insertions(+), 14 deletions(-)



01/01: gnu: dnsmasq: Update to 2.78 [Security fixes].

2017-10-02 Thread Efraim Flashner
efraim pushed a commit to branch master
in repository guix.

commit 76dd04be470ae3d9e6bca35f8d77449fb282216c
Author: Efraim Flashner 
Date:   Mon Oct 2 20:32:04 2017 +0300

gnu: dnsmasq: Update to 2.78 [Security fixes].

This fixes CVE-2017-13704 and CVE-2017-1449[123456].

* gnu/packages/dns.scm (dnsmasq): Update to 2.78.
---
 gnu/packages/dns.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 4a8e4aa..9f4af0d 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer 
 ;;; Copyright © 2016 Mark H Weaver 
 ;;; Copyright © 2016 Ricardo Wurmus 
-;;; Copyright © 2016 Efraim Flashner 
+;;; Copyright © 2016, 2017 Efraim Flashner 
 ;;; Copyright © 2016 John Darrington 
 ;;; Copyright © 2016 ng0 
 ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice 
@@ -59,7 +59,7 @@
 (define-public dnsmasq
   (package
 (name "dnsmasq")
-(version "2.76")
+(version "2.78")
 (source (origin
   (method url-fetch)
   (uri (string-append
@@ -67,7 +67,7 @@
 version ".tar.xz"))
   (sha256
(base32
-"15lzih6671gh9knzpl8mxchiml7z5lfqzr7jm2r0rjhrxs6nk4jb"
+"0ar5h5v3kas2qx2wgy5iqin15gc4jhqrqs067xacgc3lii1rz549"
 (build-system gnu-build-system)
 (native-inputs
  `(("pkg-config" ,pkg-config)))



branch master updated (1960d4f -> 76dd04b)

2017-10-02 Thread Efraim Flashner
efraim pushed a change to branch master
in repository guix.

  from  1960d4f   gnu: ruby-pry: Update to 0.11.1.
   new  76dd04b   gnu: dnsmasq: Update to 2.78 [Security fixes].

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/dns.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)



branch master updated (08d9784 -> 1960d4f)

2017-10-02 Thread Ben Woodcroft
benwoodcroft pushed a change to branch master
in repository guix.

  from  08d9784   gnu: autoconf-archive: Update to 2017.09.28.
   new  c835503   gnu: ruby-method-source: Update to 0.9.0.
   new  1960d4f   gnu: ruby-pry: Update to 0.11.1.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/ruby.scm | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)



01/02: gnu: ruby-method-source: Update to 0.9.0.

2017-10-02 Thread Ben Woodcroft
benwoodcroft pushed a commit to branch master
in repository guix.

commit c83550372acf1d1eca92e181e0e689d036963e6d
Author: Ben Woodcroft 
Date:   Mon Oct 2 22:06:25 2017 +1000

gnu: ruby-method-source: Update to 0.9.0.

* gnu/packages/ruby.scm (ruby-method-source): Update to 0.9.0.
[arguments]: Use "spec" test target.
[native-inputs]: Remove ruby-bacon, add ruby-rspec.
---
 gnu/packages/ruby.scm | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0193076..256b99c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2107,17 +2107,19 @@ both CSS3 selector and XPath 1.0 support.")
 (define-public ruby-method-source
   (package
 (name "ruby-method-source")
-(version "0.8.2")
+(version "0.9.0")
 (source
  (origin
(method url-fetch)
(uri (rubygems-uri "method_source" version))
(sha256
 (base32
- "1g5i4w0dmlhzd18dijlqw5gk27bv6dj2kziqzrzb7mpgxgsd1sf2"
+ "0xqj21j3vfq4ldia6i2akhn2qd84m0iqcnsl49kfpq3xk6x0dzgn"
 (build-system ruby-build-system)
+(arguments
+ `(#:test-target "spec"))
 (native-inputs
- `(("ruby-bacon" ,ruby-bacon)
+ `(("ruby-rspec" ,ruby-rspec)
("git" ,git)))
 (synopsis "Retrieve the source code for Ruby methods")
 (description "Method_source retrieves the source code for Ruby methods.



02/02: gnu: ruby-pry: Update to 0.11.1.

2017-10-02 Thread Ben Woodcroft
benwoodcroft pushed a commit to branch master
in repository guix.

commit 1960d4fdeacde625c9c710a71efe696db057b926
Author: Ben Woodcroft 
Date:   Mon Oct 2 21:59:15 2017 +1000

gnu: ruby-pry: Update to 0.11.1.

* gnu/packages/ruby.scm (ruby-pry): Update to 0.11.1.
[propagated-inputs]: Remove ruby-slop-3.
---
 gnu/packages/ruby.scm | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 256b99c..f2333db 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2182,21 +2182,20 @@ rate.")
 (define-public ruby-pry
   (package
 (name "ruby-pry")
-(version "0.10.4")
+(version "0.11.1")
 (source
  (origin
(method url-fetch)
(uri (rubygems-uri "pry" version))
(sha256
 (base32
- "05xbzyin63aj2prrv8fbq2d5df2mid93m81hz5bvf2v4hnzs42ar"
+ "0ci461a55sn50rlrmcl97ycf79681glp443a2gzp23rnm7y70fkj"
 (build-system ruby-build-system)
 (arguments
  '(#:tests? #f)) ; no tests
 (propagated-inputs
  `(("ruby-coderay" ,ruby-coderay)
-   ("ruby-method-source" ,ruby-method-source)
-   ("ruby-slop" ,ruby-slop-3)))
+   ("ruby-method-source" ,ruby-method-source)))
 (synopsis "Ruby REPL")
 (description "Pry is an IRB alternative and runtime developer console for
 Ruby.  It features syntax highlighting, a plugin architecture, runtime



branch core-updates updated (b33c255 -> 3097edf)

2017-10-02 Thread Efraim Flashner
efraim pushed a change to branch core-updates
in repository guix.

  from  b33c255   gnu: expat: Update to 2.2.2.
   new  3097edf   gnu: binutils: Update to 2.29.1.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/local.mk   |  1 +
 gnu/packages/base.scm  |  7 +--
 gnu/packages/patches/binutils-CVE-2017-14729.patch | 58 ++
 3 files changed, 63 insertions(+), 3 deletions(-)
 create mode 100644 gnu/packages/patches/binutils-CVE-2017-14729.patch



01/01: gnu: binutils: Update to 2.29.1.

2017-10-02 Thread Efraim Flashner
efraim pushed a commit to branch core-updates
in repository guix.

commit 3097edf54966442b90f8ff65cb83425187a74d54
Author: Efraim Flashner 
Date:   Mon Oct 2 12:12:58 2017 +0300

gnu: binutils: Update to 2.29.1.

* gnu/packages/base.scm (binutils): Update to 2.29.1.
[source]: Add patch.
* gnu/packages/patches/binutils-CVE-2017-14729.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
---
 gnu/local.mk   |  1 +
 gnu/packages/base.scm  |  7 +--
 gnu/packages/patches/binutils-CVE-2017-14729.patch | 58 ++
 3 files changed, 63 insertions(+), 3 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 12b279e..73f5eaf 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -538,6 +538,7 @@ dist_patch_DATA =   
\
   %D%/packages/patches/azr3.patch  \
   %D%/packages/patches/bash-completion-directories.patch   \
   %D%/packages/patches/bcftools-regidx-unsigned-char.patch \
+  %D%/packages/patches/binutils-CVE-2017-14729.patch   \
   %D%/packages/patches/binutils-ld-new-dtags.patch \
   %D%/packages/patches/binutils-loongson-workaround.patch  \
   %D%/packages/patches/blast+-fix-makefile.patch   \
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 20f5ab7..7b5b5f8 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -393,15 +393,16 @@ change.  GNU make offers many powerful extensions over 
the standard utility.")
 (define-public binutils
   (package
(name "binutils")
-   (version "2.28.1")
+   (version "2.29.1")
(source (origin
 (method url-fetch)
 (uri (string-append "mirror://gnu/binutils/binutils-"
 version ".tar.bz2"))
 (sha256
  (base32
-  "1sj234nd05cdgga1r36zalvvdkvpfbr12g5mir2n8i1dwsdrj939"))
-(patches (search-patches "binutils-ld-new-dtags.patch"
+  "1k2mziqn0pbxpxnkwxrl824xnmivcqdkb0insap71yv92gsdy28m"))
+(patches (search-patches "binutils-CVE-2017-14729.patch"
+ "binutils-ld-new-dtags.patch"
  "binutils-loongson-workaround.patch"
(build-system gnu-build-system)
 
diff --git a/gnu/packages/patches/binutils-CVE-2017-14729.patch 
b/gnu/packages/patches/binutils-CVE-2017-14729.patch
new file mode 100644
index 000..ccf3d35
--- /dev/null
+++ b/gnu/packages/patches/binutils-CVE-2017-14729.patch
@@ -0,0 +1,58 @@
+https://blogs.gentoo.org/ago/2017/09/25/binutils-heap-based-buffer-overflow-in-_bfd_x86_elf_get_synthetic_symtab-elfxx-x86-c/
+
+this patch is modified slightly to apply to our binutils
+
+From 56933f9e3e90eebf1018ed7417d6c1184b91db6b Mon Sep 17 00:00:00 2001
+From: "H.J. Lu" 
+Date: Fri, 22 Sep 2017 14:15:40 -0700
+Subject: [PATCH] x86: Guard against corrupted PLT
+
+There should be only one entry in PLT for a given symbol.  Set howto to
+NULL after processing a PLT entry to guard against corrupted PLT so that
+the duplicated PLT entries are skipped.
+
+   PR binutils/22170
+* elf32-i386.c (elf_i386_get_synthetic_symtab): Guard against
+corrupted PLT.
+* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.
+
+(cherry picked from commit 61e3bf5f83f7e505b6bc51ef65426e5b31e6e360)
+---
+ bfd/ChangeLog  | 7 +++
+ bfd/elf32-i386.c   | 4 
+ bfd/elf64-x86-64.c | 4 
+ 3 files changed, 15 insertions(+)
+
+diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
+index 9dc2d25..ba50c93 100644
+--- a/bfd/elf32-i386.c
 b/bfd/elf32-i386.c
+@@ -6616,6 +6616,10 @@ bad_return:
+ size += sizeof ("+0x") - 1 + 8;
+   n++;
+   s++;
++  /* There should be only one entry in PLT for a given
++ symbol.  Set howto to NULL after processing a PLT
++ entry to guard against corrupted PLT.  */
++  p->howto = NULL;
+ }
+   offset += plt_entry_size;
+ }
+diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
+index 558db98..d9225ad 100644
+--- a/bfd/elf64-x86-64.c
 b/bfd/elf64-x86-64.c
+@@ -6970,6 +6970,10 @@ bad_return:
+ size += sizeof ("+0x") - 1 + 8 + 8 * ABI_64_P (abfd);
+   n++;
+   s++;
++  /* There should be only one entry in PLT for a given
++ symbol.  Set howto to NULL after processing a PLT
++ entry to guard against corrupted PLT.  */
++  p->howto = NULL;
+ }
+   offset += plt_entry_size;
+ }
+-- 
+2.9.3
+



branch master updated (99e28bb -> 08d9784)

2017-10-02 Thread Efraim Flashner
efraim pushed a change to branch master
in repository guix.

  from  99e28bb   gnu: tilda: Use glib-or-gtk build system.
   new  08d9784   gnu: autoconf-archive: Update to 2017.09.28.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/autotools.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



01/01: gnu: autoconf-archive: Update to 2017.09.28.

2017-10-02 Thread Efraim Flashner
efraim pushed a commit to branch master
in repository guix.

commit 08d97842e1c654b9908470d312e87f034264f5aa
Author: Efraim Flashner 
Date:   Mon Oct 2 11:54:04 2017 +0300

gnu: autoconf-archive: Update to 2017.09.28.

* gnu/packages/autotools.scm (autoconf-archive): Update to 2017.09.28.
---
 gnu/packages/autotools.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 30a9aac..79ef31f 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2015, 2017 Mark H Weaver 
 ;;; Copyright © 2016 David Thompson 
 ;;; Copyright © 2017 ng0 
+;;; Copyright © 2017 Efraim Flashner 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -194,7 +195,7 @@ exec ~a --no-auto-compile \"$0\" \"$@\"
 (define-public autoconf-archive
   (package
 (name "autoconf-archive")
-(version "2017.03.21")
+(version "2017.09.28")
 (source
  (origin
   (method url-fetch)
@@ -202,7 +203,7 @@ exec ~a --no-auto-compile \"$0\" \"$@\"
   version ".tar.xz"))
   (sha256
(base32
-"0rfpapadka2023qhy8294ca5awxpb8d4904js6kv7piby5ax8siq"
+"00gsh9hkrgg291my98plkrwlcpxkfrpq64pglf18kciqbf2bb7sw"
 (build-system gnu-build-system)
 (home-page "https://www.gnu.org/software/autoconf-archive/;)
 (synopsis "Collection of freely reusable Autoconf macros")



branch master updated (a49d3e3 -> 99e28bb)

2017-10-02 Thread Efraim Flashner
efraim pushed a change to branch master
in repository guix.

  from  a49d3e3   gnu: gnome-calendar: Update to 3.26.1.
   new  99e28bb   gnu: tilda: Use glib-or-gtk build system.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/terminals.scm | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)



01/01: gnu: tilda: Use glib-or-gtk build system.

2017-10-02 Thread Efraim Flashner
efraim pushed a commit to branch master
in repository guix.

commit 99e28bbf8a0d31ef526c78d561c6f36e60f250bf
Author: Efraim Flashner 
Date:   Mon Oct 2 10:34:25 2017 +0300

gnu: tilda: Use glib-or-gtk build system.

* gnu/packages/terminals.scm (tilda)[build-system]: Switch to
glib-or-gtk build system.
[inputs]: Remove glib:bin, gtk+.
---
 gnu/packages/terminals.scm | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index a9682b6..2fa5f7e 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016 Efraim Flashner 
+;;; Copyright © 2015, 2016, 2017 Efraim Flashner 
 ;;; Copyright © 2016 Mckinley Olsen 
 ;;; Copyright © 2016, 2017 Alex Griffin 
 ;;; Copyright © 2016 David Craven 
@@ -28,6 +28,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build utils)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system python)
   #:use-module (guix download)
   #:use-module (guix git-download)
@@ -63,7 +64,7 @@
   (sha256
(base32
 "1cc4qbg1m3i04lj5p6i6xbd0zvy1320pxdgmjhz5p3j95ibsbfki"
-(build-system gnu-build-system)
+(build-system glib-or-gtk-build-system)
 (arguments
  `(#:phases (modify-phases %standard-phases
  (add-before 'patch-source-shebangs 'autogen
@@ -77,9 +78,7 @@
("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
 (inputs
- `(("glib" ,glib "bin")
-   ("gtk+" ,gtk+)
-   ("libconfuse" ,libconfuse)
+ `(("libconfuse" ,libconfuse)
("vte" ,vte)))
 (synopsis "GTK+-based drop-down terminal")
 (description "Tilda is a terminal emulator similar to normal terminals like