app-crypt/xca: version bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Mon, 5 Oct 2015 17:29:30 +0000 (20:29 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Mon, 5 Oct 2015 17:29:30 +0000 (20:29 +0300)
Bug: 562288

Package-Manager: portage-2.2.20.1

app-crypt/xca/Manifest
app-crypt/xca/files/xca-1.3.1-build.patch [new file with mode: 0644]
app-crypt/xca/xca-1.3.1.ebuild [new file with mode: 0644]

index 855de8a8855765e8976632d6199b5a393bb186e0..3eec8a94338354878bbacf335304c1534931bbf2 100644 (file)
@@ -1,2 +1,3 @@
 DIST xca-1.1.0.tar.gz 854925 SHA256 997b62b523f6581f0d96a5f5ba2fa31dcdd2b3cf1ffe924f5c69a931b0dd44df SHA512 c22a594c61f63c71e8bc7c38ccdfabe05903a33bf5116630ca4c5072b725e551a128b10f624d01a464695d739fb9d77a510b3ced99fedc5d5378cb5fd563d954 WHIRLPOOL 1b58ec3dce44e0eb101265f7b1e68695ea2121c795f7d5f6a5349c812469c50f618ce34a5985991432b49a910b2c34fd3eb8e88ac735078a6e063801f1731be0
 DIST xca-1.3.0.tar.gz 883772 SHA256 ef5b6e4ed93abb02eb53925edd222bfeb5c26a3b0698af90a416d8e92869414c SHA512 af537154a26fbb8749034b8aa79d0379e5e2567ea2b4c82c8a2f77b0fec7017d01aa0974d013f0d84eb52f2dc18994b29890d9ab63939c91aa9e316f6ef93685 WHIRLPOOL 19ce637f6794b00f7fbc363263768a8b651a21d9dd564ec7ba05fc9c729240ae8edc9d323b899b3641f9bf757b325a77c11a84848606dfe5dec839678a2c0314
+DIST xca-1.3.1.tar.gz 883797 SHA256 c2dd8d79b37440126d9fe7281e8c6802b95537c50ad464f6f7799ffa81aa3d83 SHA512 186056638177a01ca2ed1ad6e6e9e142de7d9e4a057c9a6ec691a488cfa094c97b90f1cae6e083c0a92f5492c67afb285946acbab7ec59d21b791e46cf54bc79 WHIRLPOOL c61c67311d3d64d772219a2bd544a720143a6636c8136174a748cd7f8037caa702d2fab6448b717def18de0e9353758bddffbee049fd427724828014a71dcb92
diff --git a/app-crypt/xca/files/xca-1.3.1-build.patch b/app-crypt/xca/files/xca-1.3.1-build.patch
new file mode 100644 (file)
index 0000000..f7b07b9
--- /dev/null
@@ -0,0 +1,15 @@
+diff --git a/m4/xca_compile_test.m4 b/m4/xca_compile_test.m4
+index 5d2f8ca..fd10f5d 100644
+--- a/m4/xca_compile_test.m4
++++ b/m4/xca_compile_test.m4
+@@ -2,8 +2,8 @@ AC_DEFUN([XCA_COMPILE_TEST], [
+ # Try to compile a little application
+ #####################################
+-CXXFLAGS="${CXXFLAGS} ${OPENSSL_CFLAGS}${QT_CFLAGS}"
+-LIBS="${LIBS} ${OPENSSL_LIBS}${QT_LIBS}"
++CXXFLAGS="${CXXFLAGS} ${OPENSSL_CFLAGS} ${QT_CFLAGS}"
++LIBS="${LIBS} ${OPENSSL_LIBS} ${QT_LIBS}"
+ AC_TRY_RUN([
+ #include <stdio.h>
diff --git a/app-crypt/xca/xca-1.3.1.ebuild b/app-crypt/xca/xca-1.3.1.ebuild
new file mode 100644 (file)
index 0000000..f09f3df
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests and revokation lists"
+HOMEPAGE="http://xca.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="bindist"
+
+RDEPEND=">=dev-libs/openssl-0.9.8:*[bindist=]
+       dev-qt/qtgui:4"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-1.0.0-desktop.patch
+       epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_configure() {
+       econf \
+               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+               STRIP=true
+}
+
+src_compile() {
+       # enforce all to avoid the automatic silent rules
+       emake all
+}
+
+src_install() {
+       # non standard destdir
+       emake install destdir="${ED}"
+
+       insinto /etc/xca
+       doins misc/*.txt
+}