From owner-freebsd-ports@freebsd.org Thu Dec 28 00:15:09 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFF50E87F2B for ; Thu, 28 Dec 2017 00:15:09 +0000 (UTC) (envelope-from srs0=vdgd=dy=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id CA6597F3D4 for ; Thu, 28 Dec 2017 00:15:09 +0000 (UTC) (envelope-from srs0=vdgd=dy=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 3z6Vbc5l4Hz2fjWc for ; Wed, 27 Dec 2017 16:15:08 -0800 (PST) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: Of LSOF Date: Wed, 27 Dec 2017 16:15:08 -0800 References: <4DB6D455-3F50-4AC9-83A4-0AFD06B6058C@FreeBSD.org> To: FreeBSD Ports In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.5.20) X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2017 00:15:10 -0000 > On 27 December 2017, at 16:05, Kevin Oberman = wrote: >=20 > On Wed, Dec 27, 2017 at 3:47 PM, Doug Hardie wrote: > > On 27 December 2017, at 13:26, Dave Horsfall = wrote: > > > > On Tue, 26 Dec 2017, Kevin Oberman wrote: > > > >> [...] Putting header files into the port is a non-starter as they = MUST match the kernel on which lsof is built. I added lsof to = PORTS_MODULES so it is rebuilt with any new kernel on my stable system = and on one release system so I can use that package to install elsewhere = rather then use the repo package. > > > > Good point; thanks. "lsof" is a superb tool, BTW... > > > >> Now that 10.3 is EOL I would expect that the package built for = 10-STABLE would be built on 10.4-RELEASE, but I don't know for sure. It = should be and the next quarterly should be 10.4 based, too. > > > > OK. > > > > The history is that I used to build from ports because the then-boss = did, and I didn't even know about pre-built packages. Then, one day, = Ruby needed to be rebuilt, which promptly blew away /tmp i.e. swap... = I'm a big fan of TMPFS; I had it on the old BSDi box (where it was = "mfs"), and even my old CP/M box (where it was "M:"). >=20 > Why not add losf to the base? Its a useful tool like ping, traceroute = etc. >=20 > While I can't say the exact reason, though I'd guess that it might be = a licensing issue, though the license is very similar to a BSD license. = Another possible issue is that lsof is frequently updated and that would = mean that the version in FreeBSD base would get fairly old before EOL. >=20 > fstat(1) does much of what lsof does. =20 >=20 I can't speak to the licensing issue as I have never looked into that. = However, the frequently updated issue doesn't seem to be an issue for = openssl. The base version is sometimes old, and the port versions are = newer. At least lsof would be a working version for those who only use = packages. If you need the newer features, then you would need to = install the port.