diff options
author | KonaBlend <[email protected]> | 2015-10-27 17:52:39 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-05-25 15:45:03 -0400 |
commit | 24d3dc934dbc4ec979c6376d3ed4f07607ba7bcd (patch) | |
tree | 4e0b3a7a84b919acacdf2f44010d2d4a1ac7c2bd /contrib/zlib | |
parent | c40fd397d9058e4546fc12c0be701c183bc9867f (diff) |
Build: refactor fetch for contrib tarballs
Fetch is now python-based and runs on the same version as does
configure. The source script is make/fetch.py. New features:
MD5 hash tracking for tarballs. Data values for all contribs added.
Upon download, the file will be verified, and only then will it be moved
into place inside downloads/ . Files that exist before the build system
does a fetch will not be md5-checked.
Multiple URLs for tarballs. Each module may specify one or more URLs and
by convention the official HandBrake should be first when possible. Each
URL is tried in sequence, and if it fails for any reason, the next URL
is tried. If no URL succeeds, a hard-error is reported.
Network fetching may be disabled via configure options. --disable-fetch
will hard-error if a fetch is attempted. --accept-fetch-url=SPEC and
--deny-fetch-url=SPEC offer an ACL-style mechanism using regex to match
against URLs. For example, --accept-fecth-url='.*/download.handbrake.fr/.*'
would skip any non-matching URLs.
Build dependencies have been lightened. wget and curl are no longer
required. TODO: GTK packaging should also be able to remove those deps.
Diffstat (limited to 'contrib/zlib')
-rw-r--r-- | contrib/zlib/module.defs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/zlib/module.defs b/contrib/zlib/module.defs index 9ddab5746..541ced6dc 100644 --- a/contrib/zlib/module.defs +++ b/contrib/zlib/module.defs @@ -2,6 +2,7 @@ $(eval $(call import.MODULE.defs,ZLIB,zlib)) $(eval $(call import.CONTRIB.defs,ZLIB)) ZLIB.FETCH.url = http://download.handbrake.fr/handbrake/contrib/zlib-1.2.3.tar.gz +ZLIB.FETCH.md5 = af3358a811ad3469a2e54db49f77d52a ZLIB.EXTRACT.tarbase = zlib ZLIB.CONFIGURE.args = !sete @dir !env !exe @prefix !extra |