aboutsummaryrefslogtreecommitdiff
path: root/depends/funcs.mk
AgeCommit message (Collapse)Author
2016-04-04depends: fix fallback downloadsCory Fields
In some cases, failed downloads wouldn't trigger a fallback download attempt. Namely, checksum mismatches.
2016-04-04depends: create a hostid and buildid and add option for saltsCory Fields
These add very simple sanity checks to ensure that the build/host toolchains have not changed since the last run. If they have, all ids will change and packages will be rebuilt. For more complicated usage (like parsing dpkg), HOST_ID_SALT/BUILD_ID_SALT may be used to introduce arbitrary data to the ids.
2015-05-14depends: sanity-check sources and cached buildsCory Fields
In some cases (Travis), sources and build caches may be moved around in-between builds, and we can't necessarily trust that everything is still intact. This introduces pre-build checks that verify against stashed checksums. Note that this will cause all sources to be re-downloaded, since cached sources weren't trustworthy before this.
2015-01-31depends: fix typosMichael Ford
2014-12-31depends: fix major regression after d546191dc.Cory Fields
Broken hash logic caused all depends on some platforms (osx at least) to end up with the same build-id. Without this fix, nothing will be rebuilt when recipes or dependencies change.
2014-12-11depends: Move source stamps to source dir and misc cleanupsCory Fields
Since the last commit will force rebuilds of all depends, take the opportunity to clean up a few other things that would trigger rebuilds as well. - Move source stamps to the sources dir so that SOURCES_PATH is respected for "make download". - Only print "fetching..." when actually downloading a file. - Avoid using non-deterministic paths for the recipe hash (patch location). This should ensure that all builders get the same resulting build-ids. - Use a per-package source paths. This will allow for removing old source files in the future. - Use a host-agnostic path for downloads which gets cleaned up properly.
2014-09-25depends: add the debug/release concept to dependsCory Fields
2014-09-04depends: fix typo in source downloading. Regression from c897b1e732.Cory Fields
Some sources are renamed after download, since the filenames don't play nice with (for example) gitian. This fixes the rename. Needed for OSX build as it renames a file.
2014-08-22depends: add a fallback path in case package sources go missingCory Fields
If a source url fails to download, try again at $FALLBACK_DOWNLOAD_PATH/file.name, where FALLBACK_DOWNLOAD_PATH can be overridden by the user.
2014-08-15depends: fix shasum on osx < 10.9Cory Fields
Shasum verification from stdin doesn't work there, so we write to a file instead. Formatted a bit too.
2014-08-08depends: add shared dependency builderCory Fields
See the README's in depends for documentation