Re: PKGBUILD - clamav 0.103.4 - source .tar.gz downloads fine, .tar.gz.sig is 403? (same with Arch package)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

>   I asked about this problem on the clamav IRC (well the discord thing that
> replaced IRC), and they don't seem to know anything about the redirect issue.
> 

For some reason clamav blocks the curl user agent for .sig files ...
This could be worked around by using a custom user agent for curl like

    curl -A makepkg -L "https://www.clamav.net/downloads/production/clamav-0.103.4.tar.gz.sig";

The curl commands in makepkg.conf are not doing that, maybe that should be changed.


>   Is there any standard "short-url" conversion magic that can be used when
> this sort of thing crops up? At least from my network, I can't even use the
> current Arch clamav source to build due to this problem.
> 

Something like this works at least in this case:

    curl -so /dev/null --max-filesize 1 -H "Range: bytes=0-0" -A makepkg -L "https://www.clamav.net/downloads/production/clamav-0.103.2.tar.gz.sig"; -w %{url_effective}



--
Andreas Bosch



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux