aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-06-16 14:27:18 +0800
committerobrien <obrien@FreeBSD.org>2001-06-16 14:27:18 +0800
commit6346e78f9ba9914fd69b662fb0d9885ac9317f6c (patch)
tree80f35cf2f87c48987cbfea239662cf12e97d21d6 /sysutils/lsof
parent23cc1d2588dfb61cf36b8e65b2a2381b2d8c7b7c (diff)
downloadfreebsd-ports-gnome-6346e78f9ba9914fd69b662fb0d9885ac9317f6c.tar.gz
freebsd-ports-gnome-6346e78f9ba9914fd69b662fb0d9885ac9317f6c.tar.zst
freebsd-ports-gnome-6346e78f9ba9914fd69b662fb0d9885ac9317f6c.zip
Update to 4.56.4.
This fixes the fdescfs support in the latest 5-CURRENT (post FS /sys reorg).
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile24
-rw-r--r--sysutils/lsof/distinfo2
2 files changed, 15 insertions, 11 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index c10c57817ede..c6c08d52beb5 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= lsof
-PORTVERSION= 4.56.3
+PORTVERSION= 4.56.4
CATEGORIES= sysutils
MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/ \
@@ -19,7 +19,7 @@ MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
ftp://ftp.sunet.se/pub/unix/admin/lsof/ \
ftp://ftp.sunet.se/pub/unix/admin/lsof/NEW/
#DISTNAME= ${PORTNAME}_${PORTVERSION}_W
-DISTNAME= ${PORTNAME}_4.57C.freebsd
+DISTNAME= ${PORTNAME}_4.57D.freebsd
MAINTAINER= obrien@FreeBSD.org
@@ -31,12 +31,6 @@ CONFIGURE_ENV= LSOF_CC="${CC}"
FREEBSD_SYS?= /usr/src/sys
MAN8= lsof.8
-.if defined(PACKAGE_BUILDING)
-.if !exists(${FREEBSD_SYS}/miscfs/fdesc/fdesc.h)
-BROKEN= 'please install kernel source for official package builds'
-.endif
-.endif
-
SRCBALL_NAME= ${DISTNAME:S/_W$//}
post-extract:
@@ -66,8 +60,16 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof
@${CHMOD} 0444 ${PREFIX}/share/lsof/00*
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500019
.if !exists(${FREEBSD_SYS}/miscfs/fdesc/fdesc.h)
-post-install:
+.if defined(PACKAGE_BUILDING)
+BROKEN= 'please install kernel source for official package builds'
+.endif
+
+pre-configure:
+ @${ECHO} ""
@${ECHO} "************************************************************"
@${ECHO} "* W a r n i n g *"
@${ECHO} "* A more capable version of LSOF is built if you have *"
@@ -76,6 +78,8 @@ post-install:
@${ECHO} "* /usr/src/sys, you may set the FREEBSD_SYS variable *"
@${ECHO} "* to the correct path. *"
@${ECHO} "************************************************************"
+ @${ECHO} ""
+.endif
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index f23607553148..cc8eef5a4608 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1 +1 @@
-MD5 (lsof_4.57C.freebsd.tar.gz) = e5f68722c716bc497af45b250bb3eb38
+MD5 (lsof_4.57D.freebsd.tar.gz) = e42cb1d4643bb4915ab887ecabcd47e2