Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2013 12:34:16 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Ports should provide knobs disabling unwanted network services
Message-ID:  <CACdU%2Bf8FcqTQk=672S4qYjCgH0tVtgBg5YZPk8tCKzng=gjhbA@mail.gmail.com>
In-Reply-To: <1364126459718-5798594.post@n5.nabble.com>
References:  <1364123355503-5798581.post@n5.nabble.com> <514EF84F.1090208@peterschmitt.fr> <1364126459718-5798594.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 24, 2013 at 7:00 AM, Beeblebrox <zaphod@berentweb.com> wrote:
> I would be very happy to submit a patch, if I actually knew how to write
> one...
>

It is quite simple to create the patch.

If you have a working copy checked out with svn, then it would be:

cd /usr/ports/[category]/[port]
- Make the necessary changes to the port
- After testing the port make sure to do a 'make clean'
svn diff > port.diff

Otherwise make a copy of the port:

cd /usr/ports/[catagory]
cp port port-orig
cd port
- Make the necessary changes to port
- After testing port make sure to do a 'make clean'
cd ..
diff -ruN port-orig port > port.diff

Then just submit the port.diff in a PR using either send-pr or
http://www.freebsd.org/send-pr.html.

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8FcqTQk=672S4qYjCgH0tVtgBg5YZPk8tCKzng=gjhbA>