ports problem in an old system ver 4.9
RW
rwmaillists at googlemail.com
Thu May 26 23:16:51 UTC 2011
On Thu, 26 May 2011 15:40:09 -0700
Chuck Swiger <cswiger at 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.
More information about the freebsd-questions
mailing list