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 - [email protected]
+
+- 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 <[email protected]>
-Date: 2016-11-26 17:15:58.757191704 +0100
-
----
- core/HubCommands.cpp                          |    1 -
- core/PtokaX-nix.cpp                           |    2 +-
- core/PtokaX-win.cpp                           |    2 +-
- core/ServerManager.cpp                        |    2 +-
- skein/Additional_Implementations/skein_test.c |    2 +-
- 5 files changed, 4 insertions(+), 5 deletions(-)
-
-Index: PtokaX/core/HubCommands.cpp
-===================================================================
---- PtokaX.orig/core/HubCommands.cpp
-+++ PtokaX/core/HubCommands.cpp
-@@ -3329,7 +3329,6 @@ bool clsHubCommands::DoCommand(User * pU
+diff -Pdpru PtokaX.orig/core/HubCommands-RZ.cpp PtokaX/core/HubCommands-RZ.cpp
+--- PtokaX.orig/core/HubCommands-RZ.cpp        2017-03-18 22:20:59.000000000 
+0200
++++ PtokaX/core/HubCommands-RZ.cpp     2017-04-14 03:57:53.330916603 +0300
+@@ -413,7 +413,6 @@ bool HubCommands::Stats(ChatCommand * pC
  #ifdef _PtokaX_TESTING_
-                 " [build " BUILD_NUMBER "]"
+     " [build " BUILD_NUMBER "]"
  #endif
--                " built on " __DATE__ " " __TIME__ "\n"
+-    " built on " __DATE__ " " __TIME__ "\n"
+ 
  #if LUA_VERSION_NUM > 501
-                               "Lua: " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR 
"." LUA_VERSION_RELEASE "\n";
- #else
-Index: PtokaX/core/PtokaX-nix.cpp
-===================================================================
---- PtokaX.orig/core/PtokaX-nix.cpp
-+++ PtokaX/core/PtokaX-nix.cpp
+       "Lua: " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "." LUA_VERSION_RELEASE 
"\n";
+diff -Pdpru PtokaX.orig/core/PtokaX-nix.cpp PtokaX/core/PtokaX-nix.cpp
+--- PtokaX.orig/core/PtokaX-nix.cpp    2017-03-19 14:30:04.000000000 +0200
++++ PtokaX/core/PtokaX-nix.cpp 2017-04-14 03:59:07.235932373 +0300
 @@ -83,7 +83,7 @@ int main(int argc, char* argv[]) {
                    }
              }
            } else if(strcasecmp(argv[i], "-v") == 0) {
 -              printf("%s built on %s %s\n", g_sPtokaXTitle, __DATE__, 
__TIME__);
-+              printf("%s built on %s %s\n", g_sPtokaXTitle, "","");
++              printf("%s built on %s %s\n", g_sPtokaXTitle, "", "");
                return EXIT_SUCCESS;
            } else if(strcasecmp(argv[i], "-h") == 0) {
                printf("Usage: PtokaX [-d] [-v] [-m] [-c configdir] [-p 
pidfile]\n\n"
-Index: PtokaX/core/PtokaX-win.cpp
-===================================================================
---- PtokaX.orig/core/PtokaX-win.cpp
-+++ PtokaX/core/PtokaX-win.cpp
-@@ -286,7 +286,7 @@ int __cdecl main(int argc, char* argv[])
-               sServiceName = argv[i];
-               return UninstallService(sServiceName);
-           } else if(stricmp(argv[i], "-v") == NULL || stricmp(argv[i], 
"/version") == NULL) {
--              printf("%s built on %s %s\n", g_sPtokaXTitle, __DATE__, 
__TIME__);
-+              printf("%s built on %s %s\n", g_sPtokaXTitle, "","");
-               return EXIT_SUCCESS;
-           } else if(stricmp(argv[i], "-h") == NULL || stricmp(argv[i], 
"/help") == NULL) {
-               printf("Usage: PtokaX [-v] [-m] [-i servicename] [-u 
servicename] [-c configdir]\n\n"
-Index: PtokaX/core/ServerManager.cpp
-===================================================================
---- PtokaX.orig/core/ServerManager.cpp
-+++ PtokaX/core/ServerManager.cpp
-@@ -1032,7 +1032,7 @@ void clsServerManager::CreateServerThrea
+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 04:00:01.937723391 +0300
+@@ -1052,7 +1052,7 @@ void ServerManager::CreateServerThread(c
  
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  
- void clsServerManager::CommandLineSetup() {
+ void ServerManager::CommandLineSetup() {
 -      printf("%s built on %s %s\n\n", g_sPtokaXTitle, __DATE__, __TIME__);
-+      printf("%s built on %s %s\n\n", g_sPtokaXTitle, "","");
-       printf("Welcome to PtokaX configuration setup.\nDirectory for PtokaX 
configuration is: %s\nWhen this directory is wrong, then exit this setup.\nTo 
specify correct configuration directory start PtokaX with -c configdir 
parameter.", clsServerManager::sPath.c_str());
++      printf("%s built on %s %s\n\n", g_sPtokaXTitle, "", "");
+       printf("Welcome to PtokaX configuration setup.\nDirectory for PtokaX 
configuration is: %s\nWhen this directory is wrong, then exit this setup.\nTo 
specify correct configuration directory start PtokaX with -c configdir 
parameter.", m_sPath.c_str());
  
        const char sMenu[] = "\n\nAvailable options:\n"
-Index: PtokaX/skein/Additional_Implementations/skein_test.c
-===================================================================
---- PtokaX.orig/skein/Additional_Implementations/skein_test.c
-+++ PtokaX/skein/Additional_Implementations/skein_test.c
+diff -Pdpru PtokaX.orig/skein/Additional_Implementations/skein_test.c 
PtokaX/skein/Additional_Implementations/skein_test.c
+--- PtokaX.orig/skein/Additional_Implementations/skein_test.c  2010-10-15 
02:40:28.000000000 +0300
++++ PtokaX/skein/Additional_Implementations/skein_test.c       2017-04-14 
04:01:31.466107739 +0300
 @@ -1213,7 +1213,7 @@ void Skein_MeasurePerformance(const char
          if (targetSize == 0)
              {


Reply via email to