<?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, "# This file was automatically generated by the pfSense\n");
	    fwrite($fout, "# package management system\n\n");
	    fwrite($fout, "/usr/bin/perl /usr/local/assp/assp.pl &amp;\n\n");
	    fclose($fout);
	    system("chmod 555 /usr/local/etc/rc.d/assp.sh");
	    system("/usr/local/etc/rc.d/assp.sh &amp;");
	</custom_php_install_command>
	<custom_php_deinstall_command>
	    system("rm -rf /usr/local/assp");
	    system("rm /usr/local/etc/rc.d/assp.sh");
	</custom_php_deinstall_command>
</packagegui>