Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Sep 2019 12:04:36 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Kevin P. Neal" <kpn@neutralgood.org>
Cc:        =?gb2312?B?p6On2qfcp+Sn4KfiIKesp+Wn5KfWp9+n3Kfgp9M=?= <harpy@mail.ru>, freebsd-questions@freebsd.org
Subject:   Re: Why i need extract not one needed port, but full catalog never needed ports?
Message-ID:  <44o8zyenl7.fsf@be-well.ilk.org>
In-Reply-To: <20190905151446.GA23904@neutralgood.org> (Kevin P. Neal's message of "Thu, 5 Sep 2019 11:14:46 -0400")
References:  <1567694626.722400563@f512.i.mail.ru> <20190905151446.GA23904@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Kevin P. Neal" <kpn@neutralgood.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44o8zyenl7.fsf>