[DragonFlyBSD - Bug #3053] Makefile.usr: target dports-download has incorrect dependency

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Nov 29 01:44:22 PST 2017


Issue #3053 has been updated by daftaupe.

File 0001-Add-dports-download-check-target.patch added
File 0002-Add-test-to-dports-download-check-target.patch added

Hello ftigeot,

thanks for taking the time to review my patch.
Here is a new one that adds a dports-download check target as you suggested.
I added a second one that adds a test for /usr/DragonflyBSD-DPorts-* dirs, as I noticed that if you break dports-download during the extraction of the .tar.gz archive, you end up with a temporary dir like this, and it makes the mv command failed next time it's run. As such :
rm -f /tmp/dports.tar.gz
fetch -o /tmp/dports.tar.gz https://api.github.com/repos/DragonFlyBSD/DPorts/tarball/
fetch: https://api.github.com/repos/DragonFlyBSD/DPorts/tarball/: size of remote file is not known
/tmp/dports.tar.gz                                      42 MB 3535 kBps 00m13s
tar -xf /tmp/dports.tar.gz -C /usr
mv /usr/DragonFlyBSD-DPorts-* /usr/dports
usage: mv [-f | -i | -n] [-hv] source target
       mv [-f | -i | -n] [-v] source ... directory


Regards,

----------------------------------------
Bug #3053: Makefile.usr: target dports-download has incorrect dependency
http://bugs.dragonflybsd.org/issues/3053#change-13330

* Author: t_dfbsd
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
dports-download is supposed to be able to download a tarball of dports (in the event that git isn't available), but it has a dependency on dports-check, which has a dependency on git-check, which fails if git isn't installed.

---Files--------------------------------
patch-Makefileusr.patch (1.39 KB)
0001-Add-dports-download-check-target.patch (1.18 KB)
0002-Add-test-to-dports-download-check-target.patch (904 Bytes)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list