]>
git.ipfire.org Git - thirdparty/openssl.git/blob - util/mkrc.pl
2 # Copyright 2006-2018 The OpenSSL Project Authors. All Rights Reserved.
4 # Licensed under the Apache License 2.0 (the "License"). You may not use
5 # this file except in compliance with the License. You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
14 my $cversion = "$config{version}";
15 my $version = "$config{full_version}";
17 # RC syntax for versions uses commas as separators, rather than period
18 $cversion =~ s
|\
.|,|g
;
20 my $filename = $ARGV[0];
21 my $description = "OpenSSL library";
23 if ( $filename =~ /openssl/i ) {
24 $description = "OpenSSL application";
28 my $YEAR = [localtime()]->[5] + 1900;
36 PRODUCTVERSION
$cversion
47 BLOCK
"StringFileInfo"
52 VALUE
"CompanyName", "The OpenSSL Project, https://www.openssl.org/\\0"
53 VALUE
"FileDescription", "$description\\0"
54 VALUE
"FileVersion", "$version\\0"
55 VALUE
"InternalName", "$filename\\0"
56 VALUE
"OriginalFilename", "$filename\\0"
57 VALUE
"ProductName", "The OpenSSL Toolkit\\0"
58 VALUE
"ProductVersion", "$version\\0"
60 //VALUE
"Comments", "\\0"
61 VALUE
"LegalCopyright", "Copyright 1998-$YEAR The OpenSSL Authors. All rights reserved.\\0"
62 //VALUE
"LegalTrademarks", "\\0"
63 //VALUE
"PrivateBuild", "\\0"
64 //VALUE
"SpecialBuild", "\\0"
69 VALUE
"Translation", 0x409, 0x4b0