Network in Build enviroment

Is there a method to provide network (internet) access inside the build environment?

I’m trying to build Freeswitch which make use of wget during the make

I added wget as a build requirement but it fails with: Resolving files.freeswitch.org… failed: Name or service not known

Which makes me think the build environment simply doesn’t have internet access. My spec file does pull source files from the internet though.

I plan on building a SLES 11 box so I can attempt a local build but I wasn’t sure if the build service has this ability to start with.

Project is here: https://build.opensuse.org/package/show?package=sipx-freeswitch&project=home%3Amww%3Afuse44

Hi
You might need to have a look around the build service and development documentation :wink:

openSUSE:Build Service Concept SourceService - openSUSE

In your source list, there is an option to ‘Add service for source processing’ there is a list there, add your sources as downloads

Right, but I don’t see anywhere in the documentation about the use of wget or curl during the make.

The freeswitch build scripts make heavy use of wget and curl and I was hoping not to heavily modify the source from the current freeswitch tree just for the OBS.

No and we will never support this in the .opensuse.org instance. The reason is that for one the builds would not be reproducable anymore. Also it would create a number of security problems. It would be for example possible to attack our servers and also external servers.