Date: Tue, 25 Dec 2018 11:04:30 -0700 From: Adam Weinberger <adamw@adamw.org> To: Michael Chiu <null.yuuji@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Question regarding diffs of ports that need UIDs and GIDs Message-ID: <CAP7rwcjW530RhVrD%2BNtaRDS0kqxi%2B-d4AAwTzqSW%2BAMEKxJS9A@mail.gmail.com> In-Reply-To: <9AEEB09B-1D3F-48E6-BEDD-ECABAEA13A40@gmail.com> References: <9AEEB09B-1D3F-48E6-BEDD-ECABAEA13A40@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 25, 2018 at 10:41 AM Michael Chiu <null.yuuji@gmail.com> wrote: > > > Hi! > > I=E2=80=99m creating a port which required to create a UID and GID to set= the right permission of files and to lower the permission when the program= start as daemon. I followed the Porter=E2=80=99s Handbook which mentioned = how to create .diff files for the port. > > However, it does not mention anything about what porter should do when th= e UIDs and GIDs files were modified. > > Should I create a single .diff file which contains both changes to the po= rt and UIDs/GIDs files, or if I should create 3 diff files, one for the por= t, one for the UIDs and one for the GIDs? > > Michael. Hi Michael, Great question! You can put all the changes into a single patch (make sure to run diff from /usr/ports/). One diff makes it easier for committers to see and apply the changes. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwcjW530RhVrD%2BNtaRDS0kqxi%2B-d4AAwTzqSW%2BAMEKxJS9A>