Question regarding diffs of ports that need UIDs and GIDs

Adam Weinberger adamw at adamw.org
Tue Dec 25 18:04:48 UTC 2018


On Tue, Dec 25, 2018 at 10:41 AM Michael Chiu <null.yuuji at gmail.com> wrote:
>
>
> Hi!
>
> I’m 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’s Handbook which mentioned how to create .diff files for the port.
>
> However, it does not mention anything about what porter should do when the UIDs and GIDs files were modified.
>
> Should I create a single .diff file which contains both changes to the port and UIDs/GIDs files, or if I should create 3 diff files, one for the port, 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


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org


More information about the freebsd-ports mailing list