[packages/progsreiserfs] Rel 9
arekm
arekm at pld-linux.org
Mon Mar 9 13:47:04 CET 2026
commit b59f80b9220d8bc8d46f654784edcb27d5973b71
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 9 13:46:50 2026 +0100
Rel 9
progsreiserfs-format-security.patch | 20 +++++++++++++++++++
progsreiserfs-modern-autotools.patch | 37 ++++++++++++++++++++++++++++++++++++
progsreiserfs.spec | 10 +++++++---
3 files changed, 64 insertions(+), 3 deletions(-)
---
diff --git a/progsreiserfs.spec b/progsreiserfs.spec
index 22b55e2..eee7798 100644
--- a/progsreiserfs.spec
+++ b/progsreiserfs.spec
@@ -3,7 +3,7 @@ Summary(pl.UTF-8): Programy niezbędne do manipulowania partycjami reiserfs
Name: progsreiserfs
Version: 0.3.1
%define subver rc8
-Release: 1.%{subver}.8
+Release: 1.%{subver}.9
License: GPL
Group: Applications/System
Source0: http://reiserfs.linux.kiev.ua/snapshots/%{name}-%{version}-%{subver}.tar.gz
@@ -15,6 +15,8 @@ Patch2: %{name}-typo.patch
Patch3: %{name}-am18.patch
Patch4: %{name}-missing-nls.patch
Patch5: %{name}-file-read.patch
+Patch6: %{name}-format-security.patch
+Patch7: %{name}-modern-autotools.patch
URL: http://reiserfs.linux.kiev.ua/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -65,15 +67,17 @@ Biblioteki statyczne do reiserfs.
%patch -P3 -p1
%patch -P4 -p1
%patch -P5 -p1
-
+%patch -P6 -p1
cp -f %{SOURCE1} po/pl.po
%{__perl} -pi -e 's/(ALL_LINGUAS=")/$1pl /' configure.in
+%patch -P7 -p1
+echo pl > po/LINGUAS
%build
# supplied libtool is broken (relink)
%{__libtoolize}
%{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__automake}
%configure \
diff --git a/progsreiserfs-format-security.patch b/progsreiserfs-format-security.patch
new file mode 100644
index 0000000..0491eec
--- /dev/null
+++ b/progsreiserfs-format-security.patch
@@ -0,0 +1,20 @@
+--- progsreiserfs-0.3.1-rc8/progsreiserfs/libmisc/tools.c.orig 2026-03-09 12:55:44.689695303 +0100
++++ progsreiserfs-0.3.1-rc8/progsreiserfs/libmisc/tools.c 2026-03-09 12:55:44.696361970 +0100
+@@ -79,7 +79,7 @@
+ vsprintf(mess, format, args);
+ va_end(args);
+
+- fprintf(stderr, mess);
++ fprintf(stderr, "%s", mess);
+ fflush(stderr);
+
+ do {
+@@ -92,7 +92,7 @@
+ break;
+
+ if (prompts < 2) {
+- fprintf(stderr, error);
++ fprintf(stderr, "%s", error);
+ fflush(stderr);
+ }
+ } while (prompts++ < 2);
diff --git a/progsreiserfs-modern-autotools.patch b/progsreiserfs-modern-autotools.patch
new file mode 100644
index 0000000..1b09758
--- /dev/null
+++ b/progsreiserfs-modern-autotools.patch
@@ -0,0 +1,37 @@
+--- progsreiserfs-0.3.1-rc8/configure.in.orig 2026-03-09 13:04:11.576361988 +0100
++++ progsreiserfs-0.3.1-rc8/configure.in 2026-03-09 13:04:11.585520831 +0100
+@@ -91,7 +91,7 @@
+ AC_PROG_RANLIB
+
+ AC_SYS_LARGEFILE
+-CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
++CFLAGS="$CFLAGS "
+ AC_CHECK_SIZEOF(off_t, 64, [
+ #include <stdio.h>
+ #include <sys/types.h>
+@@ -103,7 +103,7 @@
+
+ dnl Initialize i18n:
+ ALL_LINGUAS="pl "
+-AM_GNU_GETTEXT
++AM_GNU_GETTEXT([external])
+ CFLAGS="$CFLAGS -DLOCALEDIR=\"\\\"$datadir/locale\\\"\""
+
+ dnl One day, gettext might support libtool...
+@@ -156,7 +156,7 @@
+ CFLAGS="$CFLAGS -g"
+ fi
+
+-CFLAGS="$CFLAGS -W -Wall -Wno-unused -Wno-switch -Wno-format"
++CFLAGS="$CFLAGS -W -Wall -Wno-unused -Wno-switch"
+ if test x$enable_Werror = xyes; then
+ CFLAGS="$CFLAGS -Werror"
+ fi
+@@ -186,7 +186,6 @@
+ debug/test
+ doc/Makefile
+ po/Makefile.in
+- intl/Makefile
+ progsreiserfs.spec
+ ])
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/progsreiserfs.git/commitdiff/b59f80b9220d8bc8d46f654784edcb27d5973b71
More information about the pld-cvs-commit
mailing list