summary refs log tree commit diff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2020-11-17 09:52:04 -0600
committerEric Bavier <bavier@member.fsf.org>2020-11-17 09:52:04 -0600
commit3aec121e95581e34a47e3a2d175af97579961206 (patch)
tree2a254279464587d975e0c9a834577e5bc6501b27 /gnu/packages/patches
parentede4117f7f18e118003f2599f5c8e985dfbdf9a5 (diff)
downloadguix-3aec121e95581e34a47e3a2d175af97579961206.tar.gz
gnu: tomb: Update to 2.8.
Fixes CVE-2020-28638.

* gnu/packages/crypto.scm (tomb): Update to 2.8
[source]: Remove obsolete patch.
* gnu/packages/patches/tomb-fix-errors-on-open.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/tomb-fix-errors-on-open.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/gnu/packages/patches/tomb-fix-errors-on-open.patch b/gnu/packages/patches/tomb-fix-errors-on-open.patch
deleted file mode 100644
index 5f41c9ee8f..0000000000
--- a/gnu/packages/patches/tomb-fix-errors-on-open.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Description: Avoid error messages when opening a new tomb
- Make sure control file exists and has user ownership before user writes to it.
-Author: Sven Geuer <debmaint@g-e-u-e-r.de>
-Bug: https://github.com/dyne/Tomb/issues/369
-Last-Update: 2019-11-04
---- a/tomb
-+++ b/tomb
-@@ -2197,14 +2197,15 @@
- # {{{ Open
- 
- _update_control_file() {
--	# replaces a control file with new contents and gives it user ownership
-+	# make sure a control file exists, gives it user ownership
-+	# and replaces it with new contents
- 	# stdin = contents
- 	# $1 = path to control file
- 	# $2 = contents
- 	[[ "$2" = "" ]] && return 1
- 	_sudo touch "$1"
--	print "$2" > "$1"
- 	_sudo chown ${_UID}:${_GID} "$1"
-+	print "$2" > "$1"
- 	_verbose "updated control file $1 = $2"
- }
-