From nobody Sat Mar 28 19:44:41 2026 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fjty55TM4z6XBkS for ; Sat, 28 Mar 2026 23:29:17 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fjty46d94z3bCc for ; Sat, 28 Mar 2026 23:29:16 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=permerror reason="p tag has invalid value: quarantine rua=mailto:p[ostmaster@cschubert.com" header.from=cschubert.com (policy=permerror); spf=pass (mx1.freebsd.org: domain of cy.schubert@cschubert.com designates 3.97.99.32 as permitted sender) smtp.mailfrom=cy.schubert@cschubert.com Received: from shw-obgw-4004b.ext.cloudfilter.net ([10.228.9.230]) by cmsmtp with ESMTPS id 6VQZw9knVk14S6d5fwQdxM; Sat, 28 Mar 2026 23:29:15 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id 6d5ewZnIVGwIC6d5fwjB2r; Sat, 28 Mar 2026 23:29:15 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=VLnQXtPX c=1 sm=1 tr=0 ts=69c8644b a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=puQWGBksFvoA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=EkG8PI1AJTKfvh2zE7kA:9 a=QEXdDO2ut3YA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from ehlo.thunderbird.net (unknown [64.114.211.16]) by spqr.komquats.com (Postfix) with ESMTPSA id 37BD694B; Sat, 28 Mar 2026 16:29:13 -0700 (PDT) Date: Sat, 28 Mar 2026 12:44:41 -0700 From: Cy Schubert To: freebsd-hackers@freebsd.org, void Subject: =?US-ASCII?Q?Re=3A_workflow_for_managing_ports_pat?= =?US-ASCII?Q?ches_against_/usr/ports_in_poudriere?= In-Reply-To: References: Message-ID: <01BEAB5A-8AE1-4A90-9A74-9183D6D9E5EB@cschubert.com> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CMAE-Envelope: MS4xfKANwBWvxHF6rAwLZckVitFC0mTsifFc80a04iZux0X51KQAqf/XEaHwcGq/BGEmd7wYqMLZzNLvj6CeAA0STy0315IbiPxmjdNU9BDVTDznxNxNoTlo Z+l291aWn6xB104rdjjlVgL9nX8wrSNrN1J/eIEg7ZnMyDdJ5hIfefYJ9hMFMqx3ov1LJRef2+Syyyp/DW2ZORDlX3cOztiVi0wl1smZnOQFHNiV4V4eD4N0 X-Spamd-Result: default: False [-2.07 / 15.00]; SUBJ_EXCESS_QP(1.20)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; NEURAL_HAM_SHORT(-0.88)[-0.879]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[3.97.99.32:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; MISSING_XM_UA(0.00)[]; DMARC_BAD_POLICY(0.00)[cschubert.com : p tag has invalid value: quarantine rua=mailto:p[ostmaster@cschubert.com]; FREEMAIL_TO(0.00)[freebsd.org,f-m.fm]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4fjty46d94z3bCc X-Spamd-Bar: -- I rebase main onto my branch which contains local patches=2E Simple and eff= ective=2E=20 --=20 Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD=2Eorg NTP: Web: https://nwtime=2Eorg e^(i*pi)+1=3D0 Pardon the typos=2E Tiny keyboard in use=2E On March 27, 2026 8:45:03=E2=80=AFa=2Em=2E PDT, void wrote= : >Hi, > >On IRC I've been advised to use overlays for this=2E >So let's say there's a port and the patches for it aren't in the tree=2E >I download a fresh ports tree, null mount it and make that my overlay tre= e=2E >Then strip out all the ports I don't want to patch, then patch the port i= n the >overlay=2E > >Then > >poudriere bulk -j builder -p /usr/ports -O overlay category/patched-port > >is this correct? Or is the patch just put somewhere in the overlay tree? >Or is there some documentation explaining exactly what to do? >I have around five or so ports needing patches and the patches aren't in = the >official tree yet=2E > >The problem the above seeks to address is that, if /usr/ports is directly= patched, >when the time comes to update the tree, git pull --ff-only complains=2E >Unless it's stashed then updated then un-stashed=2E >--=20 >