Hi,
I have some port file and I set up a repository which is available via http protocol.
I added to the sources.conf the following line:
The synchronization works fine but when I try to install something I get the following message:
$ sudo port -d install 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?
Best wishes,
Zoltan