diff --git a/Makefile.am b/Makefile.am index 3d60cc7f..a004ca71 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,124 +1,124 @@ # Makefile.am - Installer for GnuPG 4 Windows Makefile. # Copyright (C) 2005, 2008, 2012 g10 Code GmbH # # This file is part of GPG4Win. # # GPG4Win is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # GPG4Win is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . ACLOCAL_AMFLAGS = -I m4 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip DISTCHECK_CONFIGURE_FLAGS = --host=i686-w64-mingw32 if BUILD_GPG4WIN po = po else po = endif if BUILD_GPG4WIN doc = doc else doc = endif SUBDIRS = ${po} packages ${doc} src # find patches -type f | sort | sed 's/$/ \\/' | sed 's/^/ /' # find patches-appimage -type f | sort | sed 's/$/ \\/' | sed 's/^/ /' EXTRA_DIST = autogen.sh README.GIT ONEWS \ doc/license-page doc/GPLv3 \ build-aux/git-log-footer build-aux/git-log-fix \ docker/appimage/build-appimage.sh \ docker/appimage/Dockerfile \ docker/build-appimage-docker-image.sh \ docker/run-appimage-build.sh \ patches/boost/boost-1-fixes.patch \ patches/breeze-icons/0001-Make-binary-icons-cross-compilable.patch \ patches/extra-cmake-modules/0001-Use-BIN_INSTALL_DIR-data-for-DATAROOTDIR-on-Windows.patch \ patches/glib-2.41.5/01-socket.patch \ patches/glib-2.41.5/02-formatsec.patch \ - patches/gpgol/0001-Handle-protected-headers-also-on-multipart-parts.patch \ + patches/gpgol/0001-Enable-sync-encryption-again.patch \ patches/kconfigwidgets/0001-Make-QDbus-optional.patch \ patches/kiconthemes/0001-Make-DBus-optional.patch \ patches/kleopatra/lower-cmake-requirement.patch \ patches/kxmlgui/0001-make-qdbus-optional.patch \ patches/kxmlgui/0004-Cruedly-disable-KSendbugmail.patch \ patches/libkleo/lower-cmake-requirement.patch \ patches/libkleo/z-01-use-pre-5.80-ecm_qt_declare_logging_category.patch \ patches/qtbase/0001-Fix-build-without-std-thread.patch \ patches/qtbase/0001-Gpg4win-qstandardpaths-patch.patch \ patches/qtbase/0002-Gpg4win-theme-names-and-relpaths.patch \ patches/qtbase/0003-Fix-build-with-GCC-11-include-limits.patch \ patches/qttools/disable-most-tools.patch \ patches/w32pth-2.0.5/workaround-broken-libtool.patch \ patches-appimage/gnupg-2.3.2/0001-agent-Fix-segv-in-GET_PASSPHRASE-regression.patch \ patches-appimage/gnupg-2.3.2/0002-build-Fix-ksba.h-not-found-problem.patch \ patches-appimage/gnupg-2.3.2/0003-common-New-function-substitute_envvars.patch \ patches-appimage/gnupg-2.3.2/0004-common-Support-a-gpgconf.ctl-file-under-Unix.patch \ patches-appimage/gnupg-2.3.2/0005-build-Fix-several-include-file-not-found-problems.patch \ patches-appimage/kconfigwidgets/0001-build-without-KF5Auth.patch \ patches-appimage/libkleo-21.08.1/0001-Add-support-for-non-standard-boost-include-directori.patch \ patches-appimage/libkleo-21.08.1/z-01-use-pre-5.80-ecm_qt_declare_logging_category.patch \ patches-appimage/qtwayland-5.15.0/00-disable-wayland-server.patch copy-news: cp NEWS doc/website/NEWS.last copy-release: gpg4win-$(VERSION).tar.bz2 installers/gpg4win-$(VERSION).exe \ installers/gpg4win-light-$(VERSION).exe \ installers/gpg4win-vanilla-$(VERSION).exe @echo Copying $(VERSION) to $(RELEASEHOST) >&2 @set -e;\ if ssh "$$(echo $(RELEASEHOST)|cut -d: -f -1)" \ test -f "$$(echo $(RELEASEHOST)/gpg4win-$(VERSION).exe|cut -d: -f2-)";\ then echo "This release has already been copied to the server" >&2 ;\ else scp gpg4win-$(VERSION).tar.bz2 \ installers/gpg4win-$(VERSION).exe \ installers/gpg4win-light-$(VERSION).exe \ installers/gpg4win-vanilla-$(VERSION).exe \ installers/gpg4win-src-$(VERSION).exe $(RELEASEHOST)/ ;\ for f in en de ; do \ scp src/README.$$f.txt \ $(RELEASEHOST)/README-$(VERSION).$$f.txt; \ done;\ fi dist-hook: gen-ChangeLog gen_start_date = 2012-03-26T00:00:00 .PHONY: gen-ChangeLog gen-ChangeLog: set -e; \ if test -d $(top_srcdir)/.git; then \ (cd $(top_srcdir) && \ $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \ --amend=build-aux/git-log-fix \ --since=$(gen_start_date) ) > $(distdir)/cl-t; \ cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi download: packages/packages.current (cd packages; ./download.sh) msi: $(MAKE) $(AM_MAKEFLAGS) -C src msi msi-signed: $(MAKE) $(AM_MAKEFLAGS) -C src msi-signed msi-upload: $(MAKE) $(AM_MAKEFLAGS) -C src msi-upload diff --git a/patches/gpgol/0001-Enable-sync-encryption-again.patch b/patches/gpgol/0001-Enable-sync-encryption-again.patch new file mode 100755 index 00000000..d2d58fdb --- /dev/null +++ b/patches/gpgol/0001-Enable-sync-encryption-again.patch @@ -0,0 +1,37 @@ +#! /bin/sh +patch -p1 -l -f $* < $0 +exit $? + +From aae2120d3e685c139f954f0b4ada2dddcf3e8134 Mon Sep 17 00:00:00 2001 +From: Andre Heinecke +Date: Fri, 11 Jun 2021 17:11:29 +0200 +Subject: [PATCH] Enable sync encryption again + +* src/main.c (read_options): Always use sync enc again. + +-- +This is my epic enemy, during testing I still had issues with +this so this needs further work to be 100% stable. It is better +to block outlook like the users are used to now anyway then to +have some instabilities there. + +GnuPG-Bug-Id: T5485 +--- + src/main.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/main.c b/src/main.c +index 6e3c34a..92119bf 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -338,7 +338,7 @@ read_options (void) + opt.alwaysShowApproval = get_conf_bool ("alwaysShowApproval", 0); + + /* Hidden options */ +- opt.sync_enc = get_conf_bool ("syncEnc", 0); ++ opt.sync_enc = 1; //get_conf_bool ("syncEnc", 0); + /* Due to an issue where async encryption would leave + unencrypted mails in the recently deleted folder on the + server we block it. */ +-- +2.20.1