aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-28 06:25:32 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-28 06:25:32 +0000
commit31f001f25d8af2246dfd8827f139713b50ad697e (patch)
treef4523ba9810c585b11f9bfcf5609e04cc6a70c66
parent1e38d0c4857e04f67d91c8ddbd801970fecf02aa (diff)
downloadpfsense-packages-31f001f25d8af2246dfd8827f139713b50ad697e.tar.gz
pfsense-packages-31f001f25d8af2246dfd8827f139713b50ad697e.tar.bz2
pfsense-packages-31f001f25d8af2246dfd8827f139713b50ad697e.zip
* Whitespace cleanup
* Download spamd_settings.xml too
-rw-r--r--packages/spamd.inc2
-rw-r--r--packages/spamd.xml5
2 files changed, 5 insertions, 2 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index e6bdcf0e..4b9230e2 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -56,12 +56,10 @@ function sync_package_spamd() {
$maxblack = " -B " . $pkg_i['maxblack'];
if($pkg_i['maxcon'] <> "")
$maxcon = " -c " . $pkg_i['maxcon'];
-
if($pkg_i['stuttersecs'] <> "")
$stuttersecs = " -S " . $pkg_i['stuttersecs'];
if($pkg_i['delaysecs'] <> "")
$delaysecs = " -s " . $pkg_i['delaysecs'];
-
$start = "/usr/local/sbin/spamd-setup &\n" .
"/sbin/pflogd &\n" .
"/sbin/mount_fdescfs fdescfs /dev/fd\n" .
diff --git a/packages/spamd.xml b/packages/spamd.xml
index 227747da..3315f166 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -45,6 +45,11 @@
<chmod>0755</chmod>
<item>http://www.pfsense.com/packages/config/spamd.inc</item>
</additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/config/spamd_settings.xml</item>
+ </additional_files_needed>
<!-- configpath gets expanded out automatically and config items will be
stored in that location -->
<configpath>['installedpackages']['spamd']['config']</configpath>