[asterisk-users] offline builds - mp3 [patch]

Daniel Pocock daniel at pocock.com.au
Tue Jun 4 11:44:43 CDT 2013


On 04/06/13 18:37, Tzafrir Cohen wrote:
> On Tue, Jun 04, 2013 at 12:49:35PM +0200, Daniel Pocock wrote:
>>
>>
>> As mentioned in the thread about MP3, I found that the rpmbuild process
>> demands network access, e.g. to access the mp3 code in SVN.
>>
>> Some people need to build on isolated networks though
>>
>> I've attached a patch that allows the MP3 code to be placed in /tmp
>> before the build starts, then svn will not be used during the build.  If
>> it finds /tmp/asterisk-contrib-mp3.tar.gz then it will be used instead
>> of going to SVN
>>
>> I'm not sure if there are other build steps that access the network,
>> this one was more obvious because I was trying to build on a fresh VM
>> without any svn client
> 
> I'm sure you're aware of:
> http://patch-tracker.debian.org/patch/series/view/asterisk/1:1.8.13.1~dfsg-3/mpglib
> 

The notes suggest that MP3 patent issues are a factor so I guessed
that's why it is excluded from the tarball

When building with rpmbuild the tarball is usually not unpacked
manually, hence my own proposed patch looks in /tmp for the mp3 code -
it could just as easily use your the patch from Debian as an input
though, as long as it can be found in /tmp or some other predefined
location.





More information about the asterisk-users mailing list