From owner-freebsd-ports@freebsd.org Sun Feb 16 18:10:53 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A084623CC30 for ; Sun, 16 Feb 2020 18:10:53 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from corvid.alerce.com (corvid.alerce.com [206.125.171.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48LFXr3QTLz3xC2 for ; Sun, 16 Feb 2020 18:10:52 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from postfix.alerce.com (76-226-160-236.lightspeed.sntcca.sbcglobal.net [76.226.160.236]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by corvid.alerce.com (Postfix) with ESMTPSA id 6A4F646B5D; Sun, 16 Feb 2020 10:10:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alerce.com; s=dkim; t=1581876649; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UMk7w1lfjQRmqzXgtyQ/HzAL38Gc+sQJrkIX6396Zn8=; b=YHbEXbbUtbeEZ7skUD027qIBBHajOohrZqMlOaE/KfpbCSo/SnKB8cvNoREvyxs6SvaX80 yDJ05ti1eJQpXU2gKT0HEM+FZ/hlcE0rPalEhenakP3VUt1mz8/+3nKQyFRRYpOH7YDbw2 rIUnaxrQHQZ7yW2t/MiTxOfSk9LDylpQQgI8Iz3EByh/1mX2eAworrzxjqSM8WVwcpWmgL D94dxhYdSJkhElX9fzfphjuuJnlnfV7D8/KZPRbJorFUWa0HJWFsAlJQ6b43BCyrpApG4K kX8mhgvaltGOx97GvYgSIyaKQuIPK3nX+FvyABB3y6DypKGTpNDemU5B28JFsg== Received: by postfix.alerce.com (Postfix, from userid 501) id 4CFB2201AB5B60; Sun, 16 Feb 2020 10:10:47 -0800 (PST) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <24137.34215.187253.619371@alice.local> Date: Sun, 16 Feb 2020 10:10:47 -0800 To: "\@lbutlr" Cc: FreeBSD Subject: Re: Starting with poudriere In-Reply-To: References: <3743CEAE-BCC9-479E-8367-F3DA0E30496E@kreme.com> <4D118F32-E38F-4860-BBE8-4D9F259BF653@kreme.com> X-Mailer: VM undefined under 26.3 (x86_64-apple-darwin14.5.0) Reply-To: hartzell@alerce.com X-Rspamd-Queue-Id: 48LFXr3QTLz3xC2 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alerce.com header.s=dkim header.b=YHbEXbbU; dmarc=pass (policy=none) header.from=alerce.com; spf=pass (mx1.freebsd.org: domain of hartzell@alerce.com designates 206.125.171.163 as permitted sender) smtp.mailfrom=hartzell@alerce.com X-Spamd-Result: default: False [-5.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[alerce.com:s=dkim]; HAS_REPLYTO(0.00)[hartzell@alerce.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[alerce.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[alerce.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.80)[ip: (-9.07), ipnet: 206.125.168.0/21(-4.54), asn: 25795(-0.35), country: US(-0.05)]; ASN(0.00)[asn:25795, ipnet:206.125.168.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Sun, 16 Feb 2020 18:10:53 -0000 @lbutlr writes: > On 15 Feb 2020, at 21:43, Dan McGrath wrot= e: > > You would run "poudriere bulk", then sit back sipping coffee while= it > > churns through all of the packages. > > Hang on a second, so the intended use for poudriere is to build ALL > packages? That's not a poudriere constraint, it's a packages vs. ports thing. And it's not ALL PACKAGES, it's all the packages you intend to use. You can run a system using pkgs, because the packages are built from a single consistent ports tree. If you're going to build and install things from ports, you should build and install *all the things* from ports so that you can guarantee that everything's using consistent [versions/configurations of] dependencies. If/when you update the ports tree, you should rebuild *all the things* [that have changed]. You can sometimes get away with installing one or two things from ports, but eventually, sadness happens. Populating your own package repository with pkgs that you build from ports gives you the best of both worlds. You can manage your system using the `pkg` tool and/but you get to choose the versions and configuration of the ports you want to use. > Right now I have two jails setup, one for 12.1 amd64 and one for > 11.3 i386. That seems like a *LOT* of compiling/building. I used to be able to build everything I needed to build a postfix/dovecot/etc... mailserver (loosely this: https://www.c0ffee.net/blog/mail-server-guide/) in under an hour on a 2-core 4GB server at ARP networks. Sadly I learned to love ripgrep, so now I need to build rust, which takes ages and ages. > And once I=E2=80=99ve build, say, ImageMagick or > postfix/doveco/.=3Dmariadb/apache/etc how do I then deploy them to > the 11.3 server (as in, a different machine)? The digital ocean tutorial I pointed you at earlier explains this nicely, in the "Configuring Package Clients" section. Rather than bother with nginx I just use: s3cmd sync -F --delete-removed /usr/local/poudriere/data/packages/12_1= -ports/.latest/ s3:///pkg-builder/packages/FreeBSD:12:amd6= 4-ports/ and then perhaps an `s3cmd setacl ...` to set permissions as required. g.