[SOLVED] How to apply patch file?

  • Hi

    I have found this patch, that I want to try adding to pfSense, to make it accept wildcard DNS entries on the internal DNS server.

    I just do not know how to use the patch - can anyone help me?

    I have gotten pfSense to accept SSH and I have succesfully transfered the patch file to pfSense, but I do not know what I need to do now.

  • Rebel Alliance Developer Netgate

    Even though that patch is rather old, it does seem to still apply:

    Start shell ( 8 )

    fetch http://cvstrac.pfsense.com/attach_get/132/wildcards.patch

    patch -p1 -C -d / < wildcards.patch

    If that says it all applies cleanly, then do:

    patch -p1 -d / < wildcards.patch

    The -C will do a test run without actually altering any files.

  • Thanks, that worked like charm on 1.2.2-RELEASE.

    Will be running a litte more testing, but I am pretty sure I will be running pfSense in production very soon.

    Thank you very much for your quick help!

    Kind regards,

Log in to reply