Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/slurm/, sys-cluster/slurm/files/
Date: Sun, 12 Nov 2017 19:56:47
Message-Id: 1510516587.87b4be04dbc8f2e65eacae7b9d1b87d0e50a30b2.jlec@gentoo
1 commit: 87b4be04dbc8f2e65eacae7b9d1b87d0e50a30b2
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 12 19:38:37 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 12 19:56:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87b4be04
7
8 sys-cluster/slurm: Version Bump
9
10 drop vulnerable versions CVE-2017-15566
11
12 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
13 Package-Manager: Portage-2.3.13, Repoman-2.3.4
14
15 sys-cluster/slurm/Manifest | 4 +-
16 ...ew.patch => slurm-16.05.11-disable-sview.patch} | 0
17 ...macros.patch => slurm-16.05.11-sysmacros.patch} | 0
18 .../slurm/files/slurm-17.02.6-glibc-2.25.patch | 53 ----------------------
19 ...iew.patch => slurm-17.02.9-disable-sview.patch} | 0
20 ...{slurm-16.05.2.ebuild => slurm-16.05.11.ebuild} | 0
21 .../{slurm-17.02.6.ebuild => slurm-17.02.9.ebuild} | 1 -
22 7 files changed, 2 insertions(+), 56 deletions(-)
23
24 diff --git a/sys-cluster/slurm/Manifest b/sys-cluster/slurm/Manifest
25 index 36d8c909850..d94f5bfc5b0 100644
26 --- a/sys-cluster/slurm/Manifest
27 +++ b/sys-cluster/slurm/Manifest
28 @@ -1,2 +1,2 @@
29 -DIST slurm-16.05.2.tar.bz2 5982329 SHA256 de57ab107c98499f7184c54de8d5ac115a55657aa03d29d69cd0b7e737a42852 SHA512 8b4296481c5ad83da2bde1530937b3da9b6e32b6606ba0b0a3899e0f2f0b4fc42ca8a802d4bf346d0de28852d75839e9359e28c4ce77588cd22a08ddbd34dd21 WHIRLPOOL 925902c9432b24a2c85488d1ba6a867abed0adaaecaa94b648402e48d250d924000741b2be486b34d3b7f6890aeabb9aea6c47e2e8fd9896dda3a3ae416a4a89
30 -DIST slurm-17.02.6.tar.bz2 6017979 SHA256 f057127870544be5b3476594fc58b3c35727e6db3a18d84c4ea63059c2ebe4ea SHA512 e7e33ae037f8b30ccf467fa19c90786c28a527df80cf1362075634ada7072bffcd172d79d2af9ac9ad2b2206b50c0560584c7b8193bfaa9dfa1b1d2c7216e5f6 WHIRLPOOL 9dec9fae0d6def7fc0c243ceec8a2d3bf3c10ecf230f8ef5df03804ce048481279691572fb9bd83a509f344639d4b73313e7f7615bfa1d17c279010e44a2e63e
31 +DIST slurm-16.05.11.tar.bz2 6100281 SHA256 c797390a7de40b8b5bead77a92661de5f158c646e9abe6a93457f311e0aec330 SHA512 6922f6987a586288ea8229b4603b42c705ea159af4ceb3763790ba5cc2fb8dabf7747d7a27a886d50eeb3a7ed743c26b86354b9d05802c46ecd86b215ace85ba WHIRLPOOL 35b6dba438519f82a431bb4ac312afb8e65fe27eb3c72714ef204ee974ab4e7e3259ac1c763e4430f5fce18b4e737198cfe9c47b45de2d6fd7a29db72e020d2f
32 +DIST slurm-17.02.9.tar.bz2 6053443 SHA256 faf4704505dfc5b6fa199f099d36dbc3d23faf149251f36672631dbbbe3b1b71 SHA512 9a0b502a16b1fe61fd42ef92cb9cdc0eaa5abb4e9a3b0b6d87337ca0597223c4e132632f22b13a4a5109c03a3f422dd49df6421b637c446973e6d521fb23075c WHIRLPOOL d3320da3e2ec6e14e58ac759ab0e7f7741068f15c6c6569e36b622250d1617d68a6f17e4a91243994ae2d3ac69161268b1becf4bd31677f618fc93c1423e51fc
33
34 diff --git a/sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch b/sys-cluster/slurm/files/slurm-16.05.11-disable-sview.patch
35 similarity index 100%
36 rename from sys-cluster/slurm/files/slurm-16.05.2-disable-sview.patch
37 rename to sys-cluster/slurm/files/slurm-16.05.11-disable-sview.patch
38
39 diff --git a/sys-cluster/slurm/files/slurm-16.05.2-sysmacros.patch b/sys-cluster/slurm/files/slurm-16.05.11-sysmacros.patch
40 similarity index 100%
41 rename from sys-cluster/slurm/files/slurm-16.05.2-sysmacros.patch
42 rename to sys-cluster/slurm/files/slurm-16.05.11-sysmacros.patch
43
44 diff --git a/sys-cluster/slurm/files/slurm-17.02.6-glibc-2.25.patch b/sys-cluster/slurm/files/slurm-17.02.6-glibc-2.25.patch
45 deleted file mode 100644
46 index dc48f8475c0..00000000000
47 --- a/sys-cluster/slurm/files/slurm-17.02.6-glibc-2.25.patch
48 +++ /dev/null
49 @@ -1,53 +0,0 @@
50 -commit 056d9ff26b1d2ccac45da3c26a6918f182f8c559
51 -Author: Justin Lecher <jlec@g.o>
52 -Date: Sun Jul 9 15:54:20 2017 +0100
53 -
54 - Include sysmacros.h in addition for major() & minor()
55 -
56 - Starting from glibc-2.25 [1] the macros major and minor are only available
57 - from sys/sysmacros.h. This patch uses an autoconf macro to detect the
58 - location and includes the header accordingly.
59 -
60 - 1)
61 - https://sourceware.org/ml/libc-alpha/2017-02/msg00079.html
62 -
63 - Signed-off-by: Justin Lecher <jlec@g.o>
64 -
65 -diff --git a/configure.ac b/configure.ac
66 -index 44699ae095..66d4350d44 100644
67 ---- a/configure.ac
68 -+++ b/configure.ac
69 -@@ -124,7 +124,7 @@ AC_CHECK_HEADERS(mcheck.h values.h socket.h sys/socket.h \
70 - AC_HEADER_SYS_WAIT
71 - AC_HEADER_TIME
72 - AC_HEADER_STDC
73 --
74 -+AC_HEADER_MAJOR
75 -
76 - dnl Checks for structures.
77 - dnl
78 -diff --git a/src/plugins/task/cgroup/task_cgroup_devices.c b/src/plugins/task/cgroup/task_cgroup_devices.c
79 -index 6a09b3d52a..63c0a11c9e 100644
80 ---- a/src/plugins/task/cgroup/task_cgroup_devices.c
81 -+++ b/src/plugins/task/cgroup/task_cgroup_devices.c
82 -@@ -34,12 +34,20 @@
83 - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
84 - \*****************************************************************************/
85 -
86 -+#include "config.h"
87 -+
88 - #define _GNU_SOURCE
89 - #include <glob.h>
90 - #include <limits.h>
91 - #include <sched.h>
92 - #include <sys/stat.h>
93 - #include <sys/types.h>
94 -+#ifdef MAJOR_IN_MKDEV
95 -+# include <sys/mkdev.h>
96 -+#endif
97 -+#ifdef MAJOR_IN_SYSMACROS
98 -+# include <sys/sysmacros.h>
99 -+#endif
100 -
101 - #include "slurm/slurm.h"
102 - #include "slurm/slurm_errno.h"
103
104 diff --git a/sys-cluster/slurm/files/slurm-17.02.6-disable-sview.patch b/sys-cluster/slurm/files/slurm-17.02.9-disable-sview.patch
105 similarity index 100%
106 rename from sys-cluster/slurm/files/slurm-17.02.6-disable-sview.patch
107 rename to sys-cluster/slurm/files/slurm-17.02.9-disable-sview.patch
108
109 diff --git a/sys-cluster/slurm/slurm-16.05.2.ebuild b/sys-cluster/slurm/slurm-16.05.11.ebuild
110 similarity index 100%
111 rename from sys-cluster/slurm/slurm-16.05.2.ebuild
112 rename to sys-cluster/slurm/slurm-16.05.11.ebuild
113
114 diff --git a/sys-cluster/slurm/slurm-17.02.6.ebuild b/sys-cluster/slurm/slurm-17.02.9.ebuild
115 similarity index 99%
116 rename from sys-cluster/slurm/slurm-17.02.6.ebuild
117 rename to sys-cluster/slurm/slurm-17.02.9.ebuild
118 index 72d5cafc994..dc8afb80830 100644
119 --- a/sys-cluster/slurm/slurm-17.02.6.ebuild
120 +++ b/sys-cluster/slurm/slurm-17.02.9.ebuild
121 @@ -54,7 +54,6 @@ RESTRICT="primaryuri"
122
123 PATCHES=(
124 "${FILESDIR}"/${P}-disable-sview.patch
125 - "${FILESDIR}"/${P}-glibc-2.25.patch
126 )
127
128 src_unpack() {