mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
* Fix msql.conf location for msql3_broker
* Fix some options in msql.conf PR: ports/88069 Submitted by: Andrey Slusar (maintainer) Reported by: Terry Kennedy <terry at tmk.com>
This commit is contained in:
parent
3f6af8cdca
commit
5721ef1cbd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146759
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= msql
|
||||
PORTVERSION= 3.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
|
||||
MAINTAINER= anrays@gmail.com
|
||||
|
11
databases/msql3/files/patch-main_broker.c
Normal file
11
databases/msql3/files/patch-main_broker.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/msqld/main/main_broker.c.old Wed Oct 26 22:07:31 2005
|
||||
+++ src/msqld/main/main_broker.c Wed Oct 26 22:08:53 2005
|
||||
@@ -1391,7 +1391,7 @@
|
||||
|
||||
if (*confFile == 0)
|
||||
{
|
||||
- snprintf(confFile,sizeof(confFile),"%s/msql.conf", INST_DIR);
|
||||
+ snprintf(confFile,sizeof(confFile),"%s/etc/msql3/msql.conf", INST_DIR);
|
||||
}
|
||||
printf("\tLoading configuration from '%s'.\n",confFile);
|
||||
configLoadFile(confFile);
|
@ -1,27 +1,30 @@
|
||||
--- misc/msql.conf.orig Mon Nov 4 01:34:36 2002
|
||||
+++ misc/msql.conf Tue May 4 17:34:38 2004
|
||||
+++ misc/msql.conf Thu Oct 27 00:23:31 2005
|
||||
@@ -18,12 +18,12 @@
|
||||
[general]
|
||||
|
||||
Inst_Dir = _INST_
|
||||
-DB_Dir = %I/msqldb
|
||||
-mSQL_User = daemon
|
||||
+DB_Dir = /var/db/msql3db
|
||||
mSQL_User = daemon
|
||||
+mSQL_User = msql
|
||||
Admin_User = root
|
||||
-Pid_File = %I/msql3d.pid
|
||||
+Pid_File = /var/spool/msql/msql3d.pid
|
||||
+Pid_File = /var/spool/msql3/msql3d.pid
|
||||
TCP_Port = 1114
|
||||
-UNIX_Port = %I/msql3.sock
|
||||
+UNIX_Port = /var/spool/msql/msql3.sock
|
||||
+UNIX_Port = /var/spool/msql3/msql3.sock
|
||||
|
||||
[system]
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
@@ -35,8 +35,8 @@
|
||||
Local_Access = True
|
||||
Force_Munmap = False
|
||||
Query_Log = False
|
||||
-Query_Log_File = %I/query.log
|
||||
+#Query_Log_File = /var/spool/msql/query.log
|
||||
+#Query_Log_File = /var/spool/msql3/query.log
|
||||
#Update_Log = False
|
||||
#Update_Log_File = %I/update.log
|
||||
-#Update_Log_File = %I/update.log
|
||||
+#Update_Log_File = /var/spool/msql3/update.log
|
||||
Table_Cache = 8
|
||||
Sort_Max_Mem = 1000
|
||||
|
Loading…
Reference in New Issue
Block a user