Compare commits
6 Commits
11_0_0-4_e
...
master
Author | SHA1 | Date | |
---|---|---|---|
6484444e10 | |||
96e6cb68dc | |||
8a432f32f4 | |||
4b50f9f9bc | |||
ddaf5b4731 | |||
ce4f198792 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
|||||||
*.log
|
*.log
|
||||||
*spec-20*
|
*spec-20*
|
||||||
*.tar.xz
|
*.tar.xz
|
||||||
|
*.bak
|
||||||
|
@@ -6,7 +6,14 @@ SMEServer Koozali developed git repo for smeserver-proxy smeserver
|
|||||||
<br />https://wiki.koozali.org/
|
<br />https://wiki.koozali.org/
|
||||||
|
|
||||||
## Bugzilla
|
## Bugzilla
|
||||||
Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-proxy&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)\
|
Show list of outstanding bugs:
|
||||||
|
[All](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=NEEDINFO&bug_status=IN_PROGRESS&bug_status=RESOLVED&bug_status=VERIFIED&cf_package=smeserver-proxy&classification=SME+Server&list_id=105756&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||||
|
[Confirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=CONFIRMED&cf_package=smeserver-proxy&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||||
|
[Unconfirmed](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=UNCONFIRMED&cf_package=smeserver-proxy&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||||
|
[Need info](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=NEEDINFO&cf_package=smeserver-proxy&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||||
|
[In progress](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=IN_PROGRESS&cf_package=smeserver-proxy&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||||
|
[Resolved](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=RESOLVED&cf_package=smeserver-proxy&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||||
|
[Verified](https://bugs.koozali.org/buglist.cgi?action=wrap&bug_status=VERIFIED&cf_package=smeserver-proxy&classification=SME+Server&order=changeddate+DESC%2Ccomponent%2Cpriority%2Cbug_severity&query_format=advanced)
|
||||||
And a list of outstanding Legacy bugs: (e-smith-proxy) [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-proxy&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
And a list of outstanding Legacy bugs: (e-smith-proxy) [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-proxy&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
@@ -5,16 +5,17 @@
|
|||||||
my $min = int(rand(60));
|
my $min = int(rand(60));
|
||||||
my $hour = int(rand(5));
|
my $hour = int(rand(5));
|
||||||
my $dow = substr(localtime,0,3);
|
my $dow = substr(localtime,0,3);
|
||||||
|
my $cmd = 'squid -k rotate 2>&1 |grep -v "BCP 177"';
|
||||||
|
|
||||||
if ($freq eq 'hourly') {
|
if ($freq eq 'hourly') {
|
||||||
return "$min * * * * root squid -k rotate\n";
|
return "$min * * * * root $cmd\n";
|
||||||
} elsif ($freq eq 'weekly') {
|
} elsif ($freq eq 'weekly') {
|
||||||
return "$min $hour * * $dow root squid -k rotate\n";
|
return "$min $hour * * $dow root $cmd\n";
|
||||||
} elsif ($freq eq 'monthly') {
|
} elsif ($freq eq 'monthly') {
|
||||||
return "$min $hour 15 * * root squid -k rotate\n";
|
return "$min $hour 15 * * root $cmd\n";
|
||||||
} elsif ($freq eq 'disabled') {
|
} elsif ($freq eq 'disabled') {
|
||||||
return "# squid rotate disabled\n";
|
return "# squid rotate disabled\n";
|
||||||
} else {
|
} else {
|
||||||
return "$min $hour * * * root squid -k rotate\n"
|
return "$min $hour * * * root $cmd\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -0,0 +1 @@
|
|||||||
|
shutdown_lifetime 5 seconds
|
@@ -4,7 +4,7 @@ Summary: smeserver server and gateway - proxy module
|
|||||||
%define name smeserver-proxy
|
%define name smeserver-proxy
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 4
|
%define release 6
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
@@ -29,6 +29,12 @@ Provides: e-smith-proxy
|
|||||||
smeserver server and gateway software - proxy module.
|
smeserver server and gateway software - proxy module.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 03 2025 Brian Read <brianr@koozali.org> 11.0.0-6.sme
|
||||||
|
- Add squid.conf entry for shutdown_lifetime set to 5 seconds to speed up closedown of squid [SME: 13066]
|
||||||
|
|
||||||
|
* Sun Sep 22 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-5.sme
|
||||||
|
- workaround cron noise on squid rotate without IPv6 [SME: 12636]
|
||||||
|
|
||||||
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-4.sme
|
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-4.sme
|
||||||
- Update createlinks to create smeserver-package-update event[SME: 12579]
|
- Update createlinks to create smeserver-package-update event[SME: 12579]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user