aboutsummaryrefslogtreecommitdiffstats
path: root/packages/frickin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-11-30 17:04:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-11-30 17:04:09 +0000
commitf3c848d18bb8c7b72c10aa1d7f4b4bdc89951565 (patch)
treea13394bcfca24cdda386a5e7421d353f214774e4 /packages/frickin
parentff01fa3439827aeb9b4c67472d5c1317d5888af5 (diff)
downloadpfsense-packages-f3c848d18bb8c7b72c10aa1d7f4b4bdc89951565.tar.gz
pfsense-packages-f3c848d18bb8c7b72c10aa1d7f4b4bdc89951565.tar.bz2
pfsense-packages-f3c848d18bb8c7b72c10aa1d7f4b4bdc89951565.zip
Move frickin to it's own directory
Diffstat (limited to 'packages/frickin')
-rw-r--r--packages/frickin/frickin.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/frickin/frickin.xml b/packages/frickin/frickin.xml
new file mode 100644
index 00000000..f3974a55
--- /dev/null
+++ b/packages/frickin/frickin.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<packagegui>
+ <name>frickin</name>
+ <version>1.2</version>
+ <configpath>installedpackages->package->$packagename->configuration->settings</configpath>
+ <additional_files_needed>
+ <prefix>/usr/local/bin/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/All/frickin</item>
+ </additional_files_needed>
+ <custom_php_install_command>
+ $fout = fopen("/usr/local/etc/rc.d/frickin.sh", "w");
+ fwrite($fout, "#!/bin/sh\n# This package was automatically generated\n# by the pfSense package system.\n\n");
+ fwrite($fout, "# PACKAGE: Frickin Proxy\n");
+ fwrite($fout, "# EXECUTABLE: frickin\n");
+ fwrite($fout, "/usr/local/bin/frickin");
+ fwrite($fout, " -s 127.0.0.1");
+ fwrite($fout, " -c 20");
+ fwrite($fout, " &amp;\n");
+ fclose($fout);
+ mwexec("/usr/bin/killall frickin");
+ mwexec("chmod a+rx /usr/local/etc/rc.d/frickin.sh");
+ mwexec("/usr/local/etc/rc.d/frickin.sh");
+ </custom_php_install_command>
+ <custom_php_deinstall_command>
+ unlink_if_exists("/usr/local/etc/rc.d/frickin.sh");
+ unlink_if_exists("/usr/local/bin/frickin");
+ </custom_php_deinstall_command>
+</packagegui>