977 Commits

Author SHA1 Message Date
gnezdo dd8ff4f437 Add cabal port update tool
Add update-cabal-port to help maintain cabal ports. The Perl script
uses cabal database to fetch versions and generates cabal.inc files
with dependency manifests.

OK kn@
2026-01-19 05:30:48 +00:00
tb 40ca0d1b3d update-plist: ensure all LIB*_VERSION have a matching file in PLISTs
This had been the case before the rewrite but was left as a TODO in the
new code. This makes update-plist complain about SHARED_LIB entries that
don't exist as a file, which avoids fiddly and error prone grep for huge
library ports like abseil-cpp and boost.

from espie, thanks
2026-01-18 10:02:28 +00:00
rsadowski 676613ea6f Remove gcc3
Feedback sthen@, tweak and OK jca@
2025-10-24 14:25:34 +00:00
kirill ec426d7f66 proot: fix checkout_ports from non-root
OK: tb@
2025-08-27 20:26:38 +00:00
afresh1 b0652593e2 Correctly load Exporter::import
With perl 5.40, there's a new warning when calling an "import" method
that doesn't exist.  Previously the error was ignored, although still there.

Reported and reminded by rsedowski@
2025-03-03 04:11:30 +00:00
sthen aef472a266 don't suggest VARBASE; LOCALSTATEDIR is the ports-relevant variable
that usually ends up at /var and that's already mentioned
2025-02-26 14:22:53 +00:00
sthen 0e4ddf64f5 follow python.port.mk changes 2024-12-21 11:40:34 +00:00
kirill 34a4e1573c modgo-gen-modules-helper: print MODGO_VERSION to STDERR
The goal is to avoid editing modules.inc by removing the MODGO_VERSION
variable from that file by the go ports maintainer when using it like:

    make modgo-gen-modules > modules.inc

OK: paco@ sthen@
2024-11-07 09:49:51 +00:00
landry 325d34f0f6 portcheck: fix false positive about non-icon files going to icons/ subdir
ok sthen@
2024-11-01 09:17:30 +00:00
sthen 72f4b9a558 Add BULK_COOKIES_DIR to proot(1) to fix permissions when other directories
are placed outside the ports tree. From Denis Bodor, ok espie.
2024-08-03 15:24:34 +00:00
bluhm 91bed797bf CPAN mirrors have been replaced by CDN. Use https://www.cpan.org
directly.
2024-07-02 09:23:00 +00:00
rsadowski d4cdf6e2ae Set note to MODPY_COMPILEALL
"${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py" was replaced
by MODPY_COMPILEALL
2024-06-10 05:10:08 +00:00
phessler b74eb74332 stop erroring if <file>.orig exists
OK op@ rsadowski@ kn@
2024-04-14 17:24:37 +00:00
jasper 781e78c9e1 ignore openbsd-wip and pobj; ok espie@ 2023-11-13 15:31:42 +00:00
espie 6931081cef very simple script I used to find ports that are not referenced in any
way in sqlports and yet are in my tree
2023-11-13 14:34:07 +00:00
rsadowski 2e59ed4cde Unified error messages for all missing RUN_DEPENDS
ok op@
2023-10-12 05:41:27 +00:00
espie 3671f20c5a totally forgot about this.
SharedLibs has been in base long enough
2023-09-09 14:56:17 +00:00
espie 0abec21cc4 MASTER_SITE -> SITES 2023-09-05 13:52:44 +00:00
espie 300a4a3f1a add two small new functionalities:
- complete_subdirs takes one extra parameter, and will log
NEW pkgpath in vars.log if shownew is set:
while computing the final closure of subdirlist, paths that are not
in any category Makefile are generally a bad idea. This totally disregards
flavors and subpackages, because it happens often because of bootstrap
and such without requiring actual addition

- uses the filtering facilities of Core to allow, say LISTING_HOST=localhost
to limit listing to a given machine (warning of interactions with -e: if
you don't put any jobs on the local machine, and need to redo listing after
an error, THIS WILL CURRENTLY STALL. I need to exclude THOSE from the
listing for -e...  Fun !)
2023-08-14 14:01:41 +00:00
espie 0d604767e9 use ISO8601 there as well, allows showing the replay starting at a given date. 2023-07-06 10:54:18 +00:00
espie 0f0e0c3beb fix a few nits
- rewrite history as needed
- use external ISO8601 parser (to be used in dpb-replay as well)
- don't do a progressmeter in verbose mode, the % are distracting

(should also display "non removed files" as comments
but since I fucked up history a bit that will be waaay too verbose for now)
2023-07-06 09:33:23 +00:00
gkoehler 255045f9fb Don't parse undef as a date
ajacoutot@ got a fatal error from running clean-old-distfiles without
a timestamp argument.

ok espie@

Cvs: ----------------------------------------------------------------------
2023-07-05 19:08:24 +00:00
espie b17d7d7ca9 add the ability to set the cutdate to a time string, e.g.,
2023-07-01 for instance
or 2023-07-03T12:00Z
2023-07-04 18:28:32 +00:00
espie 27f8bb5d74 use v5.36 for simple scripts as well
(and replace a few prints with says)
2023-07-04 14:10:03 +00:00
espie 1f4ef1423d convert to 5.36, but also add a state/progressmeter to be able
to see where we're at
2023-07-04 13:43:46 +00:00
espie 888d70fba7 GC old method 2023-06-18 09:17:01 +00:00
espie 1281a3f23c v5.36 2023-05-30 05:40:22 +00:00
espie eca5c3075e trivial conversion to v5.36 2023-05-30 05:38:52 +00:00
espie f27e727eb2 v5.36 (print -> say) 2023-05-30 05:34:43 +00:00
espie dfa8a5f888 v5.36 (print -> say) 2023-05-30 05:34:08 +00:00
espie f566a287dc move to 5.36
stop using $opt_q
2023-05-23 08:48:03 +00:00
espie b6ee3aed3c remove work-around for api change that was done over 10 years ago 2023-05-22 16:09:03 +00:00
espie a00b8091d0 move to the OO version of SharedLibs 2023-05-20 12:45:24 +00:00
espie 86f2302a1c move to v5.36 2023-05-14 15:06:11 +00:00
espie 460afd234a use a better name for method 2023-05-14 09:18:05 +00:00
espie 3cfbb9937f pass the command name to the subclass 2023-05-14 09:15:01 +00:00
espie d21d942751 move update-plist to v5.36
add a new function that's not used yet
2023-05-14 09:08:32 +00:00
espie 168d8d518d use v5.36; document a few details 2023-05-14 09:03:06 +00:00
espie 0dd28480f2 use v5.36 2023-05-14 09:01:27 +00:00
espie de5e7a7ec1 use v5.36 2023-05-14 09:01:10 +00:00
espie 293915807f move check-lib-depends to v5.36
add a few comments describing some base methods
this code needs more love :(
2023-05-14 09:00:32 +00:00
espie ac5c35822e nits 2023-05-10 13:04:20 +00:00
espie bf6104709f refactor the code a bit more so that the debug entry in the generated plist
is completely separate from the Makefile rules.

Should be much cleaner
2023-05-09 17:41:10 +00:00
espie 572cf30a95 move to v5.36
split an "ensure_dir" method to avoid yet another parameter to
"write_rules" (plus, it's also kind-of a side effect)
2023-05-09 13:57:26 +00:00
espie fb842c6958 decorate the SPINNING messages like the rest so I get a better chance
to figure out when they happen
2023-05-07 06:24:45 +00:00
espie f1239a4c33 use v5.36;
also adds -C as a synonym for -c, since I tend to mistype it all the time ;)
2023-05-06 05:24:06 +00:00
espie 88acdc0a21 use v5.36, okay tb@
(this also adds an error message in the parser)
2023-05-06 05:21:15 +00:00
espie 942fdf35a8 move dpb to use v5.36; (function signatures for most parts)
tested by tb@ and naddy@ thanks

(I removed the 'use strict' since it's also subsummed by v5.36 as told by
afresh1@)
2023-05-06 05:20:31 +00:00
espie 449f4f0783 convert to v5.36
that one is self-contained and trivial
2023-05-04 14:13:10 +00:00
kn ff169a59ca add -q to usage to sync with manual 2023-04-30 18:54:38 +00:00