summaryrefslogtreecommitdiff
path: root/windows-tap/build
diff options
context:
space:
mode:
Diffstat (limited to 'windows-tap/build')
-rw-r--r--windows-tap/build/MSCV-VSClass3.cer32
-rw-r--r--windows-tap/build/msvc-generate.js118
-rw-r--r--windows-tap/build/unix2dos.js54
-rw-r--r--windows-tap/build/vars.amd64.m42
-rw-r--r--windows-tap/build/vars.i386.m42
-rw-r--r--windows-tap/build/zip.js74
6 files changed, 0 insertions, 282 deletions
diff --git a/windows-tap/build/MSCV-VSClass3.cer b/windows-tap/build/MSCV-VSClass3.cer
deleted file mode 100644
index af1b6162..00000000
--- a/windows-tap/build/MSCV-VSClass3.cer
+++ /dev/null
@@ -1,32 +0,0 @@
------BEGIN CERTIFICATE-----
-MIIFmjCCA4KgAwIBAgIKYRmT5AAAAAAAHDANBgkqhkiG9w0BAQUFADB/MQswCQYD
-VQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEe
-MBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSkwJwYDVQQDEyBNaWNyb3Nv
-ZnQgQ29kZSBWZXJpZmljYXRpb24gUm9vdDAeFw0xMTAyMjIxOTI1MTdaFw0yMTAy
-MjIxOTM1MTdaMIHKMQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIElu
-Yy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdvcmsxOjA4BgNVBAsTMShj
-KSAyMDA2IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkx
-RTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlm
-aWNhdGlvbiBBdXRob3JpdHkgLSBHNTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
-AQoCggEBAK8kCAgpejWeYAyq50s7Ttx8vDxFHLsr4P4pAvlXCKNkhRUn9fGtyDGJ
-XSLoKqqmQr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aknAMK5myfcjKDJ2+aSDVshIzlqWqqDMDMR/tI6Xr23jVCfDn4bA1uRzCJcF
-29BUYl4DSMLVn3+nZozQnbBP1NOYX0t6yX+yKVLQEoDHD1S2HmfNxqBsEQOE00h1
-5yr+sDtuCjqma3aZBaPxd2hhMxRHBvxTf1K9khRcSiRqZ4yvjZCq0PZ5IRuTJnzD
-zh69iDiSrkXGGWpJULMF+K5ZN4pqJQOUsVmBUOi6g4C3IzX0drlnHVkYrSCNlA==
------END CERTIFICATE-----
diff --git a/windows-tap/build/msvc-generate.js b/windows-tap/build/msvc-generate.js
deleted file mode 100644
index d9564cfd..00000000
--- a/windows-tap/build/msvc-generate.js
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
- * msvc-generate.js - string transformation
- *
- * Copyright (C) 2008-2012 Alon Bar-Lev <alon.barlev@gmail.com>
- *
- * BSD License
- * ============
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * o Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * o Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * o Neither the name of the Alon Bar-Lev nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- *
- */
-
-var ForReading = 1;
-var fso = new ActiveXObject("Scripting.FileSystemObject");
-var input = "nul";
-var output = "nul";
-var files = new Array();
-var env = new Array();
-
-function initialize() {
- for (var i=0;i<WScript.Arguments.length;i++) {
- var arg = WScript.Arguments(i);
- if (arg.match(/^--input=(.*)$/)) {
- input=RegExp.$1;
- }
- else if (arg.match(/^--output=(.*)$/)) {
- output=RegExp.$1;
- }
- else if (arg.match(/^--config=(.*)$/)) {
- files.push(RegExp.$1);
- }
- else if (arg.match(/^--var=([^=]*)=(.*)$/)) {
- env[RegExp.$1] = RegExp.$2;
- }
- }
-}
-
-function process_config(vars, file) {
- try {
- var fin = fso.OpenTextFile(file, ForReading);
-
- while (!fin.AtEndOfStream) {
- var content = fin.ReadLine();
- if (content.match(/^[ \t]*define\(\[(.*)\],[ \t]*\[(.*)\]\)[ \t]*/)) {
- vars[RegExp.$1] = RegExp.$2;
- }
- }
- }
- catch(e) {
- throw new Error(1, "Cannot process '" + file + "'.");
- }
-}
-
-function process_file(vars, input, output) {
- var fin = fso.OpenTextFile(input, ForReading);
- var fout = fso.CreateTextFile(output);
- var content = fin.ReadAll();
-
- for (var i in vars) {
- content = content.replace(new RegExp("@"+i+"@", "g"), vars[i]);
- }
-
- fout.Write(content);
-}
-
-function build_vars() {
- var vars = new Array();
- for (var f in files) {
- process_config(vars, files[f]);
- }
- for (var e in env) {
- vars[e] = env[e];
- }
- return vars;
-}
-
-function main() {
- try {
- initialize();
-
- var vars = build_vars();
-
- process_file(
- vars,
- input,
- output
- );
-
- WScript.Quit(0);
- }
- catch(e) {
- WScript.Echo("ERROR: when procssing " + output + ": " + e.description);
- WScript.Quit(1);
- }
-}
-
-main();
diff --git a/windows-tap/build/unix2dos.js b/windows-tap/build/unix2dos.js
deleted file mode 100644
index 51ee7c99..00000000
--- a/windows-tap/build/unix2dos.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * unix2dos.js - a simple unix2dos implementation in jscript.
- *
- * Copyright (C) 2008-2012 Alon Bar-Lev <alon.barlev@gmail.com>
- *
- * BSD License
- * ============
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * o Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * o Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * o Neither the name of the Alon Bar-Lev nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- *
- */
-
-var ForReading = 1;
-
-try {
- var fso = new ActiveXObject("Scripting.FileSystemObject");
- for (var i=0;i<WScript.Arguments.length;i++) {
- var file = WScript.Arguments(i);
- var tmp = file+".tmp";
- var fin = fso.OpenTextFile(file, ForReading);
- var fout = fso.CreateTextFile(tmp);
- fout.Write(fin.ReadAll().replace(/\n/g, "\r\n"));
- fin.Close();
- fout.Close();
- fso.DeleteFile(file);
- fso.MoveFile(tmp, file);
- }
- WScript.Quit(0);
-}
-catch(e) {
- WScript.Echo("ERROR: " + e.description);
- WScript.Quit(1);
-}
diff --git a/windows-tap/build/vars.amd64.m4 b/windows-tap/build/vars.amd64.m4
deleted file mode 100644
index 26132501..00000000
--- a/windows-tap/build/vars.amd64.m4
+++ /dev/null
@@ -1,2 +0,0 @@
-define([INF_PROVIDER_SUFFIX], [, NTamd64])
-define([INF_SECTION_SUFFIX], [.NTamd64])
diff --git a/windows-tap/build/vars.i386.m4 b/windows-tap/build/vars.i386.m4
deleted file mode 100644
index 9bd4d316..00000000
--- a/windows-tap/build/vars.i386.m4
+++ /dev/null
@@ -1,2 +0,0 @@
-define([INF_PROVIDER_SUFFIX], [])
-define([INF_SECTION_SUFFIX], [])
diff --git a/windows-tap/build/zip.js b/windows-tap/build/zip.js
deleted file mode 100644
index 6550d8a7..00000000
--- a/windows-tap/build/zip.js
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * zip.js - a simple zip implementation in jscript.
- *
- * Copyright (C) 2008-2012 Alon Bar-Lev <alon.barlev@gmail.com>
- *
- * BSD License
- * ============
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * o Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * o Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * o Neither the name of the Alon Bar-Lev nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- *
- */
-
-var ForReading = 0;
-var ForWriting = 1;
-var fso = new ActiveXObject("Scripting.FileSystemObject");
-
-function zip(source, destination) {
- try {
- var f = OpenTextFile(destination, ForReading);
- f.Close();
- }
- catch(e) {
- var f = fso.CreateTextFile(destination, ForWriting);
- var zipheader = "PK" + String.fromCharCode(5) + String.fromCharCode(6);
- for (var i=0;i<18;i++) {
- zipheader += String.fromCharCode(0);
- }
- f.Write(zipheader);
- f.Close();
- }
-
- var shell = new ActiveXObject("Shell.Application");
- var source = shell.NameSpace(fso.GetAbsolutePathName(source));
- var destination = shell.NameSpace(fso.GetAbsolutePathName(destination));
-
- destination.CopyHere(source.Items(), 4);
- while(source.Items().Count != destination.Items().Count) {
- WScript.Sleep(1000);
- }
-}
-
-var index = 0;
-var source = WScript.Arguments(index++);
-var destination = WScript.Arguments(index++);
-try {
- zip(source, destination);
- WScript.Quit(0);
-}
-catch(e) {
- WScript.Echo("ERROR: Cannot zip '" + destination + "'.");
- WScript.Quit(1);
-}
-