]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
up to 2.37.2 auto/th/util-linux-2.37.2-1
authorJan Palus <atler@pld-linux.org>
Mon, 16 Aug 2021 16:32:49 +0000 (18:32 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 16 Aug 2021 16:32:49 +0000 (18:32 +0200)
util-linux-procpartitions.patch
util-linux.spec

index 61998646d66ddd850914177558246ac55c0cd555..49908c2787dc28a3bb74642ef3d57066b7653b0d 100644 (file)
@@ -10,7 +10,7 @@ diff -urNp -x '*.orig' util-linux-2.36.2.org/disk-utils/blockdev.c util-linux-2.
        procpt = fopen(_PATH_PROC_PARTITIONS, "r");
        if (!procpt)
 @@ -444,6 +445,7 @@ static void report_all_devices(void)
-               sprintf(device, "/dev/%s", ptname);
+               snprintf(device, sizeof(device), "/dev/%s", ptname);
                report_device(device, 1);
        }
 +      setvbuf(procpt, iobuf, _IOFBF, sizeof(iobuf));
index 990738ceab8a175496329132ad3652104f0b4802..77e0d8ac1187cd7df33be55b0bdf55f354469530 100644 (file)
@@ -40,13 +40,13 @@ Summary(ru.UTF-8):  Набор базовых системных утилит д
 Summary(tr.UTF-8):     Temel sistem araçları
 Summary(uk.UTF-8):     Набір базових системних утиліт для Linux
 Name:          util-linux
-Version:       2.37.1
+Version:       2.37.2
 Release:       1
 License:       GPL v2+, GPL v3 (hwclock)
 Group:         Applications/System
 # https://github.com/karelzak/util-linux (GitHub backup)
 Source0:       https://www.kernel.org/pub/linux/utils/util-linux/v2.37/%{name}-%{version}.tar.xz
-# Source0-md5: 6d244f0f59247e9109f47d6e5dd0556b
+# Source0-md5: d659bf7cd417d93dc609872f6334b019
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 3c940c7e7fe699eaa2ddb1bffb3de2fe
 Source2:       login.pamd
@@ -72,7 +72,7 @@ URL:          https://github.com/karelzak/util-linux
 BuildRequires: audit-libs-devel >= 1.0.6
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.10
-BuildRequires: gettext-tools >= 0.18.3
+BuildRequires: gettext-tools >= 0.21
 %{?with_fallocate:BuildRequires:       glibc-devel >= 6:2.11}
 %if %{with apidocs}
 BuildRequires: gtk-doc >= 1.10
This page took 0.145345 seconds and 4 git commands to generate.