On Fri, 1 Dec 2017 12:31:18 +0100 Vinsonnaud Ludovic ludovic.vinsonnaud@institutoptique.fr wrote:
I'm trying to apply the patch following the instructions but I have some problems. The instructions talk about only 1 file and the patch 1625.diff concern 3 files (snmputils.py, dnos_switching_mib.py and portadmin/views.py). Is there a way to apply to all files directly ?
As I see in 1625.diff, the first file concerned is snmputils.py so I tried with this file
Hi there,
all the files are in the Python libraries of NAV, so they should all be patchable using this command (optional --dry-run first, of course):
patch -p2 -d /usr/share/pyshared < 1625.diff
BUT, I think one crucial bit of information that was missing from the instructions: The patch is based on NAV 4.8. If you are are still on 4.7, there may be differences that cause the patch to fail.