Once the patch with extension .diff is obtained from TAC/SE please following the below instruction to test and apply the patch.
1. Copy the patch to the following directory using winscp tool.
/var/airwave/custom
2. Run the following command to apply the execution permission to the patch file and to copy the current patches if any.
# chmod 766 /var/airwave/custom/<patch file>
# svn status > /tmp/svn_status.log
# svn diff > /tmp/current_patch.log
3. Run the following to test the patch and if this returns error message then forward the error message to TAC/SE.
# root
# patch -p0 --dry-run < /var/airwave/custom/<patch file>
4. Run the following command to apply the patch if the about command doesn't returns any error message.
# root
# patch -p0 < /var/airwave/custom/audit_page_DE19445.diff
# screen
# make
Please contact TAC/SE if this code recompilation [# make] returns error along with the patch and following logs.
a. /tmp/svn_status.log
b. /tmp/current_patch.log
c. /var/airwave/custom/<patch file>
Once the patch is applied we can verify it running the following commands to verify the patch.
# root
# svn status
# svn diff