sharing port files
Elias Pipping
pipping at macports.org
Mon Apr 23 11:21:37 PDT 2007
On Apr 23, 2007, at 8:11 PM, Zoltán Nagy wrote:
> Hi,
>
> I have some port file and I set up a repository which is available
> via http protocol.
> (http://cern.ch/nagyz/macports)
>
> I added to the sources.conf the following line:
>
> http://cern.ch/nagyz/macports/
>
> The synchronization works fine but when I try to install something
> I get the following message:
>
> $ sudo port -d install nlojet++
> DEBUG: Found port in http://cern.ch/nagyz/macports//science/nlojet++
> DEBUG: Port extract failed:
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error exit delayed from previous errors
> while executing
> "darwinports::fetch_port $url"
> ("^https?$|^ftp$" arm line 2)
> invoked from within
> "switch -regexp -- ${protocol} {
> {^file$} {
> return $string
> }
> {^dports$} {
> return
> [darwinports::index::fetch_port $url $destdir]
> }
> ..."
> (procedure "darwinports::getportdir" line 3)
> invoked from within
> "darwinports::getportdir $porturl $portdir"
> (procedure "dportopen" line 26)
> invoked from within
> "dportopen $porturl [array get options] [array get variations]"
> Error: Unable to open port: Port extract failed:
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error exit delayed from previous errors
>
> If I set up a local repository then everything is OK.
> Is it possible to use http:// in the sources.conf file?
using https or ftp would solve the issue i guess, judging by the output
Regards,
Elias Pipping
More information about the macports-users
mailing list