summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/qca-pkcs11')
-rw-r--r--app-crypt/qca-pkcs11/ChangeLog7
-rw-r--r--app-crypt/qca-pkcs11/Manifest12
-rw-r--r--app-crypt/qca-pkcs11/files/digest-qca-pkcs11-0.1_p200604073
-rw-r--r--app-crypt/qca-pkcs11/files/gcc-4.extra-qualification.patch11
-rw-r--r--app-crypt/qca-pkcs11/qca-pkcs11-0.1_p20060407.ebuild59
5 files changed, 92 insertions, 0 deletions
diff --git a/app-crypt/qca-pkcs11/ChangeLog b/app-crypt/qca-pkcs11/ChangeLog
new file mode 100644
index 000000000..bb50756ad
--- /dev/null
+++ b/app-crypt/qca-pkcs11/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-crypt/qca-pkcs11
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 18 Jun 2006; Gustavo Felisberto <humpback@gentoo.org>; ChangeLog:
+ Adding qca-pkcs11 from bug 137132
+
diff --git a/app-crypt/qca-pkcs11/Manifest b/app-crypt/qca-pkcs11/Manifest
new file mode 100644
index 000000000..88637ce31
--- /dev/null
+++ b/app-crypt/qca-pkcs11/Manifest
@@ -0,0 +1,12 @@
+AUX gcc-4.extra-qualification.patch 268 RMD160 c41c1ae4249a38e0ea0ef54a1b8743fe4fc33c96 SHA1 e450baf1cd291192f3a5d0f4b264875e845732b3 SHA256 14ba4a5778008ff3a4b3c3e5a22446088c260708047a38e277293cf61e267b76
+MD5 6c3bf405a76cb4a337b1203a124e29ae files/gcc-4.extra-qualification.patch 268
+RMD160 c41c1ae4249a38e0ea0ef54a1b8743fe4fc33c96 files/gcc-4.extra-qualification.patch 268
+SHA256 14ba4a5778008ff3a4b3c3e5a22446088c260708047a38e277293cf61e267b76 files/gcc-4.extra-qualification.patch 268
+DIST qca-pkcs11-0.1-20060407.tar.bz2 58973 RMD160 01c56d96abee825f122de92fdd6a61ef210eabc7 SHA1 70b678694fe52d1369acc5b93342003b74b04cd7 SHA256 140467dd784b71b158d6d9a6451ceb586f3f995c6145aa5e96043f40914ad322
+EBUILD qca-pkcs11-0.1_p20060407.ebuild 1226 RMD160 7d4387011b3628065186515163df5a21069806f6 SHA1 fea78806b3359073b2fe87fe2d8d8d15c6039377 SHA256 0e440941311b9a63adae8ea4eec12fa7edc9269fb1921b0862cee762b97a1738
+MD5 1672af426118c55dd945c2121c7632ad qca-pkcs11-0.1_p20060407.ebuild 1226
+RMD160 7d4387011b3628065186515163df5a21069806f6 qca-pkcs11-0.1_p20060407.ebuild 1226
+SHA256 0e440941311b9a63adae8ea4eec12fa7edc9269fb1921b0862cee762b97a1738 qca-pkcs11-0.1_p20060407.ebuild 1226
+MD5 608d29650af1ed21a6f14708a8c2b619 files/digest-qca-pkcs11-0.1_p20060407 271
+RMD160 c7b7fa755175865fa3d38930d413adde234f5b3c files/digest-qca-pkcs11-0.1_p20060407 271
+SHA256 c1f620e7dd4db3ebef71e9301ddb01d4dcad485ebc713aaf181c8c07c47d6199 files/digest-qca-pkcs11-0.1_p20060407 271
diff --git a/app-crypt/qca-pkcs11/files/digest-qca-pkcs11-0.1_p20060407 b/app-crypt/qca-pkcs11/files/digest-qca-pkcs11-0.1_p20060407
new file mode 100644
index 000000000..92d8135c4
--- /dev/null
+++ b/app-crypt/qca-pkcs11/files/digest-qca-pkcs11-0.1_p20060407
@@ -0,0 +1,3 @@
+MD5 bbcdf0aff9ecee28aa20ceaa7df259c0 qca-pkcs11-0.1-20060407.tar.bz2 58973
+RMD160 01c56d96abee825f122de92fdd6a61ef210eabc7 qca-pkcs11-0.1-20060407.tar.bz2 58973
+SHA256 140467dd784b71b158d6d9a6451ceb586f3f995c6145aa5e96043f40914ad322 qca-pkcs11-0.1-20060407.tar.bz2 58973
diff --git a/app-crypt/qca-pkcs11/files/gcc-4.extra-qualification.patch b/app-crypt/qca-pkcs11/files/gcc-4.extra-qualification.patch
new file mode 100644
index 000000000..9bfa55dc1
--- /dev/null
+++ b/app-crypt/qca-pkcs11/files/gcc-4.extra-qualification.patch
@@ -0,0 +1,11 @@
+--- qca-pkcs11.cpp.original 2006-06-19 00:46:14.000000000 +0100
++++ qca-pkcs11.cpp 2006-06-19 00:46:58.000000000 +0100
+@@ -259,7 +259,7 @@
+ ) const;
+
+ QString
+- MyKeyStoreList::tokenId2storeId (
++ tokenId2storeId (
+ const pkcs11h_token_id_t token_id
+ ) const;
+
diff --git a/app-crypt/qca-pkcs11/qca-pkcs11-0.1_p20060407.ebuild b/app-crypt/qca-pkcs11/qca-pkcs11-0.1_p20060407.ebuild
new file mode 100644
index 000000000..45a2ccb75
--- /dev/null
+++ b/app-crypt/qca-pkcs11/qca-pkcs11-0.1_p20060407.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils qt4
+
+MY_PV="${PV/_p/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Qt RSA PKCS11 plugin for QCA"
+HOMEPAGE="http://delta.affinix.com/qca/"
+SRC_URI="http://delta.affinix.com/download/qca/2.0/beta2/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~amd64"
+IUSE="debug"
+
+RDEPEND="$(qt_min_version 4.1.0)
+ >app-crypt/qca-1.99
+ dev-libs/openssl"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.0"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gcc-4.extra-qualification.patch
+}
+
+src_compile() {
+ QTDIR="/usr/lib" ./configure || die "configure failed"
+
+ qmake \
+ QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
+ QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+ QMAKE_RPATH= \
+ QTDIR="/usr/lib" \
+ "CONFIG += no_fixpath release" \
+ ${PN}.pro \
+ || die "qmake failed"
+
+ # ugly workaround...
+ if ! built_with_use qt debug || ! use debug; then
+ sed -i -e 's/QtCore_debug/QtCore/g' Makefile
+ fi;
+
+ make || die "make failed"
+}
+
+src_install() {
+ make INSTALL_ROOT="${D}" install || die "make install failed"
+ if [ "$(get_libdir)" != "lib" ]; then
+ mv ${D}/usr/lib ${D}/usr/$(get_libdir)
+ fi
+}