Commit Graph

55 Commits

Author SHA1 Message Date
Christian Hohnstaedt
0eb4d3b527 Release XCA 2.9.0 done 2025-03-28 21:41:27 +01:00
Christian Hohnstaedt
89b7c6beea codespell: Fix spelling issues, no functional changes 2025-03-28 18:11:18 +01:00
Christian Hohnstaedt
4b29d5f31e Mac OS: apply the qsqlmysql patch automatically 2025-03-28 11:53:14 +01:00
Christian Hohnstaedt
035663ce3f Windows build script: local installation of openssl 2025-03-28 11:53:14 +01:00
Christian Hohnstaedt
ff9d5fcf56 Also compile and include PostgreSQL driver 2025-03-28 11:53:08 +01:00
Christian Hohnstaedt
955cc638a0 Optimize building of zstd 2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
fbed31eb1c Update libraries 2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
5e77d3de5a Close #603: xca.exe(portable) without signature
Extend osslsign script to sign everything inside the portable ZIP
2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
2cc90b8ac6 Close #642: macOS MariaDB plugin requires SSL
Add
 - MYSQL_OPT_SSL_ENFORCE
 - MYSQL_OPT_SSL_VERIFY_SERVER_CERT
 - MARIADB_OPT_TLS_PEER_FP
 - MARIADB_OPT_TLS_PEER_FP_LIST

options to control the SSL behavior.

Especially to disable SSL you need to set
MYSQL_OPT_SSL_VERIFY_SERVER_CERT to false on macosx.
2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
58b2d713a1 Close #640: Fix mysql on Mac OSX
Replace the @rpath/libmariadb.3.dylib by "$INSTALL_DIR"/lib/libmariadb.3.dylib
in the self compiled plugin "libqsqlmysql.dylib" after installation in the
QTDIR plugin directory.

This provokes macdeployqt to install libmariadb.3.dylib to take
libmariadb.3.dylib into account and also install it and resolve all
referenced library paths.

Finally the absolute path will be replaced by the @rpath when
creating the xca.app.

Add tests for my HOME dir inside the installed binaries to
detect errors in the future.
2025-03-28 11:51:49 +01:00
Christian Hohnstaedt
65c4601a7c Release XCA 2.8.0 done
Some checks failed
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Has been cancelled
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Has been cancelled
2024-10-13 15:30:42 +02:00
Christian Hohnstaedt
ba7ba02b20 Prepare Release 2.8.0 2024-10-13 14:18:12 +02:00
Christian Hohnstaedt
caa0fa2ca4 Adapt osslcodesign script
Reference the new drivers
2024-10-04 16:03:03 +02:00
Christian Hohnstaedt
dc81c25670 Windows style changed from windowsvista to modernwindows
Some checks are pending
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Waiting to run
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Waiting to run
From 6.6.3 to 6.7.0
Load the correct style depending on the QT version
2024-10-04 16:01:58 +02:00
Christian Hohnstaedt
fee6235724 Close #306 #537 Allow Database-driver options in config file
XCA tries to read Database-driver specific options from
configurartion files in the getUserSettingsDir()
named after the driver and the host.
2024-10-03 10:44:54 +02:00
Christian Hohnstaedt
b2869e0152 Close #537: macos: Compile mariadb-connector and qsqlmysql
Some checks failed
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Has been cancelled
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Has been cancelled
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Has been cancelled
and include them into the app.
This enables Mariadb/Mysql for Mac OSX

Related to #285
2024-10-01 23:20:04 +02:00
Christian Hohnstaedt
60c9eb5e1b Update shipped openssl libs to 3.3.2
Some checks are pending
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 5.15.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*-Linux.tar.gz, Unix Makefiles, linux, /usr, ubuntu, 6.6.2, ubuntu-latest) (push) Waiting to run
CMake / build (build/xca-*.dmg, Unix Makefiles, mac, /opt/homebrew/opt/openssl, macos, 6.6.2, macos-latest) (push) Waiting to run
CMake / build (build/xca-*.msi build/xca-portable-*.zip , MinGW Makefiles, windows, D:\msys2\msys64\mingw64, windows, 5.15.2, windows-2019, win64_mingw81) (push) Waiting to run
2024-09-30 09:11:39 +02:00
Christian Hohnstaedt
7b9d75b97d Close #590: MacOS OpenSSL legacy provider not loaded
Compile-in the legacy module for windows and macos.
I compile the libraries anyway for the releases of those platforms.
2024-09-30 09:05:12 +02:00
Christian Hohnstaedt
43f4a814e2 Release XCA 2.7.0 done 2024-08-27 23:51:21 +02:00
Christian Hohnstaedt
d27cc87632 Update README and fix minor release-script issues 2024-08-27 23:24:27 +02:00
Christian Hohnstaedt
bc590c8521 Improve changelog
Reuse the generated changelog HTML file
Make sections addressable by DOM search:
  section[id^='xca-" + dashedversion + "'] ul.simple
2024-08-20 11:03:27 +02:00
Christian Hohnstaedt
da59d1dcf0 Revert "Close #480: add flatpak build information and github action"
This reverts commit 5162369a84.

Keep "de.hohnstaedt.xca.metainfo.xml", because it
is not flatpak specific, but specified by freedesktop:
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html

All this flatpak stuff does not belong here, but
into https://github.com/chris2511/flathub.git
2024-08-20 11:03:27 +02:00
Christian Hohnstaedt
ee48266625 Update OpenSSL versions
Stay with QT 6.6.3 on Windows, because windeployqt
does not deploy the gcc libs with QT 6.7.2
Stay with QT 6.6.3 on MacOS, because the info/warning
message does not show an icon
2024-08-20 11:00:21 +02:00
Christian Hohnstaedt
17f79d333e Close #572: The ul label on the XCA official website is not closed
Fix typo in changelog mangle script and fix it online
2024-08-15 09:38:37 +02:00
Christian Hohnstaedt
9d92318389 Fix ITMS-90886: Cannot be used with TestFlight
Add the name from the "provisionprofile" to the
entitlements to silence the error and allow
testflights.

Extend legacy.dylib to also include the x86_64 binary

Bump patch version to get new versions
even with commit amending.
2024-07-17 23:32:36 +02:00
Christian Hohnstaedt
b21221304b Windows/Mac build: switch to QT 6.6.3
and fix a minor typo
2024-07-17 23:32:36 +02:00
Christian Hohnstaedt
1725863325 Macos: Build on Github with SDK-10.15 and Qt5
For official builds go to SDK 11, since Qt-6.6
only supports SDK 11 anyway.

Switch to QT 6.6.2
2024-03-10 19:31:43 +01:00
Christian Hohnstaedt
b26f74f326 Release XCA 2.6.0 done 2024-02-26 23:24:03 +01:00
Christian Hohnstaedt
a97229ae26 Update OpenSSL version for builds
INSTALL.mac is outdated. Its information is merged into
release/build-mac.sh and README.md
2024-02-14 22:33:05 +01:00
Christian
a20e810405 Update Windows build to install legacy.dll
Enable legacy provider to allow loading keys
encrypted with an ancient, insecure
algorithm like "pbeWithSHA1And40BitRC2-CBC" for PKCS#12/PFX

Install the dynamic.dll in the portable app and WIX installer.
2024-02-14 22:27:17 +01:00
Christian Hohnstaedt
a4d8cba0b4 Document flatpak build 2024-02-12 20:57:43 +01:00
Christian Hohnstaedt
5b90728fd2 Update Openssl to 3.1.4 2023-10-30 00:42:38 +01:00
Christian Hohnstaedt
23a044f5ea Support different OSX SDK versions as LSMinimumSystemVersion
Also reduce the minimum SDK to 10.15 for the official build.
2023-10-10 21:03:40 +02:00
Christian Hohnstaedt
570a6c1013 Add build script for MSYS2
This script also builds openssl with legacy algorithms enabled.
2023-10-08 22:26:39 +02:00
Christian Hohnstaedt
3e62f11230 Add File extensions in Info.plist supported by XCA
Inspired by the "/System/Applications/Utilities/Keychain Access.app"
Info.plist: cert, cer, der, crt, p7c, pem, p7b, p7r,
p10, csr, p12, pkcs12, pfx
2023-10-07 20:36:09 +02:00
Christian Hohnstaedt
6dd1ceb7f3 Rename calculated VERSION.txt in BINARY_DIR
Otherwise if BINDIR == SRCDIR this would overwrite
the original VERSION.txt.
2023-10-01 20:47:26 +02:00
Christian Hohnstaedt
3c059b1de1 Add HTML headers around the generated changelog.html 2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
be31b6e22e Make XCA AppStore compliant with -DAPPSTORE_COMPLIANT=ON
APPSTORE_COMPLIANT = ON:
 - Turns off the File menu and moves the language selector to
   the "Extra" Menu. "Options" and "Exit" are at the xca-macos
   special-menu anyway.
 - Switches the signing key from "Developer ID Application" to
   "3rd Party Mac Developer Application"
 - Sets the database name to "default.xdb"
 - Adds "-appstore-compliant" option to macdeployqt
 - Picks the "entitlement-appstore-compliant.plist"
 - Disables the "Token" menu and "PKCS#11 provider" tab
   in the option dialog
2023-09-30 11:24:18 +02:00
Christian Hohnstaedt
472d9e722c Generate changelog.html from changelog 2023-09-24 23:07:35 +02:00
Christian Hohnstaedt
cc9245b14c Fix release scripts after release ... 2023-09-24 22:11:04 +02:00
Christian Hohnstaedt
d8e4f2b435 Release XCA 2.5.0 done 2023-09-24 21:27:46 +02:00
Christian Hohnstaedt
50fe50734f Update changelog, README and release docs 2023-09-24 20:19:07 +02:00
Christian Hohnstaedt
cb2445213b Update my release notes 2023-09-17 22:45:11 +02:00
Christian Hohnstaedt
5e346353e6 Document the attempt to build universal mysql plugin
It only builds "x86_64":
$ file build-sqlplugins/plugins/sqldrivers/libqsqlmysql.dylib
build-sqlplugins/plugins/sqldrivers/libqsqlmysql.dylib: Mach-O 64-bit bundle x86_64

Building with -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" has no effect.
Neither has './configure -- -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"'
Even './configure -- -DCMAKE_OSX_ARCHITECTURES="arm64"' only builds
x86_64 plugins.
2023-09-17 09:01:02 +02:00
Christian Hohnstaedt
5cdd1e134c Improve database plugin detection
Drivers that fail with "Driver not loaded"
are skipped silently.
2023-09-15 21:45:08 +02:00
Christian Hohnstaedt
3261dc85e8 Update version of QT to 6.6.0 2023-09-15 09:46:02 +02:00
Christian Hohnstaedt
9fd0be4bdc Switch to 6.5.1 and drop "Messagebox Workaround" 2023-05-25 23:49:25 +02:00
Christian Hohnstaedt
780225198d macos CMake defaults for local arch, SDK and brew-Qt
The universal binary with older SDK and aqt-Qt will be
built by the release/build-mac.sh script
2023-05-25 21:23:48 +02:00
Christian Hohnstaedt
d6d6d7d9d4 Update copyright years and adapt build scripts 2023-05-16 10:35:14 +02:00
Christian Hohnstädt
f7a6c39219 Support building with xcodebuild
Link that helped:

https://www.hotzi.com/blog/20210306-cmake-xcode-archive-problem/
2022-08-07 22:30:32 +02:00