Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2002 21:16:44 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35391: [PATCH] Update sysutils/lsof to 4.61
Message-ID:  <200202280216.g1S2GiM46609@shumai.marcuscom.com>

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

>Number:         35391
>Category:       ports
>Synopsis:       [PATCH] Update sysutils/lsof to 4.61
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 18:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
MarcusCom, Inc.
>Environment:
System: FreeBSD shumai.marcuscom.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 24 14:19:35 EST 2002 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386


	
>Description:
Update the lsof port to 4.61.  I was only able to test this on -stable, but
it seems to work just fine.  David mentioned he was accepting patches....
>How-To-Repeat:
	
>Fix:

	

--- lsof.diff begins here ---
--- Makefile.orig	Wed Feb 27 21:13:18 2002
+++ Makefile	Wed Feb 27 21:09:40 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	lsof
-PORTVERSION=	4.60
+PORTVERSION=	4.61
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/  \
 		ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/ \
@@ -21,12 +21,12 @@
 #DISTNAME=	${PORTNAME}_4.59B.freebsd
 #FIXUP_RELEASE=	yes
 .if !defined(FIXUP_RELEASE)
-DISTNAME=	${PORTNAME}_${PORTVERSION}_W
+DISTNAME=	${PORTNAME}_${PORTVERSION}
 .endif
 
 MAINTAINER=	obrien@FreeBSD.org
 
-WRKSRC=		${WRKDIR}/${SRCBALL_NAME}
+WRKSRC=		${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	-n freebsd
@@ -34,12 +34,13 @@
 FREEBSD_SYS?=	/usr/src/sys
 MAN8=		lsof.8
 
-SRCBALL_NAME=	${DISTNAME:S/_W$//}
+SRCBALL_NAME=	${DISTNAME}_src
 
 .if !defined(FIXUP_RELEASE)
 post-extract:
-	@( cd ${WRKDIR} ; \
-	EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \
+	@( cd ${WRKDIR}/${DISTNAME} ; \
+	EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME:S/_src$//} | \
+		${SED} 's/^[ ]*//'` ; \
 	CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
 	if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
 		${ECHO} "Expected and calculated MD5 signatures don't agree." ; \
--- distinfo.orig	Wed Feb 27 21:13:24 2002
+++ distinfo	Wed Feb 27 20:59:36 2002
@@ -1 +1 @@
-MD5 (lsof_4.60_W.tar.gz) = a0f8cebc465ae26ad81e519264272175
+MD5 (lsof_4.61.tar.gz) = 583398bc99d265c5a64dbc30e99305cb
--- lsof.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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