From nobody Sun May 18 12:12:35 2025 X-Original-To: freebsd-ports@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 4b0fpc3wj5z5w7M9 for ; Sun, 18 May 2025 12:12:56 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "prime.gushi.org", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b0fpb4W9qz3sFr; Sun, 18 May 2025 12:12:55 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=TysEVYdX; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org; dmarc=pass (policy=none) header.from=gushi.org Received: from smtpclient.apple ([IPv6:2001:500:6b:200:c000:0:0:307]) (authenticated bits=0) by prime.gushi.org (8.18.1/8.18.1) with ESMTPSA id 54ICCqla086110 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 18 May 2025 12:12:52 GMT (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 54ICCqla086110 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1747570372; bh=vb/uwVTmnnfVNJXEHFqYT+V0iUh5WVPbsTJK4oN7S1M=; h=From:Subject:Date:To; z=From:=20"Dan=20Mahoney=20(Ports)"=20|Subject:= 20Flavoring=20p5-DBD-Pg=20--=20burned=20by=20a=20perl=20upgrade|Da te:=20Sun,=2018=20May=202025=2005:12:35=20-0700|To:=20freebsd-port s@freebsd.org,=0D=0A=20"sunpoet@freebsd.org"=20; b=TysEVYdX+v4yc26pGsrxGDRB4e0nm2mFXEke21JUN7PmDhld/nr4TC+7Fx7BGullo din6YJJw9zTwlGJNvEHrsJinT0ZqsgtyGVIAbH+UnKaGrOtCpmkY2QTz07wKJbdQ7T cEKImfatRcMQ56tOpY+rbS2Ij2zYg35eBHpIJDhvWy+JsQ8qAGN8LmGhbcMAWoZo3C fVzY+SjPU8iiEL44yQgIsl5nje9wr2YVKjUd71lEm5DyNTcuKepeP3mOqoCaI95zgZ D1Brdwv7NPmU+1kr5veLhEJieQVksrBROaKw9auVXlSrDVp2i041aGCqNU9yEph9rN bdfb3xqDPJz0Q== X-Authentication-Warning: prime.gushi.org: Host [IPv6:2001:500:6b:200:c000:0:0:307] claimed to be smtpclient.apple From: "Dan Mahoney (Ports)" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Flavoring p5-DBD-Pg -- burned by a perl upgrade Message-Id: Date: Sun, 18 May 2025 05:12:35 -0700 To: freebsd-ports@freebsd.org, "sunpoet@freebsd.org" X-Mailer: Apple Mail (2.3826.600.51.1.1) X-Rspamd-Queue-Id: 4b0fpb4W9qz3sFr X-Spamd-Bar: ---- X-Spamd-Result: default: False [-5.00 / 15.00]; DWL_DNSWL_LOW(-1.00)[gushi.org:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; MV_CASE(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gushi.org:+]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; HAS_XAW(0.00)[] All, Dayjob is an open source software company, and runs RT with Postgres. = We use it in production, to sell support for the open source software we = make. =20 We are proud of this, and moved to a commercial solution, then *back* to = RT. Thus we require p5-DBD-Pg. p5-DBD-Pg is not flavored, and is only built against the default version = of postgres. This port doesn=E2=80=99t change much, but it requires a = reinstall whenever the version of perl changes, since the directory for = perl=E2=80=99s modules changes. Dayjob does not want to have to dump and restore our fairly large RT = databases every time the postgres default bumps (presently, we have a = machine on 15, and the default is 17). Dayjob also does not want to have to poudriere build ALL of the = dependencies for rt50, just to keep up with one database driver, when = everything else we run is pretty much stock. (Since there=E2=80=99s not = a good way to say =E2=80=9Cuse the private ports repository for just = this one port, and base for all other things"). What would it take to flavor this? I maintain a few paltry ports, but = there=E2=80=99s not real good documentation I=E2=80=99ve found for how = to start flavoring a thing when it=E2=80=99s not already. (There=E2=80=99= s a /usr/ports/Mk/Uses/mysql.mk =E2=80=94 there=E2=80=99s not one for = postgres, and it=E2=80=99s not a huge file, but it also doesn=E2=80=99t = look trivial) We *could* just keep our ports tree up to date on this box and build = just this one port against a given postgres, but that also feels sloppy. What=E2=80=99s the =E2=80=9Cbest practice=E2=80=9D in this situation. = How much coffee/chocolate/beer do I need to buy sunpoet to avoid this = problem in the future? -Dan PS: I=E2=80=99ll be at BSDCan, hope to see y=E2=80=99all there.=