From 0e00d483547fc699dbccbcca7e0902d43362a315 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sat, 17 Jun 2023 01:56:16 +0200 Subject: [PATCH] So, it built?! --- app-backup/duplicati/Manifest | 9 +- app-backup/duplicati/files/Makefile.patch | 10 + .../duplicati/files/dotnet-framework.patch | 201 --- .../files/dotnet-framework.patch_backup | 1462 +++++++++++++++++ .../duplicati/files/mono-path-override.props | 28 +- app-backup/duplicati/files/netstandard.patch | 36 + 6 files changed, 1519 insertions(+), 227 deletions(-) create mode 100644 app-backup/duplicati/files/Makefile.patch create mode 100644 app-backup/duplicati/files/dotnet-framework.patch_backup create mode 100644 app-backup/duplicati/files/netstandard.patch diff --git a/app-backup/duplicati/Manifest b/app-backup/duplicati/Manifest index 14649d3..8f43483 100644 --- a/app-backup/duplicati/Manifest +++ b/app-backup/duplicati/Manifest @@ -1,4 +1,7 @@ -AUX dotnet-framework.patch 79633 BLAKE2B be48b86331063a681515a125914a961f4ce4d7e054d6d428dbb9e09748dec3e8cb5108c709fbdb357b195d61fab4e2fbd6cf03f37969e44c20d506c75493a228 SHA512 815e17c55b9c1a2a0586394508fdf991774f49dfcb5ab94a3f808e95ffe1996f62283b70838a6d3c3e11e8d20d13bacb730b85913f30f72006b924068dc033d2 -AUX mono-path-override.props 3569 BLAKE2B 7328344ed793e6f24a4659ab0cbf667e6763a501882b38eb5cb15d6eb5eaab7d53815ea80272d58fa1dba6b36bc02f51bab06d3eea67d474bc336eb5f55ffee9 SHA512 e7bdcafe419fa9bb40f2f9cf96bbd5db827ad9b40fdf83393b8b189d7f762931eaf8e6e3ac66fdf693b373c8ba037c7b522f007079425a79e7018c6eba8022a2 +AUX Makefile.patch 387 BLAKE2B c6e9a4dddda6b17e4caa525320cb2d0bb55dead31177efa7160dd2c85feceb689fc4f348ec7e88446ec47ba93dc5cec74c23240e586a8fc472968ebe04adba5c SHA512 d636fe72eb246923bc63d60da414ec4f2cfff9d5e1f1c64cd46b8db3974f7f24b6d83dcbfabfc8196aebdf01f3c281da003011098b28ebc8852793d221c38706 +AUX dotnet-framework.patch 66850 BLAKE2B 222a73c9b4b06376ae745a3285fdc5277d79b8bb8595aba749196d2040b28653ef1a051bb6847abefb1ee25f9d944e1b98251ab889c530a3572f85edc4eb842e SHA512 aecca6745895f8d964ae1cfc355e1e93abdf962c0364a167f71dce3d27c8c9ae0732f0abffb6031f0bcf694094040695ede9a230984a012a0b2a37e6219b04ad +AUX dotnet-framework.patch_backup 79633 BLAKE2B be48b86331063a681515a125914a961f4ce4d7e054d6d428dbb9e09748dec3e8cb5108c709fbdb357b195d61fab4e2fbd6cf03f37969e44c20d506c75493a228 SHA512 815e17c55b9c1a2a0586394508fdf991774f49dfcb5ab94a3f808e95ffe1996f62283b70838a6d3c3e11e8d20d13bacb730b85913f30f72006b924068dc033d2 +AUX mono-path-override.props 605 BLAKE2B b638932f16e0051edd85bc10b590e5e531f939fe82c6fafc94d236cab950a291df03551fd5d5b69c6a3ab1b9261f7283fe7afd8e6ec357665ed265832a285f5a SHA512 b10a79f2303645c63929e5b1f80deb79dbba722757035c0c8352f68f67e2fa11a4f9386a29749402f4e4c3a60a9c71378f0e71e1a45a82bc99d54fb8ca02299b +AUX netstandard.patch 2640 BLAKE2B 87f6c0f5ffba2139207842935780769eb746b24c25fd3466d668df10b96ed8081d278f87de680e9d3077bcb399b90971b36d0111e8721cb6be70198a2006b630 SHA512 4c7f8a7264c408d67bdb2163ec299e22684a958a1d4959c2710f55e58b665a69ff57852ef20a16088a15ba648a3fdaf6b05ec3676983a420b039d2a615b2cd6c DIST duplicati-2.0.7.1_beta20230525.tar.gz 44134279 BLAKE2B 6bd8216457588e4441a0449a221535a64e61aec7abd0649eb0452a767ea60e81fad4e10d897c8b286fe1a4df189746294bd72244ffb62455227ea05421e61471 SHA512 047a70348806af98a3e0b8d8e644b2ec752e1bf21ae47a884491d2cbb4b4f00f26a1b9d0dca97295192534c53a0d80aede891cbef685d5f074bcb812bcfd0db8 -EBUILD duplicati-2.0.7.1_beta20230525.ebuild 1086 BLAKE2B cbe7efb85b295a118d908f3e7b3489894eac2b72c075c012f05bb3caf19a8a7019dc2bd9b25217c3a48d6390f20f1556f3001bffc2a9a95bd7c52ca3eaf17019 SHA512 e4310fe3b734fc3c44a285e40b1442013b42c7696f3eee5c893dbe3792b85a83fe9a742f2554a023f876ab983c6f9aeba12c8f70e63145e9a276fd4ad9554192 +EBUILD duplicati-2.0.7.1_beta20230525.ebuild 1143 BLAKE2B c21ce4db3fa394993ddf1c844b7e55adda733b5ad5b17572410df7b2d1ae41a2b3fd607628ef32c666860ec9ec6b3cce0ac57c4949495d6a56e99d3ac1e846f4 SHA512 39f9cb939bd6534f9aba716cad328825bb18ca1355ac623dd9f6d8280ec13aa55943ceef5f3981670e262147a841b3265be9fa48a38a6cd1ce5e475cc3d8e5bc diff --git a/app-backup/duplicati/files/Makefile.patch b/app-backup/duplicati/files/Makefile.patch new file mode 100644 index 0000000..9ff4257 --- /dev/null +++ b/app-backup/duplicati/files/Makefile.patch @@ -0,0 +1,10 @@ +diff --git a/Installer/Makefile/Makefile b/Installer/Makefile/Makefile +index 550e7b9..0cb537f 100755 +--- a/Installer/Makefile/Makefile ++++ b/Installer/Makefile/Makefile +@@ -1,4 +1,4 @@ +-BUILD_TOOL=msbuild ++BUILD_TOOL=dotnet msbuild + BUILD_ARGS=/property:Platform=Any\ CPU /property:Configuration=Release + BUILD_ARGS_DEBUG=/property:Platform=Any\ CPU /property:Configuration=Debug + diff --git a/app-backup/duplicati/files/dotnet-framework.patch b/app-backup/duplicati/files/dotnet-framework.patch index e2079f4..3be5332 100644 --- a/app-backup/duplicati/files/dotnet-framework.patch +++ b/app-backup/duplicati/files/dotnet-framework.patch @@ -1212,149 +1212,6 @@ index 170347b..bafa1b4 100644 - \ No newline at end of file + -diff --git a/Installer/Makefile/Makefile b/Installer/Makefile/Makefile -index 51eaf9f..e3626d8 100755 ---- a/Installer/Makefile/Makefile -+++ b/Installer/Makefile/Makefile -@@ -2,7 +2,7 @@ BUILD_TOOL=dotnet msbuild - BUILD_ARGS=/property:Platform=Any\ CPU /property:Configuration=Release - BUILD_ARGS_DEBUG=/property:Platform=Any\ CPU /property:Configuration=Debug - --NUGET_TOOL=dotnet -+NUGET_TOOL=mono /tmp/nuget.exe - NUGET_ARGS=restore - - OUTPUT_ARGS=/property:OutputPath=bin/Release -@@ -34,7 +34,7 @@ package: build - mkdir "$(PACKAGE_DIR)/usr/share/applications" - mkdir "$(PACKAGE_DIR)/usr/share/pixmaps" - mkdir "$(PACKAGE_DIR)/usr/share/doc" -- mkdir "$(PACKAGE_DIR)/usr/share/doc/duplicati" -+ mkdir "$(PACKAGE_DIR)/usr/share/doc/duplicati" - cp -R "$(SOURCE_DIR)/Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" "$(PACKAGE_DIR)/usr/lib/duplicati" - - rm -rf "$(PKG_TARGET)/SQLite" -@@ -51,7 +51,7 @@ package: build - - # If we edit files, we sometimes get backup files included - find "$(PACKAGE_DIR)" -type f -name \*\~ -exec rm -rf '{}' \; -- -+ - #Set permissions - #chown -R root:root "$(PACKAGE_DIR)" - chmod -R 755 "$(PACKAGE_DIR)" -@@ -62,17 +62,17 @@ package: build - for EXT in exe py sh; do \ - find "$(PACKAGE_DIR)" -type f -name \*.$(EXT) -exec chmod 755 "{}" \; ; \ - done -- -+ - chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati" - chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati-cli" -- -+ - if [ -e "duplicati.tar" ]; then \ - rm -rf "duplicati.tar"; \ - fi - if [ -e "duplicati.tar.gz" ]; then \ - rm -rf "duplicati.tar.gz"; \ - fi -- -+ - tar -C "$(PACKAGE_DIR)" -cf "duplicati.tar" . - gzip --best "duplicati.tar" - -diff --git a/Installer/Makefile/Makefile~ b/Installer/Makefile/Makefile~ -deleted file mode 100755 -index 0ab1bde..0000000 ---- a/Installer/Makefile/Makefile~ -+++ /dev/null -@@ -1,85 +0,0 @@ --BUILD_TOOL=dotnet msbuild --BUILD_ARGS=/property:Platform=Any\ CPU /property:Configuration=Release --BUILD_ARGS_DEBUG=/property:Platform=Any\ CPU /property:Configuration=Debug -- --NUGET_TOOL=dotnet nuget --NUGET_ARGS=restore -- --OUTPUT_ARGS=/property:OutputPath=bin/Release --SOURCE_DIR=../../. --PACKAGE_DIR=./pkg --PKG_TARGET=$(PACKAGE_DIR)/usr/lib/duplicati -- --all: package -- --build: -- $(NUGET_TOOL) $(NUGET_ARGS) "$(SOURCE_DIR)/Duplicati.sln" -- $(BUILD_TOOL) $(BUILD_ARGS) "$(SOURCE_DIR)/Duplicati.sln" -- $(BUILD_TOOL) $(BUILD_ARGS) "$(SOURCE_DIR)/BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" -- --debug: -- $(NUGET_TOOL) $(NUGET_ARGS) "$(SOURCE_DIR)/Duplicati.sln" -- $(BUILD_TOOL) $(BUILD_ARGS_DEBUG) "$(SOURCE_DIR)/Duplicati.sln" -- $(BUILD_TOOL) $(BUILD_ARGS_DEBUG) "$(SOURCE_DIR)/BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" -- --package: build -- if [ -e "$(PACKAGE_DIR)" ]; then \ -- rm -rf "$(PACKAGE_DIR)"; \ -- fi -- mkdir "$(PACKAGE_DIR)" -- mkdir "$(PACKAGE_DIR)/usr" -- mkdir "$(PACKAGE_DIR)/usr/lib" -- mkdir "$(PACKAGE_DIR)/usr/bin" -- mkdir "$(PACKAGE_DIR)/usr/share" -- mkdir "$(PACKAGE_DIR)/usr/share/applications" -- mkdir "$(PACKAGE_DIR)/usr/share/pixmaps" -- mkdir "$(PACKAGE_DIR)/usr/share/doc" -- mkdir "$(PACKAGE_DIR)/usr/share/doc/duplicati" -- cp -R "$(SOURCE_DIR)/Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" "$(PACKAGE_DIR)/usr/lib/duplicati" -- -- rm -rf "$(PKG_TARGET)/SQLite" -- rm -rf "$(PKG_TARGET)/win-tools" -- rm -rf "$(PKG_TARGET)/"*.mdb -- -- cp -R "$(SOURCE_DIR)/Duplicati/Server/webroot" "$(PACKAGE_DIR)/usr/lib/duplicati/" -- cp "$(SOURCE_DIR)/Installer/debian/duplicati-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati" -- cp "$(SOURCE_DIR)/Installer/debian/duplicati-commandline-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-cli" -- cp "$(SOURCE_DIR)/Installer/debian/duplicati-server-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-server" -- cp "$(SOURCE_DIR)/Installer/debian/duplicati.desktop" "$(PACKAGE_DIR)/usr/share/applications/" -- cp "$(SOURCE_DIR)/Installer/debian/duplicati.xpm" "$(PACKAGE_DIR)/usr/share/pixmaps/" -- cp "$(SOURCE_DIR)/Installer/debian/duplicati.png" "$(PACKAGE_DIR)/usr/share/pixmaps/" -- -- # If we edit files, we sometimes get backup files included -- find "$(PACKAGE_DIR)" -type f -name \*\~ -exec rm -rf '{}' \; -- -- #Set permissions -- #chown -R root:root "$(PACKAGE_DIR)" -- chmod -R 755 "$(PACKAGE_DIR)" -- -- find "$(PACKAGE_DIR)" -type d -exec chmod 755 "{}" \; -- find "$(PACKAGE_DIR)" -type f -exec chmod 644 "{}" \; -- -- for EXT in exe py sh; do \ -- find "$(PACKAGE_DIR)" -type f -name \*.$(EXT) -exec chmod 755 "{}" \; ; \ -- done -- -- chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati" -- chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati-cli" -- -- if [ -e "duplicati.tar" ]; then \ -- rm -rf "duplicati.tar"; \ -- fi -- if [ -e "duplicati.tar.gz" ]; then \ -- rm -rf "duplicati.tar.gz"; \ -- fi -- -- tar -C "$(PACKAGE_DIR)" -cf "duplicati.tar" . -- gzip --best "duplicati.tar" -- --clean: -- (find "$(SOURCE_DIR)" -type d -name bin -exec rm -rf "{}" \; &> /dev/null) || echo "bin cleaned" -- (find "$(SOURCE_DIR)" -type d -name obj -exec rm -rf "{}" \; &> /dev/null) || echo "obj cleaned" -- rm -rf "$(PACKAGE_DIR)" -- -- --.PHONY: build all clean package debug diff --git a/Tools/SQLiteTool/SQLiteTool.csproj b/Tools/SQLiteTool/SQLiteTool.csproj index 9457deb..4946a5f 100644 --- a/Tools/SQLiteTool/SQLiteTool.csproj @@ -1391,64 +1248,6 @@ index 408dd65..307a597 100644 - \ No newline at end of file + -diff --git a/mono-path-override.props b/mono-path-override.props -index d7bbdc7..abc3b75 100644 ---- a/mono-path-override.props -+++ b/mono-path-override.props -@@ -1,28 +1,32 @@ -- -+ - -- -- -- true -+ -+ -+ - -- -- /Library/Frameworks/Mono.framework/Versions/Current/lib/mono -- /usr/lib/mono -- /usr/local/lib/mono -+ -+ -+ -+ - -- -- $(BaseFrameworkPathOverrideForMono)/4.5-api -- $(BaseFrameworkPathOverrideForMono)/4.5.1-api -- $(BaseFrameworkPathOverrideForMono)/4.5.2-api -- $(BaseFrameworkPathOverrideForMono)/4.6-api -- $(BaseFrameworkPathOverrideForMono)/4.6.1-api -- $(BaseFrameworkPathOverrideForMono)/4.6.2-api -- $(BaseFrameworkPathOverrideForMono)/4.7-api -- $(BaseFrameworkPathOverrideForMono)/4.7.1-api -- $(BaseFrameworkPathOverrideForMono)/4.7.2-api -- $(BaseFrameworkPathOverrideForMono)/4.8-api -- true -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ /usr/lib/mono/4.7.1-api -+ true - - -- $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths) -+ -+ $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths) - - diff --git a/thirdparty/mozroots/mozroots.csproj b/thirdparty/mozroots/mozroots.csproj index 03ba919..fdd0a8a 100644 --- a/thirdparty/mozroots/mozroots.csproj diff --git a/app-backup/duplicati/files/dotnet-framework.patch_backup b/app-backup/duplicati/files/dotnet-framework.patch_backup new file mode 100644 index 0000000..e2079f4 --- /dev/null +++ b/app-backup/duplicati/files/dotnet-framework.patch_backup @@ -0,0 +1,1462 @@ +diff --git a/BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj b/BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj +index 4a6f240..2b98157 100644 +--- a/BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj ++++ b/BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -74,4 +75,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/BuildTools/DependencyFinder/DependencyFinder.csproj b/BuildTools/DependencyFinder/DependencyFinder.csproj +index 4274d9a..9ca5672 100644 +--- a/BuildTools/DependencyFinder/DependencyFinder.csproj ++++ b/BuildTools/DependencyFinder/DependencyFinder.csproj +@@ -1,5 +1,6 @@ + + ++ + + Debug + x86 +@@ -56,4 +57,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj b/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj +index e416fc8..c493ae8 100644 +--- a/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj ++++ b/BuildTools/GnupgSigningTool/GnupgSigningTool.csproj +@@ -1,5 +1,6 @@ + + ++ + + Debug + x86 +@@ -58,4 +59,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj b/BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj +index 0a9333d..40a80c3 100644 +--- a/BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj ++++ b/BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +diff --git a/Duplicati CommandLine Only.sln b/Duplicati CommandLine Only.sln +index 3d934e7..9522f35 100644 +--- a/Duplicati CommandLine Only.sln ++++ b/Duplicati CommandLine Only.sln +@@ -87,7 +87,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.J + EndProject + Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.Rclone", "Duplicati\Library\Backend\Rclone\Duplicati.Library.Backend.Rclone.csproj", "{851A1CB8-3CEB-41B4-956F-34D760D2A8E5}" + EndProject +-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.IDrive", "Duplicati\Library\Backend\IDrive\Duplicati.Library.Backend.IDrive.csproj", "{C16639F6-DACC-4DD9-86CD-8B937516B340}" ++Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Duplicati.Library.Backend.Idrivee2", "Duplicati\Library\Backend\Idrivee2\Duplicati.Library.Backend.Idrivee2.csproj", "{C16639F6-DACC-4DD9-86CD-8B937516B340}" + EndProject + Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution +diff --git a/Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj b/Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj +index a0fa7bb..289f4fb 100644 +--- a/Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj ++++ b/Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -212,11 +213,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj b/Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj +index 1140e4b..8ef53d7 100644 +--- a/Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj ++++ b/Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -172,4 +173,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj b/Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj +index cf7c878..e40a9f6 100644 +--- a/Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj ++++ b/Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -59,11 +60,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/CommandLine/Duplicati.CommandLine.csproj b/Duplicati/CommandLine/Duplicati.CommandLine.csproj +index 1e43ae8..5b7501a 100644 +--- a/Duplicati/CommandLine/Duplicati.CommandLine.csproj ++++ b/Duplicati/CommandLine/Duplicati.CommandLine.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -257,11 +258,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj b/Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj +index 49e0d80..3c6b97d 100644 +--- a/Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj ++++ b/Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -202,4 +203,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj +index 5dbd5d4..57c296c 100644 +--- a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj ++++ b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +diff --git a/Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj b/Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj +index 50641d0..6aed5f9 100644 +--- a/Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj ++++ b/Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -87,4 +88,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj b/Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj +index a2042d4..a463e67 100644 +--- a/Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj ++++ b/Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -81,11 +82,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj b/Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj +index b7773af..2440887 100644 +--- a/Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj ++++ b/Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Duplicati.snk + false +@@ -108,11 +109,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj b/Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj +index d57688e..202232d 100644 +--- a/Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj ++++ b/Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -68,4 +69,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj b/Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj +index 8e76192..45274ec 100644 +--- a/Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj ++++ b/Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -71,4 +72,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj b/Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj +index 7ce3629..1064c2e 100644 +--- a/Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj ++++ b/Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -67,11 +68,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj b/Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj +index 2a1531e..356d288 100644 +--- a/Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj ++++ b/Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -71,11 +72,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj b/Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj +index 64f6e9b..d0910ae 100644 +--- a/Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj ++++ b/Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -71,11 +72,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj b/Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj +index 1fc3e52..ae5991d 100644 +--- a/Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj ++++ b/Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -67,11 +68,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj b/Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj +index b2bec64..c43f06b 100644 +--- a/Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj ++++ b/Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -70,4 +71,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj b/Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj +index e742a31..5347d99 100644 +--- a/Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj ++++ b/Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -61,4 +62,4 @@ + Duplicati.Library.Utility + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Idrivee2/Duplicati.Library.Backend.Idrivee2.csproj b/Duplicati/Library/Backend/Idrivee2/Duplicati.Library.Backend.Idrivee2.csproj +index c446d49..cea5241 100644 +--- a/Duplicati/Library/Backend/Idrivee2/Duplicati.Library.Backend.Idrivee2.csproj ++++ b/Duplicati/Library/Backend/Idrivee2/Duplicati.Library.Backend.Idrivee2.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -111,4 +112,4 @@ + + + --> +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj b/Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj +index 378f3c2..7d9a0a8 100644 +--- a/Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj ++++ b/Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -79,11 +80,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj b/Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj +index 0a93f07..1ae2c37 100644 +--- a/Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj ++++ b/Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +diff --git a/Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj b/Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj +index 3a57a6e..90e6584 100644 +--- a/Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj ++++ b/Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -70,4 +71,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj b/Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj +index dc9f711..5f2eb3b 100644 +--- a/Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj ++++ b/Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -93,11 +94,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj b/Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj +index 522f8dc..d3f7c04 100644 +--- a/Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj ++++ b/Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -68,4 +69,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj b/Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj +index ff71582..b633d4b 100644 +--- a/Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj ++++ b/Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -63,4 +64,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj b/Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj +index 6f5f420..45dc34c 100644 +--- a/Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj ++++ b/Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -117,4 +118,4 @@ + + + --> +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj b/Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj +index 98cddeb..6818eb2 100644 +--- a/Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj ++++ b/Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -73,7 +74,7 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj b/Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj +index f62ee2b..b7c87a0 100644 +--- a/Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj ++++ b/Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -67,4 +68,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj b/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj +index 4f61794..c5d1d21 100644 +--- a/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj ++++ b/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -125,4 +126,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj b/Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj +index cfc4101..dedd000 100644 +--- a/Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj ++++ b/Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -74,11 +75,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj b/Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj +index 5f7ba3e..9c1e3bb 100644 +--- a/Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj ++++ b/Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -113,4 +114,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj b/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj +index a22f356..dff5c39 100644 +--- a/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj ++++ b/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -77,4 +78,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj b/Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj +index 44399a7..bc9f8db 100644 +--- a/Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj ++++ b/Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -71,11 +72,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Common/Duplicati.Library.Common.csproj b/Duplicati/Library/Common/Duplicati.Library.Common.csproj +index d90c144..e643f94 100644 +--- a/Duplicati/Library/Common/Duplicati.Library.Common.csproj ++++ b/Duplicati/Library/Common/Duplicati.Library.Common.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -81,7 +82,7 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj b/Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj +index ee6d1b8..d40aebd 100644 +--- a/Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj ++++ b/Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -72,11 +73,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj b/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj +index 2acfde7..7c7da18 100644 +--- a/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj ++++ b/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -78,4 +79,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj b/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj +index 963c4c0..7aa5ca7 100644 +--- a/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj ++++ b/Duplicati/Library/Interface/Duplicati.Library.Interface.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -69,7 +70,7 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Library/Main/Duplicati.Library.Main.csproj b/Duplicati/Library/Main/Duplicati.Library.Main.csproj +index 2788134..902afd7 100644 +--- a/Duplicati/Library/Main/Duplicati.Library.Main.csproj ++++ b/Duplicati/Library/Main/Duplicati.Library.Main.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -210,7 +211,7 @@ + + + +- + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Server/Duplicati.Server.csproj b/Duplicati/Server/Duplicati.Server.csproj +index 168badb..73ab187 100644 +--- a/Duplicati/Server/Duplicati.Server.csproj ++++ b/Duplicati/Server/Duplicati.Server.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -340,11 +341,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Duplicati/Service/Duplicati.Service.csproj b/Duplicati/Service/Duplicati.Service.csproj +index 0def67c..98163e7 100644 +--- a/Duplicati/Service/Duplicati.Service.csproj ++++ b/Duplicati/Service/Duplicati.Service.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -61,4 +62,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/Tools/Duplicati.Tools.csproj b/Duplicati/Tools/Duplicati.Tools.csproj +index 1496eda..181792f 100644 +--- a/Duplicati/Tools/Duplicati.Tools.csproj ++++ b/Duplicati/Tools/Duplicati.Tools.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -95,4 +96,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/UnitTest/Duplicati.UnitTest.csproj b/Duplicati/UnitTest/Duplicati.UnitTest.csproj +index 995e447..9e01593 100644 +--- a/Duplicati/UnitTest/Duplicati.UnitTest.csproj ++++ b/Duplicati/UnitTest/Duplicati.UnitTest.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -217,4 +218,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Duplicati/WindowsService/WindowsService.csproj b/Duplicati/WindowsService/WindowsService.csproj +index 170347b..bafa1b4 100644 +--- a/Duplicati/WindowsService/WindowsService.csproj ++++ b/Duplicati/WindowsService/WindowsService.csproj +@@ -1,5 +1,6 @@ +  + ++ + + + Debug +@@ -89,11 +90,11 @@ + + + +- +- +\ No newline at end of file ++ +diff --git a/Installer/Makefile/Makefile b/Installer/Makefile/Makefile +index 51eaf9f..e3626d8 100755 +--- a/Installer/Makefile/Makefile ++++ b/Installer/Makefile/Makefile +@@ -2,7 +2,7 @@ BUILD_TOOL=dotnet msbuild + BUILD_ARGS=/property:Platform=Any\ CPU /property:Configuration=Release + BUILD_ARGS_DEBUG=/property:Platform=Any\ CPU /property:Configuration=Debug + +-NUGET_TOOL=dotnet ++NUGET_TOOL=mono /tmp/nuget.exe + NUGET_ARGS=restore + + OUTPUT_ARGS=/property:OutputPath=bin/Release +@@ -34,7 +34,7 @@ package: build + mkdir "$(PACKAGE_DIR)/usr/share/applications" + mkdir "$(PACKAGE_DIR)/usr/share/pixmaps" + mkdir "$(PACKAGE_DIR)/usr/share/doc" +- mkdir "$(PACKAGE_DIR)/usr/share/doc/duplicati" ++ mkdir "$(PACKAGE_DIR)/usr/share/doc/duplicati" + cp -R "$(SOURCE_DIR)/Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" "$(PACKAGE_DIR)/usr/lib/duplicati" + + rm -rf "$(PKG_TARGET)/SQLite" +@@ -51,7 +51,7 @@ package: build + + # If we edit files, we sometimes get backup files included + find "$(PACKAGE_DIR)" -type f -name \*\~ -exec rm -rf '{}' \; +- ++ + #Set permissions + #chown -R root:root "$(PACKAGE_DIR)" + chmod -R 755 "$(PACKAGE_DIR)" +@@ -62,17 +62,17 @@ package: build + for EXT in exe py sh; do \ + find "$(PACKAGE_DIR)" -type f -name \*.$(EXT) -exec chmod 755 "{}" \; ; \ + done +- ++ + chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati" + chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati-cli" +- ++ + if [ -e "duplicati.tar" ]; then \ + rm -rf "duplicati.tar"; \ + fi + if [ -e "duplicati.tar.gz" ]; then \ + rm -rf "duplicati.tar.gz"; \ + fi +- ++ + tar -C "$(PACKAGE_DIR)" -cf "duplicati.tar" . + gzip --best "duplicati.tar" + +diff --git a/Installer/Makefile/Makefile~ b/Installer/Makefile/Makefile~ +deleted file mode 100755 +index 0ab1bde..0000000 +--- a/Installer/Makefile/Makefile~ ++++ /dev/null +@@ -1,85 +0,0 @@ +-BUILD_TOOL=dotnet msbuild +-BUILD_ARGS=/property:Platform=Any\ CPU /property:Configuration=Release +-BUILD_ARGS_DEBUG=/property:Platform=Any\ CPU /property:Configuration=Debug +- +-NUGET_TOOL=dotnet nuget +-NUGET_ARGS=restore +- +-OUTPUT_ARGS=/property:OutputPath=bin/Release +-SOURCE_DIR=../../. +-PACKAGE_DIR=./pkg +-PKG_TARGET=$(PACKAGE_DIR)/usr/lib/duplicati +- +-all: package +- +-build: +- $(NUGET_TOOL) $(NUGET_ARGS) "$(SOURCE_DIR)/Duplicati.sln" +- $(BUILD_TOOL) $(BUILD_ARGS) "$(SOURCE_DIR)/Duplicati.sln" +- $(BUILD_TOOL) $(BUILD_ARGS) "$(SOURCE_DIR)/BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" +- +-debug: +- $(NUGET_TOOL) $(NUGET_ARGS) "$(SOURCE_DIR)/Duplicati.sln" +- $(BUILD_TOOL) $(BUILD_ARGS_DEBUG) "$(SOURCE_DIR)/Duplicati.sln" +- $(BUILD_TOOL) $(BUILD_ARGS_DEBUG) "$(SOURCE_DIR)/BuildTools/UpdateVersionStamp/UpdateVersionStamp.sln" +- +-package: build +- if [ -e "$(PACKAGE_DIR)" ]; then \ +- rm -rf "$(PACKAGE_DIR)"; \ +- fi +- mkdir "$(PACKAGE_DIR)" +- mkdir "$(PACKAGE_DIR)/usr" +- mkdir "$(PACKAGE_DIR)/usr/lib" +- mkdir "$(PACKAGE_DIR)/usr/bin" +- mkdir "$(PACKAGE_DIR)/usr/share" +- mkdir "$(PACKAGE_DIR)/usr/share/applications" +- mkdir "$(PACKAGE_DIR)/usr/share/pixmaps" +- mkdir "$(PACKAGE_DIR)/usr/share/doc" +- mkdir "$(PACKAGE_DIR)/usr/share/doc/duplicati" +- cp -R "$(SOURCE_DIR)/Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release" "$(PACKAGE_DIR)/usr/lib/duplicati" +- +- rm -rf "$(PKG_TARGET)/SQLite" +- rm -rf "$(PKG_TARGET)/win-tools" +- rm -rf "$(PKG_TARGET)/"*.mdb +- +- cp -R "$(SOURCE_DIR)/Duplicati/Server/webroot" "$(PACKAGE_DIR)/usr/lib/duplicati/" +- cp "$(SOURCE_DIR)/Installer/debian/duplicati-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati" +- cp "$(SOURCE_DIR)/Installer/debian/duplicati-commandline-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-cli" +- cp "$(SOURCE_DIR)/Installer/debian/duplicati-server-launcher.sh" "$(PACKAGE_DIR)/usr/bin/duplicati-server" +- cp "$(SOURCE_DIR)/Installer/debian/duplicati.desktop" "$(PACKAGE_DIR)/usr/share/applications/" +- cp "$(SOURCE_DIR)/Installer/debian/duplicati.xpm" "$(PACKAGE_DIR)/usr/share/pixmaps/" +- cp "$(SOURCE_DIR)/Installer/debian/duplicati.png" "$(PACKAGE_DIR)/usr/share/pixmaps/" +- +- # If we edit files, we sometimes get backup files included +- find "$(PACKAGE_DIR)" -type f -name \*\~ -exec rm -rf '{}' \; +- +- #Set permissions +- #chown -R root:root "$(PACKAGE_DIR)" +- chmod -R 755 "$(PACKAGE_DIR)" +- +- find "$(PACKAGE_DIR)" -type d -exec chmod 755 "{}" \; +- find "$(PACKAGE_DIR)" -type f -exec chmod 644 "{}" \; +- +- for EXT in exe py sh; do \ +- find "$(PACKAGE_DIR)" -type f -name \*.$(EXT) -exec chmod 755 "{}" \; ; \ +- done +- +- chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati" +- chmod +x "$(PACKAGE_DIR)/usr/bin/duplicati-cli" +- +- if [ -e "duplicati.tar" ]; then \ +- rm -rf "duplicati.tar"; \ +- fi +- if [ -e "duplicati.tar.gz" ]; then \ +- rm -rf "duplicati.tar.gz"; \ +- fi +- +- tar -C "$(PACKAGE_DIR)" -cf "duplicati.tar" . +- gzip --best "duplicati.tar" +- +-clean: +- (find "$(SOURCE_DIR)" -type d -name bin -exec rm -rf "{}" \; &> /dev/null) || echo "bin cleaned" +- (find "$(SOURCE_DIR)" -type d -name obj -exec rm -rf "{}" \; &> /dev/null) || echo "obj cleaned" +- rm -rf "$(PACKAGE_DIR)" +- +- +-.PHONY: build all clean package debug +diff --git a/Tools/SQLiteTool/SQLiteTool.csproj b/Tools/SQLiteTool/SQLiteTool.csproj +index 9457deb..4946a5f 100644 +--- a/Tools/SQLiteTool/SQLiteTool.csproj ++++ b/Tools/SQLiteTool/SQLiteTool.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -45,4 +46,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/Tools/ZipFileDebugger/ZipFileDebugger.csproj b/Tools/ZipFileDebugger/ZipFileDebugger.csproj +index 408dd65..307a597 100644 +--- a/Tools/ZipFileDebugger/ZipFileDebugger.csproj ++++ b/Tools/ZipFileDebugger/ZipFileDebugger.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU +@@ -52,4 +53,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/mono-path-override.props b/mono-path-override.props +index d7bbdc7..abc3b75 100644 +--- a/mono-path-override.props ++++ b/mono-path-override.props +@@ -1,28 +1,32 @@ +- ++ + +- +- +- true ++ ++ ++ + +- +- /Library/Frameworks/Mono.framework/Versions/Current/lib/mono +- /usr/lib/mono +- /usr/local/lib/mono ++ ++ ++ ++ + +- +- $(BaseFrameworkPathOverrideForMono)/4.5-api +- $(BaseFrameworkPathOverrideForMono)/4.5.1-api +- $(BaseFrameworkPathOverrideForMono)/4.5.2-api +- $(BaseFrameworkPathOverrideForMono)/4.6-api +- $(BaseFrameworkPathOverrideForMono)/4.6.1-api +- $(BaseFrameworkPathOverrideForMono)/4.6.2-api +- $(BaseFrameworkPathOverrideForMono)/4.7-api +- $(BaseFrameworkPathOverrideForMono)/4.7.1-api +- $(BaseFrameworkPathOverrideForMono)/4.7.2-api +- $(BaseFrameworkPathOverrideForMono)/4.8-api +- true ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ /usr/lib/mono/4.7.1-api ++ true + + +- $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths) ++ ++ $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths) + + +diff --git a/thirdparty/mozroots/mozroots.csproj b/thirdparty/mozroots/mozroots.csproj +index 03ba919..fdd0a8a 100644 +--- a/thirdparty/mozroots/mozroots.csproj ++++ b/thirdparty/mozroots/mozroots.csproj +@@ -1,5 +1,6 @@ +  + ++ + + Debug + AnyCPU diff --git a/app-backup/duplicati/files/mono-path-override.props b/app-backup/duplicati/files/mono-path-override.props index d7bbdc7..e7ede90 100644 --- a/app-backup/duplicati/files/mono-path-override.props +++ b/app-backup/duplicati/files/mono-path-override.props @@ -1,28 +1,10 @@ - + - - - true - - - /Library/Frameworks/Mono.framework/Versions/Current/lib/mono - /usr/lib/mono - /usr/local/lib/mono - - - $(BaseFrameworkPathOverrideForMono)/4.5-api - $(BaseFrameworkPathOverrideForMono)/4.5.1-api - $(BaseFrameworkPathOverrideForMono)/4.5.2-api - $(BaseFrameworkPathOverrideForMono)/4.6-api - $(BaseFrameworkPathOverrideForMono)/4.6.1-api - $(BaseFrameworkPathOverrideForMono)/4.6.2-api - $(BaseFrameworkPathOverrideForMono)/4.7-api - $(BaseFrameworkPathOverrideForMono)/4.7.1-api - $(BaseFrameworkPathOverrideForMono)/4.7.2-api - $(BaseFrameworkPathOverrideForMono)/4.8-api - true + /usr/lib/mono/4.7.1-api + true - $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths) + + $(FrameworkPathOverride)/Facades;$(ReferencePath) diff --git a/app-backup/duplicati/files/netstandard.patch b/app-backup/duplicati/files/netstandard.patch new file mode 100644 index 0000000..59c2017 --- /dev/null +++ b/app-backup/duplicati/files/netstandard.patch @@ -0,0 +1,36 @@ +diff --git a/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj b/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj +index c5d1d21..730371c 100644 +--- a/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj ++++ b/Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj +@@ -66,6 +66,7 @@ + + ..\..\..\..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll + ++ + + + +diff --git a/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj b/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj +index dff5c39..6cdf4f2 100644 +--- a/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj ++++ b/Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj +@@ -38,6 +38,7 @@ + + ..\..\..\..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll + ++ + + + +diff --git a/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj b/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj +index 7c7da18..149a204 100644 +--- a/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj ++++ b/Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj +@@ -35,6 +35,7 @@ + + ..\..\..\packages\SharpAESCrypt.exe.1.3.3\lib\netstandard2.0\SharpAESCrypt.exe + ++ + + +