NetBSD Problem Report #60996

From www@netbsd.org  Fri Nov 13 03:48:36 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) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 4F2C91A923B
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 13 Nov 2026 03:48:36 +0000 (UTC)
Message-Id: <20261113034835.203101A923C@mollari.NetBSD.org>
Date: Fri, 13 Nov 2026 03:48:35 +0000 (UTC)
From: oss@gemelen.net
Reply-To: oss@gemelen.net
To: gnats-bugs@NetBSD.org
Subject: pkgtools/pkgse refers to outdated URL and doesn't use https
X-Send-Pr-Version: www-1.0
X-From4GNATS: "oss@gemelen.net via gnats" <gnats-admin@NetBSD.org>

>Number:         60996
>Category:       pkg
>Synopsis:       pkgtools/pkgse refers to outdated URL and doesn't use https
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    imil
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 13 03:50:00 +0000 2026
>Last-Modified:  Fri Nov 13 08:06:25 +0000 2026
>Originator:     gemelen
>Release:        trunk
>Organization:
>Environment:
SunOS aegaeon 5.11 joyent_20261023T001807Z i86pc i386 i86pc illumos

>Description:
pkgtools/pkgse attempts to make an HTTP request to a pkgsrc search site by the URL https://search.pkgsrc.se which doesn't serve anything but the internal error page.
>How-To-Repeat:
Install pkgse, run it with any known package as an argument, eg. `pkgse aerc`
>Fix:
Considering the size of the utility, it's kinda of a rewrite:
- add usage of p5-LWP-Protocol-https?
- replace URL to actual at pkgsrc.se
- switch to the HTTPS request for the search URL
- parse response (as it seems to be different from what is expected byt the tool at the moment)

It looks like it could be removed from the pkgsrc instead?

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->imil
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 13 Nov 2026 08:06:25 +0000
Responsible-Changed-Why:
Over to maintainer


>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.