aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
Commit message (Collapse)AuthorAge
* Revert "gnu: Use patched static bash in glibc replacement."Ricardo Wurmus2018-03-14
| | | | This reverts commit 42958b5e0feff1000ba17a353bb58fdf45f20716.
* Revert "gnu: Add missing module to (gnu packages base)."Ricardo Wurmus2018-03-14
| | | | This reverts commit 911e66f922f2316f061656a6edf5f243342735b7.
* gnu: Add missing module to (gnu packages base).Ricardo Wurmus2018-03-14
| | | | | | | | This is a follow-up to commit 42958b5e0feff1000ba17a353bb58fdf45f20716. Reported by pmikkelsen on IRC. * gnu/packages/base.scm: Use srfi-1 for alist-delete.
* gnu: Use patched static bash in glibc replacement.Ricardo Wurmus2018-03-14
| | | | | | * gnu/packages/base.scm (glibc-2.26-patched): Rename... (glibc-2.26-patched-boot): ...to this. (patched-static-bash, glibc-2.26-patched): New variables.
* gnu: glibc-2.26-patch: Remove unneeded 'replacement' field.Ludovic Courtès2018-03-07
| | | | | * gnu/packages/base.scm (glibc-2.26-patched): Remove unneeded 'replacement' field.
* gnu: Graft glibc to allow execution on Linux 2.6.32.Ricardo Wurmus2018-03-01
| | | | | | | * gnu/packages/patches/glibc-allow-kernel-2.6.32.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc/linux)[replacement]: New field. (glibc-2.26-patched): New variable.
* Merge branch 'master' into core-updatesMark H Weaver2018-02-03
|\
| * gnu: Add copyright statement for Alex Vong.Leo Famulari2018-02-01
| | | | | | | | | | | | This is a followup to commit 20be64dcf7d4d08e75eb56c34890420bea7882ec. * gnu/packages/base.scm: Add copyright statement.
* | gnu: glibc@2.25: Don't apply glibc-CVE-2015-5180.patch.Marius Bakke2018-02-01
| | | | | | | | | | | | | | | | This was mistakenly added in 67d527e35e367c9e9e89ec01cda2ce32cabd2d89 and already included in glibc 2.25. * gnu/packages/base.scm (glibc-2.25)[source](patches): Remove 'glibc-CVE-2015-5180.patch'.
* | Merge branch 'master' into core-updatesLeo Famulari2018-01-11
|\|
| * gnu: grep: Add dependency on PCRE.Ludovic Courtès2018-01-11
| | | | | | | | | | | | | | | | Suggested by Oleg Pykhalov <go.wigust@gmail.com> and Roel Janssen <roel@gnu.org>. * gnu/packages/base.scm (grep)[inputs]: New field. * gnu/packages/commencement.scm (grep-final)[inputs]: New field.
* | Revert "gnu: glibc: Fix CVE-2017-15670, CVE-2017-15671."Marius Bakke2018-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | These issues has been classified as minor by Debian: https://security-tracker.debian.org/tracker/CVE-2017-15670 https://security-tracker.debian.org/tracker/CVE-2017-15671 In addition, the patch only fixes one of the two CVEs it claims to fix. We don't backport most CVEs, especially non-critical ones, so no need to carry this (which is in 2.26). See discussion at <https://bugs.gnu.org/29490>. This reverts commit 60e29339d8389e678bb9ca4bd3420ee9ee88bdf2.
* | gnu: coreutils: Fix cross-compilation.Ludovic Courtès2017-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously cross-compiling coreutils would fail with: aarch64-linux-gnu-gcc -Os -g0 -Wl,--as-needed -static -pthread -o src/uptime src/uptime.o src/libver.a lib/libcoreutils.a lib/libcoreutils.a /gnu/store/hk8615wmmzk28k5z06g69jm6vbhc8lgk-glibc-cross-aarch64-linux-gnu-2.26.105-g0890d5379c-static/lib/libc.a(mktime.o): In function `__mktime_internal': /tmp/guix-build-glibc-cross-aarch64-linux-gnu-2.26.105-g0890d5379c.drv-0/glibc-2.26-105-g0890d5379c/time/mktime.c:353: multiple definition of `__mktime_internal' lib/libcoreutils.a(mktime.o):mktime.c:(.text+0x214): first defined here collect2: error: ld returned 1 exit status * gnu/packages/base.scm (coreutils)[arguments]: Add #:configure-flags when cross-compiling.
* | gnu: diffutils: Fix Gnulib/getopt cross-compilation issue.Ludovic Courtès2017-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously cross-compilation would fail: CC xvasprintf.o xstrtol-error.c:50:16: warning: 'struct rpl_option' declared inside parameter list int exit_status) ^ xstrtol-error.c: In function 'xstrtol_error': xstrtol-error.c:84:5: error: invalid use of undefined type 'struct rpl_option' * gnu/packages/patches/diffutils-getopt.patch: New file. * gnu/packages/base.scm (diffutils)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
* | gnu: glibc-locales: Don't inherit 'move-static-libs' phase from glibc.Marius Bakke2017-12-06
| | | | | | | | | | | | | | This is a follow-up to commit 6dff905e51202bbdebbad8811b6509584d12a796. * gnu/packages/base.scm (glibc-locales)[arguments]: Delete failing 'move-static-libs' phase.
* | gnu: glibc: Update to 2.26.105-g0890d5379 [fixes CVE-2017-15804].Marius Bakke2017-12-05
| | | | | | | | * gnu/packages/base.scm (glibc/linux): Update to 2.26.105-g0890d5379.
* | gnu: glibc: Don't use full version string in locale path.Marius Bakke2017-12-03
| | | | | | | | | | | | | | | | | | | | | | | | This is a follow-up to commit ee3ebf1a357bd4eb36a2fa1790a7b549cffb305a. Fixes <https://bugs.gnu.org/29537>. * gnu/packages/base.scm (glibc/linux)[version]: Change to 2.26.91-gaaa2eb83b8. [source](uri): Adjust accordingly. [arguments]: Use VERSION-MAJOR+MINOR for locales path. (glibc-locales, glibc-utf8-locales): Likewise. * guix/packages.scm (patch-and-repack): Likewise. * guix/profiles.scm (ca-certificate-bundle, profile-derivation): Likewise.
* | gnu: glibc: Update to 2.26-91-gaaa2eb83b8.Marius Bakke2017-11-28
| | | | | | | | | | | | * gnu/packages/base.scm (glibc/linux): Update to 2.26-91-gaaa2eb83b8. [source](uri): Download from alpha.gnu.org. [source](patches): Remove glibc-CVE-2017-15670-15671.patch.
* | gnu: Disable gnulib's test-lock test in packages.Eric Bavier2017-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (findutils)[source]: Disable test-lock. * gnu/packages/gettext.scm (gettext-minimal)[source]: Ditto. * gnu/packages/libidn.scm (libidn)[source]: Ditto. * gnu/packages/libunistring.scm (libunistring)[source]: Ditto. * gnu/packages/augeas.scm (augeas)[source]: Ditto. * gnu/packages/gsasl.scm (gsasl)[source]: Ditto. * gnu/packages/patches/findutils-gnulib-multi-core.patch, gnu/packages/patches/gettext-gnulib-multi-core.patch, gnu/packages/patches/gettext-multi-core.patch, gnu/packages/patches/libunistring-gnulib-multi-core.patch: Delete patches. * gnu/local.mk (DIST_PATCH_DATA): Remove them.
* | gnu: tzdata-for-tests: Update to 2017c.Leo Famulari2017-11-04
| | | | | | | | | | * gnu/packages/base.scm (tzdata-for-tests): Make it a 'hidden-package' and update to 2017c.
* | gnu: Generalize the variable name of the test-only tzdata package.Leo Famulari2017-11-04
| | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (tzdata-2017a): Rename variable to tzdata-for-tests. * gnu/packages/calcurse.scm (calcurse)[native-inputs, arguments]: Adjust accordingly. gnu/packages/glib.scm (glib): Likewise. * gnu/packages/perl.scm (perl-libtime-parsedate): Adjust accordingly and add tzdata-for-tests #:disallowed-references. * gnu/packages/statistics.scm (r-minimal): Adjust accordingly.
* | gnu: tzdata: Update to 2017c.Leo Famulari2017-11-04
| | | | | | | | * gnu/packages/base.scm (base)[tzdata]: Update to 2017c.
* | gnu: glibc: Update to 2.26.Marius Bakke2017-10-24
| | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (glibc/linux): Update to 2.26. [source](patches): Remove 'glibc-memchr-overflow-i686.patch', 'glibc-o-largefile.patch', 'glibc-vectorized-strcspn-guards.patch, 'glibc-CVE-2017-1000366-pt1.patch', 'glibc-CVE-2017-1000366-pt2.patch' and 'glibc-CVE-2017-1000366-pt3.patch'. (glibc-2.25): New public variable.
* | gnu: glibc: Incorporate grafted changes.Marius Bakke2017-10-24
| | | | | | | | | | | | * gnu/packages/base.scm (glibc/linux)[source](patches): Add 'glibc-CVE-2017-15670-15671.patch'. (glibc/fixed): Remove variable.
* | Merge branch 'master' into core-updatesMarius Bakke2017-10-24
|\|
| * gnu: glibc: Fix CVE-2017-15670, CVE-2017-15671.Marius Bakke2017-10-22
| | | | | | | | | | | | | | | | | | * gnu/packages/patches/glibc-CVE-2017-15670-15671.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/base.scm (glibc/linux)[replacement]: New field. (glibc/fixed): New variable. (glibc-2.24, glibc-2.23, glibc-2.22)[source](patches): Add 'glibc-CVE-2017-15670-15671.patch'.
* | Merge branch 'master' into core-updatesMarius Bakke2017-10-10
|\|
| * gnu: glibc-locales: Use 'modify-phases' syntax.Efraim Flashner2017-10-06
| | | | | | | | | | * gnu/packages/base.scm (glibc-locales)[arguments]: Use 'modify-phases' syntax.
* | gnu: coreutils: Update build phase.Efraim Flashner2017-10-08
| | | | | | | | | | * gnu/packages/base.scm (coreutils)[arguments]: Use 'modify-phases' syntax. Substitute with 'which sh'.
* | Revert "gnu: binutils: Update to 2.29.1."Efraim Flashner2017-10-03
| | | | | | | | This reverts commit 3097edf54966442b90f8ff65cb83425187a74d54.
* | gnu: binutils: Update to 2.29.1.Efraim Flashner2017-10-02
| | | | | | | | | | | | | | * 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: binutils: Update to 2.28.1.Efraim Flashner2017-10-01
| | | | | | | | | | | | | | * gnu/packages/base.scm (binutils): Update to 2.28.1. [replacement]: Remove field. * gnu/packages/commencement.scm (binutils-boot0, binutils-final): Don't use 'package/inherit'.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-10-01
|\|
| * gnu: binutils: Fix security issues.Efraim Flashner2017-09-17
| | | | | | | | | | | | | | * gnu/packages/base.scm (binutils)[replacement]: New field. (binutils/fixed): New variable. * gnu/packages/commencement.scm (binutils-boot0, binutils-final): Use 'package/inherit' to correctly use replacement binutils.
* | gnu: coreutils: Update to 8.28.Ludovic Courtès2017-09-05
| | | | | | | | | | | | | | * gnu/packages/base.scm (coreutils): Update to 8.28. [source]: Remove 'patches'. * gnu/packages/patches/coreutils-cut-huge-range-test.patch: Remove. * gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* | gnu: glibc: Add "static" output.Ludovic Courtès2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This shrinks glibc:out from 37 MiB to 29 MiB. * gnu/packages/base.scm (glibc/linux)[outputs]: Add "static". [arguments]: Add #:modules. Add 'move-static-libs' phase. * gnu/packages/commencement.scm (static-bash-for-glibc): Augment #:configure-flags to pass "-L LIBC:STATIC". Add the "static" output of GLIBC-FINAL to 'inputs'. (%boot2-inputs, %final-inputs): Likewise. (canonical-package): Adjust to deal with multiple-output packages. * gnu/packages/cross-base.scm (cross-gcc): Add the "static" output of LIBC to 'native-inputs'.
* | gnu: grep: Update to 3.1.Efraim Flashner2017-08-30
|/ | | | | | | * gnu/packages/base.scm (grep): Update to 3.1. [source]: Remove patch. * gnu/packages/patches/grep-gnulib-lock.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it.
* Merge branch 'master' into core-updatesMark H Weaver2017-08-06
|\
| * gnu: glibc@2.22: Fix security issues.Efraim Flashner2017-08-02
| | | | | | | | | | | | | | | | Fixes CVE-2015-{5180,7547}, CVE-2016-{3075,3706,4429}. * gnu/packages/base.scm (glibc@2.22)[source]: Add patches. * gnu/packages/patches/glibc-CVE-2015-7547.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
| * gnu: glibc@2.23: Fix CVE-2015-5180, CVE-2016-{3075,3706,4429}.Efraim Flashner2017-08-02
| | | | | | | | | | | | | | | | * gnu/packages/base.scm (glibc@2.23)[source]: Add patches. * gnu/packages/patches/glibc-CVE-2016-3075.patch, gnu/packages/patches/glibc-CVE-2016-3706.patch, gnu/packages/patches/glibc-CVE-2016-4429.patch: New files. * gnu/local.mk (dist_patch_DATA): Register them.
| * gnu: glibc@2.24: Fix CVE-2015-5180.Efraim Flashner2017-08-02
| | | | | | | | | | | | * gnu/packages/base.scm (glibc@2.24)[source]: Add patch. * gnu/packages/patches/glibc-CVE-2015-5180.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
* | Merge branch 'master' into core-updatesLeo Famulari2017-07-23
|\|
| * gnu: Remove glibc@2.21 and its traces.Ludovic Courtès2017-07-17
| | | | | | | | | | | | | | * gnu/packages/base.scm (glibc-2.21): Remove. * gnu/system/locale.scm (localedef-command)[maybe-version-directory]: Remove. Replace call with use of 'package-version'. (single-locale-directory): Remove 'version>=' conditional.
| * packages: Mark 'replacement' as an "innate" field.Ludovic Courtès2017-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Mark H Weaver at <https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00355.html>. * guix/packages.scm (<package>)[replacement]: Mark as "innate". * gnu/packages/base.scm (glibc-2.25-patched, glibc-2.24) (glibc-2.23, glibc-2.22, glibc-2.21, glibc-locales): Remove 'replacement' field, which was set to #f. * gnu/packages/commencement.scm (perl-boot0): Likewise. * gnu/packages/fontutils.scm (graphite2/fixed): Likewise. * gnu/packages/ghostscript.scm (ghostscript/fixed): Likewise. * gnu/packages/gnupg.scm (libgcrypt-1.7.8): Likewise. * gnu/packages/guile.scm (guile-2.0/fixed, guile-2.2): Likewise. * gnu/packages/icu4c.scm (icu4c/fixed): Likewise. * gnu/packages/image.scm (libpng-apng): Likewise. * gnu/packages/make-bootstrap.scm (%guile-static): Likewise. * gnu/packages/pcre.scm (pcre/fixed): Likewise. * gnu/packages/perl.scm (perl/fixed): Likewise. * gnu/packages/ruby.scm (ruby-2.3, ruby-2.2, ruby-2.1) (ruby-1.8): Likewise. * gnu/packages/tls.scm (gnutls-3.5.13, gnutls/guile-2.2): Likewise. * gnu/packages/xml.scm (expat-2.2.1): Likewise.
* | gnu: glibc: Fix build on i686.Mark H Weaver2017-07-01
| | | | | | | | | | | | | | | | This is followup to 503a4df904b8d4b82caebdb17db9c5f76a952418. Fixes <https://bugs.gnu.org/27489>. * gnu/packages/base.scm (glibc/linux): Add "glibc-vectorized-strcspn-guards.patch" to patches.
* | gnu: glibc/linux: Add patches for CVE-2017-1000366.Ludovic Courtès2017-06-29
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/glibc-CVE-2017-1000366-pt1.patch, gnu/packages/patches/glibc-CVE-2017-1000366-pt2.patch, gnu/packages/patches/glibc-CVE-2017-1000366-pt3.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/base.scm (glibc/linux)[source](patches): Add them. [replacement]: Remove. (glibc-2.25-patched): Remove. (glibc-2.24, glibc-2.23, glibc-2.22, glibc-2.21) (glibc-locales): Remove 'replacement' field.
* | Merge branch 'master' into core-updatesMark H Weaver2017-06-26
|\|
| * gnu: glibc: Fix replacement on i686.Mark H Weaver2017-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | This is followup to 665d6a59161769e10b52ffcbcd5cd2db22f32681. Fixes <https://bugs.gnu.org/27489>. * gnu/packages/base.scm (glibc-2.25-patched, glibc-2.24, glibc-2.23) (glibc-2.22): Add glibc-vectorized-strcspn-guards.patch to patches. Move a comment where it belongs. * gnu/packages/patches/glibc-CVE-2017-1000366-pt2.patch: Swap with ... * gnu/packages/patches/glibc-CVE-2017-1000366-pt3.patch: ... this. * gnu/packages/patches/glibc-vectorized-strcspn-guards.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Fix formatting.
| * gnu: glibc: Add mitigations for CVE-2017-1000366.Efraim Flashner2017-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (glibc/linux)[replacement]: New field. (glibc-2.25-patched): New variable. (glibc-2.24, glibc-2.23, glibc-2.22, glibc-2.21)[source]: Add patches. [replacement]: New field. (glibc-locales)[replacement]: New field. * gnu/packages/patches/glibc-CVE-2017-1000366-pt1.patch, gnu/packages/patches/glibc-CVE-2017-1000366-pt2.patch, gnu/packages/patches/glibc-CVE-2017-1000366-pt3.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. Modified-By: Mark H Weaver <mhw@netris.org>
| * gnu: glibc-2.22: Return #t from 'fix-pwd' phase.Mark H Weaver2017-06-24
| | | | | | | | | | | | | | Based on a patch by Efraim Flashner <efraim@flashner.co.il>. * gnu/packages/base.scm (glibc-2.22)[arguments]: Return #t from 'fix-pwd' phase.