deepsecurity 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +16 -0
- data/lib/deepsecurity/version.rb +1 -1
- data/windows-installer/WizModernImage-IS.bmp +0 -0
- data/windows-installer/WizModernImage.bmp +0 -0
- data/windows-installer/WizModernSmallImage-IS.bmp +0 -0
- data/windows-installer/WizModernSmallImage.bmp +0 -0
- data/windows-installer/application.ico +0 -0
- data/windows-installer/dsc.iss +148 -0
- data/windows-installer/iscc +25 -0
- data/windows-installer/isxdl.dll +0 -0
- metadata +10 -2
data/Rakefile
CHANGED
@@ -1,2 +1,18 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
2
|
require "bundler/gem_tasks"
|
3
|
+
|
4
|
+
desc "create a new version, create tag and push to github"
|
5
|
+
task :github_and_tag do
|
6
|
+
Rake::Task['github:release'].invoke
|
7
|
+
Rake::Task['git:release'].invoke
|
8
|
+
end
|
9
|
+
|
10
|
+
desc "Build Windows Installer"
|
11
|
+
task :windows_installer => :build do
|
12
|
+
require "dsc"
|
13
|
+
RUBY_INSTALLER_VERSION = "1.9.3-p392"
|
14
|
+
GEM_VERSION = Dsc::VERSION.to_s
|
15
|
+
system("./windows-installer/iscc windows-installer/dsc.iss /dgemVersion=\"#{GEM_VERSION}\" /drubyVersion=\"#{RUBY_INSTALLER_VERSION}\"")
|
16
|
+
end
|
17
|
+
|
18
|
+
|
data/lib/deepsecurity/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,148 @@
|
|
1
|
+
#define MyAppVer "0.0.16.0" ; define variable
|
2
|
+
#define MyAppVerText "0.0.16.0" ; define variable
|
3
|
+
#define MyAppCopyright "Udo Schneider <Udo_Schneider@trendmicro.de>"
|
4
|
+
#define MyAppCompany "Trend Micro"
|
5
|
+
#define MyAppName "dsc"
|
6
|
+
|
7
|
+
; #define gemVersion "0.0.16"
|
8
|
+
; #define gemFilename "deepsecurity-"+gemVersion+".gem"
|
9
|
+
|
10
|
+
; #define rubyVersion "1.9.3-p392"
|
11
|
+
#define rubyFilename "rubyinstaller-"+rubyVersion+".exe"
|
12
|
+
#define rubyUrl = "http://rubyforge.org/frs/download.php/76798/rubyinstaller-"+rubyVersion+".exe"
|
13
|
+
|
14
|
+
[Setup]
|
15
|
+
DefaultDirName={pf}\{#MyAppCompany}\{#MyAppName}
|
16
|
+
InternalCompressLevel=ultra
|
17
|
+
; OutputDir={#BaseDir}
|
18
|
+
; SourceDir={#BaseDir}
|
19
|
+
SolidCompression=true
|
20
|
+
AppCopyright=Copyright � {#MyAppCopyright}
|
21
|
+
AppName={#MyAppName}
|
22
|
+
AppVerName={#MyAppName} {#MyAppVerText}
|
23
|
+
ShowLanguageDialog=yes
|
24
|
+
DefaultGroupName={#MyAppCompany}\{#MyAppName}
|
25
|
+
AppID=84EDC400-BEB5-446E-90F8-6A9FBF89C3CD
|
26
|
+
Uninstallable=false
|
27
|
+
OutputBaseFilename={#MyAppName}_setup_{#MyAppVerText}
|
28
|
+
;WizardImageFile=Sources\WizardBigImage.bmp
|
29
|
+
;WizardSmallImageFile=Sources\WizardSmallImage.bmp
|
30
|
+
WizardImageFile=compiler:wizmodernimage-IS.bmp
|
31
|
+
WizardSmallImageFile=compiler:wizmodernsmallimage-IS.bmp
|
32
|
+
VersionInfoVersion={#MyAppVer}
|
33
|
+
VersionInfoCompany={#MyAppCompany}
|
34
|
+
VersionInfoDescription={#MyAppName} Setup
|
35
|
+
VersionInfoTextVersion={#MyAppVerText}
|
36
|
+
VersionInfoCopyright={#MyAppCopyright}
|
37
|
+
AppPublisher={#MyAppCompany}
|
38
|
+
AppPublisherURL=http://www.trendmicro.de/
|
39
|
+
AppSupportURL=http://www.trendmicro.de/
|
40
|
+
AppVersion={#MyAppVerText}
|
41
|
+
UninstallDisplayName={#MyAppName}
|
42
|
+
AppContact={#MyAppCompany}
|
43
|
+
AppSupportPhone=+49 (811) 88 99 0 698
|
44
|
+
ChangesAssociations=true
|
45
|
+
RestartIfNeededByRun=false
|
46
|
+
|
47
|
+
[Types]
|
48
|
+
Name: full; Description: {cm:fullInstallation}
|
49
|
+
Name: custom; Description: {cm:customInstallation}; Flags: iscustom
|
50
|
+
|
51
|
+
[Components]
|
52
|
+
Name: deepsecurity_gem; Description: deepsecurity gem ({#gemVersion}); Types: custom full
|
53
|
+
Name: ruby; Description: Ruby ({#rubyVersion}); Types: custom full; ExtraDiskSpaceRequired: 72204063
|
54
|
+
|
55
|
+
[Files]
|
56
|
+
Source: "isxdl.dll"; Flags: dontcopy
|
57
|
+
Source: "WizModernImage.bmp"; DestDir: "{app}"; Flags: ignoreversion
|
58
|
+
Source: "WizModernImage-IS.bmp"; DestDir: "{app}"; Flags: ignoreversion
|
59
|
+
Source: "WizModernSmallImage.bmp"; DestDir: "{app}"; Flags: ignoreversion
|
60
|
+
Source: "WizModernSmallImage-IS.bmp"; DestDir: "{app}"; Flags: ignoreversion
|
61
|
+
|
62
|
+
|
63
|
+
[Icons]
|
64
|
+
|
65
|
+
[Languages]
|
66
|
+
Name: en; MessagesFile: compiler:Default.isl
|
67
|
+
Name: de; MessagesFile: compiler:Languages\German.isl
|
68
|
+
|
69
|
+
[Run]
|
70
|
+
Filename: "{tmp}\{#rubyFilename}"; Parameters: "/SILENT /TASKS=""MODPATH"""; StatusMsg: "{cm:installingRuby}"; Components: ruby
|
71
|
+
Filename: "{cmd}"; Parameters: "/C C:\Ruby193\bin\gem install --no-rdoc --no-ri deepsecurity -v {#gemVersion}"; StatusMsg: "{cm:installingGem}"; Components: deepsecurity_gem
|
72
|
+
; Flags: runhidden
|
73
|
+
|
74
|
+
[CustomMessages]
|
75
|
+
en.fullInstallation=Full Installation
|
76
|
+
en.customInstallation=Custom Installation
|
77
|
+
en.installingRuby=Installing Ruby
|
78
|
+
en.installingGem=Installing gem
|
79
|
+
de.fullInstallation=Komplette Installation
|
80
|
+
de.customInstallation=Angepasste Installation
|
81
|
+
de.installingRuby=Installiere Ruby
|
82
|
+
de.installingGem=Installiere gem
|
83
|
+
|
84
|
+
[ISSI]
|
85
|
+
; #define ISSI_UnZip1 gemZipFilename
|
86
|
+
#define ISSI_IncludePath "C:\ISSI"
|
87
|
+
#include ISSI_IncludePath+"\_issi.isi"
|
88
|
+
; include "C:\Program Files\Sherlock Software\InnoTools\Downloader\it_download.iss";
|
89
|
+
|
90
|
+
;#include ReadReg(HKEY_LOCAL_MACHINE,'Software\Sherlock Software\InnoTools\Downloader','ScriptPath','');
|
91
|
+
|
92
|
+
[Tasks]
|
93
|
+
|
94
|
+
[Code]
|
95
|
+
var
|
96
|
+
FilesDownloaded: Boolean;
|
97
|
+
|
98
|
+
procedure isxdl_AddFile(URL, Filename: AnsiString);
|
99
|
+
external 'isxdl_AddFile@files:isxdl.dll stdcall';
|
100
|
+
function isxdl_DownloadFiles(hWnd: Integer): Integer;
|
101
|
+
external 'isxdl_DownloadFiles@files:isxdl.dll stdcall';
|
102
|
+
function isxdl_SetOption(Option, Value: AnsiString): Integer;
|
103
|
+
external 'isxdl_SetOption@files:isxdl.dll stdcall';
|
104
|
+
|
105
|
+
procedure DownloadFiles(Ruby: Boolean);
|
106
|
+
var
|
107
|
+
hWnd: Integer;
|
108
|
+
URL, FileName: String;
|
109
|
+
begin
|
110
|
+
isxdl_SetOption('label', 'Downloading extra files');
|
111
|
+
isxdl_SetOption('description', 'Please wait while Setup is downloading extra files to your computer.');
|
112
|
+
|
113
|
+
try
|
114
|
+
FileName := ExpandConstant('{tmp}\WizModernSmallImage-IS.bmp');
|
115
|
+
if not FileExists(FileName) then
|
116
|
+
ExtractTemporaryFile(ExtractFileName(FileName));
|
117
|
+
isxdl_SetOption('smallwizardimage', FileName);
|
118
|
+
except
|
119
|
+
end;
|
120
|
+
|
121
|
+
//turn off isxdl resume so it won't leave partially downloaded files behind
|
122
|
+
//resuming wouldn't help anyway since we're going to download to {tmp}
|
123
|
+
isxdl_SetOption('resume', 'false');
|
124
|
+
|
125
|
+
hWnd := StrToInt(ExpandConstant('{wizardhwnd}'));
|
126
|
+
|
127
|
+
if Ruby then begin
|
128
|
+
URL := '{#rubyUrl}';
|
129
|
+
FileName := ExpandConstant('{tmp}\{#rubyFilename}');
|
130
|
+
isxdl_AddFile(URL, FileName);
|
131
|
+
end;
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
if isxdl_DownloadFiles(hWnd) <> 0 then
|
136
|
+
FilesDownloaded := True
|
137
|
+
else
|
138
|
+
SuppressibleMsgBox('Setup could not download the extra files. Try again later or download and install the extra files manually.' + #13#13 + 'Setup will now continue installing normally.', mbError, mb_Ok, idOk);
|
139
|
+
end;
|
140
|
+
|
141
|
+
function PrepareToInstall(var NeedsRestart: Boolean): String;
|
142
|
+
var
|
143
|
+
downloadRuby: Boolean;
|
144
|
+
begin
|
145
|
+
downloadRuby := IsComponentSelected('ruby');
|
146
|
+
DownloadFiles(downloadRuby);
|
147
|
+
Result := '';
|
148
|
+
end;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
export 'VERSIONER_PERL_PREFER_32_BIT'='yes'
|
4
|
+
export 'Apple_Ubiquity_Message'='/tmp/launch-WDwvc6/Apple_Ubiquity_Message'
|
5
|
+
export 'FONT_ENCODINGS_DIRECTORY'='/Applications/CrossOver.app/Contents/SharedSupport/X11/lib/X11/fonts/encodings/encodings.dir'
|
6
|
+
export 'Apple_PubSub_Socket_Render'='/tmp/launch-QqUjp3/Render'
|
7
|
+
export 'CX_FONTCONFIG_PATH'='/Applications/CrossOver.app/Contents/SharedSupport/X11/etc/fonts'
|
8
|
+
export 'DISPLAY'=':2'
|
9
|
+
export 'TMPDIR'='/var/folders/b1/8rblxjkj3970_n00kc_lpqhr0000gp/T/'
|
10
|
+
export 'DYLD_FALLBACK_LIBRARY_PATH'='/Applications/CrossOver.app/Contents/SharedSupport/X11/lib:/Users/udos/lib:/lib:/usr/lib:/usr/X11/lib'
|
11
|
+
export 'COMMAND_MODE'='unix2003'
|
12
|
+
export 'CX_BOTTLE_PATH'='/Users/udos/Library/Application Support/CrossOver/Bottles'
|
13
|
+
export 'FONTCONFIG_ROOT'='/Applications/CrossOver.app/Contents/SharedSupport/X11'
|
14
|
+
export 'MACOSX_DEPLOYMENT_TARGET'='10.8'
|
15
|
+
export 'PYTHONPATH'='/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/lib/python'
|
16
|
+
export 'SSH_AUTH_SOCK'='/tmp/launch-cbyBYN/Listeners'
|
17
|
+
export CX_BOTTLE='InnoSetup'
|
18
|
+
export PATH="$PATH:"'/Applications/CrossOver.app/Contents/SharedSupport/CrossOver/bin'
|
19
|
+
|
20
|
+
ISCC_BIN="C:\Program Files\Inno Setup 5\ISCC.EXE"
|
21
|
+
ISS_FILE="$1"
|
22
|
+
|
23
|
+
shift
|
24
|
+
|
25
|
+
wine --cx-app "$ISCC_BIN" "$ISS_FILE" $*
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deepsecurity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|
@@ -192,6 +192,14 @@ files:
|
|
192
192
|
- lib/savon_helper/missing_type_mapping_exception.rb
|
193
193
|
- lib/savon_helper/soap_exception.rb
|
194
194
|
- lib/savon_helper/type_mappings.rb
|
195
|
+
- windows-installer/WizModernImage-IS.bmp
|
196
|
+
- windows-installer/WizModernImage.bmp
|
197
|
+
- windows-installer/WizModernSmallImage-IS.bmp
|
198
|
+
- windows-installer/WizModernSmallImage.bmp
|
199
|
+
- windows-installer/application.ico
|
200
|
+
- windows-installer/dsc.iss
|
201
|
+
- windows-installer/iscc
|
202
|
+
- windows-installer/isxdl.dll
|
195
203
|
homepage: ''
|
196
204
|
licenses: []
|
197
205
|
post_install_message:
|