From owner-freebsd-questions@freebsd.org Sat Mar 21 21:13:51 2020 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 839BC26CBC7 for ; Sat, 21 Mar 2020 21:13:51 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48lD0G2G1Yz4NGT for ; Sat, 21 Mar 2020 21:13:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.61.151] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1jFlRD-0001fp-L6 for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 22:13:47 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id 02LLDkCW008527 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 21 Mar 2020 22:13:46 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id 02LLDk1X008526 for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 22:13:46 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 21 Mar 2020 22:13:46 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: Offline Ports Tree Message-ID: <20200321211346.GA8475@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org References: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.61.151 X-Rspamd-Queue-Id: 48lD0G2G1Yz4NGT X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [1.28 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RECEIVED_SPAMHAUS_PBL(0.00)[151.61.174.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[unixarea.de.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.41)[0.412,0]; RCPT_COUNT_ONE(0.00)[1]; REPLYTO_EQ_FROM(0.00)[]; DMARC_NA(0.00)[unixarea.de]; NEURAL_SPAM_LONG(0.80)[0.800,0]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-1.23)[ip: (-8.08), ipnet: 178.254.0.0/19(1.00), asn: 42730(0.94), country: DE(-0.02)] 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: Sat, 21 Mar 2020 21:13:51 -0000 El día sábado, marzo 21, 2020 a las 09:43:31p. m. +0100, Mateusz Piotrowski escribió: > On 3/21/20 9:41 PM, Ihor Antonov wrote: > > Hi, > > > > I am trying to figure out if I can have a fully offline, self-sufficient > > ports tree. > > > > Just the ports tree itself contains instructions how to build things > > and how to fetch the sources. Is there an automated way download all the > > source tarballs (and clone all git/svn repos) that ports refer to? > > The goal is to be able to build ports in an offline environment. > Isn't make fetch executed in the root directory of the ports tree (e.g., > /usr/ports) sufficient? Wouldn't this not also depend of the defined options for the ports, i.e. which pieces must be download to fill any option? And not to talk about to clear all the hick-ups of fetch for servers not reachable, not existing files, checksum mismatches, etc. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub