diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-27 20:14:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-27 20:14:17 +0000 |
commit | c1e0d55d72edec404821ce7b1abe837d8a1e1c44 (patch) | |
tree | cc2e0732466ebefbc51390e2bdef7625c3c73e2f /packages/assp.xml | |
parent | dc8eb6f6c53e1a1f6ecfea524b9c7e5d9b21333a (diff) | |
download | pfsense-packages-c1e0d55d72edec404821ce7b1abe837d8a1e1c44.tar.gz pfsense-packages-c1e0d55d72edec404821ce7b1abe837d8a1e1c44.tar.bz2 pfsense-packages-c1e0d55d72edec404821ce7b1abe837d8a1e1c44.zip |
Say hello to the ASSP anti spam pacakge.
Diffstat (limited to 'packages/assp.xml')
-rw-r--r-- | packages/assp.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/assp.xml b/packages/assp.xml new file mode 100644 index 00000000..37de3548 --- /dev/null +++ b/packages/assp.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8" ?> +<packagegui> + <title>Services: ASSP</title> + <name>assp</name> + <version>0.1.0</version> + <!-- Menu is where this packages menu will appear --> + <menu> + <name>ASSP</name> + <tooltiptext>Access ASSP</tooltiptext> + <url>http://$myurl:55555</url> + <section>Services</section> + </menu> + <additional_files_needed> + <item>http://www.pfsense.com/packages/All/assp-1.0.tgz</item> + </additional_files_needed> + <custom_php_install_command> + $fout = fopen("/usr/local/etc/rc.d/assp.sh","w"); + fwrite($fout, "#!/bin/sh\n\n"); + fwrite($fout, "\n# This file was automatically generated by the pfSense"); + fwrite($fout, "\n# package management system"); + fwrite($fout, "/usr/bin/perl /usr/local/assp/assp.pl &\n\n"); + fclose($fout); + system("chmod 555 /usr/local/etc/rc.d/assp.sh"); + </custom_php_install_command> +</packagegui>
\ No newline at end of file |