diff options
Diffstat (limited to 'net-p2p/verlihub')
-rw-r--r-- | net-p2p/verlihub/Makefile | 3 | ||||
-rw-r--r-- | net-p2p/verlihub/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/verlihub/files/patch-db_charset | 14 | ||||
-rw-r--r-- | net-p2p/verlihub/files/patch-thublink | 4 |
4 files changed, 13 insertions, 14 deletions
diff --git a/net-p2p/verlihub/Makefile b/net-p2p/verlihub/Makefile index 019c940b5d84..742c62cb517c 100644 --- a/net-p2p/verlihub/Makefile +++ b/net-p2p/verlihub/Makefile @@ -6,9 +6,8 @@ # PORTNAME= verlihub -DISTVERSION= 0.9.8d-RC1 +DISTVERSION= 0.9.8d-RC2 PORTEPOCH= 1 -PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/net-p2p/verlihub/distinfo b/net-p2p/verlihub/distinfo index 28ec9d81d7ef..40c14a1d02d8 100644 --- a/net-p2p/verlihub/distinfo +++ b/net-p2p/verlihub/distinfo @@ -1,3 +1,3 @@ -MD5 (verlihub-0.9.8d-RC1.tar.gz) = 886d0b13a387bf57e226516e73c5fe7a -SHA256 (verlihub-0.9.8d-RC1.tar.gz) = cf064c6ef1e9f2e8ca44f43af855a7baf1b914d4eb941806b19e4fff0bd1a6fc -SIZE (verlihub-0.9.8d-RC1.tar.gz) = 856421 +MD5 (verlihub-0.9.8d-RC2.tar.gz) = 0824be2cf3af08ccda1638c5d5d0bc4e +SHA256 (verlihub-0.9.8d-RC2.tar.gz) = baf64574d0ed89324b6b2da35d32ebb5fd9af164c83b10bdf45a49b8a8f0fc59 +SIZE (verlihub-0.9.8d-RC2.tar.gz) = 1095383 diff --git a/net-p2p/verlihub/files/patch-db_charset b/net-p2p/verlihub/files/patch-db_charset index 30a23cd26c19..447a33bc147c 100644 --- a/net-p2p/verlihub/files/patch-db_charset +++ b/net-p2p/verlihub/files/patch-db_charset @@ -21,8 +21,8 @@ diff -Nur verlihub-orig/src/cdbconf.h verlihub/src/cdbconf.h string lang_name; bool allow_exec; diff -Nur verlihub-orig/src/cmysql.cpp verlihub/src/cmysql.cpp ---- src/cmysql.cpp 2006-07-15 18:42:52.000000000 +0400 -+++ src/cmysql.cpp 2006-07-15 18:45:25.000000000 +0400 +--- src/cmysql.cpp.orig Sun Jun 24 00:11:33 2007 ++++ src/cmysql.cpp Tue Jan 29 16:39:29 2008 @@ -19,10 +19,10 @@ /*! \fn nMySQL::cMySQL::cMySQL(string&host,string&user,string&pass,string&data) @@ -37,7 +37,7 @@ diff -Nur verlihub-orig/src/cmysql.cpp verlihub/src/cmysql.cpp throw "Mysql connection error."; } @@ -40,12 +40,13 @@ - if(!mDBHandle) Error(0, string("Can't init mysql structure :(.: ")); + if(!mDBHandle) Error(0, string("Can't init mysql structure :(.: ")); } -bool cMySQL::Connect(string &host, string &user, string &pass, string &data) @@ -45,13 +45,13 @@ diff -Nur verlihub-orig/src/cmysql.cpp verlihub/src/cmysql.cpp { if(Log(1)) LogStream() << "Connecting to mysql server: " - << user << "@" << host << "/" << data << endl; -+ << user << "@" << host << "/" << data << "with charset " << charset << endl; - ++ << user << "@" << host << "/" << data << "with charset " << charset << endl; + mysql_options(mDBHandle,MYSQL_OPT_COMPRESS,0); -+ mysql_options(mDBHandle,MYSQL_SET_CHARSET_NAME,charset.c_str()); ++ mysql_options(mDBHandle,MYSQL_SET_CHARSET_NAME,charset.c_str()); + if(!mysql_real_connect( mDBHandle, - host.c_str(), diff -Nur verlihub-orig/src/cmysql.h verlihub/src/cmysql.h --- src/cmysql.h 2006-07-15 18:42:52.000000000 +0400 +++ src/cmysql.h 2006-07-15 18:43:50.000000000 +0400 diff --git a/net-p2p/verlihub/files/patch-thublink b/net-p2p/verlihub/files/patch-thublink index 441264b6a608..77dce37bb7c0 100644 --- a/net-p2p/verlihub/files/patch-thublink +++ b/net-p2p/verlihub/files/patch-thublink @@ -205,8 +205,8 @@ diff -u -r1.235 cserverdc.cpp /** return true if accept is allowed - override */ bool cServerDC::AllowNewConn() { -- return mConnList.size() <= (unsigned) mC.max_users_total + mC.max_extra_regs + mC.max_extra_vips + mC.max_extra_ops + mC.max_extra_cheefs + mC.max_extra_admins + 200; -+ return mDCConnList.size() <= (unsigned) mC.max_users_total + mC.max_extra_regs + mC.max_extra_vips + mC.max_extra_ops + mC.max_extra_cheefs + mC.max_extra_admins + 200; +- return mConnList.size() <= (unsigned) mC.max_users_total + mC.max_extra_regs + mC.max_extra_vips + mC.max_extra_ops + mC.max_extra_cheefs + mC.max_extra_admins + 300; ++ return mDCConnList.size() <= (unsigned) mC.max_users_total + mC.max_extra_regs + mC.max_extra_vips + mC.max_extra_ops + mC.max_extra_cheefs + mC.max_extra_admins + 300; } int cServerDC::SaveFile(const string &file, const string &text) |