From owner-freebsd-ports@freebsd.org Wed Dec 26 03:47:04 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCB701341771 for ; Wed, 26 Dec 2018 03:47:03 +0000 (UTC) (envelope-from null.yuuji@gmail.com) Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D127694485 for ; Wed, 26 Dec 2018 03:47:01 +0000 (UTC) (envelope-from null.yuuji@gmail.com) Received: by mail-pl1-x62e.google.com with SMTP id 101so7054539pld.6 for ; Tue, 25 Dec 2018 19:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7wF3sugof/i0Qv8c+neWyflDcyHDtsxOGADll/6673g=; b=ko9IR5shXALCCGpqTyZXLOs5Vh6I65jLt7vusSjxEyDYxjepb9IU+3kPVPsn8wVuf6 lx6l0apSy+fHjY8oAZkpIIuwpjug69yvtcNQ9jki8neMayB846GdSt2gJq1DMRC/CPPL SuPBrx0fUmYw+WXnLLnzYlHJSWbfaxRUvEdv49IJ/XkGBVnMd0v2SI3km+NSBwFolGUn oTxlQF1jQAfYx5ua470QLX7Uxq9FTysLKn4S4mUnjAjoRZtgF3hmYVwlycDxdZfzWUUo BSnuxDWyrgYeEjRAk1Z6lC5QxBtA4eOdvgTcSc16vjRZyprewshgTuI3GSnPIqwZBalc Luhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7wF3sugof/i0Qv8c+neWyflDcyHDtsxOGADll/6673g=; b=APPP9aaLAOhppgLi07SUfcYS5mgf7kVdeX9PEGHfXSXRqAmOxnXpWYWMPZ4lSfZA1n nsi47UKx4wq944aoZQCJWaAS+JbZnd7gxJYdqyyAPXnrwkrUJwQ+2V8eOjQ8JdqTIiyY MF9cFvXIUDW2SW1NFJgP9LHL/F6vRz7WHHbTQDmdZO/LDVFavH8KJCbpMM30wEFRGmWH VGqmu6Unu2m9QH0nwamyfpl8kUiL0znHNZ5uUnqzBgyr+/TnzaHJTolQ8MtPJFphJFcb dnnG/ffD0zXcXoOYiw5ppZwT1OM8edMvqGmzxUiH9p1Ge3G9voU9bTemUpsw/FhnrppG oztQ== X-Gm-Message-State: AJcUukdDFFPiL6ssOo0D/OyoDaMxVn1uxvC+9lqFTPqyHgk6JR1rfNeu znf8HNkJMK4lgmzo1Dd7OJgbdjD5 X-Google-Smtp-Source: ALg8bN6YxsNgdKCN+QwwBULj4xYw+9TRtqORv1UbmUXHJ8iJEQQILJycF3X7sL5K/Pe7R4OHB/TEHg== X-Received: by 2002:a17:902:bf03:: with SMTP id bi3mr18330747plb.83.1545796020442; Tue, 25 Dec 2018 19:47:00 -0800 (PST) Received: from [192.168.2.5] (108-204-0-145.lightspeed.sntcca.sbcglobal.net. [108.204.0.145]) by smtp.gmail.com with ESMTPSA id u69sm62394972pfj.116.2018.12.25.19.46.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Dec 2018 19:46:59 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Question regarding diffs of ports that need UIDs and GIDs From: Michael Chiu X-Mailer: iPhone Mail (16C101) In-Reply-To: Date: Tue, 25 Dec 2018 19:46:58 -0800 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <960C91F7-51D3-4FD3-8FFE-8A815005B7F5@gmail.com> References: <9AEEB09B-1D3F-48E6-BEDD-ECABAEA13A40@gmail.com> To: Adam Weinberger X-Rspamd-Queue-Id: D127694485 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ko9IR5sh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nullyuuji@gmail.com designates 2607:f8b0:4864:20::62e as permitted sender) smtp.mailfrom=nullyuuji@gmail.com X-Spamd-Result: default: False [-5.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.41)[ip: (-8.65), ipnet: 2607:f8b0::/32(-1.86), asn: 15169(-1.49), country: US(-0.08)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2018 03:47:04 -0000 Thx for the guide and quick response Adam!!=20 I=E2=80=99m submitting my port already. Happy holiday. Michael > On Dec 25, 2018, at 10:04 AM, Adam Weinberger wrote: >=20 >> On Tue, Dec 25, 2018 at 10:41 AM Michael Chiu wrot= e: >>=20 >>=20 >> Hi! >>=20 >> 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 s= tart as daemon. I followed the Porter=E2=80=99s Handbook which mentioned how= to create .diff files for the port. >>=20 >> However, it does not mention anything about what porter should do when th= e UIDs and GIDs files were modified. >>=20 >> 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 port= , one for the UIDs and one for the GIDs? >>=20 >> Michael. >=20 > Hi Michael, >=20 > 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. >=20 > # Adam >=20 >=20 > --=20 > Adam Weinberger > adamw@adamw.org > https://www.adamw.org