Question regarding diffs of ports that need UIDs and GIDs

Michael Chiu null.yuuji at gmail.com
Wed Dec 26 03:47:04 UTC 2018


Thx for the guide and quick response Adam!! 

I’m submitting my port already.

Happy holiday.

Michael

> On Dec 25, 2018, at 10:04 AM, Adam Weinberger <adamw at adamw.org> wrote:
> 
>> 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