summaryrefslogtreecommitdiff
path: root/app-crypt/xca
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-09 16:33:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-09 16:33:39 +0100
commit785047acce64d1217286105397cc6fe433c34cb3 (patch)
tree714041fe6d930b5e1c4f005d501fdb914c4834b5 /app-crypt/xca
parent6440e1dd038e7df4f9df7dd5127d3b1c6f39034e (diff)
gentoo auto-resync : 09:09:2023 - 16:33:38
Diffstat (limited to 'app-crypt/xca')
-rw-r--r--app-crypt/xca/Manifest2
-rw-r--r--app-crypt/xca/files/xca-2.4.0-man-page.patch24
-rw-r--r--app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild72
3 files changed, 98 insertions, 0 deletions
diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
index 162905243f98..7d9fbfab08ce 100644
--- a/app-crypt/xca/Manifest
+++ b/app-crypt/xca/Manifest
@@ -1,7 +1,9 @@
AUX xca-1.0.0-desktop.patch 391 BLAKE2B 1cbec5681df8da9230b783c8ea048a199bd31a38fce6781dcd86b926e03b245de05b148d8df9034f5c7470dcf5823bd4a080cbb011a1a32fc0b96d8a8a5d950d SHA512 5dd62d8d2f4485b6155e466bb9a012f44104ff36c97bae61e8155880b937fc1271e94fb5b83627bd828e3cde0ab421a150458d050cb512d633d1c5c97f80f163
AUX xca-2.4.0-bug-733000.patch 873 BLAKE2B f63029bf31f69058728db74cb798f641be7210e54a93ee0caaa039cd8bf468106f2d79cab8c8af4891cba6a674b415f75cdb7e4acf74196809138b0fd3a91e4a SHA512 d50ca729596370d3e696f6eebdfad11df6ff1da452b4125b0ccfaa10a0e11b79bc82a2adb576524f6c3bdbb418aaf86ccabe3e7735ddece54f0ca1e88eb30678
+AUX xca-2.4.0-man-page.patch 903 BLAKE2B f734d19e252d0cfb566f4a309359d088701dce6ffe81c4529964b7af4d84ae775d7bcd2748a572c12c3d4db6e5723ec91aeef56e9c6dcf28d51da65189013d57 SHA512 43ddd7d330285b2d5dd866f6c91270b5bbc24896d825d4bc701646701f334e52804047f417e530a067486719431eb4cd6f7145cef3b87730756bb81a390fae71
DIST xca-2.4.0.tar.gz 1778572 BLAKE2B 2e90ef264dc53019cc37700b37d5eb0c48904ca371ae1ce0cfe2ad61be8765951ea918d356c1f2764e73d846693a66c903cba1381df5d1a588aae8bb45f8c195 SHA512 e93e2cf9dc48ed43ee9b51e977f825d81ff08835eb4d77fcbe8f9dc8ce31c77c1da879b48c25ab535717542d1fe84faa6e46c410c116edbee02072040c59667c
DIST xca-2.4.0_p20230526.tar.gz 1818483 BLAKE2B bac990117d1d6a4f80d4ad2317653d8817c7d97e3ea4e92e6fcb6a1531eb782ead4a0504748107697be6e98816e89f33f43de1a8073394e4ead39c16dee3987e SHA512 1252a8230149b04c98dab6ec5fc7f424b6eb1552553831e1c53690fa55ce919537d20741dd9f0e9ac7495d3f80503d2b6b5f0c9322912226363e2b5feb66e416
EBUILD xca-2.4.0-r2.ebuild 1487 BLAKE2B fc8d68924c448f477ed4f710694f22d14372b7a772363106b71518b83131ecca86a52ad85218df5a4423430650c00aa9b772cc4e30ee3d43722a2524b9e67d30 SHA512 b99486bb383151d57910b427d4344804337c2cbdc76d5702a7c157d0b20d4ff7e88a6e2f25496d8ca0f370977d301e78e3e4ae408ff7fec774812b915447cdf6
+EBUILD xca-2.4.0_p20230526-r1.ebuild 1627 BLAKE2B 6a9a0502aa8aa966cb91a8137c04108d953481cec712f322c7492ecacf6c90790a8d963295c54b28106c0bd2c16fcec04479073fee4a516681b4fe56488def48 SHA512 a709c695207f046372d2226baec575cdebf12292955f40e65f90f65e2b8fa30683827dbc3ef9f1100aaab1696f1d074b85de3ee16e6b8b5bd453e3bcf0bf6d9d
EBUILD xca-2.4.0_p20230526.ebuild 1585 BLAKE2B 87f26f1edee7a55fb4d2fd3c787c965da396b98dd3b81e213a2fcf0c9457f82b9349d9ebaf0c51376c80b329f3791688f541b501b75fee9143b81afe681a7fdc SHA512 836315aa907758a99ec9b2ee4fd8ff760df2ef197f4a920508888a0efbe23a18b1ea07f9e4ee0e0d780c476ea3e35ad074eb1ceed044e46a859fce62d91ce7a0
MISC metadata.xml 304 BLAKE2B f99e5a2ed991066c1c605ca7bba6669b362e90a96e5a26258caf8d6491f8c5351cc897826bd06dda28ac67cc3813b0fa640b8fe304aeea7ea10b75fa3074d340 SHA512 b8d54115ab45ecc869066e083938a28d075f4436fef33607685e633976843023b3fe4fb65456ba04532f38c4f35b7dc109f68c59c11ad4e73f2332786fee6cf5
diff --git a/app-crypt/xca/files/xca-2.4.0-man-page.patch b/app-crypt/xca/files/xca-2.4.0-man-page.patch
new file mode 100644
index 000000000000..a5b52176418d
--- /dev/null
+++ b/app-crypt/xca/files/xca-2.4.0-man-page.patch
@@ -0,0 +1,24 @@
+--- a/doc/CMakeLists.txt 2023-09-09 11:10:22.671031619 +0200
++++ b/doc/CMakeLists.txt 2023-09-09 11:17:15.398798825 +0200
+@@ -138,7 +138,7 @@
+ if (NOT WIN32)
+ add_custom_command(
+- OUTPUT "${D}/xca.1.gz"
++ OUTPUT "${D}/xca.1"
+- COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | gzip -n9 > "${D}/xca.1.gz"
++ COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | cat > "${D}/xca.1"
+ DEPENDS "${S}/xca.1.head" "${S}/xca.1.tail"
+ "${D}/xca.1.options"
+ COMMENT "Compiling man page"
+@@ -148,9 +148,9 @@
+ COMMAND xcadoc man "${D}/xca.1.options"
+ COMMENT "Generate 'man' commandline documentation"
+ )
+- add_custom_target(manpage ALL DEPENDS ${D}/xca.1.gz)
++ add_custom_target(manpage ALL DEPENDS ${D}/xca.1)
+ if (NOT APPLE)
+- install(FILES "${D}/xca.1.gz"
++ install(FILES "${D}/xca.1"
+ DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
+ )
+ endif()
diff --git a/app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild b/app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild
new file mode 100644
index 000000000000..2501dd9cbf58
--- /dev/null
+++ b/app-crypt/xca/xca-2.4.0_p20230526-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit cmake xdg-utils
+
+COMMIT=8983e5010d99c8d37bc7e316bf3ef00265763027
+
+DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
+HOMEPAGE="https://hohnstaedt.de/xca/"
+#SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz"
+SRC_URI="https://github.com/chris2511/xca/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/xca-${COMMIT}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc"
+
+RDEPEND="
+ dev-libs/libltdl:0=
+ dev-qt/qthelp:5
+ dev-qt/qtgui:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtwidgets:5
+ dev-libs/openssl:*
+ doc? ( app-text/linuxdoc-tools )"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.0.0-desktop.patch"
+ "${FILESDIR}/${PN}-2.4.0-man-page.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DQTFIXEDVERSION=Qt5
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+
+ insinto /etc/xca
+ doins misc/*.txt
+
+ dosym xca /usr/bin/xca-console
+
+ ewarn "This is an unofficial snapshot that is compatible with openssl 3."
+ ewarn "One known flaw is that starting xca without a database will no longer open"
+ ewarn "the GUI. Provide either a new or existing database as an argument on the"
+ ewarn "command line."
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}