Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2011 00:16:45 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ports problem in an old system ver 4.9
Message-ID:  <20110527001645.08de85ae@gumby.homeunix.com>
In-Reply-To: <30114554-DF76-4375-9A80-EEFFE2112165@mac.com>
References:  <20110526220140.GA13062@skytracker.ca> <30114554-DF76-4375-9A80-EEFFE2112165@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 May 2011 15:40:09 -0700
Chuck Swiger <cswiger@mac.com> wrote:

> On May 26, 2011, at 3:01 PM, David Banning wrote:
> > I have an old FreeBSD 4.9 installation that I cannot upgrade.
> 
> You've also got a FreeBSD installation which the ports tree does not
> support.
> 
> > I wanted to install something from the ports, but I am getting
> > this error on almost every port;
> > 
> > # make
> > ===>  Vulnerability check disabled, database not found
> > ===>  License check disabled, port has not defined LICENSE
> > ===>  Extracting for rsnapshot-1.3.1
> > /sbin/sha256: not found
> > *** Error code 127
> > 
> > Stop in /usr/ports/sysutils/rsnapshot.
> 
> I believe you can obtain a sha256 binary from GNU coreutils (although
> GNU calls it sha256sum), and then install it to /sbin.

It's not drop-in replacement. The FreeBSD version sensibly just outputs
the hash when hashing from stdin, but the gnu version prints a trailing
"-". It may be that the ports makefiles ignore the extra field, but it
may require a wrapper script.



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