588 Commits

Author SHA1 Message Date
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 4dfa8c4b4524325509ba9e2484f49631a4c1902e
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:	297cd655811ca
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
Rene Ladan
8270a4ffc5 Tools/scripts/rmport: also cleanup when being trapped on a signal
This should get rid of stale gitrmlist* and gitlog* files.
2023-04-30 13:40:21 +02:00
Rene Ladan
3a59d525a9 Tools/scripts/rmport: remove extraneous trailing '/' in single-port commit messages 2023-04-30 13:29:38 +02:00
Rene Ladan
021979f6cf Tools/scripts/rmport: try to fix flow for amending the final commit 2023-04-30 13:18:56 +02:00
Rene Ladan
3a48862fcd Tools/scripts/rmport: update copyright year 2023-04-30 13:14:01 +02:00
Charlie Li
67de7ad43c
strip_RECORD.py: move to Mk/Scripts
Requested by: mat
2023-03-09 06:18:17 -05:00
Charlie Li
1e9c9994ae
Tools/scripts: add strip_RECORD.py
Strips/prints only the first column of a Python wheel's RECORD file.
To be used as part of the USE_PYTHON=autoplist process.
2023-03-08 22:20:24 -05:00
Matthias Andree
0b21baa862 Tools/scripts/bump_revision.pl: update 2023-03-04 11:41:16 +01:00
Rene Ladan
a3e43bd4a8 Tools/scripts/rmport: Fix my English
Reported by:	George L. Yermulnik <yz@yz.kiev.ua>
2023-02-19 21:24:17 +01:00
Rene Ladan
f08b42fbd9 Tools/scripts: use a port-specific commit message if removing a single port.
This helps in `git shortlog`, replacing "cleanup: Remove expired ports" by
"category/port: Remove expired port" for a given category and port.

Reported by:	gerald
2023-02-19 20:42:20 +01:00
Yuri Victorovich
5a99dc0e5b Tools/scripts/add-port-to-category-makefile.sh: Add export LC_ALL=C
PR:		268737
Suggested by:	bdrewery@
2023-01-30 22:03:59 -08:00
Yuri Victorovich
1eba137b81 Tools/scripts: Add add-port-to-category-makefile.sh, command that adds new port to category's Makefile
PR:		268737
2023-01-16 13:07:27 -08:00
Rene Ladan
282db8d418 Tools/scripts: note that you should also be in sync with origin/main 2022-12-04 12:29:43 +01:00
Rene Ladan
b74ed0f79d Mk: remove ancient 'make update-patches' target.
People should use 'make makepatch' instead which creates patches
with the expected filename and header.

Differential Revision: https://reviews.freebsd.org/D36767
2022-09-28 09:48:20 +02:00
Rene Ladan
2a09e5b4da cleanup: remove support for FreeBSD 13.0 which expired today.
- Mk/bsd.port.mk: mark 13.0 as unsupported
- Tools/scripts/portsearch: Drop support for FreeBSD <= 4
- archivers/zstd: revert "Fix build on FreeBSD 13.0"
- deskutils/xdg-desktop-portal: remove check for 13.0
- devel/libpeas: remove outdated comment
- editors/imhex: remove compatibility for 13.0
- editors/libreoffice: remove compatibility for 13.0
- editors/openoffice-4: remove compatibility for 13.0
- editors/openoffice-devel: remove compatibility for 13.0
- emulators/linux_base-c7: remove compatiblity for 13.0
- graphics/drm-kmod: remove detection for 13.0
- graphics/gpu-firmware-amd-kmod: do not check 13.0 anymore
- graphics/linux-c7-libdrm: remove support for 13.0
- math/igraph: remove support for 13.0
- net/asterisk16: drop support for ancient FreeBSD versions
- net/asterisk18: drop support for ancient FreeBSD versions
- security/openssl*: drop now obsolete patches
- sysutils/bhyve+: drop support for FreeBSD 13.0
- sysutils/ebsnvme-id: drop support for FreeBSD 13.0
- sysutils/openzfs: remove detection of FreeBSD 13.0
- sysutils/openzfs-kmod: drop detection of FreeBSD 13.0
- www/firefox: generalize pkg-message a bit regarding hgame(4)
- x11/xorg-cf-files: remove support for FreeBSD < 6 (yes, pre-2008)

While here, regenerate patches for:
- x11/xorg-cf-files
- net/asterisk16
- net/asterisk18

While here, remove a stale $Id$ from Tools/scripts/portsearch

Differential Revision: https://reviews.freebsd.org/D36233

Reviewed by:	office (fluffy), x11 (manu), arrowd, brnrd, cperciva, freqlabs, imp, jbeich, madpilot, nobutaka
2022-09-01 15:52:16 +02:00
Baptiste Daroussin
97d54c0413 MOVEDlint: ignore make.conf
Ignoring make.conf when looking up for existing flavors, makes the
test less likely to be polluted by end user defaults, like default
version of python etc.
2022-08-24 09:14:22 +02:00
Baptiste Daroussin
4dfa8c4b45 Scripts: remove now inaccurate gnomedepends.py 2022-08-23 15:42:27 +02:00
Baptiste Daroussin
fb4e70bad0 MOVEDlint: Test the first and second field for spaces
both fields should not have spaces in their field, let's make
MOVEDlint check for it
2022-08-23 15:16:19 +02:00
Baptiste Daroussin
abe88637f5 MOVEDlint: exit 1 in case of error 2022-08-23 14:55:06 +02:00
Baptiste Daroussin
85397ca391 MOVEDlint: accept -v blame=1 from command line 2022-08-23 14:49:19 +02:00
Baptiste Daroussin
d1349053a7 MOVEDlint: check for flavored version of a port
There is no need to document when a port has been flavored or new
flavor has been added, check if someone added such a line, and prevent
the person it is not needed
2022-08-23 14:16:46 +02:00
Baptiste Daroussin
d2aa049c86 MOVEDlint.awk: add the ability to select a start date
Reviewed by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D36304
2022-08-23 14:07:36 +02:00
Stefan Eßer
1f357cdb92 Tools/scripts: update port_conflicts_check.lua
Check that the package file database exists and that it is up-to-date.
2022-05-22 22:13:41 +02:00
Stefan Eßer
4c9fcd143a Tools/scripts: update port_conflicts_check.lua
This update provides the following enhancements:

- The list of all files of all packages in the official repository
  is directly parsed from a dump of the provides.db database, instead
  of parsing the output of "pkg provides".

- If a package uses a version specific sub-directory as is the case
  for e.g. most perl or python modules, a pattern that is generated
  that matches only other modules built for the same interpreter
  version.
2022-05-20 15:09:21 +02:00