Commit Graph

261 Commits

Author SHA1 Message Date
Christian Hohnstaedt
c4d477c0c9 Close #480: add flatpak build information and github action
Reused work of @SharkyRawr for issue #123 - Thanks.
2023-10-23 17:26:43 +02: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
84b4c3b73a Macos: Transporter says it wants LSHandlerRank 2023-10-09 23:03:12 +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
ed074537f7 Translations: Fix warning in xca.ts and add languages to Info.plist 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
0c5f48898d Consolidate SQL Driver delivery
Only deliver the QT SQL plugins and document the installation
of the client libraries.
2023-09-17 08:57:27 +02:00
Christian Hohnstaedt
22c37082da macos: re-add entitlements when codesigning
Remove sandbox to allow loading PKCS#11 library loading.
Set -fvisibility=hidden to not export symbols.
2023-05-28 15:30:53 +02:00
Christian Hohnstaedt
331d2ca58b Windows: switch to OpenSSL 3 2023-05-21 14:20:51 +02:00
Christian Hohnstaedt
d6d6d7d9d4 Update copyright years and adapt build scripts 2023-05-16 10:35:14 +02:00
Christian Hohnstaedt
ced6dfc41a Add support for Qt6
XCA now supports both, Qt6 and Qt5 down to Qt-5.2

Use CMAKE_PREFIX_PATH to point to the QT dompiler directory like
$ cmake -B build -DCMAKE_PREFIX_PATH=$HOME/6.3.1/gcc_64
2022-08-31 00:09:37 +02:00
Christian Hohnstaedt
5441d91b18 Fix runtime error because of wrong DLL 2022-08-31 00:01:06 +02:00
Christian Hohnstaedt
e6d23fbd26 Win32: make install creates xca-portable 2022-08-31 00:01:06 +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
Christian Hohnstaedt
bb37b56e86 Merge #325 Update entitlement.plist
Enabling Library Validation Entitlement is only good if an application
does not load any libraries other than its own

xca works by loading external pkcs11 libraries, written and signed by others.

Also apply for smartcard usage.
2022-08-03 07:36:33 +02:00
Christian Hohnstaedt
3432c164dd Add vcruntime140.dll 2022-07-28 02:16:38 +02:00
Christian Hohnstädt
c0b3ddb719 Adapt Manufacturer 2022-07-11 23:04:27 +02:00
Christian Hohnstädt
81a5540ec4 Improve Installation and DMG generation
Design the DMG look & feel, including the documentation

travis is gone. We use github actions
2022-07-11 23:04:27 +02:00
Christian Hohnstädt
ba6ba20a45 dynamic.wxs: Improve OpenSSL DLL path
in my msi installation of openssl, the DLL were also installed
in the toplevel directory, which is unusual.
However, they are always also found in bin/
2022-01-03 20:04:34 +01:00
Christian Hohnstädt
5aec491dd5 More improvements on Windows installer
Install Database drivers if available
2021-11-18 23:38:27 +01:00
Christian Hohnstaedt
d73d4ccd51 Windows MSI: Improve WXS file creation with cmake
The long list of translations and html documentation
pages is now auto-generated by the cmake files,
which know the translations and html files. (DRY)

TODO: Windows SQL drivers for mysql and psql
2021-11-13 23:51:04 +01:00
Christian Hohnstaedt
7ee80dc1e3 Install xca.completion in bash-completion/completions as xca
and not as "bash-completion/completions/xca/xca.completion"
2021-11-13 14:49:02 +01:00
Christian Hohnstädt
76763ea98c cmake: include() the CMakeLists.txt file
instead of add_subdirectory() them.

in all subdirectories set ${S} and ${D}
as shortcuts for CMAKE_CURRENT_SOURCE_DIR
and CMAKE_CURRENT_BINARY_DIR
2021-06-01 17:48:38 +02:00
Christian Hohnstaedt
6de3816a4a cmake: Improve creating the .txt files
Use the preamble file
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
915a920de8 cmake: Split CMakeLists.txt into the different sub directories
mv cmake/sphinx-documentation.cmake -> doc/CMakeLists.txt
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
00926e3efd Get rid of libltdl. QLibrary provides the same functionality 2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
9c49c9949f Consolidate and document used environment variables
Rename XCA_SPECIAL to XCA_ARGUMENTS, which is less generic.

and change %1_OPTIONS to XCA_%1_OPTIONS to prefix all
XCA related environment variables with "XCA_".
2021-06-01 17:48:37 +02:00
Christian Hohnstädt
68273d0a30 Switch from autotools/qmake to cmake
Why?
 - QT will switch from qmake to cmake sooner or later.
 - autotools are good for unix-ish systems, cmake also for
   macOS and Xcode as well as Windows and VS-code
 - Cross compiling the windows-binaries on linux
   is not very helpful to attract windows-centric
   developers.

Also drop qmake's xca.pro
Generate man-page and sphinx sources of commandline arguments
during build by executing xca (xcadoc.cpp).
Generating Version-patchlevel and git hash is now also
OS independent.
2021-06-01 17:48:37 +02:00
Christian Hohnstädt
1500e636c8 Drop OpenSSL backward compatibility hacks < 1.1.0
OpenSSL < 1.1.1 is out of support anyway
2021-05-09 12:25:32 +02:00
Christian Hohnstaedt
957bdbaa72 Put release related files into an own sub-directory
git.release.something ->
   Create any git release with a tag to test package (debian/rpm) build

git.release -> Create required changes and tags for the next release
git.publish -> Finalize the release (github release)
gen-binary-hash / binary-hashes.json -> keep track of release hashes
2021-05-09 12:22:53 +02:00
Christian Hohnstaedt
144cdee4c0 Release XCA 2.4.0 done 2021-05-07 23:46:53 +02:00
Christian Hohnstaedt
f7e144ba98 Bash completion: include files in the completion list
Put matching files and directories into the completion list,
not only the valid arguments.
2021-05-07 21:31:10 +02:00
Christian Hohnstädt
5fbd35ab68 xca.app: don't copy misc/*.txt to xca.app/Contents
It must only be placed into Contents/Resources
2021-05-05 19:39:28 +02:00
Christian Hohnstädt
469728c8d2
Merge pull request #272 from WRW001/patch-2
Support Microsoft Bitlocker (Update 2of2-eku.text)
2021-05-03 22:05:59 +02:00
Christian Hohnstädt
bb425faf10
Merge pull request #273 from WRW001/patch-1
Support Microsoft Bitlocker (Update 1of2-oids.text)
2021-05-03 22:05:44 +02:00
Christian Hohnstaedt
fe13942158 Add 48x48 sized icon and icons for *.xdb and *.xca files 2021-04-30 23:57:13 +02:00
Christian Hohnstaedt
fe7e9fe36c Improve Help installation on windows
xca.qhcp and xca.qhp are not needed to be installed
2021-04-30 16:27:19 +02:00
Christian Hohnstädt
d7cc443ce8 Synchronize divergated icons on several platforms
The certificate has the greatest recognition value.
Even though it is not ideal on very small scale.
2021-04-30 16:27:19 +02:00
WRW001
40ebeae5d6
Update oids.text 2021-04-30 19:54:07 +08:00
Ulisses Guedes
72ec14d738 Update brasilian portuguese translation 2021-04-30 10:09:38 +02:00
WRW001
7e414ab306
Update eku.text
Support Microsoft Bitlocker
2021-04-29 20:39:30 +08:00
WRW001
4cc9168b3f
Update oids.text
Support Microsoft BitLocker
2021-04-29 20:38:06 +08:00
Slavko
f04f43f4fd Updated slovak translation 2021-04-29 14:17:46 +02:00
Christian Hohnstaedt
b907103975 Update documentation 2021-04-28 22:27:04 +02:00
Christian Hohnstaedt
f17811b59a Improve make dependencies 2021-04-28 22:27:04 +02:00
Christian Hohnstaedt
95f277f113 Always set reasonable LSMinimumSystemVersion
... even if --with-macos-version is not given.
Use the current version (sw_vers -productVersion)
in that case.
2021-04-28 22:27:04 +02:00
Christian Hohnstädt
8c04bc2b27 Rename PACKAGE_VERSION to XCA_VERSION
For an official release XCA_VERSION == PACKAGE_VERSION.
For any additional commit, XCA_VERSION's path-level is increased.

PACKAGE_VERSION cannot be modified after initially set.
Change any occurance of PACKAGE_VERSION by XCA_VERSION
2021-04-26 10:10:23 +02:00
Christian Hohnstädt
38a16da2f7 XCA does not compile against OpenSSL 0.9.8 anymore
Tell Travis about it, and confgure.
This will also be the last release with QT4 and OpenSSL < 1.1.1 support.
2021-04-25 16:11:05 +02:00
Christian Hohnstädt
3d03f7d804 Declare ITSAppUsesNonExemptEncryption:No for AppStore 2021-04-24 23:16:36 +02:00
Christian Hohnstädt
7af3ffee25 Make the macOS SDK release a configure option
Write the Release to LSMinimumSystemVersion
Pick the macos animal-name and add it as extra version

Re-add building OpenSSL and libtool with the correct macos SDK version.

Now after having called build-mac.sh script, building with "make"
in the xca-macbuild dir works as expected.
2021-04-24 23:16:36 +02:00