Hello community,
here is the log from the commit of package ptokax for openSUSE:Factory checked in at 2017-04-30 21:23:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ptokax (Old)
and /work/SRC/openSUSE:Factory/.ptokax.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ptokax"
Sun Apr 30 21:23:28 2017 rev:2 rq:491538 version:0.5.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ptokax/ptokax.changes 2017-03-03 17:55:55.816549685 +0100
+++ /work/SRC/openSUSE:Factory/.ptokax.new/ptokax.changes 2017-04-30 21:23:46.073799397 +0200
@@ -1,0 +2,20 @@
+Fri Apr 14 01:02:03 UTC 2017 - 13ilya@gmail.com
+
+- Update to 0.5.2.2
+ * Added: Reconnect to database on connection failure or connection lost.
+ * Fixed: Typo in server manager and resource leak in sqlite on exit.
+ * Fixed: Incorrect long length message when incomplete search command was received.
+ * Fixed: Search request was sent to users without share.
+ * Fixed: Missing $ValidateDenide when user use nick that is in reserved nicks.
+ * Fixed: Extra pipe in !checknickban result.
+ * Fixed: IP and Port check in DC commands.
+ * Fixed: Missing IP check for validity in some hub commands.
+ * Fixed: Empty password received from user was not checked properly and accepted as new password for reg.
+ * Fixed: Bandwidth waste, when IPv6 user send search request with IPv4 address.
+ * Fixed: Possible crash on hublist registration.
+ * Fixed: Bind to single IP caused bind to all addresses when IPv6 address was empty.
+ * Fixed: Typo in scripting interface. MaxSlotsLimt -> MaxSlotsLimit.
+ * Changed: Log script errors is enabled by default.
+- Removed addressofbool.diff
+
+-------------------------------------------------------------------
Old:
----
0.5.2.1-nix-src.tgz
addressofbool.diff
New:
----
0.5.2.2-nix-src.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ptokax.spec ++++++
--- /var/tmp/diff_new_pack.PxsGio/_old 2017-04-30 21:23:46.957674772 +0200
+++ /var/tmp/diff_new_pack.PxsGio/_new 2017-04-30 21:23:46.961674208 +0200
@@ -17,7 +17,7 @@
Name: ptokax
-Version: 0.5.2.1
+Version: 0.5.2.2
Release: 0
Summary: Server application for the Neo-Modus DC++ sharing network
License: GPL-3.0
@@ -25,15 +25,14 @@
Url: http://www.ptokax.org/
BuildRequires: gcc-c++
BuildRequires: lua-devel
+BuildRequires: systemd-rpm-macros
BuildRequires: tinyxml-devel
BuildRequires: zlib-devel
-BuildRequires: systemd-rpm-macros
-Source0: http://www.ptokax.org/files/%version-nix-src.tgz
+Source: http://www.ptokax.org/files/%version-nix-src.tgz
Source1: ptokax.service
Patch1: logs.patch
Patch2: nodate.diff
-Patch3: addressofbool.diff
-BuildRoot: %_tmppath/%name-%version-build
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
Requires(pre): pwdutils
@@ -46,7 +45,7 @@
%prep
%setup -q -n PtokaX
-%patch -P 1 -P 2 -P 3 -p1
+%patch -P 1 -P 2 -p1
sed -i 's/\r//' ReadMe.txt Changelog.txt scripting.docs/scripting-interface.txt
# remove tinyxml as we use system lib
rm -rf tinyxml
++++++ 0.5.2.1-nix-src.tgz -> 0.5.2.2-nix-src.tgz ++++++
/work/SRC/openSUSE:Factory/ptokax/0.5.2.1-nix-src.tgz /work/SRC/openSUSE:Factory/.ptokax.new/0.5.2.2-nix-src.tgz differ: char 5, line 1
++++++ logs.patch ++++++
--- /var/tmp/diff_new_pack.PxsGio/_old 2017-04-30 21:23:47.033664057 +0200
+++ /var/tmp/diff_new_pack.PxsGio/_new 2017-04-30 21:23:47.033664057 +0200
@@ -1,40 +1,33 @@
----
- core/ServerManager.cpp | 4 ++--
- core/utility.cpp | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-Index: PtokaX/core/ServerManager.cpp
-===================================================================
---- PtokaX.orig/core/ServerManager.cpp
-+++ PtokaX/core/ServerManager.cpp
-@@ -246,8 +246,8 @@ void clsServerManager::Initialize() {
+diff -Pdpru PtokaX.orig/core/ServerManager.cpp PtokaX/core/ServerManager.cpp
+--- PtokaX.orig/core/ServerManager.cpp 2017-04-08 13:06:30.000000000 +0300
++++ PtokaX/core/ServerManager.cpp 2017-04-14 03:21:33.950860135 +0300
+@@ -251,8 +251,8 @@ void ServerManager::Initialize() {
#else
srandom(acctime);
-- if(DirExist((clsServerManager::sPath+"/logs").c_str()) == false) {
-- if(mkdir((clsServerManager::sPath+"/logs").c_str(), 0755) == -1) {
+- if(DirExist((m_sPath+"/logs").c_str()) == false) {
+- if(mkdir((m_sPath+"/logs").c_str(), 0755) == -1) {
+ if(DirExist("/var/log/ptokax") == false) {
+ if(mkdir("/var/log/ptokax", 0755) == -1) {
- if(bDaemon == true) {
+ if(m_bDaemon == true) {
syslog(LOG_USER | LOG_ERR, "Creating of logs directory failed!\n");
} else {
-Index: PtokaX/core/utility.cpp
-===================================================================
---- PtokaX.orig/core/utility.cpp
-+++ PtokaX/core/utility.cpp
-@@ -889,13 +889,13 @@ void AppendLog(const string & sData, con
+diff -Pdpru PtokaX.orig/core/utility.cpp PtokaX/core/utility.cpp
+--- PtokaX.orig/core/utility.cpp 2017-04-09 12:22:59.000000000 +0300
++++ PtokaX/core/utility.cpp 2017-04-14 03:26:45.246257342 +0300
+@@ -877,13 +877,13 @@ void AppendLog(const char * sData, const
#ifdef _WIN32
- fw = fopen((clsServerManager::sPath + "\\logs\\system.log").c_str(), "a");
+ fw = fopen((ServerManager::m_sPath + "\\logs\\system.log").c_str(), "a");
#else
-- fw = fopen((clsServerManager::sPath + "/logs/system.log").c_str(), "a");
+- fw = fopen((ServerManager::m_sPath + "/logs/system.log").c_str(), "a");
+ fw = fopen("/var/log/ptokax/system.log", "a");
#endif
} else {
#ifdef _WIN32
- fw = fopen((clsServerManager::sPath + "\\logs\\script.log").c_str(), "a");
+ fw = fopen((ServerManager::m_sPath + "\\logs\\script.log").c_str(), "a");
#else
-- fw = fopen((clsServerManager::sPath + "/logs/script.log").c_str(), "a");
-+ fw = fopen("/var/log/ptokax/script.log", "a");
+- fw = fopen((ServerManager::m_sPath + "/logs/script.log").c_str(), "a");
++ fw = fopen("/var/log/ptokax/system.log", "a");
#endif
}
++++++ nodate.diff ++++++
--- /var/tmp/diff_new_pack.PxsGio/_old 2017-04-30 21:23:47.057660674 +0200
+++ /var/tmp/diff_new_pack.PxsGio/_new 2017-04-30 21:23:47.057660674 +0200
@@ -1,69 +1,41 @@
-From: Jan Engelhardt
participants (1)
-
root@hilbert.suse.de