ports/155983: [bsd.port.mk] [patch] reaper of the dead: md5 has been in /sbin for a while

Eitan Adler lists at eitanadler.com
Mon Mar 28 05:40:05 UTC 2011


>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:



More information about the freebsd-ports-bugs mailing list