1 |
commit: b4ba1268f4634f68b331b3210ae548e7dbbb246a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 30 23:27:36 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 31 00:58:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ba1268 |
7 |
|
8 |
sys-apps/util-linux: Bump to version 2.34_rc2. Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/util-linux/Manifest | 2 +- |
14 |
...ux-2.34_rc1-lsblk_fix_heap_use_after_free.patch | 23 ------------------ |
15 |
...34_rc1-lscpu_floating_point_exception_fix.patch | 28 ---------------------- |
16 |
...-2.34_rc1.ebuild => util-linux-2.34_rc2.ebuild} | 19 +++++++-------- |
17 |
4 files changed, 9 insertions(+), 63 deletions(-) |
18 |
|
19 |
diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest |
20 |
index d1e17410555..6ef615f749a 100644 |
21 |
--- a/sys-apps/util-linux/Manifest |
22 |
+++ b/sys-apps/util-linux/Manifest |
23 |
@@ -1,4 +1,4 @@ |
24 |
DIST util-linux-2.33.1.tar.xz 4650936 BLAKE2B 9ee6bc1a1b800e8537f5552c28cf608f32e89c8ab716434a2de6b4b5e257c53065b9c11cd355f2ef759f69069071ef930790ecd55806deef300ce77f31e38e98 SHA512 94ada47e472b62a612c26fd5a5b7423e09366690a8a96f777191a5d920981eb0f224474bc2f128e827299bf60062770011332757e1551a8cd3764b5c70ae4ba2 |
25 |
DIST util-linux-2.33.2.tar.xz 4707024 BLAKE2B fdeed0a236edd26d268bccca8cde2cf1b7ecbff521ede9fa26ea22c8e5cdfc380a416a168789504b303f1b569d163e41f6630ee28829be7f2b2129fa14c4fffa SHA512 ac88790a0272366b384b54df19cb28318014d98819d5d96aa05528ff17ab57a8c66d012a2f1b59caca4c5d4ea669e8c041e1123517c1f1c2d9960ef701aaf749 |
26 |
DIST util-linux-2.33.tar.xz 4663072 BLAKE2B df601f6aa6dd1e77c722d5e7350a3b14c6099057487384eb8cd7adee8693711c1d24663f76682c958884559fddf61cc4b6d987bdca70f88e6cb14109e328e8a9 SHA512 5eb419607c5a2634117a604d425d6413763d1e48910acabc7e19d574a4c3fb0ceb34a68671a8e4fe396a4c6d611932082f77cd669d009e218bf64095da0d5689 |
27 |
-DIST util-linux-2.34-rc1.tar.xz 4930092 BLAKE2B 742322c85c2b92ff16cc95e98da40522350d84c9e72b929d763da882f54ff88e4ff38d1622a2642b88fcb124e9221ff32e26403e5d76cc06bcfeb6c92e450d91 SHA512 4f968f04394f6beaafd60a84daf1db808ec486dbfa82d2f58b0678f93adc37477395a1b22c0c2af33f9652c5fa82f8bb3c1ce8b62146c983bce270fe45c1419b |
28 |
+DIST util-linux-2.34-rc2.tar.xz 4990080 BLAKE2B 63c7bc91d04e8cde2f67e2fad5a6a4b6ffe7b392d284c29b01b5a89eea26b42436656f8c4544555545b3718a739674c795c13a41e3a1e1cb2a98e952d02f9283 SHA512 54ae5ab146a2f8185dd1e46b363d3f83fd6791eb95f83522307ea59dcf23be93a9496fd1ca10bb09788ebd429c62db8fcde8747ed793c7826340289efb4e77d0 |
29 |
|
30 |
diff --git a/sys-apps/util-linux/files/util-linux-2.34_rc1-lsblk_fix_heap_use_after_free.patch b/sys-apps/util-linux/files/util-linux-2.34_rc1-lsblk_fix_heap_use_after_free.patch |
31 |
deleted file mode 100644 |
32 |
index 41291205c5a..00000000000 |
33 |
--- a/sys-apps/util-linux/files/util-linux-2.34_rc1-lsblk_fix_heap_use_after_free.patch |
34 |
+++ /dev/null |
35 |
@@ -1,23 +0,0 @@ |
36 |
-From f6f8a671a9a45125b6261c08b849833bce0f39a8 Mon Sep 17 00:00:00 2001 |
37 |
-From: Karel Zak <kzak@××××××.com> |
38 |
-Date: Mon, 6 May 2019 12:39:07 +0200 |
39 |
-Subject: [PATCH] lsblk: fix heap-use-after-free |
40 |
- |
41 |
-Addresses: https://github.com/karelzak/util-linux/issues/787 |
42 |
-Signed-off-by: Karel Zak <kzak@××××××.com> |
43 |
---- |
44 |
- misc-utils/lsblk.c | 1 + |
45 |
- 1 file changed, 1 insertion(+) |
46 |
- |
47 |
-diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c |
48 |
-index 34a6cd9ca..30d5d9b4e 100644 |
49 |
---- a/misc-utils/lsblk.c |
50 |
-+++ b/misc-utils/lsblk.c |
51 |
-@@ -1560,6 +1560,7 @@ static int process_all_devices(struct lsblk_devtree *tr) |
52 |
- if (is_maj_excluded(dev->maj) || !is_maj_included(dev->maj)) { |
53 |
- DBG(DEV, ul_debug(" %s: ignore (by filter)", d->d_name)); |
54 |
- lsblk_devtree_remove_device(tr, dev); |
55 |
-+ dev = NULL; |
56 |
- goto next; |
57 |
- } |
58 |
- |
59 |
|
60 |
diff --git a/sys-apps/util-linux/files/util-linux-2.34_rc1-lscpu_floating_point_exception_fix.patch b/sys-apps/util-linux/files/util-linux-2.34_rc1-lscpu_floating_point_exception_fix.patch |
61 |
deleted file mode 100644 |
62 |
index b1314e0e44c..00000000000 |
63 |
--- a/sys-apps/util-linux/files/util-linux-2.34_rc1-lscpu_floating_point_exception_fix.patch |
64 |
+++ /dev/null |
65 |
@@ -1,28 +0,0 @@ |
66 |
-From 836455917879333e94d4a535aa22f1235b5d4885 Mon Sep 17 00:00:00 2001 |
67 |
-From: Sami Kerola <kerolasa@×××.fi> |
68 |
-Date: Sat, 18 May 2019 10:19:35 +0100 |
69 |
-Subject: [PATCH] lscpu: fix floating point exception |
70 |
- |
71 |
-FIXME: this commit should include vmware_fpe regression test inclusion. |
72 |
- |
73 |
-Caused-by: e5f721132ec8b8c933a396d8dcb3efcb67854f13 |
74 |
-Addresses: https://github.com/karelzak/util-linux/issues/788 |
75 |
-Reported-by: Lars Wendler <polynomial-c@g.o> |
76 |
-Signed-off-by: Sami Kerola <kerolasa@×××.fi> |
77 |
---- |
78 |
- sys-utils/lscpu.c | 2 ++ |
79 |
- 1 file changed, 2 insertions(+) |
80 |
- |
81 |
-diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c |
82 |
-index ca7f6a037..7f6277f00 100644 |
83 |
---- a/sys-utils/lscpu.c |
84 |
-+++ b/sys-utils/lscpu.c |
85 |
-@@ -1925,6 +1925,8 @@ static int get_cache_full_size(struct lscpu_desc *desc, |
86 |
- /* Correction for CPU threads */ |
87 |
- if (desc->nthreads > desc->ncores) |
88 |
- nshares /= (desc->nthreads / desc->ncores); |
89 |
-+ if (nshares < 1) |
90 |
-+ nshares = 1; |
91 |
- |
92 |
- *res = (desc->ncores / nshares) * ca->size; |
93 |
- return 0; |
94 |
|
95 |
diff --git a/sys-apps/util-linux/util-linux-2.34_rc1.ebuild b/sys-apps/util-linux/util-linux-2.34_rc2.ebuild |
96 |
similarity index 96% |
97 |
rename from sys-apps/util-linux/util-linux-2.34_rc1.ebuild |
98 |
rename to sys-apps/util-linux/util-linux-2.34_rc2.ebuild |
99 |
index e45b41732ad..9aefa220794 100644 |
100 |
--- a/sys-apps/util-linux/util-linux-2.34_rc1.ebuild |
101 |
+++ b/sys-apps/util-linux/util-linux-2.34_rc2.ebuild |
102 |
@@ -2,7 +2,7 @@ |
103 |
# Copyright 2018 Sony Interactive Entertainment Inc. |
104 |
# Distributed under the terms of the GNU General Public License v2 |
105 |
|
106 |
-EAPI=6 |
107 |
+EAPI=7 |
108 |
|
109 |
PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
110 |
|
111 |
@@ -30,7 +30,9 @@ IUSE="build caps +cramfs fdformat kill ncurses nls pam python +readline selinux |
112 |
|
113 |
# Most lib deps here are related to programs rather than our libs, |
114 |
# so we rarely need to specify ${MULTILIB_USEDEP}. |
115 |
-RDEPEND="caps? ( sys-libs/libcap-ng ) |
116 |
+DEPEND=" |
117 |
+ virtual/os-headers |
118 |
+ caps? ( sys-libs/libcap-ng ) |
119 |
cramfs? ( sys-libs/zlib:= ) |
120 |
ncurses? ( >=sys-libs/ncurses-5.2-r2:0=[unicode?] ) |
121 |
nls? ( virtual/libintl[${MULTILIB_USEDEP}] ) |
122 |
@@ -41,12 +43,12 @@ RDEPEND="caps? ( sys-libs/libcap-ng ) |
123 |
slang? ( sys-libs/slang ) |
124 |
!build? ( systemd? ( sys-apps/systemd ) ) |
125 |
udev? ( virtual/libudev:= )" |
126 |
-DEPEND="${RDEPEND} |
127 |
+BDEPEND=" |
128 |
virtual/pkgconfig |
129 |
nls? ( sys-devel/gettext ) |
130 |
test? ( sys-devel/bc ) |
131 |
- virtual/os-headers" |
132 |
-RDEPEND+=" |
133 |
+" |
134 |
+RDEPEND="${DEPEND} |
135 |
kill? ( |
136 |
!sys-apps/coreutils[kill] |
137 |
!sys-process/procps[kill] |
138 |
@@ -63,11 +65,6 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
139 |
|
140 |
S="${WORKDIR}/${MY_P}" |
141 |
|
142 |
-PATCHES=( |
143 |
- "${FILESDIR}"/${P}-lsblk_fix_heap_use_after_free.patch |
144 |
- "${FILESDIR}"/${P}-lscpu_floating_point_exception_fix.patch |
145 |
-) |
146 |
- |
147 |
src_prepare() { |
148 |
default |
149 |
|
150 |
@@ -264,7 +261,7 @@ multilib_src_install_all() { |
151 |
if ! use userland_GNU; then |
152 |
# manpage collisions |
153 |
# TODO: figure out a good way to keep them |
154 |
- rm "${ED%/}"/usr/share/man/man3/uuid* || die |
155 |
+ rm "${ED}"/usr/share/man/man3/uuid* || die |
156 |
fi |
157 |
|
158 |
if use pam; then |