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
--- contrib/scripts/get_mp3_source.sh.orig 2013-06-04 12:41:08.222602824 +0200 +++ contrib/scripts/get_mp3_source.sh 2013-06-04 12:40:45.218602846 +0200 @@ -9,6 +9,15 @@ exit 1 fi +LOCAL_COPY=/tmp/asterisk-contrib-mp3.tar.gz +if [ -f ${LOCAL_COPY} ]; then + echo "***" + echo "Found ${LOCAL_COPY} - unpacking it, not downloading" + echo "***" + tar xzf ${LOCAL_COPY} + exit 0 +fi + svn export http://svn.digium.com/svn/thirdparty/mp3/trunk addons/mp3 $@ exit 0
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users