Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 16:19:43 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
Cc:        Varshavchick Alexander <alex@metrocom.ru>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: lsof and listening processes on 4.5
Message-ID:  <20020211161943.A15860@dragon.nuxi.com>
In-Reply-To: <20020211161835.A15806@dragon.nuxi.com>; from obrien@FreeBSD.org on Mon, Feb 11, 2002 at 04:18:35PM -0800
References:  <Pine.GSO.4.21.0202111135330.19802-100000@apache.metrocom.ru> <Pine.GSO.4.21.0202111459430.1106-100000@apache.metrocom.ru <5.1.0.14.0.20020211131817.01bb0660@mail.drwilco.net> <20020211161835.A15806@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 11, 2002 at 04:18:35PM -0800, David O'Brien wrote:
> We did with 4.5.  Unfortunately the latest LSOF changed how it is packed.
> I spent an hour trying to update the port but got pulled away before I
> was done.  Grab the latest tarball and build by hand.

Here is my patch in progress if someone wants to finish it for me.


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/lsof/Makefile,v
retrieving revision 1.99
diff -u -r1.99 Makefile
--- Makefile	9 Nov 2001 16:16:31 -0000	1.99
+++ Makefile	12 Feb 2002 00:18:54 -0000
@@ -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}/${DISTNAME}_src
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	-n freebsd
@@ -35,28 +35,6 @@
 MAN8=		lsof.8
 
 SRCBALL_NAME=	${DISTNAME:S/_W$//}
-
-.if !defined(FIXUP_RELEASE)
-post-extract:
-	@( cd ${WRKDIR} ; \
-	EXPMD5=`${GREP} MD5 README.${SRCBALL_NAME} | ${SED} 's/^[ ]*//'` ; \
-	CALCMD5=`${MD5} ${SRCBALL_NAME}.tar` ; \
-	if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
-		${ECHO} "Expected and calculated MD5 signatures don't agree." ; \
-		${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
-		exit 1 ; \
-	fi ; \
-	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS:S/z//} ${SRCBALL_NAME}.tar \
-	${EXTRACT_AFTER_ARGS} \
-	)
-	@( cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1 )
-.endif
-
-#pre-patch:
-#	@${ECHO_MSG} "===>  Applying distribution patches for ${PKGNAME}"
-#	@${SED} -e "s|^--- d|--- dialects/freebsd/d|"  \
-#		${DISTDIR}/freebsd_3.0_patch > ${WRKDIR}/p
-#	${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/p
 
 do-install:
 	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -m 2755 -g kmem ${WRKSRC}/lsof ${PREFIX}/sbin
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/lsof/distinfo,v
retrieving revision 1.77
diff -u -r1.77 distinfo
--- distinfo	9 Nov 2001 16:16:31 -0000	1.77
+++ distinfo	12 Feb 2002 00:18:54 -0000
@@ -1 +1 @@
-MD5 (lsof_4.60_W.tar.gz) = a0f8cebc465ae26ad81e519264272175
+MD5 (lsof_4.61.tar.gz) = 583398bc99d265c5a64dbc30e99305cb

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




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