]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- updated to 2.29.2 (fixes CVE-2017-2616 in su) auto/th/util-linux-2.29.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Mar 2017 16:10:38 +0000 (18:10 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Mar 2017 16:10:38 +0000 (18:10 +0200)
- updated fdformat-ide patch
- added ac patch

util-linux-ac.patch [new file with mode: 0644]
util-linux-fdformat-ide.patch
util-linux.spec

diff --git a/util-linux-ac.patch b/util-linux-ac.patch
new file mode 100644 (file)
index 0000000..6f3351d
--- /dev/null
@@ -0,0 +1,13 @@
+--- util-linux-2.29.2/configure.ac.orig        2017-03-28 17:43:59.234397364 +0200
++++ util-linux-2.29.2/configure.ac     2017-03-28 17:44:12.451063880 +0200
+@@ -460,8 +460,8 @@
+ AC_CHECK_LIB([rtas], [rtas_get_sysparm], [
+       RTAS_LIBS="-lrtas"
+-      AC_DEFINE_UNQUOTED([HAVE_LIBRTAS], [1], [Define if librtas exists]), [],
+-])
++      AC_DEFINE_UNQUOTED([HAVE_LIBRTAS], [1], [Define if librtas exists])]
++)
+ AC_SUBST([RTAS_LIBS])
index 8222098f4cfefdc995b9d82e1456a14da41510a9..26980d81d20920513abd3a2383336a8692ccc965 100644 (file)
@@ -1,5 +1,5 @@
---- util-linux-2.12p/disk-utils/fdformat.8.ide 2005-04-25 11:39:19.528340384 +0200
-+++ util-linux-2.12p/disk-utils/fdformat.8     2005-04-25 11:44:07.189609224 +0200
+--- util-linux-2.29.2/disk-utils/fdformat.8.orig       2017-02-22 11:16:55.235092833 +0100
++++ util-linux-2.29.2/disk-utils/fdformat.8    2017-03-28 16:45:00.661104437 +0200
 @@ -43,6 +43,11 @@
  autodetected earlier.  In this case, use
  .BR setfdprm (8)
 +
  .SH OPTIONS
  .TP
- \fB\-n\fR, \fB\-\-no\-verify\fR
-@@ -54,6 +58,7 @@
+ \fB\-f\fR, \fB\-\-from\fR \fIN\fR
+@@ -65,6 +70,7 @@
+ .SH "SEE ALSO"
  .BR fd (4),
- .BR setfdprm (8),
+ .BR emkfs (8),
++.BR floppy (8),
  .BR mkfs (8),
--.BR emkfs (8)
-+.BR emkfs (8),
-+.BR floppy (8)
+ .BR setfdprm (8)
  .SH AUTHOR
- Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
index 8182df32e2e67633b57e05125a7a00a540a4133d..12740cbafe3106c2d4c7172778634b5dc7f3401b 100644 (file)
@@ -36,13 +36,13 @@ Summary(ru.UTF-8):  Набор базовых системных утилит д
 Summary(tr.UTF-8):     Temel sistem araçları
 Summary(uk.UTF-8):     Набір базових системних утиліт для Linux
 Name:          util-linux
-Version:       2.29
-Release:       2
+Version:       2.29.2
+Release:       1
 License:       GPL v2+
 Group:         Applications/System
 # https://github.com/karelzak/util-linux (GitHub backup)
-Source0:       https://www.kernel.org/pub/linux/utils/util-linux/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 07b6845f48a421ad5844aa9d58edb837
+Source0:       https://www.kernel.org/pub/linux/utils/util-linux/v2.29/%{name}-%{version}.tar.xz
+# Source0-md5: 63c40c2068fcbb7e1d5c1d281115d973
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 3c940c7e7fe699eaa2ddb1bffb3de2fe
 Source2:       login.pamd
@@ -61,7 +61,8 @@ Patch1:               %{name}-fhs.patch
 Patch2:                %{name}-login-lastlog.patch
 Patch3:                %{name}-procpartitions.patch
 Patch4:                su-paths.patch
-Patch5:                %{name}-diet.patch
+Patch5:                %{name}-ac.patch
+Patch6:                %{name}-diet.patch
 URL:           https://github.com/karelzak/util-linux
 BuildRequires: audit-libs-devel >= 1.0.6
 BuildRequires: autoconf >= 2.60
@@ -71,6 +72,10 @@ BuildRequires:       gettext-tools >= 0.18.3
 BuildRequires: gtk-doc >= 1.10
 BuildRequires: gtk-doc-automake >= 1.10
 BuildRequires: libcap-ng-devel
+%ifarch ppc ppc64
+# for lscpu
+BuildRequires: librtas-devel
+%endif
 %{?with_selinux:BuildRequires: libselinux-devel >= 2.0}
 %{?with_selinux:BuildRequires: libsepol-devel}
 BuildRequires: libtool >= 2:2.2
@@ -735,7 +740,8 @@ Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%{?with_initrd:%patch5 -p1}
+%patch5 -p1
+%{?with_initrd:%patch6 -p1}
 
 cp -p %{SOURCE10} nologin.c
 
This page took 0.041665 seconds and 4 git commands to generate.