From 95544054a5831e87feebed85d7aa5dd30fc58644 Mon Sep 17 00:00:00 2001 From: Marek Kulik Date: Aug 17 2021 10:45:45 +0000 Subject: Update, fix and describe manual files man files are still missing in source files. Issue tracking current status: https://github.com/sysown/proxysql/issues/3564 Original author of content of that file: René Cannaò * Path file in installation process for man files has been fixed. * man file has been updated for v2.2.0 of proxysql. * Description for Source2 file (manual) has been added to spec file. * Added author of modification next to credentials. --- diff --git a/proxysql.1 b/proxysql.1 index cf445e4..fcea50f 100644 --- a/proxysql.1 +++ b/proxysql.1 @@ -62,11 +62,20 @@ Administration Unix Socket. .BR \-V ", " \-\-version Print the current version of ProxySQL. .TP +.BR \-\-idle\-threads +Create auxiliary threads to handle idle connections. +.TP .BR \-\-initial Reset the admin database with the content from the configuration file. .TP +.BR \-\-no\-version\-check +Do not check for the latest version of ProxySQL. +.TP .BR \-\-reload Merge the configuration from the config file with the current runtime database. +.TP +.BR \-\-sqlite3\-server +Enable SQLite3 Server. .SH SEE ALSO https://github.com/sysown/proxysql/tree/master/doc -- Online documentation .SH FILES @@ -79,4 +88,5 @@ Written by René Cannaò. If you find a bug, please report it at .SH COPYRIGHT Copyright (C) 2013-2017 René Cannaò. +Modified by Marek Kulik 2021. This program is free and without warranty. diff --git a/proxysql.spec b/proxysql.spec index a0a952e..97371c9 100644 --- a/proxysql.spec +++ b/proxysql.spec @@ -52,6 +52,9 @@ Provides: bundled(libmicrohttpd) = 0.9.68 # There is inconsistency between name and URL of file and main unpacked source folder Source0: https://github.com/sysown/proxysql/archive/refs/tags/v%{version}.tar.gz Source1: proxysql.service +# Manpage for binary is missing. Instead we provide it manually. +# Link for tracking current status in upstream: +# https://github.com/sysown/proxysql/issues/3564 Source2: proxysql.1 # The upstream code bundles multiple libraries: libconfig, libdaemon, sqlite3, re2, @@ -104,7 +107,7 @@ install -p -D -m 0644 RUNNING.md %{buildroot}%{_docdir}/proxysql/RUNNING.md install -p -D -m 0644 FAQ.md %{buildroot}%{_docdir}/proxysql/FAQ.md install -p -D -m 0644 doc/release_notes/*.md -t %{buildroot}%{_docdir}/proxysql install -p -D -m 0644 doc/internal/*.txt -t %{buildroot}%{_docdir}/proxysql -install -p -D -m 0644 %{SOURCE2} %{buildroot}/%{_mandir}/man1/%{name}.1 +install -p -D -m 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/%{name}.1 install -d -m 0755 %{buildroot}%{_sharedstatedir}/proxysql %pre