Commit Graph

611 Commits

Author SHA1 Message Date
Charlie Li d04d23ae37 python.mk: retire ${PYNUMPY}
With both math/py-numpy (2) and math/py-numpy1, the variable stopped
making sense. Also remove the upper version bound.
2026-04-03 16:52:43 -04:00
Yuri Victorovich bccac3973c Tools/scripts: Use CA certificates in Tools/scripts/npmjs-fetch-with-dependencies.sh 2026-03-09 09:13:25 -07:00
Robert Clausecker 304193b524 Tools/scripts: use pkg-shell(8) in installed-ports-by-origin.sh 2026-02-27 17:19:21 +01:00
Yuri Victorovich 4dce75a138 Tools/scripts: Prevent tarball format variabilities due to the pax sparse format extension 2025-12-04 14:56:48 -08:00
Yuri Victorovich 7801fc2193 Tools/scripts: Correction in npmjs-fetch-with-dependencies.sh
... fixing fetched tarball variability.
2025-12-04 14:56:47 -08:00
Yuri Victorovich 60ccc96fd9 Tools/scripts: Add npmjs-fetch-with-dependencies.sh
This script downloads Node.js package with its dependencies
for future build without network access. It saves a tarball.

It supports package-lock.json generation which makes tarballs
reproducible.
2025-11-02 17:59:29 -08:00
Robert Clausecker 706bddb552 Tools/scripts/installed-ports-by-origin.sh: fix typos 2025-10-31 20:50:43 +01:00
Ralf van der Enden 9cbf77aba0 Tools/scripts: add installed-ports-by-origin.sh
This script generates a list of all installed ports by origin.  This is
similar pkg info -qoa, but with flavors.  This is useful for example to
create a list of ports for Poudriere to build.
2025-10-31 18:14:47 +01:00
Yuri Victorovich f1edecd8c0 Tools/scripts: Add comments 2025-10-10 20:49:16 -07:00
Yuri Victorovich 56df89ae77 Tools/scripts: git-get-latest-remote-version.sh: Small improvements 2025-10-01 01:44:29 -07:00
Yuri Victorovich 943397c24e Tools/scripts: Improvements in pypi-get-latest-version.sh: Add examples and shortened comparisons 2025-10-01 01:44:29 -07:00
Yuri Victorovich f97eed6954 Tools/scripts: Add npmjs-get-latest-version.sh 2025-10-01 01:44:28 -07:00
Yuri Victorovich 266f919b0b Tools/scripts: Improvements in hackage-get-latest-version.sh: Add examples and shortened comparisons 2025-10-01 01:44:28 -07:00
Yuri Victorovich f4036f00d4 Tools/scripts: Use awk in git-diff-ports.sh
Submitted by:	bapt@FreeBSD.org (initial version)
Differential Revision:	https://reviews.freebsd.org/D52779
2025-09-29 23:15:29 -07:00
Yuri Victorovich 4f75e322a9 Tools/scripts: Fix bug in git-diff-ports.sh 2025-09-29 00:20:47 -07:00
Yuri Victorovich cc038e71a3 Tools/scripts: Add git-diff-ports.sh
This script returns the list of ports with uncommitted changes.
I was using it locally for a very long time and it proved to
be very useful.
2025-09-28 13:42:41 -07:00
Yuri Victorovich ce355aab46 Tools/scripts: Fix typo 2025-09-27 18:38:25 -07:00
Yuri Victorovich 57bf858f85 Tools/scripts: Minor corrections in ai-master-prompt.md 2025-09-27 10:38:09 -07:00
Yuri Victorovich fc47245601 Tools/scripts: Add ai-master-prompt.md
This is WIP.
ai-master-prompt.md allows AI assistants like gemini (misc/gemini-cli)
to perform simple port operations.
Currently gemini, for example, can perform simple updates to
Python ports.
2025-09-27 10:17:39 -07:00
Yuri Victorovich c152034fe0 Tools/scripts: Add git-get-latest-remote-version.sh
Script to quickly find the last tag in a git URL with a given prefix.
2025-09-27 09:33:13 -07:00
Yuri Victorovich 90a6548ee3 Tools/scripts: Add hackage-get-latest-version.sh
Script to quickly determine the latest release of a Haskell package.
2025-09-27 09:33:12 -07:00
Gleb Popov 3e4e9c7489 Tools/scripts/gen-compat.sh: Don't use the lib32 set for 13.x aarch64
Approved by:	bapt
2025-09-11 10:43:20 +03:00
Piotr Kubaj a85e8a103e Tools/scripts/gen-compat.sh: Support powerpc and riscv
PR:		288945
Approved by:	bapt
2025-09-03 13:59:57 +03:00
Carlo Strub 4248ebfe69 Tools/scripts: Small fix in README
distclean.sh is not using md5 but sha256
2025-08-31 21:59:34 +02:00
Rene Ladan 38505d8958 Tools/scripts: add a script to suggest work for port developers. 2025-08-16 15:05:46 +02:00
Rene Ladan 078b5f9227 Tools/scripts/README: remove gnomedepends
The script itself was removed in commit 4dfa8c4b45
2025-08-16 12:52:58 +02:00
Rene Ladan 4c58862f6c Tools/scripts/README: add missing extension to some entries 2025-08-16 12:52:58 +02:00
Rene Ladan d77a7f6319 Tools/scripts/rmport: disable just-removed false positive detection for now 2025-06-23 21:00:16 +02:00
Rene Ladan c05c522876 Tools/scripts/rmport: remove an extraneous '$' that sneaked in.
Fixes:	297cd65581
Event:	Kitchener-Waterloo Hackathon 202506
2025-06-18 12:07:42 -04:00
Rene Ladan c04cc87033 Tools/scripts/rmport: try to reduce false positives when chain-deleting ports
Event:	Kitchener-Waterloo Hackathon 202506
2025-06-18 12:07:42 -04:00
Rene Ladan 26d6792317 Tools/scripts/rmport: bump copyright
Event:	Kitchener-Waterloo Hackathon 202506
2025-06-18 12:07:42 -04:00
Rene Ladan 1d7fe7b337 Tools/scripts: avoid excessively long lines when the port has dependents in INDEX
Event:	Kitchener-Waterloo Hackathon 202506
2025-06-18 12:07:42 -04:00
Rene Ladan 347df60edf rmport: include category in PR search to signifcantly reduce false positives 2025-05-04 16:48:16 +02:00
Baptiste Daroussin 4deebfd797 gen-compat.sh: properly deal with aarch74
while here remove useless compat directory
2025-03-18 12:58:57 +01:00
Baptiste Daroussin 2bc35cbf27 gen-compat.sh: fix archive internal path 2025-03-18 10:59:18 +01:00
Baptiste Daroussin 528376ec46 Tools/scripts: add script to generate the compat*x distfiles 2025-03-18 10:34:47 +01:00
Yuri Victorovich 2903d6302c Tools/scripts: In pypi-get-latest-version.sh, exit with exit code 1 on failure 2025-02-22 01:18:54 -08:00
Yuri Victorovich d9dd505d67 Tools/scripts: In pypi-get-latest-version.sh, exclude alpha/beta/rc versions 2024-12-17 01:45:30 -08:00
Yuri Victorovich da7a102f3c Tools/scripts: add pypi-get-latest-version.sh
pypi-get-latest-version.sh retrieves the latest version of any
Python package as registered on https://pypi.org

It makes it easy to check the latest version from the command line.
2024-11-14 00:29:55 -08:00
Matthias Fechner cd85daaf91 Tools/scripts: search_lib_depends_and_bump.sh ignores now the Templates dir 2024-10-23 10:11:49 +03:00
Rene Ladan f993572c81 rmport: warn about node slave packages when removing a www/node port 2024-07-14 16:01:55 +02:00
Rene Ladan 4214b7bd85 rmport: remove a hardcoded /usr/ports in a comment 2024-07-14 16:01:55 +02:00
Rene Ladan 335711ead9 rmport: bump copyright 2024-07-14 16:01:55 +02:00
Rene Ladan 6d6ee9171e rmport: remove trailing dot from the line added to MOVED
This satisfies a server-side git hook.
2024-07-14 16:01:54 +02:00
Yuri Victorovich 5bd7ce7d6d Tools/scripts/update-rust-port.sh: Fix failures that occurred for some ports 2023-12-19 00:22:05 -08:00
Yuri Victorovich 39a98a35c1 Tools/scripts: Improve update-rust-port.sh
* use strict shell mode
* check dependencies
* update PORTREVISION

Suggested by:	mikael@ (use of portedit)
2023-07-12 12:17:29 -07:00
Yuri Victorovich 7e866ceb0e Tools/scripts: Add update-rust-port.sh script to simplify Rust port updates
The command 'update-rust-port.sh <version>', when run in the Rust
port directory, updates this port to the requested version.

update-rust-port.sh should work in most cases.
2023-07-11 22:18:21 -07:00
Rene Ladan 206e6293bd Tools/scripts/rmport: do not add a trailing colon when only removing one port
Reported by:	sunpoet (via private mail)
2023-06-03 13:06:52 +02:00
Rene Ladan 9f5f51d945 Tools/scripts: rmport: force cleaning up at the end 2023-05-20 11:39:45 +02:00
Baptiste Daroussin 14e0241210 Tools/scripts/bump_revision.pl: default on -l instead of -g
-g option means also bump portevision of indirect dependencies,
this is not required by default since at least FreeBSD 11 when we
stopped recursively copying DT_NEEDED
2023-05-11 14:55:24 +02:00