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
commit92183badf3ce3ba71b761b031151eb73a41af9cb (patch)
treee3354eb17aebd7dc7ca7990f4ba226aad12b3867 /app-crypt/xca
parentChanged /var/nagios/rw permissions as per suggested in nagios manual to 2770. (diff)
downloadhistorical-92183badf3ce3ba71b761b031151eb73a41af9cb.tar.gz
historical-92183badf3ce3ba71b761b031151eb73a41af9cb.tar.bz2
historical-92183badf3ce3ba71b761b031151eb73a41af9cb.zip
Initial import as per bug #73955
Package-Manager: portage-2.0.51.17
Diffstat (limited to 'app-crypt/xca')
-rw-r--r--app-crypt/xca/ChangeLog12
-rw-r--r--app-crypt/xca/Manifest17
-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, 116 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..e78113cee228
--- /dev/null
+++ b/app-crypt/xca/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 37e3e1baa62663cec800b6fe5e3b67b6 xca-0.5.1.ebuild 1074
+MD5 566cf4f89e44670d0aba4a745913d748 metadata.xml 224
+MD5 7084bf9e9a84e5de3a72db52d7b47636 ChangeLog 540
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCJEEPmdTrptrqvGERAmi+AJ9mKTB7mb8pOr6d0I1f99Bi8A6YqACggsrg
+AewY26U/vT2y/mjwQKheghg=
+=+JM/
+-----END PGP SIGNATURE-----
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
+}