Commit Graph
317 Commits
Author SHA1 Message Date
Kenneth Hsu 2ee92d5716 Update Makefile to use msbuild instead of xbuild.
This fixes #4454.
2021-05-05 16:52:02 -07:00
Kenneth Skovhede f145b9fcc2 Yet-another fix for the RPM shebang mangler breaking on non-critical stuff 2021-03-07 09:37:56 +01:00
Kenneth SkovhedeandGitHub 2ec0831447 Merge pull request #4410 from warwickmm/use_consistent_mono_images
Use consistent (and updated) mono versions for Docker and Travis
2021-03-06 14:59:56 +01:00
Kenneth Skovhede 321fc31efd Updated changelog in RPM source build script 2021-01-21 12:30:03 +01:00
Kenneth Skovhede 4ec1cf83d5 Updated the RPM source build to have fewer warnings and use msbuild. 2021-01-21 12:26:49 +01:00
Kenneth Skovhede 72d0aa9d3b Now mangling the shebang for DuplicatiVerify.ps in RPMs as it is fixed in source. 2021-01-21 12:26:11 +01:00
Kenneth Skovhede 322a24950c Updated RPM spec file to ignore non-executable files 2021-01-21 11:25:55 +01:00
Kenneth Skovhede 14a1a19654 Updated the RPM diff file to be in-sync with the project file changes 2021-01-21 09:26:56 +01:00
Kenneth Hsu 529e4c7ce5 Update Docker parent image to mono:6. 2021-01-02 13:49:27 -08:00
Kenneth Hsu 6f41be3b47 Use consistent mono image for Docker and Travis tests.
Previously, Travis used the latest mono image.  By using the same one as
the Docker image, we would have caught the problem in issue #4403
before the changes were merged into the master branch.
2021-01-02 12:32:48 -08:00
Dean Ferreyra 6e0611f1ae Disable "legacy path handling" for executables
This disables legacy path handling by changing the
`AssemblyRedirects.xml` that's deployed as the app.config files in the
installation image.

Issue #4295 appears to be a result of legacy path handling being
enabled globally.
2020-09-28 15:34:44 -07:00
Kenneth Hsu 201bb53b29 Add mono-complete to Docker image.
After targeting .NET 4.7.1, some users started encountering errors like:

Could not find method '.ctor' due to a type load error: Could not load
file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
assembly:/opt/duplicati/SharpAESCrypt.exe type:SharpAESCrypt
member:(null)

The TencentCOS and Tardigrade backends are built on .NET Standard 2.0,
and it appears that the dependencies can be awoken even if these
backends are not used.

This fixes #4289.
2020-08-22 15:24:25 -07:00
Kenneth Skovhede 25c1a5b657 Fixed breaking RPM builds due to bundled binaries 2020-08-07 13:15:38 +02:00
Kenneth Hsu 70e8c93d26 Update mono versions in deb and rpm package requirements. 2020-07-27 16:09:26 -07:00
Kenneth Hsu e964072690 Target .NET Framework 4.7.1.
This updates all projects to target .NET Framework 4.7.1.  The
TencentCOS and Tardigrade backends depend on .NET Standard 2.0.  When a
.NET Framework prior to 4.7.1 is targeted, the system cannot be sure
that all the dependencies exist, so it copies all dependent assemblies
to the output directory.  This causes many assemblies from the System
namespace to become bundled in the release.

https://stackoverflow.com/a/48875007

We had previously attempted to make individual projects target 4.7.1
(see pull request #4242), but this can cause compatibility issues when
4.6.2 projects depend on 4.7.1. projects.

This will require Mono 5.10.0 or greater (previously, we required 5.0.0
or greater).

https://www.mono-project.com/docs/about-mono/releases/5.10.0/#class-libraries

This fixes issue #4234.
2020-07-26 19:46:01 -07:00
TopperDEL 37e0d36348 fix: Remove unnecessary windows storj_uplink.dll 2020-07-16 16:34:28 +02:00
TopperDEL 0b0fc23d97 fix: Remove renamed MacOS-dylib on windows-installer 2020-07-16 15:59:26 +02:00
TopperDEL 78065fde53 fix: Rename storj_uplink.dylib to libstorj_uplink.dylib 2020-07-16 15:57:15 +02:00
TopperDELandGitHub dd5a5f6c75 Update WixInstaller.wixproj 2020-06-30 16:44:04 +02:00
TopperDELandGitHub e04adbedd7 Update make-dmg.sh 2020-06-30 16:43:29 +02:00
TopperDEL 31ae3784c0 build: First try to deploy the (only the necessary) tardigrade-binaries for all systems 2020-06-18 17:17:06 +02:00
Kenneth Hsu b4d6bf02bc Do not remove Alpha VSS dependencies in installer packages.
Although these are not needed for the Linux and OS X packages, it
appears that there are times when this dependency is woken up, possibly
due to issues regarding caching and static initialization of the
VssBackupComponents._vssBackupComponents field.

This fixes #4149.
2020-04-20 21:03:20 -07:00
Raúl Pedro Fernandes SantosandGitHub b1ff97ce6f Add missing dependency for Mono certificates
Without this package, Duplicati can't connect to the Backblaze B2 storage
2020-03-30 16:42:57 +01:00
Kenneth Skovhede 679981d29f Enable hardened runtime when building MacOS packages as it is now required. 2020-02-18 14:10:15 +01:00
Rod Savard aa9c859535 Changed minimum required mono-runtime version 2020-02-05 18:00:36 -08:00
drwtsn32x d9e0ece63e Changed minimum required mono-runtime version 2020-01-29 06:50:49 -08:00
Dan Rice dae4e21750 Build docker images for arm64v8 2020-01-20 13:17:59 -05:00
Dan Rice b6720241b3 Build true multi-arch Docker images 2020-01-20 13:17:23 -05:00
Dan Rice 85f2431e7d Fix indentation of Docker README lists (address Codacy complaint) 2020-01-20 13:01:18 -05:00
Kenneth Skovhede 002f86fc6f Changed the Fedora RPM docker build configuration to use the full Mono install, instead of the packaged Mono version as it lacks some required support libraries. 2020-01-20 14:57:32 +01:00
Kenneth Hsu 53a35e6e06 Remove support for Amazon Cloud Drive.
Amazon discontinued access to the Cloud Drive API.

See https://forum.duplicati.com/t/amazon-cloud-drive-discontinued/7391.
2019-12-01 10:36:36 -08:00
Kenneth Skovhede 3a2e001b10 Updated notarization script to deal with errors in macOS notarization delays 2019-11-05 15:51:53 +01:00
Kenneth Skovhede 7d3ba5ebd4 Experiment with running notarization and stapling for macOS in detached processes 2019-11-05 11:34:40 +01:00
Kenneth Skovhede 3c39114062 Clarified the notarizing/stapling comment 2019-10-31 13:22:45 +01:00
Kenneth Skovhede 86776d83bc Removed the deleted run-with-mono.sh script from the signing list 2019-10-31 13:21:47 +01:00
Kenneth Skovhede d1993e1356 Updated macOS launchers to redirect stdin, stout, and stderr. 2019-10-31 11:47:46 +01:00
Kenneth Skovhede d55403778a Updated minimum Mono requirement to 5.0 based on feedback from @warwickmm 2019-10-29 22:24:17 +01:00
Kenneth Skovhede 22a4aec312 Ported run-with-mono.sh bash script to Objective C version to work better with MacOS Catalina security features 2019-10-28 23:21:50 +01:00
Kenneth Skovhede d19ff80b92 Fixed passing username/password to the notarization tool for macOS during builds 2019-09-20 21:56:35 +02:00
Kenneth Skovhede 5503ad7f2c Added notarizing support for MacOS packages 2019-09-18 13:27:45 +02:00
BlueBlock c14c4a8009 add FORSERVICE option to installer
FORSERVICE will only install DuplicatiCore
2019-09-06 13:54:30 -04:00
BlueBlock 2bac2126b7 rename core feature 2019-09-06 10:21:43 -04:00
BlueBlock 8a6e2e2281 revert wix back to InstallInitialize 2019-09-04 11:59:46 -04:00
Kenneth SkovhedeandGitHub c03ccb8aae Merge pull request #3886 from BlueBlock/change-wix-installer-to-afterinstallfinalize
Change Wix installer to after-installfinalize
2019-09-03 22:50:48 +02:00
BlueBlock dcae22eef5 fix http reference
ref: https://github.com/dotnet/corefx/issues/22781
2019-09-03 15:25:34 -04:00
BlueBlock c912ae3e51 fix display of 462 not installed msg
it currently will display "The .NET Framework 4.6.2 must be installed ()"
change to just display "The .NET Framework 4.6.2 must be installed"
2019-09-03 12:56:56 -04:00
BlueBlock 4a9fba8da7 change wix ordering to use more efficient method 2019-09-03 12:55:42 -04:00
Kenneth Skovhede cc2e03b0d6 Updated the assembly redirect file that is used to overwrite the normal app.config files on release builds. 2019-09-02 22:07:20 +02:00
BlueBlock 2c41f24e25 wix installer update to 462 2019-08-29 19:48:30 -04:00
BlueBlock 50e6d058b0 update framework reqs in readme 2019-07-31 13:18:54 -04:00