Commit graph

14 commits

Author SHA1 Message Date
maxice8
8956ff14f7
meta: forcefully gunzip and bunzip2 .gz and .bz2 files.
Otherwise it gets stuck with a confirmation prompt.
2019-03-03 19:34:54 -03:00
Rasmus Thomsen
a8f008f21c hook/do-extract: support extracting .crate files 2018-11-02 08:59:03 -03:00
maxice8
c6c249348d hooks/do-extract: support extracting .gem files with gem unpack. 2018-10-27 09:25:31 -03:00
Juan RP
c23daff127 xbps-src: handle .7z distfiles via 7z. 2016-01-11 11:02:44 +01:00
Alessio Sergi
55768ad59d xbps-src: distfiles: allow uncompressed distfiles
Do not extract them, just copy to $extractdir.
The allowed suffixes are: .patch, .diff, .txt.
2015-10-23 20:09:31 +02:00
Juan RP
a786acf4d2 hooks/distfiles: do not respect perms/owner when extracting via tar.
With user namespaces and uid/gid == 0, tar will try to respect them
and will fail with EINVAL.
2015-03-05 20:27:28 +01:00
Christian Neukirchen
09c1d7d1da do-extract/00-distfiles.sh: unzip -o to overwrite without asking. 2014-12-12 10:32:12 +01:00
John Galt
440d5d8772 do-extract: allow patch distfile suffix
And do nothing with them
2014-09-06 19:35:08 -07:00
Juan RP
65bf4d6fca hooks/do-extract/00-distfiles: supports rpm extraction via rpmextract. 2014-05-08 18:44:54 +02:00
Juan RP
14c15b0973 hooks/do-extract/distfiles: simplify and support .tar.lz files. 2014-03-14 11:04:51 +01:00
Enno Boland
3ea159d359 common/hooks/do-extract: support 'xbps-uhelper fetch's new '>'-destfile syntax; replace if/elif by case struct for choosing extract method. 2014-03-12 16:44:54 +01:00
Juan RP
80240ba2fc hooks/do-extract/00-distfiles: do not exit, return instead. 2014-03-12 10:32:50 +01:00
Juan RP
8935913ab3 hooks/do-extract/00-distfiles: typo fix that broke extraction of gzipped distfiles. 2014-03-06 11:05:41 +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