diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/keepassx | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/keepassx')
-rw-r--r-- | app-admin/keepassx/Manifest | 3 | ||||
-rw-r--r-- | app-admin/keepassx/files/keepassx-0.4.3-gcc47.patch | 11 | ||||
-rw-r--r-- | app-admin/keepassx/files/keepassx-2.0_alpha5-libgcrypt-1.6.0.patch | 39 | ||||
-rw-r--r-- | app-admin/keepassx/keepassx-0.4.3.ebuild | 43 | ||||
-rw-r--r-- | app-admin/keepassx/keepassx-2.0_alpha5.ebuild | 42 | ||||
-rw-r--r-- | app-admin/keepassx/keepassx-2.0_alpha6.ebuild | 37 | ||||
-rw-r--r-- | app-admin/keepassx/metadata.xml | 16 |
7 files changed, 191 insertions, 0 deletions
diff --git a/app-admin/keepassx/Manifest b/app-admin/keepassx/Manifest new file mode 100644 index 000000000000..46aee195f3ff --- /dev/null +++ b/app-admin/keepassx/Manifest @@ -0,0 +1,3 @@ +DIST keepassx-0.4.3.tar.gz 1368766 SHA256 cd901a0611ce57e62cf6df7eeeb1b690b5232302bdad8626994eb54adcfa1e85 SHA512 8ce1bc252694e11a8b0da94bb00a4e5ca2837fe099f2f992aa9a93bacc4d94f33970cec687bd73a7a7762e86220a0541fe85a6708a2d4ad1bb3aef5f19935ccc WHIRLPOOL e2f54832eeb8eb3c7b7874e2deb97843a9ef1a92f027ec540fd197cf850d313be5d8959595e122b24a286973747d3b71bd33537de601b31ba3d45a16a095747b +DIST keepassx-2.0_alpha5.tar.gz 1052454 SHA256 d5554d98666c7e0ea14d868ea837a3bc83661e95770faf77452367f80d18b2ef SHA512 864b56b35c768cf084d1934909c8f1aca474c0586ed644c3d5fef6d4eaffb550eeb14b1ac93d01e26a1319ad38144130ccdcf9f0c5634c395afed9f560173e79 WHIRLPOOL 92a0d9b653ea63c5abb5dde0ff2e92f92221e8b7f877da042b70f3a517ba9ac3c3e220c7014bc2da6cdb8a309f9c9575efce62de5026b281df2899ac756c21ec +DIST keepassx-2.0_alpha6.tar.gz 1366929 SHA256 592f9995b13c4f84724fb24a0078162246397eedccd467daaf0fd3608151f2b0 SHA512 76cf2e9617217b4f38ecd0027a88768c5a06c51e796f32e4939ba3a4506583ce6793c107293ee87c0ff1d18eaf6030096cab4da644cf0bef35ff09d5a46cd5ca WHIRLPOOL 37283e66bb285656ff2992552ce6e745603f27685a8a2e87fec42e391b484b2bf1697da011ec0ef86ff1ba5053abd803f38ad8ba77f0d295d901bd5ecf38d1e3 diff --git a/app-admin/keepassx/files/keepassx-0.4.3-gcc47.patch b/app-admin/keepassx/files/keepassx-0.4.3-gcc47.patch new file mode 100644 index 000000000000..d5d0d8bd0882 --- /dev/null +++ b/app-admin/keepassx/files/keepassx-0.4.3-gcc47.patch @@ -0,0 +1,11 @@ +diff -Naur keepassx-0.4.3/src/lib/random.cpp keepassx-0.4.3.new/src/lib/random.cpp +--- keepassx-0.4.3/src/lib/random.cpp 2009-06-28 16:22:31.000000000 +0200 ++++ keepassx-0.4.3.new/src/lib/random.cpp 2012-04-19 00:20:15.757415510 +0200 +@@ -19,6 +19,7 @@ + ***************************************************************************/ + + #include "random.h" ++#include <unistd.h> + + + #if defined(Q_WS_X11) || defined(Q_WS_MAC) diff --git a/app-admin/keepassx/files/keepassx-2.0_alpha5-libgcrypt-1.6.0.patch b/app-admin/keepassx/files/keepassx-2.0_alpha5-libgcrypt-1.6.0.patch new file mode 100644 index 000000000000..c2734c83e45d --- /dev/null +++ b/app-admin/keepassx/files/keepassx-2.0_alpha5-libgcrypt-1.6.0.patch @@ -0,0 +1,39 @@ +commit 8c7e6552742d11b13bc381fb39c00f9d57ce70ba +Author: Felix Geyer <debfx@fobos.de> +Date: Sun Jan 12 12:39:39 2014 +0100 + + Add compatibility with libgcrypt 1.6. + + Closes #129 + +diff --git a/src/crypto/Crypto.cpp b/src/crypto/Crypto.cpp +index 6ad7fb0..1e28002 100644 +--- a/src/crypto/Crypto.cpp ++++ b/src/crypto/Crypto.cpp +@@ -23,6 +23,7 @@ + + bool Crypto::m_initalized(false); + ++#if !defined(GCRYPT_VERSION_NUMBER) || (GCRYPT_VERSION_NUMBER < 0x010600) + static int gcry_qt_mutex_init(void** p_sys) + { + *p_sys = new QMutex(); +@@ -57,6 +58,7 @@ static const struct gcry_thread_cbs gcry_threads_qt = + gcry_qt_mutex_unlock, + 0, 0, 0, 0, 0, 0, 0, 0 + }; ++#endif + + Crypto::Crypto() + { +@@ -69,7 +71,10 @@ void Crypto::init() + return; + } + ++ // libgcrypt >= 1.6 doesn't allow custom thread callbacks anymore. ++#if !defined(GCRYPT_VERSION_NUMBER) || (GCRYPT_VERSION_NUMBER < 0x010600) + gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_qt); ++#endif + gcry_check_version(0); + gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0); + diff --git a/app-admin/keepassx/keepassx-0.4.3.ebuild b/app-admin/keepassx/keepassx-0.4.3.ebuild new file mode 100644 index 000000000000..333f4851a6a6 --- /dev/null +++ b/app-admin/keepassx/keepassx-0.4.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit qt4-r2 + +DESCRIPTION="Qt password manager compatible with its Win32 and Pocket PC versions" +HOMEPAGE="http://www.keepassx.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="debug pch" + +DEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtxmlpatterns:4 + || ( >=x11-libs/libXtst-1.1.0 <x11-proto/xextproto-7.1.0 )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gcc47.patch ) + +src_configure() { + local conf_pch + use pch && conf_pch="PRECOMPILED=1" || conf_pch="PRECOMPILED=0" + + eqmake4 ${PN}.pro -recursive \ + PREFIX="${ED}/usr" \ + "${conf_pch}" +} + +src_compile() { + # workaround compile failure due to distcc, bug #214327 + PATH=${PATH/\/usr\/lib\/distcc\/bin:} + emake +} + +src_install() { + emake DESTDIR="${D}" install + dodoc changelog +} diff --git a/app-admin/keepassx/keepassx-2.0_alpha5.ebuild b/app-admin/keepassx/keepassx-2.0_alpha5.ebuild new file mode 100644 index 000000000000..0eec23fe1ad5 --- /dev/null +++ b/app-admin/keepassx/keepassx-2.0_alpha5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils vcs-snapshot + +DESCRIPTION="Qt password manager compatible with its Win32 and Pocket PC versions" +HOMEPAGE="http://www.keepassx.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 ) BSD GPL-2 LGPL-2.1 LGPL-3+ CC0-1.0 public-domain || ( LGPL-2.1 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-libs/libgcrypt:0= + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qttest:4 + sys-libs/zlib + x11-libs/libX11 + x11-libs/libXtst +" +RDEPEND="${DEPEND}" + +DOCS=(CHANGELOG) + +src_prepare() { + epatch "${FILESDIR}"/${P}-libgcrypt-1.6.0.patch + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_with test TESTS) + ) + cmake-utils_src_configure +} diff --git a/app-admin/keepassx/keepassx-2.0_alpha6.ebuild b/app-admin/keepassx/keepassx-2.0_alpha6.ebuild new file mode 100644 index 000000000000..79aaa66c37f5 --- /dev/null +++ b/app-admin/keepassx/keepassx-2.0_alpha6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils vcs-snapshot + +DESCRIPTION="Qt password manager compatible with its Win32 and Pocket PC versions" +HOMEPAGE="http://www.keepassx.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 ) BSD GPL-2 LGPL-2.1 LGPL-3+ CC0-1.0 public-domain || ( LGPL-2.1 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-libs/libgcrypt:0= + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qttest:4 + sys-libs/zlib + x11-libs/libX11 + x11-libs/libXtst +" +RDEPEND="${DEPEND}" + +DOCS=(CHANGELOG) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_with test TESTS) + ) + cmake-utils_src_configure +} diff --git a/app-admin/keepassx/metadata.xml b/app-admin/keepassx/metadata.xml new file mode 100644 index 000000000000..770f6c3b9860 --- /dev/null +++ b/app-admin/keepassx/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>tgurr@gentoo.org</email> + <name>Timo Gurr</name> + </maintainer> + <longdescription> + KeePassX provides a safe location for your passwords and similar + data. It encrypts its databasee with AES either by passphrase or a key + file, compatible with a PDA and Windows version. + </longdescription> + <upstream> + <remote-id type="github">keepassx/keepassx</remote-id> + </upstream> +</pkgmetadata> |