From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 26 10:00:33 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E423316A406 for ; Wed, 26 Apr 2006 10:00:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2BC543D49 for ; Wed, 26 Apr 2006 10:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3QA0V3Q039056 for ; Wed, 26 Apr 2006 10:00:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3QA0ViY039055; Wed, 26 Apr 2006 10:00:31 GMT (envelope-from gnats) Resent-Date: Wed, 26 Apr 2006 10:00:31 GMT Resent-Message-Id: <200604261000.k3QA0ViY039055@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Auster Vl." Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B38B116A409 for ; Wed, 26 Apr 2006 09:52:16 +0000 (UTC) (envelope-from yx@esus.ixn.net.ua) Received: from relay1.ixn.net.ua (relay1.ixn.net.ua [80.70.80.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BC0C43D46 for ; Wed, 26 Apr 2006 09:52:12 +0000 (GMT) (envelope-from yx@esus.ixn.net.ua) Received: from esus.ixn.net.ua (localhost [127.0.0.1]) by relay1.ixn.net.ua (8.13.6/8.13.6) with ESMTP id k3Q9q7rv012746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 26 Apr 2006 12:52:07 +0300 (EEST) (envelope-from yx@esus.ixn.net.ua) Received: (from yx@localhost) by esus.ixn.net.ua (8.13.6/8.13.6/Submit) id k3Q9q6hL012745; Wed, 26 Apr 2006 12:52:06 +0300 (EEST) (envelope-from yx) Message-Id: <200604260952.k3Q9q6hL012745@esus.ixn.net.ua> Date: Wed, 26 Apr 2006 12:52:06 +0300 (EEST) From: "Auster Vl." To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/96356: lsof-4.77 on fbsd4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Auster Vl." List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 10:00:34 -0000 >Number: 96356 >Category: ports >Synopsis: lsof-4.77 on fbsd4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 26 10:00:30 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Auster Vl. >Release: FreeBSD 4.11-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD 4.11-RELEASE-p9 i386 >Description: invalid option `m' (for grep-2.4d) in sysutils/lsof/Makefile. >How-To-Repeat: make sysutils/lsof PORTVERSION=4.77 on fbsd4. # cd /usr/ports/sysutils/lsof ===> Extracting for lsof-4.77 => MD5 Checksum OK for lsof_4.77.tar.bz2. => SHA256 Checksum OK for lsof_4.77.tar.bz2. /usr/bin/grep: invalid option -- m Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. Expected and calculated MD5 signatures don't agree. ( != MD5 (lsof_4.77_src.tar) = 42d3927386adb1e1871b97a286fa00d2) *** Error code 1 Stop in /usr/ports/sysutils/lsof. >Fix: --- /usr/ports/sysutils/lsof/Makefile.orig +++ /usr/ports/sysutils/lsof/Makefile @@ -51,7 +51,7 @@ .if !defined(FIXUP_RELEASE) post-extract: @( cd ${WRKDIR}/${DISTNAME} ; \ - EXPMD5=`${GREP} -m 1 MD5 README.${DISTNAME} | ${SED} 's/[ ]*//'` ; \ + EXPMD5=`${SED} -n 's/^[[:blank:]]*\(MD5*=*\)/\1/p' README.${DISTNAME}` ; \ CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \ if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \ ${ECHO} "Expected and calculated MD5 signatures don't agree." ; \ >Release-Note: >Audit-Trail: >Unformatted: