Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2019 15:10:00 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500967 - in head/sysutils/lsof: . files
Message-ID:  <201905071510.x47FA0cI028996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ler
Date: Tue May  7 15:09:59 2019
New Revision: 500967
URL: https://svnweb.freebsd.org/changeset/ports/500967

Log:
  sysutils/lsof: move to GitHub, update to 4.93.1
  
  Changes since 4.92:
  
  4.93.0    May 7, 2019
  
      [freebsd] Made FreeBSD 13 adjustment.
      [darwin] Fix a typo causing a build error.
      Fix a potential memory leak.
      [linux] use tirpc for rpc if libc doesn't provide rpc.h.
      Fix a typo in man page.
      [linux] fix memory leaks detected by valgrind about unix
      endpoint information.
      Update the description about -fg and -fG options on linux.
  
  4.93.1    May 7, 2019
  
      Fix a broken symbolic link.
  
  The new features developed at lsof-org/lsof-linux repository is not
  merged yet.

Deleted:
  head/sysutils/lsof/files/patch-Configure
Modified:
  head/sysutils/lsof/Makefile
  head/sysutils/lsof/distinfo

Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile	Tue May  7 15:01:43 2019	(r500966)
+++ head/sysutils/lsof/Makefile	Tue May  7 15:09:59 2019	(r500967)
@@ -2,14 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	lsof
-DISTVERSION=	4.92B
-PORTREVISION=	1
+DISTVERSION=	4.93.1
 PORTEPOCH=	8
 CATEGORIES=	sysutils
-MASTER_SITES=	ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
-		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
-		LOCAL/ler/lsof 
-DISTNAME=	${PORTNAME}_${DISTVERSION}${DISTNAME_SUFFIX}
 
 MAINTAINER=	ler@FreeBSD.org
 COMMENT=	Lists information about open files (similar to fstat(1))
@@ -19,47 +14,43 @@ LICENSE_NAME=	lsof
 LICENSE_FILE=	${FILESDIR}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-#Please leave the below line in for the next clean up.
-FIXUP_RELEASE=	YES
-.if defined(FIXUP_RELEASE)
-DISTNAME_SUFFIX=.freebsd
-.else
-SRCBALL_NAME=	${DISTNAME:S/_W$//}_src
-WRKSRC=		${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
-.endif
+USES=		shebangfix tar:bzip2
+
 HAS_CONFIGURE=	yes
 
-USES=		shebangfix tar:bzip2
+USE_GITHUB=	yes
+GH_ACCOUNT=	lsof-org
+
 SHEBANG_FILES=	scripts/sort_res.perl5
 
+.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
+IGNORE=		requires kernel sources
+.endif
+
 .include <bsd.port.pre.mk>
 
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	-n freebsd
 CONFIGURE_ENV=	LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
 
-.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
-IGNORE=		requires kernel sources
-.endif
+# .if !defined(FIXUP_RELEASE)
+# post-extract:
+# 	@( cd ${WRKDIR}/${DISTNAME} ; \
+# 	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." ; \
+# 		${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
+# 		exit 1 ; \
+# 	fi ; \
+# 	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${SRCBALL_NAME}.tar ${EXTRACT_AFTER_ARGS} \
+# 	)
+# 	@( cd ${WRKSRC} ; ${ECHO_CMD} "y" | ./Inventory || exit 1 )
+# .endif
 
-.if !defined(FIXUP_RELEASE)
-post-extract:
-	@( cd ${WRKDIR}/${DISTNAME} ; \
-	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." ; \
-		${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
-		exit 1 ; \
-	fi ; \
-	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${SRCBALL_NAME}.tar ${EXTRACT_AFTER_ARGS} \
-	)
-	@( cd ${WRKSRC} ; ${ECHO_CMD} "y" | ./Inventory || exit 1 )
-.endif
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8
+	${INSTALL_MAN} ${WRKSRC}/Lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/lsof
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/share/lsof
 	@${CHMOD} 0444 ${STAGEDIR}${PREFIX}/share/lsof/00*

Modified: head/sysutils/lsof/distinfo
==============================================================================
--- head/sysutils/lsof/distinfo	Tue May  7 15:01:43 2019	(r500966)
+++ head/sysutils/lsof/distinfo	Tue May  7 15:09:59 2019	(r500967)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1528308653
-SHA256 (lsof_4.92B.freebsd.tar.bz2) = 7abcc69c265acf13e77573ca5e105cc647119e95199650f7af714f0239e092b4
-SIZE (lsof_4.92B.freebsd.tar.bz2) = 491292
+TIMESTAMP = 1557240808
+SHA256 (lsof-org-lsof-4.93.1_GH0.tar.gz) = ae522562e94bde45ef16d401f374ac4399b44443d1aa91cb0c7900857ea771ca
+SIZE (lsof-org-lsof-4.93.1_GH0.tar.gz) = 1319055



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