Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Patch

  • 27-05-2003 10:45am
    #1
    Registered Users, Registered Users 2 Posts: 14,149 ✭✭✭✭


    Hey guys,

    I'm updating iptables using the 'patch' utility and I downloaded the 1.2.7a - 1.2.8 patch thingy from iptables.org

    Not meaning to seem obvious, but what file am I to /actually/ patch?

    /sbin/iptables?


Comments

  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    Normally one would patch the source for the application.

    The patch utility applies a set of "diff's" defined in the patch (text) file to the source directory then you recompile the app.

    Obviously this will requre the source for 1.2.7a.

    bunzip the patch in the source directory and 'patch -p1 < patch-iptables-1.2.7a-1.2.8'.

    [The "strip level" p0, p1 .... tells it how many leading slashes to strip from the filenames in the patch]

    The verbose messages should tell you how it went.


  • Closed Accounts Posts: 102 ✭✭Something


    bzcat patch-iptables-1.2.7a-1.2.8.bz2 | patch -p1

    :D


Advertisement