pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60996: pkgtools/pkgse refers to outdated URL and doesn't use https



>Number:         60996
>Category:       pkg
>Synopsis:       pkgtools/pkgse refers to outdated URL and doesn't use https
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 13 03:50:00 +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?




Home | Main Index | Thread Index | Old Index