summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-03-01 10:16:41 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-03-01 10:16:41 +0000
commit3cd3c5d647ff0d49682a4eb7ee34d968b4c17596 (patch)
tree1e30a3335071fe2dec3cb6a0c3c7586575b6c6a1 /app-crypt/xca
parentChanged /var/nagios/rw permissions as per suggested in nagios manual to 2770. (diff)
downloadgentoo-2-3cd3c5d647ff0d49682a4eb7ee34d968b4c17596.tar.gz
gentoo-2-3cd3c5d647ff0d49682a4eb7ee34d968b4c17596.tar.bz2
gentoo-2-3cd3c5d647ff0d49682a4eb7ee34d968b4c17596.zip
Initial import as per bug #73955
(Portage version: 2.0.51.17)
Diffstat (limited to 'app-crypt/xca')
-rw-r--r--app-crypt/xca/ChangeLog12
-rw-r--r--app-crypt/xca/Manifest7
-rw-r--r--app-crypt/xca/files/Rules.mak-prefix.patch13
-rw-r--r--app-crypt/xca/files/configure-db-4.1.patch11
-rw-r--r--app-crypt/xca/files/digest-xca-0.5.11
-rw-r--r--app-crypt/xca/files/xca-0.5.1-qt.diff12
-rw-r--r--app-crypt/xca/metadata.xml8
-rw-r--r--app-crypt/xca/xca-0.5.1.ebuild42
8 files changed, 106 insertions, 0 deletions
diff --git a/app-crypt/xca/ChangeLog b/app-crypt/xca/ChangeLog
new file mode 100644
index 000000000000..935116b075c7
--- /dev/null
+++ b/app-crypt/xca/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-crypt/xca
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/ChangeLog,v 1.1 2005/03/01 10:16:40 dragonheart Exp $
+
+*xca-0.5.1 (01 Mar 2005)
+
+ 01 Mar 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +files/Rules.mak-prefix.patch, +files/configure-db-4.1.patch,
+ +files/xca-0.5.1-qt.diff, +xca-0.5.1.ebuild:
+ Initial import as per bug #73955. Thanks to Michael Krelin
+ <gentoodoo@klever.net> for the numberous patches and model ebuilds
+
diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
new file mode 100644
index 000000000000..4024553d623f
--- /dev/null
+++ b/app-crypt/xca/Manifest
@@ -0,0 +1,7 @@
+MD5 721823223ed9d95ed75cfa73fe293d00 xca-0.5.1.ebuild 977
+MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224
+MD5 da5dffa50817fe743ad0f7fcc861c4a6 ChangeLog 450
+MD5 878557cfb66b6c55e140b22b59a945fe files/configure-db-4.1.patch 485
+MD5 a863ab8517d47d6115278df5657a8e6e files/Rules.mak-prefix.patch 317
+MD5 824dd090495b970cdbbe37ae02a2aade files/digest-xca-0.5.1 61
+MD5 8bdc8f5dfc26313d6d167f947ce7bd8c files/xca-0.5.1-qt.diff 466
diff --git a/app-crypt/xca/files/Rules.mak-prefix.patch b/app-crypt/xca/files/Rules.mak-prefix.patch
new file mode 100644
index 000000000000..ee46285c831e
--- /dev/null
+++ b/app-crypt/xca/files/Rules.mak-prefix.patch
@@ -0,0 +1,13 @@
+--- work/xca-0.5.2/Rules.mak 2004-04-15 01:36:54.000000000 +0200
++++ work/xca-0.5.2/Rules.mak 2005-02-22 10:15:30.157857504 +0100
+@@ -2,8 +2,8 @@
+
+ all: target.obj
+
+-ifneq ($(prefix),)
+- CFLAGS+= -DPREFIX=\"$(prefix)\"
++ifneq ($(inst_prefix),)
++ CFLAGS+= -DPREFIX=\"$(inst_prefix)\"
+ endif
+
+ ifneq ($(basedir),)
diff --git a/app-crypt/xca/files/configure-db-4.1.patch b/app-crypt/xca/files/configure-db-4.1.patch
new file mode 100644
index 000000000000..25a49773e7ef
--- /dev/null
+++ b/app-crypt/xca/files/configure-db-4.1.patch
@@ -0,0 +1,11 @@
+--- work/xca-0.5.2/configure 2004-04-23 10:22:57.000000000 +0200
++++ work/xca-0.5.2/configure 2005-02-21 21:37:42.000000000 +0100
+@@ -94,7 +94,7 @@
+
+
+ ######################## DB
+-subdirs="/db /db4 /db3"
++subdirs="/db4.1 /db /db4 /db3"
+ search_includes db_cxx.h || err "The Berkeley DB header files were not found"
+ search_lib db_cxx db4_cxx db_cxx-4 db3_cxx db_cxx-3 || err "The Berkeley DB library was not found. Try installing db-dev"
+ ## The fun of NPTL... (Thx Enrico Scholz)
diff --git a/app-crypt/xca/files/digest-xca-0.5.1 b/app-crypt/xca/files/digest-xca-0.5.1
new file mode 100644
index 000000000000..03043f27bc59
--- /dev/null
+++ b/app-crypt/xca/files/digest-xca-0.5.1
@@ -0,0 +1 @@
+MD5 24e0289c189b8db2f1f15a4ddac1b1c3 xca-0.5.1.tar.gz 287025
diff --git a/app-crypt/xca/files/xca-0.5.1-qt.diff b/app-crypt/xca/files/xca-0.5.1-qt.diff
new file mode 100644
index 000000000000..c6d101942ff8
--- /dev/null
+++ b/app-crypt/xca/files/xca-0.5.1-qt.diff
@@ -0,0 +1,12 @@
+diff -ur xca-0.5.1.orig/widgets/clicklabel.cpp xca-0.5.1/widgets/clicklabel.cpp
+--- xca-0.5.1.orig/widgets/clicklabel.cpp 2003-11-26 23:03:18.000000000 +0100
++++ xca-0.5.1/widgets/clicklabel.cpp 2004-12-09 20:18:02.632858864 +0100
+@@ -58,7 +58,7 @@
+ ClickLabel::ClickLabel( QWidget* parent, const char* name, WFlags f )
+ :QLabel( parent, name, f )
+ {
+- QFont font( font() );
++ QFont font;
+ font.setBold(true);
+ setFont( font );
+ setFrameShape( QLabel::Panel );
diff --git a/app-crypt/xca/metadata.xml b/app-crypt/xca/metadata.xml
new file mode 100644
index 000000000000..df1a1a8242fe
--- /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.5.1.ebuild b/app-crypt/xca/xca-0.5.1.ebuild
new file mode 100644
index 000000000000..a9307e05935d
--- /dev/null
+++ b/app-crypt/xca/xca-0.5.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/xca/xca-0.5.1.ebuild,v 1.1 2005/03/01 10:16:40 dragonheart Exp $
+
+inherit eutils kde 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="~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/openssl-0.9.6
+ >=x11-libs/qt-2.2.4
+ >=db-3.2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-qt.diff
+ epatch ${FILESDIR}/configure-db-4.1.patch
+ echo "inst_prefix=/usr" >> Local.mak
+ epatch ${FILESDIR}/Rules.mak-prefix.patch
+}
+
+src_compile() {
+ kde_src_compile nothing
+ CC=$(tc-getCC) prefix=/usr ./configure || die "configure died"
+ inst_prefix=/usr emake || die "emake failed"
+}
+
+src_install() {
+ make destdir=${D} mandir=share/man install
+
+ dodoc README CREDITS AUTHORS COPYRIGHT
+
+ insinto /etc/xca
+ doins misc/*.txt
+}