/[gentoo-x86]/net-misc/stargazer/files/patches/stg-2.408-correct-paths.patch
Gentoo

Contents of /net-misc/stargazer/files/patches/stg-2.408-correct-paths.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sat Feb 23 20:13:30 2013 UTC (6 years, 11 months ago) by tomwij
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
New ebuild for stargazer. Contributed by SpiderX. Fixes bug #452916.

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

1 --- projects/rscriptd/rscriptd.conf.org 2013-01-08 18:19:34.000000000 +0200
2 +++ projects/rscriptd/rscriptd.conf 2013-01-08 18:20:52.000000000 +0200
3 @@ -6,7 +6,7 @@
4 # Parameter: optional
5 # Value: file path
6 # Default: /var/log/rscriptd.log
7 -LogFileName = /var/log/rscriptd.log
8 +LogFileName = /var/log/stargazer/rscriptd.log
9
10 # Amount of rscriptd-exec processes.
11 # These processes are responsible for the execution of scripts
12 @@ -22,7 +22,7 @@
13 # Parameter: optional
14 # Value: directory path
15 # Default: /etc/rscriptd
16 -ConfigDir = /etc/rscriptd
17 +ConfigDir = /etc/stargazer
18
19 # Defines password for the encryption exchange between
20 # Stargazer server and rscriptd.
21 @@ -49,12 +49,12 @@
22 # Parameter: optional
23 # Value: file path
24 # Default: /etc/rscriptd/OnConnect
25 -ScriptOnConnect = /etc/rscriptd/OnConnect
26 +ScriptOnConnect = /etc/stargazer/OnConnect
27
28 # Defines file which runs when user loses access
29 # Parameter: optional
30 # Value: file path
31 # Default: /etc/rscriptd/OnDisconnect
32 -ScriptOnDisconnect = /etc/rscriptd/OnDisconnect
33 +ScriptOnDisconnect = /etc/stargazer/OnDisconnect
34
35 ################################################################################
36 \ No newline at end of file
37 --- projects/sgconv/sgconv.conf.org 2012-12-18 21:56:33.578221904 +0200
38 +++ projects/sgconv/sgconv.conf 2012-12-18 21:58:22.355217059 +0200
39 @@ -18,27 +18,27 @@
40 # Working server directory, provides data on tariffs, users, administrators.
41 # Parameter: required
42 # Value: directory path
43 - WorkDir = /var/stargazer
44 + WorkDir = /var/lib/stargazer
45
46 # Owner, group and permissions of the files of user statistics (stat)
47 # Parameter: required
48 # Values: any, supported by OS
49 - ConfOwner = root
50 - ConfGroup = root
51 + ConfOwner = stg
52 + ConfGroup = stg
53 ConfMode = 600
54
55 # Owner, group and permissions on user configuration files (conf)
56 # Parameter: required
57 # Values: any, supported by OS
58 - StatOwner = root
59 - StatGroup = root
60 + StatOwner = stg
61 + StatGroup = stg
62 StatMode = 640
63
64 # Owner, group and permissions for user log files (log)
65 # Parameter: required
66 # Values: any, supported by OS
67 - UserLogOwner = root
68 - UserLogGroup = root
69 + UserLogOwner = stg
70 + UserLogGroup = stg
71 UserLogMode = 640
72
73 </SourceStoreModule>
74 @@ -54,7 +54,7 @@
75 # Parameter: required
76 # Value: file path
77 # Default: /var/stg/stargazer.fdb
78 - # database = /var/stg/stargazer.fdb
79 + # database = /var/lib/stargazer/stargazer.fdb
80
81 # Database username
82 # Parameter: required
83 --- projects/stargazer/inst/linux/etc/stargazer/stargazer.conf.org 2012-12-30 14:35:22.000000000 +0200
84 +++ projects/stargazer/inst/linux/etc/stargazer/stargazer.conf 2012-12-30 14:36:37.000000000 +0200
85 @@ -6,7 +6,7 @@
86 # Parameter: required
87 # Value: file path
88 # Default: /var/log/stargazer.log
89 -LogFile = /var/log/stargazer.log
90 +LogFile = /var/log/stargazer/stargazer.log
91
92 # PID file name
93 # Parameter: optional
94 @@ -147,7 +147,7 @@
95 # Parameter: optional
96 # Value: file path
97 # Default: /var/stargazer/monitor
98 -#MonitorDir=/var/stargazer/monitor
99 +#MonitorDir=/var/lib/stargazer/monitor
100
101 # Defines message maximum lifetime
102 # Note: 0 - unlimited
103 --- projects/stargazer/inst/linux/etc/stargazer/conf-available.d/mod_remote_script.conf.org 2012-12-25 14:03:49.000000000 +0200
104 +++ projects/stargazer/inst/linux/etc/stargazer/conf-available.d/mod_remote_script.conf 2012-12-25 14:04:00.000000000 +0200
105 @@ -16,7 +16,7 @@
106 # Parametr: required
107 # Values: filename
108 # Default: subnets
109 - SubnetFile = subnets
110 + SubnetFile = /etc/stargazer/subnets
111
112 # The password to encrypt packets between the stg-server and remote server
113 # Parameter: required
114 --- projects/stargazer/inst/linux/etc/stargazer/conf-available.d/store_files.conf.org 2012-12-25 13:31:01.000000000 +0200
115 +++ projects/stargazer/inst/linux/etc/stargazer/conf-available.d/store_files.conf 2012-12-25 13:31:43.000000000 +0200
116 @@ -5,27 +5,27 @@
117 # Working server directory, provides data on tariffs, users, administrators.
118 # Parameter: required
119 # Value: directory path
120 - WorkDir = /var/stargazer
121 + WorkDir = /var/lib/stargazer
122
123 # Owner, group and permissions of the files of user statistics (stat)
124 # Parameter: required
125 # Values: any, supported by OS
126 - ConfOwner = root
127 - ConfGroup = root
128 + ConfOwner = stg
129 + ConfGroup = stg
130 ConfMode = 640
131
132 # Owner, group and permissions on user configuration files (conf)
133 # Parameter: required
134 # Values: any, supported by OS
135 - StatOwner = root
136 - StatGroup = root
137 + StatOwner = stg
138 + StatGroup = stg
139 StatMode = 640
140
141 # Owner, group and permissions for user log files (log)
142 # Parameter: required
143 # Values: any, supported by OS
144 - UserLogOwner = root
145 - UserLogGroup = root
146 + UserLogOwner = stg
147 + UserLogGroup = stg
148 UserLogMode = 640
149
150 </StoreModule>
151 --- projects/stargazer/inst/linux/etc/stargazer/conf-available.d/store_firebird.conf.org 2012-12-25 13:39:00.000000000 +0200
152 +++ projects/stargazer/inst/linux/etc/stargazer/conf-available.d/store_firebird.conf 2012-12-25 13:39:28.000000000 +0200
153 @@ -9,7 +9,7 @@
154 # Parameter: required
155 # Value: file path
156 # Default: /var/stg/stargazer.fdb
157 - Database = /var/stg/stargazer.fdb
158 + Database = /var/lib/stargazer/stargazer.fdb
159
160 # Database username
161 # Parameter: required
162 --- projects/stargazer/plugins/configuration/rpcconfig/rpcconfig.cpp.org 2012-12-31 11:08:26.000000000 +0200
163 +++ projects/stargazer/plugins/configuration/rpcconfig/rpcconfig.cpp 2012-12-31 11:08:41.000000000 +0200
164 @@ -169,7 +169,7 @@
165 rpcServer = new xmlrpc_c::serverAbyss(
166 xmlrpc_c::serverAbyss::constrOpt()
167 .registryP(&rpcRegistry)
168 - .logFileName("/var/log/stargazer_rpc.log")
169 + .logFileName("/var/log/stargazer/xmlrpc.log")
170 .socketFd(fd)
171 );
172
173 --- projects/stargazer/inst/var/00-base-00.sql.org 2013-01-02 16:22:28.000000000 +0200
174 +++ projects/stargazer/inst/var/00-base-00.sql 2013-01-02 16:22:52.000000000 +0200
175 @@ -50,9 +50,9 @@
176 /*
177 * CONNECT 'localhost:/var/stg/stargazer.fdb' USER 'stg' PASSWORD '123456';
178 * DROP DATABASE;
179 - *
180 - * CREATE DATABASE 'localhost:/var/stg/stargazer.fdb' USER 'stg' PASSWORD '123456' DEFAULT CHARACTER SET UTF8;
181 */
182 + CREATE DATABASE 'localhost:/var/lib/stargazer/stargazer.fdb' USER 'stg' PASSWORD '123456' DEFAULT CHARACTER SET UTF8;
183 +
184
185
186

  ViewVC Help
Powered by ViewVC 1.1.20