diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 13:08:14 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-04-27 13:08:14 -0300 |
commit | 06e99aa586dc4852251657908c6af8173a423974 (patch) | |
tree | b85b1d5ce96b679b94e365611327fa4e605ea468 /config | |
parent | 071d74ab79ab0600203c0a16da956a2188d8d261 (diff) | |
download | pfsense-packages-06e99aa586dc4852251657908c6af8173a423974.tar.gz pfsense-packages-06e99aa586dc4852251657908c6af8173a423974.tar.bz2 pfsense-packages-06e99aa586dc4852251657908c6af8173a423974.zip |
Stop copying countrycodes tarball and also fix a typo on array key name s/ccdif/ccdir/
Diffstat (limited to 'config')
-rw-r--r-- | config/pfblockerng/pfblockerng.inc | 3 | ||||
-rw-r--r-- | config/pfblockerng/pfblockerng.xml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/config/pfblockerng/pfblockerng.inc b/config/pfblockerng/pfblockerng.inc index d382c647..26eeb5e5 100644 --- a/config/pfblockerng/pfblockerng.inc +++ b/config/pfblockerng/pfblockerng.inc @@ -2423,8 +2423,7 @@ function pfblockerng_php_install_command() { @rmdir_recursive("{$pfb['dbdir']}/cc"); # Uncompress Country Code File - @copy("{$pfb['dbdir']}/countrycodes.tar.bz2", "{$pfb['ccdir']}/countrycodes.tar.bz2"); - exec("/usr/bin/tar -jx -C {$pfb['ccdif']} -f {$pfb['ccdir']}/countrycodes.tar.bz2"); + exec("/usr/bin/tar -jx -C {$pfb['ccdir']} -f {$pfb['dbdir']}/countrycodes.tar.bz2"); # Download MaxMind Files and Create Country Code files and Build Continent XML Files update_output_window(gettext("Downloading MaxMind Country Databases. This may take a minute...")); exec("/bin/sh /usr/local/pkg/pfblockerng/geoipupdate.sh all >> {$pfb['geolog']} 2>&1"); diff --git a/config/pfblockerng/pfblockerng.xml b/config/pfblockerng/pfblockerng.xml index ed298925..67deab8d 100644 --- a/config/pfblockerng/pfblockerng.xml +++ b/config/pfblockerng/pfblockerng.xml @@ -49,7 +49,7 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>pfblockerng</name> - <version>1.07</version> + <version>1.08</version> <title>pfBlockerNG: General Settings</title> <include_file>/usr/local/pkg/pfblockerng/pfblockerng.inc</include_file> <menu> |