On Mittwoch, 6. März 2013, 17:35:56 wrote Gianluca Emme:

> Dear Andreas,

> It is not my script that try to download files from internet, but a

> mandatory script for configuring the building of a IPOPT source

> package.

> IPOPT does not follow the standard configure method, and it has some

> bash script that download extra files for builds optional features

> that I have to activate.

>

> Anyway, If it is not possible, I'll try to add a patch in order to

> build IPOPT without getting nothing from internet.

 

Please do so. It would not be a reproducable build and actually a

privacy/security problem otherwise.

 

thanks

adrian

 

> Thank you,

> Gianluca Massera.

>

>

> 2013/3/6 Andreas Jaeger <aj@suse.com>:

> > On 03/06/2013 04:43 PM, Gianluca wrote:

> >>

> >> Dear All,

> >> in the %build section of an .spec file I'm writing I need to run a

> >> thirds part script that use wget to download some file directly from

> >> internet.

> >> If I try to build the .rpm locally to check any error before to commit

> >> the changes, I'll get the following error:

> >>

> >> Resolving www.netlib.org (www.netlib.org)... failed: Connection refused.

> >> wget: unable to resolve host address `www.netlib.org'

> >>

> >> It seems that during the build of an rpm there is no internet access.

> >> How can I configure osc in order to have internet access during the

> >> local building of packages ??

> >

> >

> > This is not possible at all.

> >

> > Why do you need to do this at all? Can't you download them before?

> >

> > Andreas

> > --

> > Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi

> > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany

> > GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)

> > GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126

>

--

Adrian Schroeter

SUSE Linux Products GmbH

email: adrian@suse.de