parent
509d1f7a2c
commit
72c9a2e913
@ -1,2 +1,3 @@
|
||||
DIST ccid-1.4.15.tar.bz2 487625 SHA256 5436182246f15b3e78b1ad6707022b02dc400e3f50c4cb5e5d340a4e716d990a SHA512 393eb65db0fb31b58d4010c10cae6c7592078b02d0e77b7741330cc3b1e5dd768fa08dbaf75db39c547e3603fa70aa1c8aaf3b536266314f2f04d2ff2b6fb29c WHIRLPOOL 0dd511454cf8e39303318b61f9e2390f2ef27b763e80e9270f55ee15966ced8378f3f3ee5440b6380481f970f03ae37bbb2221da6c3d2d658622ea4cdc3aee3f
|
||||
DIST ccid-1.4.18.tar.bz2 492113 SHA256 5fdba97a2d2eb1c652b7dd4aa0bb8cee4814bab0cf61aecb84b32b57272541aa SHA512 ff7e331431909fe9fffd4f7aae0a2395b3b755da9c898aa6a6b629f7f516c240b820669146791deb443c646dc8fc56f9100c9f987b3e7d13c24f24f81f06b1f0 WHIRLPOOL 86107ac379e5523c31aa1499e1ecd5a1f6dab5b7f748800b5a22ff2b6470e9bb590407cb8a98ad65870a832149fe8835aa42dff9a30027f0bce843640439ce1e
|
||||
DIST ccid-1.4.20.tar.bz2 567553 SHA256 400cb865bb63eed6d7668b2d971cb4644038b9b7a6cda121450d0c6cf6251cbc SHA512 4ce0694e268fe962f5eb49d3d640333a4c7ef54af5f9939b3682341b19ffad7470f5e1816b3b3af1bce8cf31f4335c3177f7e6b8190e187125ce1da73692cbab WHIRLPOOL 2af0cc1887ab93da92f9c498982798b57e3711b864cc59446248fd59f96703b781cb65602e7c80ce2de194901cff12b52b9105ad404b4c04a3f45a5f38343ee7
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
STUPID_NUM="4140"
|
||||
|
||||
inherit eutils toolchain-funcs udev autotools-utils
|
||||
|
||||
DESCRIPTION="CCID free software driver"
|
||||
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="twinserial +usb"
|
||||
|
||||
RDEPEND=">=sys-apps/pcsc-lite-1.8.3
|
||||
usb? ( virtual/libusb:1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
kernel_linux? ( virtual/pkgconfig )"
|
||||
|
||||
DOCS=( README AUTHORS )
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
LEX=:
|
||||
$(use_enable twinserial)
|
||||
$(use_enable usb libusb)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
|
||||
if use kernel_linux; then
|
||||
# note: for eudev support, rules probably will always need to be
|
||||
# installed to /usr
|
||||
|
||||
# ccid >=1.4.11 version changed the rules drastically in a minor
|
||||
# release to no longer use the pcscd group. Using the old ones in
|
||||
# the mean time.
|
||||
udev_newrules "${FILESDIR}"/92_pcscd_ccid-2.rules 92-pcsc-ccid.rules
|
||||
fi
|
||||
}
|
@ -1,8 +1,3 @@
|
||||
DIST qemu-1.5.2-e26b4ba6.tar.xz 21348 SHA256 877cc321b3bd5e30aaa7a481b359e16845ad731927a49df1fb2d5b0cfbfd0ad6 SHA512 1f015c5d9ca37475bddf9d474255b10ae3f03d01280270211deb1195a2ef288e6a1bbff9490cb4173a7af4b02787469278816fd5dee69d8e11d601b5a46b0e53 WHIRLPOOL 86a249c1339bb241a1534e5047bab696b8c26ad491eda073ee57ce1f9104df54ab7e251cd5ad9568a1381307b118029b7619bf689dec36f454d3f77f2f2f402a
|
||||
DIST qemu-1.5.2.tar.bz2 11932902 SHA256 f661147d190ab8432045058a660d810f13dc528fe7017ce578e9f2da2997a250 SHA512 cae47d34b99d3d3ded688b5a434ba69a377a838dddd367d10e4a71cd697305870c9671e4291490c0028b8143870b0998469e508cd28922fbebd8ea5f86f591b9 WHIRLPOOL bd5e8063c40e3e2fc43934e3649562f594f249002209bf09e05fda06155d423587d714862c8b55f9b2621f3ce20154f4e81b5c73df65ef2513ae824ae5bbcee9
|
||||
DIST qemu-1.6.0-49bdd50f.tar.xz 3132 SHA256 b722c117c3998b90d63a01558ab009a40df6e5d7fc184b650cb581ae45594c17 SHA512 c3403958c6f4412f7656a161b1e065966893a4426f582fedf5350acb466b590349fbba3dcc5f52a3df023c7894ca7ee0bd5a3c41df7dc515c08d3dfbb838668d WHIRLPOOL fb99c0faac3052dd42f9f3d5bb87520974277831f41bb965a7dabb8ce7be83ea387522a44cbc8013f3d875d67d0ee7e86067887a341f8d7acb01efd6d47c63f0
|
||||
DIST qemu-1.6.0.tar.bz2 12040196 SHA256 3132e58ada26d43b6924e8c2f07db80aa1e5022f3dcf03dee7d8bb9194b2cb48 SHA512 18dfc35eeb6fa48c9e73483c905885ae98191cf76acc00c568d57c6973d912f8bea4de24e85f55308d22e74028b809349b00d7c531c3b2dd5c837cd213a8faac WHIRLPOOL bdf7611557876cf86e207153c6793132511f555940f9e5ad671e4294c3a738a85e9c84c678a7daf73b863a15c7223ba7e7f4fd36c68ee3d59b3beabd7d17930a
|
||||
DIST qemu-2.0.0.tar.bz2 12839647 SHA256 60cc1aa0cad39cec891f970bed60ca8a484f071adad4943123599ac223543a3b SHA512 8fe2e8faa66251aaea7d6017ee71675d5b05f93f92be7e2ad3e1d02af185b3d6c4069bd83a13fb1e35a3e8947aff76f22446b395f97ac18b6f7a99744202e3fa WHIRLPOOL 6b39916acdcaa5e22510afec8a972935e71064de9ff0a3f9a698a8142f66b130a24d0a38cc56a7a92dbdc78d5145abe743a9c6933f819ce9e682b7cffdac1508
|
||||
DIST qemu-2.1.2.tar.bz2 23563255 SHA256 fd10f5e45cf5a736fa5a3e1c279ae9821534e700beb7d1aab88a07648a394885 SHA512 73ef758c82b23eec649c807bee8937d7fbf267278f7777adbdb22b738672543b826d211a4b523f38cee3e2b01f05ccf40a75756fc19c911362988d8e86d5cd58 WHIRLPOOL 5703d0aa8bb4366bb7aeb44fa4f3d1b54f188de42cd8c82e894584f627802b80a3dde1aa3b15fe8602a1891ec61ac66b3cd44ec031385cca88768f375c15b554
|
||||
DIST qemu-2.2.0.tar.bz2 24316697 SHA256 b68c9b6c7c694f5489b5a6bffe993cd976ffbb78e7d178eb3bc016caf460039c SHA512 c1a42cc53a01175875411cad13defaab46f97740897b89f19fbf345106534f83fc707fae4a58d890f64eea475b940b934c7531a6ed04aa01f54cadb52b0b5909 WHIRLPOOL a9cb92406d4f2cfd6b7989c9876f7df4b305083241110e7b2bf16642cfd77531c48a48753745dfeb31b9aa7d71a2d4d3f8c5aba797918c9c60e920c79066ea2d
|
||||
DIST qemu-2.3.0.tar.bz2 24683085 SHA256 b6bab7f763d5be73e7cb5ee7d4c8365b7a8df2972c52fa5ded18893bd8281588 SHA512 7a40d213c5696b27784abd2a3119e49d42c38c923be431826c73a8f14c19074435d7f1a652686c53baf08e81f5a3005b2ddc92d67c32f6a2b19659ab627e9eaa WHIRLPOOL 9dad6e342027c3be512b4e0b40e810e0a6f1dc84a16847aa5aac74d97f7a347e60d42e770335a090f83e90a1614294f86552a84edc1faafc7093d3e32602f5de
|
||||
DIST qemu-2.3.1.tar.bz2 24692020 SHA256 661d029809421cae06b4b1bc74ac0e560cb4ed47c9523c676ff277fa26dca15f SHA512 309e6df7dcc0a064d1a17c7dac2f60398700dfa8c6b60b66e4202966248097cbc49af75aa97725bc34773151be6fd75836810e9f0741ba65cdc208414fa78f6b WHIRLPOOL 26750ee00513daa99cdcd585c4b8407b8258a9c3559ae6335266d7754cb6679e7c10c56f8d12ae0ef2b5cd5d6a9a6a536213f8e86e81ced37e46205c796a773e
|
||||
DIST qemu-2.4.0.tar.bz2 25070979 SHA256 72b0b991bbcc540663a019e1e8c4f714053b691dda32c9b9ee80b25f367e6620 SHA512 8740e0fb2c654ed897dff4649f1f83d14d57cfa9cbde723899f115982f93253ce9a2bddd60aab379d241027d2044137770efe4c0b3c83d5b20f3a2a06f05a5dc WHIRLPOOL 8c6cfae096624e01f0d5daeb86aa2dccbeaa86d2aeab626cf55cf20b7edace82d0b0f3a1d85eeb2dc1fd53abaaa9dccf8f0d7ddc657a1f5ffd72fd68301648f1
|
||||
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils systemd udev python-r1
|
||||
|
||||
BACKPORTS=e26b4ba6
|
||||
MY_PN="qemu"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
|
||||
HOMEPAGE="http://wiki.qemu.org/Features/QAPI/GuestAgent"
|
||||
|
||||
LICENSE="GPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.22
|
||||
!<app-emulation/qemu-1.1.1-r1
|
||||
!<sys-apps/sysvinit-2.88-r5"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python_export_best
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--localstatedir=/ \
|
||||
--disable-bsd-user \
|
||||
--disable-linux-user \
|
||||
--disable-system \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--enable-guest-agent \
|
||||
--python=${PYTHON}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake qemu-ga
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin qemu-ga
|
||||
|
||||
# Normal init stuff
|
||||
newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
|
||||
newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
|
||||
|
||||
# systemd stuff
|
||||
udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules
|
||||
|
||||
systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
|
||||
qemu-guest-agent.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You should add 'qemu-guest-agent' to the default runlevel."
|
||||
elog "e.g. rc-update add qemu-guest-agent default"
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils systemd udev python-r1
|
||||
|
||||
BACKPORTS=49bdd50f
|
||||
MY_PN="qemu"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
|
||||
HOMEPAGE="http://wiki.qemu.org/Features/QAPI/GuestAgent"
|
||||
|
||||
LICENSE="GPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.22
|
||||
!<app-emulation/qemu-1.1.1-r1
|
||||
!<sys-apps/sysvinit-2.88-r5"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python_export_best
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--localstatedir=/ \
|
||||
--disable-bsd-user \
|
||||
--disable-linux-user \
|
||||
--disable-system \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--enable-guest-agent \
|
||||
--python=${PYTHON}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake qemu-ga
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin qemu-ga
|
||||
|
||||
# Normal init stuff
|
||||
newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
|
||||
newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
|
||||
|
||||
# systemd stuff
|
||||
udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules
|
||||
|
||||
systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
|
||||
qemu-guest-agent.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You should add 'qemu-guest-agent' to the default runlevel."
|
||||
elog "e.g. rc-update add qemu-guest-agent default"
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils systemd udev python-r1
|
||||
|
||||
BACKPORTS=
|
||||
MY_PN="qemu"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
|
||||
HOMEPAGE="http://wiki.qemu.org/Features/QAPI/GuestAgent"
|
||||
|
||||
LICENSE="GPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.22
|
||||
!<app-emulation/qemu-1.1.1-r1
|
||||
!<sys-apps/sysvinit-2.88-r5"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_export_best
|
||||
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libdir="/usr/$(get_libdir)" \
|
||||
--localstatedir=/ \
|
||||
--disable-bsd-user \
|
||||
--disable-linux-user \
|
||||
--disable-system \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--enable-guest-agent \
|
||||
--python="${PYTHON}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--cxx="$(tc-getCXX)" \
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 qemu-ga
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin qemu-ga
|
||||
|
||||
# Normal init stuff
|
||||
newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
|
||||
newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
|
||||
|
||||
# systemd stuff
|
||||
udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules
|
||||
|
||||
systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
|
||||
qemu-guest-agent.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You should add 'qemu-guest-agent' to the default runlevel."
|
||||
elog "e.g. rc-update add qemu-guest-agent default"
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST qemu-2.3.0.tar.bz2 24683085 SHA256 b6bab7f763d5be73e7cb5ee7d4c8365b7a8df2972c52fa5ded18893bd8281588 SHA512 7a40d213c5696b27784abd2a3119e49d42c38c923be431826c73a8f14c19074435d7f1a652686c53baf08e81f5a3005b2ddc92d67c32f6a2b19659ab627e9eaa WHIRLPOOL 9dad6e342027c3be512b4e0b40e810e0a6f1dc84a16847aa5aac74d97f7a347e60d42e770335a090f83e90a1614294f86552a84edc1faafc7093d3e32602f5de
|
||||
DIST qemu-2.3.1.tar.bz2 24692020 SHA256 661d029809421cae06b4b1bc74ac0e560cb4ed47c9523c676ff277fa26dca15f SHA512 309e6df7dcc0a064d1a17c7dac2f60398700dfa8c6b60b66e4202966248097cbc49af75aa97725bc34773151be6fd75836810e9f0741ba65cdc208414fa78f6b WHIRLPOOL 26750ee00513daa99cdcd585c4b8407b8258a9c3559ae6335266d7754cb6679e7c10c56f8d12ae0ef2b5cd5d6a9a6a536213f8e86e81ced37e46205c796a773e
|
||||
DIST qemu-2.4.0.tar.bz2 25070979 SHA256 72b0b991bbcc540663a019e1e8c4f714053b691dda32c9b9ee80b25f367e6620 SHA512 8740e0fb2c654ed897dff4649f1f83d14d57cfa9cbde723899f115982f93253ce9a2bddd60aab379d241027d2044137770efe4c0b3c83d5b20f3a2a06f05a5dc WHIRLPOOL 8c6cfae096624e01f0d5daeb86aa2dccbeaa86d2aeab626cf55cf20b7edace82d0b0f3a1d85eeb2dc1fd53abaaa9dccf8f0d7ddc657a1f5ffd72fd68301648f1
|
||||
|
@ -0,0 +1,602 @@
|
||||
# Copyright 1999-2015 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"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo pax-utils
|
||||
|
||||
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:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~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 +caps +curl debug +fdt glusterfs \
|
||||
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 selinux smartcard snappy spice ssh static static-softmmu \
|
||||
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc 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 xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
|
||||
|
||||
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}"
|
||||
|
||||
# Require at least one softmmu or user target.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="|| ( ${use_softmmu_targets} ${use_user_targets} )
|
||||
${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 )
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# 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.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
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(+)] )
|
||||
infiniband? ( sys-infiniband/librdmacm:=[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg:=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
usb? ( >=dev-libs/libusb-1.0.18[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
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.7.5
|
||||
~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} )
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
!gtk2? ( x11-libs/gtk+:3 )
|
||||
x11-libs/vte:2.90
|
||||
)
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
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."
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 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
|
||||
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
use nls || rm -f po/*.po
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.3.0-CVE-2015-3209.patch #551752
|
||||
epatch "${FILESDIR}"/${PN}-2.3.0-virtio-serial.patch #557206
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# 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=$2
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
# 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}"
|
||||
|
||||
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
|
||||
--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 bluetooth bluez)
|
||||
$(conf_softmmu caps cap-ng)
|
||||
$(conf_softmmu curl)
|
||||
$(conf_softmmu fdt)
|
||||
$(conf_softmmu glusterfs)
|
||||
$(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 smartcard-nss)
|
||||
$(conf_softmmu snappy)
|
||||
$(conf_softmmu spice)
|
||||
$(conf_softmmu ssh libssh2)
|
||||
$(conf_softmmu tls quorum)
|
||||
$(conf_softmmu tls vnc-tls)
|
||||
$(conf_softmmu tls vnc-ws)
|
||||
$(conf_softmmu usb libusb)
|
||||
$(conf_softmmu usbredir usb-redir)
|
||||
$(conf_softmmu uuid)
|
||||
$(conf_softmmu vde)
|
||||
$(conf_softmmu vhost-net)
|
||||
$(conf_softmmu virtfs)
|
||||
$(conf_softmmu vnc)
|
||||
$(conf_softmmu xen)
|
||||
$(conf_softmmu xen xen-pci-passthrough)
|
||||
$(conf_softmmu xfs xfsctl)
|
||||
)
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--target-list="${user_targets}"
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--target-list="${softmmu_targets}"
|
||||
--with-system-pixman
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
;;
|
||||
esac
|
||||
|
||||
# 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
|
||||
|
||||
einfo "../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
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-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
|
||||
|
||||
# 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/qmp/"
|
||||
|
||||
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
|
||||
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
|
||||
ewarn "save states has been removed starting with the 1.6.2 release"
|
||||
ewarn
|
||||
ewarn "It is recommended that you migrate any VMs that may be running"
|
||||
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
|
||||
ewarn "any saved states with a newer qemu."
|
||||
ewarn
|
||||
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
|
||||
|
||||
if use x86 || use amd64; then
|
||||
ewarn
|
||||
ewarn "The /usr/bin/kvm and /usr/bin/qemu-kvm wrappers are no longer"
|
||||
ewarn "installed. In order to use kvm acceleration, pass the flag"
|
||||
ewarn "-enable-kvm when running your system target."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
if use virtfs && [ -n "${softmmu_targets}" ]; then
|
||||
local virtfs_caps="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_setgid,cap_mknod,cap_setuid"
|
||||
fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
fi
|
||||
}
|
||||
|
||||
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)"
|
||||
}
|
@ -0,0 +1,612 @@
|
||||
# Copyright 1999-2015 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"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo pax-utils
|
||||
|
||||
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:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~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 +caps +curl debug +fdt glusterfs \
|
||||
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 tls usb usbredir +uuid vde +vhost-net \
|
||||
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 xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
|
||||
|
||||
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.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
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(+)] )
|
||||
infiniband? ( sys-infiniband/librdmacm:=[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg:=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
sdl2? ( media-libs/libsdl2[static-libs(+)] )
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
usb? ( >=dev-libs/libusb-1.0.18[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
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.7.5
|
||||
~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} )
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.90 )
|
||||
)
|
||||
)
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/mesa[gles2]
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? (
|
||||
!sdl2? ( media-libs/libsdl[X] )
|
||||
sdl2? ( media-libs/libsdl2[X] )
|
||||
)
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
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."
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# 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
|
||||
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
use nls || rm -f po/*.po
|
||||
|
||||
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# 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}"
|
||||
|
||||
# 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}"
|
||||
|
||||
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
|
||||
--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 bluetooth bluez)
|
||||
$(conf_softmmu caps cap-ng)
|
||||
$(conf_softmmu curl)
|
||||
$(conf_softmmu fdt)
|
||||
$(conf_softmmu glusterfs)
|
||||
$(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 smartcard-nss)
|
||||
$(conf_softmmu snappy)
|
||||
$(conf_softmmu spice)
|
||||
$(conf_softmmu ssh libssh2)
|
||||
$(conf_softmmu tls vnc-tls)
|
||||
$(conf_softmmu usb libusb)
|
||||
$(conf_softmmu usbredir usb-redir)
|
||||
$(conf_softmmu uuid)
|
||||
$(conf_softmmu vde)
|
||||
$(conf_softmmu vhost-net)
|
||||
$(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)
|
||||
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
|
||||
)
|
||||
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/qmp/"
|
||||
|
||||
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
|
||||
if use virtfs && [ -n "${softmmu_targets}" ]; then
|
||||
local virtfs_caps="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_setgid,cap_mknod,cap_setuid"
|
||||
fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
fi
|
||||
}
|
||||
|
||||
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)"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST grs-0.1.tar.gz 32017 SHA256 38018649a6c767e3e295a24bec6fd880c63f892dd74a0f34ebc0bdc22c2683a8 SHA512 89f005c520f7ee0db4c57764592fe6555d75e1c78dd3dc0c224bd2197bebfad34a1b1279fbef75411949bfcd430dc3ebf57e929934a193bbc0da9d56a2944f75 WHIRLPOOL 31d612470ecc3b13388ddee1ebac7fb8584f5642491b09cda3ed3575ff303c70da25460b56a9d9595966a681ee21ec0b93f2d0fee91874dd18c7494e74cb384e
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/grss.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Suite to build Gentoo Reference Systems"
|
||||
HOMEPAGE="http://dev.gentoo.org/~blueness/${PN}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-arch/tar[xattr]
|
||||
app-crypt/md5deep
|
||||
dev-libs/libcgroup
|
||||
dev-vcs/git
|
||||
net-misc/rsync
|
||||
sys-apps/portage
|
||||
|| (
|
||||
sys-kernel/genkernel
|
||||
sys-kernel/genkernel-next
|
||||
)"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs
|
||||
doenvd "${T}"/20grs
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST MaxScale-1.2.0.tar.gz 8747330 SHA256 9408238ba589f0f22d16005f0274e09f5bf3dc54d660b10ece3136d5c26c260b SHA512 59988397fc7c8112dc81e77d317b4625e071448c0669805fdee91e156553c2144d802f70ebc047df75aab6f7e0114e22a3f9f68768f779ab2300536196c34a7e WHIRLPOOL 823be39fa22ad13868dcc0c9942dd4fecbecf56afcbeb2df92bcf096d268e602b49bd43794f9b8fb3ebe1213def82296473c955347b5793ec9a582975136b1fa
|
@ -0,0 +1,48 @@
|
||||
diff -aurN a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
|
||||
+++ b/CMakeLists.txt 2015-08-10 22:12:06.021818283 -0400
|
||||
@@ -56,7 +56,7 @@
|
||||
endif()
|
||||
endif()
|
||||
|
||||
-set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/${MAXSCALE_LIBDIR})
|
||||
+set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/${MAXSCALE_LIBDIR})
|
||||
|
||||
# Make sure the release notes for this release are present if it is a stable one
|
||||
if(${MAXSCALE_VERSION} MATCHES "-stable")
|
||||
diff -aurN a/server/modules/filter/hint/CMakeLists.txt b/server/modules/filter/hint/CMakeLists.txt
|
||||
--- a/server/modules/filter/hint/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
|
||||
+++ b/server/modules/filter/hint/CMakeLists.txt 2015-08-10 22:12:49.413170068 -0400
|
||||
@@ -1,4 +1,3 @@
|
||||
add_library(hintfilter SHARED hintfilter.c hintparser.c)
|
||||
-set_target_properties(hintfilter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
|
||||
target_link_libraries(hintfilter ssl log_manager utils)
|
||||
install(TARGETS hintfilter DESTINATION ${MAXSCALE_LIBDIR})
|
||||
diff -aurN a/server/modules/routing/binlog/CMakeLists.txt b/server/modules/routing/binlog/CMakeLists.txt
|
||||
--- a/server/modules/routing/binlog/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
|
||||
+++ b/server/modules/routing/binlog/CMakeLists.txt 2015-08-10 22:12:35.565376937 -0400
|
||||
@@ -1,4 +1,3 @@
|
||||
add_library(binlogrouter SHARED blr.c blr_master.c blr_cache.c blr_slave.c blr_file.c)
|
||||
-set_target_properties(binlogrouter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
|
||||
target_link_libraries(binlogrouter ssl pthread log_manager)
|
||||
install(TARGETS binlogrouter DESTINATION ${MAXSCALE_LIBDIR})
|
||||
diff -aurN a/server/modules/routing/maxinfo/CMakeLists.txt b/server/modules/routing/maxinfo/CMakeLists.txt
|
||||
--- a/server/modules/routing/maxinfo/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
|
||||
+++ b/server/modules/routing/maxinfo/CMakeLists.txt 2015-08-10 22:12:25.265530805 -0400
|
||||
@@ -1,4 +1,3 @@
|
||||
add_library(maxinfo SHARED maxinfo.c maxinfo_parse.c maxinfo_error.c maxinfo_exec.c)
|
||||
-set_target_properties(maxinfo PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${MAXSCALE_LIBDIR})
|
||||
target_link_libraries(maxinfo pthread log_manager)
|
||||
install(TARGETS maxinfo DESTINATION ${MAXSCALE_LIBDIR})
|
||||
diff -aurN a/server/core/CMakeLists.txt b/server/core/CMakeLists.txt
|
||||
--- a/server/core/CMakeLists.txt 2015-07-15 09:34:27.000000000 -0400
|
||||
+++ b/server/core/CMakeLists.txt 2015-08-10 22:39:22.709368505 -0400
|
||||
@@ -8,6 +8,8 @@
|
||||
target_link_libraries(fullcore ${CURL_LIBRARIES} utils log_manager pthread ${EMBEDDED_LIB} ${PCRE_LINK_FLAGS} ssl aio rt crypt dl crypto inih z m stdc++)
|
||||
endif()
|
||||
|
||||
+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
+
|
||||
add_executable(maxscale atomic.c buffer.c spinlock.c gateway.c
|
||||
gw_utils.c utils.c dcb.c load_utils.c session.c service.c server.c
|
||||
poll.c config.c users.c hashtable.c dbusers.c thread.c gwbitmask.c
|
@ -0,0 +1,21 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command=/usr/bin/maxscale
|
||||
command_args="-U maxscale -P /run/maxscale"
|
||||
name="MaxScale database proxy"
|
||||
pidfile="/run/maxscale/maxscale.pid"
|
||||
|
||||
description="MaxScale provides database specific proxy functionality"
|
||||
extra_started_commands="reload"
|
||||
|
||||
start_pre() {
|
||||
checkpath -D -o maxscale:maxscale /run/maxscale
|
||||
}
|
||||
|
||||
reload()
|
||||
{
|
||||
ebegin "Reloading ${name}"
|
||||
pkill -HUP -F /run/maxscale/maxscale.pid
|
||||
eend $?
|
||||
}
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils cmake-utils multilib user
|
||||
|
||||
MY_PN="MaxScale"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A content aware, plug-able MySQL proxy server"
|
||||
HOMEPAGE="http://mariadb.com/MaxScale"
|
||||
SRC_URI="https://github.com/mariadb-corporation/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="jemalloc rabbitmq tcmalloc"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libaio
|
||||
>=dev-libs/libpcre-8.35
|
||||
dev-libs/openssl:0
|
||||
net-misc/curl
|
||||
virtual/mysql[embedded]
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
rabbitmq? ( net-libs/rabbitmq-c )
|
||||
tcmalloc? ( dev-util/google-perftools:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.2.0-rpath.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup maxscale
|
||||
enewuser maxscale -1 -1 -1 maxscale
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -DEMBEDDED_LIB=/usr/$(get_libdir)/mysql
|
||||
local mycmakeargs=(
|
||||
-DSTATIC_EMBEDDED=OFF
|
||||
-DWITH_SCRIPTS=OFF
|
||||
$(cmake-utils_use_with jemalloc JEMALLOC)
|
||||
$(cmake-utils_use_build rabbitmq RABBITMQ)
|
||||
$(cmake-utils_use_with tcmalloc TCMALLOC)
|
||||
-DMODULE_INSTALL_PATH=$(get_libdir)/${PN}
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( README README.md "${BUILD_DIR}"/Changelog.txt "${BUILD_DIR}"/ReleaseNotes.txt )
|
||||
cmake-utils_src_install
|
||||
# Remove badly placed documents
|
||||
rm "${D}usr/share/${PN}/README" "${D}usr/share/${PN}/Changelog.txt" \
|
||||
"${D}usr/share/${PN}/LICENSE" "${D}usr/share/${PN}/COPYRIGHT" \
|
||||
"${D}usr/share/${PN}/ReleaseNotes.txt" || die
|
||||
newinitd "${FILESDIR}/${PN}-init.d" ${PN}
|
||||
keepdir /var/log/maxscale /var/lib/maxscale/data \
|
||||
/var/cache/maxscale
|
||||
fowners maxscale:maxscale /var/log/maxscale \
|
||||
/var/lib/maxscale/data \
|
||||
/var/lib/maxscale \
|
||||
/var/cache/maxscale
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>mysql</herd>
|
||||
<maintainer>
|
||||
<email>grknight@gentoo.org</email>
|
||||
<name>Brian Evans</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='jemalloc'>Use dev-libs/jemalloc for allocations</flag>
|
||||
<flag name='rabbitmq'>Add support for RabbitMQ message queue</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,31 @@
|
||||
--- a/include/mysql_com.h 2014-06-10 23:10:43.000000000 -0400
|
||||
+++ b/include/mysql_com.h 2015-08-11 15:20:54.487091000 -0400
|
||||
@@ -179,7 +171,7 @@
|
||||
#define CLIENT_IGNORE_SIGPIPE 4096 /* IGNORE sigpipes */
|
||||
#define CLIENT_TRANSACTIONS 8192 /* Client knows about transactions */
|
||||
#define CLIENT_RESERVED 16384 /* Old flag for 4.1 protocol */
|
||||
-#define CLIENT_RESERVED2 32768 /* Old flag for 4.1 authentication */
|
||||
+#define CLIENT_SECURE_CONNECTION 32768 /* New 4.1 authentication */
|
||||
#define CLIENT_MULTI_STATEMENTS (1UL << 16) /* Enable/disable multi-stmt support */
|
||||
#define CLIENT_MULTI_RESULTS (1UL << 17) /* Enable/disable multi-results */
|
||||
#define CLIENT_PS_MULTI_RESULTS (1UL << 18) /* Multi-results in PS-protocol */
|
||||
@@ -226,7 +216,7 @@
|
||||
| CLIENT_IGNORE_SIGPIPE \
|
||||
| CLIENT_TRANSACTIONS \
|
||||
| CLIENT_RESERVED \
|
||||
- | CLIENT_RESERVED2 \
|
||||
+ | CLIENT_SECURE_CONNECTION \
|
||||
| CLIENT_MULTI_STATEMENTS \
|
||||
| CLIENT_MULTI_RESULTS \
|
||||
| CLIENT_PS_MULTI_RESULTS \
|
||||
--- a/libmysql/client_settings.h 2015-02-25 16:09:49.000000000 -0500
|
||||
+++ b/libmysql/client_settings.h 2015-08-11 15:44:10.804091000 -0400
|
||||
@@ -31,7 +31,7 @@
|
||||
CLIENT_LONG_FLAG | \
|
||||
CLIENT_TRANSACTIONS | \
|
||||
CLIENT_PROTOCOL_41 | \
|
||||
- CLIENT_RESERVED2 | \
|
||||
+ CLIENT_SECURE_CONNECTION | \
|
||||
CLIENT_MULTI_RESULTS | \
|
||||
CLIENT_PS_MULTI_RESULTS | \
|
||||
CLIENT_PLUGIN_AUTH | \
|
@ -1,2 +1 @@
|
||||
DIST go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz 4366 SHA256 5b8ebbacf88942136f42ccef13822c2d45f3304520be0aabc40309dcb931c707 SHA512 1d1687513caf338a82e5b15624fe7b3702fd42326c433cbf4100551a2f5aa587814201166946739a2dadfecf861661b0ed31934e13bfbe3aac6221ff2624733f WHIRLPOOL 3c38f344d232daf7109449bed55158c95f4657d9067d3623a05abadecfed274033f65375c715518c4617c30985519e735440474fb984a654739c081792c19324
|
||||
DIST godep-0_p20150520.tar.gz 20433 SHA256 3c461f14db4a65a1fa72ad3e4444986d25e75b99461b978452e65e9b751fb25d SHA512 f26bad4094ee5d35bc2cb4518094b113a84c55d196bdb59d3ffc48715151f64136cc32103bb624c28d72db97bca3aff94af71922b5daf32285421e85ee164dfd WHIRLPOOL 2a03b9c7724715a06228ac216a578974f11646f553b3e5a0c763907b673c872ac536c733f1230a15ca3603c18346a24c38ce10fe66fb779011a9a02e0f95ec3c
|
||||
DIST godep-0_pre20150807.tar.gz 46281 SHA256 f3fec4523c75be20663aa9a4f11cda60a04d86d0d0d48ca3ce2330bf35f37fce SHA512 0969692442a63e99f3f16b7d29e85ace12378b536d31dc8f48bd99d6dd4cd45d025d427a21201d897bedf680c5157a6fdd68fe6410f3a9545599558436ce5cfe WHIRLPOOL ef9c7d13df8ac5dcb7ab9ee7766bb95120edfc87c60d336433b5a684af8d8c041ba6c7ec48dceb1d3f3ac9baff7024d5c1e471a41ffe31cc4c47f00c1443044c
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="dependency tool for go"
|
||||
GO_PN=github.com/tools/${PN}
|
||||
HOMEPAGE="https://${GO_PN}"
|
||||
EGIT_COMMIT="98f5c2e8906df47a9eaafebbcd406adde2c8d0a7"
|
||||
SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/kr/fs/archive/2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz -> go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND=">=dev-lang/go-1.4:="
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/src/${GO_PN}"
|
||||
STRIP_MASK="*.a"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir -p src/${GO_PN%/*} || die
|
||||
mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die
|
||||
mkdir -p src/github.com/kr || die
|
||||
mv fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b src/github.com/kr/fs || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable broken tests
|
||||
sed -e 's:TestSave(:_\0:' -i save_test.go || die
|
||||
sed -e 's:TestUpdate(:_\0:' -i update_test.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH=${WORKDIR} \
|
||||
go test -x -v ${GO_PN}/... || die $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${WORKDIR}"/bin/*
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="dependency tool for go"
|
||||
GO_PN=github.com/tools/${PN}
|
||||
HOMEPAGE="https://${GO_PN}"
|
||||
EGIT_COMMIT="98f5c2e8906df47a9eaafebbcd406adde2c8d0a7"
|
||||
SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/kr/fs/archive/2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz -> go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND=">=dev-lang/go-1.4"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/src/${GO_PN}"
|
||||
STRIP_MASK="*.a"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir -p src/${GO_PN%/*} || die
|
||||
mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die
|
||||
mkdir -p src/github.com/kr || die
|
||||
mv fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b src/github.com/kr/fs || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable broken tests
|
||||
sed -e 's:TestSave(:_\0:' -i save_test.go || die
|
||||
sed -e 's:TestUpdate(:_\0:' -i update_test.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH=${WORKDIR} \
|
||||
go test -x -v ${GO_PN}/... || die $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${WORKDIR}"/bin/*
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EGO_PN=github.com/tools/godep
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT=9805c4da6f
|
||||
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="dependency tool for go"
|
||||
HOMEPAGE="https://github.com/tools/godep"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
# disable broken tests
|
||||
sed -e 's:TestSave(:_\0:' \
|
||||
-i src/${EGO_PN}/save_test.go || die
|
||||
sed -e 's:TestUpdate(:_\0:' \
|
||||
-i src/${EGO_PN}/update_test.go || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin godep
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=ETHER
|
||||
MODULE_VERSION=0.14
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Execute code after a scope finished compilation"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~ppc-aix ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Scalar-List-Utils
|
||||
>=dev-perl/Module-Implementation-0.50.0
|
||||
>=dev-perl/Module-Runtime-0.12.0
|
||||
>=dev-perl/Sub-Exporter-Progressive-0.1.6
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-CBuilder-0.260.0
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -1,3 +1,2 @@
|
||||
DIST B-Hooks-EndOfScope-0.12.tar.gz 16361 SHA256 920e82022e8827caa7bbc0eba628c0fbea1a72dc9952461c997cc19f16b24fbd SHA512 9d1f744bee7df55ac7db7cfb5f19b08eb4d329c2a8c19a82f5fc406a9c565ade56a21f4a2dedb18f81ae6aef340a64fb2cf20f218006a7b027b3d41c0fad20f9 WHIRLPOOL b260f2398acb04a56d68ef7893b48267bc4730dfb3738e458a488bfd6bb56ee70948baee8631bed5ea080b67d697a9e6947a5117ad6e68de73f2d51915784870
|
||||
DIST B-Hooks-EndOfScope-0.14.tar.gz 30083 SHA256 dfec3f1282ce51566005bc5bc8793325d820ab25902d5ef765f50b678076552f SHA512 0e7e4f0f296914ac2b2eeb5d7725a7644c27f11e83cdf04f3f33762233ed68b79d731af1b8d1f5e3acb2add5cffcbdf06dd6ed623c20b739d5114f2549e49d0d WHIRLPOOL 960d546572d542181bc306a021df79b2850a06bfff4428796266c95f6bb95874f7aa1677633e29ceaec93d12a1a2786119fab3e400541856f576dff9d505f5ea
|
||||
DIST B-Hooks-EndOfScope-0.15.tar.gz 30331 SHA256 122ee422d3d49d994fa6e1e57c8800acfe6aeae56ce430a06eabc37300c1942e SHA512 67d95a15de0c6308ebac03304b9199077c6ead943221275a45f547396caabd2981bbbc4994924cb01e699c0b0fe02818a614f9fe4a3f7927381e16a635470ff2 WHIRLPOOL 5aadffe46d97c070cac6726d0925a5025214dbbf0d47c3edabb37d4934006ba6c19dabb512f95ea1cf6c62ec81418c246b8bb677d77a5421ad3f6f8dcb991e7f
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=ETHER
|
||||
MODULE_VERSION=0.22
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A working (require q{Class::Name}) and more"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
dev-perl/Data-OptList
|
||||
virtual/perl-Exporter
|
||||
>=dev-perl/Module-Implementation-0.40.0
|
||||
>=dev-perl/Module-Runtime-0.12.0
|
||||
>=dev-perl/Package-Stash-0.140.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
dev-perl/Try-Tiny
|
||||
dev-perl/namespace-clean
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/Module-Build-Tiny-0.37.0
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/Test-Fatal
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Test-Requires
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,2 @@
|
||||
DIST Class-Load-0.20.tar.gz 20271 SHA256 823c45885e1d29feef6867282b881d402f42af6413c7e0e9f8fe32086aee8c20 SHA512 e208a3c6fc01b8ad33dbdac29eb9d11914686822bb607fbdf0eaeb6ea375a8c77bd85e85b6eaced2aff1c8f0424033b428a42a1f2b2c4fb4eeefe38a8d0abe48 WHIRLPOOL e581dd81b21e145ea5bd1cb4d2962103cfb751fb11bd9f7ad120d0aa39da0cd4164bf002c29be45b6dc97de366f4a935498505b686f1386c4f0058f78ae390d0
|
||||
DIST Class-Load-0.22.tar.gz 34179 SHA256 be52db6081b565002d68a1578ed06c7777b8845e92597be47f1c22e90b123111 SHA512 1f61c9ffd0c7d854c830143109f0b0f98a3f9666971d3f0b2567fd97f7aa703bf0bc9f7342f0489d90ac4765d90695a5783f822458e0eb9a6f5cf4c98b465da4 WHIRLPOOL 7efa52d7b50b60f1905d4341ce5aa9db9a37f3ce4d8507fd0b7e4bb50f2df47a603d7aa8080e82f04222c32b5e3058a6ffc19add4ffa73f27ac470186cf22aa9
|
||||
DIST Class-Load-0.23.tar.gz 33610 SHA256 f2bca579e72ea96c6b1c5ebc86dfa1929062c412443277f0bc0437e50874b28f SHA512 c4e39a0b53dcb9e91c6ac160b15d253aa257fc327c2f4e333b8a3689a6c697412385d47d0a52e55a9420b8cc1a7f46d8d0c1ff54f13ae2a88e0f9df8935cffed WHIRLPOOL 5c75ba558f0b507f8c756bb63fc1882c3b29546e8340b6ad2f046ab183d364ca0cdcbc09f3ce2491a2e1a852499b657f0f8bbc5cf293a523cc9443d299347c08
|
||||
|
@ -1,2 +1 @@
|
||||
DIST Module-Build-Tiny-0.037.tar.gz 20507 SHA256 25dd7246b071d7a4e62a410ca3fc18c3e2cfb82440324fa97d472b493dd60ec0 SHA512 8cabff83ad84f2d5ba8444ae9f4928ce82d1a375baf524d1eab9e00fef10b7e3f5c72dd0a76ccae85c2b165048037fa9714d94d4a3ad88e66193449a7e8285c9 WHIRLPOOL b52c16df071ee7fe3c783407f60955a7c799842a5aba3608f960083b5cc9400a9c1151783e6267cc62a0106925f3f4caa4a01132cbe130b4a5f8c23ba5f2accb
|
||||
DIST Module-Build-Tiny-0.039.tar.gz 20663 SHA256 7d580ff6ace0cbe555bf36b86dc8ea232581530cbeaaea09bccb57b55797f11c SHA512 26ca6fe4c1792b26bb2b4711035847f4215ea7c37234fbe24fc07432682fd9d3b6016dbdb2ecb455a7b13f6bea13994826c7f84f21075f0a6e575fa74672903a WHIRLPOOL d63374b589ccd71b0b78e6aaa7f93c2c5a439f10e127b0fba8544e394a1bce8ed32c54b50ce0d8fd5165ebd25ef3d58dc8910d2db89390c9edfbc3b55f4f8774
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
MODULE_AUTHOR=LEONT
|
||||
MODULE_VERSION=0.037
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION='A tiny replacement for Module::Build'
|
||||
LICENSE=" || ( Artistic GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-CPAN-Meta
|
||||
>=virtual/perl-Exporter-5.570.0
|
||||
virtual/perl-ExtUtils-CBuilder
|
||||
>=dev-perl/ExtUtils-Config-0.3.0
|
||||
>=dev-perl/ExtUtils-Helpers-0.20.0
|
||||
virtual/perl-ExtUtils-Install
|
||||
>=dev-perl/ExtUtils-InstallPaths-0.2.0
|
||||
virtual/perl-ExtUtils-ParseXS
|
||||
virtual/perl-File-Path
|
||||
virtual/perl-File-Spec
|
||||
>=virtual/perl-Getopt-Long-2.360.0
|
||||
>=virtual/perl-JSON-PP-2.0.0
|
||||
virtual/perl-podlators
|
||||
virtual/perl-Test-Harness
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-IO
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
virtual/perl-XSLoader
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST="do parallel"
|
||||
|
||||
mytargets="install"
|
@ -1,4 +1,3 @@
|
||||
DIST XML-Twig-3.44.tar.gz 390219 SHA256 2651c16211e2c97dc7f274d51700816a958b72165cbfdd8f731737825b2b20ba SHA512 452ac57a2c4b4f596765bc9d1fd402ca7c079b3b12e21e83213a8dd9aaa8bb32fc0701789a60a6657c192f45f5b322c359aafbe419f1e5eae202dca9eba589d4 WHIRLPOOL 02f6079fcbc92d9c6a84a8d6abcf8d02e7ace420a8d861bd2ed6f20ad29c64174700dfa16e2eb62f2db78a81e8a64ce3a905ce466833d6607680c5002338a505
|
||||
DIST XML-Twig-3.46.tar.gz 400352 SHA256 e89e7062074d6b7a1171c9e31a0f1adb7ef25a936c52a4312869b309c1ff692b SHA512 6a0a580d8659ddf5a6f6640911ca4b8a74688bdf546809a4b8d2e077813cb3d67513f654eaa30944641a5423c3373231f8452558baebb7517c1ece1b9dfee46d WHIRLPOOL 3cca5ff84846ff0453c818ec3031186037fec73d4049f60265c3455b85c5c148c3d65798d6d9a799bf5729c3f4a8aba26eb4c8e2cea55dc623d188eda7025b04
|
||||
DIST XML-Twig-3.48.tar.gz 401255 SHA256 35472542ba6cecea6b091f00d9784d8979567e2e781d95b7216049958b9c997b SHA512 9541ab4b4b94703b3085686d8f0ab962b60ae968e2a77cc2a1a944451825b5e534117fcf4b4e462048a6a1717df49c366ee0d7eea80471cbebb08e37e173d509 WHIRLPOOL e5efcc12f4f2ca0a4d67f89be20fea98d6d80e021016fd0f9b3b1ff99d8d09d3c2761f54604d8e5e5e048792a5958095d14cfcc3e1ea1900ed6d91edfca1cea2
|
||||
DIST XML-Twig-3.49.tar.gz 402874 SHA256 3e0def8a7477fefa8c27fabf11899a459c8b793909182d016ba26749e9354e01 SHA512 162c07f912062723f225e9620cf18a8a8ad1282abeab6c981c9acb9f638f6fbc70476811533c7c739e861e0cce4ccbc7f44ce0cbe8a9b6b4947e60cffacce23c WHIRLPOOL 6dac6b7e40a8ba7b68f613dfd4d24cad754f8d5be9d7b7c1bb580d177b5c903ed95dc64d06933a48122e458ae987ae1c84a3ea21d7570cda8ab39709ebe95f32
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=MIROD
|
||||
MODULE_VERSION=3.44
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Process huge XML documents in tree mode"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/XML-Parser-2.31
|
||||
virtual/perl-Scalar-List-Utils
|
||||
>=dev-libs/expat-1.95.5
|
||||
dev-perl/Tie-IxHash
|
||||
dev-perl/XML-SAX-Writer
|
||||
dev-perl/XML-Handler-YAWriter
|
||||
dev-perl/XML-XPath
|
||||
dev-perl/libwww-perl
|
||||
nls? (
|
||||
>=dev-perl/Text-Iconv-1.2-r1
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,2 @@
|
||||
DIST namespace-clean-0.21.tar.gz 11809 SHA256 b16069bc9261f8c9f2bd541f96076e0961fa4424ce299dac0c9c5523a18e5836 SHA512 927ebed43fad2096705f6633d9eb5d7b4b3ec053b008fc8130886215be482ab373fb2a20ef3404b654ffb49c336e7a5e6a4a4ff6474e9e376b476478b86b68e1 WHIRLPOOL f4a75dd3309fe0744e153cb405b50a6f951640ccfa4001c290f97beeaabbd5640123ccc85fb1c4f7444a266d970b980de829a320246c37e40007c066c16f2a04
|
||||
DIST namespace-clean-0.24.tar.gz 12659 SHA256 a661d4484e7de411bc96819aec28805836cfa6a5e276bb3cd346f8e108911230 SHA512 d5c2d0f5aa5b3a64bfae594892177dca14bc22876b983e7b70957ba8f52925c0c87e634d96a48064f50d0f5ce38fdadc58b6b7a4c0140c76602914a960b613ed WHIRLPOOL 3046ca0289fe588e28b8b577a8c6b14a20ce50921e9b39a9ab7a9d3dae51883dd8e21a590506b15751ceefb35c72149c7f29df6c8702384a73bb2ac885462a81
|
||||
DIST namespace-clean-0.25.tar.gz 12816 SHA256 946a2b7b8219562818867ad915cd493637e2639f901db050b835500c8e6ecd04 SHA512 69d46adac8d3f249b36310583568705e9dea6a308ce9265f4986063ef48b8bdfd4fdff86c602639090edc5936422a1b455d0a5e89d9c3bd5d7443beba8de5d14 WHIRLPOOL 07211d70f5f61f7c37ac8e47a2be52565ef00875db1c85ee4949eff3e64ce3bbdef0f13c1f30eaeeba382956dcf49a4436b605bab9d141d03d99ed7f5f7c7d94
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=RIBASUSHI
|
||||
MODULE_VERSION=0.24
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Keep imports and functions out of your namespace"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~ppc-aix ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/B-Hooks-EndOfScope-0.120.0
|
||||
>=dev-perl/Package-Stash-0.220.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.310.0
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
)
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
@ -1,2 +1,2 @@
|
||||
DIST pycountry-1.10.zip 8140587 SHA256 29bd07e5f0d0471c260cea14e2ca4b7d705228ebb024b4de139dc87795576e67 SHA512 076de329c5b9d7626fbf0aace654504a2cd2d1d7bdf2ec89ba4763b38b756a6e75c7f3032c4b8785693d291ace7a206673cac1a457c4dd59e8c3ce1cd70d7d60 WHIRLPOOL 6c282d419da375e00171345477a5867b1e61a345d56c8f4739ff34fabebf98a78a2d4880b3b2ef616e00468124e1accd2efdbfac2c98bdf4c2db57d1d3e28fc5
|
||||
DIST pycountry-1.12.tar.gz 18606424 SHA256 dce2893ceac5d5264e7d0b6bf9f0421fb9ff87b7459d1c65a518fbcd826245e9 SHA512 6a9bfb47ce56098bc8f536afc5e671cd65304213df1e3c9754bcaac8e3cdb8293c75ec59649be5df8b974f36be333ed35fe4cd4d274baa183cfd6455d9241702 WHIRLPOOL 531fcfa4caeec4eda11c657e7a374d2668808ee9b94cb5192603049824fbd12a6999682a321d4c577f836acd9106f667f85312ec29e9d78fca74b7b93c297356
|
||||
DIST pycountry-1.13.tar.gz 5007397 SHA256 3b72f2c334e702d463205e510d8d9b3fc8364a2f647074f543a1da2602730918 SHA512 1b32e87630efa8d3b6fbd4f60ce837c4df451fb097402b658d63ba6589b5761c719a80232142d557a7220ad549fcf4cb686b12ab3b3b5f2be51253548d0169ac WHIRLPOOL bc5818ce45c5bb23bb37a4e375acdfcc9419aa602940985a519a1941f28655156d46a0f17b2ace87e92f8f62af6fdf81b89817c69f2f5a4e12d1a026cbb9eefd
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST pygal-1.5.1.tar.gz 735659 SHA256 680e422f5c5dfd52520a1fa7cc89f9de50a04463a4fa5910b14aebcaa8507191 SHA512 f8cd3727e82ecafebe41983f5b013f7dd32bca35dd2db2f2d46fdfdb06e6461993ce0699d747a7f50fd724b02ab8014c68f5b107a178d2562f3ce8c0f3b5d009 WHIRLPOOL b520e8ec3a688d49a4244d3e7298070b850122c016fc78cf659ed8a96ac7ba8c9fb65782f6b50354820f873a70531a250023a3e4acc586feb1b50b002bc92acd
|
||||
DIST pygal-1.6.1.tar.gz 736601 SHA256 ca5be161a1770ce9fc72b246a0da86e98bc8caa9a38922ec96936b56b3dd55ce SHA512 44752613fdb2e0028e1bd734aae18399e7671e84fb66eab4a0f1f6bffdc1d208341cb04dc20316984c0e64bdb6963a1c9bd5d7ecc19659237f703347c5544d2a WHIRLPOOL 83bc393fc9ec9970ea3dfc89752ffd8775f5c4bc16b09f443d311aaae9b4eba5a925eeff0903335196954d969930a45d7d6431b1bf6f71079a11a21787380c10
|
||||
DIST pygal-1.7.0.tar.gz 737013 SHA256 e0cf38aec260b0eceb4b7a30f8dcb988ed129915b9561856dd8cb131ae34bcf4 SHA512 b32ec050e0d62224b81bc19d7421a405fca0827ba5bf86f748c3166783527638c29f6c0d010170a682d4ee8f602fc2822738c818638ee39cc5a9a5c4708f61b9 WHIRLPOOL 3278d41dd3107dfad7c2065e5c115c89e005e3887fc3e4bc949796fdee4039912b14439e7af035a3a68151589cc1ac1b7f2e4ec66ef1611edf78e8b0c9c9423d
|
||||
DIST pygal-2.0.0.tar.gz 66678 SHA256 54846f1a74f24b54ad4554f1b0d4e05f0ea51e5f66e680bff486e4664572e5f4 SHA512 95beb43687d80043109567021d4b912b5385b934e7348321c9b0a1b048764df7f89a83d3c58653672ae2b8e69c0a2cacdd62a9c43c244443bb99e401ad019e1a WHIRLPOOL dd679983ed862d8dd71b84863d403f3aa01a5ba78f0c95d005e546c982291eb12f932705d70a1a3a0beeb34487bdf75df38354160239fba9e852aa744e3886e8
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2015 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} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python SVG charts generator"
|
||||
HOMEPAGE="http://pygal.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/lxml"
|
@ -1 +1,2 @@
|
||||
DIST mongo-ruby-driver-1.12.0.tar.gz 360669 SHA256 84c87d26601c9bd91a6604bcb3630be50d239e471542f9b0a68379705dd03e11 SHA512 725110c527867379def85fde50b6825e94a320356f062e4403d9d55c223f2503676f83ae42916d6ab45afd90d30b2a4272519e070c4af2095c0965297fd72bb6 WHIRLPOOL c152aa579a0535707909560cc73fc878521aac95c034ec71bca6c2397754b5e057c1e7ca32f6b2b3393ce975f122e65926820cdde29aa5f5734fb9717bd980e0
|
||||
DIST mongo-ruby-driver-2.0.6.tar.gz 173405 SHA256 212b3d4a83398ac0299323e9380c5d804d0691d1f8dfc7259aaf5b669943abb9 SHA512 25e5e63538f498b42a44665d725b04e8b7ee0fae4d3331d43b883e427fccdcf0de5a1151819ba04fb6520b5d20da02adf59f1c144176bc2a458142efd5ca7b95 WHIRLPOOL 030072734393abc20fe87e2f0798010ee0c256b5d8fab236171a1942fb737239a3719b5c3488075330616c959cfcacf0f9da6cf02646e29e8c9b7a6a03c0b9af
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="mongo-ruby-driver"
|
||||
RUBY_S="${GITHUB_PROJECT}-${PV}"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby driver for MongoDB"
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/bson:3"
|
||||
|
||||
DEPEND+=" test? ( dev-db/mongodb )"
|
||||
|
||||
# Requires a running mongod
|
||||
RESTRICT="test"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid test dependency on pry
|
||||
sed -i -e '/\(pry\|coverall\)/I s:^:#:' \
|
||||
-e '/simplecov/,/^ end/ s:^:#:' \
|
||||
-e '/config.formatter/ s:^:#:' spec/spec_helper.rb || die
|
||||
|
||||
sed -i -e 's/localhost/127.0.0.1/' spec/mongo/*_spec.rb || die
|
||||
|
||||
rm -f .rspec || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ruby-ng_rspec
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# Remove bson code used for testing. This is installed as part of
|
||||
# dev-ruby/bson.
|
||||
# rm -rf lib/bson* || die
|
||||
|
||||
each_fakegem_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST optionable-0.2.0.gem 9216 SHA256 878859afbf5f681c69bde1bee120f44c13ce570fc6d2430e29a517de8ad34b20 SHA512 4c633c83cd51fb2f1771f5f842cc8024d769f644d513a8d4486c7960d2bdda81be44746a7bb4604bb458cd58c3bbb5db28cb426d25cded6098263798f7daa465 WHIRLPOOL f7f4101fbc86ecea608014eee003fdc06832e911308137c6aeeee1519081bf7fc37ae0382eded3c41f4b01c65c13a615cff37c452e44710b995b8e2c35157740
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
<upstream>
|
||||
<remote-id type="github">durran/optionable</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Robust options validation for Ruby methods"
|
||||
HOMEPAGE="https://github.com/durran/optionable"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
@ -1 +1,2 @@
|
||||
DIST png-1.2.0.gem 19968 SHA256 1b8a3b4a2d76341a4e1d2ed64180d70d463e1e6538a9b45ce319b53c2f4dbd1a SHA512 c8b70697a38766dd6fd5057bd998d41a33caf61780f0bbcc908ed8f76378a79f441bcdd89ae5aad83780acb3de6113165bbf104b110bb7ae83226c15a13bda44 WHIRLPOOL cb278beea767f69f57501ea7f6742097c14ebd4cbfc26fa57cda12ae27837b51eaa0475e25431f8f7feb46b2bd5b8210e7ee2fe0b157091ec959ed1756d64837
|
||||
DIST png-1.2.1.gem 22016 SHA256 678235c7c6f1194ec9d3690035044df6820ba41a9d995b73f63d3e8a8926e737 SHA512 307d302d536f195255e0c192e54cce219314c053dd59b88b881c4c9df8d3f1e733c7874c40d5e7db8fe32649dc84dd40dbfc79c5ca31f79e6b98f35af1b40561 WHIRLPOOL 04f2d96d881e2c4889f15cf97af7bcd100d8ab73f8e38eac65635c27c0c4a3c9f93da87f4d00782bf62becfcf444a19a5168f40dc9fc9e9b506f654a023e568a
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An almost pure-Ruby Portable Network Graphics (PNG) library"
|
||||
HOMEPAGE="http://docs.seattlerb.org/png/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/hoe )
|
||||
test? (
|
||||
dev-ruby/hoe
|
||||
dev-ruby/minitest
|
||||
)"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/RubyInline-3.5.0"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/rubyforge/s/^/#/" Rakefile || die
|
||||
sed -i -e "1i# encoding: ascii-8bit" test/test_png.rb || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
chmod 0755 "${HOME}" || die "Failed to fix permissions on home."
|
||||
ruby-ng_src_test
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST redis-rb-3.0.6.tar.gz 62335 SHA256 06cad67fdfd6955112a65d05e0fff62b003439404f20d8b926ce92f6c5eabe4b SHA512 966a2b9bf5d3af51020015e8b066b728b0632093eedcf1ca41f82b3340d54b0bffb305a0aa7ec5c8534db0a71cd6de006a943a0ebef234a4f93204ea41a431b1 WHIRLPOOL cdeec7ccbe3dd6a4c4ea6e9e786c072cab436abacc48538501234cd58f8bb21bc8a43ad8a4db68b607c5ee9313daffe9e1eb0255057e6306db2c55d920673609
|
||||
DIST redis-rb-3.0.7.tar.gz 64059 SHA256 70bc9da8d41af542f41dd8be0f69d005f981d7198e867345ded562baaaab667a SHA512 93f5e68d491010d74d3b93fe6ff4e50f28bcdf4456435ee7ea066a4e21219a438944d66ca7cbdfd7182fb4a574f26fad3b85e14c226854e4b94f0a2681b8dfd7 WHIRLPOOL eac933f32c8a5851e896cf4360af1cad54112defdd58c2999bfc6509cbbabea6be2f252730d523391bf741ce6997f334714a33498eb54df01bd1d68fecb85eee
|
||||
DIST redis-rb-3.2.1.tar.gz 69986 SHA256 ea86257db6be49bfeca8cf4a9ffc645844b2d3ffd81542b2305f3e84fdd983d1 SHA512 3c3f6bca71a9a6ef0d6cc713483445a890034b6a96c773ae6ea0bd38153752327cb4cd50cdf791b14ed211eb7323c12498665b89946d0dfd5237a97dca506b10 WHIRLPOOL 94158ef753bed9271dec78fd9fae332168cb10417016df5dd3d3b38d4808bfbbf55bd9b2bc192087aadbf8f5df86e723c001eeebee386d00c0f85ab7ad37bbb9
|
||||
|
@ -0,0 +1,68 @@
|
||||
--- a/Rakefile 2015-08-11 22:16:04.474139810 +0100
|
||||
+++ b/Rakefile 2015-08-11 22:19:01.024398679 +0100
|
||||
@@ -1,14 +1,11 @@
|
||||
require "rake/testtask"
|
||||
|
||||
-ENV["REDIS_BRANCH"] ||= "unstable"
|
||||
-
|
||||
REDIS_DIR = File.expand_path(File.join("..", "test"), __FILE__)
|
||||
REDIS_CNF = File.join(REDIS_DIR, "test.conf")
|
||||
REDIS_CNF_TEMPLATE = File.join(REDIS_DIR, "test.conf.erb")
|
||||
REDIS_PID = File.join(REDIS_DIR, "db", "redis.pid")
|
||||
REDIS_LOG = File.join(REDIS_DIR, "db", "redis.log")
|
||||
REDIS_SOCKET = File.join(REDIS_DIR, "db", "redis.sock")
|
||||
-BINARY = "tmp/redis-#{ENV["REDIS_BRANCH"]}/src/redis-server"
|
||||
|
||||
task :default => :run
|
||||
|
||||
@@ -16,9 +13,7 @@
|
||||
task :run => [:start, :test, :stop]
|
||||
|
||||
desc "Start the Redis server"
|
||||
-task :start => [BINARY, REDIS_CNF] do
|
||||
- sh "#{BINARY} --version"
|
||||
-
|
||||
+task :start => [REDIS_CNF] do
|
||||
redis_running = \
|
||||
begin
|
||||
File.exists?(REDIS_PID) && Process.kill(0, File.read(REDIS_PID).to_i)
|
||||
@@ -27,10 +22,14 @@
|
||||
false
|
||||
end
|
||||
|
||||
- unless redis_running
|
||||
- unless system("#{BINARY} #{REDIS_CNF}")
|
||||
- abort "could not start redis-server"
|
||||
- end
|
||||
+ unless system("which redis-server")
|
||||
+ STDERR.puts "redis-server not in PATH"
|
||||
+ exit 1
|
||||
+ end
|
||||
+
|
||||
+ unless system("redis-server #{REDIS_CNF}")
|
||||
+ STDERR.puts "could not start redis-server"
|
||||
+ exit 1
|
||||
end
|
||||
|
||||
at_exit do
|
||||
@@ -52,20 +51,6 @@
|
||||
FileUtils.rm_f(REDIS_CNF)
|
||||
end
|
||||
|
||||
-file BINARY do
|
||||
- branch = ENV.fetch("REDIS_BRANCH")
|
||||
-
|
||||
- sh <<-SH
|
||||
- mkdir -p tmp;
|
||||
- cd tmp;
|
||||
- rm -rf redis-#{branch};
|
||||
- wget https://github.com/antirez/redis/archive/#{branch}.tar.gz -O #{branch}.tar.gz;
|
||||
- tar xf #{branch}.tar.gz;
|
||||
- cd redis-#{branch};
|
||||
- make
|
||||
- SH
|
||||
-end
|
||||
-
|
||||
file REDIS_CNF => [REDIS_CNF_TEMPLATE, __FILE__] do |t|
|
||||
require 'erb'
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
MY_P="redis-rb-${PV}"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rake"
|
||||
RUBY_FAKEGEM_TASK_TEST="run"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby client library for Redis"
|
||||
HOMEPAGE="https://github.com/redis/redis-rb"
|
||||
SRC_URI="https://github.com/redis/redis-rb/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="test? ( dev-db/redis )"
|
||||
|
||||
RUBY_S="${MY_P}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# call me impatient, but this way we don't need netcat
|
||||
sed -i \
|
||||
-e '/test_subscribe_past_a_timeout/,+18d' \
|
||||
test/publish_subscribe_test.rb || die "sed failed"
|
||||
|
||||
# Version 3.0.6 downloads and compiles redis-server to test against.
|
||||
# This patch reverts it to the way 3.0.5 does it, using the local server.
|
||||
# https://github.com/redis/redis-rb/commit/351a1294fe33f79c23495b7568045e9f484918f2
|
||||
epatch "${FILESDIR}/${PN}-3.2.1-local-redis-server.patch"
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils elisp-common
|
||||
|
||||
MY_PN=gambc
|
||||
MY_PV=${PV//./_}
|
||||
MY_P=${MY_PN}-v${MY_PV}
|
||||
|
||||
DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter"
|
||||
HOMEPAGE="http://www.iro.umontreal.ca/~gambit/"
|
||||
SRC_URI="http://www.iro.umontreal.ca/~gambit/download/gambit/v${PV%.*}/source/${MY_P}.tgz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
|
||||
DEPEND="emacs? ( virtual/emacs )"
|
||||
RDEPEND=""
|
||||
|
||||
SITEFILE="50gambit-gentoo.el"
|
||||
|
||||
S=${WORKDIR}/${MY_P} #-devel
|
||||
|
||||
IUSE="emacs static"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable !static shared) --docdir="${EPREFIX}"/usr/share/doc/${PF} --enable-single-host --disable-absolute-shared-libs
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake bootstrap || die
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile misc/*.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
keepdir /usr/share/${MY_PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit versionator eutils flag-o-matic multilib
|
||||
|
||||
#version magic thanks to masterdriverz and UberLord using bash array instead of tr
|
||||
trarr="0abcdefghi"
|
||||
MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
|
||||
|
||||
MY_P=${PN}-${MY_PV}
|
||||
S=${WORKDIR}/${PN}
|
||||
DESCRIPTION="SCM is a Scheme implementation from the author of slib"
|
||||
SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
|
||||
HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-3"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
|
||||
IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact
|
||||
ioext libscm macro ncurses posix readline regex sockets unix"
|
||||
|
||||
#unzip for unpacking
|
||||
DEPEND="app-arch/unzip
|
||||
>=dev-scheme/slib-3.1.5
|
||||
dev-util/cproto
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/libtermcap-compat )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-multiplefixes.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# SLIB is required to build SCM.
|
||||
local slibpath="${EPREFIX}/usr/share/slib/"
|
||||
if [ -n "$SCHEME_LIBRARY_PATH" ]; then
|
||||
einfo "using SLIB $SCHEME_LIBRARY_PATH"
|
||||
elif [ -d ${slibpath} ]; then
|
||||
export SCHEME_LIBRARY_PATH=${slibpath}
|
||||
fi
|
||||
|
||||
einfo "Making scmlit"
|
||||
emake -j1 scmlit clean || die "faild to build scmlit"
|
||||
|
||||
einfo "Building scm"
|
||||
local features=""
|
||||
use arrays && features+="arrays"
|
||||
use bignums && features+=" bignums"
|
||||
use cautious && features+=" cautious"
|
||||
use engineering-notation && features+=" engineering-notation"
|
||||
use inexact && features+=" inexact"
|
||||
use macro && features+=" macro"
|
||||
|
||||
( use readline ||
|
||||
use ncurses ||
|
||||
use regex ||
|
||||
use posix ||
|
||||
use ioext ||
|
||||
use gsubr ||
|
||||
use sockets ||
|
||||
use unix ||
|
||||
use dynamic-linking ) && features+=" dynamic-linking"
|
||||
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
|
||||
-s "${EPREFIX}"/usr/$(get_libdir)/scm \
|
||||
-F ${features:="none"} \
|
||||
-h system \
|
||||
-o scm || die
|
||||
|
||||
einfo "Building DLLs"
|
||||
if use readline; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-h system \
|
||||
-F edit-line \
|
||||
-t dll || die
|
||||
fi
|
||||
if use ncurses ; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-F curses \
|
||||
-h system \
|
||||
-t dll || die
|
||||
fi
|
||||
if use regex ; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-c rgx.c \
|
||||
-h system \
|
||||
-t dll || die
|
||||
fi
|
||||
if use gsubr ; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-c gsubr.c \
|
||||
-h system \
|
||||
-t dll || die
|
||||
fi
|
||||
if use ioext ; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-c ioext.c \
|
||||
-h system \
|
||||
-t dll || die
|
||||
fi
|
||||
if use posix; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-c posix.c \
|
||||
-h system \
|
||||
-t dll || die
|
||||
fi
|
||||
if use sockets ; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-c socket.c \
|
||||
-h system \
|
||||
-t dll || die
|
||||
fi
|
||||
if use unix ; then
|
||||
./build \
|
||||
--compiler-options="${CFLAGS}" \
|
||||
--linker-options="${LDFLAGS}" \
|
||||
-c unix.c \
|
||||
-h system \
|
||||
-t dll || die
|
||||
fi
|
||||
|
||||
if use libscm ; then
|
||||
emake libscm.a || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" man1dir="${EPREFIX}"/usr/share/man/man1/ \
|
||||
install || die "Install failed"
|
||||
|
||||
if use libscm; then
|
||||
emake DESTDIR="${D}" libdir="${EPREFIX}"/usr/$(get_libdir)/ \
|
||||
installlib || die
|
||||
fi
|
||||
|
||||
doinfo scm.info
|
||||
doinfo hobbit.info
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ "${ROOT}" == "/" ] && pkg_config
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
einfo "Regenerating catalog..."
|
||||
scm -e "(require 'new-catalog)"
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules"
|
||||
HOMEPAGE="http://packages.qa.debian.org/d/debhelper.html http://joeyh.name/code/debhelper/"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="test"
|
||||
DH_LINGUAS=( de es fr )
|
||||
IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
|
||||
|
||||
NLS_DEPEND=$(
|
||||
printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10:=
|
||||
>=app-arch/dpkg-1.17
|
||||
dev-perl/TimeDate
|
||||
virtual/perl-Getopt-Long
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${NLS_DEPEND}
|
||||
test? ( dev-perl/Test-Pod )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local LANGS="" USE_NLS=no lingua
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
if use linguas_${lingua}; then
|
||||
LANGS+=" ${lingua}"
|
||||
USE_NLS=yes
|
||||
fi
|
||||
done
|
||||
|
||||
emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
dodoc doc/* debian/changelog
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
local lingua
|
||||
for manfile in *.1 *.7 ; do
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
case ${manfile} in
|
||||
*.${lingua}.?)
|
||||
use linguas_${lingua} \
|
||||
&& cp ${manfile} "${T}"/${manfile/.${lingua}/} \
|
||||
&& doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/}
|
||||
;;
|
||||
*)
|
||||
doman ${manfile}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 11 Aug 2015 19:41:11 +0000
|
||||
Wed, 12 Aug 2015 05:41:10 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 11 Aug 2015 19:41:11 +0000
|
||||
Wed, 12 Aug 2015 05:41:10 +0000
|
||||
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup
|
||||
DEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=QEMU Guest Agent (qemu-ga) for use when running inside a VM
|
||||
EAPI=5
|
||||
HOMEPAGE=http://wiki.qemu.org/Features/QAPI/GuestAgent
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2 BSD-2
|
||||
RDEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5
|
||||
SLOT=0
|
||||
SRC_URI=http://wiki.qemu.org/download/qemu-1.5.2.tar.bz2 http://dev.gentoo.org/~cardoe/distfiles/qemu-1.5.2-e26b4ba6.tar.xz
|
||||
_eclasses_=eutils 351a78113be5b393c09a2c948701ad36 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 0cafc0cf4ff05a561eb084acb586152e python-utils-r1 c595450196ccd7d3fac66424be096ffc systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 udev 37ef89be271b9ae8aa64be024ddb39b5
|
||||
_md5_=7f4a539c916b1195faab332661c9e6c3
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare setup
|
||||
DEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=QEMU Guest Agent (qemu-ga) for use when running inside a VM
|
||||
EAPI=5
|
||||
HOMEPAGE=http://wiki.qemu.org/Features/QAPI/GuestAgent
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2 BSD-2
|
||||
RDEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5
|
||||
SLOT=0
|
||||
SRC_URI=http://wiki.qemu.org/download/qemu-1.6.0.tar.bz2 http://dev.gentoo.org/~cardoe/distfiles/qemu-1.6.0-49bdd50f.tar.xz
|
||||
_eclasses_=eutils 351a78113be5b393c09a2c948701ad36 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 0cafc0cf4ff05a561eb084acb586152e python-utils-r1 c595450196ccd7d3fac66424be096ffc systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 udev 37ef89be271b9ae8aa64be024ddb39b5
|
||||
_md5_=f6cdb770d65bc6fe84d394705c5719d1
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare
|
||||
DEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=QEMU Guest Agent (qemu-ga) for use when running inside a VM
|
||||
EAPI=5
|
||||
HOMEPAGE=http://wiki.qemu.org/Features/QAPI/GuestAgent
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2 BSD-2
|
||||
RDEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5
|
||||
SLOT=0
|
||||
SRC_URI=http://wiki.qemu.org/download/qemu-2.0.0.tar.bz2
|
||||
_eclasses_=eutils 351a78113be5b393c09a2c948701ad36 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 0cafc0cf4ff05a561eb084acb586152e python-utils-r1 c595450196ccd7d3fac66424be096ffc systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 udev 37ef89be271b9ae8aa64be024ddb39b5
|
||||
_md5_=2779dfdba034b71cef68d27d014f5ddd
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare
|
||||
DEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=QEMU Guest Agent (qemu-ga) for use when running inside a VM
|
||||
EAPI=5
|
||||
HOMEPAGE=http://wiki.qemu.org/Features/QAPI/GuestAgent
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=amd64 ppc ppc64 x86 ~x86-fbsd
|
||||
LICENSE=GPL-2 BSD-2
|
||||
RDEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5
|
||||
SLOT=0
|
||||
SRC_URI=http://wiki.qemu.org/download/qemu-2.1.2.tar.bz2
|
||||
_eclasses_=eutils 351a78113be5b393c09a2c948701ad36 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 0cafc0cf4ff05a561eb084acb586152e python-utils-r1 c595450196ccd7d3fac66424be096ffc systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 udev 37ef89be271b9ae8aa64be024ddb39b5
|
||||
_md5_=2d184b8b6c8db2d41f605bc2df403ee6
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare
|
||||
DEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] virtual/pkgconfig virtual/pkgconfig
|
||||
DESCRIPTION=QEMU Guest Agent (qemu-ga) for use when running inside a VM
|
||||
EAPI=5
|
||||
HOMEPAGE=http://wiki.qemu.org/Features/QAPI/GuestAgent
|
||||
IUSE=python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2 BSD-2
|
||||
RDEPEND=>=dev-libs/glib-2.22 !<app-emulation/qemu-1.1.1-r1 !<sys-apps/sysvinit-2.88-r5
|
||||
SLOT=0
|
||||
SRC_URI=http://wiki.qemu.org/download/qemu-2.2.0.tar.bz2
|
||||
_eclasses_=eutils 351a78113be5b393c09a2c948701ad36 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 0cafc0cf4ff05a561eb084acb586152e python-utils-r1 c595450196ccd7d3fac66424be096ffc systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361 udev 37ef89be271b9ae8aa64be024ddb39b5
|
||||
_md5_=e00f70c64e583c88e8fc4be83b118dd5
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=sys-libs/zlib:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ssl? ( dev-libs/openssl:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=C client library for MariaDB/MySQL
|
||||
EAPI=5
|
||||
HOMEPAGE=https://dev.mysql.com/downloads/connector/c/
|
||||
IUSE=+ssl static-libs abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=sys-libs/zlib:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ssl? ( dev-libs/openssl:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) !dev-db/mysql[client-libs(+)] !dev-db/mysql-cluster[client-libs(+)] !dev-db/mariadb[client-libs(+)] !dev-db/mariadb-connector-c[mysqlcompat] !dev-db/mariadb-galera[client-libs(+)] !dev-db/percona-server[client-libs(+)]
|
||||
SLOT=0/18
|
||||
SRC_URI=mirror://mysql/Downloads/Connector-C/mysql-connector-c-6.1.6-src.tar.gz
|
||||
_eclasses_=cmake-multilib e82cd2608890af2e6a4965cc715b0135 cmake-utils f474224ef49d530640a43a04ae94928e eutils 351a78113be5b393c09a2c948701ad36 flag-o-matic 02090c5a622458303e6bf68837ac6b96 multibuild 4550e10791f720f7af3fdd911aedf518 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multilib-build c47eec09e82c8a750127ff2abf0745b1 multilib-minimal a93a9b4153a5f1c746bdd3b20ef9d834 toolchain-funcs 4b8d3388c0a6e798504e20ba30b49361
|
||||
_md5_=cc695e1fa7c4505ea58be70da2c67572
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue