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= [EMAIL PROTECTED] -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 [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message