parent
ba7b4c0faa
commit
3efd46db0d
@ -1,2 +1,3 @@
|
||||
DIST edbrowse-3.4.7.zip 719586 SHA256 488d8a02b4480f1474686dfa99058b7f2f36c1d4eb1942ee79471aa8327328fe SHA512 b7b7da68bc059b12222624d2a99f25bddf9d0a19883d97091618147cca1e3dd7f089a7db98ee4d71f30b6bfbc8ba1926d0098929750c9cebb3e3c66e206dc656 WHIRLPOOL f20a2697154f087dbdf41d4a95fdf9ad2ccf3e5ee775dd05c972752e92d669d29653be2117c37836edf0fcb08f4f22238538a6d4ba8f31cceb9b01a441e93f0b
|
||||
DIST edbrowse-3.4.8.zip 725791 SHA256 b138381a134e8b00a183305ff227bb7fc97d55a2ee5a787499e191445f2d8977 SHA512 5c323f69debddad30da859513041391181f27f62390897b0b101107b42db72473e9e1f4afd95d2bd72289cf2bbb6a23d7c5258869c0333245552029c5c05d820 WHIRLPOOL c1e0f8a5ad070ad4595c1474ce46385b5957ada830d6e94416c077edbc1b667bb8cf15c41d560b145dd2c00a4bb8593aebc2349e3abdbc10e2c3c301842185a1
|
||||
DIST edbrowse-3.4.9.zip 727372 SHA256 ef4690e0f695bddf97194e3be5a4b7b999b8af07639e8c6cc02539b6296f3813 SHA512 90baf70ef0f88b1fac382462c73e39f33c824c90f8f28e549c582ac5f322439b66f8bd70619639fdf12a0d9869eb4204a1ff6b79cb9fc5afb80c9172c7a98fc5 WHIRLPOOL 465381a6b3fef9cda7a2444d6af6eff61c329d863627f742def3ae698cf4aacda558702a475d63b6c6db316faf7ae0da5fe01aa7948ca0a1cd273c2e0c9d830b
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/edbrowse/edbrowse-3.4.9.ebuild,v 1.1 2013/08/11 01:31:58 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="editor, browser, and mail client using the /bin/ed interface"
|
||||
HOMEPAGE="http://the-brannons.com/edbrowse/"
|
||||
SRC_URI="http://the-brannons.com/${PN}/${P}.zip"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="linguas_fr odbc"
|
||||
COMMON_DEPEND=">=dev-lang/spidermonkey-1.8.5:0
|
||||
>=sys-libs/readline-6.0
|
||||
>=net-misc/curl-7.17.0
|
||||
>=dev-libs/libpcre-7.8
|
||||
>=dev-libs/openssl-0.9.8j
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
app-arch/unzip"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
local jslib="-lmozjs185"
|
||||
local jscppflags="-DXP_UNIX -DX86_LINUX -I/usr/include/js"
|
||||
if has_version ~dev-lang/spidermonkey-1.8.7 ; then
|
||||
jscppflags=$(pkg-config --cflags mozjs187)
|
||||
jslib=$(pkg-config --libs mozjs187)
|
||||
fi
|
||||
emake -j1 prefix=/usr JSLIB="${jslib}" JS_CPPFLAGS="${jscppflags}" STRIP=''
|
||||
if use odbc; then
|
||||
# Top-level makefile doesn't have this target.
|
||||
cd src
|
||||
emake -j1 prefix=/usr STRIP='' edbrowseodbc
|
||||
cd ..
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd src
|
||||
emake -j1 prefix=/usr DESTDIR="${D}" install
|
||||
if use odbc; then
|
||||
dobin edbrowseodbc
|
||||
fi
|
||||
cd ..
|
||||
dodoc CHANGES README todo
|
||||
cd doc
|
||||
dobin setup.ebrc
|
||||
dohtml usersguide.html philosophy.html
|
||||
dodoc sample.ebrc
|
||||
if use linguas_fr; then
|
||||
dohtml usersguide_fr.html philosophy_fr.html
|
||||
dodoc sample_fr.ebrc
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST glance-2012.2.4.tar.gz 643408 SHA256 d50fa522e890258eff32aad1947684abdf0cf0c67a8a487f60a7179a84edd3f2 SHA512 fc91d799fa5fd2c66aef228d622c852623e70fa83e5babdeb10e041f77571e5a08c90c6fca16943dc98ca1cd50a09314fc5bd282e5530e7e1e44a623eee28198 WHIRLPOOL 34fdfab54444845ed4a3c0e849066f01ef88cf4317d952a0fedf562f331a41c87572d80234296651a722770929472de9263f7ded37deaaf6d65f35723e41031c
|
||||
DIST glance-2013.1.2.tar.gz 719039 SHA256 55d12a314f6fa5d291c0a0f9be4ad9d2b53086a9e47fad82d83bcf08105a65a0 SHA512 124d8d133bdbdab5b1bf43d7faa3249b14d91fed2edcc0621619865ad0fe22021d98d37786d8866a97e6b4613968b82985f7778be37f0e7f71e5e56299a1f680 WHIRLPOOL d57b5b213a25155436a941a2c44144dce31be7d23a168765fb59f8956148460d0e8c7b3052362f03f0acc9ee520b73d5a3e0ac9dec9a410318942501a6beccb6
|
||||
DIST glance-2013.1.3.tar.gz 721788 SHA256 642782416d790dfcb6d5bb85626dd5d48784ba8f3a53e7863ec13312e86cb209 SHA512 260bd30555bbc4f9d170c4d542bd159039558f563da55f896095323cd0369f0a10f5b8d5ff52b9c1ad3b6fcc867a54a8ef276f35ef9e65cbc0083733de3e5643 WHIRLPOOL ad2d62004bc95033dc0031df426a508942466a432cd18de2e3ba9e89723357b880c69052badae32fde224b9004606cb667e98a1c63e74b182bfb1b308c2fff54
|
||||
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.1.2-r2.ebuild,v 1.3 2013/08/02 18:17:27 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/grizzly/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ldap mysql postgres +sqlite +swift"
|
||||
REQUIRED_USE="|| ( ldap mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/boto
|
||||
dev-python/anyjson[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.9.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-1[${PYTHON_USEDEP}]
|
||||
dev-python/kombu[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
dev-python/pastedeploy[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto
|
||||
>=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/python-glanceclient[${PYTHON_USEDEP}]
|
||||
dev-python/routes[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.7
|
||||
>=dev-python/webob-1.2[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
|
||||
)
|
||||
sqlite? ( >=dev-python/sqlalchemy-0.7[sqlite]
|
||||
<dev-python/sqlalchemy-0.8[sqlite] )
|
||||
mysql? ( >=dev-python/sqlalchemy-0.7[mysql]
|
||||
<dev-python/sqlalchemy-0.8[mysql] )
|
||||
postgres? ( >=dev-python/sqlalchemy-0.7[postgres]
|
||||
<dev-python/sqlalchemy-0.8[postgres] )
|
||||
ldap? ( dev-python/python-ldap )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/glance-gbug-474064-grizzly.patch"
|
||||
)
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
newconfd "${FILESDIR}/glance.confd" glance
|
||||
newinitd "${FILESDIR}/glance.initd" glance
|
||||
|
||||
for function in api registry scrubber; do
|
||||
dosym /etc/init.d/glance /etc/init.d/glance-${function}
|
||||
done
|
||||
|
||||
diropts -m 0750
|
||||
dodir /var/run/glance /var/log/nova /var/lock/nova
|
||||
keepdir /etc/glance
|
||||
insinto /etc/glance
|
||||
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pgpdump-0.27.tar.gz 62307 SHA256 6c44d58d7e69560891bac7247f8f9c5218f12ad11a26504d968ce4f6b59f8bb9 SHA512 f4eab4398789696dc356219a97615ac3b0ac7e9d9d7568b58582f8bef7f964c6eed66e60e8ce5a96f5d99912230728bda2462b1d436b9bd7ea1a346d534246e4 WHIRLPOOL c030d80e5aab5f55511d58015fa8b2c0adc66329c0cba4fc2970d4ee664903bf12ffaea9310a0459fcf7aaef25439b5122a6bc755dcd24d4d3087b46fe98d277
|
||||
DIST pgpdump-0.28.tar.gz 62346 SHA256 38b531cc6dbab947016c15988b7abe34a1feec7eeaf4798a6ff5b8ebe5e96a5e SHA512 c48c1e1ffc868316dea1d1520feb036d3c7fbc4e3ebaceb76c623e7cf5798c9ea191712117a28a140df102474c8321c4ab27a4161a0897d0eabe5963ce97d4c6 WHIRLPOOL 6c50a1546324036496c305d957aa3a0a248c04b7aed5c92038e5d91493e3d9b3663eec888ab1e7478368516534ac6dce3b2dbb2ebfc215193ce3f7740bf50482
|
||||
|
@ -0,0 +1,42 @@
|
||||
From 087f54f29dd679a9c6eb5cce075d9f4c6ccbc57f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Manuel=20R=C3=BCger?= <mrueg@rueg.eu>
|
||||
Date: Sun, 11 Aug 2013 00:42:06 +0200
|
||||
Subject: [PATCH] Respect LDFLAGS, minor other improvements
|
||||
|
||||
---
|
||||
Makefile.in | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index a0269a3..d174393 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -3,7 +3,8 @@ exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
mandir = @mandir@
|
||||
LIBS = @LIBS@
|
||||
-CFLAGS = @CFLAGS@ -O -Wall
|
||||
+CC = @CC@
|
||||
+CFLAGS = @CFLAGS@ -Wall
|
||||
LDFLAGS = @LDFLAGS@
|
||||
VERSION = `git tag | tail -1 | sed -e 's/v//'`
|
||||
|
||||
@@ -22,13 +23,13 @@ MAN = pgpdump.1
|
||||
CNF = config.h config.status config.cache config.log
|
||||
MKF = Makefile
|
||||
|
||||
-.c.o:
|
||||
+%.o : %.c
|
||||
$(CC) -c $(CFLAGS) $<
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
$(PROG): $(OBJS)
|
||||
- $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(LDFLAGS)
|
||||
+ $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(PROG)
|
||||
--
|
||||
1.8.1.6
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pgpdump/pgpdump-0.28-r1.ebuild,v 1.1 2013/08/10 22:57:02 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A PGP packet visualizer"
|
||||
HOMEPAGE="http://www.mew.org/~kazu/proj/pgpdump/"
|
||||
SRC_URI="http://www.mew.org/~kazu/proj/pgpdump/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
app-arch/bzip2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-respect-ldflags.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pgpdump
|
||||
doman pgpdump.1
|
||||
dodoc CHANGES README.md
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/libpaper/libpaper-1.1.24-r2.ebuild,v 1.1 2013/08/10 23:13:09 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools multilib-minimal
|
||||
|
||||
MY_PV=${PV/_p/+nmu}
|
||||
DESCRIPTION="Library for handling paper characteristics"
|
||||
HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
|
||||
SRC_URI="mirror://debian/pool/main/libp/libpaper/${PN}_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
RDEPEND="abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
DOCS=( README ChangeLog debian/changelog )
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
dodir /etc
|
||||
(paperconf 2>/dev/null || echo a4) > "${ED}"/etc/papersize \
|
||||
|| die "papersize config failed"
|
||||
|
||||
if ! has_version app-text/libpaper ; then
|
||||
echo
|
||||
elog "run e.g. \"paperconfig -p letter\" as root to use letter-pagesizes"
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST commons-lang-2.0-src.tar.gz 440989 SHA256 40e159aa08b4561472056d369c1b4e347f251fd088a3045999e57f4ab50f34f2 SHA512 aecbbdd8eb2712981dcd8615bac2ec69e3ea7ae137407287d2a9b3eeaddb48e5367bc9c5cb8d232429ac6091548dac8af67e0593366365c04fcfe39984c3e549 WHIRLPOOL f0aa3e533fd3a276d4e0ac84a423f6a4cac9d2fa6819913dfd9f6300871e468104580b11e56d5c530df237b2312b71eca7886d8e7696f1858491e8687d2f42a9
|
||||
DIST commons-lang-2.4-src.tar.gz 522654 SHA256 2445238cd0eb167e99a1147394f61325490559f3df7e7e8f628043fb70cbf2f4 SHA512 0b0078d3e11e3fc0920467bcdf5b48c93482c5bbdc03f1f70d6614d397aceb0dae482e6ebbc00f13343e2a5521308b5a63216d864199f38f805b363a665a5784 WHIRLPOOL 1e0d6673f78ca43a04e95cd85221db8d6e7085c7fce97ec8a2bcc36501ff9b4183ae2f141085ffe692f12ee53f8d6b0dbc4e37545fdb9c1174f25bb2389e3abf
|
||||
DIST commons-lang-2.6-src.tar.gz 564032 SHA256 05479771851be0af057032fa26ad90aa0c91c10e1fc4439558a1ffa6f053bcd7 SHA512 4a30ed153f93fe6616a28974721bdf005d064203ef8a3dd375d6c1176647c0cdbd29cfde2a580e2c8d26bfa4655be6be7025b8ccae94086dcd816676c5cf8e87 WHIRLPOOL 4f8ee67677d83d5b0c55a6200e1dd06169863b424fccd879f3d0f64a0051d69e72a72b4fe6bcb67f1ea27eb9b55115e6ba05fbb2d51fcd500cf1a4c71fc62b66
|
||||
DIST commons-lang3-3.1-src.tar.gz 638619 SHA256 52ff56b0350c38f0aea678f0b054c09ba8207bde6fa2a55331fef1793b991ffa SHA512 4d201c695a9b908a1809bbab689f80c6aa508b221b4c2786974eada08e647936f5879841c64eed509032ffdd5410735480e7ecb2910295d0f79e857c27019560 WHIRLPOOL 81a4c55177c802f6122bd491b160c1c7f6636043c3afc2e6f7c98c3445ccefae032cd2fbeb68e223f3456e18a46ba4103d286fae72e47804d9148098d295465c
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-3.1.ebuild,v 1.1 2013/08/10 19:12:07 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}3-${PV}"
|
||||
|
||||
DESCRIPTION="Commons components to manipulate core java classes"
|
||||
HOMEPAGE="http://commons.apache.org/lang/"
|
||||
SRC_URI="mirror://apache/commons/lang/source/${MY_P}-src.tar.gz"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
test? ( dev-java/ant-junit:0 )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris"
|
||||
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
JAVA_ANT_ENCODING="ISO-8859-1"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${MY_P}.jar ${PN}.jar
|
||||
|
||||
dodoc RELEASE-NOTES.txt NOTICE.txt
|
||||
|
||||
use doc && java-pkg_dojavadoc target/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -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/dev-lang/v8/v8-3.18.5.5.ebuild,v 1.1 2013/05/21 21:34:25 phajdan.jr Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit chromium eutils multilib multiprocessing pax-utils python-any-r1 \
|
||||
toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="${PV}"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE="neon readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline:0 )"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local myconf=""
|
||||
|
||||
# Always build v8 as a shared library with proper SONAME.
|
||||
myconf+=" -Dcomponent=shared_library -Dsoname_version=${soname_version}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*)
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32" ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32"
|
||||
else
|
||||
myarch="x64"
|
||||
myconf+=" -Dv8_target_arch=x64"
|
||||
fi ;;
|
||||
arm*-*)
|
||||
myarch="arm"
|
||||
myconf+=" -Dv8_target_arch=arm -Darm_fpu="
|
||||
if [[ ${CHOST} == *-hardfloat-* ]] ; then
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=true"
|
||||
else
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=false"
|
||||
fi
|
||||
if [[ ${CHOST} == armv7*-* ]] ; then
|
||||
myconf+=" -Darmv7=1"
|
||||
else
|
||||
myconf+=" -Darmv7=0"
|
||||
fi
|
||||
myconf+=" $(gyp_use neon arm_neon)" ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
|
||||
myconf+=" $(gyp_use readline console readline dumb)"
|
||||
|
||||
# Make sure that -Werror doesn't get added to CFLAGS by the build system.
|
||||
# Depending on GCC version the warnings are different and we don't
|
||||
# want the build to fail because of that.
|
||||
myconf+=" -Dwerror="
|
||||
|
||||
# gyp does this only for linux, but we always want to use "out" dir, or
|
||||
# all else below fails due to not finding "out" dir
|
||||
myconf+=" --generator-output=out"
|
||||
# gyp defaults to whatever makes the most sense on the platform at hand,
|
||||
# but we want to build using Makefiles, so force that
|
||||
myconf+=" -f make"
|
||||
|
||||
EGYP_CHROMIUM_COMMAND=build/gyp_v8 egyp_chromium ${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
builddir="${S}/out/Release"
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot.${myarch}
|
||||
pax-mark m out/Release/mksnapshot.${myarch}
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}"
|
||||
pax-mark m out/Release/{cctest,d8,preparser}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py \
|
||||
-j$(makeopts_jobs) \
|
||||
--no-presubmit \
|
||||
--outdir=out \
|
||||
--buildbot \
|
||||
--arch=native \
|
||||
--mode=Release \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/Release/lib.target || die
|
||||
mv out/Release/libv8.so.${soname_version} \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/Release/d8
|
||||
pax-mark m "${ED}usr/bin/d8"
|
||||
|
||||
dolib out/Release/lib.target/libv8$(get_libname ${soname_version})
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname)
|
||||
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
||||
|
||||
# TODO: remove functions below after they are removed from chromium.eclass'
|
||||
# EXPORT_FUNCTIONS .
|
||||
|
||||
pkg_preinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
return
|
||||
}
|
@ -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/dev-lang/v8/v8-3.18.5.8.ebuild,v 1.1 2013/06/07 01:06:25 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit chromium eutils multilib multiprocessing pax-utils python-any-r1 \
|
||||
toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="${PV}"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE="neon readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline:0 )"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local myconf=""
|
||||
|
||||
# Always build v8 as a shared library with proper SONAME.
|
||||
myconf+=" -Dcomponent=shared_library -Dsoname_version=${soname_version}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*)
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32" ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32"
|
||||
else
|
||||
myarch="x64"
|
||||
myconf+=" -Dv8_target_arch=x64"
|
||||
fi ;;
|
||||
arm*-*)
|
||||
myarch="arm"
|
||||
myconf+=" -Dv8_target_arch=arm -Darm_fpu="
|
||||
if [[ ${CHOST} == *-hardfloat-* ]] ; then
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=true"
|
||||
else
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=false"
|
||||
fi
|
||||
if [[ ${CHOST} == armv7*-* ]] ; then
|
||||
myconf+=" -Darmv7=1"
|
||||
else
|
||||
myconf+=" -Darmv7=0"
|
||||
fi
|
||||
myconf+=" $(gyp_use neon arm_neon)" ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
|
||||
myconf+=" $(gyp_use readline console readline dumb)"
|
||||
|
||||
# Make sure that -Werror doesn't get added to CFLAGS by the build system.
|
||||
# Depending on GCC version the warnings are different and we don't
|
||||
# want the build to fail because of that.
|
||||
myconf+=" -Dwerror="
|
||||
|
||||
# gyp does this only for linux, but we always want to use "out" dir, or
|
||||
# all else below fails due to not finding "out" dir
|
||||
myconf+=" --generator-output=out"
|
||||
# gyp defaults to whatever makes the most sense on the platform at hand,
|
||||
# but we want to build using Makefiles, so force that
|
||||
myconf+=" -f make"
|
||||
|
||||
EGYP_CHROMIUM_COMMAND=build/gyp_v8 egyp_chromium ${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
builddir="${S}/out/Release"
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot.${myarch}
|
||||
pax-mark m out/Release/mksnapshot.${myarch}
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}"
|
||||
pax-mark m out/Release/{cctest,d8,preparser}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py \
|
||||
-j$(makeopts_jobs) \
|
||||
--no-presubmit \
|
||||
--outdir=out \
|
||||
--buildbot \
|
||||
--arch=native \
|
||||
--mode=Release \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/Release/lib.target || die
|
||||
mv out/Release/libv8.so.${soname_version} \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/Release/d8
|
||||
pax-mark m "${ED}usr/bin/d8"
|
||||
|
||||
dolib out/Release/lib.target/libv8$(get_libname ${soname_version})
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname)
|
||||
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
||||
|
||||
# TODO: remove functions below after they are removed from chromium.eclass'
|
||||
# EXPORT_FUNCTIONS .
|
||||
|
||||
pkg_preinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
return
|
||||
}
|
@ -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/dev-lang/v8/v8-3.18.5.9.ebuild,v 1.3 2013/07/10 20:11:06 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit chromium eutils multilib multiprocessing pax-utils python-any-r1 \
|
||||
toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="${PV}"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="amd64 ~arm x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE="neon readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline:0 )"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local myconf=""
|
||||
|
||||
# Always build v8 as a shared library with proper SONAME.
|
||||
myconf+=" -Dcomponent=shared_library -Dsoname_version=${soname_version}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*)
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32" ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32"
|
||||
else
|
||||
myarch="x64"
|
||||
myconf+=" -Dv8_target_arch=x64"
|
||||
fi ;;
|
||||
arm*-*)
|
||||
myarch="arm"
|
||||
myconf+=" -Dv8_target_arch=arm -Darm_fpu="
|
||||
if [[ ${CHOST} == *-hardfloat-* ]] ; then
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=true"
|
||||
else
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=false"
|
||||
fi
|
||||
if [[ ${CHOST} == armv7*-* ]] ; then
|
||||
myconf+=" -Darmv7=1"
|
||||
else
|
||||
myconf+=" -Darmv7=0"
|
||||
fi
|
||||
myconf+=" $(gyp_use neon arm_neon)" ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
|
||||
myconf+=" $(gyp_use readline console readline dumb)"
|
||||
|
||||
# Make sure that -Werror doesn't get added to CFLAGS by the build system.
|
||||
# Depending on GCC version the warnings are different and we don't
|
||||
# want the build to fail because of that.
|
||||
myconf+=" -Dwerror="
|
||||
|
||||
# gyp does this only for linux, but we always want to use "out" dir, or
|
||||
# all else below fails due to not finding "out" dir
|
||||
myconf+=" --generator-output=out"
|
||||
# gyp defaults to whatever makes the most sense on the platform at hand,
|
||||
# but we want to build using Makefiles, so force that
|
||||
myconf+=" -f make"
|
||||
|
||||
EGYP_CHROMIUM_COMMAND=build/gyp_v8 egyp_chromium ${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
builddir="${S}/out/Release"
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot.${myarch}
|
||||
pax-mark m out/Release/mksnapshot.${myarch}
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}"
|
||||
pax-mark m out/Release/{cctest,d8,preparser}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py \
|
||||
-j$(makeopts_jobs) \
|
||||
--no-presubmit \
|
||||
--outdir=out \
|
||||
--buildbot \
|
||||
--arch=native \
|
||||
--mode=Release \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/Release/lib.target || die
|
||||
mv out/Release/libv8.so.${soname_version} \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/Release/d8
|
||||
pax-mark m "${ED}usr/bin/d8"
|
||||
|
||||
dolib out/Release/lib.target/libv8$(get_libname ${soname_version})
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname)
|
||||
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
||||
|
||||
# TODO: remove functions below after they are removed from chromium.eclass'
|
||||
# EXPORT_FUNCTIONS .
|
||||
|
||||
pkg_preinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
return
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/fribidi-0.19.5-r2.ebuild,v 1.1 2013/08/10 22:08:07 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools eutils autotools-multilib
|
||||
|
||||
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
|
||||
HOMEPAGE="http://fribidi.org/"
|
||||
SRC_URI="http://fribidi.org/download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RESTRICT="test" #397347
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2:2[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.19.2-nodoc.patch \
|
||||
"${FILESDIR}"/${P}-signedwarning.patch
|
||||
|
||||
# Fix compability with dev-libs/glib >= 2.31
|
||||
sed -i \
|
||||
-e '/include/s:<glib/gstrfuncs.h>:<glib.h>:' \
|
||||
-e '/include/s:<glib/gmem.h>:<glib.h>:' \
|
||||
charset/fribidi-char-sets.c lib/mem.h || die
|
||||
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is
|
||||
# present in /usr/lib/pkgconfig/fribidi.pc
|
||||
local myeconfargs=( --with-glib=yes )
|
||||
autotools-multilib_src_configure
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio-paranoia/libcdio-paranoia-0.90_p1-r1.ebuild,v 1.1 2013/08/10 22:09:05 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
MY_P=${PN}-10.2+${PV/_p/+}
|
||||
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
|
||||
inherit eutils autotools-multilib
|
||||
|
||||
DESCRIPTION="an advanced CDDA reader with error correction"
|
||||
HOMEPAGE="http://www.gnu.org/software/libcdio/"
|
||||
SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz"
|
||||
|
||||
# COPYING-GPL from cdparanoia says "2 or later"
|
||||
# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the
|
||||
# clause "or later" so we use LGPL-2.1 without +
|
||||
LICENSE="GPL-3+ GPL-2+ LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="+cxx static-libs test"
|
||||
|
||||
RDEPEND="app-admin/eselect-cdparanoia
|
||||
>=${CATEGORY}/libcdio-0.90[${MULTILIB_USEDEP}]
|
||||
virtual/libiconv[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? ( dev-lang/perl )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.90-mkdir_p.patch
|
||||
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-maintainer-mode
|
||||
--disable-example-progs
|
||||
$(use_enable cxx)
|
||||
--disable-cpp-progs
|
||||
--with-cd-paranoia-name=libcdio-paranoia
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect cdparanoia update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect cdparanoia update ifunset
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcdio/libcdio-0.90-r1.ebuild,v 1.1 2013/08/10 22:08:34 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="A library to encapsulate CD-ROM reading and control"
|
||||
HOMEPAGE="http://www.gnu.org/software/libcdio/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="cddb +cxx minimal static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
!minimal? (
|
||||
>=sys-libs/ncurses-5.7-r7
|
||||
cddb? ( >=media-libs/libcddb-1.3.2 )
|
||||
)
|
||||
virtual/libiconv[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/sed
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? ( dev-lang/perl )"
|
||||
DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/cdio/cdio_config.h
|
||||
/usr/include/cdio/version.h
|
||||
)
|
||||
|
||||
multilib_src_configure() {
|
||||
local util_switch
|
||||
if ! multilib_is_native_abi || use minimal ; then
|
||||
util_switch="--without"
|
||||
else
|
||||
util_switch="--with"
|
||||
fi
|
||||
|
||||
# Tests fail if ECONF_SOURCE is not relative
|
||||
ECONF_SOURCE="../${P}" econf \
|
||||
--disable-maintainer-mode \
|
||||
$(use_enable cxx) \
|
||||
--disable-cpp-progs \
|
||||
--disable-example-progs \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable cddb) \
|
||||
--disable-vcd-info \
|
||||
${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read}
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/liboil-0.3.17-r2.ebuild,v 1.1 2013/08/10 20:36:54 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib autotools-multilib
|
||||
|
||||
DESCRIPTION="Library of simple functions that are optimized for various CPUs"
|
||||
HOMEPAGE="http://liboil.freedesktop.org/"
|
||||
SRC_URI="http://liboil.freedesktop.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0.3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+examples static-libs test"
|
||||
|
||||
RDEPEND="examples? ( dev-libs/glib:2 )
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r9
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig"
|
||||
DOCS=( AUTHORS BUG-REPORTING HACKING NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
if ! use examples; then
|
||||
sed "s/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/" \
|
||||
-i Makefile.am Makefile.in || die
|
||||
fi
|
||||
|
||||
if ! use test; then
|
||||
sed "s/^\(SUBDIRS =.*\)testsuite\(.*\)$/\1\2/" \
|
||||
-i Makefile.am Makefile.in || die
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}/${P}-amd64-cpuid.patch"
|
||||
has x32 $(get_all_abis) && epatch "${FILESDIR}"/${PN}-0.3.17-x32.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -O?
|
||||
append-flags -O2
|
||||
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use examples; then
|
||||
ewarn "You have disabled examples USE flag. Beware that upstream might"
|
||||
ewarn "want the output of some utilities that are only built with"
|
||||
ewarn "USE='examples' if you report bugs to them."
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libwacom-0.5.tar.bz2 371749 SHA256 62e38476305ba8c998071e77feaa4ec7b8a5ab08b6b483c35f1a4dca8a6b7ede SHA512 4b550e36a1d11e2915a0858a86cc532de4dc07ca96d61f36cdfc05b0bc021d2cbee384734d5f21ee6c1df674bb8c92d90f15a475e01809e4d7474971e54c300a WHIRLPOOL 9ab6e99eac49dbaa09064ee07e4e03b08fcfaf5f09ae0bc9557d9a171cd1981cae5d2739eccd78a9eb9b457c8819a85525eeac26c68c91622a2d8ada669d9ba4
|
||||
DIST libwacom-0.6.tar.bz2 372573 SHA256 7115690698edc87deec482f0b2526567b858475d2135b5f8ccc946e5e76ec01d SHA512 0ac8269656374b7d3627683556f10874ccb0da887ac46c01cfde8c7ef2effdc84b1fa5975d00b08da39b61afba514d6d1c8aad530608e45bc55ff5d82e1059f8 WHIRLPOOL 112aae2be308440e3731481233216e2e7277495616e2a84fb277d4a051e96b8e69a5f5df9568ab15eb4cf316a7fa00d1c0eef5a42623315fde8cfea14e247507
|
||||
DIST libwacom-0.7.1.tar.bz2 402392 SHA256 9537111a6ac313fe9aaac947998eb8605bcbf5305c3f2c0625b796bd8252eda9 SHA512 b68ba3e4128c8dda1e68b6cdadafb7ad3411196b24b79ae18f1219b6f974028654a5286b4921c48bd00152c68bdd3533bb3df161aa6b178244b33cd80c6f1f6b WHIRLPOOL 3691b35a4e8364b28ac835b6d32c4e4aad26b16a5ec1dc8dc6c44c522a5c9cdb87c170b3e15a1a6404957771d51c18ca6a97ad01ab4b9852a0c87be25d695625
|
||||
DIST libwacom-0.7.tar.bz2 403532 SHA256 210c48b595461ebee63b1a846a6eb1d8f029b49d02ccbde34eadf551a5a68a78 SHA512 e373ea3afd6b93ef9c16a84e1932b0194bdb81685c4403bee71aed48d0999182a4da18cf752b71ec4a22ec218f82232ef8240a9a8d4e9ea69762f9144fd08989 WHIRLPOOL 353852a901c2155bc27a4ab6ceb4132d06a19cbf82350ad4b7fa5e92c9d0f9c67be013c399869b5611e874fd60d2021307d04f2d87e5d943e45681fe0b4a166d
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libwacom/libwacom-0.7.1.ebuild,v 1.1 2013/08/11 02:03:42 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils udev
|
||||
|
||||
DESCRIPTION="Library for identifying Wacom tablets and their model-specific features"
|
||||
HOMEPAGE="http://linuxwacom.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
virtual/udev[gudev]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
if ! use doc; then
|
||||
sed -e 's:^\(SUBDIRS = .* \)doc:\1:' -i Makefile.in || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
local udevdir="$(udev_get_udevdir)"
|
||||
dodir "${udevdir}/rules.d"
|
||||
# generate-udev-rules must be run from inside tools directory
|
||||
pushd tools > /dev/null
|
||||
./generate-udev-rules > "${ED}/${udevdir}/rules.d/65-libwacom.rules" ||
|
||||
die "generating udev rules failed"
|
||||
popd > /dev/null
|
||||
use doc && dohtml -r doc/html/*
|
||||
prune_libtool_files
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST cliff-1.3.1.tar.gz 123970 SHA256 a4741428d719c44353a6d9e6961eedfb815b2685f2a144fe194318076877722a SHA512 19b41b8082b937cceb446e4a40d95b156b447aeffe2131dd50e5396d45e9d5d9d9dea61c208dd69ef5605bd9e7068fb4bde83bd5217a1da2e9ff65e016d836de WHIRLPOOL 01df50feb18300d3c3400d8012f847ac9335439a5a001a2fb6f971145149b924e4e67538c566009fc091fd752cc395f06b633b7e790aca41d265a40d796cf194
|
||||
DIST cliff-1.3.tar.gz 123636 SHA256 762ef3046a96676a176e686a2a1cbb7e1db95f754578eca309e3c648c6a16a31 SHA512 f2061a0ff990aa99255cbfcba3ab25fe1a7d943ff955830f5d535a6baeec6fdf8dfb4409e5a291907d348ccbb3342783f8f935ef75ed2b7be28e77a9a468b377 WHIRLPOOL 97063f5ba167309d89d53a2e45f33dc8e62932e1fa93bdf5699e29295fd3aba2161762b52561463df4ee540dd64733bdefc2a2c0f30329d19695f1d0f2d68852
|
||||
DIST cliff-1.4.tar.gz 124342 SHA256 e5650c92bdd7917f850fc3ac11bd3ad4abd0cb0be4654770b29b63f288bea316 SHA512 764fa34d8eb4775360912f2dfbccb262a34ee693e76d62d66b848a60fbc260dd2240ac4be7991d77118d4af7152aa3e08cf9b98566391fe574dbfdeb8f59a97b WHIRLPOOL 3e767a4614bd4cdbe4b595c7949605715cee3e88fdd23f89d74cd6ab4dc00dd32a834e2b7bc2c583444d753a1181ec321a5d52c3ccb0c56a6ed02feb4fb6e0d3
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparsing/pyparsing-2.0.1.ebuild,v 1.1 2013/08/11 03:14:03 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="pyparsing is an easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="http://pyparsing.wikispaces.com/ http://pypi.python.org/pypi/pyparsing"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="!dev-python/pyparsing:py2 !dev-python/pyparsing:py3"
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( HowToUsePyparsing.html )
|
||||
use doc && HTML_DOCS+=( htmldoc/ )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
use doc && dodoc docs/*.pdf
|
||||
use examples && dodoc -r examples
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST python-cinderclient-1.0.2.tar.gz 78666 SHA256 5ec18cf84460d56254d05e1e52048e4e665d8cf13b243831caa05190900eefee SHA512 c41f5117728beacf0e58d67faa44ab81a0b7332cc3617498f608589de69c46608814efa8e2fd8f584e03bef63fd5d8dc3fee748a2511cba271556969901c6f4b WHIRLPOOL 3f6f3a04fe80052096db85da75ecca494165d3873eae25f546907259a85a008e6774f00405b1d713cde92a3646d680819c377a5e6068db0b8643371818c71dbd
|
||||
DIST python-cinderclient-1.0.4.tar.gz 100039 SHA256 4012a78b34083f594e25c87fbd357384ddcedd49c58b3b48cda6481bc173368c SHA512 df70585a769fd53e56c592f26c58d8995bcb7d413a54ce1b38a5c5c14a3d456525108500a1be9fdcd9f35a8925e2be6cb5c5912050a7dcab08800b43512aa25f WHIRLPOOL 7b294db10ea2d10f6921960d73a3b9c9c7ff253aa1ba680989d76875868e00094de61e7e657ff480ecd79ea451b77e12201616d33023a031736fc250d509b1e1
|
||||
DIST python-cinderclient-1.0.5.tar.gz 117604 SHA256 75f59abd8ec56aeb1322b8c8f111574f2c1fd3f503fb22c672183914915d3d1f SHA512 8dcc092896241922cfaf1598a7f35cca7ebe9e94d98a5d6c7f094034ba55ba04ba5621c9cbe41bb3c6c3cf75eef3717965a7f3cab71e9e820f9a0b82aa9349e9 WHIRLPOOL 0858f2291a0b49cba1af6d4655dca134960736951398b8387cf301d11e36c89a5b851b982ec441dc1e898c13080d63d1b5821bc2c0112cc1452a39ea4d5ef431
|
||||
|
@ -1,2 +1 @@
|
||||
DIST python-glanceclient-0.7.0.tar.gz 84823 SHA256 57a3c0ab8c48b2e569cb7cfd50fe5709f56d68e52159b14a7d9a24a4221dc617 SHA512 04820e3206bdc3aca7338de55b4b341c7b2e27a7b96d762e952380b56525018c64b451fc2e3ce7c2ddf244627bfece321ef9e2af0471c663085e2deb63e1dc75 WHIRLPOOL 0ccf58dbe7210ffddd1b0a3f328d978ecbd3993a48ff20bc3f7595050113049d0dfda128dca669800f2b9467ef118bd3ea8e28cfee8c79369289cb78d64cab31
|
||||
DIST python-glanceclient-0.8.0.tar.gz 90083 SHA256 46bfe15087437f19499c803394334a470081804f3f23f19dcc5a83608c01d383 SHA512 1ca10562d1acecb8de46e84753328dc3cefe0a7afd554b93b3ed05edca70520677ddbaaa7aaa05e019bfc3ae1bd7ecec879ef961a3fe638c523e8ad41eb133e6 WHIRLPOOL 44c363e82922a80fa2d2e0f71aca038f5fd5c321309e65d0bd5c1b71dfa3b702bcf57cb81c42447d10d4effa727abb2ce0cf3de984ff73201430392d4c8e38c3
|
||||
DIST python-glanceclient-0.10.0.tar.gz 112205 SHA256 42ba47254eb9d547753486bb6d46aa4f90ff67127d83401fe2570f201c5e2501 SHA512 1a278238fb01e0fb20fc195db60fe56f6f846916ab93239825d9940cbf5dbfa674d409d92269dedf0860b58586754b9fc0d8aff6955e0dee9457d18462ff3fcb WHIRLPOOL ba72f61c0c1a3b93742e5350bdddf8b665651375ca1e563c7dc8d96796425e4198cb0265afa4a5cf5e6c0d892b1dec3bd45c06f01478da7f267457989d64510e
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/python-glanceclient-0.7.0.ebuild,v 1.5 2013/02/02 01:17:33 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Glance API"
|
||||
HOMEPAGE="https://github.com/openstack/python-glanceclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
#IUSE="test"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
# test? ( dev-python/mox
|
||||
# dev-python/nose
|
||||
# dev-python/nosehtmloutput
|
||||
# dev-python/openstack-nose-plugin
|
||||
# dev-python/nose-exclude
|
||||
# =dev-python/pep8-1.3.3
|
||||
# >=dev-python/sphinx-1.1.2 )"
|
||||
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
dev-python/python-keystoneclient[${PYTHON_USEDEP}]
|
||||
<=dev-python/prettytable-0.7
|
||||
dev-python/pyopenssl
|
||||
dev-python/warlock[${PYTHON_USEDEP}]"
|
||||
|
||||
#python_test() {
|
||||
# "${PYTHON}" setup.py nosetests || die
|
||||
#}
|
@ -1 +1,2 @@
|
||||
DIST python-heatclient-0.2.2.tar.gz 40892 SHA256 1ccd0d04928429a3928d9e7057db28de893659d3200f15c4da43de7fb731392b SHA512 b29e097a59c3e773e51a932011714d893e51692bdc9b76ea3431d5b642a8fdafb6237af25516a495c9c88ad344193da01af17db7d344e35e4debc614f814dd7a WHIRLPOOL df9997b97babe7aa57b2a44d5e25b8db53d542fcb563e14eb28ce8b25892912ebed1ea8c0b571ec1986aefb41efa07da2eea6709c777fc99da321f173e55f688
|
||||
DIST python-heatclient-0.2.4.tar.gz 44387 SHA256 b56c2f2249496e40fa8eba80e59966a0ba792f4bc86524feb48f3d2e20d3bdd0 SHA512 e78a5dbabf85cdd95b4439d1f262929771ad1958261fe4d35f0b7beb5911c99dadf9ffc22317dcdc9dd54a9b4540d89c0969a2a0ca0928ae21ea241967389aeb WHIRLPOOL 3ae1358c6e14d55eb67284561c648b9e5433e44a100f0392d36248e7c267f87839ddc205dc917425f480da95905a59c9410076abf298c0b41a9da464465a9efe
|
||||
|
@ -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-python/python-heatclient/python-heatclient-0.2.4.ebuild,v 1.1 2013/08/11 02:51:25 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="This is a client library for Heat built on the Heat orchestration
|
||||
API."
|
||||
HOMEPAGE="https://github.com/openstack/python-heatclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mox[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-exclude[${PYTHON_USEDEP}]
|
||||
dev-python/nosexcover
|
||||
dev-python/nosehtmloutput[${PYTHON_USEDEP}]
|
||||
dev-python/openstack-nose-plugin[${PYTHON_USEDEP}]
|
||||
=dev-python/pep8-1.2
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/pbr-0.5.16[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
<dev-python/python-keystoneclient-0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
)
|
||||
# "${FILESDIR}/0.2.3-CVE-2013-2104.patch"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} setup.py nosetests || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-keystoneclient-0.2.4.tar.gz 194758 SHA256 1286a32cc08436410e00704177e3e5ced6ba88ac4eab62a6a55cbad7cadc6cc0 SHA512 e064e9fa7118f300467910b33fa693842db10326dd3c75701fba7edb76896c1fedbec8fbbe2f56e7260ecbfe35b4ee9fac463fcc0f93e47496a57516f708a472 WHIRLPOOL dad8fec545130c74780d1eff49642c8e0b48914a16e9ee4e7215a12d3e3a488c7b85c7d837d041caae8a7ca54570ba750f435e4c718479e8aa9abdaedf33ad6a
|
||||
DIST python-keystoneclient-0.2.5.tar.gz 196496 SHA256 3985ab402b3b63510f387df639658687ee001c047ed710bee9a46219ebc31e2b SHA512 2c14d039a80a8b8ac65c974410722b5726b2f0f94c238b60ac93d09828abcf4518cec16af10387ccaa5e1639a5c9e168afa32623e507899c8486152c3d785c8b WHIRLPOOL aa82ee7f157c8573978b04b485068cc5d3f3f8bcfc4e573b8ed631b23ca3ffd8eb47830449c13da5e93e674c42a23c1efb072ffd5005c93a3c6f84a12e1b4063
|
||||
DIST python-keystoneclient-0.3.1.tar.gz 209845 SHA256 bfc149b2d161bfe168be0fde41d9e75f2c0a99b9f398672f92c7c54c6f62fa26 SHA512 e79a4ab0b8e2c99a94efd6bf6690abd15cf41ea6b4e605c1a3534ee9788cb38239b6cd43e2956bd513b1149ab359af63eb46c7a61a9ebe3f3c1005068a7533de WHIRLPOOL ab4636f77e8de91fe38718f3f43a9f81d4bde69ed02710fe0d02ce1e8965f728c53fff6f28780981e7303c16fe43a33c9c30ac21a7cb1cfc8a2e855bc47c1f36
|
||||
|
@ -1,745 +0,0 @@
|
||||
From eeefb784f24c37d5f56a421e1ccc911cace9385e Mon Sep 17 00:00:00 2001
|
||||
From: "Bryan D. Payne" <bdpayne@acm.org>
|
||||
Date: Fri, 7 Jun 2013 09:34:25 -0700
|
||||
Subject: [PATCH] Fix memcache encryption middleware
|
||||
|
||||
This fixes lp1175367 and lp1175368 by redesigning the memcache crypt
|
||||
middleware to not do dangerous things. It is forward compatible, but
|
||||
will invalidate any existing ephemeral encrypted or signed memcache
|
||||
entries.
|
||||
|
||||
Change-Id: Ice8724949a48bfad3b8b7c41b5f50a18a9ad9f42
|
||||
Signed-off-by: Bryan D. Payne <bdpayne@acm.org>
|
||||
---
|
||||
doc/source/middlewarearchitecture.rst | 37 +++---
|
||||
keystoneclient/middleware/auth_token.py | 131 +++++++++---------
|
||||
keystoneclient/middleware/memcache_crypt.py | 197 +++++++++++++++++-----------
|
||||
tests/test_auth_token_middleware.py | 89 +++----------
|
||||
tests/test_memcache_crypt.py | 96 ++++++++------
|
||||
5 files changed, 277 insertions(+), 273 deletions(-)
|
||||
|
||||
diff --git a/doc/source/middlewarearchitecture.rst b/doc/source/middlewarearchitecture.rst
|
||||
index 803fbd9..894d40d 100644
|
||||
--- a/doc/source/middlewarearchitecture.rst
|
||||
+++ b/doc/source/middlewarearchitecture.rst
|
||||
@@ -1,5 +1,5 @@
|
||||
..
|
||||
- Copyright 2011-2012 OpenStack, LLC
|
||||
+ Copyright 2011-2013 OpenStack, LLC
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
@@ -188,7 +188,8 @@ Configuration Options
|
||||
the timeout when validating token by http).
|
||||
* ``auth_port``: (optional, default `35357`) the port used to validate tokens
|
||||
* ``auth_protocol``: (optional, default `https`)
|
||||
-* ``auth_uri``: (optional, defaults to `auth_protocol`://`auth_host`:`auth_port`)
|
||||
+* ``auth_uri``: (optional, defaults to
|
||||
+ `auth_protocol`://`auth_host`:`auth_port`)
|
||||
* ``certfile``: (required, if Keystone server requires client cert)
|
||||
* ``keyfile``: (required, if Keystone server requires client cert) This can be
|
||||
the same as the certfile if the certfile includes the private key.
|
||||
@@ -232,22 +233,24 @@ Memcache Protection
|
||||
===================
|
||||
|
||||
When using memcached, we are storing user tokens and token validation
|
||||
-information into the cache as raw data. Which means anyone who have access
|
||||
-to the memcache servers can read and modify data stored there. To mitigate
|
||||
-this risk, ``auth_token`` middleware provides an option to either encrypt
|
||||
-or authenticate the token data stored in the cache.
|
||||
-
|
||||
-* ``memcache_security_strategy``: (optional) if defined, indicate whether token
|
||||
- data should be encrypted or authenticated. Acceptable values are ``ENCRYPT``
|
||||
- or ``MAC``. If ``ENCRYPT``, token data is encrypted in the cache. If
|
||||
- ``MAC``, token data is authenticated (with HMAC) in the cache. If its value
|
||||
- is neither ``MAC`` nor ``ENCRYPT``, ``auth_token`` will raise an exception
|
||||
- on initialization.
|
||||
+information into the cache as raw data. Which means that anyone who
|
||||
+has access to the memcache servers can read and modify data stored
|
||||
+there. To mitigate this risk, ``auth_token`` middleware provides an
|
||||
+option to authenticate and optionally encrypt the token data stored in
|
||||
+the cache.
|
||||
+
|
||||
+* ``memcache_security_strategy``: (optional) if defined, indicate
|
||||
+ whether token data should be authenticated or authenticated and
|
||||
+ encrypted. Acceptable values are ``MAC`` or ``ENCRYPT``. If ``MAC``,
|
||||
+ token data is authenticated (with HMAC) in the cache. If
|
||||
+ ``ENCRYPT``, token data is encrypted and authenticated in the
|
||||
+ cache. If the value is not one of these options or empty,
|
||||
+ ``auth_token`` will raise an exception on initialization.
|
||||
* ``memcache_secret_key``: (optional, mandatory if
|
||||
- ``memcache_security_strategy`` is defined) if defined,
|
||||
- a random string to be used for key derivation. If
|
||||
- ``memcache_security_strategy`` is defined and ``memcache_secret_key`` is
|
||||
- absent, ``auth_token`` will raise an exception on initialization.
|
||||
+ ``memcache_security_strategy`` is defined) this string is used for
|
||||
+ key derivation. If ``memcache_security_strategy`` is defined and
|
||||
+ ``memcache_secret_key`` is absent, ``auth_token`` will raise an
|
||||
+ exception on initialization.
|
||||
|
||||
Exchanging User Information
|
||||
===========================
|
||||
diff --git a/keystoneclient/middleware/auth_token.py b/keystoneclient/middleware/auth_token.py
|
||||
index 7e3012c..e50f723 100644
|
||||
--- a/keystoneclient/middleware/auth_token.py
|
||||
+++ b/keystoneclient/middleware/auth_token.py
|
||||
@@ -222,6 +222,7 @@ opts = [
|
||||
CONF.register_opts(opts, group='keystone_authtoken')
|
||||
|
||||
LIST_OF_VERSIONS_TO_ATTEMPT = ['v2.0', 'v3.0']
|
||||
+CACHE_KEY_TEMPLATE = 'tokens/%s'
|
||||
|
||||
|
||||
def will_expire_soon(expiry):
|
||||
@@ -847,91 +848,81 @@ class AuthProtocol(object):
|
||||
env_key = self._header_to_env_var(key)
|
||||
return env.get(env_key, default)
|
||||
|
||||
- def _protect_cache_value(self, token, data):
|
||||
- """ Encrypt or sign data if necessary. """
|
||||
- try:
|
||||
- if self._memcache_security_strategy == 'ENCRYPT':
|
||||
- return memcache_crypt.encrypt_data(token,
|
||||
- self._memcache_secret_key,
|
||||
- data)
|
||||
- elif self._memcache_security_strategy == 'MAC':
|
||||
- return memcache_crypt.sign_data(token, data)
|
||||
- else:
|
||||
- return data
|
||||
- except:
|
||||
- msg = 'Failed to encrypt/sign cache data.'
|
||||
- self.LOG.exception(msg)
|
||||
- return data
|
||||
-
|
||||
- def _unprotect_cache_value(self, token, data):
|
||||
- """ Decrypt or verify signed data if necessary. """
|
||||
- if data is None:
|
||||
- return data
|
||||
-
|
||||
- try:
|
||||
- if self._memcache_security_strategy == 'ENCRYPT':
|
||||
- return memcache_crypt.decrypt_data(token,
|
||||
- self._memcache_secret_key,
|
||||
- data)
|
||||
- elif self._memcache_security_strategy == 'MAC':
|
||||
- return memcache_crypt.verify_signed_data(token, data)
|
||||
- else:
|
||||
- return data
|
||||
- except:
|
||||
- msg = 'Failed to decrypt/verify cache data.'
|
||||
- self.LOG.exception(msg)
|
||||
- # this should have the same effect as data not found in cache
|
||||
- return None
|
||||
-
|
||||
- def _get_cache_key(self, token):
|
||||
- """ Return the cache key.
|
||||
-
|
||||
- Do not use clear token as key if memcache protection is on.
|
||||
-
|
||||
- """
|
||||
- htoken = token
|
||||
- if self._memcache_security_strategy in ('ENCRYPT', 'MAC'):
|
||||
- derv_token = token + self._memcache_secret_key
|
||||
- htoken = memcache_crypt.hash_data(derv_token)
|
||||
- return 'tokens/%s' % htoken
|
||||
-
|
||||
- def _cache_get(self, token):
|
||||
+ def _cache_get(self, token, ignore_expires=False):
|
||||
"""Return token information from cache.
|
||||
|
||||
If token is invalid raise InvalidUserToken
|
||||
return token only if fresh (not expired).
|
||||
"""
|
||||
+
|
||||
if self._cache and token:
|
||||
- key = self._get_cache_key(token)
|
||||
- cached = self._cache.get(key)
|
||||
- cached = self._unprotect_cache_value(token, cached)
|
||||
+ if self._memcache_security_strategy is None:
|
||||
+ key = CACHE_KEY_TEMPLATE % token
|
||||
+ serialized = self._cache.get(key)
|
||||
+ else:
|
||||
+ keys = memcache_crypt.derive_keys(
|
||||
+ token,
|
||||
+ self._memcache_secret_key,
|
||||
+ self._memcache_security_strategy)
|
||||
+ cache_key = CACHE_KEY_TEMPLATE % (
|
||||
+ memcache_crypt.get_cache_key(keys))
|
||||
+ raw_cached = self._cache.get(cache_key)
|
||||
+ try:
|
||||
+ # unprotect_data will return None if raw_cached is None
|
||||
+ serialized = memcache_crypt.unprotect_data(keys,
|
||||
+ raw_cached)
|
||||
+ except Exception:
|
||||
+ msg = 'Failed to decrypt/verify cache data'
|
||||
+ self.LOG.exception(msg)
|
||||
+ # this should have the same effect as data not
|
||||
+ # found in cache
|
||||
+ serialized = None
|
||||
+
|
||||
+ if serialized is None:
|
||||
+ return None
|
||||
+
|
||||
+ # Note that 'invalid' and (data, expires) are the only
|
||||
+ # valid types of serialized cache entries, so there is not
|
||||
+ # a collision with json.loads(serialized) == None.
|
||||
+ cached = json.loads(serialized)
|
||||
if cached == 'invalid':
|
||||
self.LOG.debug('Cached Token %s is marked unauthorized', token)
|
||||
raise InvalidUserToken('Token authorization failed')
|
||||
- if cached:
|
||||
- data, expires = cached
|
||||
- if time.time() < float(expires):
|
||||
- self.LOG.debug('Returning cached token %s', token)
|
||||
- return data
|
||||
- else:
|
||||
- self.LOG.debug('Cached Token %s seems expired', token)
|
||||
-
|
||||
- def _cache_store(self, token, data, expires=None):
|
||||
- """ Store value into memcache. """
|
||||
- key = self._get_cache_key(token)
|
||||
- data = self._protect_cache_value(token, data)
|
||||
- data_to_store = data
|
||||
- if expires:
|
||||
- data_to_store = (data, expires)
|
||||
+
|
||||
+ data, expires = cached
|
||||
+ if ignore_expires or time.time() < float(expires):
|
||||
+ self.LOG.debug('Returning cached token %s', token)
|
||||
+ return data
|
||||
+ else:
|
||||
+ self.LOG.debug('Cached Token %s seems expired', token)
|
||||
+
|
||||
+ def _cache_store(self, token, data):
|
||||
+ """ Store value into memcache.
|
||||
+
|
||||
+ data may be the string 'invalid' or a tuple like (data, expires)
|
||||
+
|
||||
+ """
|
||||
+ serialized_data = json.dumps(data)
|
||||
+ if self._memcache_security_strategy is None:
|
||||
+ cache_key = CACHE_KEY_TEMPLATE % token
|
||||
+ data_to_store = serialized_data
|
||||
+ else:
|
||||
+ keys = memcache_crypt.derive_keys(
|
||||
+ token,
|
||||
+ self._memcache_secret_key,
|
||||
+ self._memcache_security_strategy)
|
||||
+ cache_key = CACHE_KEY_TEMPLATE % memcache_crypt.get_cache_key(keys)
|
||||
+ data_to_store = memcache_crypt.protect_data(keys, serialized_data)
|
||||
+
|
||||
# we need to special-case set() because of the incompatibility between
|
||||
# Swift MemcacheRing and python-memcached. See
|
||||
# https://bugs.launchpad.net/swift/+bug/1095730
|
||||
if self._use_keystone_cache:
|
||||
- self._cache.set(key,
|
||||
+ self._cache.set(cache_key,
|
||||
data_to_store,
|
||||
time=self.token_cache_time)
|
||||
else:
|
||||
- self._cache.set(key,
|
||||
+ self._cache.set(cache_key,
|
||||
data_to_store,
|
||||
timeout=self.token_cache_time)
|
||||
|
||||
@@ -959,7 +950,7 @@ class AuthProtocol(object):
|
||||
"""
|
||||
if self._cache:
|
||||
self.LOG.debug('Storing %s token in memcache', token)
|
||||
- self._cache_store(token, data, expires)
|
||||
+ self._cache_store(token, (data, expires))
|
||||
|
||||
def _cache_store_invalid(self, token):
|
||||
"""Store invalid token in cache."""
|
||||
diff --git a/keystoneclient/middleware/memcache_crypt.py b/keystoneclient/middleware/memcache_crypt.py
|
||||
index 91e261d..6cadf3a 100755
|
||||
--- a/keystoneclient/middleware/memcache_crypt.py
|
||||
+++ b/keystoneclient/middleware/memcache_crypt.py
|
||||
@@ -1,6 +1,6 @@
|
||||
# vim: tabstop=4 shiftwidth=4 softtabstop=4
|
||||
|
||||
-# Copyright 2010-2012 OpenStack LLC
|
||||
+# Copyright 2010-2013 OpenStack LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -18,33 +18,34 @@
|
||||
"""
|
||||
Utilities for memcache encryption and integrity check.
|
||||
|
||||
-Data is serialized before been encrypted or MACed. Encryption have a
|
||||
-dependency on the pycrypto. If pycrypto is not available,
|
||||
-CryptoUnabailableError will be raised.
|
||||
+Data should be serialized before entering these functions. Encryption
|
||||
+has a dependency on the pycrypto. If pycrypto is not available,
|
||||
+CryptoUnavailableError will be raised.
|
||||
|
||||
-Encrypted data stored in memcache are prefixed with '{ENCRYPT:AES256}'.
|
||||
-
|
||||
-MACed data stored in memcache are prefixed with '{MAC:SHA1}'.
|
||||
+This module will not be called unless signing or encryption is enabled
|
||||
+in the config. It will always validate signatures, and will decrypt
|
||||
+data if encryption is enabled. It is not valid to mix protection
|
||||
+modes.
|
||||
|
||||
"""
|
||||
|
||||
import base64
|
||||
import functools
|
||||
import hashlib
|
||||
-import json
|
||||
+import hmac
|
||||
+import math
|
||||
import os
|
||||
|
||||
-# make sure pycrypt is available
|
||||
+# make sure pycrypto is available
|
||||
try:
|
||||
from Crypto.Cipher import AES
|
||||
except ImportError:
|
||||
AES = None
|
||||
|
||||
-
|
||||
-# prefix marker indicating data is HMACed (signed by a secret key)
|
||||
-MAC_MARKER = '{MAC:SHA1}'
|
||||
-# prefix marker indicating data is encrypted
|
||||
-ENCRYPT_MARKER = '{ENCRYPT:AES256}'
|
||||
+HASH_FUNCTION = hashlib.sha384
|
||||
+DIGEST_LENGTH = HASH_FUNCTION().digest_size
|
||||
+DIGEST_SPLIT = DIGEST_LENGTH // 3
|
||||
+DIGEST_LENGTH_B64 = 4 * int(math.ceil(DIGEST_LENGTH / 3.0))
|
||||
|
||||
|
||||
class InvalidMacError(Exception):
|
||||
@@ -81,77 +82,121 @@ def assert_crypto_availability(f):
|
||||
return wrapper
|
||||
|
||||
|
||||
-def generate_aes_key(token, secret):
|
||||
- """ Generates and returns a 256 bit AES key, based on sha256 hash. """
|
||||
- return hashlib.sha256(token + secret).digest()
|
||||
-
|
||||
-
|
||||
-def compute_mac(token, serialized_data):
|
||||
- """ Computes and returns the base64 encoded MAC. """
|
||||
- return hash_data(serialized_data + token)
|
||||
+def constant_time_compare(first, second):
|
||||
+ """ Returns True if both string inputs are equal, otherwise False
|
||||
|
||||
+ This function should take a constant amount of time regardless of
|
||||
+ how many characters in the strings match.
|
||||
|
||||
-def hash_data(data):
|
||||
- """ Return the base64 encoded SHA1 hash of the data. """
|
||||
- return base64.b64encode(hashlib.sha1(data).digest())
|
||||
-
|
||||
-
|
||||
-def sign_data(token, data):
|
||||
- """ MAC the data using SHA1. """
|
||||
- mac_data = {}
|
||||
- mac_data['serialized_data'] = json.dumps(data)
|
||||
- mac = compute_mac(token, mac_data['serialized_data'])
|
||||
- mac_data['mac'] = mac
|
||||
- md = MAC_MARKER + base64.b64encode(json.dumps(mac_data))
|
||||
- return md
|
||||
+ """
|
||||
+ if len(first) != len(second):
|
||||
+ return False
|
||||
+ result = 0
|
||||
+ for x, y in zip(first, second):
|
||||
+ result |= ord(x) ^ ord(y)
|
||||
+ return result == 0
|
||||
+
|
||||
+
|
||||
+def derive_keys(token, secret, strategy):
|
||||
+ """ Derives keys for MAC and ENCRYPTION from the user-provided
|
||||
+ secret. The resulting keys should be passed to the protect and
|
||||
+ unprotect functions.
|
||||
+
|
||||
+ As suggested by NIST Special Publication 800-108, this uses the
|
||||
+ first 128 bits from the sha384 KDF for the obscured cache key
|
||||
+ value, the second 128 bits for the message authentication key and
|
||||
+ the remaining 128 bits for the encryption key.
|
||||
+
|
||||
+ This approach is faster than computing a separate hmac as the KDF
|
||||
+ for each desired key.
|
||||
+ """
|
||||
+ digest = hmac.new(secret, token + strategy, HASH_FUNCTION).digest()
|
||||
+ return {'CACHE_KEY': digest[:DIGEST_SPLIT],
|
||||
+ 'MAC': digest[DIGEST_SPLIT: 2 * DIGEST_SPLIT],
|
||||
+ 'ENCRYPTION': digest[2 * DIGEST_SPLIT:],
|
||||
+ 'strategy': strategy}
|
||||
|
||||
|
||||
-def verify_signed_data(token, data):
|
||||
- """ Verify data integrity by ensuring MAC is valid. """
|
||||
- if data.startswith(MAC_MARKER):
|
||||
- try:
|
||||
- data = data[len(MAC_MARKER):]
|
||||
- mac_data = json.loads(base64.b64decode(data))
|
||||
- mac = compute_mac(token, mac_data['serialized_data'])
|
||||
- if mac != mac_data['mac']:
|
||||
- raise InvalidMacError('invalid MAC; expect=%s, actual=%s' %
|
||||
- (mac_data['mac'], mac))
|
||||
- return json.loads(mac_data['serialized_data'])
|
||||
- except:
|
||||
- raise InvalidMacError('invalid MAC; data appeared to be corrupted')
|
||||
- else:
|
||||
- # doesn't appear to be MACed data
|
||||
- return data
|
||||
+def sign_data(key, data):
|
||||
+ """ Sign the data using the defined function and the derived key"""
|
||||
+ mac = hmac.new(key, data, HASH_FUNCTION).digest()
|
||||
+ return base64.b64encode(mac)
|
||||
|
||||
|
||||
@assert_crypto_availability
|
||||
-def encrypt_data(token, secret, data):
|
||||
- """ Encryptes the data with the given secret key. """
|
||||
+def encrypt_data(key, data):
|
||||
+ """ Encrypt the data with the given secret key.
|
||||
+
|
||||
+ Padding is n bytes of the value n, where 1 <= n <= blocksize.
|
||||
+ """
|
||||
iv = os.urandom(16)
|
||||
- aes_key = generate_aes_key(token, secret)
|
||||
- cipher = AES.new(aes_key, AES.MODE_CFB, iv)
|
||||
- data = json.dumps(data)
|
||||
- encoded_data = base64.b64encode(iv + cipher.encrypt(data))
|
||||
- encoded_data = ENCRYPT_MARKER + encoded_data
|
||||
- return encoded_data
|
||||
+ cipher = AES.new(key, AES.MODE_CBC, iv)
|
||||
+ padding = 16 - len(data) % 16
|
||||
+ return iv + cipher.encrypt(data + chr(padding) * padding)
|
||||
|
||||
|
||||
@assert_crypto_availability
|
||||
-def decrypt_data(token, secret, data):
|
||||
+def decrypt_data(key, data):
|
||||
""" Decrypt the data with the given secret key. """
|
||||
- if data.startswith(ENCRYPT_MARKER):
|
||||
- try:
|
||||
- # encrypted data
|
||||
- encoded_data = data[len(ENCRYPT_MARKER):]
|
||||
- aes_key = generate_aes_key(token, secret)
|
||||
- decoded_data = base64.b64decode(encoded_data)
|
||||
- iv = decoded_data[:16]
|
||||
- encrypted_data = decoded_data[16:]
|
||||
- cipher = AES.new(aes_key, AES.MODE_CFB, iv)
|
||||
- decrypted_data = cipher.decrypt(encrypted_data)
|
||||
- return json.loads(decrypted_data)
|
||||
- except:
|
||||
- raise DecryptError('data appeared to be corrupted')
|
||||
- else:
|
||||
- # doesn't appear to be encrypted data
|
||||
- return data
|
||||
+ iv = data[:16]
|
||||
+ cipher = AES.new(key, AES.MODE_CBC, iv)
|
||||
+ try:
|
||||
+ result = cipher.decrypt(data[16:])
|
||||
+ except Exception:
|
||||
+ raise DecryptError('Encrypted data appears to be corrupted.')
|
||||
+
|
||||
+ # Strip the last n padding bytes where n is the last value in
|
||||
+ # the plaintext
|
||||
+ padding = ord(result[-1])
|
||||
+ return result[:-1 * padding]
|
||||
+
|
||||
+
|
||||
+def protect_data(keys, data):
|
||||
+ """ Given keys and serialized data, returns an appropriately
|
||||
+ protected string suitable for storage in the cache.
|
||||
+
|
||||
+ """
|
||||
+ if keys['strategy'] == 'ENCRYPT':
|
||||
+ data = encrypt_data(keys['ENCRYPTION'], data)
|
||||
+
|
||||
+ encoded_data = base64.b64encode(data)
|
||||
+
|
||||
+ signature = sign_data(keys['MAC'], encoded_data)
|
||||
+ return signature + encoded_data
|
||||
+
|
||||
+
|
||||
+def unprotect_data(keys, signed_data):
|
||||
+ """ Given keys and cached string data, verifies the signature,
|
||||
+ decrypts if necessary, and returns the original serialized data.
|
||||
+
|
||||
+ """
|
||||
+ # cache backends return None when no data is found. We don't mind
|
||||
+ # that this particular special value is unsigned.
|
||||
+ if signed_data is None:
|
||||
+ return None
|
||||
+
|
||||
+ # First we calculate the signature
|
||||
+ provided_mac = signed_data[:DIGEST_LENGTH_B64]
|
||||
+ calculated_mac = sign_data(
|
||||
+ keys['MAC'],
|
||||
+ signed_data[DIGEST_LENGTH_B64:])
|
||||
+
|
||||
+ # Then verify that it matches the provided value
|
||||
+ if not constant_time_compare(provided_mac, calculated_mac):
|
||||
+ raise InvalidMacError('Invalid MAC; data appears to be corrupted.')
|
||||
+
|
||||
+ data = base64.b64decode(signed_data[DIGEST_LENGTH_B64:])
|
||||
+
|
||||
+ # then if necessary decrypt the data
|
||||
+ if keys['strategy'] == 'ENCRYPT':
|
||||
+ data = decrypt_data(keys['ENCRYPTION'], data)
|
||||
+
|
||||
+ return data
|
||||
+
|
||||
+
|
||||
+def get_cache_key(keys):
|
||||
+ """ Given keys generated by derive_keys(), returns a base64
|
||||
+ encoded value suitable for use as a cache key in memcached.
|
||||
+
|
||||
+ """
|
||||
+ return base64.b64encode(keys['CACHE_KEY'])
|
||||
diff --git a/tests/test_auth_token_middleware.py b/tests/test_auth_token_middleware.py
|
||||
index 06054d0..a428504 100644
|
||||
--- a/tests/test_auth_token_middleware.py
|
||||
+++ b/tests/test_auth_token_middleware.py
|
||||
@@ -28,7 +28,6 @@ import webob
|
||||
from keystoneclient.common import cms
|
||||
from keystoneclient import utils
|
||||
from keystoneclient.middleware import auth_token
|
||||
-from keystoneclient.middleware import memcache_crypt
|
||||
from keystoneclient.openstack.common import memorycache
|
||||
from keystoneclient.openstack.common import jsonutils
|
||||
from keystoneclient.openstack.common import timeutils
|
||||
@@ -1013,9 +1012,7 @@ class AuthTokenMiddlewareTest(BaseAuthTokenMiddlewareTest):
|
||||
def _get_cached_token(self, token):
|
||||
token_id = cms.cms_hash_token(token)
|
||||
# NOTE(vish): example tokens are expired so skip the expiration check.
|
||||
- key = self.middleware._get_cache_key(token_id)
|
||||
- cached = self.middleware._cache.get(key)
|
||||
- return self.middleware._unprotect_cache_value(token, cached)
|
||||
+ return self.middleware._cache_get(token_id, ignore_expires=True)
|
||||
|
||||
def test_memcache(self):
|
||||
req = webob.Request.blank('/')
|
||||
@@ -1036,7 +1033,8 @@ class AuthTokenMiddlewareTest(BaseAuthTokenMiddlewareTest):
|
||||
token = 'invalid-token'
|
||||
req.headers['X-Auth-Token'] = token
|
||||
self.middleware(req.environ, self.start_fake_response)
|
||||
- self.assertEqual(self._get_cached_token(token), "invalid")
|
||||
+ self.assertRaises(auth_token.InvalidUserToken,
|
||||
+ self._get_cached_token, token)
|
||||
|
||||
def test_memcache_set_expired(self):
|
||||
token_cache_time = 10
|
||||
@@ -1096,18 +1094,11 @@ class AuthTokenMiddlewareTest(BaseAuthTokenMiddlewareTest):
|
||||
'memcache_secret_key': 'mysecret'
|
||||
}
|
||||
self.set_middleware(conf=conf)
|
||||
- encrypted_data = self.middleware._protect_cache_value(
|
||||
- 'token', TOKEN_RESPONSES[self.token_dict['uuid_token_default']])
|
||||
- self.assertEqual('{ENCRYPT:AES256}', encrypted_data[:16])
|
||||
- self.assertEqual(
|
||||
- TOKEN_RESPONSES[self.token_dict['uuid_token_default']],
|
||||
- self.middleware._unprotect_cache_value('token', encrypted_data))
|
||||
- # should return None if unable to decrypt
|
||||
- self.assertIsNone(
|
||||
- self.middleware._unprotect_cache_value(
|
||||
- 'token', '{ENCRYPT:AES256}corrupted'))
|
||||
- self.assertIsNone(
|
||||
- self.middleware._unprotect_cache_value('mykey', encrypted_data))
|
||||
+ token = 'my_token'
|
||||
+ data = ('this_data', 10e100)
|
||||
+ self.middleware._init_cache({})
|
||||
+ self.middleware._cache_store(token, data)
|
||||
+ self.assertEqual(self.middleware._cache_get(token), data[0])
|
||||
|
||||
def test_sign_cache_data(self):
|
||||
conf = {
|
||||
@@ -1119,19 +1110,11 @@ class AuthTokenMiddlewareTest(BaseAuthTokenMiddlewareTest):
|
||||
'memcache_secret_key': 'mysecret'
|
||||
}
|
||||
self.set_middleware(conf=conf)
|
||||
- signed_data = self.middleware._protect_cache_value(
|
||||
- 'mykey', TOKEN_RESPONSES[self.token_dict['uuid_token_default']])
|
||||
- expected = '{MAC:SHA1}'
|
||||
- self.assertEqual(
|
||||
- signed_data[:10],
|
||||
- expected)
|
||||
- self.assertEqual(
|
||||
- TOKEN_RESPONSES[self.token_dict['uuid_token_default']],
|
||||
- self.middleware._unprotect_cache_value('mykey', signed_data))
|
||||
- # should return None on corrupted data
|
||||
- self.assertIsNone(
|
||||
- self.middleware._unprotect_cache_value('mykey',
|
||||
- '{MAC:SHA1}corrupted'))
|
||||
+ token = 'my_token'
|
||||
+ data = ('this_data', 10e100)
|
||||
+ self.middleware._init_cache({})
|
||||
+ self.middleware._cache_store(token, data)
|
||||
+ self.assertEqual(self.middleware._cache_get(token), data[0])
|
||||
|
||||
def test_no_memcache_protection(self):
|
||||
conf = {
|
||||
@@ -1142,47 +1125,11 @@ class AuthTokenMiddlewareTest(BaseAuthTokenMiddlewareTest):
|
||||
'memcache_secret_key': 'mysecret'
|
||||
}
|
||||
self.set_middleware(conf=conf)
|
||||
- data = self.middleware._protect_cache_value('mykey',
|
||||
- 'This is a test!')
|
||||
- self.assertEqual(data, 'This is a test!')
|
||||
- self.assertEqual(
|
||||
- 'This is a test!',
|
||||
- self.middleware._unprotect_cache_value('mykey', data))
|
||||
-
|
||||
- def test_get_cache_key(self):
|
||||
- conf = {
|
||||
- 'auth_host': 'keystone.example.com',
|
||||
- 'auth_port': 1234,
|
||||
- 'auth_admin_prefix': '/testadmin',
|
||||
- 'memcache_servers': ['localhost:11211'],
|
||||
- 'memcache_secret_key': 'mysecret'
|
||||
- }
|
||||
- self.set_middleware(conf=conf)
|
||||
- self.assertEqual(
|
||||
- 'tokens/mytoken',
|
||||
- self.middleware._get_cache_key('mytoken'))
|
||||
- conf = {
|
||||
- 'auth_host': 'keystone.example.com',
|
||||
- 'auth_port': 1234,
|
||||
- 'auth_admin_prefix': '/testadmin',
|
||||
- 'memcache_servers': ['localhost:11211'],
|
||||
- 'memcache_security_strategy': 'mac',
|
||||
- 'memcache_secret_key': 'mysecret'
|
||||
- }
|
||||
- self.set_middleware(conf=conf)
|
||||
- expected = 'tokens/' + memcache_crypt.hash_data('mytoken' + 'mysecret')
|
||||
- self.assertEqual(self.middleware._get_cache_key('mytoken'), expected)
|
||||
- conf = {
|
||||
- 'auth_host': 'keystone.example.com',
|
||||
- 'auth_port': 1234,
|
||||
- 'auth_admin_prefix': '/testadmin',
|
||||
- 'memcache_servers': ['localhost:11211'],
|
||||
- 'memcache_security_strategy': 'Encrypt',
|
||||
- 'memcache_secret_key': 'abc!'
|
||||
- }
|
||||
- self.set_middleware(conf=conf)
|
||||
- expected = 'tokens/' + memcache_crypt.hash_data('mytoken' + 'abc!')
|
||||
- self.assertEqual(self.middleware._get_cache_key('mytoken'), expected)
|
||||
+ token = 'my_token'
|
||||
+ data = ('this_data', 10e100)
|
||||
+ self.middleware._init_cache({})
|
||||
+ self.middleware._cache_store(token, data)
|
||||
+ self.assertEqual(self.middleware._cache_get(token), data[0])
|
||||
|
||||
def test_assert_valid_memcache_protection_config(self):
|
||||
# test missing memcache_secret_key
|
||||
diff --git a/tests/test_memcache_crypt.py b/tests/test_memcache_crypt.py
|
||||
index b2281d9..524cd21 100644
|
||||
--- a/tests/test_memcache_crypt.py
|
||||
+++ b/tests/test_memcache_crypt.py
|
||||
@@ -4,48 +4,66 @@ from keystoneclient.middleware import memcache_crypt
|
||||
|
||||
|
||||
class MemcacheCryptPositiveTests(testtools.TestCase):
|
||||
- def test_generate_aes_key(self):
|
||||
- self.assertEqual(
|
||||
- len(memcache_crypt.generate_aes_key('Gimme Da Key', 'hush')), 32)
|
||||
+ def _setup_keys(self, strategy):
|
||||
+ return memcache_crypt.derive_keys('token', 'secret', strategy)
|
||||
|
||||
- def test_compute_mac(self):
|
||||
- self.assertEqual(
|
||||
- memcache_crypt.compute_mac('mykey', 'This is a test!'),
|
||||
- 'tREu41yR5tEgeBWIuv9ag4AeKA8=')
|
||||
+ def test_constant_time_compare(self):
|
||||
+ # make sure it works as a compare, the "constant time" aspect
|
||||
+ # isn't appropriate to test in unittests
|
||||
+ ctc = memcache_crypt.constant_time_compare
|
||||
+ self.assertTrue(ctc('abcd', 'abcd'))
|
||||
+ self.assertTrue(ctc('', ''))
|
||||
+ self.assertFalse(ctc('abcd', 'efgh'))
|
||||
+ self.assertFalse(ctc('abc', 'abcd'))
|
||||
+ self.assertFalse(ctc('abc', 'abc\x00'))
|
||||
+ self.assertFalse(ctc('', 'abc'))
|
||||
+
|
||||
+ def test_derive_keys(self):
|
||||
+ keys = memcache_crypt.derive_keys('token', 'secret', 'strategy')
|
||||
+ self.assertEqual(len(keys['ENCRYPTION']),
|
||||
+ len(keys['CACHE_KEY']))
|
||||
+ self.assertEqual(len(keys['CACHE_KEY']),
|
||||
+ len(keys['MAC']))
|
||||
+ self.assertNotEqual(keys['ENCRYPTION'],
|
||||
+ keys['MAC'])
|
||||
+ self.assertIn('strategy', keys.keys())
|
||||
+
|
||||
+ def test_key_strategy_diff(self):
|
||||
+ k1 = self._setup_keys('MAC')
|
||||
+ k2 = self._setup_keys('ENCRYPT')
|
||||
+ self.assertNotEqual(k1, k2)
|
||||
|
||||
def test_sign_data(self):
|
||||
- expected = '{MAC:SHA1}eyJtYWMiOiAiM0FrQmdPZHRybGo1RFFESHA1eUxqcDVq' +\
|
||||
- 'Si9BPSIsICJzZXJpYWxpemVkX2RhdGEiOiAiXCJUaGlzIGlzIGEgdG' +\
|
||||
- 'VzdCFcIiJ9'
|
||||
- self.assertEqual(
|
||||
- memcache_crypt.sign_data('mykey', 'This is a test!'),
|
||||
- expected)
|
||||
-
|
||||
- def test_verify_signed_data(self):
|
||||
- signed = memcache_crypt.sign_data('mykey', 'Testz')
|
||||
- self.assertEqual(
|
||||
- memcache_crypt.verify_signed_data('mykey', signed),
|
||||
- 'Testz')
|
||||
- self.assertEqual(
|
||||
- memcache_crypt.verify_signed_data('aasSFWE13WER', 'not MACed'),
|
||||
- 'not MACed')
|
||||
-
|
||||
- def test_encrypt_data(self):
|
||||
- expected = '{ENCRYPT:AES256}'
|
||||
- self.assertEqual(
|
||||
- memcache_crypt.encrypt_data('mykey', 'mysecret',
|
||||
- 'This is a test!')[:16],
|
||||
- expected)
|
||||
-
|
||||
- def test_decrypt_data(self):
|
||||
- encrypted = memcache_crypt.encrypt_data('mykey', 'mysecret', 'Testz')
|
||||
- self.assertEqual(
|
||||
- memcache_crypt.decrypt_data('mykey', 'mysecret', encrypted),
|
||||
- 'Testz')
|
||||
- self.assertEqual(
|
||||
- memcache_crypt.decrypt_data('mykey', 'mysecret',
|
||||
- 'Not Encrypted!'),
|
||||
- 'Not Encrypted!')
|
||||
+ keys = self._setup_keys('MAC')
|
||||
+ sig = memcache_crypt.sign_data(keys['MAC'], 'data')
|
||||
+ self.assertEqual(len(sig), memcache_crypt.DIGEST_LENGTH_B64)
|
||||
+
|
||||
+ def test_encryption(self):
|
||||
+ keys = self._setup_keys('ENCRYPT')
|
||||
+ # what you put in is what you get out
|
||||
+ for data in ['data', '1234567890123456', '\x00\xFF' * 13
|
||||
+ ] + [chr(x % 256) * x for x in range(768)]:
|
||||
+ crypt = memcache_crypt.encrypt_data(keys['ENCRYPTION'], data)
|
||||
+ decrypt = memcache_crypt.decrypt_data(keys['ENCRYPTION'], crypt)
|
||||
+ self.assertEqual(data, decrypt)
|
||||
+ self.assertRaises(memcache_crypt.DecryptError,
|
||||
+ memcache_crypt.decrypt_data,
|
||||
+ keys['ENCRYPTION'], crypt[:-1])
|
||||
+
|
||||
+ def test_protect_wrappers(self):
|
||||
+ data = 'My Pretty Little Data'
|
||||
+ for strategy in ['MAC', 'ENCRYPT']:
|
||||
+ keys = self._setup_keys(strategy)
|
||||
+ protected = memcache_crypt.protect_data(keys, data)
|
||||
+ self.assertNotEqual(protected, data)
|
||||
+ if strategy == 'ENCRYPT':
|
||||
+ self.assertNotIn(data, protected)
|
||||
+ unprotected = memcache_crypt.unprotect_data(keys, protected)
|
||||
+ self.assertEqual(data, unprotected)
|
||||
+ self.assertRaises(memcache_crypt.InvalidMacError,
|
||||
+ memcache_crypt.unprotect_data,
|
||||
+ keys, protected[:-1])
|
||||
+ self.assertIsNone(memcache_crypt.unprotect_data(keys, None))
|
||||
|
||||
def test_no_pycrypt(self):
|
||||
aes = memcache_crypt.AES
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.3.1.ebuild,v 1.1 2013/08/11 01:54:05 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
#restricted due to packages missing and bad depends in the test ==webob-1.0.8
|
||||
RESTRICT="test"
|
||||
#PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Keystone API"
|
||||
HOMEPAGE="https://github.com/openstack/python-keystoneclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/Babel[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/fixtures[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/mox[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-exclude[${PYTHON_USEDEP}]
|
||||
dev-python/nosehtmloutput[${PYTHON_USEDEP}]
|
||||
dev-python/openstack-nose-plugin[${PYTHON_USEDEP}]
|
||||
=dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.22[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.0.8[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/d2to1-0.2.10[${PYTHON_USEDEP}]
|
||||
<dev-python/d2to1-0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.6[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-0.8.8[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
)
|
||||
# "${FILESDIR}/0.2.3-CVE-2013-2104.patch"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} setup.py nosetests || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST python-novaclient-2.10.0.tar.gz 201808 SHA256 0e67598b514972b7481dd088ed8de14da57f09d316868afc3d60fc444665ee46 SHA512 baf5946a100844484b2e1992009c2a0b2566e678fc03ddde809d18847f31d206097ed8e5666d3b5e3b0035e6b0dcedc637660eaebb342e42c671dc508cd352a9 WHIRLPOOL 6e69fc2f313da6f47a5d69df5d52ae0424d2c32bf21498b0b22ba3363cb8a332f62fbd195b8bae1ada638b9f3cdabc6c15c68071ebde2e4d99d7dc7da709a79e
|
||||
DIST python-novaclient-2.11.1.tar.gz 235696 SHA256 16da7dd327ffa2f87ca62015e4b0ccbbcf6d747c2c9238f72fc3b4cb60075687 SHA512 bfccef01a5ffd612af759578fc768eb9f37e72ec7d6cc8df790fdd4903cfde50fe87cda4584ad13764e960577b10673750a3da4ba5affcb695b6ac08e05445d7 WHIRLPOOL b2bc276e203325a0c95bbd9880e310ba5860db9c5a4ee2d1c7e05993de368f41f50597cbb10f647fc10a3531a1811adc3b3fdf2593bd79caf420ffb654f54a18
|
||||
DIST python-novaclient-2.13.0.tar.gz 237716 SHA256 f48c9c159ea8efd617f0379d1df060ea53f40f40e29ebe733464779267a314e6 SHA512 095aebd6ea2d8bddb2d39bccf679064e053891ce8c351d765a71294f782c5ca2905d5b6357526d625276be9140feddda5486e5cd3b8a32f5f460cedd6b61cb53 WHIRLPOOL 4db0ddc225b3a529ee39fade64ee7b927f7f0df6bb30e2045d6f323d80ab2920a480d71345dd042066c1bada01fd844844c73548b65ab82fcfb7a2c7bb46c1c6
|
||||
DIST python-novaclient-2.14.1.tar.gz 262021 SHA256 1bec24783dec8092b2967ab745be1f66b898c0b9752614a1e5e2438a476e2c32 SHA512 29d4dda2fde95581606107bcdc4e96a5650038e8b3dcc42f35fb6d476fb0cc868680e6244e363353236aca751a1c2adda1d2ca548691ac02426c488d1e49dcb3 WHIRLPOOL e73868bc8e69569997f21881c8262a929fd1bac4f1101b974495a6d5d8bb6f72e98a82c6b337eba0f3d3e113bd9a1fd1ce44b68c49de4dfd310e8c0ca7654623
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-novaclient/python-novaclient-2.10.0-r1.ebuild,v 1.3 2013/05/03 19:03:54 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Nova API"
|
||||
HOMEPAGE="https://github.com/openstack/python-novaclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/iso8601
|
||||
dev-python/mock
|
||||
dev-python/nose
|
||||
dev-python/prettytable
|
||||
dev-python/pytest
|
||||
dev-python/pytest-runner
|
||||
dev-python/requests
|
||||
dev-python/simplejson
|
||||
virtual/python-unittest2[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2
|
||||
dev-python/prettytable
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py nosetests || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST python-quantumclient-2.1.tar.gz 43397 SHA256 4af4e0ff7af90f4e5d22d53a0f3cb74ef0c9a2fdce9619c751d647015dd1d52e SHA512 4c99ec41b2df3c9da14b1786dfaf54b7cd22bec78b670ca6cc0dd3f9e67ca5fa94994156a7c58af4ec116c3ff76f3b8f802605ba948661c332103942f6b0d3f5 WHIRLPOOL dd7557bda467bcb374eaeb42f6ae65dea71c2e1d03228a2f2d546bcc9792f6b6d171482d8d3993196f17959453194a3a660bae8875b6bf1df6affe3c95da3a22
|
||||
DIST python-neutronclient-2.2.6.tar.gz 117690 SHA256 674d3fe98a907aff6001bfa6e5284993bd49295190a3aae5feb862f939b6fb5e SHA512 87a9378471249829b1b83d4f9af2638e481004857246e8810c8a8ed196448262b9e87a7a1f49bb52000a6c6a7ac51e71a4d9cf6a9c1b760cf75414c0e05f64c1 WHIRLPOOL 15d0896bc9d33b387ec856ce626a3fd307f8dddacf84d49dfbb45eabca7fff13c0112ab3bd4258b77e867815222568355bc4c55d271bc0113a05a31c9d75c8f3
|
||||
DIST python-quantumclient-2.2.0.tar.gz 93495 SHA256 3ca074259112379e54314ce672098c41ce38828957ccfa8177498691adde56a4 SHA512 55c1e02b4ffd11240215ff707d23d733b1cdb868b194b6704c93c53c3fb82c55e46baafa8c581fa902d4b16856fca4b54bf75153ca38ce4d50c0057837b5d6c5 WHIRLPOOL 3ec57ac2ed0d5537631b11271d71285a3f1ed95b35f68443a95ce911eb2f049c1c107d7b601c3399eb1ac6021769f245af7702d78e580ff3bfad7a1b20ef63a8
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST python-swiftclient-1.2.0.tar.gz 46999 SHA256 d6c57284240acc4ff4f4d125dc8d152ade395a611b478ed6ec9848bf8d62928a SHA512 fb656ce5889e16f2b5b7549a6ec2c17fb31e91e140642c3ce3e28064d60815b04831b5bfdc61c7a9deeab7f465d5e28578647bdebb30ea90ff42873db23f5c33 WHIRLPOOL 4e6406b68b1f2be098df373d2fbbdf51a089823a51f2540cfce9f2a0b6dc45c893588360e38389b653eb18abaf48788561ff58d7e7f61f1c0f64e4bfb2d179fb
|
||||
DIST python-swiftclient-1.3.0.tar.gz 52707 SHA256 9aac48035d497473bf198f80aab71149765c520611421d640b68feca3e230ebd SHA512 14f6bce84de3a7df926ccb81b94795fb8ccfea54ac7603310b7217a586dcb6e4ca4a63460aabbe2317598554c17d61d08b5b241c381314fc6b89f6544f859a8d WHIRLPOOL 994bdbf686ae3f49eb3f7e3311cda6f5de1a1fa43427825789a757f8671f90dd6cf488e2868e307863498a64808679850addaa21dbba92597e30612d4e674cdb
|
||||
DIST python-swiftclient-1.5.0.tar.gz 61714 SHA256 7307b5797e9c8f61e7cbc98e5248b649c110a17f365613a6e4f94ae1ad2486b8 SHA512 a9343aa4bc6acf238cf09f17b178185db4158ac4f89ef5c1f8a5f473d2640a29d044a060c8b2ed29ded9be683932cfb6f7e51482d1f6eed2ef9cc34e338b3a1f WHIRLPOOL b2a01cc9d44140dedd32c32e4bb955863801883fb7ce25b96fb54bf218637cb165550406e36c85a32514d5c453d0612d71dbcfa9b5b05266ff01d82fd7389fa2
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/python-swiftclient-1.2.0-r1.ebuild,v 1.1 2013/01/11 22:22:18 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings to the OpenStack Object Storage API"
|
||||
HOMEPAGE="http://docs.openstack.org/developer/python-swiftclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/python-swiftclient-1.5.0.ebuild,v 1.1 2013/08/11 02:10:45 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
#restricted due to packages missing and bad depends in the test ==webob-1.0.8
|
||||
RESTRICT="test"
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings to the OpenStack Object Storage API"
|
||||
HOMEPAGE="http://docs.openstack.org/developer/python-swiftclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ~dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
|
||||
~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}]
|
||||
~dev-python/flake8-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/python-keystoneclient[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.22[${PYTHON_USEDEP}] )"
|
||||
|
||||
RDEPEND=">=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/d2to1-0.2.10[${PYTHON_USEDEP}]
|
||||
<dev-python/d2to1-0.3[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
sh run_tests.sh | die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rb-inotify-0.9.0.gem 13312 SHA256 3fc925989db3e897e5e0aa9ef89ff511e8485f21cd7a90c2b4f390fcfc581623 SHA512 83d10102e9c3e55a5387f92bf1926ca26da99a3321dff0123f33ac38eb0dfa3fc416ec37abc3ed53ee1a201655a447a8c8e066859b344967c1c09370311c1abe WHIRLPOOL 6f09acb5e6a537854b23d5e6c046ba73a21b940a03bc91d5a2ccff860152e20c3ee8287326254895ab96dece2965c28a906eccd9e5a9d09988e3ecb34d1fc3e2
|
||||
DIST rb-inotify-0.9.1.gem 13312 SHA256 f275cb0c683ef4b31f41540dcf856a527e2083f1dcbbdb6f1dd4b73d60c47ef1 SHA512 20bc00abae65588e3e9a6fb7864dcc31f4fcd593f145c179f53ace27c9102501a53005540f9877960df37d19eb586036fd2749bba35410e2355a5fc5ecb1c76e WHIRLPOOL 19272d635d82e38cd0eb83d0d6f32cb62b7af944a2727ce69b82d8a4e8296be9a285cb60a34dc364b1ca06f3e7b5f01ea763d08a5de01f306ad3849599af51c2
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.9.1.ebuild,v 1.1 2013/08/11 01:12:20 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="VERSION"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="rb-inotify.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A thorough inotify wrapper for Ruby using FFI."
|
||||
HOMEPAGE="https://github.com/nex3/rb-inotify"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ffi"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid unneeded dependency on jeweler.
|
||||
sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die
|
||||
|
||||
# Remove mandatory markup processor from yard options, bug 436112.
|
||||
sed -i -e '/maruku/d' .yardopts || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
# jruby has a native implementation and should not list ffi
|
||||
# in the gemspec.
|
||||
sed -i -e '/ffi/d' rb-inotify.gemspec || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST rspec-expectations-2.12.1-git.tgz 82402 SHA256 6166e27de969815085832f56d253521bd1266b762134bc791727d7638a89e38b SHA512 2183f70e8fe885878121b6070fede90458e4dd628d9b7531ee7f2b8ce5ce9f3b35ea219ed96ebd63be6f430fb03c8049a8d11b8666ddfa6961d8e5067e5b0fcb WHIRLPOOL 5191c6dd4623f54412d7443321614bf84c583e2e0048344378dbe7aa49d9ea5b2f6a5f8b39e473af48899d6325c0b867734acc16e6478ee9192641368332c48a
|
||||
DIST rspec-expectations-2.13.0-git.tgz 86856 SHA256 52f2aeb70289c21c7b8755c914a31b5cdd7c465bd9828730ac6889eecdb28f01 SHA512 0400797e0ced2d6ce8adddcba049e4f94fe3ec0da027869c86204dd3794738d59fe8594ee8e12fc733d39ba99820346798f37272c1a5eafa87d302c4e6ca0947 WHIRLPOOL 5379cb91cd4deb8786abafdc462a84644656d317f6c805f6a1494e6d2f95173778b877fcc803fe99ff590124724d29eaec39c8c66f3b246e653686aae28f9e76
|
||||
DIST rspec-expectations-2.14.0-git.tgz 90721 SHA256 e421d5c1127228de399918c465e397242beada06714b62fabacdfd63f13c1971 SHA512 d8db111e838f3a8aa758f697bcafb1f4213dedb75a9207d38a585e3e78ff5cbd87ac2f76c2253212b5d0d3fe9276cfbdd4f5f2dacdc6c265937bc951f45de30a WHIRLPOOL 18f54f7a54beef47c91017d3adac830531c5984d90af898b4c2f8b0f5ecaf11cbd57e50a972031464010a302e5602a51537b1b086f48a5bc3ef6b89270708ce5
|
||||
DIST rspec-expectations-2.14.1-git.tgz 91198 SHA256 484b04f35f2bc6600879fdea5095b4ee143fac080007074a4f9cd7399ee5853c SHA512 ad5dfdc91fff058e47345cafa8b5314ca36e232ae4de37d1cd7ce6d34f5703beb455edcc81a94632206a61345db03f0a16c294e09d5ffe4095bf9a1a3cb737c3 WHIRLPOOL 5f3cb21f18f9ae544d081000d50c3e14ebc90a6a860d16e2622efac044c619925a537d5a0193b6101b8eefaebff2db19897779fa8e4a644610530c4c4b777187
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-expectations/rspec-expectations-2.14.1.ebuild,v 1.1 2013/08/11 01:06:02 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.3"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/rspec-core-2.11.0:2
|
||||
>=dev-ruby/rspec-mocks-2.14.0:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
|
||||
# fix up the gemspecs
|
||||
sed -i \
|
||||
-e '/git ls/d' \
|
||||
-e '/add_development_dependency/d' \
|
||||
"${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.14.3.ebuild,v 1.1 2013/08/11 01:04:03 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
|
||||
HOMEPAGE="http://rspec.rubyforge.org/"
|
||||
SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-core-2.10.0:2
|
||||
dev-ruby/rspec-expectations:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Don't set up bundler: it doesn't understand our setup.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
|
||||
# Remove the Gemfile to avoid running through 'bundle exec'
|
||||
rm Gemfile || die
|
||||
|
||||
# Remove .rspec options to avoid dependency on newer rspec when
|
||||
# bootstrapping.
|
||||
rm .rspec || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST tig-1.0.tar.gz 188543 SHA256 e1ecadef82027a94a6489e84a5c02fd5c0d4977bcb13ba2df0a52cca05ad6f71 SHA512 3ac55a7efda34806499950eeee99909afcb4a3328fb60829b658e226915014e844cb0d872b661959d13fc08bef542f5eb635d3dcb695251e4de18ad30371e379 WHIRLPOOL fa8fb9c6dc4bb710d129fa1fd9be2fb243ae13e3327ca47c477d6b3a4e95d261b9f017e2e26f251af5b7ad5d63b8e2fa29a6d9292eb589209cc80602e35f6ea8
|
||||
DIST tig-1.1.tar.gz 201009 SHA256 cb8972ba2fe5015f66f064f9ef63c471b86e5d3f06a6d7719cd6753c29c2c0a2 SHA512 c6cd2598aeed4a7abf3e4b191a97957c9e20056066cdc82235058e994faf665f7b953e4e04497daa0daac26e1f5d08876155cebee0d0beafc02aa4d96ce633b1 WHIRLPOOL 334b5732e36c83f30d4fb69803d7a3e8bf8505016b86fba3869a13c7ae72a6eb61e03dc9e09a4d268685df28292c652bf41e9fd07dc99b9f3e3f2c62c0962c13
|
||||
DIST tig-1.2.tar.gz 216724 SHA256 9bf8a8b83761634d8431cb38ef5a133371a5e09460750706e6de3813f06242a4 SHA512 4c769c2aca5d8957f322beb41f340a439315587194106e8f18cba75cbe3b61f8beda8d5de85699bbd93306ec8caceeb342bb1861556d50f46a955710e81f920f WHIRLPOOL 72bda50e115284d6c3fd76012ed1d1d70ce13c514e7f3e47ee1b5c3b8834d41616a67f851d2a979253cc71c21ac7d1017c2f044ad12a5b16a889529338cbb762
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/tig/tig-1.2.ebuild,v 1.1 2013/08/10 19:07:01 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit bash-completion-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tig: text mode interface for git"
|
||||
HOMEPAGE="http://jonas.nitro.dk/tig/"
|
||||
SRC_URI="http://jonas.nitro.dk/tig/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
CDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-vcs/git"
|
||||
|
||||
src_configure() {
|
||||
econf CURSES_LIB="$($(tc-getPKG_CONFIG) --libs ncursesw)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install-doc-man
|
||||
dodoc BUGS NEWS
|
||||
dohtml manual.html README.html
|
||||
newbashcomp contrib/tig-completion.bash ${PN}
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.7.ebuild,v 1.1 2013/06/24 16:11:50 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils scons-utils games
|
||||
|
||||
DESCRIPTION="Futuristic real-time strategy game"
|
||||
HOMEPAGE="http://www.boswars.org/"
|
||||
SRC_URI="http://www.boswars.org/dist/releases/${P}-src.tar.gz
|
||||
mirror://gentoo/bos.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/lua
|
||||
media-libs/libsdl[audio,video]
|
||||
media-libs/libpng:0
|
||||
media-libs/libvorbis
|
||||
media-libs/libtheora
|
||||
media-libs/libogg
|
||||
virtual/opengl
|
||||
x11-libs/libX11"
|
||||
|
||||
S=${WORKDIR}/${P}-src
|
||||
|
||||
src_prepare() {
|
||||
rm -f doc/{README-SDL.txt,guichan-copyright.txt}
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-gentoo.patch \
|
||||
"${FILESDIR}"/${P}-scons-blows.patch
|
||||
sed -i \
|
||||
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
|
||||
engine/include/stratagus.h \
|
||||
|| die
|
||||
sed -i \
|
||||
-e "/-O2/s:-O2.*math:${CXXFLAGS} -Wall:" \
|
||||
SConstruct \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newgamesbin build/${PN}-release ${PN} || die
|
||||
insinto "${GAMES_DATADIR}"/${PN}
|
||||
doins -r campaigns graphics intro languages maps patches scripts sounds units \
|
||||
|| die
|
||||
newicon "${DISTDIR}"/bos.png ${PN}.png
|
||||
make_desktop_entry ${PN} "Bos Wars"
|
||||
# COPYRIGHT.txt is referenced by the html
|
||||
dodoc CHANGELOG COPYRIGHT.txt README.txt
|
||||
dohtml -r doc/*
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r7.ebuild,v 1.1 2013/08/10 19:09:34 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="library for decoding ATSC A/52 streams used in DVD"
|
||||
HOMEPAGE="http://liba52.sourceforge.net/"
|
||||
SRC_URI="http://liba52.sourceforge.net/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="djbfft oss static-libs"
|
||||
|
||||
RDEPEND="djbfft? ( sci-libs/djbfft[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r8
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
DOCS=( AUTHORS ChangeLog HISTORY NEWS README TODO doc/liba52.txt )
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-build.patch \
|
||||
"${FILESDIR}"/${P}-freebsd.patch \
|
||||
"${FILESDIR}"/${P}-tests-optional.patch \
|
||||
"${FILESDIR}"/${P}-test-hidden-symbols.patch
|
||||
|
||||
sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die #466978
|
||||
|
||||
eautoreconf
|
||||
|
||||
filter-flags -fprefetch-loop-arrays
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf
|
||||
use oss || myconf="${myconf} --disable-oss"
|
||||
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable djbfft) \
|
||||
${myconf}
|
||||
|
||||
# remove useless subdirs
|
||||
if ! multilib_is_native_abi ; then
|
||||
sed -i \
|
||||
-e 's/ src//' \
|
||||
-e 's/ libao//' \
|
||||
Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --all
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/gavl/gavl-1.4.0-r1.ebuild,v 1.1 2013/08/10 22:25:39 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="library for handling uncompressed audio and video data"
|
||||
HOMEPAGE="http://gmerlin.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/gmerlin/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS README TODO )
|
||||
|
||||
src_prepare() {
|
||||
# AC_CONFIG_HEADERS, bug #467736
|
||||
sed -i \
|
||||
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
||||
-e 's:-mfpmath=387::g' \
|
||||
-e 's:-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math::g' \
|
||||
-e '/LDFLAGS=/d' \
|
||||
configure.ac || die
|
||||
|
||||
export AT_M4DIR="m4"
|
||||
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-libpng because it's only used for tests
|
||||
local myeconfargs=(
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-libpng
|
||||
$(use_with doc doxygen)
|
||||
--without-cpuflags
|
||||
)
|
||||
|
||||
autotools-multilib_src_configure
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/lcms-2.5-r1.ebuild,v 1.1 2013/08/10 23:13:05 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="modules"
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="A lightweight, speed optimized color management engine"
|
||||
HOMEPAGE="http://www.littlecms.com/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/lcms2-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc jpeg static-libs test tiff zlib"
|
||||
|
||||
RDEPEND="jpeg? ( virtual/jpeg[${MULTILIB_USEDEP}] )
|
||||
tiff? ( media-libs/tiff:0=[${MULTILIB_USEDEP}] )
|
||||
zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/lcms2-${PV}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with jpeg)
|
||||
$(use_with tiff)
|
||||
$(use_with zlib)
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
|
||||
if use doc; then
|
||||
docinto pdf
|
||||
dodoc doc/*.pdf
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST libcddb-1.3.2.tar.bz2 352909 RMD160 e38ed8c7dd5a9b4a5b2a1772a9e98f914872c397 SHA1 2a7855918689692ff5ca3316d078a859d51959ce SHA256 35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b
|
||||
DIST libcddb-1.3.2.tar.bz2 352909 SHA256 35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b SHA512 0e07e7d37f2013164d75b530a5528f54847271fd20f3b7bedb192a05d1f61dcf006d10dc2927efe155a01eddcc57b940bc31d8ac88d5dfc4f1a09771caa84e0a WHIRLPOOL 83a76a9f3c602c1ea3fc0fbce77cc51b3dec03f39a3ba2b89d7c1e6a6875a3fdc58323728d9f417bc6b4f3daea506848a4b36b7a75a977b930d24f11f7d10d61
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcddb/libcddb-1.3.2-r1.ebuild,v 1.1 2013/08/10 21:01:35 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="A library for accessing a CDDB server"
|
||||
HOMEPAGE="http://libcddb.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND="virtual/libiconv[${MULTILIB_USEDEP}]"
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=( /usr/include/cddb/version.h )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=( --without-cdio )
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-multilib_src_compile
|
||||
|
||||
if use doc; then
|
||||
cd "${S}"/doc
|
||||
doxygen doxygen.conf || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
|
||||
use doc && dohtml "${S}"/doc/html/*
|
||||
}
|
@ -1 +1 @@
|
||||
DIST libgii-1.0.2.src.tar.bz2 701099 RMD160 8109f5e9bdd061c3d90120b439c471f5c4369971 SHA1 5ee0cd4a5652df85d68303ace41b88df825a6ea0 SHA256 f72201143281ba972fd9e249afbe342c54e73c29ec996adb0d6e85322c6ee49d
|
||||
DIST libgii-1.0.2.src.tar.bz2 701099 SHA256 f72201143281ba972fd9e249afbe342c54e73c29ec996adb0d6e85322c6ee49d SHA512 d45b236e08bb8c6a7a7741ae694650dfc5681712a174f923c9132c41acb388d0d6dbc5589104a7a6bc73c98088f2b5967ee726d83c1f3e913602661c8d30bf07 WHIRLPOOL 1e38eddf5eb2f070076ffc05b0e32bc6ad8b9dd96b9bb82e0e90eb90d67b15e42700c47a65b8b933082e5a70c508b4cd4beeb8a707f434bda91793cf0e9ce79a
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libgii/libgii-1.0.2-r1.ebuild,v 1.1 2013/08/11 00:53:39 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
|
||||
HOMEPAGE="http://www.ggi-project.org"
|
||||
SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86dga[${MULTILIB_USEDEP}]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.11 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.9.0-linux26-headers.patch
|
||||
"${FILESDIR}"/${P}-configure-cpuid-pic.patch
|
||||
"${FILESDIR}"/${P}-libtool_1.5_compat.patch
|
||||
)
|
||||
|
||||
DOCS=( ChangeLog ChangeLog.1999 FAQ NEWS README )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=( /usr/include/ggi/system.h )
|
||||
|
||||
src_prepare() {
|
||||
rm -f acinclude.m4 m4/libtool.m4 m4/lt*.m4
|
||||
AT_M4DIR=m4 autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=( $(use_with X x) $(use_enable X x) )
|
||||
autotools-multilib_src_configure
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmimic/libmimic-1.0.4-r2.ebuild,v 1.1 2013/08/10 19:09:46 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="Video encoding/decoding library for the codec used by msn"
|
||||
HOMEPAGE="http://farsight.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/farsight/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND="dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r8
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf="--disable-doxygen-docs"
|
||||
multilib_is_native_abi && myconf="$(use_enable doc doxygen-docs)"
|
||||
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use doc && multilib_is_native_abi; then
|
||||
dohtml doc/api/html/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmms/libmms-0.6.2-r1.ebuild,v 1.1 2013/08/10 19:09:52 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="Common library for accessing Microsoft Media Server (MMS) media streaming protocol"
|
||||
HOMEPAGE="http://sourceforge.net/projects/libmms/ http://launchpad.net/libmms/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r8
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
@ -1 +1 @@
|
||||
DIST libmpeg2-0.5.1.tar.gz 524776 RMD160 00b2d669655ed3f7a176f5eecc925045159a0301 SHA1 0f9163d8fd52db5f577ebe45636f674252641fd7 SHA256 dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
|
||||
DIST libmpeg2-0.5.1.tar.gz 524776 SHA256 dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4 SHA512 3648a2b3d7e2056d5adb328acd2fb983a1fa9a05ccb6f9388cc686c819445421811f42e8439418a0491a13080977f074a0d8bf8fa6bc101ff245ddea65a46fbc WHIRLPOOL 2ca188b98ca0119b61c590db88e678f1e1ed7b68a50e18bcbc9ce0e312796845d3d1c6a4e76e98754e2a635f83f1b7800a938290a65456723328db02faf59fe5
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.5.1-r2.ebuild,v 1.1 2013/08/10 20:36:50 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils libtool multilib-minimal
|
||||
|
||||
DESCRIPTION="library for decoding mpeg-2 and mpeg-1 video"
|
||||
HOMEPAGE="http://libmpeg2.sourceforge.net/"
|
||||
SRC_URI="http://libmpeg2.sourceforge.net/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="sdl static-libs X"
|
||||
|
||||
RDEPEND="sdl? ( media-libs/libsdl )
|
||||
X? ( x11-libs/libXv
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXt )
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r9
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-arm-private-symbols.patch \
|
||||
"${FILESDIR}"/${P}-global-symbol-test.patch \
|
||||
"${FILESDIR}"/${P}-armv4l.patch
|
||||
elibtoolize
|
||||
### PowerPC fix for altivec
|
||||
epatch "${FILESDIR}"/${P}-altivec.patch
|
||||
eautoconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf="--disable-sdl --without-x"
|
||||
multilib_is_native_abi && myconf="$(use_enable sdl) $(use_with X x)"
|
||||
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
${myconf}
|
||||
|
||||
# remove useless subdirs
|
||||
if ! multilib_is_native_abi ; then
|
||||
sed -i \
|
||||
-e 's/ libvo src//' \
|
||||
Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake OPT_CFLAGS="${CFLAGS}" \
|
||||
MPEG2DEC_CFLAGS="${CFLAGS}" \
|
||||
LIBMPEG2_CFLAGS=""
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
Broken --enable/disable condition.
|
||||
|
||||
Index: libvisual-0.4.0/configure.ac
|
||||
===================================================================
|
||||
--- libvisual-0.4.0.orig/configure.ac
|
||||
+++ libvisual-0.4.0/configure.ac
|
||||
@@ -191,7 +191,7 @@ AIX_COMPILE_INFO="AIX's C compiler needs
|
||||
with the right compiler. Ususally just '_r' is appended
|
||||
to the compiler name."
|
||||
|
||||
-AC_ARG_ENABLE([enable_threads],
|
||||
+AC_ARG_ENABLE([threads],
|
||||
AC_HELP_STRING([--enable-threads],
|
||||
[Turn on basic thread support @<:@default=enabled@:>@]),
|
||||
[enable_threads=$enableval],
|
@ -0,0 +1,24 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=431066
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456856
|
||||
|
||||
diff -u libvisual-0.4.0/libvisual/lv_cpu.c libvisual-0.4.0/libvisual/lv_cpu.c
|
||||
--- libvisual-0.4.0/libvisual/lv_cpu.c
|
||||
+++ libvisual-0.4.0/libvisual/lv_cpu.c
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
/* The sigill handlers */
|
||||
#if defined(VISUAL_ARCH_X86) //x86 (linux katmai handler check thing)
|
||||
-#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE) && defined(X86_FXSR_MAGIC)
|
||||
+#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE)
|
||||
static void sigill_handler_sse( int signal, struct sigcontext sc )
|
||||
{
|
||||
/* Both the "xorps %%xmm0,%%xmm0" and "divps %xmm0,%%xmm1"
|
||||
@@ -109,7 +109,7 @@
|
||||
}
|
||||
}
|
||||
#endif
|
||||
-#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE && X86_FXSR_MAGIC */
|
||||
+#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE */
|
||||
|
||||
#if defined(VISUAL_OS_WIN32)
|
||||
LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep)
|
@ -0,0 +1,14 @@
|
||||
Needed so that lvconfig.h gets the correct define for amd64.
|
||||
|
||||
Index: libvisual-0.4.0/configure.ac
|
||||
===================================================================
|
||||
--- libvisual-0.4.0.orig/configure.ac
|
||||
+++ libvisual-0.4.0/configure.ac
|
||||
@@ -780,6 +780,7 @@ echo >>$outfile
|
||||
lv_alpha=$lv_alpha
|
||||
lv_sparc=$lv_sparc
|
||||
lv_ix86=$lv_ix86
|
||||
+ lv_x86_64=$lv_x86_64
|
||||
lv_powerpc=$lv_powerpc
|
||||
lv_arch_unknown=$lv_arch_unknown
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/libvisual-0.4.0-r3.ebuild,v 1.2 2013/08/11 03:11:49 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools-multilib
|
||||
|
||||
DESCRIPTION="Libvisual is an abstraction library that comes between applications and audio visualisation plugins."
|
||||
HOMEPAGE="http://libvisual.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0.4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug nls static-libs threads"
|
||||
|
||||
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r9
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-better-altivec-detection.patch
|
||||
"${FILESDIR}"/${P}-inlinedefineconflict.patch
|
||||
"${FILESDIR}"/${P}-conditions.patch
|
||||
"${FILESDIR}"/${P}-detect_amd64.patch
|
||||
"${FILESDIR}"/${P}-cond.patch
|
||||
)
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/libvisual-0.4/libvisual/lvconfig.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
autotools-multilib_src_prepare
|
||||
# autogenerated, causes problems for out of tree builds
|
||||
rm -f libvisual/lvconfig.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
$(use_enable nls)
|
||||
$(use_enable threads)
|
||||
$(use_enable debug)
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.9.7-r1.ebuild,v 1.1 2013/08/10 23:13:32 aballier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# this ebuild is only for the libtiff.so.3 (+ 4) and libtiffxx.so.3 (+ 4) SONAME for ABI compat
|
||||
|
||||
inherit eutils libtool multilib multilib-minimal
|
||||
|
||||
DESCRIPTION="Library for manipulation of TIFF (Tag Image File Format) images"
|
||||
HOMEPAGE="http://www.remotesensing.org/libtiff/"
|
||||
SRC_URI="ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz"
|
||||
|
||||
LICENSE="libtiff"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cxx jbig jpeg zlib"
|
||||
|
||||
RDEPEND="jpeg? ( virtual/jpeg[${MULTILIB_USEDEP}] )
|
||||
jbig? ( media-libs/jbigkit[${MULTILIB_USEDEP}] )
|
||||
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )
|
||||
!media-libs/tiff-compat
|
||||
!=media-libs/tiff-3*:0
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20130224-r10
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-CVE-2012-{4447,4564,5581}.patch \
|
||||
"${FILESDIR}"/${P}-tiffinfo-exif.patch \
|
||||
"${FILESDIR}"/${P}-printdir-width.patch
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--libdir=/libdir \
|
||||
--disable-static \
|
||||
$(use_enable cxx) \
|
||||
$(use_enable zlib) \
|
||||
$(use_enable jpeg) \
|
||||
$(use_enable jbig) \
|
||||
--without-x
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# Let `make install` and libtool handle insecure runpath(s)
|
||||
dodir tmp
|
||||
emake DESTDIR="${ED}/tmp" install
|
||||
|
||||
# .so.3 (upstream) is used by sci-chemistry/icm
|
||||
# .so.4 (Debian) is used by net-im/skype
|
||||
exeinto /usr/$(get_libdir)
|
||||
doexe "${ED}"/tmp/libdir/libtiff$(get_libname 3)
|
||||
dosym libtiff$(get_libname 3) /usr/$(get_libdir)/libtiff$(get_libname 4)
|
||||
if use cxx; then
|
||||
doexe "${ED}"/tmp/libdir/libtiffxx$(get_libname 3)
|
||||
dosym libtiffxx$(get_libname 3) /usr/$(get_libdir)/libtiffxx$(get_libname 4)
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/tmp
|
||||
}
|
@ -1 +1 @@
|
||||
Sat, 10 Aug 2013 18:36:55 +0000
|
||||
Sun, 11 Aug 2013 06:06:55 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat, 10 Aug 2013 18:36:56 +0000
|
||||
Sun, 11 Aug 2013 06:06:55 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install
|
||||
DEPEND=>=dev-lang/spidermonkey-1.8.5:0 >=sys-libs/readline-6.0 >=net-misc/curl-7.17.0 >=dev-libs/libpcre-7.8 >=dev-libs/openssl-0.9.8j odbc? ( dev-db/unixODBC ) virtual/pkgconfig app-arch/unzip
|
||||
DESCRIPTION=editor, browser, and mail client using the /bin/ed interface
|
||||
EAPI=4
|
||||
HOMEPAGE=http://the-brannons.com/edbrowse/
|
||||
IUSE=linguas_fr odbc
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/spidermonkey-1.8.5:0 >=sys-libs/readline-6.0 >=net-misc/curl-7.17.0 >=dev-libs/libpcre-7.8 >=dev-libs/openssl-0.9.8j odbc? ( dev-db/unixODBC )
|
||||
SLOT=0
|
||||
SRC_URI=http://the-brannons.com/edbrowse/edbrowse-3.4.9.zip
|
||||
_eclasses_=eutils 63afaaed8aa819fdcb814c7cd39495a2 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=45014a92a370a579db3c8d60fd639ecf
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( dev-lang/python:2.7 ) dev-python/python-exec[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=Provides services for discovering, registering, and retrieving virtual machine images with Openstack
|
||||
EAPI=5
|
||||
HOMEPAGE=https://launchpad.net/glance
|
||||
IUSE=ldap mysql postgres +sqlite +swift python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/boto dev-python/anyjson[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/eventlet-0.9.12[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/greenlet-0.3.1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/httplib2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/iso8601[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/jsonschema-0.7[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] <dev-python/jsonschema-1[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/kombu[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/lxml[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/oslo-config-1.1.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/passlib[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/paste[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pastedeploy[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pycrypto >=dev-python/python-keystoneclient-0.2.0[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/python-glanceclient[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/routes[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-python/sqlalchemy-migrate-0.7 >=dev-python/webob-1.2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] virtual/python-argparse[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] swift? ( >=dev-python/python-swiftclient-1.2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] <dev-python/python-swiftclient-2[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) sqlite? ( >=dev-python/sqlalchemy-0.7[sqlite] <dev-python/sqlalchemy-0.8[sqlite] ) mysql? ( >=dev-python/sqlalchemy-0.7[mysql] <dev-python/sqlalchemy-0.8[mysql] ) postgres? ( >=dev-python/sqlalchemy-0.7[postgres] <dev-python/sqlalchemy-0.8[postgres] ) ldap? ( dev-python/python-ldap ) python_targets_python2_7? ( dev-lang/python:2.7 ) dev-python/python-exec[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
REQUIRED_USE=|| ( ldap mysql postgres sqlite ) || ( python_targets_python2_7 )
|
||||
SLOT=0
|
||||
SRC_URI=http://launchpad.net/glance/grizzly/2013.1.2/+download/glance-2013.1.2.tar.gz
|
||||
_eclasses_=distutils-r1 c1ae0d90d918406fff8ee3676a013046 eutils 63afaaed8aa819fdcb814c7cd39495a2 multibuild c2f33b0eedd7bcfd5bc226baa8da7837 multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 python-r1 32798682168185fa4a903cb655c89f1d python-utils-r1 e3288ba49a9a4406c283001e4d284aad toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=bffd392839ce5248684bf9619c3478e1
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install prepare
|
||||
DEPEND=sys-libs/zlib app-arch/bzip2
|
||||
DESCRIPTION=A PGP packet visualizer
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.mew.org/~kazu/proj/pgpdump/
|
||||
KEYWORDS=~amd64 ~ppc ~sparc ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=sys-libs/zlib app-arch/bzip2
|
||||
SLOT=0
|
||||
SRC_URI=http://www.mew.org/~kazu/proj/pgpdump/pgpdump-0.28.tar.gz
|
||||
_eclasses_=eutils 63afaaed8aa819fdcb814c7cd39495a2 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=eae5305e0d0d39c5eb9f775e756fa505
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=|| ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Library for handling paper characteristics
|
||||
EAPI=4
|
||||
HOMEPAGE=http://packages.debian.org/unstable/source/libpaper
|
||||
IUSE=abi_x86_32 abi_x86_64 abi_x86_x32 abi_x86_32 abi_x86_64 abi_mips_n32 abi_mips_n64 abi_mips_o32
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r10 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz
|
||||
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 63afaaed8aa819fdcb814c7cd39495a2 libtool b1c8688e60f9580bcb9bb46e08737eb1 multibuild c2f33b0eedd7bcfd5bc226baa8da7837 multilib 892e597faee02a5b94eb02ab512e7622 multilib-build 812deed50460b095dc41672b2da354eb multilib-minimal 09c985fcba99d0f16fc7161fffa80730 multiprocessing a2130e6fc4aa4c6a24b265ca0cbcc2b6 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
|
||||
_md5_=4bd08398429d771492e925507ee41ada
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue