From owner-freebsd-questions@freebsd.org Mon Jul 15 03:44:04 2019 Return-Path: Delivered-To: freebsd-questions@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 9634EAF1EF for ; Mon, 15 Jul 2019 03:44:04 +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 AA270737C8 for ; Mon, 15 Jul 2019 03:44:03 +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 A79ECDFE4; Sun, 14 Jul 2019 20:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alerce.com; s=dkim; t=1563162234; 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=7NFxDcN9uw6RIpZpIaA9cXB2L/WmXKzivV4brAxN0no=; b=lZWXVd3DAZEy9pcDfq3taLfOK7KRGtnqVvJG1rsvzAI8zLQFJou+JI+Y9Meq/jxBvFw3P+ iob12roXxDy3JwSHvXI4Uh5GBxE8EdDhYS1oT5wsefjwb1OuaOIO8F3zO4l34VMSMNgP6J 5BFrTab5/chRjQxFrz/L+FDSTrQUFYD+eT4dmA6j+H4jLvYciY7m9N/5IJa57gsafJMlG3 LuI2lTNCZVtUfMzs6stRf/x+jk+VFL+GrnqLc9tbm97xJ4aN/q0rdY9nE9qvPnQjgdYi8h P9+EvTZAjtwtttqnyPh/sRABRsrO5TmaZSAt7JeRij7fIIF4ow1shsLETcDpjw== Received: by postfix.alerce.com (Postfix, from userid 501) id 5CD352010078DF; Sun, 14 Jul 2019 20:43:53 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23851.63097.288562.464876@alice.local> Date: Sun, 14 Jul 2019 20:43:53 -0700 To: hw Cc: freebsd-questions@freebsd.org Subject: Re: What does it mean to use ports? In-Reply-To: <87o91wqjl5.fsf@toy.adminart.net> References: <87o91wqjl5.fsf@toy.adminart.net> X-Mailer: VM undefined under 26.1 (x86_64-apple-darwin14.5.0) Reply-To: hartzell@alerce.com X-Rspamd-Queue-Id: AA270737C8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alerce.com header.s=dkim header.b=lZWXVd3D; 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 [-3.79 / 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)[]; TO_DN_SOME(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]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[alerce.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[alerce.com,none]; MX_GOOD(-0.01)[corvid.alerce.com]; IP_SCORE(-1.00)[ipnet: 206.125.168.0/21(-4.67), asn: 25795(-0.26), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.78)[-0.784,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:206.125.168.0/21, country:US]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2019 03:44:04 -0000 hw writes: > Hi, > > so I wanted to see what would happen if I used a port and removed the > emacs-nox packages and its dependencies. Then I started installing the > emacs port. > > What is going on here? It seems as if I need to compile the whole > system myself now. > > Is there a way to give all the answers to the questions about compile > options at the beginning? I don't have time to sit around until the > next question shows up. > > What if I want to change the compile options? How do I make it so that > all the packages asking for me for options will do so again? I don't > even remember all the packages that want to be compiled. > > Can I globally set compile options like -march=native (or whatever the > equivalent for FreeBSD is)? You can also build your own set of packages from the ports (the official packages are official only because they're built by the official people...). There are two different bits of tooling that automate the process: - poudriere -- this is mostly oriented towards building packages repos that are used by multiple downstream systems, but I use it to maintain the set of packages for my mail server - the handbook docs are here: https://www.freebsd.org/doc/handbook/ports-poudriere.html - Digital Ocean has a nice tutorial here: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-poudriere-build-system-to-create-packages-for-your-freebsd-servers - synth -- mostly oriented towards single system setups, though it can easily build shared repos. - github repo here: https://github.com/jrmarino/synth g.