aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64
diff options
context:
space:
mode:
Diffstat (limited to 'config/varnish64')
-rwxr-xr-xconfig/varnish64/varnish.widget.php2
-rw-r--r--config/varnish64/varnish_backends.xml16
-rw-r--r--config/varnish64/varnish_lb_directors.xml6
-rw-r--r--config/varnish64/varnish_view_config.php6
-rw-r--r--config/varnish64/varnishstat.php6
5 files changed, 18 insertions, 18 deletions
diff --git a/config/varnish64/varnish.widget.php b/config/varnish64/varnish.widget.php
index 35980db5..35723e95 100755
--- a/config/varnish64/varnish.widget.php
+++ b/config/varnish64/varnish.widget.php
@@ -2,7 +2,7 @@
/*
Copyright 2011 Thomas Schaefer - Tomschaefer.org
Copyright 2011 Marcello Coutinho
- Part of pfSense widgets (www.pfsense.com)
+ Part of pfSense widgets (www.pfsense.org)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
diff --git a/config/varnish64/varnish_backends.xml b/config/varnish64/varnish_backends.xml
index d6aaa261..fa549063 100644
--- a/config/varnish64/varnish_backends.xml
+++ b/config/varnish64/varnish_backends.xml
@@ -48,42 +48,42 @@
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish_lb_directors.xml</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish_lb_directors.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish_settings.xml</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish_settings.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish_custom_vcl.xml</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish_custom_vcl.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/www/widgets/widgets/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish.widget.php</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish.widget.php</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish.inc</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish.inc</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish_sync.xml</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish_sync.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/www/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish_view_config.php</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish_view_config.php</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/www/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnishstat.php</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnishstat.php</item>
</additional_files_needed>
<menu>
<name>Varnish</name>
diff --git a/config/varnish64/varnish_lb_directors.xml b/config/varnish64/varnish_lb_directors.xml
index 4c46414e..e7a442ab 100644
--- a/config/varnish64/varnish_lb_directors.xml
+++ b/config/varnish64/varnish_lb_directors.xml
@@ -49,17 +49,17 @@
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish_settings.xml</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish_settings.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish_custom_vcl.xml</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish_custom_vcl.xml</item>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
- <item>http://www.pfsense.com/packages/config/varnish64/varnish.inc</item>
+ <item>https://packages.pfsense.org/packages/config/varnish64/varnish.inc</item>
</additional_files_needed>
<menu>
<name>Varnish </name>
diff --git a/config/varnish64/varnish_view_config.php b/config/varnish64/varnish_view_config.php
index 2e449b51..69a9fabb 100644
--- a/config/varnish64/varnish_view_config.php
+++ b/config/varnish64/varnish_view_config.php
@@ -1,7 +1,7 @@
<?php
/*
varnish_view_config.php
- part of pfSense (http://www.pfsense.com/)
+ part of pfSense (https://www.pfsense.org/)
Copyright (C) 2010 Scott Ullrich <sullrich@gmail.com>
All rights reserved.
@@ -29,8 +29,8 @@
require("guiconfig.inc");
-$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-if(strstr($pfSversion, "1.2"))
+$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
+if ($pf_version < 2.0)
$one_two = true;
$pgtitle = "Varnish: View Configuration";
diff --git a/config/varnish64/varnishstat.php b/config/varnish64/varnishstat.php
index 6374525a..10d9ceb9 100644
--- a/config/varnish64/varnishstat.php
+++ b/config/varnish64/varnishstat.php
@@ -1,7 +1,7 @@
<?php
/*
varnishstat_view_logs.php
- part of pfSense (http://www.pfsense.com/)
+ part of pfSense (https://www.pfsense.org/)
Copyright (C) 2006 Scott Ullrich <sullrich@gmail.com>
All rights reserved.
@@ -36,8 +36,8 @@ if($_REQUEST['getactivity']) {
exit;
}
-$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-if(strstr($pfSversion, "1.2"))
+$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
+if ($pf_version < 2.0)
$one_two = true;
$pgtitle = "Varnish: VarnishSTAT";