Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2019 10:11:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239293] fetch-list: broken handling of DISTFILES when it has entries with subdirectories
Message-ID:  <bug-239293-7788-kVRyZcGnRK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239293-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239293-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239293

--- Comment #13 from commit-hook@freebsd.org ---
A commit references this bug:

Author: mat
Date: Wed Jul 31 10:10:36 UTC 2019
New revision: 507705
URL: https://svnweb.freebsd.org/changeset/ports/507705

Log:
  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

Changes:
  head/Mk/Scripts/do-fetch.sh

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239293-7788-kVRyZcGnRK>