From owner-freebsd-hackers Mon Feb 11 16:29:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id AF2BA37B404 for ; Mon, 11 Feb 2002 16:29:04 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id g1C0Jhb15880; Mon, 11 Feb 2002 16:19:43 -0800 (PST) (envelope-from obrien) Date: Mon, 11 Feb 2002 16:19:43 -0800 From: "David O'Brien" To: "Rogier R. Mulhuijzen" Cc: Varshavchick Alexander , freebsd-hackers@FreeBSD.ORG Subject: Re: lsof and listening processes on 4.5 Message-ID: <20020211161943.A15860@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020211161835.A15806@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020211161835.A15806@dragon.nuxi.com>; from obrien@FreeBSD.org on Mon, Feb 11, 2002 at 04:18:35PM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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