Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 05:35:39 GMT
From:      Eitan Adler <lists@eitanadler.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/155983: [bsd.port.mk] [patch] reaper of the dead: md5 has been in /sbin for a while
Message-ID:  <201103280535.p2S5ZdFg029888@red.freebsd.org>
Resent-Message-ID: <201103280540.p2S5e4ve096899@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         155983
>Category:       ports
>Synopsis:       [bsd.port.mk] [patch] reaper of the dead: md5 has been in /sbin for a while
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 28 05:40:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eitan Adler
>Release:        
>Organization:
>Environment:
>Description:
In all supported versions of FreeBSD (7.1 to head) md5 appears in /sbin and as such the check for the existence of /sbin/md5 is no longer required. 
>How-To-Repeat:

>Fix:
Index: bsd.commands.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.commands.mk,v
retrieving revision 1.7
diff -u -r1.7 bsd.commands.mk
--- bsd.commands.mk	8 Nov 2010 04:47:44 -0000	1.7
+++ bsd.commands.mk	28 Mar 2011 05:03:32 -0000
@@ -102,18 +102,8 @@
 XZ_CMD?=	${LOCALBASE}/bin/xz ${XZ}
 .endif
 
-.if exists(/sbin/md5)
 MD5?=		/sbin/md5
-.else
-MD5?=		md5
-.endif
-.if exists(/sbin/sha256)
 SHA256?=	/sbin/sha256
-.elif exists(${LOCALBASE}/sbin/sha256)
-SHA256?=	${LOCALBASE}/sbin/sha256
-.else
-SHA256?=	NO
-.endif
 
 # ECHO is defined in /usr/share/mk/sys.mk, which can either be "echo",
 # or "true" if the make flag -s is given.  Use ECHO_CMD where you mean


>Release-Note:
>Audit-Trail:
>Unformatted:



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