[liquidwar] Fix unit file and buffer overflow.
Jon Ciesla
limb at fedoraproject.org
Mon Apr 9 15:01:23 UTC 2012
commit 4aff45f1bc6a57df1747cb69bf16f8f41034a547
Author: Jon Ciesla <limburgher at gmail.com>
Date: Mon Apr 9 10:01:09 2012 -0500
Fix unit file and buffer overflow.
liquidwar-server.service | 1 -
liquidwar.spec | 10 +++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/liquidwar-server.service b/liquidwar-server.service
index a6cc0b2..1e1a676 100644
--- a/liquidwar-server.service
+++ b/liquidwar-server.service
@@ -4,7 +4,6 @@ After=network.target
[Service]
User=liquidwar
-Type=forking
PIDFile=/run/liquidwar-server.pid
ExecStart=/usr/bin/liquidwar-server -2 -private
diff --git a/liquidwar.spec b/liquidwar.spec
index 3ea975d..de1d98c 100644
--- a/liquidwar.spec
+++ b/liquidwar.spec
@@ -1,6 +1,6 @@
Name: liquidwar
Version: 5.6.4
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Multiplayer wargame with liquid armies
Group: Amusements/Games
License: GPLv2+
@@ -10,6 +10,7 @@ Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{v
Source2: liquidwar.sysconfig
Source3: liquidwar.logrotate
Source4: liquidwar-server.service
+Patch0: liquidwar-5.6.4-srv-overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo
BuildRequires: desktop-file-utils
@@ -53,6 +54,9 @@ This package contains the server for hosting network LiquidWar games.
%prep
%setup -q
+
+%patch0 -p0 -b .overflow
+
# don't strip the binaries please
sed -i 's/install\(\s\+-c\)\?\s\+-s/install/g' Makefile.in
# fix manpage doc reference
@@ -216,6 +220,10 @@ fi
%changelog
+* Mon Apr 09 2012 Jon Ciesla <limburgher at gmail.com> - 5.6.4-12
+- Patch for server buffer overflow, BZ 810607.
+- Changed unit file to simple.
+
* Mon Feb 13 2012 Jon Ciesla <limburgher at gmail.com> - 5.6.4-11
- Migrated to systemd, BZ 789757.
More information about the scm-commits
mailing list