1 |
# $Id: e-smith-proxy.spec,v 1.12 2022/04/17 18:59:57 jpp Exp $ |
2 |
|
3 |
Summary: e-smith server and gateway - proxy module |
4 |
%define name e-smith-proxy |
5 |
Name: %{name} |
6 |
%define version 5.6.0 |
7 |
%define release 12 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-proxy-5.6.0-MANAGER.patch |
14 |
Patch1: e-smith-proxy-5.6.0-set_file_desc_limit.patch |
15 |
Patch2: e-smith-proxy-5.6.0.bz79.redirect.squid.related.syslog.patch |
16 |
Patch3: e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch |
17 |
Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch |
18 |
Patch5: e-smith-proxy-5.6.0-events_update-bz9419.patch |
19 |
Patch6: e-smith-proxy-5.6.0-bz9692-cleanup.patch |
20 |
Patch7: e-smith-proxy-5.6.0-bz11713-networksystemd.patch |
21 |
Patch8: e-smith-proxy-5.6.0-bz11944.patch |
22 |
Patch9: e-smith-proxy-5.6.0-bz11454-pidfile.patch |
23 |
|
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
26 |
Requires: e-smith-base |
27 |
Requires: squid |
28 |
Requires: e-smith-lib >= 1.15.1-19 |
29 |
Requires: iptables |
30 |
Requires: e-smith-formmagick >= 1.4.0-9 |
31 |
Requires: e-smith-apache >= 2.6.0-19 |
32 |
Requires: e-smith-email >= 5.2.0-5 |
33 |
BuildRequires: e-smith-devtools |
34 |
Obsoletes: e-smith-transproxy |
35 |
AutoReqProv: no |
36 |
|
37 |
%description |
38 |
e-smith server and gateway software - proxy module. |
39 |
|
40 |
%changelog |
41 |
* Mon Feb 06 2023 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-12.sme |
42 |
- fix issues where pid file is not removed [SME: 11454] |
43 |
|
44 |
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-11.sme |
45 |
- use httpd 2.4 access control syntax [SME: 11944] |
46 |
|
47 |
* Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-10.sme |
48 |
- fix squid starting before network [SME: 11713] |
49 |
also dropin file not expanded on install fixed |
50 |
|
51 |
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
52 |
- cleanup in /etc/rc.d and /var/service/squid [SME: 9692] |
53 |
|
54 |
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
55 |
- fix actions for e-smith-proxy-update event [SME: 11116] |
56 |
- add intercept for squid [SME: 9419] |
57 |
|
58 |
* Mon Nov 30 2020 Michel Begue <mab974@gmail.com> 2.6.0-7.sme |
59 |
- move squid service to systemd [SME: 11116] |
60 |
- add e-smith-proxy-update event [SME: 11151] |
61 |
- fix bogus dates here |
62 |
|
63 |
* Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-6.sme |
64 |
- fix disabling smtp proxy via SM doesn't work [SME: 9639] |
65 |
|
66 |
* Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-5.sme |
67 |
- redirect squid syslog messages to /var/log/squid/squid.log [SME: 79] |
68 |
|
69 |
* Thu Jan 5 2017 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-4.sme |
70 |
- Allow custom file descriptor limit, and set default to 4096 [SME: 9912] |
71 |
|
72 |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 5.6.0-3.sme |
73 |
- Rebuild for [SME: 9393] |
74 |
|
75 |
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 5.6.0-2.sme |
76 |
- remove deprecated acl manager proto cache_object [SME: 9410] |
77 |
|
78 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-1.sme |
79 |
- Initial release to sme10 |
80 |
|
81 |
* Tue Apr 14 2015 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-4.sme |
82 |
- Prevent forwarding loop when talking directly to squid port [SME: 8907] |
83 |
|
84 |
* Thu Jan 30 2014 chris burnat <devlist@burnat.com> 5.4.0-3.sme |
85 |
- Modify template to allow Squid proxy https access to ports other than 443,563 using db command [sme:8161] |
86 |
- Codes by John Bennett |
87 |
|
88 |
* Mon Feb 18 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-2.sme |
89 |
- Adjust squid config syntax [SME: 7250] |
90 |
|
91 |
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 5.4.0-1.sme |
92 |
- Roll new stream for sme9 |
93 |
- Perl modules moved to /usr/share/perl5/vendor_perl [SME: 7223] |
94 |
|
95 |
* Fri Sep 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 5.2.0-5.sme |
96 |
- Fix SMTP proxy wording in server-manager [SME: 6178] |
97 |
|
98 |
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-4.sme |
99 |
- Fix missed enabled->transparent mapping [SME: 5574] |
100 |
|
101 |
* Sat Sep 25 2010 Shad L. Lords <slords@mail.com> 5.2.0-3.sme |
102 |
- Change enabled to transparent for mail proxy [SME: 5574] |
103 |
|
104 |
* Thu Mar 25 2010 Federico Simoncelli <federico.simoncelli@gmail.com> 5.2.0-2.sme |
105 |
- New option to block outgoing SMTP connections [SME: 5574] |
106 |
|
107 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.2.0-1.sme |
108 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
109 |
|
110 |
* Fri Aug 15 2008 Shad L. Lords <slords@mail.com> 4.14.0-15 |
111 |
- Fix obsolete use of esmith::db class in template fragment in sme8. [SME: 4509] |
112 |
|
113 |
* Fri Aug 15 2008 Charlie Brady <charlie_brady@mitel.com> 4.14.0-14 |
114 |
- Fix obsolete use of esmith::db class in template fragment. [SME: 4509] |
115 |
|
116 |
* Fri Feb 22 2008 Gavin Weight <gweight@gmail.com> 4.14.0-13 |
117 |
- Change Wpad URL to match system domain. [SME: 3512] |
118 |
|
119 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 4.14.0-12 |
120 |
- Remove <base> tags now in general [SME: 3918] |
121 |
|
122 |
* Sun Feb 10 2008 Stephen Noble <support@dungog.net> 4.14.0-11 |
123 |
- Remove duplicate <base> entries [SME: 3893] |
124 |
|
125 |
* Thu Dec 27 2007 Stephen Noble <support@dungog.net> 4.14.0-10 |
126 |
- wording in panel re proxy in serveronly mode [SME: 3514] |
127 |
|
128 |
* Thu Dec 20 2007 Shad L. Lords <slords@mail.com> 4.14.0-9 |
129 |
- Update squid directives for sme8 [SME: 2518] |
130 |
|
131 |
* Fri Nov 02 2007 Gavin Weight <gweight@gmail.com> 4.14.0-8 |
132 |
- Add Wpad funtion to dhcpd.conf. [SME: 3512] |
133 |
|
134 |
* Wed Aug 29 2007 Charlie Brady <charlie_brady@mitel.com> 4.14.0-7 |
135 |
- Bind only to local interface and loopback interface. [SME: 2658] |
136 |
|
137 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
138 |
- Clean up spec so package can be built by koji/plague |
139 |
|
140 |
* Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 4.14.0-6 |
141 |
- Fix owner/perms on squid.conf file [SME: 2719] |
142 |
|
143 |
* Thu Feb 15 2007 Charlie Brady <charlie_brady@mitel.com> 4.14.0-5 |
144 |
- Specify the port to which squid should bind. [SME: 2476] |
145 |
|
146 |
* Thu Jan 25 2007 Shad L. Lords <slords@mail.com> 4.14.0-4 |
147 |
- Expand crontab template on proxy-update [SME: 2195] |
148 |
|
149 |
* Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 4.14.0-3 |
150 |
- Make squid clean cache [SME: 2195] |
151 |
|
152 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
153 |
- Update to new release naming. No functional changes. |
154 |
- Make Packager generic |
155 |
|
156 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 4.14.0-1 |
157 |
- Roll stable stream version. [SME: 1016] |
158 |
|
159 |
* Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 4.13.2-06 |
160 |
- Expand proxy.pac and squid.conf in proxy-update event [SME: 212] |
161 |
|
162 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.13.2-05 |
163 |
- Bump release number only |
164 |
|
165 |
* Wed Nov 23 2005 Charlie Brady <charlieb@e-smith.com> |
166 |
- [4.13.2-04] |
167 |
- Return 'return "DIRECT";' by default if squid is disabled [SF: 1310447] |
168 |
|
169 |
* Sat Nov 5 2005 Gordon Rowell <gordonr@e-smith.com> |
170 |
- [4.13.2-03] |
171 |
- Return "DIRECT" by default if squid is disabled [SF: 1310447] |
172 |
|
173 |
* Mon Oct 17 2005 Charlie Brady <charlieb@e-smith.com> |
174 |
- [4.13.2-02] |
175 |
- Allow squid to create a real pid file, so that "squid -k rotate" |
176 |
works. PID file needs to be created in a directory owned by 'squid' |
177 |
user - I've chosen /var/log/squid. [SF: 1327724] |
178 |
|
179 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
180 |
- [4.13.2-01] |
181 |
- Remove L10Ns from base packages [SF: 1309520] |
182 |
|
183 |
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
184 |
- [4.13.1-01] |
185 |
- New dev stream before relocating L10Ns |
186 |
|
187 |
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
188 |
- [4.13.0-40] |
189 |
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
190 |
|
191 |
* Tue Sep 27 2005 Charlie Brady <charlieb@e-smith.com> |
192 |
- [4.13.0-39] |
193 |
- Fix squid run script so that initialization output is also |
194 |
sent to the logger. [SF: 1200402] |
195 |
|
196 |
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
197 |
- [4.13.0-38] |
198 |
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
199 |
|
200 |
* Mon Aug 29 2005 Charlie Brady <charlieb@e-smith.com> |
201 |
- [4.13.0-37] |
202 |
- Remove dependency on e-smith-hosts. |
203 |
|
204 |
* Tue Aug 2 2005 Shad Lords <slords@email.com> |
205 |
- [4.13.0-36] |
206 |
- Add TCPPort and access for firewall definitions [SF: 1246986] |
207 |
- Add squid{TCPProxyPort} for transparent redirects [SF: 1246986] |
208 |
|
209 |
* Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com> |
210 |
- [4.13.0-35] |
211 |
- Add French translation of panel (Merci, Didier RAMBEAU). [SF: 1234928] |
212 |
|
213 |
* Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com> |
214 |
- [4.13.0-34] |
215 |
- Update to current db access APIs, in readiness for move of dbs to private |
216 |
directory. [SF: 1216546 (Shad)] |
217 |
|
218 |
* Thu Jul 14 2005 Charlie Brady <charlieb@e-smith.com> |
219 |
- [4.13.0-33] |
220 |
- Change smtpfront-qmail{Proxy} -> smtpd{Proxy}. [Gordon Rowell, SF: 1212323] |
221 |
|
222 |
* Thu Jul 14 2005 Charlie Brady <charlieb@e-smith.com> |
223 |
- [4.13.0-32] |
224 |
- Disable DNS tests on startup, like the standard RH config. [SF: 1234007] |
225 |
|
226 |
* Tue Jul 5 2005 Charlie Brady <charlieb@e-smith.com> |
227 |
- [4.13.0-31] |
228 |
- Add extension_methods spec to squid.conf, to allow subversion |
229 |
passthrough - see http://subversion.tigris.org/faq.html#proxy. |
230 |
[SF: 1231333] |
231 |
|
232 |
* Thu Jun 9 2005 Charlie Brady <charlieb@e-smith.com> |
233 |
- [4.13.0-30] |
234 |
- Reword the initial section of the proxy panel to remove reference |
235 |
to 6040 product. [Gordon SF:1201757] |
236 |
- Remove -s flag in run script, to avoid sending debug messages |
237 |
from squid via syslog. [SF: 1200402] |
238 |
|
239 |
* Tue Mar 8 2005 Charlie Brady <charlieb@e-smith.com> |
240 |
- [4.13.0-29] |
241 |
- Replace all restart-* and most reload-* actions with calls to 'adjust-services'. |
242 |
Update e-smith-lib version dependency. [MN00065576] |
243 |
- Use generic_template_expand action where possible, in place |
244 |
of specific actions. Update e-smith-lib dependency. [MN00064130] |
245 |
|
246 |
* Tue Jan 18 2005 Charlie Brady <charlieb@e-smith.com> |
247 |
- [4.13.0-28] |
248 |
- Use /dev/null as pid_filename. Squid documentation lies - "none" |
249 |
doesn't work. [charlieb MN00062550] |
250 |
|
251 |
* Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com> |
252 |
- [4.13.0-27] |
253 |
- Use e-smith-service for rc7.d symlink, so that "status" is respected. |
254 |
[charlieb MN00061795] |
255 |
|
256 |
* Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com> |
257 |
- [4.13.0-26] |
258 |
- Better fix for logging problem. Log run script errors to /var/log/squid.run, |
259 |
and let squid own and manage /var/log/squid. Remove migration fragment |
260 |
which does chown/chmod. [charlieb MN00057027] |
261 |
- Don't try to create a pid file - we don't have permission anyway |
262 |
[charlieb MN00062550] |
263 |
|
264 |
* Thu Nov 11 2004 Charlie Brady <charlieb@e-smith.com> |
265 |
- [4.13.0-25] |
266 |
- Have multilog run as user squid, logging to /var/log/squid |
267 |
(provided by squid package). [charlieb MN00057027] |
268 |
|
269 |
* Tue Sep 28 2004 Charlie Brady <charlieb@e-smith.com> |
270 |
- [4.13.0-24] |
271 |
- Remove duplicate local network in ACL. [charlieb MN00050804] |
272 |
|
273 |
* Fri Sep 3 2004 Charlie Brady <charlieb@e-smith.com> |
274 |
- [4.13.0-23] |
275 |
- Clean BuildRequires. [charlieb MN00043055] |
276 |
|
277 |
* Wed Jul 7 2004 Michael Soulier <msoulier@e-smith.com> |
278 |
- [4.13.0-22] |
279 |
- Added initialization of the cache to the run script. [msoulier MN00037758] |
280 |
|
281 |
* Thu Jun 10 2004 Michael Soulier <msoulier@e-smith.com> |
282 |
- [4.13.0-21] |
283 |
- Forgot to export the change_settings function. [msoulier MN00037755] |
284 |
- Made the smtp proxy toggle display conditionally on the existence of the |
285 |
e-smith-email rpm. [msoulier MN00037755] |
286 |
- Made proxy-restart smarter, so it stops calling stop when the service is |
287 |
down. [msoulier MN00037755] |
288 |
|
289 |
* Thu Jun 10 2004 Michael Soulier <msoulier@e-smith.com> |
290 |
- [4.13.0-20] |
291 |
- Added the initial version of the code, including a proxy-update event. |
292 |
[msoulier MN00037755] |
293 |
|
294 |
* Thu Jun 10 2004 Michael Soulier <msoulier@e-smith.com> |
295 |
- [4.13.0-19] |
296 |
- Moved perl -> perl5, typo in directory path. [msoulier MN00037755] |
297 |
|
298 |
* Thu Jun 10 2004 Michael Soulier <msoulier@e-smith.com> |
299 |
- [4.13.0-18] |
300 |
- Added stub for new web panel. [msoulier MN00037755] |
301 |
|
302 |
* Tue Jun 8 2004 Michael Soulier <msoulier@e-smith.com> |
303 |
- [4.13.0-17] |
304 |
- Forward port of squid disable in serveronly mode. [msoulier MN00037260] |
305 |
|
306 |
* Tue May 4 2004 Michael Soulier <msoulier@e-smith.com> |
307 |
- [4.13.0-16] |
308 |
- Fixed bad var reference. [msoulier dpar-27884] |
309 |
|
310 |
* Thu Jan 22 2004 Michael Soulier <msoulier@e-smith.com> |
311 |
- [4.13.0-15] |
312 |
- Moved proxy-start/stop from e-smith-ntp to this package. [msoulier 10929] |
313 |
|
314 |
* Fri Dec 19 2003 Michael Soulier <msoulier@e-smith.com> |
315 |
- [4.13.0-14] |
316 |
- Fixed a migration fragment that was mangling the log permissions. |
317 |
[msoulier 6449] |
318 |
|
319 |
* Fri Dec 19 2003 Michael Soulier <msoulier@e-smith.com> |
320 |
- [4.13.0-13] |
321 |
- Specified full path to logfile, as relative path did not work as expected. |
322 |
[msoulier 6449] |
323 |
|
324 |
* Fri Dec 19 2003 Michael Soulier <msoulier@e-smith.com> |
325 |
- [4.13.0-12] |
326 |
- Changing permissions on /var/log/squid to permit smelog to use the directory |
327 |
beneath. [msoulier 6449] |
328 |
|
329 |
* Fri Dec 19 2003 Michael Soulier <msoulier@e-smith.com> |
330 |
- [4.13.0-11] |
331 |
- Explicitly creating /var/log/squid/run with correct permissions. |
332 |
[msoulier 6449] |
333 |
|
334 |
* Wed Dec 17 2003 Michael Soulier <msoulier@e-smith.com> |
335 |
- [4.13.0-10] |
336 |
- Added migration for supervise change. [msoulier 6449] |
337 |
|
338 |
* Wed Dec 17 2003 Michael Soulier <msoulier@e-smith.com> |
339 |
- [4.13.0-09] |
340 |
- Changed ownership of /var/log/squid. [msoulier 6449] |
341 |
|
342 |
* Mon Dec 15 2003 Michael Soulier <msoulier@e-smith.com> |
343 |
- [4.13.0-08] |
344 |
- Added multilog back, logging to /var/log/squid/run. [msoulier 6449] |
345 |
|
346 |
* Thu Dec 11 2003 Michael Soulier <msoulier@e-smith.com> |
347 |
- [4.13.0-07] |
348 |
- Removed multilog, as it does not apply here. [msoulier 6449] |
349 |
|
350 |
* Thu Dec 11 2003 Michael Soulier <msoulier@e-smith.com> |
351 |
- [4.13.0-06] |
352 |
- Changed log owner to smelog. [msoulier 6449] |
353 |
|
354 |
* Wed Dec 10 2003 Michael Soulier <msoulier@e-smith.com> |
355 |
- [4.13.0-05] |
356 |
- Changed owner of squid process and log directory to user squid. |
357 |
[msoulier 6449] |
358 |
|
359 |
* Wed Dec 10 2003 Michael Soulier <msoulier@e-smith.com> |
360 |
- [4.13.0-04] |
361 |
- Fixed bug in genfilelist options. [msoulier 6449] |
362 |
|
363 |
* Wed Dec 10 2003 Michael Soulier <msoulier@e-smith.com> |
364 |
- [4.13.0-03] |
365 |
- Fixed bug in createlinks. [msoulier 6449] |
366 |
|
367 |
* Wed Dec 10 2003 Michael Soulier <msoulier@e-smith.com> |
368 |
- [4.13.0-02] |
369 |
- Supervising squid. [msoulier 6449] |
370 |
|
371 |
* Wed Dec 10 2003 Michael Soulier <msoulier@e-smith.com> |
372 |
- [4.13.0-01] |
373 |
- rolling to dev stream - 4.13.0 |
374 |
|
375 |
* Tue Sep 9 2003 Gordon Rowell <gordonr@e-smith.com> |
376 |
- [4.12.0-02] |
377 |
- Disable safe_ports ACL by default. Create squid{SafePorts} |
378 |
default ports list and squid{EnforceSafePorts} default to no [gordonr 9488] |
379 |
|
380 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
381 |
- [4.12.0-01] |
382 |
- Changing version to stable stream number - 4.12.0 |
383 |
|
384 |
* Fri May 30 2003 Michael Soulier <msoulier@e-smith.com> |
385 |
- [4.11.0-09] |
386 |
- Removed dangling symlink to e-smith-proxy. [msoulier 8808] |
387 |
|
388 |
* Tue Apr 29 2003 Tony Clayton <apc@e-smith.com> |
389 |
- [4.11.0-08] |
390 |
- Add default db fragments for squid [tonyc 8537] |
391 |
- Remove dead proxy-startup action [tonyc 8537] |
392 |
|
393 |
* Thu Apr 10 2003 Gordon Rowell <gordonr@e-smith.com> |
394 |
- [4.11.0-07] |
395 |
- Move defaults fragment to right location [gordonr 6911] |
396 |
|
397 |
* Tue Apr 8 2003 Gordon Rowell <gordonr@e-smith.com> |
398 |
- [4.11.0-06] |
399 |
- Added port 119 (nntp) to Safe_ports, corrected high ports range [gordonr 4430] |
400 |
|
401 |
* Mon Apr 7 2003 Gordon Rowell <gordonr@e-smith.com> |
402 |
- [4.11.0-05] |
403 |
- Set default for $squid{TransparentPort} and use in proxy.pac [gordonr 6911] |
404 |
|
405 |
* Mon Apr 7 2003 Gordon Rowell <gordonr@e-smith.com> |
406 |
- [4.11.0-04] |
407 |
- Added port 81 to acl Safe_ports [gordonr 4430] |
408 |
- Sorted Safe_ports to make it easier to read [gordonr 4430] |
409 |
|
410 |
* Tue Mar 18 2003 Lijie Deng <lijied@e-smith.com> |
411 |
- [4.11.0-03] |
412 |
- Deleted ./etc/squid/squid.conf/template-begin [lijied 3295] |
413 |
|
414 |
* Mon Feb 24 2003 Michael Soulier <msoulier@e-smith.com> |
415 |
- [4.11.0-02] |
416 |
- Removed use of LocalDomainPrefix. [msoulier 4812] |
417 |
|
418 |
* Mon Feb 24 2003 Michael Soulier <msoulier@e-smith.com> |
419 |
- [4.11.0-01] |
420 |
- dev stream to 4.11.0 |
421 |
|
422 |
* Mon Feb 24 2003 Michael Soulier <msoulier@e-smith.com> |
423 |
- [4.10.0-03] |
424 |
- Backed-out changes in 4.10.0-02, as this should be in a dev stream. |
425 |
[msoulier 4812] |
426 |
|
427 |
* Mon Feb 24 2003 Michael Soulier <msoulier@e-smith.com> |
428 |
- [4.10.0-02] |
429 |
- Removed use of LocalDomainPrefix. [msoulier 4812] |
430 |
|
431 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
432 |
- [4.10.0-01] |
433 |
- Roll to maintained version number to 4.10.0 |
434 |
|
435 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
436 |
- [4.10.0-01] |
437 |
- Roll to maintained version number to 4.10.0 |
438 |
|
439 |
* Wed Oct 2 2002 Michael Soulier <msoulier@e-smith.com> |
440 |
- [4.9.7-02] |
441 |
- Removing redundant iptables rule in PREROUTING chain which forwarded |
442 |
- any local network http traffic to the squid proxy, when the previous |
443 |
- rule already forwarded _all_ traffic there. [msoulier 5029] |
444 |
|
445 |
* Thu Sep 12 2002 Charlie Brady <charlieb@e-smith.com> |
446 |
- [4.9.7-01] |
447 |
- Move proxy.pac file to /etc/httpd/conf/proxy/proxy.pac, and add |
448 |
two URL aliases to it (/wpad.dat and /proxy.pac). Add appropriate |
449 |
access rules. [charlieb 4838] |
450 |
|
451 |
* Wed Sep 11 2002 Charlie Brady <charlieb@e-smith.com> |
452 |
- [4.9.6-02] |
453 |
- Dynamically adjust transparent proxy rules in "adjust" section of masq |
454 |
script. [charlieb 4501] |
455 |
|
456 |
* Thu Aug 22 2002 Charlie Brady <charlieb@e-smith.com> |
457 |
- [4.9.6-01] |
458 |
- Remove 45DenySquid template fragment - it's no longer needed since we |
459 |
are using connection tracking. [charlieb 4499] |
460 |
|
461 |
* Wed Aug 21 2002 Charlie Brady <charlieb@e-smith.com> |
462 |
- [4.9.5-01] |
463 |
- Fix error in squid conf template if LocalDomainPrefix is defined. |
464 |
[charlieb 4686] |
465 |
|
466 |
* Tue Aug 20 2002 Charlie Brady <charlieb@e-smith.com> |
467 |
- [4.9.4-01] |
468 |
- Add rc7.d symlink and don't set deprecated ORDER property [charlieb 4458] |
469 |
|
470 |
* Tue Jul 30 2002 Charlie Brady <charlieb@e-smith.com> |
471 |
- [4.9.3-01] |
472 |
- Add additional rules in nat table to protect local HTTP accesses from |
473 |
being forced through transparent proxy. [charlieb 1268] |
474 |
|
475 |
* Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com> |
476 |
- [4.9.2-01] |
477 |
- Get syntax correct for iptables form of REDIRECT target, for |
478 |
transparent proxy. [charlieb 1268] |
479 |
|
480 |
* Wed Jul 17 2002 Charlie Brady <charlieb@e-smith.com> |
481 |
- [4.9.1-01] |
482 |
- Change masq script fragments to use iptables. [charlieb 1268] |
483 |
|
484 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
485 |
- [4.9.0-01] |
486 |
- Changing version to development stream number - 4.9.0 |
487 |
|
488 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
489 |
- [4.8.0-01] |
490 |
- Changing version to maintained stream number to 4.8.0 |
491 |
|
492 |
* Wed May 29 2002 Charlie Brady <charlieb@e-smith.com> |
493 |
- [4.7.12-01] |
494 |
- Update proxy.pac to check host with isPlainHostName before doing DNS lookups. |
495 |
Go direct for any plain host names. This shouldn't be necessary, but IE |
496 |
is not going direct from WinXP with current setup. Remove redundent |
497 |
else clauses while we are at it. [charlieb 3715] |
498 |
|
499 |
* Wed May 29 2002 Charlie Brady <charlieb@e-smith.com> |
500 |
- [4.7.11-01] |
501 |
- Add append_domain directive in squid.conf, so that squid can resolve |
502 |
unqualified names. (Why doesn't it use what's in resolv.conf?) |
503 |
[charlieb 3715] |
504 |
|
505 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
506 |
- [4.7.10-01] |
507 |
- RPM rebuild forced by cvsroot2rpm |
508 |
|
509 |
* Fri May 17 2002 Tony Clayton <apc@e-smith.com> |
510 |
- [4.7.9-01] |
511 |
- Added 'use esmith::util' to 20ACL10localhost squid.conf fragment [tonyc 3253] |
512 |
|
513 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
514 |
- [4.7.8-01] |
515 |
- And really cleaning old directory this time [gordonr 3073] |
516 |
|
517 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
518 |
- [4.7.7-01] |
519 |
- Cleaned directory structure of bad pathname [gordonr 3073] |
520 |
|
521 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
522 |
- [4.7.6-01] |
523 |
- Moved start of function to template-begin in case comments are |
524 |
a problem for some clients [gordonr 3073] |
525 |
|
526 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
527 |
- [4.7.5-01] |
528 |
- Added braces to templates to evaluate ConfigDB entries [gordonr 3073] |
529 |
|
530 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
531 |
- [4.7.4-01] |
532 |
- Added dependency on e-smith-hosts |
533 |
|
534 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
535 |
- [4.7.3-01] |
536 |
- Thanks to Damien Curtain for the wpad.dat details [gordonr 3073] |
537 |
|
538 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
539 |
- [4.7.2-01] |
540 |
- Rewrote proxy-conf using ConfigDB [gordonr 3073] |
541 |
- Added support wpad.dat and proxy/pac files [gordonr 3073] |
542 |
|
543 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
544 |
- [4.7.1-01] |
545 |
- Initial CVS import |
546 |
|
547 |
* Fri Apr 19 2002 Gordon Rowell <gordonr@e-smith.com> |
548 |
- [4.7.0-01] |
549 |
- rollRPM: Rolled version number to 4.7.0-01. Includes patches up to 4.6.0-06. |
550 |
|
551 |
* Fri Feb 01 2002 Charlie Brady <charlieb@e-smith.com> |
552 |
- [4.6.0-06] |
553 |
- Disable transparent proxy rule if squid is disabled. |
554 |
|
555 |
* Tue Jan 15 2002 Charlie Brady <charlieb@e-smith.com> |
556 |
- [4.6.0-05] |
557 |
- Rationalise distribution of actions to events (#2507) |
558 |
- Add proxy-restart to console-save event |
559 |
- Remove proxy-startup from console-save and bootstrap-console-save events |
560 |
- Remove proxy-conf from post-upgrade event |
561 |
- Move mkdir to create bootstrap-console-save event directory into prep |
562 |
section (from %build), so that it gets included in the tarball by the |
563 |
next rollRPM. |
564 |
|
565 |
* Mon Jan 14 2002 Charlie Brady <charlieb@e-smith.com> |
566 |
- [4.6.0-04] |
567 |
- Fix missing newline in previous never-direct fix. |
568 |
|
569 |
* Mon Jan 14 2002 Charlie Brady <charlieb@e-smith.com> |
570 |
- [4.6.0-03] |
571 |
- Add never_direct statements to parent cache case, as always_direct on |
572 |
its own is not enough. |
573 |
|
574 |
* Thu Jan 03 2002 Charlie Brady <charlieb@e-smith.com> |
575 |
- [4.6.0-02] |
576 |
- Fix runtime lookup of external IP in masq script fragment. |
577 |
- Use always_direct deny statement to force squid to use an external cache |
578 |
if a parent cache is specified. |
579 |
|
580 |
* Tue Dec 11 2001 Jason Miller <jay@e-smith.com> |
581 |
- [4.6.0-01] |
582 |
- rollRPM: Rolled version number to 4.6.0-01. Includes patches up to 4.5.0-03. |
583 |
|
584 |
* Wed Nov 07 2001 Charlie Brady <charlieb@e-smith.com> |
585 |
- [4.5.0-03] |
586 |
- Change the default setting for transparent to "yes". |
587 |
|
588 |
* Wed Nov 07 2001 Charlie Brady <charlieb@e-smith.com> |
589 |
- [4.5.0-02] |
590 |
- Add transparent proxy feature, which is disabled by default. To enable, |
591 |
set Transparent property of "squid" service to "yes". |
592 |
|
593 |
* Wed Nov 7 2001 Charlie Brady <charlieb@e-smith.com> |
594 |
- [4.5.0-01] |
595 |
- Rolled version number to 4.5.0-01. Includes patches upto 4.4.0-07. |
596 |
|
597 |
* Wed Nov 07 2001 Tony Clayton <tonyc@e-smith.com> |
598 |
- [4.4.0-07] |
599 |
- rebranding to Mitel Networks |
600 |
|
601 |
* Mon Oct 22 2001 Charlie Brady <charlieb@e-smith.com> |
602 |
- [4.4.0-06] |
603 |
- Translate shell createlinks to perl createlinks |
604 |
- Add bootstrap-console-save symlinks via changes to createlinks script |
605 |
|
606 |
* Wed Aug 29 2001 Charlie Brady <charlieb@e-smith.com> |
607 |
- [4.4.0-05] |
608 |
- Add template fragment to set ftp_user used for password in anonymous ftp |
609 |
- Add template fragment to set cache administrator email address in messages. |
610 |
|
611 |
* Fri Aug 17 2001 gordonr |
612 |
- [4.4.0-04] |
613 |
- Autorebuild by rebuildRPM |
614 |
|
615 |
* Wed Aug 15 2001 Charlie Brady <charlieb@e-smith.com> |
616 |
- [4.4.0-03] |
617 |
- Add template fragements to make sure that webdav protocols are not requested |
618 |
via an upstream cache. |
619 |
- Re-add template-begin, as the default template-begin is not yet inserted. |
620 |
|
621 |
* Mon Aug 13 2001 Charlie Brady <charlieb@e-smith.com> |
622 |
- [4.4.0-02] |
623 |
- Break template-begin for squid.conf into fragments. |
624 |
- Change acl name of localhost into localsrc, and change all |
625 |
references to it. |
626 |
- Add acl of localdst for all local destinations. In future we should point |
627 |
client browsers directly at local web servers. |
628 |
|
629 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
630 |
- [4.4.0-01] |
631 |
- Rolled version number to 4.4.0-01. Includes patches upto 4.3.0-03. |
632 |
|
633 |
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
634 |
- [4.3.0-03] |
635 |
- Changed license to GPL |
636 |
|
637 |
* Tue May 29 2001 Tony Clayton <tonyc@e-smith.com> |
638 |
- [4.3.0-02] |
639 |
- untie %conf hash in before calling serviceControl in proxy-startup |
640 |
|
641 |
* Mon Apr 30 2001 Charlie Brady <charlieb@e-smith.com> |
642 |
- [4.3.0-01] |
643 |
- Rolled version number to 4.3.0-01. Includes patches upto 4.2.0-04. |
644 |
|
645 |
* Sun Mar 25 2001 Gordon Rowell <gordonr@e-smith.com> |
646 |
- [4.2.0-04] |
647 |
- Removed dependency on e-smith-packetfilter. There is a filter fragment |
648 |
which will will be useless without it, but it's not really a dependency |
649 |
|
650 |
* Sat Mar 03 2001 Charlie Brady <charlieb@e-smith.com> |
651 |
- [4.2.0-03] |
652 |
- Add packet filter fragment to deny and log any connection attempt on |
653 |
the external interface. This filter fragment is only active if squid |
654 |
is enabled. |
655 |
- Add requires e-smith-packetfilter spec. |
656 |
|
657 |
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
658 |
- [4.2.0-02] |
659 |
- Rolling release number for GPG signing. |
660 |
|
661 |
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
662 |
- [4.2.0-01] |
663 |
- Rolled version number to 4.2.0-01 |
664 |
Includes patches upto 4.1.0-2 |
665 |
|
666 |
* Thu Dec 28 2000 Gordon Rowell <gordonr@e-smith.com> |
667 |
- [4.1.0-2] |
668 |
- Added manager port (980) to Safe_ports |
669 |
|
670 |
* Wed Dec 06 2000 Peter Samuel <peters@e-smith.com> |
671 |
- [4.1.0-1] |
672 |
- Rolled version to 4.1.0-1. Includes patches up to 4.0.7-3 |
673 |
|
674 |
* Mon Oct 30 2000 Charlie Brady <charlieb@e-smith.com> |
675 |
- Fix typo in proxy-startup which prevented squid from starting |
676 |
|
677 |
* Mon Oct 30 2000 Charlie Brady <charlieb@e-smith.com> |
678 |
- This is e-smith-proxy-4.0.7-2. |
679 |
- Merge services database back into configuration db. |
680 |
|
681 |
* Thu Oct 26 2000 Peter Samuel <peters@e-smith.com> |
682 |
- Rolled version to 4.0.7. Includes patches up to 4.0.6-13 |
683 |
|
684 |
* Fri Oct 06 2000 Charlie Brady <charlieb@e-smith.com> |
685 |
- Fix perl errors in proxy-conf |
686 |
|
687 |
* Fri Oct 06 2000 Charlie Brady <charlieb@e-smith.com> |
688 |
- Make sure that "squid" is enabled in the services database |
689 |
- Remove %post section. |
690 |
- Fixed some script errors in other action scripts. |
691 |
|
692 |
* Thu Oct 05 2000 Adrian Chung <adrian.chung@e-smith.com> |
693 |
- Changed restart action to use serviceControl |
694 |
- Removed post-install event conditional. |
695 |
- Changed %post set to setdefault. |
696 |
|
697 |
* Wed Oct 04 2000 Paul Nesbit <pkn@e-smith.com> |
698 |
- expand templates only if enabled in services database. |
699 |
- added /sbin/e-smith/db services set proxy enabled to %post |
700 |
|
701 |
* Tue Oct 03 2000 Charlie Brady <charlieb@e-smith.com> |
702 |
- Update services database when enabling/disabling service startup |
703 |
|
704 |
* Mon Sep 25 2000 Paul Nesbit <pkn@e-smith.com> |
705 |
- updated contact, support and URL info |
706 |
|
707 |
* Fri Aug 25 2000 Charlie Brady <charlieb@e-smith.com> |
708 |
- Added build dependency on e-smith-devtools, and dependency on |
709 |
e-smith-lib. Generate file list with genfilelist. |
710 |
|
711 |
* Thu Aug 24 2000 Gordon Rowell <gordonr@e-smith.com> |
712 |
- Rewrote proxy-startup to user serviceControl() |
713 |
|
714 |
* Wed Jul 12 2000 Joseph Morrison <jdm@e-smith.net> |
715 |
- Use -1 argument to split command to handle null final values in |
716 |
configuration records |
717 |
|
718 |
* Sat Jun 17 2000 Charlie Brady <charlieb@e-smith.net> |
719 |
- Do not mark templates as config files. |
720 |
|
721 |
* Mon Jun 12 2000 Charlie Brady <charlieb@e-smith.net> |
722 |
- Use list form of backgroundCommand. |
723 |
|
724 |
* Thu May 18 2000 Charlie Brady <charlieb@e-smith.net> |
725 |
- fold long lines in spec file |
726 |
- Use & substitution in sed line |
727 |
|
728 |
* Sun May 14 2000 Charlie Brady <charlieb@e-smith.net> |
729 |
- Removed transproxy patch |
730 |
- Make squid.conf template a directory |
731 |
|
732 |
* Thu May 11 2000 Charlie Brady <charlieb@e-smith.net> |
733 |
- Some small fixes in conf startup script |
734 |
- Add dependency on squid |
735 |
|
736 |
* Fri Apr 21 2000 Charlie Brady <charlieb@e-smith.net> |
737 |
- Add a missing script template |
738 |
|
739 |
* Thu Apr 20 2000 Charlie Brady <charlieb@e-smith.net> |
740 |
- Add transparent proxy feature. Change architecture to "noarch" |
741 |
- Make templates %config files. |
742 |
|
743 |
%prep |
744 |
%setup |
745 |
%patch0 -p1 |
746 |
%patch1 -p1 |
747 |
%patch2 -p1 |
748 |
%patch3 -p1 |
749 |
%patch4 -p1 |
750 |
%patch5 -p1 |
751 |
%patch6 -p1 |
752 |
%patch7 -p1 |
753 |
%patch8 -p1 |
754 |
%patch9 -p1 |
755 |
|
756 |
rm -rf root/var/service/squid/ |
757 |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
758 |
rm -rf root/var/log/squid.run |
759 |
|
760 |
%build |
761 |
perl createlinks |
762 |
|
763 |
%install |
764 |
rm -rf $RPM_BUILD_ROOT |
765 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
766 |
rm -f %{name}-%{version}-%{release}-filelist |
767 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
768 |
> %{name}-%{version}-%{release}-filelist |
769 |
# --dir '/var/service/squid' 'attr(1755,root,root)' \ |
770 |
# --file '/var/service/squid/down' 'attr(0644,root,root)' \ |
771 |
# --file '/var/service/squid/run' 'attr(0755,root,root)' \ |
772 |
# --dir '/var/service/squid/supervise' 'attr(0700,root,root)' \ |
773 |
# --dir '/var/service/squid/log' 'attr(1755,root,root)' \ |
774 |
# --file '/var/service/squid/log/run' 'attr(0755,root,root)' \ |
775 |
# --dir '/var/service/squid/log/supervise' 'attr(0700,root,root)' \ |
776 |
# --dir '/var/log/squid.run' 'attr(0750,smelog,root)' \ |
777 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
778 |
|
779 |
%clean |
780 |
rm -rf $RPM_BUILD_ROOT |
781 |
|
782 |
%post |
783 |
if [ -d /var/service/squid ]; then |
784 |
rm -rf /var/service/squid |
785 |
fi |
786 |
|
787 |
%files -f %{name}-%{version}-%{release}-filelist |
788 |
%defattr(-,root,root) |