From owner-freebsd-ports-bugs@freebsd.org Wed Aug 7 03:50:28 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0A76BCEFF for ; Wed, 7 Aug 2019 03:50:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 463Hb84Fb6z49m4 for ; Wed, 7 Aug 2019 03:50:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8FD1EBCEF8; Wed, 7 Aug 2019 03:50:28 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F8A8BCEF6 for ; Wed, 7 Aug 2019 03:50:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 463Hb838SBz49m2 for ; Wed, 7 Aug 2019 03:50:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4EF4A697F for ; Wed, 7 Aug 2019 03:50:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x773oSF1095815 for ; Wed, 7 Aug 2019 03:50:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x773oSej095814 for ports-bugs@FreeBSD.org; Wed, 7 Aug 2019 03:50:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239686] sysutils/lsof Broken man page (includes fix) Date: Wed, 07 Aug 2019 03:50:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jamie@catflap.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ler@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2019 03:50:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239686 Bug ID: 239686 Summary: sysutils/lsof Broken man page (includes fix) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ler@FreeBSD.org Reporter: jamie@catflap.org Assignee: ler@FreeBSD.org Flags: maintainer-feedback?(ler@FreeBSD.org) Created attachment 206316 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206316&action= =3Dedit patch-Makefile - fix the man page before install "man lsof" returns no such man page exists. The man page does exist, but it uses the ".so" include directive. This directive tries to include additional files, which exist in the stagedir, b= ut not on install. This patch uses 'mandoc' to pre-process the ".so" directive at build time. = It also includes a SED kludge to fix a weird error. The result of this patch is: * 04:48 (303) "lsof-4.93.2" root@thompson# sed 's/\\$/\\DUMMY/' Lsof.8 | ma= ndoc -man -T man | sed 's/DUMMY$//' | diff - Lsof.8 1,2c1 < .ds VN 4.93.2 < --- > .so ./version 78,82c77 < Apple Darwin 9 and Mac OS X 10.[567] < FreeBSD 8.[234], 9.0 and 1[012].0 for AMD64-based systems < Linux 2.1.72 and above for x86-based systems < Solaris 9, 10 and 11 < --- > .so ./00DIALECTS 4533d4527 < The patch is attached: cheers, Jamie --=20 You are receiving this mail because: You are the assignee for the bug.=