Update lynx to 2.8.9dev.16 (supports SSL) (#2004)

This commit is contained in:
Ross Smith II 2018-02-04 04:07:13 -08:00 committed by Richard Kuhnt
parent 07740614e2
commit 3d56339851

View File

@ -1,16 +1,36 @@
{
"version": "2.8.3",
"extract_dir": "lynx_w32",
"url": "http://www.vordweb.co.uk/standards/lynx_v283.zip",
"homepage": "http://www.vordweb.co.uk/standards/download_lynx.htm",
"hash": "552bc68afd2ff9a5de88f26d76f55dd8697cf6082c6afb01b3d1a9942f4d3ee0",
"_comment": "Version 2.8.3 was moved to https://github.com/rasa/versions/blob/master/nodejs4.json",
"version": "2.8.9dev.16",
"homepage": "http://invisible-island.net/lynx/lynx.html",
"architecture": {
"32bit": {
"url": "http://invisible-island.net/datafiles/current/lynx-newssl-setup.exe",
"hash": "d64fdbed6b470953e2504cdde0a58c6b68d0c600d39791380e855030abb2db56"
}
},
"bin": "lynx.cmd",
"innosetup": true,
"depends": [
"cacert",
"extras/vcredist2012",
"openssl"
],
"persist": [
"$dir/lynx.cfg"
],
"pre_install": [
"$q = [char]34",
"set-content \"$dir/lynx.cfg\" -value $null",
"set-content \"$dir/lynx.cmd\" -value \"@$q$dir\\lynx.exe$q --cfg=$q$dir\\lynx.cfg$q %*\""
"add-content \"$dir/lynx.cfg\" -value \"SSL_CERT_FILE:$(appdir openssl)/current/cacert.pem`n\"",
"add-content \"$dir/lynx.cfg\" -value \"FORCE_SSL_PROMPT:PROMPT`n\"",
"set-content \"$dir/lynx.cmd\" -value \"@$dir\\lynx.exe --cfg=$dir\\lynx.cfg %*\""
],
"post_install": [
"if (Test-Path \"$(appdir openssl)/current/libcrypto-1_1,1.dll\") {",
" cp \"$(appdir openssl)/current/libcrypto-1_1,1.dll\" \"$dir/libcrypto-1_1,1.dll\"",
" cp \"$(appdir openssl)/current/libssl-1_1,1.dll\" \"$dir/libssl-1_1,1.dll\"",
"} else {",
" echo 'lynx requires the 32-bit version of openssl to be installed'",
" exit 1",
"}"
]
}