aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-10-05 15:28:37 -0600
committermcrane <mctch@yahoo.com>2009-10-05 15:28:37 -0600
commit091995495e7f346a7eea76d3a03f9e6ac6074704 (patch)
tree81d82ae762256543999a8798b78e4b13ec4cb8bd
parent8e994f96a6cfe339347857b0bb7a49fb0ddd3470 (diff)
downloadpfsense-packages-091995495e7f346a7eea76d3a03f9e6ac6074704.tar.gz
pfsense-packages-091995495e7f346a7eea76d3a03f9e6ac6074704.tar.bz2
pfsense-packages-091995495e7f346a7eea76d3a03f9e6ac6074704.zip
DNS Blacklist setting the correct configuration file on pkg_config.7.xml should fix the package uninstall problem.
-rw-r--r--config/dnsblacklist/dnsblacklist.inc9
-rw-r--r--config/dnsblacklist/dnsblacklist.xml4
-rwxr-xr-xpkg_config.7.xml4
3 files changed, 5 insertions, 12 deletions
diff --git a/config/dnsblacklist/dnsblacklist.inc b/config/dnsblacklist/dnsblacklist.inc
index 4ef0a1d6..c667e62a 100644
--- a/config/dnsblacklist/dnsblacklist.inc
+++ b/config/dnsblacklist/dnsblacklist.inc
@@ -57,13 +57,6 @@ function byte_convert( $bytes ) {
}
-function phpservice_sync_package_php()
-{
- global $config;
- conf_mount_rw();
- config_unlock();
- conf_mount_ro();
-}
function php_sync_package()
@@ -118,7 +111,7 @@ function php_install_command()
}
-function php_deinstall_command()
+function deinstall_command()
{
conf_mount_rw();
$handle = popen("/usr/local/etc/rc.d/dnsblacklist.sh stop", "r");
diff --git a/config/dnsblacklist/dnsblacklist.xml b/config/dnsblacklist/dnsblacklist.xml
index 1a51e1d4..3e8c1667 100644
--- a/config/dnsblacklist/dnsblacklist.xml
+++ b/config/dnsblacklist/dnsblacklist.xml
@@ -41,7 +41,7 @@
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>DNS Blacklist Settings</name>
- <version>0.2.2</version>
+ <version>0.2.3</version>
<title>Settings</title>
<include_file>/usr/local/pkg/dnsblacklist.inc</include_file>
<menu>
@@ -105,6 +105,6 @@
php_install_command();
</custom_php_install_command>
<custom_php_deinstall_command>
- php_deinstall_command();
+ deinstall_command();
</custom_php_deinstall_command>
</packagegui> \ No newline at end of file
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index 6c68c38f..d88714c0 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -238,11 +238,11 @@
<pkginfolink></pkginfolink>
<config_file>http://www.pfsense.com/packages/config/dnsblacklist/dnsblacklist.xml</config_file>
<depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url>
- <version>0.2.2</version>
+ <version>0.2.3</version>
<status>Beta</status>
<required_version>1.2.2</required_version>
<maintainer>markjcrane@gmail.com</maintainer>
- <configurationfile>denyhosts.xml</configurationfile>
+ <configurationfile>dnsblacklist.xml</configurationfile>
</package>
<package>
<name>snort</name>