aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/verlihub
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2008-02-09 00:45:27 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2008-02-09 00:45:27 +0800
commitb3073da0401c2951526831942377450bc16b4ec2 (patch)
tree931fd15c36e6165d6bb4645ac9c1abe34dcba4e9 /net-p2p/verlihub
parent3608f803bd31fafa7f9dc66766407bfe8415188a (diff)
downloadfreebsd-ports-gnome-b3073da0401c2951526831942377450bc16b4ec2.tar.gz
freebsd-ports-gnome-b3073da0401c2951526831942377450bc16b4ec2.tar.zst
freebsd-ports-gnome-b3073da0401c2951526831942377450bc16b4ec2.zip
- Update to 0.9.8d-RC2
PR: ports/120120 Submitted by: Mikle Davidkin <skylord vt.net.ru> (maintainer)
Diffstat (limited to 'net-p2p/verlihub')
-rw-r--r--net-p2p/verlihub/Makefile3
-rw-r--r--net-p2p/verlihub/distinfo6
-rw-r--r--net-p2p/verlihub/files/patch-db_charset14
-rw-r--r--net-p2p/verlihub/files/patch-thublink4
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)