Commit Graph

29002 Commits

Author SHA1 Message Date
Mike Gerwitz
e37944d827
environment: Add --user.
This change allows overriding the home directory of all filesystem mappings to
help hide the identity of the calling user in a container.

* doc/guix.texi (Invoking guix environment)[--container]: Mention --user.
[--user]: Add item.
* guix/scripts/environment.scm (show-help): Add --user.
(%options): Add --user.
(launch-environment/container) Add 'user' parameter.  Update doc.  Override
'user-mappings' using 'override-user-mappings'.  Consider override for chdir.
(mock-passwd, user-override-home, overrid-euser-dir): New procedures.
(guix-environment): Disallow --user without --container.  Provide user to
'launch-environment/container'.
* tests/guix-environment.sh: Add user test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-02 11:55:43 +01:00
Mike Gerwitz
07ec349229
environment: Add --link-profile.
This change is motivated by attempts to run programs (like GNU IceCat) within
containers.  The 'fontconfig' program, for example, is configured explicitly
to check ~/.guix-profile for additional fonts.

There were no existing container tests in 'tests/guix-environment.sh', but I
added one anyway for this change.

* doc/guix.texi (Invoking guix environment): Add '--link-profile'.
* guix/scripts/environment.scm (show-help): Add '--link-profile'.
(%options): Add 'link-profile' as '#\P', assigned to 'link-profile?'.
(link-environment): New procedure.
(launch-environment/container): Use it when 'link-profile?'.
[link-profile?]: New parameter.
(guix-environment): Leave when '--link-prof' but not '--container'.  Add
'#:link-profile?' argument to 'launch-environment/container' application.
* tests/guix-environment-container.sh: New '--link-profile' test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-02 11:55:42 +01:00
Mark H Weaver
99654a1685
gnu: icecat: Add more fixes from upstream mozilla-esr52.
* gnu/packages/gnuzilla.scm (icecat)[source]: Add selected fixes from the
upstream mozilla-esr52 repository.
2018-03-02 01:31:30 -05:00
Mark H Weaver
8863f2f051
gnu: icecat: Update to 52.6.0-gnu1.
* gnu/packages/gnuzilla.scm (icecat): Update to 52.6.0-gnu1.
[source]: Remove patches that are no longer needed.
* gnu/packages/patches/icecat-bug-1348660-pt5.patch,
gnu/packages/patches/icecat-bug-1414945.patch,
gnu/packages/patches/icecat-bug-1415133.patch,
gnu/packages/patches/icecat-bug-1424373-pt2.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2018-03-02 01:31:19 -05:00
Leo Famulari
703a8b7dc5
gnu: postgresql@9.6: Update to 9.6.8 [fixes CVE-2018-1058].
* gnu/packages/databases.scm (postgresql-9.6): Update to 9.6.8.
2018-03-01 20:01:48 -05:00
Leo Famulari
bb17b2be49
gnu: postgresql: Update to 10.3 [fixes CVE-2018-1058].
* gnu/packages/databases.scm (postgresql): Update to 10.3.
2018-03-01 20:01:48 -05:00
Leo Famulari
e9802319f7
gnu: memcached: Update to 1.5.6.
* gnu/packages/databases.scm (memcached): Update to 1.5.6.
2018-03-01 20:00:12 -05:00
Mark H Weaver
da525e714a
gnu: linux-libre: Update to 4.15.7.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.15.7.
(%linux-libre-hash): Update hash.
2018-03-01 17:59:21 -05:00
Mark H Weaver
433765e599
gnu: linux-libre@4.14: Update to 4.14.23.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.23.
(%linux-libre-4.14-hash): Update hash.
2018-03-01 17:58:35 -05:00
Mark H Weaver
8b1f76c443
gnu: linux-libre@4.9: Update to 4.9.85.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.85.
2018-03-01 17:58:04 -05:00
Mark H Weaver
5026696033
gnu: linux-libre@4.4: Update to 4.4.119.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.119.
2018-03-01 17:57:22 -05:00
Julien Lepiller
8147d7c675
gnu: php: Fix test failure.
* gnu/packages/php.scm (php)[inputs]: Use gd-for-php.
(gd-for-php): New private variable.
* gnu/packages/patches/gd-CVE-2018-5711.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-03-01 22:25:28 +01:00
Tobias Geerinckx-Rice
738aa0ca1d
gnu: sdcc: Fix typo in description.
* gnu/packages/sdcc.scm (sdcc)[description]: Fix (upstream) typo.  Add
hyphens.
2018-03-01 22:21:02 +01:00
Tobias Geerinckx-Rice
1ff14bf2cd
gnu: sdcc: Update to 3.7.0.
* gnu/packages/sdcc.scm (sdcc): Update to 3.7.0.
2018-03-01 22:21:02 +01:00
Tobias Geerinckx-Rice
bb47da4a6a
gnu: php: Update to 7.2.3.
* gnu/packages/php.scm (php): Update to 7.2.3.
2018-03-01 22:21:01 +01:00
Tobias Geerinckx-Rice
a9c0a133c0
gnu: python-stem: Update to 1.6.0.
* gnu/packages/python.scm (python-stem): Update to 1.6.0.
[arguments]: Add ‘fix-test-environment’ phase.
2018-03-01 22:21:01 +01:00
Tobias Geerinckx-Rice
68e7632db0
gnu: onionshare: Update phase style.
* gnu/packages/tor.scm (onionshare)[arguments]: Substitute INVOKE for
SYSTEM* and end phase with #t.
2018-03-01 22:21:01 +01:00
Tobias Geerinckx-Rice
fbb0164a5f
gnu: privoxy: Update phase style.
* gnu/packages/tor.scm (privoxy)[arguments]: Substitute INVOKE for
SYSTEM* and end phase with #t.
2018-03-01 22:21:01 +01:00
Tobias Geerinckx-Rice
66b89ee28e
gnu: python-stem: Update phase style.
* gnu/packages/python.scm (python-stem)[arguments]: Substitute INVOKE
for SYSTEM* and end phase with #t.
2018-03-01 22:21:00 +01:00
Tobias Geerinckx-Rice
57c734a628
gnu: liblo: Update to 0.29.
* gnu/packages/audio.scm (liblo): Update to 0.29.
2018-03-01 22:21:00 +01:00
Tobias Geerinckx-Rice
4972f9cc0a
gnu: nagios: Update to 4.3.4.
* gnu/packages/monitoring.scm (nagios): Update to 4.3.4.
2018-03-01 22:21:00 +01:00
Tobias Geerinckx-Rice
4f5452ab3a
gnu: libftdi: Use HTTPS home page.
* gnu/packages/libftdi.scm (libftdi)[home-page]: Use HTTPS.
2018-03-01 22:21:00 +01:00
Tobias Geerinckx-Rice
7314a5475e
gnu: dbacl: Use HTTPS home page.
* gnu/packages/textutils.scm (dbacl)[home-page]: Use HTTPS.
2018-03-01 22:20:59 +01:00
Tobias Geerinckx-Rice
db317b38dc
gnu: dbacl: Update phase style.
* gnu/packages/textutils.scm (dbacl)[arguments]: Substitute INVOKE for SYSTEM* and end phases with #t.
2018-03-01 22:20:59 +01:00
Ricardo Wurmus
b672a81607
gnu: Graft glibc to allow execution on Linux 2.6.32.
* 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.
2018-03-01 21:32:36 +01:00
Ricardo Wurmus
b79e1fbe96
gnu: r-httpuv: Update to 1.3.6.1.
* gnu/packages/web.scm (r-httpuv): Update to 1.3.6.1.
2018-03-01 21:28:54 +01:00
Ricardo Wurmus
bfae3f7121
gnu: r-lubridate: Update to 1.7.3.
* gnu/packages/statistics.scm (r-lubridate): Update to 1.7.3.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
eaf0905970
gnu: r-tidyselect: Update to 0.2.4.
* gnu/packages/statistics.scm (r-tidyselect): Update to 0.2.4.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
35d12b05f0
gnu: r-rmarkdown: Update to 1.9.
* gnu/packages/statistics.scm (r-rmarkdown): Update to 1.9.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
dafd13d5b2
gnu: r-rcpparmadillo: Update to 0.8.400.0.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.8.400.0.0.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
36e1202b2c
gnu: r-yaml: Update to 2.1.17.
* gnu/packages/statistics.scm (r-yaml): Update to 2.1.17.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
e3ddb56329
gnu: r-gdtools: Update to 0.1.7.
* gnu/packages/statistics.scm (r-gdtools): Update to 0.1.7.
[inputs]: Add zlib.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
e24ccf46f1
gnu: r-rpart: Update to 4.1-13.
* gnu/packages/statistics.scm (r-rpart): Update to 4.1-13.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
744e06e717
gnu: r-mass: Update to 7.3-49.
* gnu/packages/statistics.scm (r-mass): Update to 7.3-49.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
29c9c9c2c1
gnu: r-rmysql: Update to 0.10.14.
* gnu/packages/databases.scm (r-rmysql): Update to 0.10.14.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
5e38673455
gnu: r-pillar: Update to 1.2.1.
* gnu/packages/cran.scm (r-pillar): Update to 1.2.1.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
9d6f392529
gnu: r-truncnorm: Update to 1.0-8.
* gnu/packages/cran.scm (r-truncnorm): Update to 1.0-8.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
9aaf2813e2
gnu: r-scran: Update to 1.6.8.
* gnu/packages/bioinformatics.scm (r-scran): Update to 1.6.8.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
6a0e13906b
gnu: r-wgcna: Update to 1.63.
* gnu/packages/bioinformatics.scm (r-wgcna): Update to 1.63.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
61cbd49b30
gnu: r-topgo: Update to 2.30.1.
* gnu/packages/bioinformatics.scm (r-topgo): Update to 2.30.1.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
535014ce60
gnu: r-genomicranges: Update to 1.30.3.
* gnu/packages/bioinformatics.scm (r-genomicranges): Update to 1.30.3.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
eb8971b742
gnu: r-limma: Update to 3.34.9.
* gnu/packages/bioinformatics.scm (r-limma): Update to 3.34.9.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
22d96920d3
gnu: r-edger: Update to 3.20.9.
* gnu/packages/bioinformatics.scm (r-edger): Update to 3.20.9.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
99e4b11d81
gnu: r-shortread: Update to 1.36.1.
* gnu/packages/bioinformatics.scm (r-shortread): Update to 1.36.1.
2018-03-01 21:28:53 +01:00
Ricardo Wurmus
b180893289
gnu: r-dexseq: Update to 1.24.3.
* gnu/packages/bioinformatics.scm (r-dexseq): Update to 1.24.3.
2018-03-01 21:28:52 +01:00
Efraim Flashner
360ea2bbd5
gnu: efl: Use separate "include" output.
* gnu/packages/enlightenment.scm (efl)[outputs]: Add 'include' output.
2018-03-01 22:19:37 +02:00
Efraim Flashner
40a7997e63
gnu: efl: Update to 1.20.7.
* gnu/packages/enlightenment.scm (efl): Update to 1.20.7.
2018-03-01 22:18:58 +02:00
Ricardo Wurmus
643817e445
gnu: Add patchmatrix.
* gnu/packages/music.scm (patchmatrix): New variable.
2018-03-01 21:12:59 +01:00
Ricardo Wurmus
1debc5b9d2
gnu: ghc-uuid: Fix build.
* gnu/packages/haskell.scm (ghc-uuid)[arguments]: Allow building with a newer
version of QuickCheck.
2018-03-01 21:11:43 +01:00
Christopher Lemmer Webber
04e7b1e7f9
gnu: golly: Fix source url.
* gnu/packages/games.scm (golly): Fix source url.
2018-03-01 11:19:56 -06:00