From nobody Mon Nov 20 07:54:28 2023 X-Original-To: freebsd-pkgbase@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 4SYft02jvcz525n2 for ; Mon, 20 Nov 2023 07:54:32 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4SYft025ZBz4mwG; Mon, 20 Nov 2023 07:54:32 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700466872; 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=P4EAxDzcrS8pUGOvfMcOFx5yVrvbWloIrxlN50K3Uf8=; b=f0KAq4Ahz/zipuWTphE7SqVboTzybGUYh3j2bSBD5Nxr0iCmBaPXk1tPOCeEi34HmzsR9b 8uSP1uueS8KdFmk3lWe9MTUHwlZChzPDThW9X6knjO827XIWOgUrmS96tRY9sFQWv4l75H WMwPvN/SIvy7ONyXRpTJ3Z/opCIG1Za4YAcJuFoo0j8qkXaEYqs8uu/jMK37ZCve3sPZtE McNG7cf7MWbsQxGKS6UMHbp36IXSmrrvQjBRv8jzEhpROdLnbrxXNseRZmbmB1cIy1Vttj L/Q7Er2CfyA2VmWIfvmZcnh/zIOnLX8F5hwZxsz0Hhw+MdtshB8PIxb2mUJK0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700466872; 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=P4EAxDzcrS8pUGOvfMcOFx5yVrvbWloIrxlN50K3Uf8=; b=PbMpuu6OBTzZwN5t1oQft30GVu9LhvP+Ha+7WCZdxIDv/8QWBSXgCPDedb2hHWY1mPwbQn jIw0QTRxRcqvyLrapXql+73bNBkrLe/D2zL11Rexbt3e2nu4oVsk3nF463aRAT5WQI4oSw kEJteEthMD5+3iFmNcS8DrEt6JWVfZhPiNJm9YjRWD6z68bj2twsX3s/DB9DZWZhiFjThJ K7WUD79Ob/MKa/q5JL+2xnm70QZsn4T5vQL7+wFPsh3cjlmkufUEOEQWchT7Wmv1J8kNTv VJEu1ngQ0hkUjbxr1g/QXKCBGOjld9hVw+Ysle5C8DDXKdmgL6zdPPPXr4NRmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700466872; a=rsa-sha256; cv=none; b=fWXjQubx0oMV5rbAunfrulcRcXeWiMfhBVWThjHKAcdaJx3+mbp5Gy+ARXMe73RTvzHzez HvP2X2WURDP1ZN/OjQPlnM62Bt8IThBX5GmkdSG8MWsvpE+H+4D9mdVKMmTkRFUcx/sJM8 23JYU3LV8YFT4lyBRV2+6H8KlJ9iB4XegXMJFXqzfyqqGEFOYRgmlMjj2O28NB9ZeJFzj9 5nsiMlGfVG0OIUtMkpJcjlRVyKCwIB5R2mssMI8X/aN5F2ZDoIKTXRmJwySpGP2CNDx9dc kdAkCYDTqPZQxlIHfJnOq16qN/qrLcXcYhs5WQOhYagip1JQrmOKZPI/d4kcCA== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (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 did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SYft00Q4xzks7; Mon, 20 Nov 2023 07:54:32 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 4C716140F59; Mon, 20 Nov 2023 08:54:28 +0100 (CET) Date: Mon, 20 Nov 2023 08:54:28 +0100 From: Baptiste Daroussin To: vermaden Cc: freebsd-pkgbase@freebsd.org Subject: Re: Personal FreeBSD PkgBase Server Message-ID: References: <20231119191035.D7410A38FF@mail.toya.net.pl> List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sun, Nov 19, 2023 at 11:27:52PM +0100, vermaden wrote: > > Hi,it's good to see PkgBase seeing more light of day but my question is about its build process.How to create the build process to create and host this PkgBase solution on my own?I > would like to create and maintain a custom FreeBSD kernel/base build > and then update it with PkgBase packages that I build with Poudriere.Can you share the instructions You use to create and maintain self PkgBase solution?Thank You in advance.Regards,vermaden To build your own pkgbase, you need a system with pkg, if possible pkg 1.20.9 because it will soon take advantage of it. run your usual make buildworld buildkernel make sure REPRODUCIBLE_BUILD is activated. make sure REPODIR is set if point to a directory where you want your packages to be created. if you want to sign them: export PKG_REPO_SIGNING_KEY="/a/path/to/a/rsa/key" $ make update-package that's all. As for poudriere, there are some WIP support, but it still needs a couple of packages. Best regards, Bapt