[packages/capitalist] Rel 3
arekm
arekm at pld-linux.org
Wed May 20 18:44:04 CEST 2026
commit 20c55fa5b093d7c61fbb1d8b9b6c8f6f7602f5c2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 18:43:48 2026 +0200
Rel 3
capitalist-format-security.patch | 11 +++++++++++
capitalist.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/capitalist.spec b/capitalist.spec
index 27f1a7e..fdbfcbb 100644
--- a/capitalist.spec
+++ b/capitalist.spec
@@ -4,12 +4,13 @@ Summary(en.UTF-8): Server for the Monopoly-like board game®
Summary(pl.UTF-8): Serwer gry planszowej typu Monopoly®
Name: capitalist
Version: 0.3.1
-Release: 2
+Release: 3
License: GPL v2
Group: Applications/Games/Boards
Source0: http://dl.sourceforge.net/capitalist/%{name}-%{version}.tar.gz
# Source0-md5: f93ee3ce9d29eba657e087762d8fd663
Patch0: %{name}-autotools.patch
+Patch1: %{name}-format-security.patch
URL: http://kapitalist.sourceforge.net/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1.4
@@ -60,6 +61,7 @@ Dokumentacja capitalist.
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__libtoolize}
diff --git a/capitalist-format-security.patch b/capitalist-format-security.patch
new file mode 100644
index 0000000..cad475c
--- /dev/null
+++ b/capitalist-format-security.patch
@@ -0,0 +1,11 @@
+--- capitalist-0.3.1.orig/capitalist/stdinhand.cpp 2008-04-07 06:07:58.000000000 +0200
++++ capitalist-0.3.1/capitalist/stdinhand.cpp 2026-05-20 18:21:58.366222428 +0200
+@@ -976,7 +976,7 @@
+ {
+ char buf[BUF_SIZE+1];
+
+- con_dump(C_READY, prompt);
++ con_dump(C_READY, "%s", prompt);
+ if (fgets(buf, BUF_SIZE, stdin) == NULL) {
+ return -1;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/capitalist.git/commitdiff/20c55fa5b093d7c61fbb1d8b9b6c8f6f7602f5c2
More information about the pld-cvs-commit
mailing list