Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2020 22:25:42 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@freebsd.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, Warner Losh <imp@bsdimp.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: git tools for building in base?
Message-ID:  <X9vM1ijN3MWIMeBm@acme.spoerlein.net>
In-Reply-To: <20201125150548.vkqgtlqnawgwujbn@mutt-hbsd>
References:  <X714z7pMgNOFaTIc@rpi4.local> <CANCZdfrjSkrgx6B%2B_At7uBZN_eWQWa--1pky65nZueAr0F-zxQ@mail.gmail.com> <20201125150050.bz62hatil6sbhdwn@ivaldir.net> <20201125150548.vkqgtlqnawgwujbn@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2020-11-25 at 10:05:48 -0500, Shawn Webb wrote:
>On Wed, Nov 25, 2020 at 04:00:50PM +0100, Baptiste Daroussin wrote:
>> On Tue, Nov 24, 2020 at 09:59:15PM -0700, Warner Losh wrote:
>> > On Tue, Nov 24, 2020 at 2:19 PM tech-lists <tech-lists@zyxst.net> wrote:
>> >
>> > > As subject - what will there be in base to interact with the new git repo?
>> > > I mean, right now, for svn there is svnlite. What for git?
>> > >
>> >
>> > 'pkg add git' is your choice now.
>>
>> pkg install not pkg add
>
>There's also fetch for a one-time download of the ports tree
>(bootstrapping ports, for example). A HardenedBSD user would do this:
>
>fetch -o ports.tar.gz \
>    https://git-01.md.hardenedbsd.org/HardenedBSD/hardenedbsd-ports/archive/master.tar.gz
>
>mkdir -p /usr/ports
>
>tar -xf ports.tar.gz --strip-components 1 -C /usr/ports
>
>Something similar could be done in FreeBSDlandia.
>

cgit supports this of course, so the troglodytes can download 
src/ports/doc from cgit, using only FreeBSD-provided tools like so:

fetch -o- https://cgit.freebsd.org/doc/snapshot/doc-main.tar.gz | tar -C /usr/doc -xf -

hth
Uli



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