Commit Graph

287 Commits

Author SHA1 Message Date
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
Christian Hohnstädt
7a05d5623d Change versioning schema: drop iteration counter
The patchlevel will be increased by the iteration counter,
which is the number of commits since the most recent annotated tag.

Tagged version 1.2.3 in VERSION will be called "1.2.3"
3 commits later it will be 1.2.6
2021-04-24 23:16:36 +02:00
Christian Hohnstädt
05db6b5b77 Adapt build methods for Apple developer account
Use Apple developer certificates for code signing and
prepare DMG for notarization.

Tweak the app to match the App Store requirements
Add an entitlements.plist
  com.apple.security.app-sandbox: true
  com.apple.security.network.client: true
  com.apple.security.files.user-selected.read-write: true
2021-04-24 23:16:36 +02:00
Christian Hohnstaedt
5578e67830 Fix build and installation for Windows
- The documentation file names changed
- QtHelp.dll must be installed
2021-04-24 23:16:36 +02:00
Christian Hohnstädt
ca0fdcd5c9 Bash completion 2021-04-23 15:57:32 +02:00
Christian Hohnstädt
a12266dfa8 Merge branch 'master' of https://github.com/rlinfati/xca 2020-11-19 13:47:20 +01:00
Christian Hohnstädt
ebfbbcb5f1 Extend commit f03ea67bdd by adding the OIDs to OIDS.txt
This commit supports OpenSSL < 1.1.0, since the OIDs
have only been added for OpenSSL 1.1.0 and later
2020-11-19 13:44:49 +01:00
Rodrigo Linfati
6dd7894b1c add document signing 2020-11-02 00:10:22 -03:00
Rodrigo Linfati
f03ea67bdd
update EKU
add kerberos and ssh EKU
2020-11-02 00:04:08 -03:00
Christian Hohnstaedt
31d173d2bd Release XCA 2.3.0 done 2020-04-29 15:59:14 +02:00
Christian Hohnstaedt
efe283ad73 Fix typo in xca.desktop 2020-04-28 07:09:15 +02:00
Christian Hohnstaedt
76e3f86783 Close #191: OID LN differs warning popups at startup
OpenSSL fixed the 2 LN with commit:
  648b53b88e

in OpenSSL 1.1.1e.

Follow my own advice and delete them from the oids.txt
together with all other OIDs present in OpenSSL
since at least version 0.9.8

Also do the initOIDs after creating the QApplication to
avoid qAbort() when creating the warning (introduced after 2.2.1)
2020-04-27 15:03:36 +02:00
Christian Hohnstaedt
0ac3b2daca Improve and fix VERSION_ITERATION 2020-04-27 15:03:36 +02:00
Guido P
bfd757179a Dutch translation for 2.3.0. 2020-04-09 21:08:42 +02:00
Christian Hohnstaedt
58ede4915b Don't install debugging DLL qwindowsvistastyled.dll 2020-04-04 22:45:09 +02:00
Christian Hohnstaedt
66a85497b7 Improve development version calculation as 4th digit
The plus sign was not compatible with the WIX toolset.
The 4th digist is the number of commits since the last release.

For a tagged release it is not 00, but empty.
2020-04-01 22:56:53 +02:00
Christian Hohnstaedt
7f122488ea Close #182: UI not using Windows native theme in 2.2.1 portable
Also install "qwindowsvistastyle.dll" and "qwindowsvistastyled.dll"
on windows.
2020-04-01 17:23:54 +02:00
Christian Hohnstädt
37dc93136e
Merge pull request #179 from h3xx/add-icons
Add set of icons installed in /usr/share/icons
2020-03-23 06:23:30 +01:00
Dan Church
e151bbed3b
Add set of icons installed in /usr/share/icons
Also update the application shortcut to automatically select an icon.
2020-03-22 13:05:40 -05:00
Dan Church
223ba3f5e7
Use DESTDIR instead of destdir when installing
Follows autotools convention.
2020-03-22 12:59:46 -05:00
Dan Church
2b822131db
Fix missing gitignore entries 2020-03-22 12:54:46 -05:00
iddq
ed71d32dac remove makensis, rename build-w32 to build-w64 2020-02-19 21:40:36 +01:00
Christian Hohnstaedt
91fe56d06c Release XCA 2.2.1 done 2020-01-30 21:23:50 +01:00
Christian Hohnstaedt
bd35c66b6f Prepare release 2.2.1 2020-01-30 20:54:12 +01:00
Christian Hohnstaedt
9af5282632 Release XCA 2.2.0 done 2020-01-29 22:20:51 +01:00
Christian Hohnstaedt
1d84604ae1 Improve windows build targets and release script 2020-01-29 21:35:36 +01:00
Christian Hohnstaedt
d20fc8da50 Prepare documentation for next release 2020-01-29 20:45:56 +01:00
Christian Hohnstaedt
84dc701b75 Improve configure script
Fix AC_OUTPUT in configure
Create variables.wxi for version and package name
Also replace package name and version in the Info.plist
2020-01-29 20:29:13 +01:00
Christian Hohnstaedt
33038d8093 Certum Code Signing certificate received 2020-01-24 05:57:25 +01:00
Christian Hohnstaedt
9cb741897d xca.wxs: Improve Startmenu shortcut 2020-01-22 19:40:10 +01:00
Christian Hohnstaedt
0152633854 Allow double-click xca.bat and examine its output
Duplicating <ComponentGroupRef Id="GroupBasic" />
into all features avoids error ICE69,
but it results in an installation error.

Rather live with the error.
2020-01-22 05:56:31 +01:00
Christian Hohnstaedt
f578b27f96 Add missing languages to xca.wxs 2020-01-22 05:56:31 +01:00
Christian Hohnstaedt
258934f884 Add first shot of installer dialog Image 2020-01-21 21:34:31 +01:00
Christian Hohnstaedt
4e16158668 Add missing DLL for PosgreSQL DLL 2020-01-21 21:34:31 +01:00
Christian Hohnstaedt
a12b2e94f5 Close #129 Unattended Installation. Switch to MSI installer
Improve Windows installation xca.wxs

Move documentation to "html" dir and translations to "i18n"
in the portable-app and the MSI installation
Modyfies getDocDir() and Introduces getI18nDir()

Drop Nullsoft installer files
2020-01-20 22:33:05 +01:00
Christian Hohnstaedt
4f8f0715e2 Default templates now support OpenVPN
Support "remote-cert-tls" client/server
2020-01-14 19:47:19 +01:00
Christian Hohnstaedt
ca138654ce Typo in xca.nsi 2020-01-13 07:33:50 +01:00
Christian Hohnstaedt
710660e32d First shot for MSI Installer 2020-01-13 07:27:28 +01:00
Christian Hohnstaedt
f61c2096d4 Close #136 Provide 64bit version of xca
QT precompiled libraries now (5.12.0) support mingw 64bit
and also qsqlmysql.dll

Improve configure for windows
Drop configure.w32
2020-01-10 21:31:05 +01:00
Christian Hohnstaedt
800eda9be4 Also install qt translations on windows 2019-09-10 22:00:58 +02:00
Christian Hohnstaedt
e4fb5f3637 Release XCA 2.1.2 done 2018-11-07 19:57:44 +01:00
Christian Hohnstaedt
91faa1b675 Improve portable App 2018-11-05 06:21:14 +01:00
Christian Hohnstaedt
69c4689bcc Setup.exe: Install QT translations for polish, portuguese and slovak 2018-10-25 22:33:05 +02:00
Christian Hohnstaedt
c238d0a811 Close #69 Library not loaded: @rpath/... -> Rebuild DMG
XCA 2.1.1 on Mac OSX 10.13.6 -
Library missing Library not loaded:
 @rpath/QtGui.framework/Versions/5/QtGui #69

This commit only updates the hash of the MacOS binary
2018-10-16 06:01:28 +02:00
Christian Hohnstaedt
b139ffd4d3 Fix Mac volume name during build
It was "xca-" now it is "xca-2.1.1"
2018-10-11 06:00:21 +02:00
Christian Hohnstaedt
3ed98fa421 Related to #60: Fix MacOSX 2.1.1 binary
Add missing MySQL and PostgreSQL drivers to MacOSX 2.1.1 binary
2018-09-20 18:58:36 +02:00
Christian Hohnstaedt
1e3a3733f9 Release XCA 2.1.1 done 2018-09-13 19:38:57 +02:00
Christian Hohnstaedt
b133537b56 Update libtool version 2018-08-02 07:45:23 +02:00
Christian Hohnstaedt
4bc006af25 Release XCA 2.1.0 done 2018-07-24 17:49:43 +02:00
Christian Hohnstaedt
d32d14ee98 misc/preamble.txt: Fix previous commit: remove empty line 2018-07-01 09:29:24 +02:00
Christian Hohnstaedt
a4ab98464c Close #47: macOS: preference directory does not match one in docs/oids.txt
Update the path and add a generic note about the paths shown
in the About dialog of the application.
2018-06-29 18:28:30 +02:00
Christian Hohnstaedt
22966937de Close #36: Support adding CN to X509v3 SAN automatically
Translate the special text "DNS:copycn" in the SAN to
the final common name.

Add checkobox "Copy Common Name" to the SAN Edit box,
for a user-friendly editing of the "DNS:copycn"

During certificate creation, an empty common name together with
"DNS:copycn" in the SAN will raise a warning message and the
opportunity to change the settings.

Change the SAN in the HTTP-server XCA template from
"DNS:your.server.name.here" to "DNS:copycn" to already
take advantage of this feature in the default template.
2018-05-19 22:14:08 +02:00
Christian Hohnstaedt
0c8df14b7e Close #27: Configurable certificate expiry warning threshold
Add configuration values in the Options dialog to
control the time when certificates get marked yellow and
the expiration alarm time in calendar entries.
2018-05-11 09:19:12 +02:00
Christian Hohnstaedt
2a94b3aab5 Release 2.0.1 done 2018-05-08 22:30:28 +02:00
Christian Hohnstaedt
9c49258f6a Use correct Info.plist file 2018-05-08 20:34:34 +02:00
Christian Hohnstaedt
39f579385f Update changelog and documentation. Delete misc/Info.plist
"misc/Info.plist" will be generated from "misc/Info.plist.in"
by configure since the previous commit.
2018-05-08 19:59:29 +02:00
Christian Hohnstaedt
9b1540a28c Close #32: Version field contains "Created by Qt/QMake" on MacOSX 2018-05-08 17:14:36 +02:00
Christian Hohnstaedt
31d74f4395 Release 2.0.0 done 2018-04-10 18:47:52 +02:00
Christian Hohnstaedt
9c8824d9b9 Add another missing windows postgres library 2018-03-22 21:57:38 +01:00
Christian Hohnstaedt
9c34d400f8 Release 2.0.0-pre04 done 2018-03-22 21:32:54 +01:00
Christian Hohnstaedt
0fa37430a4 Install MySQL and PostgreSQL drivers on windows 2018-03-21 08:56:16 +01:00
Christian Hohnstaedt
f9d3f090ac Release 2.0.0-pre03 done 2018-03-15 22:29:32 +01:00
Christian Hohnstaedt
63c8f2c13e Fix installation of sql plugins in the Windows installer 2018-03-14 20:08:28 +01:00
Christian Hohnstaedt
9fbd9a8fcb Release 2.0.0-pre02 done 2018-03-13 21:43:09 +01:00
Christian Hohnstaedt
dc45928ca9 Automated release
./git.release:
  Create the release xca-*.tar.gz and setup_xca-*.exe
  collect the releases and the documentation

./git.publish
  Updates the binary-hashes
  Creates the "After release commit with updated version
  and binary hashes
  pushes the release as draft to github

./github.release.py
  Python script to automatically create the release on github
  and upload the assets
2018-03-13 21:17:29 +01:00
Ron Dahlgren
59b7660920 Updates HTTPS_server template
This commit addresses issue
[#5](https://github.com/chris2511/xca/issues/6). The bundled
HTTPS_server template now includes a placeholder 'Subject Alternative
Name' entry for DNS, as required by many modern browsers / operating
systems.
2018-03-12 14:25:47 -04:00
Christian Hohnstaedt
a87ae9eb86 Put SQL drivers to the XCA windows installer 2018-03-11 22:04:33 +01:00
Christian Hohnstaedt
db6c7bbab3 Release done 2018-03-11 19:50:53 +01:00
Christian Hohnstaedt
84f25048a7 Remove xca_db_stat application 2018-03-05 07:46:10 +01:00
Christian Hohnstaedt
748c53eedc Update binary hashes after the release 2018-03-03 21:16:09 +01:00
Christian Hohnstaedt
968a5cd8a9 Prepare XCA 1.4.1 2018-03-03 20:45:47 +01:00
Christian Hohnstaedt
adbc70c9b4 Replace sf.net links by hohnstaedt.de/xca links
greping "sourceforge.net" was not sufficient
2018-03-03 20:32:16 +01:00
Christian Hohnstaedt
420b736f61 Replace Sourceforge links by hohnstaedt.de/xca links 2018-03-02 20:16:40 +01:00
Christian Hohnstaedt
ee1da7fad1 Update doc-tarball, binary hashes, Web link from Sourceforge to my homepage 2018-03-01 23:37:15 +01:00
Christian Hohnstaedt
b81ad37841 Add hash sums of the released binaries 2018-02-23 21:10:20 +01:00