[asterisk-bugs] [Asterisk 0015370]: [patch] Repeatedly building the asterisk directory repeatedly downloads the sounds files
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Apr 30 11:41:00 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15370
======================================================================
Reported By: pprindeville
Assigned To: lmadsen
======================================================================
Project: Asterisk
Issue ID: 15370
Category: Core/BuildSystem
Reproducibility: always
Severity: tweak
Priority: normal
Status: ready for review
Asterisk Version: SVN
JIRA: SWP-1056
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-06-22 00:18 CDT
Last Modified: 2010-04-30 11:41 CDT
======================================================================
Summary: [patch] Repeatedly building the asterisk directory
repeatedly downloads the sounds files
Description:
If you have a source tree, and repeatedly do "make ; make dist-clean" ...
(lather, rinse, repeat) for multiple platforms, then you end up fetching
the sounds files over and over again.
This fix allows one to cache the files outside of the source tree by
setting the variable "SOUNDS_CACHE_DIR" to some path outside the tree.
Subsequent builds will copy the file from there when rebuilding.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0016807 [patch] make sounds doesn't download bu...
======================================================================
----------------------------------------------------------------------
(0121233) pabelanger (manager) - 2010-04-30 11:41
https://issues.asterisk.org/view.php?id=15370#c121233
----------------------------------------------------------------------
Few updates / suggestions.
- Create ./configure option to disable/enable caching for sounds.
- Default SOUNDS_CACHE_DIR=cache with the ability to override.
- Is copying the .tar.gz from the CACHE_DIR back to sounds really
required? Simply install sounds directly from CACHE_DIR (trivial change to
save HDD space).
- Enable build_tools/prep_tarball to use this logic (more to help with
people building software packages [IE: dpkg])
Issue History
Date Modified Username Field Change
======================================================================
2010-04-30 11:41 pabelanger Note Added: 0121233
======================================================================
More information about the asterisk-bugs
mailing list