[Slackbuilds-users] jdk wrong checksum.

Christoph Willing chris.willing at linux.com
Sat Apr 13 09:31:21 UTC 2019


On 12/4/19 10:06 pm, Alexander Verbovetsky wrote:
> Hello,
> 
> It is possible also accept the license directly in the download command,
> for example:
> -----
> $ curl --location --cookie oraclelicense=accept-securebackup-cookie https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-i586.tar.gz -o jdk-8u202-linux-i586.tar.gz
> -----
> 

Similarly, wget works for me directly using:
    wget --header "Cookie: oraclelicense=accept-securebackup-cookie"
https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz

However what is a convenient way to invoke such wget (curl) options in
automated environments (OP mentioned sbopkg)? Is it acceptable for the
--header option to be included in the .info file's DOWNLOAD definition?

Alternatively, is there a way use wgetrc to specify the use of
particular header options for only specific download sites?

chris


More information about the SlackBuilds-users mailing list