Re: git tools for building in base?

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Wed, 25 Nov 2020 10:05:48 -0500
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_at_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.

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

GPG Key ID:          0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

Received on Wed Nov 25 2020 - 14:05:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC