Bug 299324 - www/npm-node24: upgrade to 12.2.0
Summary: www/npm-node24: upgrade to 12.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-12 01:27 UTC by Xin LI
Modified: 2026-10-27 21:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Proposed patch (4.82 KB, text/plain)
2026-10-12 01:27 UTC, Xin LI
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer freebsd_triage 2026-10-12 01:27:30 UTC
Created attachment 275612 [details]
Proposed patch

While there also make the port to use official upstream tarball and fixed a few portclippy warnings.
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-10-27 06:06:44 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e0cb9935c27d882cfcb1f9dc064388064a7c4c53

commit e0cb9935c27d882cfcb1f9dc064388064a7c4c53
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-10-12 01:14:04 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-10-27 06:05:07 +0000

    www/npm*: Update to 12.2.0, use upstream distfile

    Fetch the official tarball from the npm registry instead of a
    re-rolled one on LOCAL/sunpoet, and create the installed layout
    (bin/ and node_modules/.bin symlinks, compressed manual pages,
    etc/man.d/npm.conf) in do-install.  The package contents are
    unchanged.

    While here, sort variables as suggested by portclippy and drop a
    REINPLACE_CMD that did not modify anything.

    Changes:        https://github.com/npm/cli/releases
    PR:             ports/299324
    Approved by:    maintainer timeout

 www/npm-node24/Makefile | 48 ++++++++++++++++++++++++++++++++----------------
 www/npm-node24/distinfo |  6 +++---
 www/npm/Makefile        |  2 +-
 3 files changed, 36 insertions(+), 20 deletions(-)