From nobody Mon Dec 27 17:29:42 2021 X-Original-To: freebsd-questions@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 A97241911648; Mon, 27 Dec 2021 17:30:03 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JN4Rv2sN3z3KV2; Mon, 27 Dec 2021 17:30:03 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from mx.bofh.network (mx.bofh.network [185.244.36.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.bofh.network", Issuer "R3" (verified OK)) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id B72DA2DEAB; Mon, 27 Dec 2021 17:30:02 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple (ip-217-105-29-47.ip.prioritytelecom.net [217.105.29.47]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id cdfc962b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 27 Dec 2021 17:29:57 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_BF36DCC8-729C-4100-816A-E438963EABC5"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: Local ports [Was: Re: mail/postfix and mail/postfix-current missing on www.freebsd.org ports section] From: Muhammad Moinur Rahman In-Reply-To: Date: Mon, 27 Dec 2021 18:29:42 +0100 Cc: Roger Marquis , "freebsd-ports@freebsd.org" , freebsd-questions@freebsd.org Message-Id: References: <814827EE-433E-4D6E-B0D4-E91B7AD8B57C@ellael.org> <49d8244d-8824-f112-9792-4c294d8a6ddc@bluerosetech.com> <25r0p877-99oq-or7o-rn51-50p3113r51s9@mx.roble.com> To: Mel Pilgrim X-Mailer: Apple Mail (2.3693.40.0.1.81) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640626203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RIOOOloNYLF9l8vBmbv+rD280XTUwyPheJlMFgoKBoU=; b=VpLVB9CUoDuVD49GQXpLgPEwU5JpUeToF1aqrYu+jPiqNEQxI//HcGIX3AmZ9xmWG5Y9Jo ljcjYVtMDwDNxmp7cApaWSRFTWlOyl2KUESOvy4MWgtcfyOPpv9UClPGd/GFawPn0LK+rJ 1W3owjF3AYLlb0jqyGJbxPxrkRWhTT3m4UeiI9g0AEO2Goz5fAEnoTlhDRCB5aKT3SW9XA Q42UepnI6/K/XEgZFKPZGZNn8VxVHG8ePV+O5NhsFr0+Nin9mluoSWy3PY3ElDCgUZTXMG gNoG+3VFauYR6FUwh4nYOageVNeIQO+uTzT7ALT9OdFaZsBx4dSK486kd5MLBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640626203; a=rsa-sha256; cv=none; b=rpj5EMM2bnXhPVUgRPenKgODZBaOr/P8ffwWCcxAKTM61FXQGFkf9iK1IaTtLxOKg263JU CRghSfp5Zoe0KCetEZ0jAMa0G4Bp9d8e1A2BhAPDfFATaEsiVxfkCE7A4rs6cSbUd5HIdH vGzXTXubXqZlX0GKfSf1coYkrswNwJRM5Huh/eccmqCn4T0+wwGomoXwpqrTxFQbS6OSbl 7J5kG82LR9qQ0dY0obE9ixJKNi631xcLhItmHv9eQTNczsX2CE3xkV1WwvB2eufhIgS5hW trL+opBug+pCWMlScd4KH7n/x/k5eqdloudPWX/6UaveHprUmixW1mC0+3Jf6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_BF36DCC8-729C-4100-816A-E438963EABC5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 That=E2=80=99s one way of doing it but preferred way is a bit different = as the upstream is modified and there might be merge conflicts while = updating the tree. You have to use poudriere-devel and the overlay = feature. So let=E2=80=99s say that I have a private repos of ports in = github. So what I do is: poudriere ports -c -p default poudriere ports -c -p default -U https://github.com/5u623l20/local.git = -p local -m git poudriere bulk -j 130 -O local The example is arbitrary and do not try to find the repositories please. = Most of my overlay trees are for the orgs I work for which are not = publicly available. But normally just adding a in = the root of the git repo is enough. Kind regards, Moin > On 27 Dec 2021, at 17:58, Mel Pilgrim = wrote: >=20 > On 2021-12-19 8:33, Roger Marquis wrote: >> On a similar note: is anyone is maintaing a local/custom port in >> Poudriere or know where that might be documented? >=20 > I do. I have a private repo in $PORTSDIR/local. It's checked out on = top of a poudriere ports tree and connected to the build system with: >=20 > VALID_CATEGORIES+=3D local >=20 > in make.conf. You'll also want: >=20 > /local/* >=20 > in $PORTSDIR/.git/info/exclude to avoid poudriere ports -u complaining = about a dirty tree. >=20 > I tried using the overlays feature, but it has race conditions with = the shorthand mechanisms that make complex port skeletons easy to = maintain. >=20 --Apple-Mail=_BF36DCC8-729C-4100-816A-E438963EABC5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmHJ+AZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJENRA//ZMQoELyOmsHEL+lQgwl+y+1/VZSoISP/EeOrqdBqg3D2wKTIQEp8UTn6 ZflO3Dx0SjeOtK6BXFEPsIyKXuJyKKnGkGhlMl6sX1PIbgRqrfO1563GqYnGNz72 uBAhoJSbBCh5TA3FsLPG404DB8VNyTIeGpfErsCShqTwa+vvl09wJcwxlNgKdkdb 1YOros0Ooe/CvnHKbqv0lWApmmcbzDtbsvvuNHR0xBscGImwEO8p6bniM5WrZeyB S1EvFn+2QDavXnqsv+68bJ4RmVjF7hDU/7g9K5TFM2grUwHBaPw0Mvg7+NoMYk6c yIrr6hJRfiv7SQ+gAEmSQ18HwfTcWGvVp2BhARzlhdNo7aBjIknipjoLK/s+l45s MB2ogrBXysgHsGBFFu6VTGrbCj8nZ+N9VG8qlV5l1Dzk7+tVms5IuM7HOOlpa89L LXudKY/pJB0u1rWtZ+BAAkLvszJuWmzlBkg7LzQH++M9x2E/BnuQDKuiKYoGCzL3 jRQrWJEee4cLd6Q33lW6Xy6j8bbcmwrN1/Oo0GBopvOuXWWNasBw1Fwq88Zz49Lv 9j0TlNFokv9R81vJnCsxPxdq/dhzc5v51au/ZMtTwuasYB6FU9P3VGGPZbXZlqCx MMvGlTiIgwRB3Ul5bW+oiGPtk+NfF3i3id2I9Uy3EHD2ZwP/Csk= =nznK -----END PGP SIGNATURE----- --Apple-Mail=_BF36DCC8-729C-4100-816A-E438963EABC5--