From 8e994f96a6cfe339347857b0bb7a49fb0ddd3470 Mon Sep 17 00:00:00 2001 From: mcrane Date: Mon, 5 Oct 2009 14:32:52 -0600 Subject: DNS Blacklist minor wording change, uninstall adjumestment removed config_lock(); --- config/dnsblacklist/dnsblacklist.inc | 7 ++----- config/dnsblacklist/dnsblacklist.tmp | 2 +- config/dnsblacklist/dnsblacklist.xml | 8 ++++---- 3 files changed, 7 insertions(+), 10 deletions(-) (limited to 'config') diff --git a/config/dnsblacklist/dnsblacklist.inc b/config/dnsblacklist/dnsblacklist.inc index 8b957776..4ef0a1d6 100644 --- a/config/dnsblacklist/dnsblacklist.inc +++ b/config/dnsblacklist/dnsblacklist.inc @@ -69,7 +69,6 @@ function phpservice_sync_package_php() function php_sync_package() { global $config; - phpservice_sync_package_php(); } @@ -119,17 +118,15 @@ function php_install_command() } -function deinstall_command() +function php_deinstall_command() { conf_mount_rw(); - config_lock(); $handle = popen("/usr/local/etc/rc.d/dnsblacklist.sh stop", "r"); unlink_if_exists("/usr/local/pkg/dnsblacklist.xml"); unlink_if_exists("/usr/local/pkg/dnsblacklist.inc"); - //unlink_if_exists("/usr/local/etc/rc.d/dnsblacklist.sh"); + exec("rm -R /usr/local/www/packages/dnsblacklist/blacklists"); exec("rm -R /usr/local/www/packages/dnsblacklist"); conf_mount_ro(); - config_unlock(); } ?> \ No newline at end of file diff --git a/config/dnsblacklist/dnsblacklist.tmp b/config/dnsblacklist/dnsblacklist.tmp index 69ace333..a6d67bb1 100644 --- a/config/dnsblacklist/dnsblacklist.tmp +++ b/config/dnsblacklist/dnsblacklist.tmp @@ -143,7 +143,7 @@ else { Below is a scroll-box filled with categories you can select to be added to your blacklist.

Each category has a list of known domains/sites that will be denied access by users of this network. -

(Note: Using all categories at once will require 300Mb of free memory. The adult category is rather memory intensive, requiring 200Mb together.) +

(Note: Using all categories at once will require 300Mb of free memory. The adult category is rather memory intensive, requiring 200Mb.)


diff --git a/config/dnsblacklist/dnsblacklist.xml b/config/dnsblacklist/dnsblacklist.xml index 9082191c..1a51e1d4 100644 --- a/config/dnsblacklist/dnsblacklist.xml +++ b/config/dnsblacklist/dnsblacklist.xml @@ -7,7 +7,7 @@ /* $Id$ */ /* ========================================================================== */ /* - phpservice.xml + dnsblacklist.xml Copyright (C) 2009 Mark J Crane All rights reserved. */ @@ -41,12 +41,12 @@ Describe your package requirements here Currently there are no FAQ items provided. DNS Blacklist Settings - 0.2 + 0.2.2 Settings /usr/local/pkg/dnsblacklist.inc DNS Blacklist - PHP Service settings. + DNS Blacklist settings.
Services
dnsblacklist.xml /packages/dnsblacklist/dnsblacklist.php @@ -105,6 +105,6 @@ php_install_command(); - deinstall_command(); + php_deinstall_command(); \ No newline at end of file -- cgit v1.2.3