stuff
This commit is contained in:
9
buildfiles/node_modules/7zip-bin/7x.sh
generated
vendored
Executable file
9
buildfiles/node_modules/7zip-bin/7x.sh
generated
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sz_program=${SZA_PATH:-7za}
|
||||
sz_type=${SZA_ARCHIVE_TYPE:-xz}
|
||||
|
||||
case $1 in
|
||||
-d) "$sz_program" e -si -so -t${sz_type} ;;
|
||||
*) "$sz_program" a f -si -so -t${sz_type} -mx${SZA_COMPRESSION_LEVEL:-9} ;;
|
||||
esac 2> /dev/null
|
22
buildfiles/node_modules/7zip-bin/LICENSE.txt
generated
vendored
Normal file
22
buildfiles/node_modules/7zip-bin/LICENSE.txt
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Vladimir Krivosheev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
1
buildfiles/node_modules/7zip-bin/README.md
generated
vendored
Normal file
1
buildfiles/node_modules/7zip-bin/README.md
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
7-Zip precompiled binaries.
|
2
buildfiles/node_modules/7zip-bin/index.d.ts
generated
vendored
Normal file
2
buildfiles/node_modules/7zip-bin/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export const path7za: string
|
||||
export const path7x: string
|
22
buildfiles/node_modules/7zip-bin/index.js
generated
vendored
Normal file
22
buildfiles/node_modules/7zip-bin/index.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict"
|
||||
|
||||
const path = require("path")
|
||||
|
||||
function getPath() {
|
||||
if (process.env.USE_SYSTEM_7ZA === "true") {
|
||||
return "7za"
|
||||
}
|
||||
|
||||
if (process.platform === "darwin") {
|
||||
return path.join(__dirname, "mac", "7za")
|
||||
}
|
||||
else if (process.platform === "win32") {
|
||||
return path.join(__dirname, "win", process.arch, "7za.exe")
|
||||
}
|
||||
else {
|
||||
return path.join(__dirname, "linux", process.arch, "7za")
|
||||
}
|
||||
}
|
||||
|
||||
exports.path7za = getPath()
|
||||
exports.path7x = path.join(__dirname, "7x.sh")
|
BIN
buildfiles/node_modules/7zip-bin/linux/.DS_Store
generated
vendored
Normal file
BIN
buildfiles/node_modules/7zip-bin/linux/.DS_Store
generated
vendored
Normal file
Binary file not shown.
BIN
buildfiles/node_modules/7zip-bin/linux/arm/7za
generated
vendored
Executable file
BIN
buildfiles/node_modules/7zip-bin/linux/arm/7za
generated
vendored
Executable file
Binary file not shown.
BIN
buildfiles/node_modules/7zip-bin/linux/arm64/7za
generated
vendored
Executable file
BIN
buildfiles/node_modules/7zip-bin/linux/arm64/7za
generated
vendored
Executable file
Binary file not shown.
BIN
buildfiles/node_modules/7zip-bin/linux/ia32/7za
generated
vendored
Executable file
BIN
buildfiles/node_modules/7zip-bin/linux/ia32/7za
generated
vendored
Executable file
Binary file not shown.
BIN
buildfiles/node_modules/7zip-bin/linux/x64/7za
generated
vendored
Executable file
BIN
buildfiles/node_modules/7zip-bin/linux/x64/7za
generated
vendored
Executable file
Binary file not shown.
9
buildfiles/node_modules/7zip-bin/linux/x64/build.sh
generated
vendored
Executable file
9
buildfiles/node_modules/7zip-bin/linux/x64/build.sh
generated
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
rm -rf /tmp/7z-linux
|
||||
mkdir /tmp/7z-linux
|
||||
cp "$BASEDIR/do-build.sh" /tmp/7z-linux/do-build.sh
|
||||
docker run --rm -v /tmp/7z-linux:/project buildpack-deps:xenial /project/do-build.sh
|
20
buildfiles/node_modules/7zip-bin/linux/x64/do-build.sh
generated
vendored
Executable file
20
buildfiles/node_modules/7zip-bin/linux/x64/do-build.sh
generated
vendored
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
apt-get update -qq
|
||||
apt-get upgrade -qq
|
||||
|
||||
echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" > /etc/apt/sources.list.d/llvm.list
|
||||
curl -L http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||
apt-get update -qq
|
||||
apt-get install -qq bzip2 yasm clang-5.0 lldb-5.0 lld-5.0
|
||||
|
||||
ln -s /usr/bin/clang-5.0 /usr/bin/clang
|
||||
ln -s /usr/bin/clang++-5.0 /usr/bin/clang++
|
||||
|
||||
mkdir -p /tmp/7z
|
||||
cd /tmp/7z
|
||||
curl -L http://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2 | tar -xj -C . --strip-components 1
|
||||
cp makefile.linux_clang_amd64_asm makefile.machine
|
||||
make -j4
|
||||
mv bin/7za /project/7za
|
BIN
buildfiles/node_modules/7zip-bin/mac/7za
generated
vendored
Executable file
BIN
buildfiles/node_modules/7zip-bin/mac/7za
generated
vendored
Executable file
Binary file not shown.
53
buildfiles/node_modules/7zip-bin/package.json
generated
vendored
Normal file
53
buildfiles/node_modules/7zip-bin/package.json
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"_from": "7zip-bin@~5.0.3",
|
||||
"_id": "7zip-bin@5.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-GLyWIFBbGvpKPGo55JyRZAo4lVbnBiD52cKlw/0Vt+wnmKvWJkpZvsjVoaIolyBXDeAQKSicRtqFNPem9w0WYA==",
|
||||
"_location": "/7zip-bin",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "7zip-bin@~5.0.3",
|
||||
"name": "7zip-bin",
|
||||
"escapedName": "7zip-bin",
|
||||
"rawSpec": "~5.0.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "~5.0.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/app-builder-lib",
|
||||
"/builder-util"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.0.3.tgz",
|
||||
"_shasum": "bc5b5532ecafd923a61f2fb097e3b108c0106a3f",
|
||||
"_spec": "7zip-bin@~5.0.3",
|
||||
"_where": "/home/shihaam/www/freezer.shihaam.me/node_modules/app-builder-lib",
|
||||
"bugs": {
|
||||
"url": "https://github.com/develar/7zip-bin/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "7-Zip precompiled binaries",
|
||||
"files": [
|
||||
"*.js",
|
||||
"7x.sh",
|
||||
"index.d.ts",
|
||||
"linux",
|
||||
"mac",
|
||||
"win"
|
||||
],
|
||||
"homepage": "https://github.com/develar/7zip-bin#readme",
|
||||
"keywords": [
|
||||
"7zip",
|
||||
"7z",
|
||||
"7za"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "7zip-bin",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/develar/7zip-bin.git"
|
||||
},
|
||||
"version": "5.0.3"
|
||||
}
|
BIN
buildfiles/node_modules/7zip-bin/win/ia32/7za.exe
generated
vendored
Normal file
BIN
buildfiles/node_modules/7zip-bin/win/ia32/7za.exe
generated
vendored
Normal file
Binary file not shown.
BIN
buildfiles/node_modules/7zip-bin/win/x64/7za.exe
generated
vendored
Normal file
BIN
buildfiles/node_modules/7zip-bin/win/x64/7za.exe
generated
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user