parent
87380acc66
commit
7111d6f716
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-rails/eselect-rails-0.19.ebuild,v 1.1 2013/10/07 08:41:29 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Manages Ruby on Rails symlinks"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~flameeyes/ruby-team/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.0"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
# Fix/Add Prefix support
|
||||
sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins *.eselect || die "doins failed"
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
# ChangeLog for app-admin/r10k
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/r10k/ChangeLog,v 1.1 2013/10/07 19:40:59 vikraman Exp $
|
||||
|
||||
*r10k-1.1.0 (07 Oct 2013)
|
||||
|
||||
07 Oct 2013; Vikraman <vikraman@gentoo.org> +metadata.xml, +r10k-1.1.0.ebuild:
|
||||
New ebuild for app-admin/r10k, a puppet deployment tool
|
@ -0,0 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST r10k-1.1.0.gem 23552 SHA256 3b6bb90fd0a767f0f3412b3f940781d3071804118baccacc618da39c4009247d SHA512 7bb33894c582e82c173d4f3e725663b2a6c30824795a1b188ced89719a3184d65c00a0f059e8558f07d97a6728ca293e2949ebc4ca6656b007dcd0b93b76324f WHIRLPOOL 5d517f08541298f2966315e16c3c673c014e9aa4c31c0a9a7488341f4e5e044f6bf08417a063a4985ad2421dfd09eadf4c3746d2bac1200b7b85743bbf432bfe
|
||||
EBUILD r10k-1.1.0.ebuild 802 SHA256 2642999fdf9735222656c4e9905b34cd151152de408b5b3706e2d5697ba727f9 SHA512 ceee520fa673d781bf15fba26449ca2bd79f07edab873fff54d1ced3034f0c0abcffc0938787ef285c5a49496408535cbb9bd5b78c1c9b128a8bc96cdbe76a90 WHIRLPOOL 352674be9c4da99ccf28bd1bb09fede93e0910e78245aa6608da31f9545feaa95bdf45bc2f9be77da6f4a511685fdad4fd8bdfe76ccedad90c881b0f2076d034
|
||||
MISC ChangeLog 369 SHA256 28f5c5949bfebf3c61dacccaa4e1ab1d18669725acce3ea6d20419f010108657 SHA512 cd07d5b271cb4556414211f5cb2f781f4a5fd0e202bb4ad89aa0afb4b0eec5f2925a569e9f1b882d2351548fff4d3bba3f121b59507877e13e2325e64d25e89f WHIRLPOOL d7b0395412736059315ef6f0dd0df7b578529ef7f5e2f0d1e517e037e7d8419056d00b096c359f5b73c0df12118ecfdfb1cf57d1cfa505efb9c2ef2b3ea51490
|
||||
MISC metadata.xml 533 SHA256 c8b2df09c35b351c1322ec51214a9ed3ad18c9b087b50e86ca174414862ae0c9 SHA512 f1c5fa11aba7b6894cbdde3dd51d5cd6a9bd6b5e142c3161851f47219bfd8c6557ed1a7faf3ce0a7798cca1077edb080067114793848176c340d28561f68b5d9 WHIRLPOOL 298e707b336237725e470d5633da800c484ff0501a89ee77f50279db13107388e2e1d5fc01489ed8412b850324d8d1b79633d3c538ab47db67ab1a040202dac7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.21 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlJTDk8ACgkQR91UhLCnL9JSUAD+OdEUJfYCHpjVC14sNPEEpsMj
|
||||
n4j6YaXP2yAYb3v4NnIA/j5d3Rlr/JTfWVjoHXPBnw4aZzAbP9sKDrKPk7rA+wKx
|
||||
=mqmG
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>vikraman@gentoo.org</email>
|
||||
<name>Vikraman Choudhury</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
r10k provides a general purpose toolset for deploying Puppet environments and modules. It implements the Puppetfile format and provides a native implementation of Puppet dynamic environments.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/r10k/r10k-1.1.0.ebuild,v 1.1 2013/10/07 19:40:59 vikraman Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Puppet environment and module deployment"
|
||||
HOMEPAGE="http://github.com/adrienthebo/r10k"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
ruby_add_bdepend "test? ( =dev-ruby/rspec-2.14* )"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/colored-1.2
|
||||
=dev-ruby/cri-2.4*
|
||||
>=dev-ruby/systemu-2.5.2
|
||||
<dev-ruby/systemu-2.6.0
|
||||
>=dev-ruby/log4r-1.1.10
|
||||
dev-ruby/json"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i 's/json_pure/json/' "${WORKDIR}/all/metadata" || die "metadata fix failed"
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/whowatch/whowatch-1.8.5.ebuild,v 1.1 2013/10/07 18:03:09 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="interactive who-like program that displays information about users currently logged on in real time"
|
||||
HOMEPAGE="http://wizard.ae.krakow.pl/~mike/"
|
||||
SRC_URI="http://wizard.ae.krakow.pl/~mike/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.8.4-tinfo.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.8.4-select.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${PN}
|
||||
doman ${PN}.1
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
}
|
@ -1,26 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a17.tar.bz2 2061522 SHA256 3d613965b213ad83e4be0ba2535e784901839ea4d11a20a2beb6765f0eb76dfa SHA512 34a0579c536028b030cf828441ad55a705472646bc3a1ae962aad234fbe0b12c2bcb670511487c17086f5ba7643d1b8ae42a4a86bfe2940dc94f9744377daa8b WHIRLPOOL b718d559e0b36a576a42a38f84b3917891450d0bbab47b084eb1e906a396cf28ce47b79fd16565d4e0697311ee0c3d5abdd95b52ba2d7ae4e9f32d9b26bc26e1
|
||||
EBUILD cdrtools-3.00.ebuild 4233 SHA256 a495c12da2cd2c8520e22e4f68930fb9b89b00474737fc2ed957d508cd6c19cd SHA512 5fafd3b220dc0cf725b22512ea1f122f07018950d803071ab10fbab3bac4b266b743a4c739220099b053952757be6a58ed4d198bda09923f80bc0cfd300c04d4 WHIRLPOOL f2733313073dc15c6463f30557729b5b53b8f07f40f3dd962f7cd5622b2f0c75fcfecc9ca1ae52a6a0908760dfdf7644ca7a91e4870a8841923fa63976118b56
|
||||
EBUILD cdrtools-3.01_alpha17.ebuild 4906 SHA256 d6b2bbef66844b764ea990ffc4e07ef62cbbeadfb6751555246d73ffd79b5c56 SHA512 53942db7689744a894b45925c3885067abc81aee7ec8c21da60e58936263a2e30bb2276492d18ddb0e8b20df7e50ccdc3cf910260c6487bfdcac158717eb7bf5 WHIRLPOOL f3ae249ad98da77688df919a640f811ea166942e5a034900ec0f10f116b7eae9d19f150dde228cd2f7437ac87e54d990443a4bf84c6bf879060f731bb08e8fe9
|
||||
MISC ChangeLog 48200 SHA256 e4684f292367c5caacf4a279b2d13858b2bd987dc58f834ee839a7219aadf560 SHA512 ee50b859d632dba7143e62fba17d98d4fbbdedc6ba58989cbcc66fe99a9a6e12020bc43a0115c0a51f82a6a477405dd538fb9537fb05dc3a43c8dc52bac1c4a9 WHIRLPOOL 1ae52f6f050e84a318ff12b8fdc926beaf4fbea9e3f3b9b20284b09d21249c9ea89195ce8aca04fec2991f19e232f7fdd181b555d5d1f58be191d71aa76f1def
|
||||
MISC metadata.xml 344 SHA256 1827502e9d2cfa583db6a17f065462b760bf3770fcac22a0145d6a560b2b34f8 SHA512 0d461f000a4dd8557ec9020785c12c7875437c2061c3fd7f9cc54df089309dadf71435ac9d0f29bc5ee1785c9398661c78b1095b512b5fc91071dc63a818e567 WHIRLPOOL e27e3f17bcc9151f0f7c9a21a13c556e27a71499d613937a1eaa0176ad203c208e58b0af6f82edaed69ff929885c1f4b6f4fa15093a3d1a12b3f2a0c77e8bb86
|
||||
MISC ChangeLog 48286 SHA256 f0124aa46263f8552d8c1f9434c45cbe29487b1383feb4a38d66d46794db47b8 SHA512 7b2a4b1fa356aca7be4ee2597d7e636b2e3dc4e458b0552a64e3d5831ea731914defdb8b09d349a529ebe32518d37eacb3e67ca027550760eda0db742128324b WHIRLPOOL 435ce26da9403b9b7ce98f50fde6f23bcac5c7f167cf53f6df17e411382baf4992c85b069f7b2ffb754dcd9f83fe759e8ac908f52697c349841d8fac69d89647
|
||||
MISC metadata.xml 507 SHA256 f1086372c5bae26f9438544c1102cbadc619718b163392cbe35f3b359560ef3b SHA512 77aef4353064a013d1944ee796b1a6cb9a8a60c698d53df46cac7be17c556d9a495c71b9578a536c61c429a0c87e894e962bdca9167bbc60522ef25aeab756a6 WHIRLPOOL 0771499480bc135391ab921f22aba47f9966b68c79083f29f9df8c185919b65422f69953cc876d7dca8a2af5539b85e0c592f4521f5b4034ca5cb6035dc7c28b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJSSbExAAoJELp701BxlEWfgDAP/RZfFYeoK/nTyvBduZLdKLS2
|
||||
BFUTh9XAxyD8vBm71WGf+ziX4qYA8oUxfMN0n9bnGhtKbQD/N9tC8+NCQEtRjwKF
|
||||
qHfZ+VcYCgMbfNTDudEKSY7viKA09Wz0gVjNQzjVSfpTnyxaWL/s3tjzpdMgZMzz
|
||||
lqRu46Enn0zs50/PnSTAwoB9auLvCJsIDpgLrc/ACfNsLO9VXSGoLu1aRip2RUQC
|
||||
vYKS1ukGJOvv4Q5xy21KOVQGLSpRgv419eAhCpuQLjarmv+HLi8OyqM6cWq+/qmg
|
||||
ZFE4/nI/oYycIap13CIgnpgrhO8CeK5Ybo8hJfmn02XXml+/iSzPCSNSOOiW1fVG
|
||||
AGENeDt1CCySGGP+7Ew5r51yPOcoKNa249dqua30AvlfFqYLEFXxtX16t3jX7mm6
|
||||
bQbx/7OAgSa+gGet0zWWYn3emzWrnSj/NP6ScQ5jvG2TBWzY3nvSBHyPhMGirStW
|
||||
Ryj9zFOyu2Mux5z2gBzOd9nlTxNjYBDS/3hMFRgQRyPbsgU2jnjbqp/j0Qyofcin
|
||||
LOKQThWgyzZR27/k2tdXEa9vz49RU+Toc0wPOFedMK6vAbrZK8nthvx81kgGIUkT
|
||||
KdrlIHUBstIgC2KRoUFQaq927ajB6TiFxGQTj2uIhXtrKH33HDHi3BArtL1wbocI
|
||||
SQ5JKx5hT0WA+mK+bJAw
|
||||
=2M4+
|
||||
iEYEAREIAAYFAlJS8c4ACgkQlcuUeyFa0U2rFQCgpC0Zh6ote0LUJesQt9yLU9JJ
|
||||
sKoAnRBu4nZhOJrNkuBOQVMnqOfIyPmO
|
||||
=Wee1
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,69 +0,0 @@
|
||||
From 4bde12206c5bf199dc6e12a74af8da4558ba41bf Mon Sep 17 00:00:00 2001
|
||||
From: Werner Koch <wk@gnupg.org>
|
||||
Date: Fri, 15 Mar 2013 15:46:03 +0100
|
||||
Subject: [PATCH] gpg: Distinguish between missing and cleared key flags.
|
||||
|
||||
* include/cipher.h (PUBKEY_USAGE_NONE): New.
|
||||
* g10/getkey.c (parse_key_usage): Set new flag.
|
||||
--
|
||||
|
||||
We do not want to use the default capabilities (derived from the
|
||||
algorithm) if any key flags are given in a signature. Thus if key
|
||||
flags are used in any way, the default key capabilities are never
|
||||
used.
|
||||
|
||||
This allows to create a key with key flags set to all zero so it can't
|
||||
be used. This better reflects common sense.
|
||||
---
|
||||
g10/getkey.c | 8 +++++++-
|
||||
include/cipher.h | 7 ++++++-
|
||||
2 files changed, 13 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/g10/getkey.c b/g10/getkey.c
|
||||
index 9294273..8cc5601 100644
|
||||
--- a/g10/getkey.c
|
||||
+++ b/g10/getkey.c
|
||||
@@ -1276,13 +1276,19 @@ parse_key_usage (PKT_signature * sig)
|
||||
|
||||
if (flags)
|
||||
key_usage |= PUBKEY_USAGE_UNKNOWN;
|
||||
+
|
||||
+ if (!key_usage)
|
||||
+ key_usage |= PUBKEY_USAGE_NONE;
|
||||
}
|
||||
+ else if (p) /* Key flags of length zero. */
|
||||
+ key_usage |= PUBKEY_USAGE_NONE;
|
||||
|
||||
/* We set PUBKEY_USAGE_UNKNOWN to indicate that this key has a
|
||||
capability that we do not handle. This serves to distinguish
|
||||
between a zero key usage which we handle as the default
|
||||
capabilities for that algorithm, and a usage that we do not
|
||||
- handle. */
|
||||
+ handle. Likewise we use PUBKEY_USAGE_NONE to indicate that
|
||||
+ key_flags have been given but they do not specify any usage. */
|
||||
|
||||
return key_usage;
|
||||
}
|
||||
diff --git a/include/cipher.h b/include/cipher.h
|
||||
index 191e197..557ab70 100644
|
||||
--- a/include/cipher.h
|
||||
+++ b/include/cipher.h
|
||||
@@ -54,9 +54,14 @@
|
||||
|
||||
#define PUBKEY_USAGE_SIG GCRY_PK_USAGE_SIGN /* Good for signatures. */
|
||||
#define PUBKEY_USAGE_ENC GCRY_PK_USAGE_ENCR /* Good for encryption. */
|
||||
-#define PUBKEY_USAGE_CERT GCRY_PK_USAGE_CERT /* Also good to certify keys. */
|
||||
+#define PUBKEY_USAGE_CERT GCRY_PK_USAGE_CERT /* Also good to certify keys.*/
|
||||
#define PUBKEY_USAGE_AUTH GCRY_PK_USAGE_AUTH /* Good for authentication. */
|
||||
#define PUBKEY_USAGE_UNKNOWN GCRY_PK_USAGE_UNKN /* Unknown usage flag. */
|
||||
+#define PUBKEY_USAGE_NONE 256 /* No usage given. */
|
||||
+#if (GCRY_PK_USAGE_SIGN | GCRY_PK_USAGE_ENCR | GCRY_PK_USAGE_CERT \
|
||||
+ | GCRY_PK_USAGE_AUTH | GCRY_PK_USAGE_UNKN) >= 256
|
||||
+# error Please choose another value for PUBKEY_USAGE_NONE
|
||||
+#endif
|
||||
|
||||
#define DIGEST_ALGO_MD5 /* 1 */ GCRY_MD_MD5
|
||||
#define DIGEST_ALGO_SHA1 /* 2 */ GCRY_MD_SHA1
|
||||
--
|
||||
1.7.2.5
|
||||
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.15.ebuild,v 1.1 2013/10/07 19:19:58 alonbl Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
ECCVER="0.2.0"
|
||||
ECCVER_GNUPG="1.4.9"
|
||||
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff"
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib linguas_ru"
|
||||
|
||||
COMMON_DEPEND="
|
||||
ldap? ( net-nds/openldap )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
curl? ( net-misc/curl )
|
||||
mta? ( virtual/mta )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( =virtual/libusb-0* )
|
||||
usb? ( =virtual/libusb-0* )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND} )
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-lang/perl
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Install RU man page in right location
|
||||
sed -e "/^man_MANS =/s/ gpg\.ru\.1//" -i doc/Makefile.in || die "sed doc/Makefile.in failed"
|
||||
|
||||
# bug#469388
|
||||
sed -i -e 's/--batch --dearmor/--homedir . --batch --dearmor/' checks/Makefile.in
|
||||
|
||||
# Fix PIC definitions
|
||||
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c \
|
||||
|| die "sed PIC failed"
|
||||
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S || \
|
||||
die "sed PIC failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Certain sparc32 machines seem to have trouble building correctly with
|
||||
# -mcpu enabled. While this is not a gnupg problem, it is a temporary
|
||||
# fix until the gcc problem can be tracked down.
|
||||
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
|
||||
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
|
||||
fi
|
||||
|
||||
# 'USE=static' support was requested in #29299
|
||||
use static && append-ldflags -static
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable mta mailto) \
|
||||
--enable-hkp \
|
||||
--enable-finger \
|
||||
$(use_with !zlib included-zlib) \
|
||||
$(use_with curl libcurl /usr) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable smartcard card-support) \
|
||||
$(use_enable selinux selinux-support) \
|
||||
--without-capabilities \
|
||||
$(use_with readline) \
|
||||
$(use_with usb libusb /usr) \
|
||||
--enable-static-rnd=linux \
|
||||
--libexecdir="${EPREFIX}/usr/libexec" \
|
||||
--enable-noexecstack \
|
||||
CC_FOR_BUILD=$(tc-getBUILD_CC) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# keep the documentation in /usr/share/doc/...
|
||||
rm -rf "${ED}usr/share/gnupg/FAQ" "${ED}usr/share/gnupg/faq.html" || die
|
||||
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
|
||||
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP}
|
||||
|
||||
exeinto /usr/libexec/gnupg
|
||||
doexe tools/make-dns-cert
|
||||
|
||||
# install RU documentation in right location
|
||||
if use linguas_ru; then
|
||||
cp doc/gpg.ru.1 "${T}/gpg.1" || die
|
||||
doman -i18n=ru "${T}/gpg.1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9,"
|
||||
ewarn "you MUST make the gpg binary setuid."
|
||||
echo
|
||||
# if use !bindist && use ecc; then
|
||||
# ewarn
|
||||
# ewarn "The elliptical curves patch is experimental"
|
||||
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
|
||||
# fi
|
||||
elog
|
||||
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
|
||||
elog
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate the right viewer"
|
||||
}
|
@ -1,151 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.21.ebuild,v 1.1 2013/08/19 16:55:43 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
# SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="adns bzip2 doc ldap nls mta readline static selinux smartcard usb"
|
||||
|
||||
COMMON_DEPEND_LIBS="
|
||||
>=dev-libs/libassuan-2
|
||||
>=dev-libs/libgcrypt-1.4
|
||||
>=dev-libs/libgpg-error-1.11
|
||||
>=dev-libs/libksba-1.0.7
|
||||
>=dev-libs/pth-1.3.7
|
||||
>=net-misc/curl-7.10
|
||||
sys-libs/zlib
|
||||
adns? ( >=net-libs/adns-1.4 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( usb? ( virtual/libusb:0 ) )
|
||||
ldap? ( net-nds/openldap )"
|
||||
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )"
|
||||
|
||||
# Existence of executables is checked during configuration.
|
||||
DEPEND="${COMMON_DEPEND_LIBS}
|
||||
${COMMON_DEPEND_BINS}
|
||||
static? (
|
||||
>=dev-libs/libassuan-2[static-libs]
|
||||
>=dev-libs/libgcrypt-1.4[static-libs]
|
||||
>=dev-libs/libgpg-error-1.7[static-libs]
|
||||
>=dev-libs/libksba-1.0.7[static-libs]
|
||||
>=dev-libs/pth-1.3.7[static-libs]
|
||||
>=net-misc/curl-7.10[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
bzip2? ( app-arch/bzip2[static-libs] )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( sys-apps/texinfo )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
|
||||
${COMMON_DEPEND_BINS}
|
||||
mta? ( virtual/mta )
|
||||
!<=app-crypt/gnupg-2.0.1
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
REQUIRED_USE="smartcard? ( !static )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.17-gpgsm-gencert.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# 'USE=static' support was requested:
|
||||
# gnupg1: bug #29299
|
||||
# gnupg2: bug #159623
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use smartcard; then
|
||||
myconf+=" --enable-scdaemon $(use_enable usb ccid-driver)"
|
||||
else
|
||||
myconf+=" --disable-scdaemon"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--enable-gpg \
|
||||
--enable-gpgsm \
|
||||
--enable-agent \
|
||||
${myconf} \
|
||||
$(use_with adns) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable !elibc_SunOS symcryptrun) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable mta mailto) \
|
||||
$(use_enable ldap) \
|
||||
$(use_with readline) \
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
|
||||
rm "${ED}"/usr/share/gnupg/help* || die
|
||||
|
||||
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
|
||||
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
|
||||
|
||||
dosym gpg2 /usr/bin/gpg
|
||||
dosym gpgv2 /usr/bin/gpgv
|
||||
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
|
||||
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
|
||||
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
|
||||
if use ldap; then
|
||||
dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap
|
||||
fi
|
||||
echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
|
||||
echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnupg.html/* doc/*.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate"
|
||||
elog "the right viewer."
|
||||
elog
|
||||
|
||||
if use smartcard; then
|
||||
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
|
||||
use usb && elog " - a CCID-compatible reader, used directly through libusb;"
|
||||
elog " - sys-apps/pcsc-lite and a compatible reader device;"
|
||||
elog " - dev-libs/openct and a compatible reader device;"
|
||||
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
|
||||
elog ""
|
||||
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
|
||||
elog "app-crypt/ccid first."
|
||||
fi
|
||||
|
||||
ewarn "Please remember to restart gpg-agent if a different version"
|
||||
ewarn "of the agent is currently used. If you are unsure of the gpg"
|
||||
ewarn "agent you are using please run 'killall gpg-agent',"
|
||||
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.3.ebuild,v 1.1 2013/10/07 18:24:02 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools multilib eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="http://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="gtk ncurses qt4 caps static"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/eselect-pinentry
|
||||
caps? ( sys-libs/libcap )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
qt4? ( >=dev-qt/qtgui-4.4.1:4 )
|
||||
static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
gtk? ( virtual/pkgconfig )
|
||||
qt4? ( virtual/pkgconfig )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
|| ( ncurses gtk qt4 )
|
||||
gtk? ( !static )
|
||||
qt4? ( !static )
|
||||
static? ( ncurses )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
if use qt4; then
|
||||
local f
|
||||
for f in qt4/*.moc; do
|
||||
"${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
|
||||
done
|
||||
fi
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.8.2-texi.patch"
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
# Issues finding qt on multilib systems
|
||||
export QTLIB="${QTDIR}/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-maintainer-mode \
|
||||
--disable-pinentry-gtk \
|
||||
$(use_enable gtk pinentry-gtk2) \
|
||||
--disable-pinentry-qt \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable qt4 pinentry-qt4) \
|
||||
$(use_with caps libcap) \
|
||||
--without-x
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"/usr/bin/pinentry || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
|
||||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
|
||||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
|
||||
elog "The soft resource limit for memory locking specifies the limit an"
|
||||
elog "unprivileged process may lock into memory. You can also use POSIX"
|
||||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
|
||||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
|
||||
elog "your users."
|
||||
fi
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
Index: homebank-4.3/src/gtkchart.c
|
||||
===================================================================
|
||||
--- homebank-4.3.orig/src/gtkchart.c
|
||||
+++ homebank-4.3/src/gtkchart.c
|
||||
@@ -108,7 +108,7 @@ gchar *chart_print_int(GtkChart *chart,
|
||||
gchar *chart_print_double(GtkChart *chart, gdouble value);
|
||||
|
||||
static GtkHBoxClass *parent_class = NULL;
|
||||
-
|
||||
+GdkGC* gdk_gc_new (GdkDrawable *drawable);
|
||||
|
||||
struct mycolors
|
||||
{
|
@ -1,20 +0,0 @@
|
||||
diff --git a/po/POTFILES.in b/po/POTFILES.in
|
||||
index 7a1dc7f..4ea6ca3 100644
|
||||
--- a/po/POTFILES.in
|
||||
+++ b/po/POTFILES.in
|
||||
@@ -3,6 +3,7 @@
|
||||
data/homebank.desktop.in.in
|
||||
|
||||
# Main application
|
||||
+src/da_encoding.c
|
||||
src/def_archive.c
|
||||
src/def_budget.c
|
||||
src/def_filter.c
|
||||
@@ -13,6 +14,7 @@ src/dsp_account.c
|
||||
src/dsp_wallet.c
|
||||
src/homebank.c
|
||||
src/hb_category.c
|
||||
+src/hb_transaction.c
|
||||
src/import.c
|
||||
src/list_account.c
|
||||
src/list_operation.c
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/homebank/homebank-4.3.ebuild,v 1.8 2012/05/03 20:00:41 jdhore Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools eutils fdo-mime
|
||||
|
||||
DESCRIPTION="Free, easy, personal accounting for everyone"
|
||||
HOMEPAGE="http://homebank.free.fr/index.php"
|
||||
SRC_URI="http://homebank.free.fr/public/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="ofx"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.14:2
|
||||
>=dev-libs/glib-2.17:2
|
||||
sys-libs/zlib
|
||||
ofx? ( >=dev-libs/libofx-0.7 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40.5"
|
||||
RDEPEND="${RDEPEND}
|
||||
gnome-base/librsvg"
|
||||
|
||||
S="${WORKDIR}/${P/_/}"
|
||||
|
||||
src_prepare() {
|
||||
# Drop DEPRECATED flags, bug #367251
|
||||
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED::g' configure.ac configure || die
|
||||
|
||||
sed -i -e 's/true/TRUE/' src/import.c || die "sed failed"
|
||||
echo -e "src/da_encoding.c\nsrc/hb_transaction.c" >> po/POTFILES.in || die "echo failed"
|
||||
epatch "${FILESDIR}"/${P}-implicit-pointer.patch
|
||||
|
||||
intltoolize --force --copy --automake || die "intltoolize failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ofx)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Installation failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1,213 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.5.ebuild,v 1.1 2013/10/07 23:55:42 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils fdo-mime bash-completion-r1 multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Ebook management application."
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
|
||||
SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
|
||||
|
||||
LICENSE="
|
||||
GPL-3+
|
||||
GPL-3
|
||||
GPL-2+
|
||||
GPL-2
|
||||
GPL-1+
|
||||
LGPL-3+
|
||||
LGPL-2.1+
|
||||
LGPL-2.1
|
||||
BSD
|
||||
MIT
|
||||
Old-MIT
|
||||
Apache-2.0
|
||||
public-domain
|
||||
|| ( Artistic GPL-1+ )
|
||||
CC-BY-3.0
|
||||
OFL-1.1
|
||||
PSF-2
|
||||
unRAR
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+udisks"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/podofo-0.8.2:=
|
||||
>=app-text/poppler-0.12.3-r3:=[qt4,xpdf-headers(+)]
|
||||
>=dev-lang/python-2.7.1:2.7[sqlite,ssl]
|
||||
>=dev-libs/chmlib-0.40:=
|
||||
>=dev-libs/icu-4.4:=
|
||||
dev-python/apsw
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2
|
||||
dev-python/netifaces
|
||||
dev-python/python-dateutil
|
||||
>=dev-python/dnspython-1.6.0
|
||||
>=dev-python/cssselect-0.7.1
|
||||
>=dev-python/cssutils-0.9.9
|
||||
>=dev-python/dbus-python-0.82.2
|
||||
virtual/python-imaging
|
||||
>=dev-python/lxml-2.2.1
|
||||
>=dev-python/mechanize-0.1.11
|
||||
>=dev-python/python-dateutil-1.4.1
|
||||
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
|
||||
media-fonts/liberation-fonts
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
>=media-libs/freetype-2:=
|
||||
>=media-libs/libwmf-0.2.8
|
||||
>=media-libs/libmtp-1.1.4:=
|
||||
virtual/libusb:1=
|
||||
dev-qt/qtdbus:4=
|
||||
dev-qt/qtsvg:4=
|
||||
>=x11-misc/xdg-utils-1.0.2-r2"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|PreserveMIMEDefaults():||" \
|
||||
-e "s|xdg-icon-resource install|\\0 --mode user|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|xdg-mime install|\\0 --mode user|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/extensions.py || die "sed failed to patch extensions.py"
|
||||
|
||||
# no_updates: do not annoy user with "new version is availible all the time
|
||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-no_updates_dialog.patch" \
|
||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database}
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
|
||||
|
||||
tc-export CC CXX
|
||||
# Bug #334243 - respect LDFLAGS when building extensions
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
# Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
|
||||
local x
|
||||
for x in /dev/dri/card[0-9] ; do
|
||||
[[ -e ${x} ]] && addpredict ${x}
|
||||
done
|
||||
|
||||
dodir "/usr/$(get_libdir)/python2.7/site-packages" # for init_calibre.py
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
"${EPREFIX}"/usr/bin/python2.7 setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
|
||||
rm -r "${ED}"usr/etc/bash_completion.d
|
||||
find "${ED}"usr/etc -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
einfo "Converting python shebangs"
|
||||
while read -r -d $'\0' ; do
|
||||
local shebang=$(head -n1 "$REPLY")
|
||||
if [[ ${shebang} == "#!"*python* ]] ; then
|
||||
sed -i -e "1s:.*:#!${EPREFIX}/usr/bin/python2.7:" "$REPLY" || \
|
||||
die "sed failed"
|
||||
fi
|
||||
done < <(find "${ED}" -type f -print0)
|
||||
|
||||
einfo "Compiling python modules"
|
||||
"${EPREFIX}"/usr/bin/python2.7 -m compileall -q -f \
|
||||
-d "${EPREFIX}"/usr/lib/calibre "${ED}"usr/lib/calibre || die
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST fsharp-3.0.27.tar.gz 13144822 SHA256 3f088407fb0921fd60257a4b27dc32892e2e2b7eed70190f8961551477fac591 SHA512 a80dfee08a3bc60859458374677adf48f84e6b56457a51b6930b62ba27e3117c5078d2b4ca27d4f7ddf215b48de3fad897a577057aeffc1f6a98d638e512e7cf WHIRLPOOL f3ad01dd04942d156d6999a1c97a85c6cea14db90d50a14f9eb24563fa32b18ff0a64ac9a10e556f6b99a1822679627c3bca45bc2e86466e7acda3e0dd16e322
|
||||
DIST fsharp-3.0.28.tar.gz 13146911 SHA256 951e43ea0bbd04d3990500c6564d002395df26c165269abd24a87b5eea8313c7 SHA512 4682d6df039aac1bf8ea2857b81705a37e1ba7a941d73882e2b4f3af129f1b8fdc7f2db326612c89c48b3eb0dd98213225a2d10a93b06c66a36b7f11c7b35dc6 WHIRLPOOL 3592a73ea2ec0f5db7b9b75a4dcc104314c5b5895724a4f681644d9ef5b0acd9e66ca602448d631aec9437b534a85bf3656772238754baf33fde121917e08e00
|
||||
DIST fsharp-3.0.29.tar.gz 13148277 SHA256 6e3cb01779364e3b420624e56cdf9868275b461beade23b0f0ab15534f2d366f SHA512 9fe5aa291e442d1e490d2139a226ba8b15328e1d5913c6cf54b0239d1154c66fcae93c883c8d539fe1b5c0ebe9a9bfd73919e17f7394ecbdcefbaa700f3632a9 WHIRLPOOL 58e45bc32acf6db1f2d05d88288f308c1c850026678930fb8b7220c26ca30a4b004006d07a0afb769d485ac8c96f55cc3bef360e66a359cd2cc815e3c005f7cc
|
||||
EBUILD fsharp-3.0.27.ebuild 693 SHA256 4cd6bffed42a94fb61366acc547fbbf33645a12d5a7af694d4ae2b338044c33e SHA512 bb39dd0d378efda36986c77998977ad85d26c0585428d5c479a3150e0a0e48e3d5c14900df061bc291f87c5791ed4881a299fc9c679a6a0a7a4f239204fc5332 WHIRLPOOL 30a69a7aebde8c59c1e1e73bcfeb94358e58dee3f4769d2d2dcf9ffaa50f0a702df20f7a1f0ca726eb0ec037f40b6beef3b48e7d4581f77aaa2fc9089b409447
|
||||
EBUILD fsharp-3.0.28.ebuild 693 SHA256 04295be8ca8d8b520516893feabce6995312ed322149bfce462acca72ec0c616 SHA512 88b41d72e4959eea84dff7e39015f7ef569c5b9de96948448b1afd5d7473cca7f5647cbaf2f5c7b282d9e35cfe5863e79b55d1cc97869393ad5bef023feec5ee WHIRLPOOL dad0ea971c07571f6a4bc5cac0d8647eea3f3109a79ecb32bff1075f17cf4dc9fdeefdd122ed5f249c632b654c67dea66921198ffb0c986a3af388af69b53f66
|
||||
MISC ChangeLog 583 SHA256 eae549a5786b7826b3883540830b6453fe70034dd4c5e2653130710cf3500416 SHA512 5abe8e1f4e662de682f97e82fa916e00445ce9f11fe9c6dcabde6f157f02309ecada28c0f9f1d1a10216deb18c906a32852db8e9faa8a5fda7a9ed644f7b38a8 WHIRLPOOL 43000cd48d4625e3006de3b46b668496c276fa841ea6010f086c6b584ad4508cd844177ab01ab3808fd78ebf5b416cee2e50552eb0be1170d23ad67c7873b50f
|
||||
EBUILD fsharp-3.0.29.ebuild 693 SHA256 a1a1e706cbe6c308339684c1ebb378742de1e19902d6f644303238543e56bc23 SHA512 d4155ebaeb0519e35249a7a01ac88a234055d8648810d69c19a362c120871f7f4b454bbe3fffa5dff1cb686d7c602f7767cd2b4345b49a1af571b41ad5138369 WHIRLPOOL f97a158abf65d3c5ca3e9573a45e1cc2916b7986ee3d88ef93aeb0eb85b213fb04bcadc06af68dba239918878a47516e3c3b86b026acc96f96a1af025a5d8918
|
||||
MISC ChangeLog 701 SHA256 fade17daf19604862836d0649a878ec289d6f62182d2fe39e49e85f951ebd492 SHA512 d9ed291a05d4301a2569a4f99f4f66258555d6869266d752d895f81a6f485c7fe65504c4c4b292ae819d3b080694f74a5005481d9c75c2640c6bdeb14f6db648 WHIRLPOOL 7e2a84dac5b1cd293be420de573c62b3f2ca332a6d4973588fd3736ff87d402728850a9dbaf0d6d16b7fd35b63a10727dd204492859e805aaa5d15f6bb04573d
|
||||
MISC metadata.xml 406 SHA256 0d604890ae200ce5f6e0a82dccf404a158f568035f0a7ad59d87088ad6bd05f7 SHA512 c2679f728a7260b5d74a1fa1abe99a16d074fe0316e57c061dda4f718bc6157387c3e10054bbd8c334d62b5e1c497fd20a55664f0e39f868e03deb7eeb920604 WHIRLPOOL 5f910211f1d4514f29895f0848a67522566691c9be40254c9f792b69209c3bb7c406e8cbb1174b6693de35710f612f8a6047c1a86837c4e240ff23298badcde3
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/fsharp/fsharp-3.0.29.ebuild,v 1.1 2013/10/07 05:38:10 cynede Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-utils mono-env
|
||||
|
||||
DESCRIPTION="The F# Compiler"
|
||||
HOMEPAGE="https://github.com/fsharp/fsharp"
|
||||
SRC_URI="https://github.com/fsharp/fsharp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
MAKEOPTS+=" -j1" #nowarn
|
||||
DEPEND="dev-lang/mono"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
#for older software compatibility:
|
||||
dosym fsharpc /usr/bin/fsc
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/hgtools/hgtools-4.0.ebuild,v 1.1 2013/10/07 07:22:29 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Classes and setuptools plugin for Mercurial repositories"
|
||||
HOMEPAGE="https://bitbucket.org/jaraco/hgtools/"
|
||||
SRC_URI="mirror://pypi/h/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="dev-vcs/mercurial"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_test() {
|
||||
pushd "${BUILD_DIR}"/../ > /dev/null
|
||||
py.test "${PN}"/tests || die
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/psutil/psutil-1.1.1.ebuild,v 1.1 2013/10/07 23:45:01 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Retrieve information on running processes and system utilization"
|
||||
HOMEPAGE="http://code.google.com/p/psutil"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.0.0.ebuild,v 1.1 2013/10/07 12:35:20 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.3:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
dev-ruby/mocha:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.0.ebuild,v 1.1 2013/10/07 12:35:01 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
>=dev-ruby/rack-1.5.2:1.5
|
||||
>=dev-ruby/rack-test-0.6.2:0.6
|
||||
>=dev-ruby/sprockets-2.2.1:2.2
|
||||
>=dev-ruby/erubis-2.7.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.13
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
dev-ruby/sprockets-rails:2.0
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\)/d" ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Add back json in the Gemfile because we dropped some dependencies
|
||||
# earlier that implicitly required it.
|
||||
sed -i -e '$agem "json"' ../Gemfile || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
|
||||
# Avoid fragile test that gets more output than it expects.
|
||||
sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-4.0.0.ebuild,v 1.1 2013/10/07 12:34:44 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.1.0:3.1
|
||||
>=dev-ruby/bcrypt-ruby-3.0.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/railties-4.0.0
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.13.0:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
|
||||
# Fix bcrypt dependency since bcrypt uses semantic versioning.
|
||||
sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue