Date: Tue, 26 Mar 2013 09:13:38 +0100 From: Florent Peterschmitt <florent@peterschmitt.fr> To: freebsd-ports@freebsd.org Subject: Re: Ports should provide knobs disabling unwanted network services Message-ID: <515158B2.2080900@peterschmitt.fr> In-Reply-To: <CACdU%2Bf9vjkB%2B2=ce7wPoAbbnAwy9YU7SNWnwcCmvtwSVTUci1g@mail.gmail.com> References: <1364123355503-5798581.post@n5.nabble.com> <514EF84F.1090208@peterschmitt.fr> <1364126459718-5798594.post@n5.nabble.com> <CACdU%2Bf8FcqTQk=672S4qYjCgH0tVtgBg5YZPk8tCKzng=gjhbA@mail.gmail.com> <514FC573.8060806@peterschmitt.fr> <CACdU%2Bf9vjkB%2B2=ce7wPoAbbnAwy9YU7SNWnwcCmvtwSVTUci1g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2IPDLJHSLPSLVEEODIKNH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Le 25/03/2013 04:40, Scot Hetzel a =E9crit : > On Sun, Mar 24, 2013 at 10:33 PM, Florent Peterschmitt > <florent@peterschmitt.fr> wrote: >> Le 24/03/2013 17:34, Scot Hetzel a =E9crit : >>> On Sun, Mar 24, 2013 at 7:00 AM, Beeblebrox <zaphod@berentweb.com> wr= ote: >>>> I would be very happy to submit a patch, if I actually knew how to w= rite >>>> 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 ? >> > There is always a way to do that: >=20 > diff -u /path/to/original/port/MyFile /path/to/modified/port/MyFile > > /place/to/save/patch/port.diff >=20 > or if you modifed several files: >=20 > diff -ruN /path/to/original/port /path/to/modified/port > > /place/to/save/patch/port.diff >=20 Hum yes but what I mean is that we'll have, for example: --- /home/florent-gentoo/patch/old/one 2013-03-24 14:04:20.757200724 +010= 0 +++ /home/florent-gentoo/patch/new/one 2013-03-24 14:04:08.541201548 +010= 0 [=85] And what I want is: --- /home/florent-gentoo/patch/old/one 2013-03-24 14:04:20.757200724 +010= 0 +++ /home/florent-gentoo/patch/old/one 2013-03-24 14:04:08.541201548 +010= 0 [=85] SCM make patches like the second one and I'm no sure it is possible to do without modifying by hand the patch generated. --=20 Florent Peterschmitt +33 (0)6 64 33 97 92 florent@peterschmitt.fr ------enig2IPDLJHSLPSLVEEODIKNH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRUViyAAoJEMtO2Sol0IIm6V8H+gKqkZX38f7pFaEMenTB37FN L5CNMVi0c8mdwT2k058grKIImJgVIJWEJJ77A5ucEZXcOGq911cYI99K8f0pjJdO TSsNgWOaC8pnGYtE8288JyicXLV+4/6MypX0rYGqeD0w/92OQ8rn3QriqLY6ZLZl cdaeaweYsDEtqZcV+TPPgmrZQShNQH9isdNHQkFcfXBDFvsrcMEA3obwIfCtZccM 75J6mc4XU0xTR6aYCfNgtWWLTAEi9XmkCj5BqZvms29QQLn2cfuYwt6L4xOhEKMe k/eBNdIHgE2DZF6OBR8uO/cXiNANGuAAu3YL/w/tLwHhE8K9XulSNBsr/HXhiCc= =UZXq -----END PGP SIGNATURE----- ------enig2IPDLJHSLPSLVEEODIKNH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515158B2.2080900>