aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schaefer <tom@tomschaefer.org>2011-08-18 22:55:28 -0400
committerThomas Schaefer <tom@tomschaefer.org>2011-08-18 22:55:28 -0400
commitc5931da98bd4aaba4fb4ef27f10f40c9ef96323a (patch)
treedca78fc114bef43e7b07d0081af1844c9b23367c
parentc1162a3fe2b3197408017ad90ccbd5aad5f62fa5 (diff)
downloadpfsense-packages-c5931da98bd4aaba4fb4ef27f10f40c9ef96323a.tar.gz
pfsense-packages-c5931da98bd4aaba4fb4ef27f10f40c9ef96323a.tar.bz2
pfsense-packages-c5931da98bd4aaba4fb4ef27f10f40c9ef96323a.zip
Fixed uniq bug
-rwxr-xr-xconfig/ipblocklist/7/IP-Blocklist.sh4
-rwxr-xr-xconfig/ipblocklist/7/convert-execute.sh4
-rwxr-xr-xconfig/ipblocklist/7/ipblocklist.tmp5
-rwxr-xr-xconfig/ipblocklist/7/ipblocklist.xml2
-rwxr-xr-xconfig/ipblocklist/7/ipblocklist_if.tmp2
-rwxr-xr-xconfig/ipblocklist/7/settings.tmp2
-rwxr-xr-xconfig/ipblocklist/7/whitelist.tmp2
-rwxr-xr-xconfig/ipblocklist/8/IP-Blocklist.sh4
-rwxr-xr-xconfig/ipblocklist/8/convert-execute.sh4
-rwxr-xr-xconfig/ipblocklist/8/ipblocklist.tmp6
-rwxr-xr-xconfig/ipblocklist/8/ipblocklist.xml2
-rwxr-xr-xconfig/ipblocklist/8/ipblocklist_if.tmp2
-rwxr-xr-xconfig/ipblocklist/8/settings.tmp2
-rwxr-xr-xconfig/ipblocklist/8/whitelist.tmp2
-rwxr-xr-xpkg_config.7.xml2
-rw-r--r--pkg_config.8.xml2
-rw-r--r--pkg_config.8.xml.amd642
17 files changed, 26 insertions, 23 deletions
diff --git a/config/ipblocklist/7/IP-Blocklist.sh b/config/ipblocklist/7/IP-Blocklist.sh
index 442d9443..e4d2424f 100755
--- a/config/ipblocklist/7/IP-Blocklist.sh
+++ b/config/ipblocklist/7/IP-Blocklist.sh
@@ -51,13 +51,13 @@ done
#clean up ipfw.ipfw (duplicates)
rm /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
-/usr/bin/sort /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw | uniq -u >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
+/usr/bin/sort /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw | uniq >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
mv /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw
#echo "ipfw clean"
#clean up whitelist (duplicates)
rm /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP
-/usr/bin/sort Wlists/whitelist | uniq -u >> /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP
+/usr/bin/sort Wlists/whitelist | uniq >> /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP
mv /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP /usr/local/www/packages/ipblocklist/Wlists/whitelist
#echo "whitelist clean"
diff --git a/config/ipblocklist/7/convert-execute.sh b/config/ipblocklist/7/convert-execute.sh
index 961015e0..75daf448 100755
--- a/config/ipblocklist/7/convert-execute.sh
+++ b/config/ipblocklist/7/convert-execute.sh
@@ -46,13 +46,13 @@ done
#clean up ipfw.ipfw (duplicates)
rm /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
-/usr/bin/sort lists/ipfw.ipfw | uniq -u >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
+/usr/bin/sort lists/ipfw.ipfw | uniq >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
mv /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw
#echo "ipfw clean"
#clean up whitelist (duplicates)
rm Wlists/whitelistTEMP
-/usr/bin/sort Wlists/whitelist | uniq -u >> Wlists/whitelistTEMP
+/usr/bin/sort Wlists/whitelist | uniq >> Wlists/whitelistTEMP
mv Wlists/whitelistTEMP Wlists/whitelist
#echo "whitelist clean"
diff --git a/config/ipblocklist/7/ipblocklist.tmp b/config/ipblocklist/7/ipblocklist.tmp
index 4f64427e..44fd9313 100755
--- a/config/ipblocklist/7/ipblocklist.tmp
+++ b/config/ipblocklist/7/ipblocklist.tmp
@@ -1,5 +1,5 @@
<?php
- //Version 2.2
+ //Version 3.3
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
require_once('config.inc');
@@ -126,7 +126,7 @@ if(isset($_POST['formSubmit']))
$tab_array[2] = array("Whitelist", false, "whitelist.php");
$tab_array[3] = array("Interfaces", false, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
</form>
@@ -229,6 +229,7 @@ if(isset($_POST['formSubmit']))
?>
<br><br>
<small>Created by <a href="http://www.tomschaefer.org/pfsense">TomSchaefer</a></small>
+<br /><small><a href="http://www.iblocklist.com/pfsense">I-Blocklist.com</a></small>
<!--<input type="submit" value="Save/Update"><br><br>
--><p>
</p>
diff --git a/config/ipblocklist/7/ipblocklist.xml b/config/ipblocklist/7/ipblocklist.xml
index 5189fd5e..4752061e 100755
--- a/config/ipblocklist/7/ipblocklist.xml
+++ b/config/ipblocklist/7/ipblocklist.xml
@@ -41,7 +41,7 @@
<requirements>perl</requirements>
<faq>http://forum.pfsense.org/index.php/topic,24769.0.html</faq>
<name>IP Blocklist Settings</name>
- <version>0.3.2</version>
+ <version>0.3.3</version>
<title>Settings</title>
<include_file>/usr/local/pkg/ipblocklist.inc</include_file>
<menu>
diff --git a/config/ipblocklist/7/ipblocklist_if.tmp b/config/ipblocklist/7/ipblocklist_if.tmp
index 71bff9c3..42ba2d07 100755
--- a/config/ipblocklist/7/ipblocklist_if.tmp
+++ b/config/ipblocklist/7/ipblocklist_if.tmp
@@ -133,7 +133,7 @@ include("head.inc");
$tab_array[2] = array("Whitelist", false, "whitelist.php");
$tab_array[3] = array("Interfaces", true, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/config/ipblocklist/7/settings.tmp b/config/ipblocklist/7/settings.tmp
index dee85e1a..a13dd22b 100755
--- a/config/ipblocklist/7/settings.tmp
+++ b/config/ipblocklist/7/settings.tmp
@@ -48,7 +48,7 @@ header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
$tab_array[2] = array("Whitelist", false, "whitelist.php");
$tab_array[3] = array("Interfaces", false, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
diff --git a/config/ipblocklist/7/whitelist.tmp b/config/ipblocklist/7/whitelist.tmp
index 2af50ac4..51bd9f97 100755
--- a/config/ipblocklist/7/whitelist.tmp
+++ b/config/ipblocklist/7/whitelist.tmp
@@ -46,7 +46,7 @@ header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
$tab_array[2] = array("Whitelist", true, "whitelist.php");
$tab_array[3] = array("Interfaces", false, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/config/ipblocklist/8/IP-Blocklist.sh b/config/ipblocklist/8/IP-Blocklist.sh
index 442d9443..e4d2424f 100755
--- a/config/ipblocklist/8/IP-Blocklist.sh
+++ b/config/ipblocklist/8/IP-Blocklist.sh
@@ -51,13 +51,13 @@ done
#clean up ipfw.ipfw (duplicates)
rm /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
-/usr/bin/sort /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw | uniq -u >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
+/usr/bin/sort /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw | uniq >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
mv /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw
#echo "ipfw clean"
#clean up whitelist (duplicates)
rm /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP
-/usr/bin/sort Wlists/whitelist | uniq -u >> /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP
+/usr/bin/sort Wlists/whitelist | uniq >> /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP
mv /usr/local/www/packages/ipblocklist/Wlists/whitelistTEMP /usr/local/www/packages/ipblocklist/Wlists/whitelist
#echo "whitelist clean"
diff --git a/config/ipblocklist/8/convert-execute.sh b/config/ipblocklist/8/convert-execute.sh
index 961015e0..75daf448 100755
--- a/config/ipblocklist/8/convert-execute.sh
+++ b/config/ipblocklist/8/convert-execute.sh
@@ -46,13 +46,13 @@ done
#clean up ipfw.ipfw (duplicates)
rm /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
-/usr/bin/sort lists/ipfw.ipfw | uniq -u >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
+/usr/bin/sort lists/ipfw.ipfw | uniq >> /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP
mv /usr/local/www/packages/ipblocklist/lists/ipfw.ipfwTEMP /usr/local/www/packages/ipblocklist/lists/ipfw.ipfw
#echo "ipfw clean"
#clean up whitelist (duplicates)
rm Wlists/whitelistTEMP
-/usr/bin/sort Wlists/whitelist | uniq -u >> Wlists/whitelistTEMP
+/usr/bin/sort Wlists/whitelist | uniq >> Wlists/whitelistTEMP
mv Wlists/whitelistTEMP Wlists/whitelist
#echo "whitelist clean"
diff --git a/config/ipblocklist/8/ipblocklist.tmp b/config/ipblocklist/8/ipblocklist.tmp
index 4f64427e..e3ea1fdf 100755
--- a/config/ipblocklist/8/ipblocklist.tmp
+++ b/config/ipblocklist/8/ipblocklist.tmp
@@ -1,5 +1,5 @@
<?php
- //Version 2.2
+ //Version 3.3
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
require_once('config.inc');
@@ -126,7 +126,7 @@ if(isset($_POST['formSubmit']))
$tab_array[2] = array("Whitelist", false, "whitelist.php");
$tab_array[3] = array("Interfaces", false, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
</form>
@@ -229,6 +229,8 @@ if(isset($_POST['formSubmit']))
?>
<br><br>
<small>Created by <a href="http://www.tomschaefer.org/pfsense">TomSchaefer</a></small>
+<br />
+<small><a href="http://www.iblocklist.com/">I-Blocklist.com</a></small>
<!--<input type="submit" value="Save/Update"><br><br>
--><p>
</p>
diff --git a/config/ipblocklist/8/ipblocklist.xml b/config/ipblocklist/8/ipblocklist.xml
index 99fba793..88786386 100755
--- a/config/ipblocklist/8/ipblocklist.xml
+++ b/config/ipblocklist/8/ipblocklist.xml
@@ -41,7 +41,7 @@
<requirements>perl</requirements>
<faq>http://forum.pfsense.org/index.php/topic,24769.0.html</faq>
<name>IP Blocklist Settings</name>
- <version>0.3.2</version>
+ <version>0.3.3</version>
<title>Settings</title>
<include_file>/usr/local/pkg/ipblocklist.inc</include_file>
<menu>
diff --git a/config/ipblocklist/8/ipblocklist_if.tmp b/config/ipblocklist/8/ipblocklist_if.tmp
index 71bff9c3..42ba2d07 100755
--- a/config/ipblocklist/8/ipblocklist_if.tmp
+++ b/config/ipblocklist/8/ipblocklist_if.tmp
@@ -133,7 +133,7 @@ include("head.inc");
$tab_array[2] = array("Whitelist", false, "whitelist.php");
$tab_array[3] = array("Interfaces", true, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/config/ipblocklist/8/settings.tmp b/config/ipblocklist/8/settings.tmp
index dee85e1a..a13dd22b 100755
--- a/config/ipblocklist/8/settings.tmp
+++ b/config/ipblocklist/8/settings.tmp
@@ -48,7 +48,7 @@ header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
$tab_array[2] = array("Whitelist", false, "whitelist.php");
$tab_array[3] = array("Interfaces", false, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
diff --git a/config/ipblocklist/8/whitelist.tmp b/config/ipblocklist/8/whitelist.tmp
index 2af50ac4..51bd9f97 100755
--- a/config/ipblocklist/8/whitelist.tmp
+++ b/config/ipblocklist/8/whitelist.tmp
@@ -46,7 +46,7 @@ header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
$tab_array[2] = array("Whitelist", true, "whitelist.php");
$tab_array[3] = array("Interfaces", false, "ipblocklist_if.php");
$tab_array[4] = array("Help", false, "http://doc.pfsense.org/index.php/IP_Blocklist");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
</td></tr>
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index d4b8d57c..4496ace6 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -37,7 +37,7 @@
<pkginfolink>http://forum.pfsense.org/index.php/topic,24769.0.html</pkginfolink>
<config_file>http://pfsense.org/packages/config/ipblocklist/7/ipblocklist.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>0.3.2</version>
+ <version>0.3.3</version>
<status>Beta</status>
<required_version>1.2.2</required_version>
<maintainer>tom@tomschaefer.org</maintainer>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 5abcd620..c06369e7 100644
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -66,7 +66,7 @@
<pkginfolink>http://forum.pfsense.org/index.php/topic,24769.0.html</pkginfolink>
<config_file>http://pfsense.org/packages/config/ipblocklist/8/ipblocklist.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>0.3.2</version>
+ <version>0.3.3</version>
<status>Beta</status>
<required_version>2.0</required_version>
<maintainer>tom@tomschaefer.org</maintainer>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index c2ae95ab..f1dd1054 100644
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -103,7 +103,7 @@
<pkginfolink>http://forum.pfsense.org/index.php/topic,24769.0.html</pkginfolink>
<config_file>http://pfsense.org/packages/config/ipblocklist/8/ipblocklist.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/amd64/8/All/</depends_on_package_base_url>
- <version>0.3.2</version>
+ <version>0.3.3</version>
<status>Beta</status>
<required_version>2.0</required_version>
<maintainer>tom@tomschaefer.org</maintainer>