[packages/serveez] - new - info patch to unify direntry formatting - format patch to fix build with -Werror=format-secu
qboosh
qboosh at pld-linux.org
Sat Jan 22 11:05:19 CET 2022
commit 388c2c04b1d810960a1287c16652bafa05cd18b8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jan 22 11:06:24 2022 +0100
- new
- info patch to unify direntry formatting
- format patch to fix build with -Werror=format-security
serveez-format.patch | 11 ++++++++++
serveez-info.patch | 14 ++++++++++++
serveez.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 87 insertions(+)
---
diff --git a/serveez.spec b/serveez.spec
new file mode 100644
index 0000000..82516f1
--- /dev/null
+++ b/serveez.spec
@@ -0,0 +1,62 @@
+Summary: GNU Serveez - server framework
+Summary(pl.UTF-8): GNU Serveez - szkielet serwerowy
+Name: serveez
+Version: 0.3.1
+Release: 1
+License: GPL v3+
+Group: Applications/Networking
+Source0: https://ftp.gnu.org/gnu/serveez/%{name}-%{version}.tar.lz
+# Source0-md5: 02697fe81ff23365d956525ee0b6fd22
+Patch0: %{name}-info.patch
+Patch1: %{name}-format.patch
+URL: http://www.gnu.org/software/serveez/
+BuildRequires: bzip2-devel >= 1.0
+BuildRequires: guile-devel
+BuildRequires: tar >= 1:1.22
+BuildRequires: lzip
+BuildRequires: texinfo
+BuildRequires: zlib-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU Serveez is a server framework. It provides routines and help for
+implementing IP-based servers (currently TCP, UDP and ICMP). It
+supports named pipes for all connection-oriented protocols.
+
+%description -l pl.UTF-8
+GNU Serveez to szkielet serwerowy. Udostępnia funkcje i wsparcie przy
+implementowaniu serwerów opartych na IP (obecnie TCP, UDP i ICMP).
+Obsługuje nazwane potoki dla wszystkich protokołów opartych na
+połączeniu.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS ChangeLog NEWS README THANKS
+%attr(755,root,root) %{_bindir}/serveez
+%{_datadir}/serveez
+%{_infodir}/serveez.info*
+%{_mandir}/man1/serveez.1*
diff --git a/serveez-format.patch b/serveez-format.patch
new file mode 100644
index 0000000..7c88ba8
--- /dev/null
+++ b/serveez-format.patch
@@ -0,0 +1,11 @@
+--- serveez-0.3.1/src/http-server/http-core.c.orig 2021-12-11 10:07:37.000000000 +0100
++++ serveez-0.3.1/src/http-server/http-core.c 2022-01-22 09:29:31.070206660 +0100
+@@ -367,7 +367,7 @@ http_log (svz_socket_t *sock)
+
+ if (!ferror (cfg->log) && !feof (cfg->log))
+ {
+- fprintf (cfg->log, line);
++ fputs (line, cfg->log);
+ fflush (cfg->log);
+ }
+ else
diff --git a/serveez-info.patch b/serveez-info.patch
new file mode 100644
index 0000000..4c5d68a
--- /dev/null
+++ b/serveez-info.patch
@@ -0,0 +1,14 @@
+--- serveez-0.3.1/doc/serveez.texi.orig 2021-12-11 09:57:59.000000000 +0100
++++ serveez-0.3.1/doc/serveez.texi 2022-01-22 10:48:55.781060699 +0100
+@@ -32,9 +32,9 @@ Free Documentation License''.
+ @set PACKAGE Serveez
+ @set s_PACKAGE serveez
+
+- at dircategory Serveez - A server framework.
++ at dircategory Miscellaneous:
+ @direntry
+-* Serveez: (serveez). Serveez Documentation.
++* Serveez: (serveez). Serveez Documentation
+ @end direntry
+
+ @macro PROC
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/serveez.git/commitdiff/388c2c04b1d810960a1287c16652bafa05cd18b8
More information about the pld-cvs-commit
mailing list