[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] [torbrowser/master 3/4] Add a Makefile rule (virus-scan) to run virus-scan.py on .exe files
Author: Steven Murdoch <Steven.Murdoch@xxxxxxxxxxxx>
Date: Sun, 24 Oct 2010 22:52:51 +0100
Subject: Add a Makefile rule (virus-scan) to run virus-scan.py on .exe files
Commit: f64f06be32db2bffac8c4c9d0480567cdd9d71de
---
build-scripts/Makefile | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/build-scripts/Makefile b/build-scripts/Makefile
index e1f16e4..3c2e20d 100644
--- a/build-scripts/Makefile
+++ b/build-scripts/Makefile
@@ -29,8 +29,11 @@ FIREFOX_SRC=/c/build/FirefoxPortable-3.6.10
PIDGIN_SRC=/c/build/PidginPortable-2.7.3
## Location of utility applications
+PWD:=$(shell pwd)
+PYTHON=/c/Python25/python.exe
SEVENZIP="/c/Program Files/7-Zip/7z.exe"
-WGET:=/c/Python25/python.exe $(shell pwd)/pyget.py
+WGET=$(PYTHON) $(PWD)/pyget.py
+VIRUSSCAN=$(PYTHON) $(PWD)/virus-scan.py
WINRAR="/c/Program Files/WinRAR/WinRAR.exe"
## Size of split archive volumes for WinRAR
@@ -144,6 +147,16 @@ reallyclean: clean
rm -fr $(DEFAULT_COMPRESSED_BASENAME)*_*_split
##
+## Scan .exe files against VirusTotal to check for false positives
+##
+
+virus-scan:
+ $(VIRUSSCAN) $(VIDALIA)/src/vidalia/vidalia.exe
+ $(VIRUSSCAN) $(POLIPO)/polipo.exe
+ $(VIRUSSCAN) $(TOR)/src/or/tor.exe
+ $(VIRUSSCAN) $(TOR)/src/tools/tor-resolve.exe
+
+##
## Generate a non-localized bundle and put in $(DEST)
##
--
1.7.1