Commit Graph

13 Commits

Author SHA1 Message Date
Juan RP bcdacb66a0 xbps-src: replace basename(1) with ${var##*/}.
Reduce number of fork+exec due to using a subshell to execute basename(1).
2015-09-11 07:55:40 +02:00
Jürgen Buchmüller 00c18e3e88 distfiles mirror: try $curfile first (renamed) 2015-09-04 17:13:31 +02:00
Jürgen Buchmüller 793a156a0f Implement XBPS_DISTFILES_MIRROR (second try)
The idea is to remove some burden from the original download
locations for distfiles by specifying one or more mirror locations.

+ Works with http:// or ftp:// mirrors for all $XBPS_CHROOT_CMD variants
+ Works with file:// mirrors together with uchroot and proot
2015-08-31 15:48:22 +02:00
jbu d6fb3784dd 00-distfiles: fix hard link existence test 2015-07-06 21:34:52 +02:00
jbu b30cbd9870 xbps-src: implement a by_sha256 hash cache 2015-07-04 11:18:46 +02:00
Juan RP 3d24cee58a hooks/do-fetch/distfiles: do not strip '>*' in url, pass it as is. 2014-03-12 15:47:49 +01:00
Juan RP cd02e84329 hooks/do-fetch/distfiles: simplify the code considerably. 2014-03-12 15:23:08 +01:00
Enno Boland b2afcc35be common/hooks/do-fetch: support 'xbps-uhelper fetch's new '>'-destfile syntax. 2014-03-12 13:47:57 +01:00
Juan RP ca2eeec0c0 hooks/do-fetch/00-distfiles: fix previous again. 2014-03-07 11:22:51 +01:00
Juan RP b9e30d45dc hooks/do-fetch/00-distfiles: improve previous to handle all cases. 2014-03-07 11:20:56 +01:00
Juan RP ede40cdc41 hooks/do-fetch/00-distfiles: error out if distfiles aren't verified (found by Gottox). 2014-03-07 11:12:52 +01:00
Juan RP b5c0ac90cc common/hooks/do-fetch: 00-distfiles: disable trap on ERR to fix autobuild issues. 2014-03-05 13:58:46 +01:00
Juan RP aa83852d7b common/hooks: add support for do-<phase> hooks as suggested by Gottox.
- New hooks for do-fetch and do-extract moved from xbps-src.
- Renamed some hooks to have XX as prefix.
2014-03-05 11:02:37 +01:00