Ports should provide knobs disabling unwanted network services
Florent Peterschmitt
florent at peterschmitt.fr
Mon Mar 25 02:33:21 UTC 2013
Le 24/03/2013 17:34, Scot Hetzel a écrit :
> On Sun, Mar 24, 2013 at 7:00 AM, Beeblebrox <zaphod at 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.
>
Is there a way to manually make a patch that will say :
--- MyFile
+++ MyFile
Even if these files are in two distinct trees ?
--
Florent Peterschmitt
+33 (0)6 64 33 97 92
florent at peterschmitt.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130325/bd7c6eec/attachment.sig>
More information about the freebsd-ports
mailing list