[aur-general] Head over Heels (hoh 1.01-5) download problems
I took over the maintenance of hoh. The problem is that makepkg uses wget to download the sources, but wget gets disabled upstream via .htaccess. I contacted the author, he said, he has no sufficient permissions to change this on the webserver where the files are hosted. The previous AUR maintainer of hoh solved this issue simply by hosting the file on his site (which is allowed, settled through email with the author). Spoofing the user-agent in with 'wget --user-agent' or using curl works ok. My question is, what is the recommended way now. Should I host the file somewhere, or should I modify the PKGBUILD so that it downloads and unpacks the source manually, or is there another way I overlooked?
2011/9/23 SanskritFritz <sanskritfritz@gmail.com>:
I took over the maintenance of hoh. The problem is that makepkg uses wget to download the sources, but wget gets disabled upstream via .htaccess. I contacted the author, he said, he has no sufficient permissions to change this on the webserver where the files are hosted.
Did you try to contact the admin of the hosting site?
[2011-09-23 10:54:23 +0200] SanskritFritz:
The problem is that makepkg uses wget to download the sources
Just a note: curl will be the default in the next release.
The previous AUR maintainer of hoh solved this issue simply by hosting the file on his site (which is allowed, settled through email with the author). Spoofing the user-agent in with 'wget --user-agent' or using curl works ok. My question is, what is the recommended way now. Should I host the file somewhere, or should I modify the PKGBUILD so that it downloads and unpacks the source manually, or is there another way I overlooked?
The cleanest way should be to just add DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u') next to the source=() array in the PKGBUILD, with a comment explaining the situation. -- Gaetan
On Fri, Sep 23, 2011 at 11:02 AM, Sebastian Wiesner < lunaryorn@googlemail.com> wrote:
Did you try to contact the admin of the hosting site?
Hmm, good idea actually, no, I haven't. Thanks for the heads up. On Fri, Sep 23, 2011 at 11:07 AM, Gaetan Bisson <bisson@archlinux.org>wrote:
[2011-09-23 10:54:23 +0200] SanskritFritz:
The problem is that makepkg uses wget to download the sources
Just a note: curl will be the default in the next release.
That is good news I guess, although I prefer wget's output with the progress bar much more. I wonder, how many PKGBUILDs will break because of this :)
My question is, what is the recommended way now. Should I host the file somewhere, or should I modify the PKGBUILD so that it downloads and unpacks the source manually, or is there another way I overlooked?
The cleanest way should be to just add
DLAGENTS=('http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u')
next to the source=() array in the PKGBUILD, with a comment explaining the situation.
Thanks, that was the perfect solution <3. So, when new the makepkg will be released, I can drop that line. Thank you for your help. Best regards
participants (3)
-
Gaetan Bisson
-
SanskritFritz
-
Sebastian Wiesner