From owner-freebsd-questions@FreeBSD.ORG Thu May 26 23:16:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDCA3106566B for ; Thu, 26 May 2011 23:16:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D97F8FC19 for ; Thu, 26 May 2011 23:16:50 +0000 (UTC) Received: by wyf23 with SMTP id 23so1194973wyf.13 for ; Thu, 26 May 2011 16:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=JOPSqCFuQD5MUDCmJEZcJQvOOesKWtfy/j2DSzMvlV0=; b=XzewSbRIrrUrOfxqlLHB0D/LTuUti8XdYjQKvz18YuKIjgTr7zRruuKy4B6M0FTHdX zDfEfEp4WvigI34wRuECxCzpxMKkhldlyzZBFKMHVLPvxbTdhJarZDo0+9HqUiBBikUQ Lrj2/ES7Xnd4OWfB2APOgS6JMrhc9t1ieG300= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=hneK8Y7Gq5ww8Oq8s9EgrGxybBatIKDF8AUY131BM9lRP1xKlvNr1iy62j+0kb34yi xPj41ogfZOLq3AY0Y6y8QnIiv4ANiJD9G3SrVXMhhq22oNJB1HNyNUGO4fP0Qu4s95LU sBbYBBwYiRw91mx6uyLB+zUPE3d07DDEJmdms= Received: by 10.227.196.209 with SMTP id eh17mr1439447wbb.5.1306451810228; Thu, 26 May 2011 16:16:50 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id 14sm799396wbw.66.2011.05.26.16.16.48 (version=SSLv3 cipher=OTHER); Thu, 26 May 2011 16:16:49 -0700 (PDT) Date: Fri, 27 May 2011 00:16:45 +0100 From: RW To: freebsd-questions@freebsd.org 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> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ports problem in an old system ver 4.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2011 23:16:51 -0000 On Thu, 26 May 2011 15:40:09 -0700 Chuck Swiger 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.