summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2006-06-18 23:56:24 +0000
committerGustavo Felisberto <humpback@gentoo.org>2006-06-18 23:56:24 +0000
commit12294e2f55c9c790745f8da43213d61e95c6ec13 (patch)
tree1890dbe94c601fcf3baa4a714b66a824b8110e48
parentsloted qca from bug 129536 (diff)
downloadsunrise-12294e2f55c9c790745f8da43213d61e95c6ec13.tar.gz
sunrise-12294e2f55c9c790745f8da43213d61e95c6ec13.tar.bz2
sunrise-12294e2f55c9c790745f8da43213d61e95c6ec13.zip
all of the plugins for qca beta 2
svn path=/sunrise/; revision=129
-rw-r--r--app-crypt/qca-gnupg/ChangeLog7
-rw-r--r--app-crypt/qca-gnupg/Manifest12
-rw-r--r--app-crypt/qca-gnupg/files/digest-qca-gnupg-0.1_p200604063
-rw-r--r--app-crypt/qca-gnupg/files/qca-gnupg_fix.diff23
-rw-r--r--app-crypt/qca-gnupg/qca-gnupg-0.1_p20060406.ebuild67
-rw-r--r--app-crypt/qca-openssl/ChangeLog7
-rw-r--r--app-crypt/qca-openssl/Manifest8
-rw-r--r--app-crypt/qca-openssl/files/digest-qca-openssl-0.1_p200604063
-rw-r--r--app-crypt/qca-openssl/qca-openssl-0.1_p20060406.ebuild55
-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
-rw-r--r--profiles/package.mask3
15 files changed, 280 insertions, 0 deletions
diff --git a/app-crypt/qca-gnupg/ChangeLog b/app-crypt/qca-gnupg/ChangeLog
new file mode 100644
index 000000000..2ed3299bf
--- /dev/null
+++ b/app-crypt/qca-gnupg/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-crypt/qca-gnupg
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 18 Jun 2006; Gustavo Felisberto <humpback@gentoo.org>; ChangeLog:
+ Adding qca-gnupg from bug 137132
+
diff --git a/app-crypt/qca-gnupg/Manifest b/app-crypt/qca-gnupg/Manifest
new file mode 100644
index 000000000..9c417e584
--- /dev/null
+++ b/app-crypt/qca-gnupg/Manifest
@@ -0,0 +1,12 @@
+AUX qca-gnupg_fix.diff 770 RMD160 39e67881eec3b3bd9dbd2caf63838da47d0c10f7 SHA1 08dbdadeb7ff18e3697ab9b18d1e7fe6d6fe5739 SHA256 bdcc844a163d8183b53ed4e471fe450f909faaf4dd34245dc61d17944a28ce69
+MD5 dc781775468a3e2e371b64c53e412fa9 files/qca-gnupg_fix.diff 770
+RMD160 39e67881eec3b3bd9dbd2caf63838da47d0c10f7 files/qca-gnupg_fix.diff 770
+SHA256 bdcc844a163d8183b53ed4e471fe450f909faaf4dd34245dc61d17944a28ce69 files/qca-gnupg_fix.diff 770
+DIST qca-gnupg-0.1-20060406.tar.bz2 21617 RMD160 03c493c6e815d5450bd2b8472e1af2708225a905 SHA1 cc6f606d8a71bf6bd56a17f05974a5c66cc90303 SHA256 023fe4f4b3d9e30130f07b9b5bff88c8573f35dea7e2b786c80e8fcb4be48698
+EBUILD qca-gnupg-0.1_p20060406.ebuild 1388 RMD160 cdea55add31a8f7b1b5ee3a3b031cd3a936a6e03 SHA1 57f5068ccd2ddab91261d671adeca7dbc737f2b7 SHA256 9c782cf7af6f44a76812d11916ccc3ec36586bfe216301e00b28ef38f372fd1c
+MD5 d4b19bda568180d466a18030f1149860 qca-gnupg-0.1_p20060406.ebuild 1388
+RMD160 cdea55add31a8f7b1b5ee3a3b031cd3a936a6e03 qca-gnupg-0.1_p20060406.ebuild 1388
+SHA256 9c782cf7af6f44a76812d11916ccc3ec36586bfe216301e00b28ef38f372fd1c qca-gnupg-0.1_p20060406.ebuild 1388
+MD5 ff72eb8723ab0bcdcefa095d18468c6f files/digest-qca-gnupg-0.1_p20060406 268
+RMD160 4dec1ceade61fa4d6a3a5b41443d07fa922fad15 files/digest-qca-gnupg-0.1_p20060406 268
+SHA256 d854eeab2726761d52a78adcf748bb7e5edf547a220074f6801df67c656e6f26 files/digest-qca-gnupg-0.1_p20060406 268
diff --git a/app-crypt/qca-gnupg/files/digest-qca-gnupg-0.1_p20060406 b/app-crypt/qca-gnupg/files/digest-qca-gnupg-0.1_p20060406
new file mode 100644
index 000000000..b6ad2774f
--- /dev/null
+++ b/app-crypt/qca-gnupg/files/digest-qca-gnupg-0.1_p20060406
@@ -0,0 +1,3 @@
+MD5 60ecf3c3c3b0f7f22b62c51837c93e03 qca-gnupg-0.1-20060406.tar.bz2 21617
+RMD160 03c493c6e815d5450bd2b8472e1af2708225a905 qca-gnupg-0.1-20060406.tar.bz2 21617
+SHA256 023fe4f4b3d9e30130f07b9b5bff88c8573f35dea7e2b786c80e8fcb4be48698 qca-gnupg-0.1-20060406.tar.bz2 21617
diff --git a/app-crypt/qca-gnupg/files/qca-gnupg_fix.diff b/app-crypt/qca-gnupg/files/qca-gnupg_fix.diff
new file mode 100644
index 000000000..0ae2f3ed6
--- /dev/null
+++ b/app-crypt/qca-gnupg/files/qca-gnupg_fix.diff
@@ -0,0 +1,23 @@
+diff -ur qca-gnupg-0.1-20060406/qca-gnupg.cpp qca-gnupg-0.1-20060406.new/qca-gnupg.cpp
+--- qca-gnupg-0.1-20060406/qca-gnupg.cpp 2006-04-06 23:55:19.000000000 +0200
++++ qca-gnupg-0.1-20060406.new/qca-gnupg.cpp 2006-04-12 12:31:30.000000000 +0200
+@@ -720,12 +724,14 @@
+
+ SecureMessageKey key;
+ PGPKey pub = publicKeyFromId(signerId, provider());
+- if(!pub.isNull())
+- {
+- key.setPGPPublicKey(pub);
+- signer = SecureMessageSignature(ir, v, key, ts);
+- wasSigned = true;
++ if(pub.isNull()) {
++ MyPGPKeyContext *kc = new MyPGPKeyContext(provider());
++ kc->_props.keyId = signerId;
++ pub.change(kc);
+ }
++ key.setPGPPublicKey(pub);
++ signer = SecureMessageSignature(ir, v, key, ts);
++ wasSigned = true;
+ }
+ }
+ else
diff --git a/app-crypt/qca-gnupg/qca-gnupg-0.1_p20060406.ebuild b/app-crypt/qca-gnupg/qca-gnupg-0.1_p20060406.ebuild
new file mode 100644
index 000000000..46f2b3f2d
--- /dev/null
+++ b/app-crypt/qca-gnupg/qca-gnupg-0.1_p20060406.ebuild
@@ -0,0 +1,67 @@
+# 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 GPG frontend API, 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"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.0"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}_fix.diff
+}
+
+src_compile() {
+ local qmyconf="CONFIG += no_fixpath"
+
+ QTDIR="/usr/lib" ./configure || die "configure failed"
+
+ # check wheter qt was build with debug use flag
+ if ! built_with_use qt debug || ! use debug; then
+ qmyconf="${qmyconf} release"
+ else
+ qmyconf="${qmyconf} debug"
+ fi;
+
+ qmake ${PN}.pro \
+ QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
+ QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+ QMAKE_RPATH= \
+ QTDIR="/usr/lib" \
+ "${qmyconf}" \
+ || 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
+}
diff --git a/app-crypt/qca-openssl/ChangeLog b/app-crypt/qca-openssl/ChangeLog
new file mode 100644
index 000000000..0e73cc4a4
--- /dev/null
+++ b/app-crypt/qca-openssl/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-crypt/qca-openssl
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 18 Jun 2006; Gustavo Felisberto <humpback@gentoo.org>; ChangeLog:
+ Sloted qca-openssl from bug 137132
+
diff --git a/app-crypt/qca-openssl/Manifest b/app-crypt/qca-openssl/Manifest
new file mode 100644
index 000000000..8bed0fde1
--- /dev/null
+++ b/app-crypt/qca-openssl/Manifest
@@ -0,0 +1,8 @@
+DIST qca-openssl-0.1-20060406.tar.bz2 42697 RMD160 45d190ef12feae2fdf3f9aa88bf53b8ae6d9ac9d SHA1 4200a89ac9d0e982d25f340a3b39e6b6e25f97ca SHA256 8d10b09e643c5fd4aaa4ec38bbbf8c328915ed7d13db636c2a3960419cb0f993
+EBUILD qca-openssl-0.1_p20060406.ebuild 1161 RMD160 3b805dcaf7208431007c48f118cafec750b4c652 SHA1 e5e4ba8d4be40cba141a675924ce5807091a2a7a SHA256 53d31d51dc7111df4af0de569ff487d5a74446d83c8a6405e653cb1b91131732
+MD5 145a3996224dcc21cfc9208bbbc05d43 qca-openssl-0.1_p20060406.ebuild 1161
+RMD160 3b805dcaf7208431007c48f118cafec750b4c652 qca-openssl-0.1_p20060406.ebuild 1161
+SHA256 53d31d51dc7111df4af0de569ff487d5a74446d83c8a6405e653cb1b91131732 qca-openssl-0.1_p20060406.ebuild 1161
+MD5 691d32baeff25e6fa1e01905c7f4abb2 files/digest-qca-openssl-0.1_p20060406 274
+RMD160 3ebdcb5a71339784cebac63d77c0d0d1792720b7 files/digest-qca-openssl-0.1_p20060406 274
+SHA256 cd2aff027bf375cb95d5b8e6fd7d86fdc10ee2f0f24ea5b7e8488cdaa4c91bba files/digest-qca-openssl-0.1_p20060406 274
diff --git a/app-crypt/qca-openssl/files/digest-qca-openssl-0.1_p20060406 b/app-crypt/qca-openssl/files/digest-qca-openssl-0.1_p20060406
new file mode 100644
index 000000000..ead33a91d
--- /dev/null
+++ b/app-crypt/qca-openssl/files/digest-qca-openssl-0.1_p20060406
@@ -0,0 +1,3 @@
+MD5 cefc38ddb81dafcb0b4e8646507b671c qca-openssl-0.1-20060406.tar.bz2 42697
+RMD160 45d190ef12feae2fdf3f9aa88bf53b8ae6d9ac9d qca-openssl-0.1-20060406.tar.bz2 42697
+SHA256 8d10b09e643c5fd4aaa4ec38bbbf8c328915ed7d13db636c2a3960419cb0f993 qca-openssl-0.1-20060406.tar.bz2 42697
diff --git a/app-crypt/qca-openssl/qca-openssl-0.1_p20060406.ebuild b/app-crypt/qca-openssl/qca-openssl-0.1_p20060406.ebuild
new file mode 100644
index 000000000..98e5b1902
--- /dev/null
+++ b/app-crypt/qca-openssl/qca-openssl-0.1_p20060406.ebuild
@@ -0,0 +1,55 @@
+# 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 SSL features as a 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_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
+
+ dodoc README TODO
+}
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
+}
diff --git a/profiles/package.mask b/profiles/package.mask
index c5b8d529b..e4e24ffb2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -24,6 +24,9 @@
# Gustavo Felisberto <humpback@gentoo.org> (19 Jun 2006)
# This is beta... very beta
>=app-crypt/qca-2.0_beta2
+app-crypt/qca-openssl
+app-crypt/qca-gnupg
+app-crypt/qca-pkcs11
# Jakub Moc <jakub@gentoo.org> (09 Jun 2006)
# This is for testing only, upstream not active ATM