From owner-freebsd-questions@freebsd.org Thu Sep 5 16:04:44 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 768BAEB453 for ; Thu, 5 Sep 2019 16:04:44 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 46PQVx747tz3x2C for ; Thu, 5 Sep 2019 16:04:41 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id C171C33C28; Thu, 5 Sep 2019 12:04:37 -0400 (EDT) From: Lowell Gilbert To: "Kevin P. Neal" Cc: =?gb2312?B?p6On2qfcp+Sn4KfiIKesp+Wn5KfWp9+n3Kfgp9M=?= , freebsd-questions@freebsd.org Subject: Re: Why i need extract not one needed port, but full catalog never needed ports? References: <1567694626.722400563@f512.i.mail.ru> <20190905151446.GA23904@neutralgood.org> Date: Thu, 05 Sep 2019 12:04:36 -0400 In-Reply-To: <20190905151446.GA23904@neutralgood.org> (Kevin P. Neal's message of "Thu, 5 Sep 2019 11:14:46 -0400") Message-ID: <44o8zyenl7.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46PQVx747tz3x2C X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org has no SPF policy when checking 23.30.133.173) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org X-Spamd-Result: default: False [-0.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.880,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.14)[ip: (0.15), ipnet: 23.30.0.0/15(0.42), asn: 7922(-1.21), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[ilk.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.90)[-0.900,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.52)[-0.517,0]; R_SPF_NA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; FREEMAIL_CC(0.00)[mail.ru]; MID_RHS_MATCH_FROM(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: Thu, 05 Sep 2019 16:04:44 -0000 "Kevin P. Neal" writes: > On Thu, Sep 05, 2019 at 05:43:46PM +0300, =A7=A3=A7=DA=A7=DC=A7=E4=A7=E0= =A7=E2 =A7=AC=A7=E5=A7=E4=A7=D6=A7=DF=A7=DC=A7=E0=A7=D3 via freebsd-questio= ns wrote: >>=20 >> Hello. >> I'm try find minimum size OS for server / and as desktop.=20 >> For server I try use freebsd+nginx+python. >> For desktop freebsd+i3. >> The clear freebsd size is ~1Gb. - it is the minimum OS that i found - It= is my favorite now. >> I like work with ports. But why i need dowload and extract ~1Gb empty fo= lders? Is it posible to use next algoritm, for example: >> Do not make portsnap fetch extract >> immediately after installing the system make: >> # /usr/ports/x11/xorg make install clean >> 1. freebsd check the directory /usr/ports/x11/xorg >> >> it is empty >> 2. freebsd check the internet for search "/usr/ports/x11/xorg" >> >> it is found "data" >> 3. freebsd dowload and compile data from internet. >> Why it must make portsnap extract ALL never needed empty folders to >> system before? Is it posible make in future - search and extract >> from internet only one needed port? Like # pkg install xorg > > There are a number of reasons for requiring all of /usr/ports including > the practical impossibility of figuring out ahead of time exactly what is > needed. And even if you wanted to download the files for each port > individually it would take forever iterating until things stopped failing. > Version skew during this process could also be an issue. It's not impossible; it just takes more time and knowledge.=20 In particular, knowledge of make(1) and bsd.port.mk.