From owner-freebsd-ports@freebsd.org Thu Dec 28 00:05:07 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 2C594E87697 for ; Thu, 28 Dec 2017 00:05:07 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D33C17EF4D for ; Thu, 28 Dec 2017 00:05:06 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-vk0-x22a.google.com with SMTP id n2so18570033vkf.4 for ; Wed, 27 Dec 2017 16:05:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0Zr3UuaoK4T1bRTk4dZc3gWpHoLuiI/uWDaKGfF1oZ4=; b=WbFxAIz/P1NFfJTFnIZuyH8Vf0OHtl0iaHQzYGpUPjGm0GlAqDECI7S3OomfYdMUqS ggKpB4V0iA8G0hEON9LRfNQR3tPcQBG68mT/5byYeqvLokxBhXS0pI3wCQZ+QnVTEqXN 9GmskJY3TiASPyLaMBCgFtOlLv7LyL9P7wwCnL4/tXRw3jwuFozSxMOaH4v3xrhVAF3H c4fv9w4BLqqOv3hcoyoGvujpRMayLZvLLjYn9iimx54bfOak06pfr21Y6F+wImt9n7Q7 vUwHoVR3PqxG9XZ+qHrBCjs/86UpvNHaPe9eJIMnvDAackIIySTkmmnRwYe1hEN9I51Z r5Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0Zr3UuaoK4T1bRTk4dZc3gWpHoLuiI/uWDaKGfF1oZ4=; b=gVSkDutxcMJ8uDsN763kfUPfhMhflBZsi6NQX0piS4Y/zRyr8tavTpI1lGPUc4yI3z AcusYSXBTnW2nVkXHZrC+ZqOdAo5CVqr5bOdgX/xIToTkQaiQVSEmV0DkVQVZHi67Qzp AAuMJJCRO6/zVdMBuVGyOJ+8NzDL7zbYZKMnjd1PKvkREjYUpQ1rF14xiinFCBXTZ+qr fGnXuyZJjWT25HQZfS3fpFfSQVHvJrEJ45cWLMX+QG2Lfxi88l322oI4CocBUZw7g4gv 1VW6F3yXLHuNqgjN6DkJk80HReQUwo01KRakeV9XGQyOzCckI82QNku5aa92NXi/N1XM uQqA== X-Gm-Message-State: AKGB3mIlq8dmx/zbhGyA5O/5yHHVwBKo/Q6sfDwkWy185ruqgH3y3yKM piSEpaYv+TJ7p1X0z1qT04zf5l+IN2sxbH3xW6k= X-Google-Smtp-Source: ACJfBov7kUgEz2qpMhI6ReQzj2ffMKrPBb6kHPqKAF+Vid1rJMWjijREul53PZpXcH4DUYGhTyfmyMtvdR7gQQMzRRU= X-Received: by 10.31.84.131 with SMTP id i125mr28847707vkb.128.1514419505616; Wed, 27 Dec 2017 16:05:05 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.147.156 with HTTP; Wed, 27 Dec 2017 16:05:05 -0800 (PST) In-Reply-To: References: <4DB6D455-3F50-4AC9-83A4-0AFD06B6058C@FreeBSD.org> From: Kevin Oberman Date: Wed, 27 Dec 2017 16:05:05 -0800 X-Google-Sender-Auth: dYodpG0SfRgrssnYWgF5k3KCus0 Message-ID: Subject: Re: Of LSOF To: Doug Hardie Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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:05:07 -0000 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:"). > > Why not add losf to the base? Its a useful tool like ping, traceroute etc. 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. fstat(1) does much of what lsof does. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683