From 73c0f6e5ee5eb77cf32a22dfb501f6769358ebf3 Mon Sep 17 00:00:00 2001
From: Dane Smith <c1pher@gentoo.org>
Date: Sun, 7 Nov 2010 18:28:38 +0000
Subject: Version bump for xca to 0.9.0 wrt bug 343599.

Package-Manager: portage-2.2.0_alpha3_p8/cvs/Linux x86_64
---
 app-crypt/xca/ChangeLog                          |  9 +++-
 app-crypt/xca/Manifest                           | 25 ++++++++++-
 app-crypt/xca/files/xca-0.9.0-qt_detection.patch | 29 +++++++++++++
 app-crypt/xca/xca-0.9.0.ebuild                   | 55 ++++++++++++++++++++++++
 4 files changed, 116 insertions(+), 2 deletions(-)
 create mode 100644 app-crypt/xca/files/xca-0.9.0-qt_detection.patch
 create mode 100644 app-crypt/xca/xca-0.9.0.ebuild

(limited to 'app-crypt/xca')

diff --git a/app-crypt/xca/ChangeLog b/app-crypt/xca/ChangeLog
index 2e378c6ff17d..91fcda47e0ad 100644
--- a/app-crypt/xca/ChangeLog
+++ b/app-crypt/xca/ChangeLog
@@ -1,6 +1,13 @@
 # ChangeLog for app-crypt/xca
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.26 2010/06/26 13:11:28 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.27 2010/11/07 18:28:38 c1pher Exp $
+
+*xca-0.9.0 (07 Nov 2010)
+
+  07 Nov 2010; Dane Smith <c1pher@gentoo.org> +xca-0.9.0.ebuild,
+  +files/xca-0.9.0-qt_detection.patch:
+  Version bump to 0.9.0 wrt bug 343599. Added new QT patch. Fixed a number
+  of QA issues.
 
   26 Jun 2010; <nixnut@gentoo.org> xca-0.8.1.ebuild:
   ppc stable #322283
diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
index 1b069e505c72..f99025f34639 100644
--- a/app-crypt/xca/Manifest
+++ b/app-crypt/xca/Manifest
@@ -1,5 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX xca-0.8.1-qt_detection.patch 1341 RMD160 b44ed4970526109154331439abb9eba3ce60737d SHA1 2bdad01ad0c21e217e844bafa0bd69790c07d3b2 SHA256 44b7271b12dc78858f51d4115d97a81e47d72a9e26de46d867dea3b8e04fbfb9
+AUX xca-0.9.0-qt_detection.patch 970 RMD160 7bcef849d858f5c15aa3991781df1ca87a008f65 SHA1 60fb1869ac6e56bc684caf3397f7cd600477ae88 SHA256 d35a3b3b34860982401522b0c0f9343239eb9f9a0f79d7c03b2b4f9763c90729
 DIST xca-0.8.1.tar.gz 598962 RMD160 6db3388240d95c7e18e91318aea745b803bc786f SHA1 3a831e876c0fab21b5c36fbb03838972aa92770f SHA256 3261f5899450ef8e1120a020364416424701229679d2e5b0bb9c73bed6238029
+DIST xca-0.9.0.tar.gz 688445 RMD160 49ddbf3b4cc8657d9bf81b73e0eebf696d571d6c SHA1 ca98107189f821e2fe2da0f8a13a58e26011099b SHA256 6f0c9a23281752b47a2bf8ee5e56486a5eec948462bb2f3528c3a1379975432d
 EBUILD xca-0.8.1.ebuild 1424 RMD160 88e1b53741f514a630e86c967c3eb77f56daa2a7 SHA1 4d5619570f944325aa81a37315c11ab066457c48 SHA256 84a41d15fbaf8553bf791f5a99a34586408b4d35616e88c9e36ffbadddb992f1
-MISC ChangeLog 4376 RMD160 e1c9f493cfb5300d77feba0636f65b1c858339a8 SHA1 84428022c2ff90c7fa690518cd196d52ca8f6fe7 SHA256 418b9e558c0260588f2cdd38db9d2844279eb63eb8cce67a8feaffb7ad874ea4
+EBUILD xca-0.9.0.ebuild 1326 RMD160 a5f2401fe9537a9ea5c62b071de1b388525035cd SHA1 1c18ce3706710c550afb10216124d391d7a38a3d SHA256 7a33e10f9efec98e838800f76a9044f74547b11407aefd3adf4dfafd335660e2
+MISC ChangeLog 4598 RMD160 987e743f660fb0c5c8768d56e598046f461f41e4 SHA1 cb9bc4a8afb164c9bade2d4c7bb29b217926c8a3 SHA256 4ed82d01acf4a99b5f419fe70713baecbe0ac934364710ca5665f5fc8ff6c1ee
 MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQIcBAEBAgAGBQJM1u+kAAoJEEsurZwMLhUxDYIP/3xtf+qbs7S+CHaFgIzjgF2H
++9mN7tpQAsc1mHt/LkfHEn3FAqpFQKHGjgoV421Rh50ShCVdEXiP4/OKLZGwIVev
+3K/oBBklVvUmDxizXrYmllnW1mHSpzDjtQ4LBkJjO5bkgncfaG3WQcP03+zs6UHc
+9ezi8sNb2csX4ZJWSDrK6CuDuM9sm4jKIZZsdvyFVw+7hUJkSzOhJl2cX2JsctuS
+ruUvGglwaHU8L+MMvJBDBhKpBqQzhzHjWqeBbrvu5R9nBu63f7Qrq4vwwFWDGNuR
+1m1hSyjobsN5OOECGl9uNh5upQnVoSh5KoTaqDMlIZWeTZX+zgO8GbnKAIrP6egO
+WbufrkBEEfqHT4MOu/UyvHPrDVgaQW3qLsq3fv1s4jw5JWc0XBcA/cUK2Cq/cw+O
+kKNGIyLGlBqbnICUPlMzOb6FuRAs2G5i8RIPFk4wU5qbVaT4jmC/ypMzUf7CIC6w
+PJ8t6V48v7ijChnsiqLyaTr9008FAZ4rhNgUwSb09i7/R+i1G/n1hcPuYILq2WLh
+PO5zf4HK21In+g2Y/IXXt/tRmu4+BFBRn0OW0zlkMalVxBVkr/RPtbomGIloFV2f
+CEEXUIto+4QOcfd0tQqyiq8/5fNrgwgHlwVgIjcxP7cHi4h5ySvxGc7Es1Uj4WYV
+T+mP8olJSXuGv5eF3+yl
+=yJUV
+-----END PGP SIGNATURE-----
diff --git a/app-crypt/xca/files/xca-0.9.0-qt_detection.patch b/app-crypt/xca/files/xca-0.9.0-qt_detection.patch
new file mode 100644
index 000000000000..e7eaa232a6e4
--- /dev/null
+++ b/app-crypt/xca/files/xca-0.9.0-qt_detection.patch
@@ -0,0 +1,29 @@
+--- configure	2010-08-29 04:28:32.000000000 -0400
++++ configure.mine	2010-11-07 13:08:58.000000000 -0500
+@@ -101,15 +101,17 @@
+ # check for libs
+ search_lib() {
+   for dir in ${DIRS};  do
+-    for dbn in $@; do
+-      for suffix in so dylib obj a; do
+-        for lib in lib lib64 lib32 out; do
+-          if test -r "${dir}/${lib}/lib${dbn}.${suffix}"; then
+-            add_lib "${dir}/${lib}" "${dbn}" "${suffix}"
+-	    echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}"
+-            return 0
+-	  fi
+-	done
++    for subdir in "" ${subdirs}; do
++      for dbn in $@; do
++        for suffix in so dylib obj a; do
++          for lib in lib out; do
++            if test -r "${dir}/${lib}/${subdir}/lib${dbn}.${suffix}"; then
++              add_lib "${dir}/${lib}/${subdir}" "${dbn}" "${suffix}"
++              echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}/${subdir}"
++              return 0
++            fi
++          done
++        done
+       done
+     done
+   done
diff --git a/app-crypt/xca/xca-0.9.0.ebuild b/app-crypt/xca/xca-0.9.0.ebuild
new file mode 100644
index 000000000000..88ca15b2c2eb
--- /dev/null
+++ b/app-crypt/xca/xca-0.9.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.9.0.ebuild,v 1.1 2010/11/07 18:28:38 c1pher Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests and revokation lists"
+HOMEPAGE="http://www.hohnstaedt.de/xca.html"
+SRC_URI="mirror://sourceforge/xca/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-libs/openssl-0.9.8
+	x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}
+	doc? ( app-text/linuxdoc-tools )"
+
+src_prepare() {
+	# http://sourceforge.net/tracker/index.php?func=detail&aid=1800298&group_id=62274&atid=500028
+	epatch "${FILESDIR}/${P}-qt_detection.patch"
+}
+
+src_configure() {
+	local LINUXDOC
+	use doc || LINUXDOC='touch $@ && true'
+
+	QTDIR=/usr \
+		STRIP="true" \
+		LINUXDOC="${LINUXDOC}" \
+		CC="$(tc-getCC)" \
+		LD="$(tc-getLD)" \
+		CFLAGS="${CXXFLAGS}" \
+		LDFLAGS="$(raw-ldflags)" \
+		prefix=/usr \
+		docdir=/usr/share/doc/${PF} \
+		./configure || die	"configure failed"
+}
+
+src_compile() {
+	emake || die "emake failed"
+}
+
+src_install() {
+	emake destdir="${D}" mandir="share/man" install || die "emake install failed"
+
+	dodoc AUTHORS || die
+
+	insinto /etc/xca
+	doins misc/*.txt || die
+}
-- 
cgit v1.2.3-65-gdbad