On Thursday 23. February 2017 22.47, Robert Moskowitz wrote:
> On 02/23/2017 03:28 PM, Christian Boltz wrote:
> > AFAIK Sourceforge doesn't provide direct wget'able download URLs, so
> > you'll always have to start at the web interface.
Yes, they do. All download links on SourceForge is wget-able.
I usually go to the files section of any project and download from there.
> wget https://sourceforge.net/projects/postfixadmin/files/latest/download
>
> downloads the tarball as file 'download'
>
> Rename it and you are on your way.
It's even easier: add the switch «--content-disposition»
$ wget --content-disposition https://sourceforge.net/projects/postfixadmin/files/latest/download
will download the latest version and save it as postfixadmin-3.0.2.tar.gz, or whatever the latest version is when downloading.
But «files/latest/download» doesn't point to the latest version, but the latest uploaded file, which usually is the latest version, but not allways.
I run a few projects on SourceForge, and also upload gpg signatures (.sig), so those who care can verify that I uploaded it. If the sig file is uploaded after the tarball, sourceForge select the the sig file as the latest version.
--
Johnny A. Solbu
web site, http://www.solbu.net
PGP key ID: 0x4F5AD64DFA687324
|