Sync with portage [Mon Sep 5 23:03:33 MSK 2016].

mhiretskiy
root 8 years ago
parent 94f31c1ef0
commit 8da313e5c9

@ -0,0 +1 @@
DIST zstd-1.0.0.tar.gz 593430 SHA256 197e6ef74da878cbf72844f38461bb18129d144fd5221b3598e973ecda6f5963 SHA512 ba7b1c993656fa220dd8d4c8cd6b7999b0d7b59b4290d7767063f6c4bfbb81e04b9d9890dea4d223d48082ab253159209d6187dc7b42cafc28ebc738bfa17ace WHIRLPOOL 129bd4fb25eddcb63054ce171cc1051feffcae914661ef7c96f0147edfcaf489f4affbd7940e72aa3d742bd89068cb5074e61634d3480f8c178838d4fb4bf46d

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ruby@gentoo.org</email>
<name>Gentoo Ruby Project</name>
<maintainer type="person">
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
<upstream>
<remote-id type="github">mcmire/matchy</remote-id>
<remote-id type="github">facebook/zstd</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,14 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="zstd fast compression library"
HOMEPAGE="http://facebook.github.io/zstd/"
SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

@ -1 +1,2 @@
DIST joe-4.2.tar.gz 1341048 SHA256 bc5da64bc5683ab7b2962a33214b3537ea17ff6528a3c60ba170359e31e86974 SHA512 7c34f4467d89330ac195cfa76481d9ede4ee3764d0b1b24d091d1e6325bff451d2a9bc9f86a73404c9909587bcbe3e0c14511b739ec121edb7595ea1fcba028f WHIRLPOOL 9dd996e266d96894d8e8b17ab9cadd5eef02568b4778245c9af82f745b288fc1dbb7ee401da2a148a6f5afaf627b91638fad25adafb8c5671576fa38ff31aedc
DIST joe-4.3.tar.gz 1270523 SHA256 985d6a8f943a06e64165996c24d7fecaeae8c59efb52998a49b3fb4b8a3e26e1 SHA512 a711ce129518863856b8f581ac7acdd7661f5e571cb77c5411317e0db0344c9ba44e73ec2ca9a307e639170a7914d53352eebcd00a33c9270809551f12376e69 WHIRLPOOL a09bb8170942c470b7e9d1d43fbba003d7fa3c25f47ee8a6902a249b7cc253d1b7d7a1431b447b0729c51102cb49e241625c7d30bb7b11fc1d30a5e6c9c11cd1

@ -0,0 +1,30 @@
# HG changeset patch
# User Lars Wendler <polynomial-c@gentoo.org>
# Date 1473084371 -7200
# Mon Sep 05 16:06:11 2016 +0200
# Node ID ae8afbceeed4e446a63ad3111291a98d1390ade2
# Parent 57c0a14aedcb8eef82d5828721b55aac02847ee7
configure.ac: search for ncurses' tinfo library if available
ncurses can be built to split out the lowlevel terminfo library
from ncurses library. In this case there's a libtinfo.so file
alongside the usual libncurses*.so files.
This patch adds tinfo to AC_SEARCH_LIBS when ncurses support
is enabled. Without this patch configure silently fails to find
tgetflag and thus does not link to ncurses at all.
I've tested this change on both, ncurses with separate tinfo lib
and ncurses without separate tinfo lib and in both cases joe
successfully links against ncurses.
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@
curses=$enableval, curses=yes)
if test "$curses" = "yes"; then
- search_libs="ncurses curses"
+ search_libs="tinfo ncurses curses"
fi
AC_ARG_ENABLE(termcap,

@ -0,0 +1,46 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools
DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
HOMEPAGE="https://sourceforge.net/projects/joe-editor/"
SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz"
LICENSE="GPL-1+ CC-BY-3.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
IUSE="xterm"
DEPEND=">=sys-libs/ncurses-5.2-r2:0="
RDEPEND="${DEPEND}
xterm? ( >=x11-terms/xterm-239 )"
DOCS=( README.md NEWS.md docs/hacking.md docs/man.md )
PATCHES=( "${FILESDIR}/${PN}-4.3-tinfo.patch" )
src_prepare() {
default
# Enable xterm mouse support in the rc files
if use xterm; then
cd "${S}"/rc || die
local i
for i in *rc*.in; do
sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die
done
fi
eautoreconf
}
pkg_postinst() {
if use xterm; then
elog "To enable full xterm clipboard you need to set the allowWindowOps"
elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm"
elog "This is false by default due to potential security problems on some"
elog "architectures (see bug #91453)."
fi
}

@ -1,4 +1,3 @@
DIST mg-20110905.tar.gz 138805 SHA256 1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229 SHA512 b490a5a3526d35839353e138f33ac924c5afbbf7e5c9faa20ceccb82e1dc1e6a3f0726b32bac7d43dcf8a410b1b8525067da5557cf669c52a9e32d1d2f45a8a4 WHIRLPOOL 64dd179462a8c9e53946c756a4975ffd2e5bf1758a300fa699032542a6e2470f9ed03f9fe1a88ac441cf17ac20c2575f9b6c5c1c396c5a7915564fbedfb1c854
DIST mg-20150323.tar.gz 142105 SHA256 d71b24d47d3e1426f162e446d92dfa457df96dd47c1289419cba9fd14c2c3afb SHA512 747a04c203509cdbe84d9cea6c5be93585cdd5cb855b556ea5dee273a2923a4a68bee3f952cf92d584fcdd682049cb4442c21888304ba036851127174457351f WHIRLPOOL bdba74b62034a6613434fc3efea7b56fa1599b6059ab97dbd760b013be7dc50ab13dfcee3f5fb1f41f4c26c3f0146583680134d3809ec7977a14a28cb345c6db
DIST mg-20160118.tar.gz 144823 SHA256 26450b2564bec0b0afc465fd24a1917dc31508c5500c3a36823b9c763a2b8636 SHA512 ed4805d27a7a16b931767ab3af084491d219b6262ce18b43af019eb6a4f07d28d203aeab02c1dab8326bfe464eee1d6009bbf82b30ebd38945c446e7bf766ce8 WHIRLPOOL 4abd59bbfe33e91a3e3ee0bb4763c77298994c6ce51f0338ef6c186ae675c3accfa72e0421b4dbd62fd150880b7bf0346710a4c0ce3cd54b55dc5a0b345cff66
DIST mg-20160421.tar.gz 145187 SHA256 b5dd8fbecb8a0ff0f32588c448f22f25fafcbfb297857e76d2883598a3e63a9a SHA512 7a4fb9d8958952a1b430bda88cafa251aab74691073d103941bfc2cce495ad3831b2c722db044791d61ae2aee9a5a9acaedde0090964129822c94745d89469ed WHIRLPOOL 9a040a69c9d57232c411da3859e80c84f2f250f2fd78cd2799cfb82243fdd9d01d374edb23de44d6eb94b9ab86009458b3c7c4cf34b738c45d4622e6c67dc99b
DIST mg-20160905.tar.gz 144991 SHA256 72c14476f98e341a01520f09ab8dfdd52663498d9dc14d0831c31697a08b8349 SHA512 7ee51739ef15c70e28e81b8da70d9d85534c6f5d7ddf3c8530dad8b9be73c6b519c002b219cdc782e8080fbe4cc5c09a33e6eb88b1e7b4e6771b2f5d5cff9213 WHIRLPOOL b7f17f91f366e63ae3da002af245eb66ee682748df9d7bdb53fb14cd474b44593d0e0e4f73ed26f727ec71dd39e4f3385e6bac9670b094e38fb4486f79398c09

@ -1,49 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit toolchain-funcs
DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
HOMEPAGE="http://homepage.boetes.org/software/mg/"
SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
LICENSE="public-domain ISC BSD"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="livecd"
RDEPEND="sys-libs/ncurses:0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
# remove OpenBSD specific easter egg
sed -i -e 's/theo\.o//' Makefile.in || die
sed -i -e '/theo_init/d' main.c || die
}
src_configure() {
# econf won't work, as this script does not accept any parameters
./configure || die "configure failed"
}
src_compile() {
emake CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
}
src_install() {
einstall
dodoc README tutorial
}
pkg_postinst() {
if use livecd; then
[[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs
fi
}

@ -34,7 +34,7 @@ src_prepare() {
src_compile() {
emake CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
CURSES_LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {

@ -1,2 +1 @@
DIST qemu-2.5.1.tar.bz2 25464539 SHA256 028752c33bb786abbfe496ba57315dc5a7d0a33b5a7a767f6d7a29020c525d2c SHA512 66959ad6a2a89f23c5daba245c76f71ddc03a33a1167bca639a042ebbf7329b2e698cd2c0e65c22a9874563a34256a48386aa9df6475b06d38db74187e3e3b3f WHIRLPOOL 32525271574692d56b7794dc63606659f46e6ae19a56dee31b3cec33dab9c4eb74147a65db4940229492d8680f38c2d05bc2a8fbcb4b6887b0c1cbe5fbbe44cf
DIST qemu-2.7.0.tar.bz2 26867760 SHA256 326e739506ba690daf69fc17bd3913a6c313d9928d743bd8eddb82f403f81e53 SHA512 654acaa7b3724a288e5d7e2a26ab780d9c9ed9f647fba00a906cbaffbe9d58fd666f2d962514aa2c5b391b4c53811ac3170d2eb51727f090bd19dfe45ca9a9db WHIRLPOOL dcb3e5f7da89dd8e14d636d7ebd476e076e0043880bb9ea3fb1c03cb4bcd4e5c7d3c4719da26c3ce521e3a3db5ae671e86f198ac1bc3474e774d75504fef8b8d

@ -1,50 +0,0 @@
https://bugs.gentoo.org/568246
From 156a2e4dbffa85997636a7a39ef12da6f1b40254 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon, 14 Dec 2015 09:21:23 +0100
Subject: [PATCH] ehci: make idt processing more robust
Make ehci_process_itd return an error in case we didn't do any actual
iso transfer because we've found no active transaction. That'll avoid
ehci happily run in circles forever if the guest builds a loop out of
idts.
This is CVE-2015-8558.
Cc: qemu-stable@nongnu.org
Reported-by: Qinghao Tang <luodalongde@gmail.com>
Tested-by: P J P <ppandit@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/hcd-ehci.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index 4e2161b..d07f228 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -1389,7 +1389,7 @@ static int ehci_process_itd(EHCIState *ehci,
{
USBDevice *dev;
USBEndpoint *ep;
- uint32_t i, len, pid, dir, devaddr, endp;
+ uint32_t i, len, pid, dir, devaddr, endp, xfers = 0;
uint32_t pg, off, ptr1, ptr2, max, mult;
ehci->periodic_sched_active = PERIODIC_ACTIVE;
@@ -1479,9 +1479,10 @@ static int ehci_process_itd(EHCIState *ehci,
ehci_raise_irq(ehci, USBSTS_INT);
}
itd->transact[i] &= ~ITD_XACT_ACTIVE;
+ xfers++;
}
}
- return 0;
+ return xfers ? 0 : -1;
}
--
2.6.2

@ -1,46 +0,0 @@
From dff0367cf66f489aa772320fa2937a8cac1ca30d Mon Sep 17 00:00:00 2001
From: Prasad J Pandit <pjp@fedoraproject.org>
Date: Fri, 29 Jan 2016 18:30:34 +0530
Subject: [PATCH] usb: ehci: add capability mmio write function
USB Ehci emulation supports host controller capability registers.
But its mmio '.write' function was missing, which lead to a null
pointer dereference issue. Add a do nothing 'ehci_caps_write'
definition to avoid it; Do nothing because capability registers
are Read Only(RO).
Reported-by: Zuozhi Fzz <zuozhi.fzz@alibaba-inc.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 1454072434-16045-1-git-send-email-ppandit@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/hcd-ehci.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index 1b50601..0f95d0d 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -895,6 +895,11 @@ static uint64_t ehci_caps_read(void *ptr, hwaddr addr,
return s->caps[addr];
}
+static void ehci_caps_write(void *ptr, hwaddr addr,
+ uint64_t val, unsigned size)
+{
+}
+
static uint64_t ehci_opreg_read(void *ptr, hwaddr addr,
unsigned size)
{
@@ -2315,6 +2320,7 @@ static void ehci_frame_timer(void *opaque)
static const MemoryRegionOps ehci_mmio_caps_ops = {
.read = ehci_caps_read,
+ .write = ehci_caps_write,
.valid.min_access_size = 1,
.valid.max_access_size = 4,
.impl.min_access_size = 1,
--
2.7.4

@ -1,98 +0,0 @@
From 3c52ddcdc548e7fbe65112d8a7bdc9cd105b4750 Mon Sep 17 00:00:00 2001
From: Ladi Prosek <lprosek@redhat.com>
Date: Thu, 3 Mar 2016 09:37:15 +0100
Subject: [PATCH] rng: remove the unused request cancellation code
rng_backend_cancel_requests had no callers and none of the code
deleted in this commit ever ran.
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1456994238-9585-2-git-send-email-lprosek@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
backends/rng-egd.c | 12 ------------
backends/rng.c | 9 ---------
include/sysemu/rng.h | 11 -----------
3 files changed, 32 deletions(-)
diff --git a/backends/rng-egd.c b/backends/rng-egd.c
index 2de5cd5..0b2976a 100644
--- a/backends/rng-egd.c
+++ b/backends/rng-egd.c
@@ -125,17 +125,6 @@ static void rng_egd_free_requests(RngEgd *s)
s->requests = NULL;
}
-static void rng_egd_cancel_requests(RngBackend *b)
-{
- RngEgd *s = RNG_EGD(b);
-
- /* We simply delete the list of pending requests. If there is data in the
- * queue waiting to be read, this is okay, because there will always be
- * more data than we requested originally
- */
- rng_egd_free_requests(s);
-}
-
static void rng_egd_opened(RngBackend *b, Error **errp)
{
RngEgd *s = RNG_EGD(b);
@@ -213,7 +202,6 @@ static void rng_egd_class_init(ObjectClass *klass, void *data)
RngBackendClass *rbc = RNG_BACKEND_CLASS(klass);
rbc->request_entropy = rng_egd_request_entropy;
- rbc->cancel_requests = rng_egd_cancel_requests;
rbc->opened = rng_egd_opened;
}
diff --git a/backends/rng.c b/backends/rng.c
index b7820ef..2f2f3ee 100644
--- a/backends/rng.c
+++ b/backends/rng.c
@@ -26,15 +26,6 @@ void rng_backend_request_entropy(RngBackend *s, size_t size,
}
}
-void rng_backend_cancel_requests(RngBackend *s)
-{
- RngBackendClass *k = RNG_BACKEND_GET_CLASS(s);
-
- if (k->cancel_requests) {
- k->cancel_requests(s);
- }
-}
-
static bool rng_backend_prop_get_opened(Object *obj, Error **errp)
{
RngBackend *s = RNG_BACKEND(obj);
diff --git a/include/sysemu/rng.h b/include/sysemu/rng.h
index 858be8c..87b3ebe 100644
--- a/include/sysemu/rng.h
+++ b/include/sysemu/rng.h
@@ -37,7 +37,6 @@ struct RngBackendClass
void (*request_entropy)(RngBackend *s, size_t size,
EntropyReceiveFunc *receive_entropy, void *opaque);
- void (*cancel_requests)(RngBackend *s);
void (*opened)(RngBackend *s, Error **errp);
};
@@ -68,14 +67,4 @@ struct RngBackend
void rng_backend_request_entropy(RngBackend *s, size_t size,
EntropyReceiveFunc *receive_entropy,
void *opaque);
-
-/**
- * rng_backend_cancel_requests:
- * @s: the backend to cancel all pending requests in
- *
- * Cancels all pending requests submitted by @rng_backend_request_entropy. This
- * should be used by a device during reset or in preparation for live migration
- * to stop tracking any request.
- */
-void rng_backend_cancel_requests(RngBackend *s);
#endif
--
2.7.4

@ -1,135 +0,0 @@
From 74074e8a7c60592cf1cc6469dbc2550d24aeded3 Mon Sep 17 00:00:00 2001
From: Ladi Prosek <lprosek@redhat.com>
Date: Thu, 3 Mar 2016 09:37:16 +0100
Subject: [PATCH] rng: move request queue from RngEgd to RngBackend
The 'requests' field now lives in the RngBackend parent class.
There are no functional changes in this commit.
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1456994238-9585-3-git-send-email-lprosek@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
backends/rng-egd.c | 28 +++++++++-------------------
include/sysemu/rng.h | 11 +++++++++++
2 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/backends/rng-egd.c b/backends/rng-egd.c
index 0b2976a..b061362 100644
--- a/backends/rng-egd.c
+++ b/backends/rng-egd.c
@@ -25,19 +25,8 @@ typedef struct RngEgd
CharDriverState *chr;
char *chr_name;
-
- GSList *requests;
} RngEgd;
-typedef struct RngRequest
-{
- EntropyReceiveFunc *receive_entropy;
- uint8_t *data;
- void *opaque;
- size_t offset;
- size_t size;
-} RngRequest;
-
static void rng_egd_request_entropy(RngBackend *b, size_t size,
EntropyReceiveFunc *receive_entropy,
void *opaque)
@@ -66,7 +55,7 @@ static void rng_egd_request_entropy(RngBackend *b, size_t size,
size -= len;
}
- s->requests = g_slist_append(s->requests, req);
+ s->parent.requests = g_slist_append(s->parent.requests, req);
}
static void rng_egd_free_request(RngRequest *req)
@@ -81,7 +70,7 @@ static int rng_egd_chr_can_read(void *opaque)
GSList *i;
int size = 0;
- for (i = s->requests; i; i = i->next) {
+ for (i = s->parent.requests; i; i = i->next) {
RngRequest *req = i->data;
size += req->size - req->offset;
}
@@ -94,8 +83,8 @@ static void rng_egd_chr_read(void *opaque, const uint8_t *buf, int size)
RngEgd *s = RNG_EGD(opaque);
size_t buf_offset = 0;
- while (size > 0 && s->requests) {
- RngRequest *req = s->requests->data;
+ while (size > 0 && s->parent.requests) {
+ RngRequest *req = s->parent.requests->data;
int len = MIN(size, req->size - req->offset);
memcpy(req->data + req->offset, buf + buf_offset, len);
@@ -104,7 +93,8 @@ static void rng_egd_chr_read(void *opaque, const uint8_t *buf, int size)
size -= len;
if (req->offset == req->size) {
- s->requests = g_slist_remove_link(s->requests, s->requests);
+ s->parent.requests = g_slist_remove_link(s->parent.requests,
+ s->parent.requests);
req->receive_entropy(req->opaque, req->data, req->size);
@@ -117,12 +107,12 @@ static void rng_egd_free_requests(RngEgd *s)
{
GSList *i;
- for (i = s->requests; i; i = i->next) {
+ for (i = s->parent.requests; i; i = i->next) {
rng_egd_free_request(i->data);
}
- g_slist_free(s->requests);
- s->requests = NULL;
+ g_slist_free(s->parent.requests);
+ s->parent.requests = NULL;
}
static void rng_egd_opened(RngBackend *b, Error **errp)
diff --git a/include/sysemu/rng.h b/include/sysemu/rng.h
index 87b3ebe..c744d82 100644
--- a/include/sysemu/rng.h
+++ b/include/sysemu/rng.h
@@ -24,6 +24,7 @@
#define RNG_BACKEND_CLASS(klass) \
OBJECT_CLASS_CHECK(RngBackendClass, (klass), TYPE_RNG_BACKEND)
+typedef struct RngRequest RngRequest;
typedef struct RngBackendClass RngBackendClass;
typedef struct RngBackend RngBackend;
@@ -31,6 +32,15 @@ typedef void (EntropyReceiveFunc)(void *opaque,
const void *data,
size_t size);
+struct RngRequest
+{
+ EntropyReceiveFunc *receive_entropy;
+ uint8_t *data;
+ void *opaque;
+ size_t offset;
+ size_t size;
+};
+
struct RngBackendClass
{
ObjectClass parent_class;
@@ -47,6 +57,7 @@ struct RngBackend
/*< protected >*/
bool opened;
+ GSList *requests;
};
/**
--
2.7.4

@ -1,155 +0,0 @@
From 9f14b0add1dcdbfa2ee61051d068211fb0a1fcc9 Mon Sep 17 00:00:00 2001
From: Ladi Prosek <lprosek@redhat.com>
Date: Thu, 3 Mar 2016 09:37:17 +0100
Subject: [PATCH] rng: move request queue cleanup from RngEgd to RngBackend
RngBackend is now in charge of cleaning up the linked list on
instance finalization. It also exposes a function to finalize
individual RngRequest instances, called by its child classes.
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1456994238-9585-4-git-send-email-lprosek@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
backends/rng-egd.c | 25 +------------------------
backends/rng.c | 32 ++++++++++++++++++++++++++++++++
include/sysemu/rng.h | 12 ++++++++++++
3 files changed, 45 insertions(+), 24 deletions(-)
diff --git a/backends/rng-egd.c b/backends/rng-egd.c
index b061362..8f2bd16 100644
--- a/backends/rng-egd.c
+++ b/backends/rng-egd.c
@@ -58,12 +58,6 @@ static void rng_egd_request_entropy(RngBackend *b, size_t size,
s->parent.requests = g_slist_append(s->parent.requests, req);
}
-static void rng_egd_free_request(RngRequest *req)
-{
- g_free(req->data);
- g_free(req);
-}
-
static int rng_egd_chr_can_read(void *opaque)
{
RngEgd *s = RNG_EGD(opaque);
@@ -93,28 +87,13 @@ static void rng_egd_chr_read(void *opaque, const uint8_t *buf, int size)
size -= len;
if (req->offset == req->size) {
- s->parent.requests = g_slist_remove_link(s->parent.requests,
- s->parent.requests);
-
req->receive_entropy(req->opaque, req->data, req->size);
- rng_egd_free_request(req);
+ rng_backend_finalize_request(&s->parent, req);
}
}
}
-static void rng_egd_free_requests(RngEgd *s)
-{
- GSList *i;
-
- for (i = s->parent.requests; i; i = i->next) {
- rng_egd_free_request(i->data);
- }
-
- g_slist_free(s->parent.requests);
- s->parent.requests = NULL;
-}
-
static void rng_egd_opened(RngBackend *b, Error **errp)
{
RngEgd *s = RNG_EGD(b);
@@ -183,8 +162,6 @@ static void rng_egd_finalize(Object *obj)
}
g_free(s->chr_name);
-
- rng_egd_free_requests(s);
}
static void rng_egd_class_init(ObjectClass *klass, void *data)
diff --git a/backends/rng.c b/backends/rng.c
index 2f2f3ee..014cb9d 100644
--- a/backends/rng.c
+++ b/backends/rng.c
@@ -64,6 +64,30 @@ static void rng_backend_prop_set_opened(Object *obj, bool value, Error **errp)
s->opened = true;
}
+static void rng_backend_free_request(RngRequest *req)
+{
+ g_free(req->data);
+ g_free(req);
+}
+
+static void rng_backend_free_requests(RngBackend *s)
+{
+ GSList *i;
+
+ for (i = s->requests; i; i = i->next) {
+ rng_backend_free_request(i->data);
+ }
+
+ g_slist_free(s->requests);
+ s->requests = NULL;
+}
+
+void rng_backend_finalize_request(RngBackend *s, RngRequest *req)
+{
+ s->requests = g_slist_remove(s->requests, req);
+ rng_backend_free_request(req);
+}
+
static void rng_backend_init(Object *obj)
{
object_property_add_bool(obj, "opened",
@@ -72,6 +96,13 @@ static void rng_backend_init(Object *obj)
NULL);
}
+static void rng_backend_finalize(Object *obj)
+{
+ RngBackend *s = RNG_BACKEND(obj);
+
+ rng_backend_free_requests(s);
+}
+
static void rng_backend_class_init(ObjectClass *oc, void *data)
{
UserCreatableClass *ucc = USER_CREATABLE_CLASS(oc);
@@ -84,6 +115,7 @@ static const TypeInfo rng_backend_info = {
.parent = TYPE_OBJECT,
.instance_size = sizeof(RngBackend),
.instance_init = rng_backend_init,
+ .instance_finalize = rng_backend_finalize,
.class_size = sizeof(RngBackendClass),
.class_init = rng_backend_class_init,
.abstract = true,
diff --git a/include/sysemu/rng.h b/include/sysemu/rng.h
index c744d82..08a2eda 100644
--- a/include/sysemu/rng.h
+++ b/include/sysemu/rng.h
@@ -78,4 +79,15 @@ struct RngBackend
void rng_backend_request_entropy(RngBackend *s, size_t size,
EntropyReceiveFunc *receive_entropy,
void *opaque);
+
+/**
+ * rng_backend_free_request:
+ * @s: the backend that created the request
+ * @req: the request to finalize
+ *
+ * Used by child rng backend classes to finalize requests once they've been
+ * processed. The request is removed from the list of active requests and
+ * deleted.
+ */
+void rng_backend_finalize_request(RngBackend *s, RngRequest *req);
#endif
--
2.7.4

@ -1,179 +0,0 @@
From 60253ed1e6ec6d8e5ef2efe7bf755f475dce9956 Mon Sep 17 00:00:00 2001
From: Ladi Prosek <lprosek@redhat.com>
Date: Thu, 3 Mar 2016 09:37:18 +0100
Subject: [PATCH] rng: add request queue support to rng-random
Requests are now created in the RngBackend parent class and the
code path is shared by both rng-egd and rng-random.
This commit fixes the rng-random implementation which processed
only one request at a time and simply discarded all but the most
recent one. In the guest this manifested as delayed completion
of reads from virtio-rng, i.e. a read was completed only after
another read was issued.
By switching rng-random to use the same request queue as rng-egd,
the unsafe stack-based allocation of the entropy buffer is
eliminated and replaced with g_malloc.
Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Message-Id: <1456994238-9585-5-git-send-email-lprosek@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
backends/rng-egd.c | 16 ++--------------
backends/rng-random.c | 43 +++++++++++++++++++------------------------
backends/rng.c | 13 ++++++++++++-
include/sysemu/rng.h | 3 +--
4 files changed, 34 insertions(+), 41 deletions(-)
diff --git a/backends/rng-egd.c b/backends/rng-egd.c
index 8f2bd16..30332ed 100644
--- a/backends/rng-egd.c
+++ b/backends/rng-egd.c
@@ -27,20 +27,10 @@ typedef struct RngEgd
char *chr_name;
} RngEgd;
-static void rng_egd_request_entropy(RngBackend *b, size_t size,
- EntropyReceiveFunc *receive_entropy,
- void *opaque)
+static void rng_egd_request_entropy(RngBackend *b, RngRequest *req)
{
RngEgd *s = RNG_EGD(b);
- RngRequest *req;
-
- req = g_malloc(sizeof(*req));
-
- req->offset = 0;
- req->size = size;
- req->receive_entropy = receive_entropy;
- req->opaque = opaque;
- req->data = g_malloc(req->size);
+ size_t size = req->size;
while (size > 0) {
uint8_t header[2];
@@ -54,8 +44,6 @@ static void rng_egd_request_entropy(RngBackend *b, size_t size,
size -= len;
}
-
- s->parent.requests = g_slist_append(s->parent.requests, req);
}
static int rng_egd_chr_can_read(void *opaque)
diff --git a/backends/rng-random.c b/backends/rng-random.c
index 8cdad6a..a6cb385 100644
--- a/backends/rng-random.c
+++ b/backends/rng-random.c
@@ -22,10 +22,6 @@ struct RndRandom
int fd;
char *filename;
-
- EntropyReceiveFunc *receive_func;
- void *opaque;
- size_t size;
};
/**
@@ -38,36 +34,35 @@ struct RndRandom
static void entropy_available(void *opaque)
{
RndRandom *s = RNG_RANDOM(opaque);
- uint8_t buffer[s->size];
- ssize_t len;
- len = read(s->fd, buffer, s->size);
- if (len < 0 && errno == EAGAIN) {
- return;
- }
- g_assert(len != -1);
+ while (s->parent.requests != NULL) {
+ RngRequest *req = s->parent.requests->data;
+ ssize_t len;
+
+ len = read(s->fd, req->data, req->size);
+ if (len < 0 && errno == EAGAIN) {
+ return;
+ }
+ g_assert(len != -1);
- s->receive_func(s->opaque, buffer, len);
- s->receive_func = NULL;
+ req->receive_entropy(req->opaque, req->data, len);
+ rng_backend_finalize_request(&s->parent, req);
+ }
+
+ /* We've drained all requests, the fd handler can be reset. */
qemu_set_fd_handler(s->fd, NULL, NULL, NULL);
}
-static void rng_random_request_entropy(RngBackend *b, size_t size,
- EntropyReceiveFunc *receive_entropy,
- void *opaque)
+static void rng_random_request_entropy(RngBackend *b, RngRequest *req)
{
RndRandom *s = RNG_RANDOM(b);
- if (s->receive_func) {
- s->receive_func(s->opaque, NULL, 0);
+ if (s->parent.requests == NULL) {
+ /* If there are no pending requests yet, we need to
+ * install our fd handler. */
+ qemu_set_fd_handler(s->fd, entropy_available, NULL, s);
}
-
- s->receive_func = receive_entropy;
- s->opaque = opaque;
- s->size = size;
-
- qemu_set_fd_handler(s->fd, entropy_available, NULL, s);
}
static void rng_random_opened(RngBackend *b, Error **errp)
diff --git a/backends/rng.c b/backends/rng.c
index 014cb9d..277a41b 100644
--- a/backends/rng.c
+++ b/backends/rng.c
@@ -20,9 +20,20 @@ void rng_backend_request_entropy(RngBackend *s, size_t size,
void *opaque)
{
RngBackendClass *k = RNG_BACKEND_GET_CLASS(s);
+ RngRequest *req;
if (k->request_entropy) {
- k->request_entropy(s, size, receive_entropy, opaque);
+ req = g_malloc(sizeof(*req));
+
+ req->offset = 0;
+ req->size = size;
+ req->receive_entropy = receive_entropy;
+ req->opaque = opaque;
+ req->data = g_malloc(req->size);
+
+ k->request_entropy(s, req);
+
+ s->requests = g_slist_append(s->requests, req);
}
}
diff --git a/include/sysemu/rng.h b/include/sysemu/rng.h
index 08a2eda..4fffd68 100644
--- a/include/sysemu/rng.h
+++ b/include/sysemu/rng.h
@@ -45,8 +45,7 @@ struct RngBackendClass
{
ObjectClass parent_class;
- void (*request_entropy)(RngBackend *s, size_t size,
- EntropyReceiveFunc *receive_entropy, void *opaque);
+ void (*request_entropy)(RngBackend *s, RngRequest *req);
void (*opened)(RngBackend *s, Error **errp);
};
--
2.7.4

@ -1,107 +0,0 @@
https://bugs.gentoo.org/580426
https://bugs.gentoo.org/568246
From a49923d2837d20510d645d3758f1ad87c32d0730 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon, 18 Apr 2016 09:20:54 +0200
Subject: [PATCH] Revert "ehci: make idt processing more robust"
This reverts commit 156a2e4dbffa85997636a7a39ef12da6f1b40254.
Breaks FreeBSD.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/hcd-ehci.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index d5c0e1c..43a8f7a 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -1397,7 +1397,7 @@ static int ehci_process_itd(EHCIState *ehci,
{
USBDevice *dev;
USBEndpoint *ep;
- uint32_t i, len, pid, dir, devaddr, endp, xfers = 0;
+ uint32_t i, len, pid, dir, devaddr, endp;
uint32_t pg, off, ptr1, ptr2, max, mult;
ehci->periodic_sched_active = PERIODIC_ACTIVE;
@@ -1489,10 +1489,9 @@ static int ehci_process_itd(EHCIState *ehci,
ehci_raise_irq(ehci, USBSTS_INT);
}
itd->transact[i] &= ~ITD_XACT_ACTIVE;
- xfers++;
}
}
- return xfers ? 0 : -1;
+ return 0;
}
--
2.7.4
From 1ae3f2f178087711f9591350abad133525ba93f2 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon, 18 Apr 2016 09:11:38 +0200
Subject: [PATCH] ehci: apply limit to iTD/sidt descriptors
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Commit "156a2e4 ehci: make idt processing more robust" tries to avoid a
DoS by the guest (create a circular iTD queue and let qemu ehci
emulation run in circles forever). Unfortunately this has two problems:
First it misses the case of siTDs, and second it reportedly breaks
FreeBSD.
So lets go for a different approach: just count the number of iTDs and
siTDs we have seen per frame and apply a limit. That should really
catch all cases now.
Reported-by: 杜少博 <dushaobo@360.cn>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/hcd-ehci.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c
index 159f58d..d5c0e1c 100644
--- a/hw/usb/hcd-ehci.c
+++ b/hw/usb/hcd-ehci.c
@@ -2011,6 +2011,7 @@ static int ehci_state_writeback(EHCIQueue *q)
static void ehci_advance_state(EHCIState *ehci, int async)
{
EHCIQueue *q = NULL;
+ int itd_count = 0;
int again;
do {
@@ -2035,10 +2036,12 @@ static void ehci_advance_state(EHCIState *ehci, int async)
case EST_FETCHITD:
again = ehci_state_fetchitd(ehci, async);
+ itd_count++;
break;
case EST_FETCHSITD:
again = ehci_state_fetchsitd(ehci, async);
+ itd_count++;
break;
case EST_ADVANCEQUEUE:
@@ -2087,7 +2090,8 @@ static void ehci_advance_state(EHCIState *ehci, int async)
break;
}
- if (again < 0) {
+ if (again < 0 || itd_count > 16) {
+ /* TODO: notify guest (raise HSE irq?) */
fprintf(stderr, "processing error - resetting ehci HC\n");
ehci_reset(ehci);
again = 0;
--
2.7.4

@ -1,16 +0,0 @@
https://lists.gnu.org/archive/html/qemu-devel/2016-04/msg01106.html
https://bugs.gentoo.org/580040
diff --git a/hw/i386/kvmvapic.c b/hw/i386/kvmvapic.c
index c69f374..ff1e31a 100644
--- a/hw/i386/kvmvapic.c
+++ b/hw/i386/kvmvapic.c
@@ -394,7 +394,7 @@ static void patch_instruction(VAPICROMState *s, X86CPU *cpu, target_ulong ip)
CPUX86State *env = &cpu->env;
VAPICHandlers *handlers;
uint8_t opcode[2];
- uint32_t imm32;
+ uint32_t imm32 = 0;
target_ulong current_pc = 0;
target_ulong current_cs_base = 0;
int current_flags = 0;

@ -1,47 +0,0 @@
From 3a15cc0e1ee7168db0782133d2607a6bfa422d66 Mon Sep 17 00:00:00 2001
From: Prasad J Pandit <pjp@fedoraproject.org>
Date: Fri, 8 Apr 2016 11:33:48 +0530
Subject: [PATCH] net: stellaris_enet: check packet length against receive
buffer
When receiving packets over Stellaris ethernet controller, it
uses receive buffer of size 2048 bytes. In case the controller
accepts large(MTU) packets, it could lead to memory corruption.
Add check to avoid it.
Reported-by: Oleksandr Bazhaniuk <oleksandr.bazhaniuk@intel.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-id: 1460095428-22698-1-git-send-email-ppandit@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
hw/net/stellaris_enet.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c
index 84cf60b..6880894 100644
--- a/hw/net/stellaris_enet.c
+++ b/hw/net/stellaris_enet.c
@@ -236,8 +236,18 @@ static ssize_t stellaris_enet_receive(NetClientState *nc, const uint8_t *buf, si
n = s->next_packet + s->np;
if (n >= 31)
n -= 31;
- s->np++;
+ if (size >= sizeof(s->rx[n].data) - 6) {
+ /* If the packet won't fit into the
+ * emulated 2K RAM, this is reported
+ * as a FIFO overrun error.
+ */
+ s->ris |= SE_INT_FOV;
+ stellaris_enet_update(s);
+ return -1;
+ }
+
+ s->np++;
s->rx[n].len = size + 6;
p = s->rx[n].data;
*(p++) = (size + 6);
--
2.7.4

@ -1,82 +0,0 @@
https://bugs.gentoo.org/577810
From 277abf15a60f7653bfb05ffb513ed74ffdaea1b7 Mon Sep 17 00:00:00 2001
From: Jan Vesely <jano.vesely@gmail.com>
Date: Fri, 29 Apr 2016 13:15:23 -0400
Subject: [PATCH] configure: Check if struct fsxattr is available from linux
header
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes build failure with --enable-xfsctl and
new linux headers (>=4.5) and older xfsprogs(<4.5):
In file included from /usr/include/xfs/xfs.h:38:0,
from /var/tmp/portage/app-emulation/qemu-2.5.0-r1/work/qemu-2.5.0/block/raw-posix.c:97:
/usr/include/xfs/xfs_fs.h:42:8: error: redefinition of struct fsxattr
struct fsxattr {
^
In file included from /var/tmp/portage/app-emulation/qemu-2.5.0-r1/work/qemu-2.5.0/block/raw-posix.c:60:0:
/usr/include/linux/fs.h:155:8: note: originally defined here
struct fsxattr {
This is really a bug in the system headers, but we can work around it
by defining HAVE_FSXATTR in the QEMU headers if linux/fs.h provides
the struct, so that xfs_fs.h doesn't try to define it as well.
CC: qemu-trivial@nongnu.org
CC: Markus Armbruster <armbru@redhat.com>
CC: Peter Maydell <peter.maydell@linaro.org>
CC: Stefan Weil <sw@weilnetz.de>
Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
[PMM: adjusted commit message, comments]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
configure | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/configure b/configure
index ab54f3c..c37fc5f 100755
--- a/configure
+++ b/configure
@@ -4494,6 +4494,21 @@ if test "$fortify_source" != "no"; then
fi
##########################################
+# check if struct fsxattr is available via linux/fs.h
+
+have_fsxattr=no
+cat > $TMPC << EOF
+#include <linux/fs.h>
+struct fsxattr foo;
+int main(void) {
+ return 0;
+}
+EOF
+if compile_prog "" "" ; then
+ have_fsxattr=yes
+fi
+
+##########################################
# End of CC checks
# After here, no more $cc or $ld runs
@@ -5160,6 +5175,14 @@ fi
if test "$have_ifaddrs_h" = "yes" ; then
echo "HAVE_IFADDRS_H=y" >> $config_host_mak
fi
+
+# Work around a system header bug with some kernel/XFS header
+# versions where they both try to define 'struct fsxattr':
+# xfs headers will not try to redefine structs from linux headers
+# if this macro is set.
+if test "$have_fsxattr" = "yes" ; then
+ echo "HAVE_FSXATTR=y" >> $config_host_mak
+fi
if test "$vte" = "yes" ; then
echo "CONFIG_VTE=y" >> $config_host_mak
echo "VTE_CFLAGS=$vte_cflags" >> $config_host_mak
--
2.8.2

@ -1,693 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="ncurses,readline"
PLOCALES="de_DE fr_FR hu it tr zh_CN"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo pax-utils l10n
BACKPORTS=
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+
https://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="accessibility +aio alsa bluetooth bzip2 +caps +curl debug +fdt glusterfs \
gnutls gtk gtk2 infiniband iscsi +jpeg \
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
+png pulseaudio python \
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu
static-user systemtap tci test +threads usb usbredir +uuid vde +vhost-net \
virgl virtfs +vnc vte xattr xen xfs"
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb tricore xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
# Allow no targets to be built so that people can get a tools-only build.
# Block USE flag configurations known to not work.
REQUIRED_USE="${PYTHON_REQUIRED_USE}
gtk2? ( gtk )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
sdl2? ( sdl )
static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
virtfs? ( xattr )
vte? ( gtk )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
#
# The attr lib isn't always linked in (although the USE flag is always
# respected). This is because qemu supports using the C library's API
# when available rather than always using the extranl library.
#
# Older versions of gnutls are supported, but it's simpler to just require
# the latest versions. This is also why we require nettle.
#
# TODO: Split out tools deps into another var. e.g. bzip2 is only used by
# system binaries and tools, not user binaries.
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-libs/zlib[static-libs(+)]
bzip2? ( app-arch/bzip2[static-libs(+)] )
xattr? ( sys-apps/attr[static-libs(+)] )"
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
>=x11-libs/pixman-0.28.0[static-libs(+)]
accessibility? ( app-accessibility/brltty[static-libs(+)] )
aio? ( dev-libs/libaio[static-libs(+)] )
alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez )
caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
gnutls? (
dev-libs/nettle:=[static-libs(+)]
>=net-libs/gnutls-3.0:=[static-libs(+)]
)
gtk? (
gtk2? (
x11-libs/gtk+:2
vte? ( x11-libs/vte:0 )
)
!gtk2? (
x11-libs/gtk+:3
vte? ( x11-libs/vte:2.90 )
)
)
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
iscsi? ( net-libs/libiscsi )
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
numa? ( sys-process/numactl[static-libs(+)] )
opengl? (
virtual/opengl
media-libs/libepoxy[static-libs(+)]
media-libs/mesa[static-libs(+)]
media-libs/mesa[egl,gles2]
)
png? ( media-libs/libpng:0=[static-libs(+)] )
pulseaudio? ( media-sound/pulseaudio )
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? (
!sdl2? (
media-libs/libsdl[X]
>=media-libs/libsdl-1.2.11[static-libs(+)]
)
sdl2? (
media-libs/libsdl2[X]
media-libs/libsdl2[static-libs(+)]
)
)
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
snappy? ( app-arch/snappy[static-libs(+)] )
spice? (
>=app-emulation/spice-protocol-0.12.3
>=app-emulation/spice-0.12.0[static-libs(+)]
)
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] )
virgl? ( media-libs/virglrenderer[static-libs(+)] )
virtfs? ( sys-libs/libcap )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
X86_FIRMWARE_DEPEND="
>=sys-firmware/ipxe-1.0.0_p20130624
pin-upstream-blobs? (
~sys-firmware/seabios-1.8.2
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
!pin-upstream-blobs? (
sys-firmware/seabios
sys-firmware/sgabios
sys-firmware/vgabios
)"
CDEPEND="
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
gtk? ( nls? ( sys-devel/gettext ) )
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
test? (
dev-libs/glib[utils]
sys-devel/bc
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-qemu )
"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PREBUILT="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img
usr/share/qemu/u-boot.e500
"
QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-microblazeel
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-or32
usr/bin/qemu-ppc
usr/bin/qemu-ppc64
usr/bin/qemu-ppc64abi32
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus
usr/bin/qemu-s390x
usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'.\n
For Intel CPUs the module is called 'kvm-intel'.\n
Please review /etc/conf.d/modules for how to load these.\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login.\n\n
For brand new installs, the default permissions on /dev/kvm might not let you
access it. You can tell udev to reset ownership/perms:\n
udevadm trigger -c add /dev/kvm"
qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
use qemu_softmmu_targets_s390x; then
return 0
fi
return 1
}
pkg_pretend() {
if use kernel_linux && kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
elif use kernel_linux; then
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
ERROR_KVM="You must enable KVM in your kernel to continue"
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
ERROR_KVM_AMD+=" your kernel configuration."
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
ERROR_TUN+=" into your kernel or loaded as a module to use the"
ERROR_TUN+=" virtual network device if using -net tap."
ERROR_BRIDGE="You will also need support for 802.1d"
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
ERROR_VHOST_NET+=" support"
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
fi
use python && CONFIG_CHECK+=" ~DEBUG_FS"
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
# Now do the actual checks setup above
check_extra_config
fi
fi
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
eerror "instances are still pointing to it. Please update your"
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
eerror "and the right system binary (e.g. qemu-system-x86_64)."
die "update your virt configs to not use qemu-kvm"
fi
}
pkg_setup() {
enewgroup kvm 78
}
# Sanity check to make sure target lists are kept up-to-date.
check_targets() {
local var=$1 mak=$2
local detected sorted
pushd "${S}"/default-configs >/dev/null || die
# Force C locale until glibc is updated. #564936
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "${var}: ${sorted}"
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
die "sync ${var} to the list of targets"
fi
popd >/dev/null
}
handle_locales() {
# Make sure locale list is kept up-to-date.
local detected sorted
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "PLOCALES: ${sorted}"
eerror " po/*.po: ${detected}"
die "sync PLOCALES"
fi
# Deal with selective install of locales.
if use nls ; then
# Delete locales the user does not want. #577814
rm_loc() { rm po/$1.po || die; }
l10n_for_each_disabled_locale_do rm_loc
else
# Cheap hack to disable gettext .mo generation.
rm -f po/*.po
fi
}
src_prepare() {
check_targets IUSE_SOFTMMU_TARGETS softmmu
check_targets IUSE_USER_TARGETS linux-user
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die
epatch "${FILESDIR}"/qemu-2.5.0-cflags.patch
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
epatch "${FILESDIR}"/${PN}-2.5.0-CVE-2016-2198.patch #573314
epatch "${FILESDIR}"/${PN}-2.5.0-rng-stack-corrupt-{0,1,2,3}.patch #576420
epatch "${FILESDIR}"/${PN}-2.5.1-stellaris_enet-overflow.patch #579614
epatch "${FILESDIR}"/${PN}-2.5.1-CVE-2016-4020.patch #580040
epatch "${FILESDIR}"/${PN}-2.5.1-CVE-2015-8558.patch #568246 #580426
epatch "${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
epatch "${FILESDIR}"/${PN}-2.5.1-xfs-linux-headers.patch #577810
# Fix ld and objcopy being called directly
tc-export AR LD OBJCOPY
# Verbose builds
MAKEOPTS+=" V=1"
epatch_user
# Run after we've applied all patches.
handle_locales
}
##
# configures qemu based on the build directory and the build type
# we are using.
#
qemu_src_configure() {
debug-print-function ${FUNCNAME} "$@"
local buildtype=$1
local builddir="${S}/${buildtype}-build"
local static_flag="static-${buildtype}"
mkdir "${builddir}"
local conf_opts=(
--prefix=/usr
--sysconfdir=/etc
--libdir=/usr/$(get_libdir)
--docdir=/usr/share/doc/${PF}/html
--disable-bsd-user
--disable-guest-agent
--disable-strip
--disable-werror
# We support gnutls/nettle for crypto operations. It is possible
# to use gcrypt when gnutls/nettle are disabled (but not when they
# are enabled), but it's not really worth the hassle. Disable it
# all the time to avoid automatically detecting it. #568856
--disable-gcrypt
--python="${PYTHON}"
--cc="$(tc-getCC)"
--cxx="$(tc-getCXX)"
--host-cc="$(tc-getBUILD_CC)"
$(use_enable debug debug-info)
$(use_enable debug debug-tcg)
--enable-docs
$(use_enable tci tcg-interpreter)
$(use_enable xattr attr)
)
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
use_enable "$@"
fi
}
conf_opts+=(
$(conf_softmmu accessibility brlapi)
$(conf_softmmu aio linux-aio)
$(conf_softmmu bzip2)
$(conf_softmmu bluetooth bluez)
$(conf_softmmu caps cap-ng)
$(conf_softmmu curl)
$(conf_softmmu fdt)
$(conf_softmmu glusterfs)
$(conf_softmmu gnutls)
$(conf_softmmu gnutls nettle)
$(conf_softmmu gtk)
$(conf_softmmu infiniband rdma)
$(conf_softmmu iscsi libiscsi)
$(conf_softmmu jpeg vnc-jpeg)
$(conf_softmmu kernel_linux kvm)
$(conf_softmmu lzo)
$(conf_softmmu ncurses curses)
$(conf_softmmu nfs libnfs)
$(conf_softmmu numa)
$(conf_softmmu opengl)
$(conf_softmmu png vnc-png)
$(conf_softmmu rbd)
$(conf_softmmu sasl vnc-sasl)
$(conf_softmmu sdl)
$(conf_softmmu seccomp)
$(conf_softmmu smartcard)
$(conf_softmmu snappy)
$(conf_softmmu spice)
$(conf_softmmu ssh libssh2)
$(conf_softmmu usb libusb)
$(conf_softmmu usbredir usb-redir)
$(conf_softmmu uuid)
$(conf_softmmu vde)
$(conf_softmmu vhost-net)
$(conf_softmmu virgl virglrenderer)
$(conf_softmmu virtfs)
$(conf_softmmu vnc)
$(conf_softmmu vte)
$(conf_softmmu xen)
$(conf_softmmu xen xen-pci-passthrough)
$(conf_softmmu xfs xfsctl)
)
case ${buildtype} in
user)
conf_opts+=(
--enable-linux-user
--disable-system
--disable-blobs
--disable-tools
)
;;
softmmu)
# audio options
local audio_opts="oss"
use alsa && audio_opts="alsa,${audio_opts}"
use sdl && audio_opts="sdl,${audio_opts}"
use pulseaudio && audio_opts="pa,${audio_opts}"
conf_opts+=(
--disable-linux-user
--enable-system
--with-system-pixman
--audio-drv-list="${audio_opts}"
)
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
;;
tools)
conf_opts+=(
--disable-linux-user
--disable-system
--disable-blobs
$(use_enable bzip2)
)
static_flag="static"
;;
esac
local targets="${buildtype}_targets"
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
# Add support for SystemTAP
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
# We always want to attempt to build with PIE support as it results
# in a more secure binary. But it doesn't work with static or if
# the current GCC doesn't have PIE support.
if use ${static_flag}; then
conf_opts+=( --static --disable-pie )
else
gcc-specs-pie && conf_opts+=( --enable-pie )
fi
echo "../configure ${conf_opts[*]}"
cd "${builddir}"
../configure "${conf_opts[@]}" || die "configure failed"
# FreeBSD's kernel does not support QEMU assigning/grabbing
# host USB devices yet
use kernel_FreeBSD && \
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
}
src_configure() {
local target
python_setup
softmmu_targets= softmmu_bins=()
user_targets= user_bins=()
for target in ${IUSE_SOFTMMU_TARGETS} ; do
if use "qemu_softmmu_targets_${target}"; then
softmmu_targets+=",${target}-softmmu"
softmmu_bins+=( "qemu-system-${target}" )
fi
done
for target in ${IUSE_USER_TARGETS} ; do
if use "qemu_user_targets_${target}"; then
user_targets+=",${target}-linux-user"
user_bins+=( "qemu-${target}" )
fi
done
softmmu_targets=${softmmu_targets#,}
user_targets=${user_targets#,}
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
[[ -n ${user_targets} ]] && qemu_src_configure "user"
[[ -z ${softmmu_targets}${user_targets} ]] && qemu_src_configure "tools"
}
src_compile() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
default
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
default
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
default
fi
}
src_test() {
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
pax-mark m */qemu-system-* #515550
emake -j1 check
emake -j1 check-report.html
fi
}
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/scripts/qmp/qemu-ga-client"
}
src_install() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
emake DESTDIR="${ED}" install
# Install binfmt handler init script for user targets
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
emake DESTDIR="${ED}" install
# This might not exist if the test failed. #512010
[[ -e check-report.html ]] && dohtml check-report.html
if use kernel_linux; then
udev_dorules "${FILESDIR}"/65-kvm.rules
fi
if use python; then
python_foreach_impl qemu_python_install
fi
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
emake DESTDIR="${ED}" install
fi
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
pushd "${ED}"/usr/bin >/dev/null
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
popd >/dev/null
# Install config file example for qemu-bridge-helper
insinto "/etc/qemu"
doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/" || die
cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios
dodoc docs/qmp-*.txt
if [[ -n ${softmmu_targets} ]]; then
# Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
fi
# Remove vgabios since we're using the vgabios packaged one
rm "${ED}/usr/share/qemu/vgabios.bin"
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
fi
# Remove sgabios since we're using the sgabios packaged one
rm "${ED}/usr/share/qemu/sgabios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
fi
# Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi
fi
qemu_support_kvm && readme.gentoo_create_doc
}
pkg_postinst() {
if qemu_support_kvm; then
readme.gentoo_print_elog
fi
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
udev_reload
fi
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
}
pkg_info() {
echo "Using:"
echo " $(best_version app-emulation/spice-protocol)"
echo " $(best_version sys-firmware/ipxe)"
echo " $(best_version sys-firmware/seabios)"
if has_version 'sys-firmware/seabios[binary]'; then
echo " USE=binary"
else
echo " USE=''"
fi
echo " $(best_version sys-firmware/vgabios)"
}

@ -18,7 +18,7 @@ if [[ ${PV} = *9999* ]]; then
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
@ -558,7 +558,6 @@ src_test() {
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/scripts/qmp/qemu-ga-client"

@ -0,0 +1 @@
DIST blink1-1.98.tar.gz 29439933 SHA256 2bbf8848c3c656ab8fb01035fd31103a321fbee20164691cf67e3706c4b50b16 SHA512 2057e3ccf149dbdaaea2d09dabaa95317125d65151dc79c675365f55e85a3d0988232fd5ff404bdcfd127ebc266495afa04fb1b3fd0e4ac931bb711b0bb63568 WHIRLPOOL 24872d94ce246e3f64b096462496ead02b14ed2dd19e6ca1fc1b6f03e5c12069e18cde9e5ace5c4ed49ee7d7a35a3d61542a06019242a43d953ab0a2a820f7c2

@ -0,0 +1,100 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit linux-info
DESCRIPTION="blink(1) USB RGB LED status light control suite"
HOMEPAGE="https://blink1.thingm.com/"
## github release tarball
MY_PV=${PV/_rc/rc}
MY_P="${PN}-${MY_PV}"
SRC_URI="https://github.com/todbot/blink1/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
## selfmade tarball
#MY_PVR=${PVR/_rc/rc}
#MY_P="${PN}-${MY_PVR}"
#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
## github commit tarball
#MY_GIT_COMMIT="1e9c012bd79cb99a53a22980fbaa6f97801e7c03"
#MY_P="todbot-${PN}-${MY_GIT_COMMIT:0:7}"
#SRC_URI="https://github.com/todbot/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
S="${WORKDIR}/${MY_P}"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="CC-BY-SA-3.0"
IUSE="doc examples +tool mini-tool server"
RDEPEND="dev-libs/hidapi
virtual/libusb:1
virtual/libudev
sys-apps/attr
sys-libs/libcap"
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_setup() {
## check for USB HID kernel support
linux-info_pkg_setup
CONFIG_CHECK="USB_HID"
check_extra_config
## check for acceptable USE flag settings
if ! ( use tool || use mini-tool || use server ); then
eerror "At least one of the following USE flags must be enabled:"
eerror "tool, mini-tool, server"
die "unacceptable USE flag settings"
fi
}
src_compile() {
if use tool; then
pushd commandline &>/dev/null
# USBLIB_TYPE=HIDAPI
# USBLIB_TYPE=HIDAPI_HIDRAW
# USBLIB_TYPE=HIDDATA
emake OS=linux USBLIB_TYPE=HIDAPI blink1-tool || die "emake blink1-tool failed"
popd &>/dev/null
fi
if use mini-tool; then
pushd commandline/blink1-mini-tool &>/dev/null
emake OS=linux blink1-mini-tool || die "emake blink1-mini-tool failed"
popd &>/dev/null
fi
if use server; then
pushd commandline &>/dev/null
emake OS=linux blink1-tiny-server || die "emake blink1-tiny-server failed"
popd &>/dev/null
fi
}
src_install() {
if use doc; then
dodoc docs/README.md
fi
if use tool; then
if use doc; then
dodoc docs/{blink1-tool.md,blink1-tool-tips.md,blink1-hid-commands.md,blink1-mk2-tricks.md}
fi
if use examples; then
insinto /usr/share/doc/"${PF}"/examples
doins commandline/scripts/{README.md,blink1-*.sh}
docompress -x /usr/share/doc/"${PF}"/examples
fi
dobin commandline/blink1-tool
fi
if use mini-tool; then
dobin commandline/blink1-mini-tool/blink1-mini-tool
fi
if use server; then
if use doc; then
dodoc docs/{app-url-api.md,app-url-api-examples.md}
fi
dobin commandline/blink1-tiny-server
fi
}

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>wschlich@gentoo.org</email>
<name>Wolfram Schlich</name>
</maintainer>
<upstream>
<remote-id type="github">todbot/blink1</remote-id>
</upstream>
<use>
<flag name="tool">Build and install command-line tool blink1-tool</flag>
<flag name="mini-tool">Build and install command-line mini-tool blink1-mini-tool (normally used for embedded devices)</flag>
<flag name="server">Build and install REST API server (currently hard-coded to TCP port 8080)</flag>
</use>
</pkgmetadata>

@ -2,5 +2,4 @@ DIST libstemmer_c-20091122.tgz 129207 SHA256 ad4e152379214480d599c86dd19421a36fc
DIST sphinx-0.9.9.tar.gz 1218359 SHA256 bf8f55ffc095ff6b628f0cbc7eb54761811140140679a1c869cc1b17c42803e4 SHA512 bf1f6b3429beac9336ed975137b9cc582541357df487ae97f407589458fa4cc4f3a797c868fd505c6b4e97a73b30a0f7f9c7ab6b3d8685ba173fde6d1d5383c2 WHIRLPOOL 70a7db079e35671c17f1c29d71569c4b643462475b10dbed6342a74ed20304ea740e442fb97af874fb3acc3cb9eb8a07ff43aa90dc90c9cf477fb1d651ced021
DIST sphinx-2.0.10-release.tar.gz 2016687 SHA256 efc9e90d1edec4f159846c8d4ca8839e7dcf9ef88c117d0d369aaead75809f0a SHA512 d22a0ce261cd6decda2e9e91fc9806699c818bb45a9c9c5e11a0944a698d47b5862c577eb55e7b57dd208db982e7f8bfc7163af37aaedc1c537841aff1409952 WHIRLPOOL 46e17cc73225692e8ab73438547863ba78ef7c1be306bd46e393723220007b95d9a0ca62cbd8175423b62bf4599a68c4a4831ac6472d02249104ecdf0e3892ac
DIST sphinx-2.1.9-release.tar.gz 2443797 SHA256 6289aa0ac3e1456a0c9181ce6bce2287778b5a163f685a1376e181fc87eb7c03 SHA512 7f4538011db5d68bd00c00978d476f780fc2d355113bd2819996bacbaef90b0de5b14c946a9aad83157b818d9b6b01ee0a26bc72862cfd151067ad9967c18f56 WHIRLPOOL fd9e6d31c8b9d88b8de7462ccd947aeb85d97ee4c23c64788653f732a5e47dad134c0f8cedc3b0ccc2d744eb0c4aaeb2d32fbdb02bae50be0d4ed8841a0683a1
DIST sphinx-2.2.10-release.tar.gz 3109250 SHA256 054cb86e64bd48997d89386e1224d4405063d9857b2d7c33dc6cc1b9ef6df440 SHA512 07683f64df730368563e11a7d2939b521837c9a04944ab7d6d09732ab06e451b674169eca4f85db2aae41d883bd16fb4d17b9265912fea9691d07d407d7212d8 WHIRLPOOL b98f7c99d09d10cb4f3656da72acb6c986fe674ecb00347e69a979617253dcf3189aa7507fcabe3d932f6f5f1003b781f6d29bf8d94e777f54ec2588a14855ef
DIST sphinx-2.2.11-release.tar.gz 3061998 SHA256 6662039f093314f896950519fa781bc87610f926f64b3d349229002f06ac41a9 SHA512 cf1a262a5b0fbf0bd2827ec6ec629edeaf709ce855a6e7b509b65342baaeb26c02717ca63f1578d32c83d21e2fd6d1e92dceb34660e6351b93cd96fd4e623689 WHIRLPOOL 34e4aeb41f1b8e352404792cb18149542e624fd739b5d11bee688f49c8be5067553414e9bf57b4352408ce3a6ffb16ece843af8bcf3625a75813a6adaf231e62

@ -1,92 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools toolchain-funcs
#MY_P=${P/_/-}
MY_P=${P}-release
DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
HOMEPAGE="http://www.sphinxsearch.com/"
SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
IUSE="debug +id64 mysql odbc postgres re2 stemmer syslog xml"
RDEPEND="mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql:* )
odbc? ( dev-db/unixODBC )
re2? ( dev-libs/re2 )
stemmer? ( dev-libs/snowball-stemmer )
xml? ( dev-libs/expat )
virtual/libiconv"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
# drop nasty hardcoded search path breaking Prefix
# We patch configure directly since otherwise we need to run
# eautoreconf twice and that causes problems, bug 425380
sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
# Fix QA compilation warnings.
sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
pushd api/libsphinxclient || die
eautoreconf
popd || die
# Drop bundled code to ensure building against system versions. We
# cannot remove libstemmer_c since configure updates its Makefile.
rm -rf libexpat libre2 || die
}
src_configure() {
# fix libiconv detection
use !elibc_glibc && export ac_cv_search_iconv=-liconv
econf \
--sysconfdir="${EPREFIX}/etc/${PN}" \
$(use_enable id64) \
$(use_with debug) \
$(use_with mysql) \
$(use_with odbc unixodbc) \
$(use_with postgres pgsql) \
$(use_with re2) \
$(use_with stemmer libstemmer) \
$(use_with syslog syslog) \
$(use_with xml libexpat )
cd api/libsphinxclient || die
econf STRIP=:
}
src_compile() {
emake AR="$(tc-getAR)" || die "emake failed"
emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
}
src_test() {
# Tests require a live database and only work from the source
# directory.
:
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
dodoc doc/*
dodir /var/lib/sphinx
dodir /var/log/sphinx
newinitd "${FILESDIR}"/searchd.rc searchd
}

@ -1,10 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit distutils-r1

@ -10,8 +10,8 @@ memory.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
--- threadpool-0_2_5-src/threadpool/boost/threadpool/detail/pool_core.hpp 2012-09-27 22:33:21.098626892 -0700
+++ threadpool-0_2_5-src/threadpool/boost/threadpool/detail/pool_core.hpp 2012-09-27 22:51:12.291997839 -0700
--- threadpool/boost/threadpool/detail/pool_core.hpp
+++ threadpool/boost/threadpool/detail/pool_core.hpp
@@ -150,6 +150,7 @@
/// Destructor.
~pool_core()

@ -1,10 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit base
EAPI=6
DESCRIPTION="A cross-platform C++ thread pool library (built on top of Boost)"
HOMEPAGE="http://threadpool.sourceforge.net/"
@ -24,24 +22,19 @@ RDEPEND="dev-libs/boost"
S="${WORKDIR}/${MY_P}-src/${PN}"
DOCS=( README TODO CHANGE_LOG )
PATCHES=( "${FILESDIR}/${P}-memleak.patch" )
src_prepare() {
base_src_prepare
}
src_compile() {
# Do nothing
# The makefile just builds the documentation again
# Not even any install targets
:
return
}
src_install() {
insinto /usr/include/
doins -r boost
dodoc README TODO CHANGE_LOG
if use doc; then
dohtml -r "${WORKDIR}"/"${MY_P}"-doc/
fi
doheader -r boost
use doc && HTML_DOCS+=( "${WORKDIR}"/"${MY_P}"-doc/. )
einstalldocs
}

@ -4,7 +4,7 @@
EAPI="6"
inherit systemd user
inherit python-utils-r1 systemd user
DESCRIPTION="The open-source database for the realtime web."
HOMEPAGE="http://www.rethinkdb.com"
@ -77,6 +77,7 @@ src_configure() {
}
src_compile() {
python_export python2.7 EPYTHON
emake VERBOSE=1
}

@ -1 +0,0 @@
DIST oscache-2.0.2-full.zip 2533146 SHA256 d909d10aec024d9f53475030843afbb3c3bd18ee1a77b3e9e486a6f0fb336d52 SHA512 18799280bd81506a610659d8e8fb4a1405ff32d1275a227c6306d5197cf3ba8d907227cbbfec4bb570ab7e9fe6342828fd42702644cf19a51e1c66bba8d11cd3 WHIRLPOOL d35959a4c996d000c28d2f5f28f8c527f3a08283912a2a949d1577768d074e1e2517b6ef7b122aee0366e9d723187dc9572acd6b800cb7f13633a1824b4b4b51

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1,71 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
JAVA_PKG_IUSE="doc"
inherit java-pkg-2
DESCRIPTION="OSCache is a widely used, high performance J2EE caching framework"
SRC_URI="https://oscache.dev.java.net/files/documents/629/2653/${P}-full.zip"
HOMEPAGE="http://www.opensymphony.com/oscache/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-macos"
COMMON_DEP="
dev-java/commons-collections
dev-java/commons-logging
java-virtuals/servlet-api:2.3
java-virtuals/jms
dev-java/jgroups"
RDEPEND=">=virtual/jre-1.3
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.3
${COMMON_DEP}
app-arch/unzip"
IUSE=""
S=${WORKDIR}
java_prepare() {
find . -name "*.jar" -print -delete || die
}
src_compile() {
local build_dir="${S}"/build
local classpath="-classpath $(java-pkg_getjars commons-logging,commons-collections,servlet-api-2.3,jms,jgroups):${build_dir}:."
mkdir ${build_dir}
echo "Building core..."
cd "${S}"/src/core/java
ejavac ${classpath} -nowarn -d ${build_dir} $(find . -name "*.java") || die
echo "Building cluster support plugin..."
cd "${S}"/src/plugins/clustersupport/java
find . -name "*.java" -exec sed -i -e "s/org.javagroups/org.jgroups/g" {} \;
ejavac ${classpath} -nowarn -d ${build_dir} $(find . -name "*.java") || die
echo "Building disk persistence plugin..."
cd "${S}"/src/plugins/diskpersistence/java
ejavac ${classpath} -nowarn -d ${build_dir} `find . -name "*.java"` || die "compile failed"
if use doc ; then
echo "Building documentation..."
mkdir "${S}"/javadoc
cd ${build_dir}
local sourcepath="${S}/src/core/java:${S}/src/plugins/diskpersistence/java:${S}/src/plugins/clustersupport/java"
javadoc ${classpath} -sourcepath ${sourcepath} -d "${S}"/javadoc \
$(find com/opensymphony/oscache -type d | tr '/' '.') \
|| die "failed to create javadoc"
fi
cd "${S}"
jar cf ${PN}.jar -C build . || die "jar failed"
}
src_install() {
java-pkg_dojar *.jar
dodoc readme.txt
use doc && java-pkg_dojavadoc javadoc
}

@ -10,7 +10,7 @@ inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Professional cross platform layouts with Swing"
HOMEPAGE="https://swing-layout.dev.java.net/"
SRC_URI="mirror//gentoo/${P}-src.zip"
SRC_URI="mirror://gentoo/${P}-src.zip"
LICENSE="LGPL-2.1"
SLOT="1"

@ -14,7 +14,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~spa
IUSE="test"
RDEPEND="
>=dev-libs/glib-2.24:2
>=dev-libs/glib-2.32:2
>=dev-libs/vala-common-${PV}
"
DEPEND="${RDEPEND}

@ -0,0 +1,56 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils flag-o-matic versionator
DESCRIPTION="Simple C-library to access Oracle databases via the OCI interface"
SRC_URI="http://www.poitschke.de/libsqlora8/${P}.tar.gz"
HOMEPAGE="http://www.poitschke.de/libsqlora8/index_noframe.html"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~x86"
IUSE="orathreads static-libs +threads"
RDEPEND="dev-db/oracle-instantclient"
DEPEND="
${RDEPEND}
virtual/pkgconfig
"
REQUIRED_USE="?? ( orathreads threads )"
src_configure() {
local myconf
local ORACLE_VER="$(best_version dev-db/oracle-instantclient)"
ORACLE_VER="${ORACLE_VER#*/*-*-}" #reduce it to ${PV}-${PR}
ORACLE_VER="$(get_version_component_range 1-2 ${ORACLE_VER})"
append-ldflags -L"/usr/lib/oracle/${ORACLE_VER}/client/lib"
use threads && myconf="--with-threads=posix"
use orathreads && myconf="--with-threads=oracle"
econf \
$(use_enable static-libs static) \
${myconf}
}
src_compile() {
# Parallel compilation is not supported
emake -j1
}
src_install () {
default
prune_libtool_files
dodoc ChangeLog NEWS NEWS-2.2
# TODO
# Copy contents of doc and examples directory to proper place
rm -r "${D}/usr/share/doc/packages"
}

@ -1,61 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
DESCRIPTION="libsqlora8 is a simple C-library to access Oracle databases via the OCI interface"
SRC_URI="http://www.poitschke.de/libsqlora8/${P}.tar.gz"
HOMEPAGE="http://www.poitschke.de/libsqlora8/index_noframe.html"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~x86"
IUSE="threads orathreads"
DEPEND=""
pkg_setup() {
if use orathreads && use threads; then
eerror
eerror 'Enable the "threads" USE flag for POSIX threads,'
eerror '*or* the "orathreads" USE flag for Oracle threads'
eerror
die 'Both "threads" and "orathreads" USE flags set, see above'
fi
# Make sure ORACLE_HOME is set
if [ -z "${ORACLE_HOME}" ]; then
eerror
eerror 'libsqlora8 requires that the ORACLE_HOME environment variable be set.'
eerror 'Try: "export ORACLE_HOME=/usr/local/oracle" if you do not know what to do.'
eerror
die 'ORACLE_HOME not set, see above'
fi
}
src_compile() {
local myconf;
# Add $ORACLE_HOME/lib to LD_LIBRARY_PATH
if [ -z "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=${ORACLE_HOME}/lib
else
LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
fi
export LD_LIBRARY_PATH
use threads && myconf="--with-threads=posix"
use orathreads && myconf="--with-threads=oracle"
# Build
econf ${myconf} || die "configure failed"
emake
}
src_install () {
einstall
dodoc ChangeLog NEWS NEWS-2.2
# TODO
# Copy contents of doc and examples directory to doc
}

@ -1 +1,2 @@
DIST camlzip-1.05.tar.gz 25817 SHA256 930b70c736ab5a7ed1b05220102310a0a2241564786657abe418e834a538d06b SHA512 5128243fc7528e5ec6cbb7d9b121e8cb0b6d486a95a82161cd74cafe05454602c9952ed6fee3d38a53614e5ecdc20ef88437681107c5952bf85b8f8c78bf042d WHIRLPOOL 26d2bf8d08a425b2297a913ec140fdfff78a31eb9a09e3641b38face44994c2f322354fddd9b96c003df74479e3d40dd12b5d9243160eeadd466b66e896b1acd
DIST camlzip-1.06.tar.gz 26499 SHA256 c83877f9972943e6f2e147cf9715a785da2fc8531e7bed3ab4787043b8f4cf54 SHA512 5ef0172927106589620678897f12f054533503a5cf13df71bf4deda43f223d0cd6acce118977e87bce53afe289f367b851f192a8e693274c2bd13549121019dd WHIRLPOOL a83ad24836d64adc00324f44ce5f3877c8d912afe14dcb0ad5b8788a52dfe777b2b582e240e74ed24bda950ca0202505792e62f9c205f0a5f39c33918e70217a

@ -0,0 +1,35 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit findlib eutils
IUSE="+ocamlopt"
DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)"
HOMEPAGE="http://forge.ocamlcore.org/projects/camlzip/"
SRC_URI="http://forge.ocamlcore.org/frs/download.php/1616/${P}.tar.gz"
SLOT="1/${PV}"
LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
RDEPEND=">=dev-lang/ocaml-4.02:=[ocamlopt?]
>=sys-libs/zlib-1.1.3"
DEPEND="${RDEPEND}"
src_compile() {
emake all
if use ocamlopt; then
emake allopt
fi
}
src_install() {
findlib_src_preinst
emake DESTDIR="${D}" install-findlib
dodoc README Changes
}

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -27,10 +27,12 @@ DEPEND="${RDEPEND}
dev-perl/Test-Exception
virtual/perl-Test-Simple
>=dev-perl/Test-Taint-1.60.0
dev-perl/Test-Dependencies
>=dev-perl/Test-Pod-1.140.0
>=dev-perl/Test-Pod-Coverage-1.40.0
)
"
src_test() {
perl_rm_files t/boilerplate.t t/manifest.t t/dependencies.t \
t/pod-coverage.t t/pod.t
perl-module_src_test
}
SRC_TEST=do

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -28,8 +28,11 @@ DEPEND="${RDEPEND}
dev-perl/Test-Exception
virtual/perl-Test-Simple
>=dev-perl/Test-Taint-1.60.0
dev-perl/Test-Dependencies
>=dev-perl/Test-Pod-1.140.0
>=dev-perl/Test-Pod-Coverage-1.40.0
)
"
src_test() {
perl_rm_files t/boilerplate.t t/manifest.t t/dependencies.t \
t/pod-coverage.t t/pod.t
perl-module_src_test
}

@ -0,0 +1,41 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=MIKAGE
DIST_VERSION=0.17
inherit perl-module
DESCRIPTION="S/MIME message signing, verification, encryption and decryption"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libressl test minimal"
RDEPEND="
!libressl? ( dev-libs/openssl:0 )
libressl? ( dev-libs/libressl )
virtual/perl-XSLoader
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
dev-perl/extutils-pkgconfig
dev-perl/ExtUtils-CChecker
>=virtual/perl-ExtUtils-Constant-0.230.0
test? (
dev-perl/Test-Exception
virtual/perl-Test-Simple
!minimal? (
>=dev-perl/Test-Taint-1.60.0
>=dev-perl/Taint-Util-0.80.0
)
)
"
src_test() {
perl_rm_files t/boilerplate.t t/manifest.t t/dependencies.t \
t/pod-coverage.t t/pod.t
perl-module_src_test
}

@ -1,2 +1,3 @@
DIST Crypt-SMIME-0.15.tar.gz 23647 SHA256 0baa9af1209f62c6a409afa4b0ede163b44fe0dc4f5f5627800d46e0b4631e82 SHA512 9ceb98fdf4d40784fe5fef56a45b748ad78f112d216ef67e2fe5aec47f5d4f18bcbf2aebfde344cb3a516d967da89d839198cbd1157d7e75a5f9c475f567f61f WHIRLPOOL a76b5495663c2fd43b487a91c4e45b05f4e027467f9f91c5136099101bfef0d3d2da8b1fb89c55fe6a67e3002c1edc7e5cef682d3a7df81f43b91cdbc299b00c
DIST Crypt-SMIME-0.16.tar.gz 25106 SHA256 f4d0f431e18c0750bc0495eccca5f685773df5d37a0f25dbacbfdba16446dbfa SHA512 ae2d3ba015dbdabca00186e74710a3112437d656ebbff078189e445285a713ba83419cd9b80921f9345a67bf8f78cc772f973b587824609f9294d37a3ffce4b8 WHIRLPOOL 477e045e520a3498c0891feb6067053197c58cc4108d5a5ff63a34cd14f1a2e6af8b911402806d649bb681d74161e3aa23d591eda052b8bcf1e765b098afd7f1
DIST Crypt-SMIME-0.17.tar.gz 25601 SHA256 53eb12e219e18c40baf9ed58b26e0bc838bf67779f440f90e7b258e701cfe891 SHA512 3e194e5f0a7a75b086ca5e3a61706f2c355624b57a12174f8e047f8beaaa3296008c9067db675c32317a4be26a13d729f90ba93866aa820b29a20927361f39da WHIRLPOOL 4641ea7dfd84214c16cb0d934e8547cfb066caeed04187ea425b780571b88f7d4aecf5fa3e0dfb6bc2d157197b07d131368d0ed248bf00203c533541753e41d9

@ -0,0 +1,30 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=DDICK
DIST_VERSION=0.36
inherit perl-module
DESCRIPTION="Provide non blocking randomness"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-Test-Simple
)
"
src_test() {
perl_rm_files t/pod.t
perl-module_src_test
}

@ -1 +1,2 @@
DIST Crypt-URandom-0.34.tar.gz 5912 SHA256 cf62e01cb7aaecfd51bfd1222dcd58c85c02399f078243220b79160ef140f934 SHA512 02ac4e8e91136fd8c594d3a71cd805b85b9e0706b359e31ad55603763453cccc3ca6fbef1f2a413ae76dd079ab3d50332c43edc7efefb0851cac812e29cce412 WHIRLPOOL 0bcc746e6fa2e18771ae52ce6fcfb8f86c64afa3d897d6f941ca6ef23ccd29322b007bfb6f850f17b033a61df026aa450b72172ca9fea2127db728f4efe92628
DIST Crypt-URandom-0.36.tar.gz 6099 SHA256 81fec9921adc5d3c91cbe0ad8cb2bb89b045c4fb0de9cb3c43f17e58e477f8a1 SHA512 59e6773d808f34f242f2520ed236faeed804d623fbcf4f1b8e7b39ed215ff1cde9f76ce4a9f5f260dfac42b036229a56cdb49a7f6856d5e943ed4d50e3392adc WHIRLPOOL db7b6826cae207149622406056bdba549b02c3375a6935864c4f588dce7def1ea750ad7862c4f6bbc9c085c95d4f0fa457e7b4d946c08a5a9a03adfe3be6ff24

@ -5,4 +5,8 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Crypt-URandom</remote-id>
<remote-id type="cpan-module">Crypt::URandom</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1 @@
DIST Taint-Util-0.08.tar.gz 14862 SHA256 78047c65237ee4ca2451bd8b44936db09a34a3925003eccf4255bcd7fdd9768c SHA512 78a1ec5af26a21de4d63455caa401d26b7cfc58e32c33ab5ca1fa75063856c3866b8deba19dba518e0138c65d2cad184b1c682cd48b68d1ed4c0570017d0f7a8 WHIRLPOOL a7f7954ce0c335467d6807cab3dc23cb5df6f0bf289fa5ff2a48c7577473f02487405891f530d900aa15ddb15e16684bc22059afdcf80c1d87b10da20efd0b0c

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DIST_AUTHOR=AVAR
DIST_VERSION=0.08
inherit perl-module
DESCRIPTION="Test for and flip the taint flag without regex matches or eval"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="virtual/perl-XSLoader"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( virtual/perl-Test-Simple )
"

@ -5,4 +5,8 @@
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Taint-Util</remote-id>
<remote-id type="cpan-module">Taint::Util</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST Test-Tester-0.109.tar.gz 16315 SHA256 d3c7c85e2fcbd5bb9c9c4d2e76ddaa9b1694ed0ab2795b722904cf043e123655 SHA512 f79942a85c787b1ea29da8f5c5611a0ce1fa8fabe372a4de04f0e5b98af137f43cd3966a558dc8fc5d0b049eb162f9b583d73ca39674bab7523290756b25cfe7 WHIRLPOOL e819f057ae8f6bf2f85a36eb8431754f9e067ad5b52746e4178e6d52f15ccd1ae41af33d85acf244d2cb09bdff04061e530740c431f990cf3c3aeb1ff83a4cd0

@ -1,17 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=FDALY
MODULE_VERSION=0.109
inherit perl-module
DESCRIPTION="Ease testing test modules built with Test::Builder"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
SRC_TEST="do"

@ -1,32 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Ease testing test modules built with Test::Builder"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
HOMEPAGE="https://www.gentoo.org/"
LICENSE="GPL-2"
# this is just a dummy ebuild to help with portage dependency resolution on
# Perl 5.22 upgrade - it does not install any files
RDEPEND="=virtual/perl-Test-Simple-1.1.14*"
removal_message() {
einfo "This package is only a stub for upgrade purposes and can now be removed"
einfo "Equivalent modules now should be supported by either"
einfo " a) virtual/perl-Test-Simple installing >=perl-core/Test-Simple-1.1.14"
einfo " b) virtual/perl-Test-Simple installing >=dev-lang/perl-5.22.0"
}
pkg_postinst() {
removal_message
}
pkg_info() {
removal_message
}

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<upstream>
<remote-id type="cpan">Test-Tester</remote-id>
<remote-id type="cpan-module">Test::Tester</remote-id>
<remote-id type="cpan-module">Test::Tester::Capture</remote-id>
<remote-id type="cpan-module">Test::Tester::CaptureRunner</remote-id>
<remote-id type="cpan-module">Test::Tester::Delegate</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST cdk-perl-20141106.tar.gz 159932 SHA256 01287dd0607c26e4b68441432d25b29f2daa0ef422575cae4e07d037efaa9bd9 SHA512 3404a68ce340fbe31c314762fa7a0d9201511ee7637fc4f117b692e590f089cd2f7dae1fc1155dbaabfc0bf1b9a7905bcc6f43251734764a405bef9ae363c3ab WHIRLPOOL 614e95b73d07b743a3d859d8aeef01a58cd1b02916b2ae1de43db51274b1612e40c04ec790914352901f4cd93512a61a52a6e56a03738b0d0ba21c4c2a367d1d

@ -1,24 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit perl-module
DESCRIPTION="Perl extension for Cdk"
HOMEPAGE="http://invisible-island.net/cdk/cdk-perl.html"
SRC_URI="http://invisible-island.net/datafiles/release/cdk-perl.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND=">=dev-libs/cdk-5.0.20090215"
DEPEND="${RDEPEND}"
src_configure() {
default
perl-module_src_configure
}

@ -1,3 +1,4 @@
DIST Numdifftools-0.9.16.tar.gz 334688 SHA256 74c2dfb393ff10af724ed8e1871e1bf14c643f911c3e6f33efd01d3228041d3f SHA512 b5056a26408eda09466795ce6f24f1549a389294d9d98cd9ce437a6f9f875cc58e59b5f4ffa7452e4cce2ac9f4813523e25eff63f597a674edab6ee777fbbfc3 WHIRLPOOL 1f91f3cc4b9d8e10e4ec9f4207a0c434bf376847432f7ba2d3f05038853aeedab5a0d13a07cc846244c3849a8ad527ccad0b994e81b8444296772ce20aa9bccd
DIST numdifftools-0.9.12.zip 236823 SHA256 eee07f03eaa9531c34949bfbb27b0fade7b1e927dd9daf18342d13fc1ee88eaa SHA512 00c78abac0c08beb72ec11bcddd74165db773a0fa9b4eee10290a27c4c143f1593254e058898dc12aee1afc6bad5bb2849451e6018129aa32e808eee1b97420c WHIRLPOOL aef074b9aaf4caecfad8bff75ccb8bd95e36373e2dd4e1dfc4b700fa1925b9b8652d6c483f81133c82e857abae6f2628e9166c77d6b102db3f9bb58c72e682a7
DIST numdifftools-0.9.13.zip 225820 SHA256 1aad0d9eba96846f5c3b82e6a8df0b1eaf4cd13e0b665cba64646756a0f2add6 SHA512 e16fe167cbcc7995e5f7b1784822b94bc82261821ebf35f8b9f774ef1fd601ef13a23a72670f28b54b5f288b509a9ffccbde09033bdec6a88e8a4ef78ed74b25 WHIRLPOOL f32e93f54a883a751f0efb987b81fc7f187c8b6e4c327de2166f4c30afb7f3cb1b076047036deced7b98b551cb9085483c2e22a08881a7730689a5bbbfae5926
DIST numdifftools-0.9.14.zip 350053 SHA256 8b17629fa9877f19517014095b12d7145f8cd5d9568421e202d777c97d9f04e4 SHA512 a69c878a31fa96c0b3f65c486ac75359242b6215868f24f3554be9ca104ac477bc786df7046bc830120d8fabbc475de40ab3db77c21c0d54756ccec1829fd8ae WHIRLPOOL b890871115d2f4ab65450272a8ec14e36f3379a6cbb2783bb9257e94e5b627a1cc0fc90b1a801f3655eba7ef4ac76b9690ad2ca41a9cf2f9e5b1e8ce20c11625

@ -0,0 +1,59 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
inherit distutils-r1
MY_PN=numdifftools
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Solves automatic numerical differentiation problems in one or more variables"
HOMEPAGE="https://pypi.python.org/pypi/Numdifftools https://github.com/pbrod/numdifftools"
SRC_URI="https://github.com/pbrod/${PN,,}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
>=dev-python/algopy-0.4[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
>=dev-python/numpy-1.9.0[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=sci-libs/scipy-0.8[${PYTHON_USEDEP}]
"
DEPEND="
>=dev-python/setuptools-0.9[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/pyscaffold[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]
)"
S="${WORKDIR}"/${MY_P}
python_prepare_all() {
# pulls coverage test
sed \
-e '/tests_require/d' \
-i setup.py || die
# Upstream does not create proper tarballs anymore,
# and setuptools reacts allergically to Github tarballs
cat >> PKG-INFO <<-EOF || die
Name: ${PN,,}
Version: ${PV}
EOF
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}

@ -1,10 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4} )
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
inherit distutils-r1
@ -24,6 +24,7 @@ RDEPEND="
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
PATCHES=( "${FILESDIR}/${P}-fix-test-cast-ufunc.patch" )
python_test() {
${EPYTHON} run_tests.py || die

@ -0,0 +1,29 @@
From f563d86e72b32caa296ac77b0836ce0e36a5f6ab Mon Sep 17 00:00:00 2001
From: Sebastian Walter <sebastian.walter@iwr.uni-heidelberg.de>
Date: Thu, 30 Jun 2016 15:11:19 +0200
Subject: [PATCH] Problem: numpy raised TypeError: Cannot cast ufunc add output
from dtype('complex128') to dtype('float64') with casting rule 'same_kind'
Solution: use numpy.add(x,y,out=x, casting='unsafe') to cast from complex to
float if necessary
---
algopy/utpm/algorithms.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/algopy/utpm/algorithms.py b/algopy/utpm/algorithms.py
index ccf7ca4..5f2651e 100644
--- a/algopy/utpm/algorithms.py
+++ b/algopy/utpm/algorithms.py
@@ -1190,9 +1190,9 @@ def _dot(cls, x_data, y_data, out = None):
for d in range(D):
for p in range(P):
for c in range(d+1):
- z_data[d,p,...] += numpy.dot(
- x_data[c,p,...],
- y_data[d-c,p,...])
+ tmp = numpy.dot(x_data[c,p,...],
+ y_data[d-c,p,...])
+ numpy.add(z_data[d,p,...], tmp, out=z_data[d,p, ...], casting='unsafe')
return out

@ -1,38 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
inherit distutils
DESCRIPTION="Python interface for the GNU scientific library (gsl)"
HOMEPAGE="http://pygsl.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="examples"
DEPEND="sci-libs/gsl
dev-python/numpy"
RDEPEND="${DEPEND}"
src_test() {
testing() {
cd "${S}/tests"
PYTHONPATH=$(ls -d ../build-${PYTHON_ABI}/lib*) "$(PYTHON)" run_test.py
}
python_execute_function testing
}
src_install() {
distutils_src_install
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples || die "install examples failed"
fi
}

@ -19,15 +19,8 @@ IUSE="test"
# When bumping, please check setup.py for the proper py version
PY_VER="1.4.29"
RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
# dev-python/pluggy
# https://github.com/hpk42/pluggy
# See https://github.com/pytest-dev/pytest/issues/944
# for why not now
#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30
DEPEND="${RDEPEND}
COMMON_DEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
DEPEND="${COMMON_DEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
@ -36,6 +29,9 @@ DEPEND="${RDEPEND}
dev-python/requests[${PYTHON_USEDEP}]
)
"
RDEPEND="${COMMON_DEPEND}
!dev-python/logilab-common
"
python_prepare_all() {
chmod o-w *egg*/* || die

@ -1 +1,2 @@
DIST vcstools-0.1.38.tar.gz 54671 SHA256 0e3d2b5681c2776453fb5b61ceab61fdb965d5342e46c08a5b62095eb0237117 SHA512 a3693d34777235e562a5db006af8f33590df99ffce96f5d3cfd2d816ebdc23ee5fb3536bf289b64a36588e60ce20ce8396a448394f300a12672fd8bf5800973e WHIRLPOOL 86fccbb181849f2b60d8159073bb3de659b7d96173952cb9b68a2869048827c48860fb67859db1341a0defeee0915d41c1d6e77e812f807ca11e91e92e0ed250
DIST vcstools-0.1.39.tar.gz 51610 SHA256 841bdfeca326b532ced45feea2a79b48008415ef117df008071ba74e985f59c1 SHA512 163ced29baa158d915169a4f8f432bd9ad60ddcd5abae0d3801b5d970049d717c11bd8aa95f7af9dfe48cdcbcce49d14331a82a9c41b9ded1ce4caa2e27cd901 WHIRLPOOL 1c47eda1e0e383336d8d940c4bf063c3aac04e21870d0fa567e239a882216ad857cf184afcef409a0645c38da069a9d1b5c34f1638230c1d59c6d8b7166b618e

@ -0,0 +1,59 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
SCM=""
if [ "${PV#9999}" != "${PV}" ] ; then
SCM="git-r3"
EGIT_REPO_URI="https://github.com/vcstools/vcstools"
fi
inherit ${SCM} distutils-r1
DESCRIPTION="Python library for interacting with various VCS systems"
HOMEPAGE="http://wiki.ros.org/vcstools"
if [ "${PV#9999}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
https://github.com/vcstools/vcstools/archive/${PV}.tar.gz -> ${P}.tar.gz
"
KEYWORDS="~amd64 ~arm"
fi
LICENSE="BSD"
SLOT="0"
IUSE="test"
RDEPEND="
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-vcs/git
dev-vcs/bzr
dev-vcs/mercurial
dev-vcs/subversion
)
"
python_test() {
# From travis.yml
# Set git config to silence some stuff in the tests
git config --global user.email "foo@example.com"
git config --global user.name "Foo Bar"
# Set the hg user
echo -e "[ui]\nusername = Your Name <your@mail.com>" >> ~/.hgrc
# Set the bzr user
bzr whoami "Your Name <name@example.com>"
#git config --global user.email "you@example.com"
#git config --global user.name "Your Name"
nosetests --with-coverage --cover-package vcstools || die
}

@ -1,85 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
inherit eutils flag-o-matic multilib python versionator
MY_P="${PN}-$(delete_version_separator 2)_release"
DESCRIPTION="Real-time 3D graphics library for Python"
HOMEPAGE="http://www.vpython.org/"
SRC_URI="http://www.vpython.org/contents/download/${MY_P}.tar.bz2"
LICENSE="HPND Boost-1.0"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="doc examples"
RDEPEND=">=dev-cpp/gtkglextmm-1.2
dev-cpp/libglademm
>=dev-libs/boost-1.48[python]
dev-python/numpy
dev-python/polygon:2
dev-python/ttfquery"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
src_prepare() {
# Verbose build.
sed -i \
-e 's/2\?>>[[:space:]]*\$(LOGFILE).*//' \
src/Makefile.in || die
epatch "${FILESDIR}/${P}-boost-1.50.patch"
python_clean_py-compile_files
python_src_prepare
preparation() {
sed -i \
-e "s/-lboost_python/-lboost_python-${PYTHON_ABI}/" \
-e "s/libboost_python/libboost_python-${PYTHON_ABI}/" \
src/Makefile.in src/gtk2/makefile
}
python_execute_function -s preparation
}
src_configure() {
BOOST_PKG="$(best_version ">=dev-libs/boost-1.48")"
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
BOOST_INC="${EPREFIX}/usr/include/boost-${BOOST_VER}"
BOOST_LIB="${EPREFIX}/usr/$(get_libdir)/boost-${BOOST_VER}"
# Specify the include and lib directory for Boost.
append-cxxflags -I${BOOST_INC}
append-ldflags -L${BOOST_LIB}
python_src_configure \
--with-example-dir="${EPREFIX}/usr/share/doc/${PF}/examples" \
--with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" \
$(use_enable doc docs) \
$(use_enable examples)
}
src_install() {
python_src_install
python_clean_installation_image
dodoc authors.txt HACKING.txt NEWS.txt
}
pkg_postinst() {
python_mod_optimize vis visual
}
pkg_postrm() {
python_mod_cleanup vis visual
}

@ -1,3 +1,4 @@
DIST roscpp_core-0.5.6.tar.gz 31734 SHA256 0bd27394c18c7c79313ebc4eafecc04f88aa54a9d0872357b7123105444edf3a SHA512 caebca2817721a46c8ce850bc15bdeadb3bf6ad12aeb134b11bdb04da6054eb4056aef8c5194ca4e7fffa3e3f3563faf8e3148eebfba93bc6b5673d5437d977f WHIRLPOOL f977f9b0e10a287c7d201ffd765a4824e61d0b5f85767c7a8e81d96295f97dcbe22a9c2d376f36a329997d0498ce36f830263e4710eaf288b214b6bf894ede84
DIST roscpp_core-0.5.7.tar.gz 32006 SHA256 85028afb1e1630b47890d3c92bcb7edf61f4be04281669f73f000312621bf66d SHA512 a3a40b2e05e1ad9d442050fd5a5b8a2106a27aef5222eaa9ac1b0c8aff13d1a40da252e81f0544b72380db35594c1d49de06cd3e94b9ba5ed087d71362f3babe WHIRLPOOL c395ccbdd3664e3337ba9a8c029df805585cf04f717c23caf75c582e08581e6a58d232b52679a9cb99150b0c6fa9f831c24b61be0a15839f76487ba67d09f8bb
DIST roscpp_core-0.6.0.tar.gz 32255 SHA256 352fdf2bce0efc562da70dd9ec72691145d8e9eb7a653a8da1b064553be3540b SHA512 3adee84e3fc8f3b66ac3093f0bac82a6fec92e1096c4f2c0c5dd001b0e599d895c71fe62aa19a53d7b097e2eebfceb111262991d46ac9013fff9d2d92ebeec75 WHIRLPOOL 6ce40f71026671cff38c62278f44eccd7fc1a772ebf762f9df8322c29ba1e03ee6297886142209552164a0ef6a546cb9f96bfb6e3e34e02c3177bb90cb3a66fa
DIST roscpp_core-0.6.1.tar.gz 32611 SHA256 7b541401684110e7ff8e0c3e4abcdb5b8c1654e09db1866c76c6257dfc769e1e SHA512 167d3b7bfa048a2c3f7b4239402c9077e1871aa2cc5f60ebab3e5ad3cb5acd94667b4e7de9eb2af2f8dfba74e0d82510f6bb591f7096d99e465f987643b2681a WHIRLPOOL 2e33966b7bddbdb262155ed3f654aa4dfb5ce35a1fff77e27cdff1bcb2e843bd5e885b1e768d4ae719126a8bcf23c4f19505b94a9e12c10a5c3717b076c42622

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/roscpp_core"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=${PN}
inherit ros-catkin
DESCRIPTION="C++ code for doing things that are not necessarily ROS related"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-libs/console_bridge
dev-libs/boost:=[threads]"
DEPEND="${RDEPEND}"

@ -1 +1,2 @@
DIST genlisp-0.4.15.tar.gz 10030 SHA256 cc170a66f92e17945168479974ba24ed6970e9f09eb555b0225a99d339e22a5a SHA512 9e4c498848afa509581e637f446d6423456973b448768cb06b395599d52ded69a2097878a65f1c73c646e25753d2271acecf68ec7616d7d5492232d9b598c4ba WHIRLPOOL 81dd3469b6ea4c77e21e6e4a0517b7991538d60652dcf2c7ea717a621d23a1781c684bdfb536481dd2ab72cae6b369f1e5badbeffe314da560001aaf160d519d
DIST genlisp-0.4.16.tar.gz 10059 SHA256 31d3b86a0e3c0517b743a5c74dc3fe4a533ea22fdd1481b7432aa5f7b7800a0d SHA512 1cf180a337716f704d0e152a77049349aee9935273592b83aca64f3a9f926ed8775669114744ebf265dd09e70cf24af24e5c3e12a7bb3e7ecd90dc86f3cca3a6 WHIRLPOOL 0088ba1efd7b921662adf7b82994acf5cbd9a9f87202d200a5a6f3f620697da6b35985575533f1c7dec88a2c007bec8d4d358760bb57ecb9e2aae72ddbbe59d5

@ -0,0 +1,19 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/genlisp"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit ros-catkin
DESCRIPTION="Common-Lisp ROS message and service generators"
LICENSE="BSD"
SLOT="0/${PV}"
IUSE=""
RDEPEND="dev-ros/genmsg[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

@ -1,2 +1,3 @@
DIST genmsg-0.5.6.tar.gz 59067 SHA256 70ec083888f8bbdc32cf6b97cdbc3ccc042fe78ad2e6f6fc60b414aaffd8fba6 SHA512 3efba41372028a434e0e3ebbef7212106ba445c2e6755109d09809f4fb96d7b1cfb235bad462ecc9f176d79dbe0616916da52c044620135ebac4c94016338427 WHIRLPOOL 8c8d1199b82674e1121bfaf3d32908cf0e6026d2201f78efe26ca2a3c1da81b2a548aa74b8606ceb1feec9d148a6b438ff23cbd707b0bc6b0e6c09f9beb13b1a
DIST genmsg-0.5.7.tar.gz 59170 SHA256 af979bfa351b6b5a6006680bea195570f4b35dea8bcfeca7bbcdd00a108fefd9 SHA512 69b17e5a601f1d3570810471e9d9f045b891b94a4ac4a8b2ad6adf5e33fe87de6389ae41114f0704f00f93b151f041fe7e883c4f500e5dc360d92b7382789b6c WHIRLPOOL 587f1fa8a16d8ea4de59ca653d164befa7b30dc4996a9c0ad931a7f0be6645753e6e0509d0af375c740b089b7b943a41d136a5580bd7a8617a5a0d0d55d751fc
DIST genmsg-0.5.8.tar.gz 59250 SHA256 d7627a2df169e4e8208347d9215e47c723a015b67ef3ed8cda8b61b6cfbf94d2 SHA512 78553d93a2adfe2c47c5fa68204418e321bc03a6083e344b456c2a727e5819747668b9c82b4b5862766b2fc2ad8b22b5165e9064b993a4491b1f7751db79dc07 WHIRLPOOL 92ba33c3015ee2936446b7f1f90490f8e77810f560888b5f3139db9843d6c8040be619d9ec6fb5a04f19c2784d32d14e60e3478e9efcf4300eadb40ca38bf729

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/genmsg"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit ros-catkin
DESCRIPTION="Python library for generating ROS message and service data structures for various languages"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,19 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=core/${PN}
inherit ros-catkin
DESCRIPTION="A collection of .mk include files for building ROS architectural elements"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=tools/${PN}
inherit ros-catkin
DESCRIPTION="Assorted shell commands for using ros with bash"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/catkin_prefix2.patch" )

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=tools/${PN}
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit ros-catkin
DESCRIPTION="Tool for determining cflags/lflags/etc. of boost on your system"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,19 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=core/${PN}
inherit ros-catkin
DESCRIPTION="Scripts for managing the CMake-based build system for ROS"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,23 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
ROS_SUBDIR=tools/${PN}
inherit ros-catkin
DESCRIPTION="Cleanup filesystem resources (e.g. log files)"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="dev-python/rospkg[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
PATCHES=( "${FILESDIR}/bb.patch" )

@ -1,3 +1,4 @@
DIST roscpp_core-0.5.6.tar.gz 31734 SHA256 0bd27394c18c7c79313ebc4eafecc04f88aa54a9d0872357b7123105444edf3a SHA512 caebca2817721a46c8ce850bc15bdeadb3bf6ad12aeb134b11bdb04da6054eb4056aef8c5194ca4e7fffa3e3f3563faf8e3148eebfba93bc6b5673d5437d977f WHIRLPOOL f977f9b0e10a287c7d201ffd765a4824e61d0b5f85767c7a8e81d96295f97dcbe22a9c2d376f36a329997d0498ce36f830263e4710eaf288b214b6bf894ede84
DIST roscpp_core-0.5.7.tar.gz 32006 SHA256 85028afb1e1630b47890d3c92bcb7edf61f4be04281669f73f000312621bf66d SHA512 a3a40b2e05e1ad9d442050fd5a5b8a2106a27aef5222eaa9ac1b0c8aff13d1a40da252e81f0544b72380db35594c1d49de06cd3e94b9ba5ed087d71362f3babe WHIRLPOOL c395ccbdd3664e3337ba9a8c029df805585cf04f717c23caf75c582e08581e6a58d232b52679a9cb99150b0c6fa9f831c24b61be0a15839f76487ba67d09f8bb
DIST roscpp_core-0.6.0.tar.gz 32255 SHA256 352fdf2bce0efc562da70dd9ec72691145d8e9eb7a653a8da1b064553be3540b SHA512 3adee84e3fc8f3b66ac3093f0bac82a6fec92e1096c4f2c0c5dd001b0e599d895c71fe62aa19a53d7b097e2eebfceb111262991d46ac9013fff9d2d92ebeec75 WHIRLPOOL 6ce40f71026671cff38c62278f44eccd7fc1a772ebf762f9df8322c29ba1e03ee6297886142209552164a0ef6a546cb9f96bfb6e3e34e02c3177bb90cb3a66fa
DIST roscpp_core-0.6.1.tar.gz 32611 SHA256 7b541401684110e7ff8e0c3e4abcdb5b8c1654e09db1866c76c6257dfc769e1e SHA512 167d3b7bfa048a2c3f7b4239402c9077e1871aa2cc5f60ebab3e5ad3cb5acd94667b4e7de9eb2af2f8dfba74e0d82510f6bb591f7096d99e465f987643b2681a WHIRLPOOL 2e33966b7bddbdb262155ed3f654aa4dfb5ce35a1fff77e27cdff1bcb2e843bd5e885b1e768d4ae719126a8bcf23c4f19505b94a9e12c10a5c3717b076c42622

@ -0,0 +1,22 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/roscpp_core"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=${PN}
inherit ros-catkin
DESCRIPTION="Code for serialization"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-ros/cpp_common
dev-ros/rostime
dev-ros/roscpp_traits
"
DEPEND="${RDEPEND}"

@ -1,3 +1,4 @@
DIST roscpp_core-0.5.6.tar.gz 31734 SHA256 0bd27394c18c7c79313ebc4eafecc04f88aa54a9d0872357b7123105444edf3a SHA512 caebca2817721a46c8ce850bc15bdeadb3bf6ad12aeb134b11bdb04da6054eb4056aef8c5194ca4e7fffa3e3f3563faf8e3148eebfba93bc6b5673d5437d977f WHIRLPOOL f977f9b0e10a287c7d201ffd765a4824e61d0b5f85767c7a8e81d96295f97dcbe22a9c2d376f36a329997d0498ce36f830263e4710eaf288b214b6bf894ede84
DIST roscpp_core-0.5.7.tar.gz 32006 SHA256 85028afb1e1630b47890d3c92bcb7edf61f4be04281669f73f000312621bf66d SHA512 a3a40b2e05e1ad9d442050fd5a5b8a2106a27aef5222eaa9ac1b0c8aff13d1a40da252e81f0544b72380db35594c1d49de06cd3e94b9ba5ed087d71362f3babe WHIRLPOOL c395ccbdd3664e3337ba9a8c029df805585cf04f717c23caf75c582e08581e6a58d232b52679a9cb99150b0c6fa9f831c24b61be0a15839f76487ba67d09f8bb
DIST roscpp_core-0.6.0.tar.gz 32255 SHA256 352fdf2bce0efc562da70dd9ec72691145d8e9eb7a653a8da1b064553be3540b SHA512 3adee84e3fc8f3b66ac3093f0bac82a6fec92e1096c4f2c0c5dd001b0e599d895c71fe62aa19a53d7b097e2eebfceb111262991d46ac9013fff9d2d92ebeec75 WHIRLPOOL 6ce40f71026671cff38c62278f44eccd7fc1a772ebf762f9df8322c29ba1e03ee6297886142209552164a0ef6a546cb9f96bfb6e3e34e02c3177bb90cb3a66fa
DIST roscpp_core-0.6.1.tar.gz 32611 SHA256 7b541401684110e7ff8e0c3e4abcdb5b8c1654e09db1866c76c6257dfc769e1e SHA512 167d3b7bfa048a2c3f7b4239402c9077e1871aa2cc5f60ebab3e5ad3cb5acd94667b4e7de9eb2af2f8dfba74e0d82510f6bb591f7096d99e465f987643b2681a WHIRLPOOL 2e33966b7bddbdb262155ed3f654aa4dfb5ce35a1fff77e27cdff1bcb2e843bd5e885b1e768d4ae719126a8bcf23c4f19505b94a9e12c10a5c3717b076c42622

@ -0,0 +1,21 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/roscpp_core"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=${PN}
inherit ros-catkin
DESCRIPTION="Message traits code"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-ros/cpp_common
dev-ros/rostime
"
DEPEND="${RDEPEND}"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
ROS_SUBDIR=tools/${PN}
inherit ros-catkin
DESCRIPTION="Tool that assists in the creation of ROS filesystem resources"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-python/rospkg[${PYTHON_USEDEP}]
dev-ros/roslib[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,19 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=core/${PN}
inherit ros-catkin
DESCRIPTION="Common package for all ROS client libraries"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
ROS_SUBDIR=core/${PN}
inherit ros-catkin
DESCRIPTION="Base dependencies and support libraries for ROS"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
>=dev-python/rospkg-1.0.37[${PYTHON_USEDEP}]
dev-libs/boost:=[threads]
dev-ros/rospack
"
DEPEND="${RDEPEND}
test? (
dev-cpp/gtest
dev-python/nose[${PYTHON_USEDEP}]
)"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,22 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
ROS_SUBDIR=tools/${PN}
inherit ros-catkin
DESCRIPTION="ROS dependency aware build tool"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="dev-python/rospkg[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"

@ -1,3 +1,2 @@
DIST rospack-2.2.5.tar.gz 70273 SHA256 8602e21172ef453b63c6c6f1698c5ac81ec014b0a78bf98f31a60937dacee9ef SHA512 b685029e7306795459a1768050fd54e3eb82db91c0c3495410eeb6c6b3cb24b5d7f63cc5286d466659edb35719e76e4a43519526fd0c991fef2d7f9e092fd9e0 WHIRLPOOL 33191188ef39f817f48cdfbda407dc4d4bf288920b7e7b9a1b4b9ff383b87781a34fe7a3bfe734c8431c9e2cde19cadff1d70d84129de813bfbf2412a5728835
DIST rospack-2.2.6.tar.gz 70391 SHA256 3487f24bd5362fa9a0c44b145543e13d7aa20bdb19d0477b7872d52a11bef914 SHA512 3257007600fc7509c276dcdf8484c91f44e10fad988e62f227b0471cf77f41464712ec8e0f31141853d5b8fa863f701451adae10a5ea3ae7bdd4a96910e5ea28 WHIRLPOOL 026dbe2966305f67ae42959d7677c9fcbeffcc740f8bcb9207b1adfc0bbd45259dc7b1789566b7cffad4b61510efbcc172a4544ec76e43548b0209f4f0b13991
DIST rospack-2.3.0.tar.gz 70879 SHA256 d54bf2f82cea3273a34c11d99fed5bb1d78a8e5c86046af425d646ebc94c627c SHA512 d0dd3da0282c2ef1721ac1d3671845cdef0d3307926435f91f7f63441942562d9128609a31368bf836935e6bfc337cc2c419100e5a2c8ed058131f22926e5459 WHIRLPOOL eed21ca219625534c7ba009ca50d52b20b922cb5a08c973bbf40267bbd70c9331fc5828bdd96acf130641f644b927ceeac867c16805c3f43837d98f471203ae6
DIST rospack-2.3.1.tar.gz 70994 SHA256 69634b2fc717903919cd1a7c2367b395b4297676a4aadf0b71bd4d386e50f583 SHA512 647ec1f10fe5f68ba8fe975df54cbafab694605ad30f5f3a02e80d1f5421969fbb94cc047c12ba7e9a395318091ce3bd973ecfed787d02666e27b8c58b655a2d WHIRLPOOL 0ac1f8b4b173576bf8c7d5c17e59b30ef5028a75964e1937e8dd0b601d934a815bdb7c259f8c0c36a1dae3f2a1934a39549d14d30eab77489ab2883da53e9b19

@ -1,29 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/rospack"
KEYWORDS="~amd64 ~arm"
inherit ros-catkin
# Do it that way to avoid ros-catkin pulling in python-r1
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit python-single-r1
DESCRIPTION="Retrieves information about ROS packages available on the filesystem"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="dev-libs/boost:=
dev-libs/tinyxml
"
DEPEND="${RDEPEND}
dev-ros/cmake_modules
test? (
dev-cpp/gtest
dev-python/nose
)"

@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

@ -1,3 +1,4 @@
DIST roscpp_core-0.5.6.tar.gz 31734 SHA256 0bd27394c18c7c79313ebc4eafecc04f88aa54a9d0872357b7123105444edf3a SHA512 caebca2817721a46c8ce850bc15bdeadb3bf6ad12aeb134b11bdb04da6054eb4056aef8c5194ca4e7fffa3e3f3563faf8e3148eebfba93bc6b5673d5437d977f WHIRLPOOL f977f9b0e10a287c7d201ffd765a4824e61d0b5f85767c7a8e81d96295f97dcbe22a9c2d376f36a329997d0498ce36f830263e4710eaf288b214b6bf894ede84
DIST roscpp_core-0.5.7.tar.gz 32006 SHA256 85028afb1e1630b47890d3c92bcb7edf61f4be04281669f73f000312621bf66d SHA512 a3a40b2e05e1ad9d442050fd5a5b8a2106a27aef5222eaa9ac1b0c8aff13d1a40da252e81f0544b72380db35594c1d49de06cd3e94b9ba5ed087d71362f3babe WHIRLPOOL c395ccbdd3664e3337ba9a8c029df805585cf04f717c23caf75c582e08581e6a58d232b52679a9cb99150b0c6fa9f831c24b61be0a15839f76487ba67d09f8bb
DIST roscpp_core-0.6.0.tar.gz 32255 SHA256 352fdf2bce0efc562da70dd9ec72691145d8e9eb7a653a8da1b064553be3540b SHA512 3adee84e3fc8f3b66ac3093f0bac82a6fec92e1096c4f2c0c5dd001b0e599d895c71fe62aa19a53d7b097e2eebfceb111262991d46ac9013fff9d2d92ebeec75 WHIRLPOOL 6ce40f71026671cff38c62278f44eccd7fc1a772ebf762f9df8322c29ba1e03ee6297886142209552164a0ef6a546cb9f96bfb6e3e34e02c3177bb90cb3a66fa
DIST roscpp_core-0.6.1.tar.gz 32611 SHA256 7b541401684110e7ff8e0c3e4abcdb5b8c1654e09db1866c76c6257dfc769e1e SHA512 167d3b7bfa048a2c3f7b4239402c9077e1871aa2cc5f60ebab3e5ad3cb5acd94667b4e7de9eb2af2f8dfba74e0d82510f6bb591f7096d99e465f987643b2681a WHIRLPOOL 2e33966b7bddbdb262155ed3f654aa4dfb5ce35a1fff77e27cdff1bcb2e843bd5e885b1e768d4ae719126a8bcf23c4f19505b94a9e12c10a5c3717b076c42622

@ -0,0 +1,23 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/roscpp_core"
KEYWORDS="~amd64 ~arm"
ROS_SUBDIR=${PN}
inherit ros-catkin
DESCRIPTION="Time and Duration implementations for C++ libraries"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-libs/boost:=[threads]
dev-ros/cpp_common
"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
"

@ -1,3 +1,4 @@
DIST ros-1.12.3.tar.gz 162506 SHA256 49b9368e901d69f464b46c9ff0d12843d413fe20c4271225dbb75169bb82a47e SHA512 fe740f357959ed2cabcf0d902c7f1ebe6a7dedd11376ec76e5f47383b0b29b15127306255bea9adb3a48b2872a681a10302f9b0c4da4625c31bcc78522b66d7c WHIRLPOOL d57a877f7b7dc2a6613d3ea07b59e740e25bfffbcec51fa4ce826ccdc9f95dd9aed121736f46338068f9cf06b52a6abc8462ce663bbd4519e7d93f16422995f5
DIST ros-1.12.5.tar.gz 162845 SHA256 13233fce9ad605c9a9d7da7c40df8babf6bf1ca6b5e7605b57aa451fb03ee83c SHA512 db67da9ba13afa516aea64d2d42cbfd07ddd7f87d5a6db7506a9f80af8eea0ac2bd85251a10b8f07a7384d3de869c46a354fa003d8e834a0ab5fdf26ed991314 WHIRLPOOL bfe4f06f318d5d39d5d3690fa9fdcb75ad622018ee4ad527d9be2ca60b0096c4dde5632d089e0de817337e26bbf2ca169724d0fe634587802cb10cc0ad0db254
DIST ros-1.13.1.tar.gz 165211 SHA256 2860d84fd72930c847e57ae8a0c6bdc960a010e9c01688759ff1382ec1a74be3 SHA512 7902fa33b4442feadd11ac8b965fbc7b94bbf9126320681bc83a067c5a2031f062ce0fe7585e482cac61c81cf2ef1b5dd92a37a4243908095d76869585962218 WHIRLPOOL 9f38f12b168ca8cbecae52322e9d0a5bfe6f2d10bed6b0ca133510b4002bf9ebfd7978b9f50d43fdbc0e33b685ee88297f806b26826fa25c6afac5c0ebe9b914
DIST ros-1.13.2.tar.gz 165502 SHA256 439fc4319009583eab5c4db0f25549dbb972bffb7956b25fee635b3c58237f2a SHA512 d6a407ba1916667e7cae0f16f87d2a0ac49bc019195e423289e0f3380ca50404a21bcd8ee6212005bc3fa528ee7e8ae5dd0d993c5f213e5690509926f7984e26 WHIRLPOOL f06b225c5cde0bf86d915edd51d84178b5b17c713107b0d3bc79d9523363b47de68483d5f6f834ba454ddff57b41c77e5b3fa2ca1fac5eb604e15195d0d5e888

@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
ROS_REPO_URI="https://github.com/ros/ros"
KEYWORDS="~amd64 ~arm"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
ROS_SUBDIR=tools/${PN}
inherit ros-catkin
DESCRIPTION="Unit-testing package for ROS"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
dev-python/rospkg[${PYTHON_USEDEP}]
dev-ros/roslib[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save