aboutsummaryrefslogtreecommitdiffstats
path: root/config/systempatches/systempatches.xml
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-03-29 11:46:21 -0400
committerjim-p <jimp@pfsense.org>2013-03-29 11:46:21 -0400
commit155bc1fbd34ed53b0063c06285b891c59ec99f63 (patch)
tree2e508f22c3cc289d0bcb3f4bc165b900c7b8d747 /config/systempatches/systempatches.xml
parent651dd8c43c4aab0ec854f6b01cca8ab99fecce25 (diff)
downloadpfsense-packages-155bc1fbd34ed53b0063c06285b891c59ec99f63.tar.gz
pfsense-packages-155bc1fbd34ed53b0063c06285b891c59ec99f63.tar.bz2
pfsense-packages-155bc1fbd34ed53b0063c06285b891c59ec99f63.zip
Add "auto apply" bit to system patches which will attempt to apply a patch during earlyshellcmd at boot time, to help patches survive across reboots and upgrades.
Diffstat (limited to 'config/systempatches/systempatches.xml')
-rw-r--r--config/systempatches/systempatches.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/config/systempatches/systempatches.xml b/config/systempatches/systempatches.xml
index 3802ba58..ea0eee78 100644
--- a/config/systempatches/systempatches.xml
+++ b/config/systempatches/systempatches.xml
@@ -40,8 +40,9 @@
<requirements>None</requirements>
<faq>Applies patches supplied by the user to the firewall.</faq>
<name>System Patches</name>
- <version>0.5.1</version>
+ <version>0.8</version>
<title>System: Patches</title>
+ <include_file>/usr/local/pkg/patches.inc</include_file>
<menu>
<name>Patches</name>
<tooltiptext></tooltiptext>
@@ -59,8 +60,19 @@
<item>http://www.pfsense.com/packages/config/systempatches/system_patches_edit.php</item>
</additional_files_needed>
<additional_files_needed>
+ <prefix>/usr/local/bin/</prefix>
+ <chmod>755</chmod>
+ <item>http://www.pfsense.com/packages/config/systempatches/apply_patches.php</item>
+ </additional_files_needed>
+ <additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>644</chmod>
<item>http://www.pfsense.com/packages/config/systempatches/patches.inc</item>
</additional_files_needed>
+ <custom_php_install_command>
+ patch_package_install();
+ </custom_php_install_command>
+ <custom_php_deinstall_command>
+ patch_package_deinstall();
+ </custom_php_deinstall_command>
</packagegui> \ No newline at end of file