SquidGuard…
-
I have <loadinstructions..>where my source files loading from pfsense local www (http://pfsense_ip/package/..)
All xml files good load content, but all .inc files get error execute page wisout his contents. I post all to ftp and all works. Check downloading all files <additional_files_needed>from you project.for example - my package
squidguard.inc
<packagegui><title>Proxy server filter SquidGuard: General settings</title> <name>squidguardgeneral</name> <version>1.2.0_1</version> <include_file>squidguard.inc</include_file> <menu> <name>Proxy server filter</name> <tooltiptext>Modify the proxy server's filter settings</tooltiptext> Services <url>/pkg_edit.php?xml=squidguard.xml&id=0</url> </menu> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard.inc</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_cls.inc</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/upload.inc</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_acl.xml</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_default.xml</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_dest.xml</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_rewr.xml</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_src.xml</additional_files_needed> <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_time.xml</additional_files_needed> <service><name>squidGuard</name> <description>Proxy server filter Service</description> <executable>squidGuard</executable></service></packagegui>
10.62.0.30 - ftp server in other workstation
pkg_config.xml
<pfsensepkgs><packages><package><name>squidGuard</name> <descr>High perfomance web proxy filter</descr> <website>http://www.squidGuard.com/</website> <category>Network</category> <version>1.2.0_1</version> <maintainer>dv_serg@mail.ru</maintainer> <depends_on_package_base_url>http://ftp13.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All</depends_on_package_base_url> <depends_on_package>squidGuard-1.2.0_1.tbz</depends_on_package> <status>ALPHA</status> <required_version>1.0</required_version> <config_file>ftp://10.62.0.30/packages/config/squidguard.xml</config_file> <configurationfile>squidguard.xml</configurationfile></package></packages></pfsensepkgs> ```</additional_files_needed></loadinstructions..>
-
How you call resync?
<custom_php_resync_config_command>squidguard_resync();</custom_php_resync_config_command>
-
I'll try grabbing the additional_needed_files via FTP like you've done, see if it makes any difference :)
As for the resync - yes, exactly like that - word for word :)
I've also tried custom_add_php_command and custom_delete_php_command as demonstrated in the squid package I was looking at before.
I can't get to any of the files from where I am today as I'm on a customer site, but I'll look into it when I get home and if I can't get around the loading instructions issue I'll post them up for you all to ridicule :P ;D
-
Does this work anything like the current squid package?
-
-
I'm willing to test this package if you'll let me know what I need to do
-
I'm intersted in testing this too.
-
Send me mail plz
I answer after dayving to new year alkohol down ::) -
did you get this going?
-
Package created. Look this topic for installation.
http://forum.pfsense.org/index.php/topic,3111.msg28544.html#msg28544