# ChangeLog for app-crypt/xca
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.10 2006/10/28 22:50:34 alonbl Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.11 2007/04/02 11:09:42 alonbl Exp $
+
+*xca-0.6.0 (02 Apr 2007)
+
+ 02 Apr 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ +files/xca-0.6.0-build.patch, +xca-0.6.0.ebuild:
+ Version bump, bug#173047
28 Oct 2006; Alon Bar-Lev <alonbl@gentoo.org> +files/xca-0.5.1-db.patch,
xca-0.5.1-r1.ebuild:
MD5 8bdc8f5dfc26313d6d167f947ce7bd8c files/xca-0.5.1-qt.patch 466
RMD160 b12477cce4bf73965472d87c2f1b791eeb0982c6 files/xca-0.5.1-qt.patch 466
SHA256 72967565b2100e88608b0bbdac43a7e0a1f525a2b07fc9b2138cd5b2fbfbe01e files/xca-0.5.1-qt.patch 466
+AUX xca-0.6.0-build.patch 830 RMD160 75a56b6f9a006e7811e7686d1134f5d7308c5747 SHA1 5e29b61e17f96e292206df5010f6222ba99df64d SHA256 0763649a5771bc9b1643b3b7e6b673569ac3adfb06d699d35c39be8c8c4cf924
+MD5 7898b30dcf3061babf8d575884ee5c5b files/xca-0.6.0-build.patch 830
+RMD160 75a56b6f9a006e7811e7686d1134f5d7308c5747 files/xca-0.6.0-build.patch 830
+SHA256 0763649a5771bc9b1643b3b7e6b673569ac3adfb06d699d35c39be8c8c4cf924 files/xca-0.6.0-build.patch 830
DIST xca-0.5.1.tar.gz 287025 RMD160 7d21c94d245679c8b842e4b0e1a9c4420104017f SHA1 f8b99438cfa4da47972a69d1856ef876b06d5b40 SHA256 cf51de5760c6d34b17b379c23f17699ee597a3264b9bed0f165bd302726757cb
+DIST xca-0.6.0.tar.gz 261479 RMD160 cea0ca3eeefe2cf015b9be1edcb11e4f8c868490 SHA1 9d3a49add6a550ce9414cffea6ccd15f35259532 SHA256 523e406a4e94e006aa72ae53f24e8ccf9b55b348e1695f27abf2abc23ff74077
EBUILD xca-0.5.1-r1.ebuild 1183 RMD160 f225bf47a7dcb2b65c1b4ccbf4f9c9f138c4a57d SHA1 05a3188afc14f3e329e787277f876e7d114d7306 SHA256 f01662628ff1eefb2fb9e57a6e54efe6f6fe1b78b984498eee5487ce35f6a1ca
MD5 e3e5b458d85f24ff8212ad9d7b64b9f0 xca-0.5.1-r1.ebuild 1183
RMD160 f225bf47a7dcb2b65c1b4ccbf4f9c9f138c4a57d xca-0.5.1-r1.ebuild 1183
SHA256 f01662628ff1eefb2fb9e57a6e54efe6f6fe1b78b984498eee5487ce35f6a1ca xca-0.5.1-r1.ebuild 1183
-MISC ChangeLog 2006 RMD160 d47587a7527a67d8000a3bb7d768748bd49c8cdc SHA1 c9be6d3df45158a9fba40bebf3501dec5d200630 SHA256 55750a09e9c44c59601a5c76170e8430c284238dfde7033e8b2df11f80628adf
-MD5 589236aa284cd49fbc4ec8ef8486bf80 ChangeLog 2006
-RMD160 d47587a7527a67d8000a3bb7d768748bd49c8cdc ChangeLog 2006
-SHA256 55750a09e9c44c59601a5c76170e8430c284238dfde7033e8b2df11f80628adf ChangeLog 2006
+EBUILD xca-0.6.0.ebuild 1423 RMD160 d36bf4b1c03d7aed4ff3b868568d80a04ceda019 SHA1 43e43763237e2a7ea4383c0c36a5524d4f064365 SHA256 14f55b98640db2a63fb2b660a5b964c224da8636e146af181b8e9f250e2f00ca
+MD5 f3430c002f76160815d1a9ebc76865fb xca-0.6.0.ebuild 1423
+RMD160 d36bf4b1c03d7aed4ff3b868568d80a04ceda019 xca-0.6.0.ebuild 1423
+SHA256 14f55b98640db2a63fb2b660a5b964c224da8636e146af181b8e9f250e2f00ca xca-0.6.0.ebuild 1423
+MISC ChangeLog 2159 RMD160 a83514fdf34e0a5c0aa0bf12ff6045f7e342ba43 SHA1 02219d3d8af7734d17f90d389a80f7ba6021bca0 SHA256 fd276526fee840125f940871b84b71738de6c43b23af4564f40bfc34fc998cd4
+MD5 807c8f5fa3ce17adc1f6463f55346a26 ChangeLog 2159
+RMD160 a83514fdf34e0a5c0aa0bf12ff6045f7e342ba43 ChangeLog 2159
+SHA256 fd276526fee840125f940871b84b71738de6c43b23af4564f40bfc34fc998cd4 ChangeLog 2159
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224
RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 metadata.xml 224
MD5 d7b2b38fcc07e1225a416664d3f05252 files/digest-xca-0.5.1-r1 229
RMD160 68ba6a21b74d54e522d8f9c1193e62c8a4a06276 files/digest-xca-0.5.1-r1 229
SHA256 c5dc0a65766c285befb93a3834c4acda2831f81515b2b000c040e62e80fba4f5 files/digest-xca-0.5.1-r1 229
+MD5 864de0024d3404092f70e07a52e17fd4 files/digest-xca-0.6.0 229
+RMD160 06e687f3b0b724a91d3872c9f2892acc205ce6e2 files/digest-xca-0.6.0 229
+SHA256 21903aca5ef176e49daadbe9c491577f2e563274dc81a307b1ca0b52a1ef00a2 files/digest-xca-0.6.0 229
--- /dev/null
+MD5 9f683408a35630217e4f5250f1d14ff4 xca-0.6.0.tar.gz 261479
+RMD160 cea0ca3eeefe2cf015b9be1edcb11e4f8c868490 xca-0.6.0.tar.gz 261479
+SHA256 523e406a4e94e006aa72ae53f24e8ccf9b55b348e1695f27abf2abc23ff74077 xca-0.6.0.tar.gz 261479
--- /dev/null
+--- xca-0.6.0/configure 2007-03-16 21:34:51.000000000 +0200
++++ xca-0.6.0.new/configure 2007-04-02 13:48:17.000000000 +0300
+@@ -103,17 +103,19 @@ search_includes() {
+ # check for libs
+ search_lib() {
+ for dir in ${DIRS}; do
++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}/lib${dbn}.${suffix}"; then
+- add_lib "${dir}/${lib}" "${dbn}" "${suffix}"
+- echo "Found: lib${dbn}.${suffix} at ${dir}/${lib}"
++ 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
+ return 1
+ }
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.6.0.ebuild,v 1.1 2007/04/02 11:09:42 alonbl Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A graphical user interface 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=""
+
+DEPEND=">=dev-libs/openssl-0.9.8
+ =x11-libs/qt-4*"
+
+pkg_setup() {
+ # Upstream:
+ # http://sourceforge.net/tracker/index.php?func=detail&aid=1692800&group_id=62274&atid=500028
+ if has_version ">=x11-libs/qt-4.2.2" ; then
+ if ! built_with_use x11-libs/qt qt3support ; then
+ eerror ">=qt4.2.2 requires qt3support"
+ die "rebuild >=x11-libs/qt-4.2.2 with the qt3support USE flag"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Upstream:
+ # http://sourceforge.net/tracker/index.php?func=detail&aid=1692798&group_id=62274&atid=500027
+ epatch "${FILESDIR}/${P}-build.patch"
+}
+
+src_compile() {
+ QTDIR=/usr \
+ STRIP="true" \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getLD)" \
+ prefix=/usr \
+ ./configure || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake destdir="${D}" mandir="share/man" install
+
+ dodoc README CREDITS AUTHORS COPYRIGHT
+
+ insinto /etc/xca
+ doins misc/*.txt
+}