diff options
author | jim-p <jimp@pfsense.org> | 2013-08-16 13:31:32 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-08-16 13:31:32 -0400 |
commit | 41403b812238d571297a41d54697bbdef9540f60 (patch) | |
tree | 6dcca3aa03847f2c2357290a44c0509f35623b97 | |
parent | 9caf4f9e6bcd1286611d2086fc45da65ea735b4d (diff) | |
download | pfsense-packages-41403b812238d571297a41d54697bbdef9540f60.tar.gz pfsense-packages-41403b812238d571297a41d54697bbdef9540f60.tar.bz2 pfsense-packages-41403b812238d571297a41d54697bbdef9540f60.zip |
Add the most common values as default in system patches for path strip, base, and whitespace. Also bump version.
-rw-r--r-- | config/systempatches/system_patches_edit.php | 4 | ||||
-rw-r--r-- | config/systempatches/systempatches.xml | 2 | ||||
-rw-r--r-- | pkg_config.8.xml | 2 | ||||
-rw-r--r-- | pkg_config.8.xml.amd64 | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/config/systempatches/system_patches_edit.php b/config/systempatches/system_patches_edit.php index 5b30c9c5..ffa2fe13 100644 --- a/config/systempatches/system_patches_edit.php +++ b/config/systempatches/system_patches_edit.php @@ -63,6 +63,10 @@ if (isset($id) && $a_patches[$id]) { $pconfig['ignorewhitespace'] = isset($a_patches[$id]['ignorewhitespace']); $pconfig['autoapply'] = isset($a_patches[$id]['autoapply']); $pconfig['uniqid'] = $a_patches[$id]['uniqid']; +} else { + $pconfig['pathstrip'] = 1; + $pconfig['basedir'] = "/"; + $pconfig['ignorewhitespace'] = true; } if (isset($_GET['dup'])) diff --git a/config/systempatches/systempatches.xml b/config/systempatches/systempatches.xml index f221588b..73974af0 100644 --- a/config/systempatches/systempatches.xml +++ b/config/systempatches/systempatches.xml @@ -40,7 +40,7 @@ <requirements>None</requirements> <faq>Applies patches supplied by the user to the firewall.</faq> <name>System Patches</name> - <version>0.10</version> + <version>1.0</version> <title>System: Patches</title> <include_file>/usr/local/pkg/patches.inc</include_file> <menu> diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 72fba445..ea761050 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1745,7 +1745,7 @@ <name>System Patches</name> <descr>A package to apply and maintain custom system patches.</descr> <maintainer>jimp@pfsense.org</maintainer> - <version>0.10</version> + <version>1.0</version> <category>System</category> <status>RELEASE</status> <config_file>http://www.pfsense.com/packages/config/systempatches/systempatches.xml</config_file> diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index d8e9b461..e70de7c7 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1732,7 +1732,7 @@ <name>System Patches</name> <descr>A package to apply and maintain custom system patches.</descr> <maintainer>jimp@pfsense.org</maintainer> - <version>0.10</version> + <version>1.0</version> <category>System</category> <status>RELEASE</status> <config_file>http://www.pfsense.com/packages/config/systempatches/systempatches.xml</config_file> |