Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
non port: Mk/Scripts/do-fetch.sh

Number of commits found: 22

Wednesday, 7 Oct 2026
15:16 Siva Mahadevan (siva) search for other commits by this committer
do-fetch: fix wrongly added newline in 'make fetch-list'

This ensures one series of commands (corresponding to one
distfile) per emitted line on stdout.

Reviewed by:	mat
Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D60140
commit hash: 8beaf23e9d3ae208393179fedfd5ac5ca077aec5 commit hash: 8beaf23e9d3ae208393179fedfd5ac5ca077aec5 commit hash: 8beaf23e9d3ae208393179fedfd5ac5ca077aec5 commit hash: 8beaf23e9d3ae208393179fedfd5ac5ca077aec5 8beaf23
08:59 Mathieu Arnold (mat) search for other commits by this committer
Mk/fetch: stop passing `?dummy=/distname` in URLs

This helps upstream cdns with caching as they don't have to also cache
the dummy url with the useless query string.

Right now, fetch will be run as

/usr/bin/fetch -Fpr  -S 9153588
https://codeload.github.com/stevedekorte/io/tar.gz/2017.09.06?dummy=/stevedekorte-io-2017.09.06_GH0.tar.gz

The ?dummy=/stevedekorte-io-2017.09.06_GH0.tar.gz tricks fetch into
saving the file as stevedekorte-io-2017.09.06_GH0.tar.gz.
So this is changed to this, no more tricks:

/usr/bin/fetch -Fpr  -S 9153588 -o stevedekorte-io-2017.09.06_GH0.tar.gz
https://codeload.github.com/stevedekorte/io/tar.gz/2017.09.06

For Rust crates, the ?dummy=/ part was not even used as we were already
passing -o to the fetch command:

/usr/bin/fetch -Fpr  -S 20907 -o rust/crates/zeroize-1.8.2.crate
https://static.crates.io/crates/zeroize/zeroize-1.8.2.crate?dummy=/rust/crates/zeroize-1.8.2.crate

it now runs:

/usr/bin/fetch -Fpr  -S 20907 -o rust/crates/zeroize-1.8.2.crate
https://static.crates.io/crates/zeroize/zeroize-1.8.2.crate

PR:	298395
Differential Revision:	https://reviews.freebsd.org/D59663
commit hash: 07702720e3134b1eacb5e237f5f2fa7ce7071365 commit hash: 07702720e3134b1eacb5e237f5f2fa7ce7071365 commit hash: 07702720e3134b1eacb5e237f5f2fa7ce7071365 commit hash: 07702720e3134b1eacb5e237f5f2fa7ce7071365 0770272
Wednesday, 23 Sep 2026
10:21 Mathieu Arnold (mat) search for other commits by this committer
Mk: try and fix makesum another way

Differential Revision:	https://reviews.freebsd.org/D59905
commit hash: 0767979029be4c4a9dfc60f893eee47ac33ccf9f commit hash: 0767979029be4c4a9dfc60f893eee47ac33ccf9f commit hash: 0767979029be4c4a9dfc60f893eee47ac33ccf9f commit hash: 0767979029be4c4a9dfc60f893eee47ac33ccf9f 0767979
Wednesday, 16 Sep 2026
13:53 Mathieu Arnold (mat) search for other commits by this committer
Mk: fix fetching patches
commit hash: 07668760c4d1dab66789a2bf3f557d0938570f08 commit hash: 07668760c4d1dab66789a2bf3f557d0938570f08 commit hash: 07668760c4d1dab66789a2bf3f557d0938570f08 commit hash: 07668760c4d1dab66789a2bf3f557d0938570f08 0766876
13:06 Mathieu Arnold (mat) search for other commits by this committer
Mk: fix checksum/fetch/makesum with large distfiles set

When a port has a very large set of DISTFILES, makesum/fetch dies with
an obscure message such as:

> /tmp/makeQEBorT: /usr/bin/env: Argument list too long

The interface from make(1) to sh(1) passes the list of MASTER_SITES and
DISTFILES as arguments on the command line. At one point, it reaches
ARG_MAX and fails with the previous message. This changes the interface
to use temporary files in WRKDIR.

PR:	295029
Differential Revision:	https://reviews.freebsd.org/D59475
commit hash: 076687302bffe156fb9b379c2eb622f0ac2e711e commit hash: 076687302bffe156fb9b379c2eb622f0ac2e711e commit hash: 076687302bffe156fb9b379c2eb622f0ac2e711e commit hash: 076687302bffe156fb9b379c2eb622f0ac2e711e 0766873
Wednesday, 12 Jul 2023
14:18 Mateusz Piotrowski (0mp) search for other commits by this committer
framework: Fix fetch-url-list and fetch-urlall-list

The fetch-url-list and fetch-urlall-list targets are meant to produce
a list of URLs from which a port fetches its distfiles and patches.

Currently, those targets were not working as expected as they print
parts of the output meant for other targets like the fetch-list target.

For example:

    mateusz.piotrowski@server /ports/x11-servers/xwayland-devel$ make
fetch-urlall-list
    [...]
    mkdir -p "xorg" &&
    -o xorg/proto-xorgproto-824001c947cb1962209c6a8f2c63c2637877220d_GL0.tar.gz
    [...]

This patch prevents do-fetch.sh from printing the "mkdir" line and the
"-o" line.

While here:

- Remove the outdated comment about escaping. There is no excessive
  escaping happening there anymore.
- Indent cases in the case statement to match the style of the rest of
  the file.

Reviewed by:	pizzamig
Approved by:	portmgr (pizzamig)
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D40808
commit hash: 5457f710e8b827281d83bbba17db0868389205b4 commit hash: 5457f710e8b827281d83bbba17db0868389205b4 commit hash: 5457f710e8b827281d83bbba17db0868389205b4 commit hash: 5457f710e8b827281d83bbba17db0868389205b4 5457f71
Tuesday, 6 Apr 2021
14:27 Mathieu Arnold (mat) search for other commits by this committer
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 5d33e04
Wednesday, 11 Nov 2020
13:29 mat search for other commits by this committer
Add set pipefail in most framework scripts.

set pipefail changes the pipeline return status from being the return
status of the last command to the last non 0 exit status of any command
in the pipeline.  This is needed to make sure all the commands in a
pipeline did actually return a non 0 status and not only the last one.

PR:		250723
Exp-run by:	antoine
Reviewed by:	bapt
Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D27007
Original commitRevision:554893 
Thursday, 5 Nov 2020
16:51 mat search for other commits by this committer
Backout r554139.
Original commitRevision:554142 
16:42 mat search for other commits by this committer
Add set pipefail in most framework scripts.

set pipefail changes the pipeline return status from being the return
status of the last command to the last non 0 exit status of any command
in the pipeline.  This is needed to make sure all the commands in a
pipeline did actually return a non 0 status and not only the last one.
Original commitRevision:554139 
Wednesday, 31 Jul 2019
10:10 mat search for other commits by this committer
Fix fetch-list when running as a user.

The fetch-list target is used to generate a shell script that will more
or less replicates what do-fetch does. It allows one to do most things
as a regular user, and generate that script to run, say, on another
machine, if the one where you build things does not have access to the
internet, or has much slower access.

It was failing when DISTDIR was not writable by the current user, and
the port had a distribution file with a path in it. (Not using
DIST_SUBDIR, something else, like lang/rust does.) It was failing
because it was trying to create that subdirectory unconditionally,
instead of only creating the subdirectory if actually had to.  This also
fixes the bug that the generated script did not have the appropriate
mkdirs for those directories.

PR:		239293
Submitted by:	tobik (earlier version)
Reported by:	Ruslan Garipov
Differential Revision:	https://reviews.freebsd.org/D21112
Original commitRevision:507705 
Wednesday, 21 Feb 2018
21:26 bdrewery search for other commits by this committer
Remove leftover debugging
Original commitRevision:462544 
Tuesday, 20 Feb 2018
22:58 bdrewery search for other commits by this committer
Fix RANDOMIZE_MASTER_SITES.

- /usr/games/random moved to /usr/bin/random in 11.0+
- Need to explicitly add in the pipe '|'

Approved by:	portmgr (implicit)
Original commitRevision:462464 
Saturday, 16 Dec 2017
08:53 mat search for other commits by this committer
Fix a edge case in the fetch related targets.

This would have given an error when:

- The port uses DIST_SUBDIR
- That sub-directory does not exist
- The current user does not have permission to write in DISTDIR.

Something like:

$ sudo rmdir /usr/ports/distfiles/gallery2
$ make fetch-urlall-list
mkdir: /usr/ports/distfiles/gallery2: Permission denied
*** Error code 1

PR:		222819
Reported by:	sunpoet
Sponsored by:	Absolight
Original commitRevision:456460 
Saturday, 28 Jan 2017
10:52 mat search for other commits by this committer
Remove some code added in r858[1], still don't know what it was supposed to
be doing at the time.

When fetching, the code was looking for a distfile in either its
DIST_SUBDIR or the main DISTDIR, which was ok.  Until a port
(devel/cargo) moves one of its distfile
(cargo-nightly-x86_64-unknown-freebsd.tar.gz) into a subdirectory.
do-fetch would see the distfile in DISTDIR and say, ok, it's there, and
checksum would not see it in its subdirectory and fail.

1: phabricator's blame mode is really, really, great to unroll history.

PR:		216442
Submitted by:	mat
Reported by:	Bob Willcox, dhw (on ports)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D9318
Original commitRevision:432617 
Monday, 8 Aug 2016
12:57 mat search for other commits by this committer
Only try to create DISTDIR if it does not exist already.

It turns out, some people, instead of setting DISTDIR, replace it with a
symlink pointing to where DISTDIR should be pointing.

And mkdir -p <symlink> fails.

PR:		211623
Reported by:	Harald Schmalzbauer
Sponsored by:	Absolight
Original commitRevision:419840 
Sunday, 19 Jun 2016
11:25 mat search for other commits by this committer
Reverse tests to decrease complexity.

PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
Original commitRevision:417111 
11:25 mat search for other commits by this committer
Remove unnecessary evals that do-fetch was using.

Turns out that env(1) knows how to parse a properly quoted string
using -S "string", it makes the double eval used for the fetch
command to be unnecessary.

This is because running:
eval "foo $(escape $bar)"
is silly when this works:
foo $bar

So remove escaping and quoting, and sillyness.

PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
Original commitRevision:417110 
11:24 mat search for other commits by this committer
Simplify do-fetch, and remove now unused code.

Turns out that the DEFAULT, and other groups sites were handled in
a different way, ending up having the same code twice, but in
slightly different places.

PR:		210198
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6779
Original commitRevision:417109 
Monday, 6 Jun 2016
15:25 mat search for other commits by this committer
Fix having the :DEFAULT MASTER_SITES entries ending up being there twice
in the end.

Sponsored by:	Absolight
Original commitRevision:416468 
Sunday, 29 May 2016
08:02 mat search for other commits by this committer
Fix fetch-list and fetch-url-list-int when DISTDIR is not writable.

PR:		209820
Reported by:	amdmi3
Sponsored by:	Absolight
Original commitRevision:416087 
Wednesday, 25 May 2016
15:58 mat search for other commits by this committer
Extract the larger bsd.port.mk targets into separate scripts.

Refactor all the fetch code so that there are not 6 slightly different
versions of it but one that does it all.

The targets that have been extracted are:
- check-vulnerable
- do-fetch
- fetch-list
- fetch-url-list-int
- fetch-urlall-list
- checksum.
- makesum.
- check-checksum-algorithms
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Original commitRevision:415842 

Number of commits found: 22