summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2010-11-07 13:11:24 -0500
committerDane Smith <c1pher@gentoo.org>2010-11-07 13:11:24 -0500
commitfdc304632f88476009e36626a0e66f39d8bfc4d4 (patch)
tree7f80b46443429c33486c7895693c55641296ce91 /app-crypt/xca
parentNo more fetch issues. (diff)
downloadc1pher-fdc304632f88476009e36626a0e66f39d8bfc4d4.tar.gz
c1pher-fdc304632f88476009e36626a0e66f39d8bfc4d4.tar.bz2
c1pher-fdc304632f88476009e36626a0e66f39d8bfc4d4.zip
Version bump for xca.
Diffstat (limited to 'app-crypt/xca')
-rw-r--r--app-crypt/xca/ChangeLog13
-rw-r--r--app-crypt/xca/Manifest7
-rw-r--r--app-crypt/xca/files/CVS/Entries2
-rw-r--r--app-crypt/xca/files/CVS/Repository1
-rw-r--r--app-crypt/xca/files/CVS/Root1
-rw-r--r--app-crypt/xca/files/xca-0.8.1-qt_detection.patch38
-rw-r--r--app-crypt/xca/files/xca-0.9.0-qt_detection.patch29
-rw-r--r--app-crypt/xca/metadata.xml8
-rw-r--r--app-crypt/xca/xca-0.8.1.ebuild56
-rw-r--r--app-crypt/xca/xca-0.9.0.ebuild58
10 files changed, 213 insertions, 0 deletions
diff --git a/app-crypt/xca/ChangeLog b/app-crypt/xca/ChangeLog
new file mode 100644
index 0000000..c4d0136
--- /dev/null
+++ b/app-crypt/xca/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-crypt/xca
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*xca-0.9.0 (07 Nov 2010)
+*xca-0.8.1 (07 Nov 2010)
+
+ 07 Nov 2010; Dane Smith <c1pher@gentoo.org> +xca-0.8.1.ebuild,
+ +files/xca-0.8.1-qt_detection.patch, +xca-0.9.0.ebuild,
+ +files/xca-0.9.0-qt_detection.patch, +files/CVS/Entries,
+ +files/CVS/Repository, +files/CVS/Root, +metadata.xml:
+ New xca 9 ebuild.
+
diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
new file mode 100644
index 0000000..d299518
--- /dev/null
+++ b/app-crypt/xca/Manifest
@@ -0,0 +1,7 @@
+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
+EBUILD xca-0.9.0.ebuild 1509 RMD160 e30a1777b87128beda672d5dfc62c24cf037d930 SHA1 5092467f7c73eecdd550d559c68bbfaa8a843dde SHA256 4f0f949dc3c5383deabcc28bc7191471aad2c788242dca168d211536f6e47991
+MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
diff --git a/app-crypt/xca/files/CVS/Entries b/app-crypt/xca/files/CVS/Entries
new file mode 100644
index 0000000..9855e5b
--- /dev/null
+++ b/app-crypt/xca/files/CVS/Entries
@@ -0,0 +1,2 @@
+/xca-0.8.1-qt_detection.patch/1.1/Thu Apr 29 20:21:27 2010//
+D
diff --git a/app-crypt/xca/files/CVS/Repository b/app-crypt/xca/files/CVS/Repository
new file mode 100644
index 0000000..206087e
--- /dev/null
+++ b/app-crypt/xca/files/CVS/Repository
@@ -0,0 +1 @@
+gentoo-x86/app-crypt/xca/files
diff --git a/app-crypt/xca/files/CVS/Root b/app-crypt/xca/files/CVS/Root
new file mode 100644
index 0000000..1ed16a9
--- /dev/null
+++ b/app-crypt/xca/files/CVS/Root
@@ -0,0 +1 @@
+c1pher@cvs.gentoo.org:/var/cvsroot
diff --git a/app-crypt/xca/files/xca-0.8.1-qt_detection.patch b/app-crypt/xca/files/xca-0.8.1-qt_detection.patch
new file mode 100644
index 0000000..a8c4f4a
--- /dev/null
+++ b/app-crypt/xca/files/xca-0.8.1-qt_detection.patch
@@ -0,0 +1,38 @@
+--- configure
++++ configure
+@@ -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 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
+@@ -121,7 +123,7 @@
+ ######################### QT
+ subdirs="/qt /qt4"
+ search_includes Qt/qobject.h || err "The QT Library headerfiles were not found. Set QTDIR appropriately."
+-subdirs="/qt/Qt /qt4/Qt /Qt"
++subdirs="/qt/Qt /qt4/Qt /Qt /qt4"
+ search_includes qobject.h || err "The QT Library headerfiles were not found. Set QTDIR appropriately."
+ search_lib QtGui4 QtGui || err "The QT library was not found."
+ search_lib ltdl || err "Libtool ltdl not found."
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 0000000..e7eaa23
--- /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/metadata.xml b/app-crypt/xca/metadata.xml
new file mode 100644
index 0000000..df1a1a8
--- /dev/null
+++ b/app-crypt/xca/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>crypto</herd>
+ <maintainer>
+ <email>crypto@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-crypt/xca/xca-0.8.1.ebuild b/app-crypt/xca/xca-0.8.1.ebuild
new file mode 100644
index 0000000..50c0994
--- /dev/null
+++ b/app-crypt/xca/xca-0.8.1.ebuild
@@ -0,0 +1,56 @@
+# 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.8.1.ebuild,v 1.4 2010/06/26 13:11:28 nixnut Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic 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="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"
+
+ sed -e 's/$(LD) $(LDFLAGS)/$(LD) $(RAW_LDFLAGS)/' -i Makefile Rules.mak || die "sed failed"
+}
+
+src_configure() {
+ local LINUXDOC
+ use doc || LINUXDOC='touch $@ && true'
+
+ QTDIR=/usr \
+ STRIP="true" \
+ LINUXDOC="${LINUXDOC}" \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getLD)" \
+ CFLAGS="${CXXFLAGS}" \
+ prefix=/usr \
+ docdir=/usr/share/doc/${PF} \
+ ./configure || die "configure failed"
+}
+
+src_compile() {
+ emake RAW_LDFLAGS="$(raw-ldflags)" || die "emake failed"
+}
+
+src_install() {
+ emake destdir="${D}" mandir="share/man" install || die "emake install failed"
+
+ dodoc AUTHORS
+
+ insinto /etc/xca
+ doins misc/*.txt
+}
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 0000000..66980b6
--- /dev/null
+++ b/app-crypt/xca/xca-0.9.0.ebuild
@@ -0,0 +1,58 @@
+# 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.8.1.ebuild,v 1.4 2010/06/26 13:11:28 nixnut Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic 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="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"
+
+ #sed -e 's/$(LD) $(LDFLAGS)/$(LD) $(RAW_LDFLAGS)/' -i Makefile Rules.mak || die "sed failed"
+ #sed -i -e '/xca$(SUFFIX)/{n; s/GCCLDFLAGS/LDFLAGS/}' Makefile || die "sed failed"
+}
+
+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
+
+ insinto /etc/xca
+ doins misc/*.txt
+}