diff options
author | Maciek Borzecki | 2018-02-21 07:46:00 +0100 |
---|---|---|
committer | Maciek Borzecki | 2018-02-21 08:14:46 +0100 |
commit | 7a7b503350054d557167e3872765d8af04308d3f (patch) | |
tree | dd404a193fd4f348d42c752b1281b7e7ddbe1a79 /0001-cmd-snap-seccomp-drop-link-flags-that-will-be-reject.patch | |
parent | e603970f4eb9f20404670e969a8bdad654b22921 (diff) | |
download | aur-7a7b503350054d557167e3872765d8af04308d3f.tar.gz |
snapd: update to 2.31.1, add python-docutils to makedepends, drop snap-seccomp patches
New upstream release 2.31.1.
Add python-docutils to makedepends, so that man pages for snap-confine and
snap-discard-ns are generated.
Drop snap-seccomp patches. The upstream has dropped setting LDFLAGS for cgo
directly in cgo comment sections.
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Diffstat (limited to '0001-cmd-snap-seccomp-drop-link-flags-that-will-be-reject.patch')
-rw-r--r-- | 0001-cmd-snap-seccomp-drop-link-flags-that-will-be-reject.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/0001-cmd-snap-seccomp-drop-link-flags-that-will-be-reject.patch b/0001-cmd-snap-seccomp-drop-link-flags-that-will-be-reject.patch deleted file mode 100644 index 4a58cd226bee..000000000000 --- a/0001-cmd-snap-seccomp-drop-link-flags-that-will-be-reject.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 3286baf646fa7974c165efd9b63c690d08dff6b7 Mon Sep 17 00:00:00 2001 -Message-Id: <3286baf646fa7974c165efd9b63c690d08dff6b7.1518102033.git.maciej.zenon.borzecki@canonical.com> -From: Maciej Borzecki <maciej.zenon.borzecki@canonical.com> -Date: Thu, 8 Feb 2018 15:57:13 +0100 -Subject: [PATCH] cmd/snap-seccomp: drop link flags that will be rejected by - go1.9.4 - -Due to CVE-2018-6574 Go rejects a number of previously allowed flags cgo flags. -Drop any flags passed to pkg-config. Drop static link flags for libseccomp as -those are not supported on Arch anyway. - -Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com> ---- - cmd/snap-seccomp/main.go | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/cmd/snap-seccomp/main.go b/cmd/snap-seccomp/main.go -index 935b3098b434053808c87efe9cefe682124a09a4..ffb9bb3bcc55c9c327b4f1937bd8a86b498e74ec 100644 ---- a/cmd/snap-seccomp/main.go -+++ b/cmd/snap-seccomp/main.go -@@ -20,8 +20,8 @@ - package main - - //#cgo CFLAGS: -D_FILE_OFFSET_BITS=64 --//#cgo pkg-config: --static --cflags libseccomp --//#cgo LDFLAGS: -Wl,-Bstatic -lseccomp -Wl,-Bdynamic -+//#cgo pkg-config: libseccomp -+//#cgo LDFLAGS: -lseccomp - // - //#include <asm/ioctls.h> - //#include <ctype.h> --- -2.16.1 - |