From nobody Thu Sep 12 18:41:20 2024 X-Original-To: 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 4X4R9g4LC7z5WV9t for ; Thu, 12 Sep 2024 18:41:43 +0000 (UTC) (envelope-from pat@patmaddox.com) Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (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) by mx1.freebsd.org (Postfix) with ESMTPS id 4X4R9f38qxz4fZt for ; Thu, 12 Sep 2024 18:41:42 +0000 (UTC) (envelope-from pat@patmaddox.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=patmaddox.com header.s=fm3 header.b="ZF+hC/8H"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="V Li1hAU"; dmarc=none; spf=pass (mx1.freebsd.org: domain of pat@patmaddox.com designates 103.168.172.150 as permitted sender) smtp.mailfrom=pat@patmaddox.com Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 1318B13800D0; Thu, 12 Sep 2024 14:41:41 -0400 (EDT) Received: from phl-imap-01 ([10.202.2.91]) by phl-compute-01.internal (MEProxy); Thu, 12 Sep 2024 14:41:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=patmaddox.com; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1726166501; x=1726252901; bh=ibZZqLhZyAtaRuffnVo5t3wUlMw8CWwOiS6lFfiXOzo=; b= ZF+hC/8HyVaRszTIj52R61tEmKZ90Ve2sGRI8GziDoP4kj+3VFqsoQaCRPTZ9axE t5tUajDk7oA70V9ZMQmC0yCqgN916Dg6RttyOXbAi/D23UXUzTDRAr4vZmRBxoo2 RTbyLlJ2kIjP6Qs0b1aG1oo8YpAejymxUA8cwsYI2cVtB56VgpVQqYrh0sdt0BAZ bRj+8Xb0lJzL30pdLqkFcO+u0zpGbPN32gcYwRWmXljZPm+eEJjYS7sbj+sOBmbN ovnjWd7HkVs2ULQVbsMlTtnMWH+7Quzhz6pPDVkmLql6nW+nJqt8PRcAHtpRCoyJ HEbYwSgrGseIimb51Tc8VQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1726166501; x= 1726252901; bh=ibZZqLhZyAtaRuffnVo5t3wUlMw8CWwOiS6lFfiXOzo=; b=V Li1hAU5SVzVPO/qp+T78w2pCgBnSGnbezQDMW3JnFSawOQ2CO52R/DtnS87VQnpJ xM2Gx6AScwIGLNgHUdMd8UofDnjL3aI4L0i7j5BAl9VcS3pkbsOcXEimMvB0Yv9p nvgJ6nJ8rqjRcHTvB6YA2JONRXhgo2zwqE6q1SXh8SzOzA1BjPmxH9sF4YCLQUFV guWx9OqvUee7FdCfpHAZfVdzIx7ltvUZZ1SakxY8zMcZXV477lDAC1Q6zdRX7IdJ rbRJ5HGoZQ3lnyDumWSdSFdIppMJsdbugaJFQlOGyZtwuVf8zIfOoQ3GHwFL0CZL J9gb9i4XJ6Kp442mKvxOA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudejfedgudeftdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff fhvffkjghfufgtgfesthejredtredttdenucfhrhhomhepfdfrrghtucforgguughogidf uceophgrthesphgrthhmrgguughogidrtghomheqnecuggftrfgrthhtvghrnhepgfeule duveevudfgheevueeufedvkeejfefgheekvdelieehteehgfejhfdvjefhnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgrthesphgrthhmrg guughogidrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepqhhuvghsthhiohhnshesfhhrvggvsghsugdrohhrgh X-ME-Proxy: Feedback-ID: i8b6c40f9:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id AFABA3360077; Thu, 12 Sep 2024 14:41:40 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Date: Thu, 12 Sep 2024 11:41:20 -0700 From: "Pat Maddox" To: questions@freebsd.org Message-Id: <75bbb16a-7a37-403b-9b55-c8f18f52d7c6@app.fastmail.com> In-Reply-To: References: Subject: Re: port installation basics Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.79 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; RWL_MAILSPIKE_VERYGOOD(-0.20)[103.168.172.150:from]; R_DKIM_ALLOW(-0.20)[patmaddox.com:s=fm3,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.150:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[pat]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[patmaddox.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[patmaddox.com:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4X4R9f38qxz4fZt On Thu, Sep 12, 2024, at 11:25 AM, fatty.merchandise677@aceecat.org wrote: > Hello, I'm trying FreeBSD again (penguin news is depressing) and I > face again some of the problems I remember. > > I am torn between packages and ports. I read discouraging things about > using both, and yet I seem to need both for the following reasons: > > - there are a few things I absolutely must have on a system to do > anything at all (so in particular, to set up and compile ports): > bash, sudo, screen, vim, rsync, git. I think that covers it. > These are not in the base, so I must install packages for them. > This alone wouldn't be a show stopper because I could rebuild them > from ports once I'm up and running. But. > > - I have not figured out how to build ports without getting sucked > into unbounded rabbit holes of configuration dialogs. I know the > advice to do `make config-recursive` upfront, but it doesn't help: > what seems to be happening is that I get config dialogs for *all > potential* recursive dependencies of the port I'm building, > regardless of my answers along the way. For example, even if I > exclude X11 support in git configuration, I am then confronted with > dialogs which are only relevant to gitk. Is there any way to avoid > this? > > - on the other hand, some packages are egregiously over-configured, > often with GUI extras I have no use for. For example, graphviz. I > just want to run dot to build png or pdf files. So this would be a > good time to use a port (which I assume can disable the GUI parts), > if it weren't for the above. > > Your thoughts? Thanks, > > -- > Ian Do you not want to install packages? In terms of options, they often have "flavors" that strip things down. For example, package emacs-nox is built from port emacs@nox (emacs with nox flavor) and is CLI-only. The only reason you _need_ to build ports today is 1) you are on 14.1 and use drm-kmod (package repo currently still builds on 14.0), or other kernel packages 2) you want to build with specific options. I build my ports with poudriere, and it uses default config unless you tell it otherwise. So I never get stuck in unbounded rabbits hole of configuration dialogs. Pat