svn commit: r508510 - in head/sysutils/lsof: . files
Larry Rosenman
ler at FreeBSD.org
Sat Aug 10 22:44:29 UTC 2019
Author: ler
Date: Sat Aug 10 22:44:28 2019
New Revision: 508510
URL: https://svnweb.freebsd.org/changeset/ports/508510
Log:
sysutils/lsof: fix build on -current, fix man page
- fix build post r350531 [0]
- fix manpage. [1]
PR: 239686 [1], 239754 [0]
Submitted by: yasu at utahime.org [0], jamie at catflap.org [1]
Added:
head/sysutils/lsof/files/patch-dialects_freebsd_dsock.c (contents, props changed)
Modified:
head/sysutils/lsof/Makefile
Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile Sat Aug 10 22:23:41 2019 (r508509)
+++ head/sysutils/lsof/Makefile Sat Aug 10 22:44:28 2019 (r508510)
@@ -3,7 +3,7 @@
PORTNAME= lsof
DISTVERSION= 4.93.2
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 8
CATEGORIES= sysutils
@@ -36,7 +36,8 @@ IGNORE+= requires kernel sources
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/Lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8
+ (cd ${WRKSRC} && ${SED} 's/\\$$/\\DUMMY/' Lsof.8 | mandoc -T man | ${SED} 's/DUMMY$$//' > ${WRKSRC}/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*
Added: head/sysutils/lsof/files/patch-dialects_freebsd_dsock.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/lsof/files/patch-dialects_freebsd_dsock.c Sat Aug 10 22:44:28 2019 (r508510)
@@ -0,0 +1,11 @@
+--- dialects/freebsd/dsock.c.orig 2019-05-08 07:32:25 UTC
++++ dialects/freebsd/dsock.c
+@@ -182,7 +182,7 @@ process_socket(sa)
+ #endif /* FREEBSDV<4050 */
+
+ #if defined(HASIPv6) && !defined(HASINRIAIPv6)
+- struct in6pcb in6p;
++ struct inpcb in6p;
+ #endif /* defined(HASIPv6) && !defined(HASINRIAIPv6) */
+
+ (void) snpf(Lf->type, sizeof(Lf->type), "sock");
More information about the svn-ports-all
mailing list