NetBSD Problem Report #60767

From www@netbsd.org  Tue Sep 22 16:37:19 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 324211A923E
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 22 Sep 2026 16:37:19 +0000 (UTC)
Message-Id: <20260922163717.D658D1A923F@mollari.NetBSD.org>
Date: Tue, 22 Sep 2026 16:37:17 +0000 (UTC)
From: victor_lft@pwhois.org
Reply-To: victor_lft@pwhois.org
To: gnats-bugs@NetBSD.org
Subject: net/lft: update to 4.01 (from 3.80), add whob
X-Send-Pr-Version: www-1.0
X-From4GNATS: "victor_lft@pwhois.org via gnats" <gnats-admin@NetBSD.org>

>Number:         60767
>Category:       pkg
>Synopsis:       net/lft: update to 4.01 (from 3.80), add whob
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 22 16:40:00 +0000 2026
>Closed-Date:    Fri Sep 25 14:26:59 +0000 2026
>Last-Modified:  Fri Sep 25 14:30:01 +0000 2026
>Originator:     Victor O.
>Release:        pkgsrc-current (trunk) as of 2026-09-22; net/lft Makefile rev 1.15 (2026-03-20)
>Organization:
The Prefix WhoIs Project
>Environment:
N/A - reported by the upstream maintainer, not from a NetBSD machine. Verified against pkgsrc trunk net/lft/Makefile, distinfo and PLIST as of 2026-09-22.
>Description:
I am the upstream maintainer of LFT (Layer Four Traceroute), https://pwhois.org/lft/.
pkgsrc net/lft is at 3.80 (distfile lft-3.8, 2018). Upstream is at 4.01
(September 2026); ten releases have shipped in between.

Changes since 3.8, briefly: protocol, firewall-traversal and reliability
fixes; IPv6 end to end; ECMP path enumeration (--ecmp); a path-MTU
discovery mode; JSON/XML/GeoJSON/KML/SVG/GraphViz/Mermaid output; an
ncurses --watch mode with a path-change detector; whob --annotate; and a
hardened privilege model with bounds-checked parsers.
Release notes: https://pwhois.org/lft/changelog.html

Packaging notes for 4.01:
- libpcap remains the only hard dependency.
- Two optional libraries are new and enabled by default: c-ares
  (asynchronous DNS; --disable-async-dns turns it off) and ncurses
  (--watch display; --disable-ncurses turns it off). Upstream configure
  probes all three with pkg-config first, then falls back to link tests.
- The tarball also builds "whob" (prefix whois client) and ships whob.8.
  The pkgsrc package has never installed either; the patch adds them.
- Distfile: https://pwhois.org/get/lft-4.01.tar.gz, 517603 bytes,
  SHA512 8609a2269a10fb4c080913ea831f164424fe86fd6c930f55f246f8725694c24e
         a8f8c9b5671cc00675838220f5db31d3f7669c542aa42d28dd5e9612d6ed5476
  BLAKE2s 0b9ca2fc3b44a812b1b78e1a02fed08437a1dcb895f05f551a3947f6b99eb712
  Every older tarball remains available under /get/, and the old
  MASTER_SITES URL form (/dl/index.who?file=) still works too.
- The DISTNAME/PKGNAME split (lft-3.8 -> lft-3.80) is no longer needed;
  4.01 sorts correctly after 3.80 as a plain version.

I have built 4.01 from this tarball on macOS with c-ares and ncurses
detected, but I do not have a NetBSD machine, so the patch below is
untested on pkgsrc itself. It is a version bump plus two buildlinks and
two extra installed files; a pkgsrc developer with a bulk-build sandbox
should be able to confirm it quickly. Happy to fix anything
NetBSD-specific that turns up.
>How-To-Repeat:
cd /usr/pkgsrc/net/lft && make show-var VARNAME=PKGVERSION
  -> 3.80
Compare with https://pwhois.org/lft/ and https://pwhois.org/get/ (index of
release files), which show 4.01 as current. Also: pkg_info lft installs no
whob binary although the distfile builds one.
>Fix:
--- net/lft/Makefile	2026-09-21 14:13:51
+++ net/lft/Makefile	2026-09-21 14:13:51
@@ -1,9 +1,8 @@
 # $NetBSD: Makefile,v 1.15 2026/03/20 20:27:00 nia Exp $

-DISTNAME=	lft-3.8
-PKGNAME=	lft-3.80
+DISTNAME=	lft-4.01
 CATEGORIES=	net
-MASTER_SITES=	http://pwhois.org/dl/index.who?file=
+MASTER_SITES=	https://pwhois.org/get/

 MAINTAINER=	pkgsrc-users@NetBSD.org
 HOMEPAGE=	https://pwhois.org/lft/
@@ -11,7 +10,9 @@
 LICENSE=	lft-license

 USE_PKGLOCALEDIR=	yes
+USE_TOOLS+=		pkg-config
 GNU_CONFIGURE=		yes
+FAKE_NCURSES=		yes

 CFLAGS.SunOS+=		-Dalloca=__builtin_alloca

@@ -19,7 +20,11 @@

 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lft ${DESTDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/whob ${DESTDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/lft.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+	${INSTALL_MAN} ${WRKSRC}/whob.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

 .include "../../net/libpcap/buildlink3.mk"
+.include "../../net/libcares/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
--- net/lft/PLIST	2026-09-21 14:13:51
+++ net/lft/PLIST	2026-09-21 14:13:51
@@ -1,3 +1,5 @@
 @comment $NetBSD: PLIST,v 1.1.1.1 2003/08/27 07:36:47 grant Exp $
 bin/lft
+bin/whob
 man/man8/lft.8
+man/man8/whob.8
--- net/lft/distinfo	2026-09-21 14:13:51
+++ net/lft/distinfo	2026-09-21 14:13:51
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.9 2021/10/26 11:07:31 nia Exp $

-BLAKE2s (lft-3.8.tar.gz) = 742b989ef9fc91e54424ca925b32e74777dfbef2dfa3c488612469e5179886f6
-SHA512 (lft-3.8.tar.gz) = 13ea176362096cc8c20500d61969483642f5d003263b529ec8d601786f621341107859510f9cafa5d365417beafce897bcc9cd631171e291ca3dc07fec1bd483
-Size (lft-3.8.tar.gz) = 376731 bytes
+BLAKE2s (lft-4.01.tar.gz) = 0b9ca2fc3b44a812b1b78e1a02fed08437a1dcb895f05f551a3947f6b99eb712
+SHA512 (lft-4.01.tar.gz) = 8609a2269a10fb4c080913ea831f164424fe86fd6c930f55f246f8725694c24ea8f8c9b5671cc00675838220f5db31d3f7669c542aa42d28dd5e9612d6ed5476
+Size (lft-4.01.tar.gz) = 517603 bytes

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 25 Sep 2026 14:26:59 +0000
State-Changed-Why:
Committed, thank you!

(Direct download from your web page doesn't work for me, using
pkgsrc tools - firefox worked.)


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/60767 CVS commit: pkgsrc/net/lft
Date: Fri, 25 Sep 2026 14:26:21 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Fri Sep 25 14:26:21 UTC 2026

 Modified Files:
 	pkgsrc/net/lft: Makefile PLIST distinfo

 Log Message:
 lft: update to 4.01.

 Changes since 3.8, briefly: protocol, firewall-traversal and reliability
 fixes; IPv6 end to end; ECMP path enumeration (--ecmp); a path-MTU
 discovery mode; JSON/XML/GeoJSON/KML/SVG/GraphViz/Mermaid output; an
 ncurses --watch mode with a path-change detector; whob --annotate; and a
 hardened privilege model with bounds-checked parsers.

 Also install 'whob'.

 From Victor O. in PR 60767.


 To generate a diff of this commit:
 cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/lft/Makefile
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/net/lft/PLIST
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/lft/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.