parent
fb28eee0aa
commit
a376ae14e0
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.6.10.ebuild,v 1.1 2014/08/04 09:07:20 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 readme.gentoo
|
||||
|
||||
DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
RDEPEND="
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
|
||||
DOC_CONTENTS="You can define parameters through shell variables OR use config files
|
||||
Examples of config files installed in /usr/share/doc/${PF}/examples\n\n
|
||||
You have to create ansible hosts file!\n
|
||||
More info on http://docs.ansible.com/intro_getting_started.html
|
||||
|
||||
Some optional dependencies, you might want to install:\n
|
||||
dev-python/keyczar - needed to support accelerated mode\n
|
||||
dev-python/paramiko - alternative SSH backend"\
|
||||
|
||||
python_test() {
|
||||
make tests || die "tests failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
# Hint: do not install example config files into /etc
|
||||
# let this choice to user
|
||||
|
||||
newenvd "${FILESDIR}"/${PN}.env 95ansible
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1,19 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST perl-cleaner-2.15.tar.bz2 6165 SHA256 20371908fd19b08e90ec282dc9ceba90e01655336444ebb22c7a432bcb81adb1 SHA512 58bda82808b8213019a0807cedba30b10fceda04a256f268a654bba8328ab11eb3c7b8a33046d7a24147f2b35d8a53ce86ad30efb0c77d5598f185c3a5d6a797 WHIRLPOOL 9a37d200c144eea0121beea816778b9bd3244cac1c88ada8a6854cc661d9f0071c113a5099df1a0ba6ed1bfeb00a2201308762422d85ac2f0d3a6eb9f0a467f9
|
||||
DIST perl-cleaner-2.16.tar.bz2 6069 SHA256 b54f7bd0dc8e60c08ac3de242cf157c21dbce1cfb8fc9c525b3d6cca88915ae3 SHA512 d2e03e473754b7730a6275cc743414fbb48a9fcb6a7a7dbef1fae73acb609b1b9f06eb33261505e1309fc79074303b7c29b6bd80b3bc79b40d27fc94d9b2cb09 WHIRLPOOL d240e0946a924a4d4984a2c7cc82e54de91e3c05ebf6a29fe154a557ff475da3503eb99a054f26ceda13ec61b87b8b2fe63c367c441b2b3cb6f7c34cf14f3165
|
||||
EBUILD perl-cleaner-2.15.ebuild 913 SHA256 ce54f997d578a3526694d4189a441aa41fa8e6d40071f93ff16657310b8b8140 SHA512 723a9a8e46b66470dd85c9d40c8c141f4f21dbe4514db61c6535a7d29a458f4905f77c957b4165d844af0f8e27620a54f0e1f7d51a9ac79022d02dfb9385e67f WHIRLPOOL adcf96a3af2900dd2ca8cb5f75f63b383595c60f4cc26e80408fd27de562ddf345d0a4facc836f06f4966fd1fde431a28dd6b0952d44192a06285b19e3c7d0b1
|
||||
EBUILD perl-cleaner-2.16.ebuild 969 SHA256 84a41558a3725eb377d4ae1fd03a2943cc211628365d66c1bb0aeb69b6a0b821 SHA512 21a39f46b5a2b5da9a61d5874efc95aa7483c21232c6a810582a67cc90108c7478314693ed82ebee1a4c49bfaf9593b2f6183ea53794864a19882c83c7b206ee WHIRLPOOL 413d3693080661d7f46805b64ecf1225b8d6e879cd56d5acc96434fc8096018f7e3dbd26d0b3b260fb0509d959b3c925829224df18982500191f990b1e1061e4
|
||||
EBUILD perl-cleaner-9999.ebuild 982 SHA256 e80a1d0d13a93403da058c42760dbd1554253d10aa3c8307218cd5771e0ff539 SHA512 2a2a7112d62bf7ca1deae7eb04ce88b9a7a369ac05f60b1f21ad1a594b2ca049f0aa86c36192bd6b6a8b6105a5391d958a808a5c25323cfb66fb170c2a4c62ca WHIRLPOOL 0502e5ba8b6aa97fc33f21f5667eaad881eb7427500fbd8b94b542da2e8839276819af09a66600ad79e4841721d88f8101b2c72c3cb0fe73cb638e07955195b5
|
||||
MISC ChangeLog 14582 SHA256 e47db14b6b321825559634ca46303b1a816e9fbe872d174b3f8e116fe8551a00 SHA512 36af94937dd940ba487420b48c9902c2b52fd307fc962fbce617514d86a5aa11220489390a5dc6008c38ee1cd067cf4fb0e1505180ec8272c6026d9c9c68e35a WHIRLPOOL 6ac6750d318b924ca037942cae33a7d86953e8fd47b69916de636aa8d16a9e1f1caf8dab3f94ec79692f175433bc6da96f619d1df6e3d2118e3d2948f24ded97
|
||||
MISC ChangeLog 14684 SHA256 e7300ec206ef0942e76b1ae76b670c482b7c83551946b25029ef6487e83aec22 SHA512 867bd628c79fe61d968d02e34234603313cce92a7c0efc45287e67dde0911e8a7bb48798c8726d01ed5370247d35de3d56173b9f21c353d0d62b45c2d122dab8 WHIRLPOOL d83f4b6b6aa94c63d4cb9dfff2a67accde11430aae82f1571521bd29e82ed1f8d1990bf1cc63c716ee1569ec9fc2da580c54caa3e55d0111252ec8f83a9f00ea
|
||||
MISC metadata.xml 224 SHA256 7d1302c10f9b1a8ea6ce22057fa87754cbe057e6066f24086cffa88cdfc6e534 SHA512 75d2946bbfa18966b6d66b9bc23eb6d0664a68e63b02467ae9639faec9deaaec9912b88cc0130e55b31e6ae11b509e70a3f2b9ba5a8da25d6019806ffeeb9b59 WHIRLPOOL bc83aa4ec14d183b70b9064c5c950b3a38644e548d9101d363440189372469e44b62f53e386a6d8744f28312dee0ead2d107c4bc52a872fe757eb2d632afb413
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iJwEAQEIAAYFAlPUFcgACgkQG9wOWsQutdb2wQP/bUWorR0bIxIxhdVMfuvIjdv3
|
||||
Ttr2A2m3ot4o9Di4mqCM3p7m51C63bTGxu9Tcq6lzjE7u94zWtbadh3RcxYtxJW0
|
||||
vm4bt1dSENq8mqFRroh37+b9dZyBQS9JFHpjW6o7exxJBr/IbXvEtWZ77TN6edYJ
|
||||
QEV1naGaeHaH7wfk3+U=
|
||||
=YjrO
|
||||
iQJ8BAEBCABmBQJT3rQJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF
|
||||
QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOcFjkQAMJJ/ecbDD1mUjl4AjcTsoC7
|
||||
j0FZQzrVtDDdblLRI1nuBOryvqsNI7qlr6pabf7mh+jIIDq+4652CnTBrR5EVJlF
|
||||
bZRH0hgXPPhepC36Qvze8+5Qu8j5Avdl6QgbpSrUdls6hHahuJvB/S2RuMj94n0a
|
||||
VmvB2h1Brjh0ZdKZx3ix1usNTiz5WGZo0/aVRdzquefXru8RLaHLjQcoi7cEHeJJ
|
||||
AuIcG33KTel9hx0PSUsW3lYV8PQbQb0Y1aI70c8cN46Y+U611LTeaRs4MqDspgwZ
|
||||
CzuMJSOYB4cpZRCJXHBFb65UKS0xGjQl/9BhhKdNK1S1uszpDNbDBaNe8aSo7JWq
|
||||
631EdyqQLyFumMWJ6gFat9JCeIUIdGcF9IYUzqRMA6LeQVgmH3hdMwuEYksduwVu
|
||||
C8hu9apXfP8UaaeHf1IZNzrJR6T1Q72h3xAFGnWGcd8bkLlXZH76m8Nu6/MOGNJQ
|
||||
VlwHDj+k7Kv6y2sc89siYaeftTwWhUJXeUSYII5YafyC4D/6kzoGo5nfMCr+CVB/
|
||||
c0RHwnZzNUoxp5askRnkV7cC0Y8Kji+v8Au/j+ZzCs2BQGAUQt7vfrLGn8loZoY0
|
||||
Y4V3vxHt3BztqZ9CdKcF31T9OvIlCMXXwKEgYGTRoLwCA221s/zQuuGwtTcKjsUY
|
||||
a9ISsESjp/DwT0mIAUd9
|
||||
=uI/8
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/perl-cleaner/perl-cleaner-2.15.ebuild,v 1.5 2014/07/26 20:50:21 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="User land tool for cleaning up old perl installs"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/perl/"
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="http://github.com/gentoo-perl/perl-cleaner.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
[[ "${PV}" == "9999" ]] && DEPEND="sys-apps/help2man"
|
||||
|
||||
RDEPEND="app-shells/bash
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
dev-lang/perl"
|
||||
|
||||
src_install() {
|
||||
dosbin perl-cleaner
|
||||
doman perl-cleaner.1
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST hmaccalc-0.9.12.tar.gz 98795 SHA256 5be00d6e17dcac7e58812c6d1426e46d675e6a134c02df7751ad2d5844bb5028 SHA512 eb5e0a4356a84252662d69b51f612bf7a46149cb6170bcf429c9de0abee513840fabd83f7ee261df90c0489aa8be1b6cd47d95f87d6ac4c7697bd4f7d16a1819 WHIRLPOOL ae22c9837e580a5a8c1c513b99d164c1f46553d4a78d1b7ff325f9a0f8c28653246877da095907326de927c5a3a0252d9199453bd3966244c4aed79e61435b29
|
||||
EBUILD hmaccalc-0.9.12.ebuild 764 SHA256 ad3efcc9f9ad1c8fe390ab14078edf871dc5714b87dccbfdb5b755183421345a SHA512 114800cac84ceaf463c6a74d1959539a9f0005523196755ada382cff733f3b3242a24b47bba1c5194a475859141cf4ab189bc22c424f9315a2a16429f8019844 WHIRLPOOL f35623430ee256b8d23a2dd3b3c466aa5be62cc9db59eb861016a3ee7c16c7689acb5a49138b0f9ad9948f6cbc35e8e46b66762a963aa6da627140f59e8d70c1
|
||||
MISC ChangeLog 452 SHA256 af6e5b06af896bd97d0b1bf4d797d2ca331cffa804e54760672b50ff5833cafc SHA512 a4902e255292ca210ee97c6ede540a3e14dd39d8a848f6510c70da8e8d9530a31a7575f159ef9f1292fb5f7de9cdce199fe705ca1889b177c7078a067af994bf WHIRLPOOL 4fcbca4cb46a29cf59ac42fd3652cddfe2501ca77133b483511792e7e6dacf1b9033a942ecae20e0db5c92c37fd2272974954129b98b7ae9fe264abc6be7de08
|
||||
MISC metadata.xml 491 SHA256 694de6af35ab27d8f67b4ef14dfba024fafce3339c863e9d273068556935d424 SHA512 63c0869b6344f0b451f0059061dcc6e2655164b092de8c94c1af9058617e91c08311d7a8d0e042e4a568802bd116e743e4b3942f676dc5c2fdbb992c69b2a5ab WHIRLPOOL 4176684965bec36746724f966b0624f8ca2678d780486dea5528f1bb0b1a021cdc38000e5548c97912b35b8c0e7ecd769f6fc8af8885924ef493a123f85c031f
|
||||
DIST hmaccalc-0.9.13.tar.gz 106979 SHA256 9a00b507555e45f58c1659d28f4d27e63373735a30cfe70e2c939f679cd266cc SHA512 899e95dcebf85dbb64ea543d530e3819c2dd72dfbdc1f06e7f37418f9045a8018c49ace96c6090e08b18406edc3efa196ea9fcd9b7b8d8e151f80b2eaba512c0 WHIRLPOOL 7af722b3875656113f7a7fa67a9e9bf2014b1b2873cf601f512dd361a40894fae94c667c06ec5f16291df459ea8c8d4634f828645d62eb6560350b22cd684506
|
||||
EBUILD hmaccalc-0.9.12.ebuild 764 SHA256 ad158d577562da9b7b7ae20a2b005cdcf458d477336a5b3fc181939bf2a0e598 SHA512 edb0d311c529b212a48ef1b44bb58258ba6835c3f57282a53defb225cbe3be1beda681882b111c87d4c005803487f4c899dee15b6cc45a212b8b9c0e1b7e419d WHIRLPOOL 1b47ba5eb79f1b66a4251a6fed9568be78cc01867e8d47a54172f87629524b9c6c27eabe96e6a81cf00fafb8a4f55dc053045eea0ead56105e5adbeeb5a630c2
|
||||
EBUILD hmaccalc-0.9.13.ebuild 802 SHA256 612e82a086c019c79803cf8068b6f876f5174a4a939a6c88f4f24c024ab462fb SHA512 2bd67223dc9f3a59846662e5023ed0895f8b84e8f8e4504fb77a2158a588a3a12dad0c392deb46339dc40c60eebcc51e6532a0a41fd07d27e98e775bbd17f830 WHIRLPOOL 286915d74dddb110a668dc523a4fce2162adb4566bb7ae186eb014b5f4cb388acde533b28b6c2cc89817de6833a29db7358e23c32fd138c1eb6c4980583904bd
|
||||
MISC ChangeLog 643 SHA256 8e881d6464e0c8fa22b208d17250b471f2ee304a831f0e61a2dd92c1e7764df5 SHA512 376cab38f9241d03ac8d257b4e257a2711969508538d918078b39be5551565ee7af47ee59d741a7ea4ee42f20cfa24f15e30e1a09464f0ce91257de9687eef8b WHIRLPOOL 7cb132186979f2074d9f963dd58f07622ebde1325da41016de38de73645d407a03b9b885ea66dca3bb31953f2c3d4c0e1b9faa942eaf427a456fe5a20d8e56ab
|
||||
MISC metadata.xml 596 SHA256 bb92e2532824febb01098ca19f6162b1be05d34ba1a3d555985dcd2e7c2d3414 SHA512 c1e62721663760acc6f545cf72737fd2c9b5a3fab00b10cf451fab06f379aab4ca7a7a9f6739ae6f219d942192754737371e2e38c0cd64b9f0c87951e7ce2a71 WHIRLPOOL 576c6c9c5d91fdcbb6d4fda0680514d0a6e07aa84b4b1ae47e9f1b2e22c2680eb1dbc0e02da076cffbc3062b228b994427791c33335523eaabc8575f3f3dab4e
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/hmaccalc/hmaccalc-0.9.13.ebuild,v 1.1 2014/08/04 03:52:42 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Tools for computing and checking HMAC values for files"
|
||||
HOMEPAGE="https://fedorahosted.org/hmaccalc/"
|
||||
SRC_URI="https://fedorahosted.org/released/hmaccalc/hmaccalc-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+fips"
|
||||
|
||||
DEPEND="dev-libs/nss
|
||||
sys-devel/prelink"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-sum-directory=/usr/$(get_libdir)/${PN}/ \
|
||||
$(use_enable !fips non-fips) \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,573 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.1.0.ebuild,v 1.1 2014/08/04 06:45:21 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_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=""
|
||||
KEYWORDS=""
|
||||
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 iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD ncurses nls opengl +png pulseaudio python \
|
||||
rbd sasl +seccomp sdl selinux smartcard 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_targets="
|
||||
$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
"
|
||||
IUSE+=" ${use_targets}"
|
||||
|
||||
# Require at least one softmmu or user target.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="|| ( ${use_targets} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
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 )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[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(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[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(+)] )
|
||||
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(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
|
||||
RDEPEND="!static-softmmu? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} )
|
||||
!static-user? ( ${USER_LIB_DEPEND//\[static-libs(+)]} )
|
||||
qemu_softmmu_targets_i386? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.5
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
>=sys-firmware/ipxe-1.0.0_p20130624
|
||||
~sys-firmware/seabios-1.7.5
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
accessibility? ( app-accessibility/brltty )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
gtk? (
|
||||
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] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
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="${RDEPEND}
|
||||
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? ( ${SOFTMMU_LIB_DEPEND} )
|
||||
static-user? ( ${USER_LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
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"
|
||||
|
||||
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=$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)
|
||||
)
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--target-list="${user_targets}"
|
||||
--disable-blobs
|
||||
--disable-bluez
|
||||
--disable-curses
|
||||
--disable-kvm
|
||||
--disable-libiscsi
|
||||
--disable-glusterfs
|
||||
--disable-seccomp
|
||||
--disable-sdl
|
||||
--disable-smartcard-nss
|
||||
--disable-tools
|
||||
--disable-vde
|
||||
--disable-libssh2
|
||||
--disable-libusb
|
||||
)
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--with-system-pixman
|
||||
--target-list="${softmmu_targets}"
|
||||
$(use_enable bluetooth bluez)
|
||||
$(use_enable gtk)
|
||||
$(use_enable sdl)
|
||||
$(use_enable aio linux-aio)
|
||||
$(use_enable accessibility brlapi)
|
||||
$(use_enable caps cap-ng)
|
||||
$(use_enable curl)
|
||||
$(use_enable fdt)
|
||||
$(use_enable glusterfs)
|
||||
$(use_enable iscsi libiscsi)
|
||||
$(use_enable jpeg vnc-jpeg)
|
||||
$(use_enable kernel_linux kvm)
|
||||
$(use_enable ncurses curses)
|
||||
$(use_enable opengl glx)
|
||||
$(use_enable png vnc-png)
|
||||
$(use_enable rbd)
|
||||
$(use_enable sasl vnc-sasl)
|
||||
$(use_enable seccomp)
|
||||
$(use_enable smartcard smartcard-nss)
|
||||
$(use_enable spice)
|
||||
$(use_enable ssh libssh2)
|
||||
$(use_enable tls vnc-tls)
|
||||
$(use_enable tls vnc-ws)
|
||||
$(use_enable usb libusb)
|
||||
$(use_enable usbredir usb-redir)
|
||||
$(use_enable uuid)
|
||||
$(use_enable vde)
|
||||
$(use_enable vhost-net)
|
||||
$(use_enable virtfs)
|
||||
$(use_enable vnc)
|
||||
$(use_enable xattr attr)
|
||||
$(use_enable xen)
|
||||
$(use_enable xen xen-pci-passthrough)
|
||||
$(use_enable xfs xfsctl)
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=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_export_best
|
||||
|
||||
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
|
||||
|
||||
# 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
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
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
|
||||
|
||||
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,12 @@
|
||||
# ChangeLog for dev-db/mysql-cluster
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-cluster/ChangeLog,v 1.1 2014/08/03 21:42:35 robbat2 Exp $
|
||||
|
||||
*mysql-cluster-7.2.17 (03 Aug 2014)
|
||||
*mysql-cluster-7.3.6 (03 Aug 2014)
|
||||
|
||||
03 Aug 2014; Robin H. Johnson <robbat2@gentoo.org> +files/my.cnf-5.5,
|
||||
+metadata.xml, +mysql-cluster-7.2.17.ebuild, +mysql-cluster-7.3.6.ebuild:
|
||||
Bring MySQL-Cluster from the overlay into the tree. Thanks to the great work
|
||||
of Brian Evans <grknight@gentoo.org>. Keywords not ported from other builds,
|
||||
as this contains other code not previously tested on other arches.
|
@ -0,0 +1,7 @@
|
||||
AUX my.cnf-5.5 4909 SHA256 56f5b341a0780a51d90bd51c72a917277606a6379e39a7f20c840447d2b65b68 SHA512 29c4052196af5f193e9fda10f40c696df3de80033c2b63013e40e8186180dbe6f7d3e0737a41c98bb506565ca265900ac640cb44f8bd5d5f42f8a0d3e72b8359 WHIRLPOOL 560881b8db2076199a9fa2fb81abb08373463e56ee9698d583e17f1e4b9a609b135a0854a15aa2ac587e87c83f16a1e7da88682d2e6f86761896a3332d0509c7
|
||||
DIST mysql-cluster-gpl-7.2.17.tar.gz 25882680 SHA256 d5bbf0fa7eda8056d01f564a9f50cba65794eefb07cb3c7b6b8819a86a66927b SHA512 ade82886867d897b23a6487c4efbbecef6842129a2b96df2a6097da73f4715e4e5ec4858f357d1e3f7eab5e1b4dc86bb89cd1ffe560ce17388ce26b06c5abd96 WHIRLPOOL cdf34ba72f971328a5ef10650df4a4ef482bfe6800543835fe5ea818f0fc8e8b57fda9c0608486fcada3590d84413c8e6c68db892ce1b36777c5bdce902e466b
|
||||
DIST mysql-cluster-gpl-7.3.6.tar.gz 42119293 SHA256 7f5405485ce05c88bd907269a75f161826ec92d763b46717a24880c378fd6dd4 SHA512 044a8854f61c7e4cb23343f84bf5c734244bbba8adc12a8a2c72d9febab4c1dbb404a7680aa0315de0df5459433eb578bc04f9ec169f0c2492e13e28aec6729d WHIRLPOOL 49b3eb455bad577d2a2d9d67c2fe78fef15ef184e7b56080d54f0a683f9a6596836108b727ed892a43dc0dc135ee65ab9293ddf0ad5f1587e41d31609090c8b6
|
||||
EBUILD mysql-cluster-7.2.17.ebuild 4294 SHA256 1a7ff6f36a970696b74ccffb56e13bd129c990229922d9f4b01e579efc847add SHA512 77b39d4cf4acdab47bc3149ae7704e4dfb6a744e7ab31a72162b825c2224e5bf94d8d60b4d96749bd6eaa1474993ceca08e5e51010c8f54f188666cba3f90a8f WHIRLPOOL 7c96ff3a9498ddfbb4e22d9804c82709cbcd649beb089798f37ecaf19dd38da294acc9e8b1bfad2a2325d13f6c5a86b319c2004a72fc6ac1c5af06c662a79a47
|
||||
EBUILD mysql-cluster-7.3.6.ebuild 4576 SHA256 211cd1f64b882bba2c3c5973c8520f6b435fadb163a1a65d23f9cd9a424b440d SHA512 a951aece5597287234a4993dae5297508b6b7c955d24db46182c992d46e9b360d910c061c01d495ca1b46ee930a25fbd4e97e4cddcaaeea8c40d7fbce7a511eb WHIRLPOOL 10586655a657e7539a821bdbd1a73fdd51c1092910d956d41b990976b7a5b97faccb4543552460ed729e102cc09cd296fefb07ad08c442bbaf9e03cf286cf296
|
||||
MISC ChangeLog 661 SHA256 84ecb063ddb1e49c7c9713d8522e93fc28b340a31b6fd06f7fbfb7b65644c042 SHA512 b24a8f023784fc72e1791fec6a941b8c9b5f1bca552f4f4cb3c65909fdc3dadd172651e0953767eedc651b46c79a4fb87ad5c4a65c9fd03e79e473b70c074449 WHIRLPOOL 24f91b8db3c3e869e8ba106083ebdabb28920975880d1155b067b5cbc1afa7de2ff73510defbd7696b4b97f0928e970e7b19ae0beac481ca7422e3536ab56c34
|
||||
MISC metadata.xml 1075 SHA256 2e8f6b7bd966203f74776b642bd7d8007b89b3b1903d259a749088f9be6f333e SHA512 f5b5463c19d04ec24e6bb09decbfca589a0f26fb33a47f85854d54621d544963c662282980961fa58094d6078a8c0e387eb35066cb433a26cb3e8ea4365a2700 WHIRLPOOL 135e213130ff15bd48b97494afc14cbce3ce65b0da540be5d29e5260cbfdb8bab8cbb30dfa7749d244115588a2f1c3956ad5bbc818082926e34551a0922cd5f1
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>mysql</herd>
|
||||
<use>
|
||||
<flag name='cluster'>Add support for NDB clustering</flag>
|
||||
<flag name='community'>Enables the community features from upstream.</flag>
|
||||
<flag name='embedded'>Build embedded server (libmysqld)</flag>
|
||||
<flag name='extraengine'>Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)</flag>
|
||||
<flag name="jemalloc">Use <pkg>dev-libs/jemalloc</pkg> for allocations.</flag>
|
||||
<flag name='latin1'>Use LATIN1 encoding instead of UTF8</flag>
|
||||
<flag name='max-idx-128'>Raise the max index per table limit from 64 to 128</flag>
|
||||
<flag name='minimal'>Install client programs only, no server</flag>
|
||||
<flag name='profiling'>Add support for statement profiling (requires USE=community).</flag>
|
||||
<flag name="systemtap">Build support for profiling and tracing using <pkg>dev-util/systemtap</pkg></flag>
|
||||
<flag name='test'>Install upstream testsuites for end use.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-cluster/mysql-cluster-7.2.17.ebuild,v 1.1 2014/08/03 21:42:35 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
MY_EXTRAS_VER="live"
|
||||
BUILD="cmake"
|
||||
|
||||
# PBXT
|
||||
#PBXT_VERSION='1.0.11-6-pre-ga'
|
||||
# XtraDB
|
||||
#PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
|
||||
|
||||
inherit toolchain-funcs java-pkg-opt-2 mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
# This is often broken still
|
||||
EPATCH_EXCLUDE='02040_all_embedded-library-shared-5.1.43.patch '
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="!media-sound/amarok[embedded]"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='cluster extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-cluster-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin, ndb.ndbinfo, ndb_binlog.ndb_binlog_index
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# sys_vars.plugin_dir_basic
|
||||
# fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
|
||||
# instead of MYSQL_LIBDIR/plugin
|
||||
#
|
||||
# main.flush_read_lock_kill
|
||||
# fails because of unknown system variable 'DEBUG_SYNC'
|
||||
#
|
||||
# main.openssl_1
|
||||
# error message changing
|
||||
# -mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: ASN: bad other signature confirmation
|
||||
# +mysqltest: Could not open connection 'default': 2026 SSL connection
|
||||
# error: error:00000001:lib(0):func(0):reason(1)
|
||||
#
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin main.flush_read_lock_kill \
|
||||
sys_vars.plugin_dir_basic main.openssl_1 \
|
||||
ndb.ndbinfo ndb_binlog.ndb_binlog_index ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" \
|
||||
--parallel=auto
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-cluster/mysql-cluster-7.3.6.ebuild,v 1.1 2014/08/03 21:42:35 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
MY_EXTRAS_VER="live"
|
||||
BUILD="cmake"
|
||||
|
||||
# PBXT
|
||||
#PBXT_VERSION='1.0.11-6-pre-ga'
|
||||
# XtraDB
|
||||
#PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
|
||||
|
||||
inherit toolchain-funcs java-pkg-opt-2 mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
# This is often broken still
|
||||
#EPATCH_EXCLUDE='02040_all_embedded-library-shared-5.1.43.patch '
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="!media-sound/amarok[embedded]"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='cluster extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-cluster-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${S}"/mysql-test/var-tests{,/log}
|
||||
|
||||
# These are failing in MySQL 5.5/5.6 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin, funcs_1.is_triggers funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
|
||||
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
|
||||
# mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
|
||||
# perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# main.mysql_tzinfo_to_sql_symlink
|
||||
# fails due to missing mysql_test/std_data/zoneinfo/GMT file from archive
|
||||
#
|
||||
for t in \
|
||||
binlog.binlog_mysqlbinlog_filter \
|
||||
binlog.binlog_statement_insert_delayed \
|
||||
funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql \
|
||||
funcs_1.is_triggers \
|
||||
main.information_schema \
|
||||
main.mysqld--help-notwinfuncs_1.is_triggers \
|
||||
main.mysql_client_test \
|
||||
main.mysql_tzinfo_to_sql_symlink \
|
||||
mysqld--help-notwin \
|
||||
perfschema.binlog_edge_mix \
|
||||
perfschema.binlog_edge_stmt \
|
||||
; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
# ndb.ndbinfo, ndb_binlog.ndb_binlog_index: latin1/utf8
|
||||
for t in \
|
||||
ndb.ndbinfo \
|
||||
ndb_binlog.ndb_binlog_index ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo (NDB)"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" \
|
||||
--parallel=auto
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,46 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX my.cnf 1249 SHA256 29c07ce113496ec62bf9427609f2291861e3e165200d6e98a69bd312c6c101ec SHA512 f3864d5ff209dce0a0ab0ae5d0c20d4564ff491d21681c052a7a9d75f986b22d9c637f7d606ab1d7f923539a9137abaf547ceab4c2334140b76f952ef45d26dc WHIRLPOOL ec41a690119cff9b0f2b6adab148dee82a77e9a56fbabe7619d3aa1a9996261c9ad8a4c33d40294a12d701ef7db9fe40e81ad167566070a61d759ac134f087f7
|
||||
AUX my.cnf-4.0 4324 SHA256 2c9715f29b423207a92e6bc81f1179b152c2d8ff72f69e4af3cda37c114452df SHA512 51c3956b44e54dfc3aa2f1ac0d8aac3fefca1f2a8caa9298c218eff4fd64e33f4a49ea313aafc22d13582af7420edbc35034cec1ee2340f7689cfe49b180a3d5 WHIRLPOOL 839926eb7816ef93ee1bc480b0a2fc354f91db8d3053a8679bc5663fce785a0efa974cb1421c8b6c122d5d5f86f95305eafdeadc80e2c101cced6a6017f08ec7
|
||||
AUX my.cnf-4.1 4235 SHA256 908a4883116e4f323510c468fd22c5765f8a2adce0344859fc212b7209a3a6c7 SHA512 8bb6a8cc05b9aea433f0a0f1184a03b5b99b6a4dd5e162abd173810db8a530de33db80a7ae0018e29879253c752a4b3a4522335a170cb2339a1ead76fd15318b WHIRLPOOL fa5e0f91100e8dd6ed42e095079635dd95ed171d96275340145136c86157805fd1d101b74b49873b6cc05f182ca209d6e981e0d16d4871adf5d24a279469b59b
|
||||
AUX my.cnf-5.1 4827 SHA256 8b11f33d086566d0ca21d46bb21b1020be6e24511038f3f12e146089a1d406c7 SHA512 5facc6fe5b6a4bf9e4ac9430d1c2a8195e7a859fb66d84cf4adebf2a9f4e3f422c5fc143beb5d8f327d9191200e654b636a564b6e082cc9cbac39cfb6516a086 WHIRLPOOL 185cb121d3ca0c5c249cfa58377e029a7dd4934de2bd240943cddb9d3c10116a3c3d90959bf8872d5f69627f8b2adf7fd001aa40947713a42bd13df7f733f068
|
||||
AUX my.cnf-5.5 4905 SHA256 952c0c7429f3c85355ef94cfbd02a905bdace248e1131ed3d94d8c7aad76d39d SHA512 9ae23c0bebceea7e2874fb080d0da57707f362a5f6bd685ff6e8fa70f1f775e52b43dd058cae5c55eee04806e01794bc474684e4a1c68f9609a68e4417678b68 WHIRLPOOL 1c1eef2aa5b7445e0920d4f4579d225b8c6aab5851b0ed8553442ccb4682229bf615b8c974c69433b76879356effcc88439a36d016a9e826df20cc7b2111ce0c
|
||||
AUX mysql-5.5.32-Werror.patch 620 SHA256 bb2cf6f5b1546a310a64d94e80e0583354c7223fd223169280f00268dde1410b SHA512 a1fdc9619e6d6d6cb708946ef7951854f6d8e481d4eb9d47495c1a9114cd835bc34f50815fcf93ede8c055b2cd5c28454c610f94263c8745f9e26f69de85c925 WHIRLPOOL aa27642e499d4dcc611c5b9caf591c3fa5b3b9e0558660b4a3adea7e18e0fb6c7bfab8684be18bd17d42b4ec01a1aa747a61f26730370c813f500d870c8d3640
|
||||
AUX mysql.init 886 SHA256 2d7faf6d88fd13e5c10368a20074fdb59554635f8b1fd17e088d82208e611c12 SHA512 4400e6e993fc9bb69efdb06e8dd2eaacd16a361d290031c38347a3dc1f912867bc3f0f62fe2d61e09671801a2355bf896bf22360e209e8044877ca976f4e0611 WHIRLPOOL 43a656123c687571158edc94363e9dfd742e4ef29f92551e7bba56ff9782795b75ae62fab1f659fc3d21bc6debab689c39269c0a5bfd28b6652162d38ae9dd5a
|
||||
DIST mysql-4.0.27.tar.gz 11152643 SHA256 c79f83bed7c1ea98e018b8829375b55c1de838d21a526d7f679becc75de00d0f SHA512 188283133e99e1c0b52ac8650aff325d7c9762fbad526c2c67b26dd614f2a86afb247a3f55ff071be1d44cd13060b9d7cca08ba1d758a04d2369381fa104454e WHIRLPOOL d3964468635eae0caf7fc8fb7b3576da12d49264bd9b797bb2191da8c6b91ca46321fb090e994df2b93b43f50686dcc4f735bdff03b49a3176fa746d5c4a60ab
|
||||
DIST mysql-4.1.22.tar.gz 17761101 SHA256 6bd2436fd0f233bb1518e15975cb4e9fa4434acb53c3c3cd7d4648219abf58e9 SHA512 9de1c2b27cf428a10f67a6217fc2783b638beb6345e2127a4163ceb286073886d223de861c40be0ab36ea78ec5f33ccd5ee457d1e35e67b081d629118b68d390 WHIRLPOOL b40ca2e0d07fc0bd504e57b7eb005d36cf842bb668e93722c723bcc5a797dc9b456ee8971ea99bfc2b9119a2e19ee599f8441eb4601709eb4238196a27319257
|
||||
DIST mysql-5.0.96.tar.gz 22686667 SHA256 43853814775158aa1650f483530a7dde153957579e3349e3ec780b89d741fc84 SHA512 2e3b4ac221c1c1c11618dc79067a7feff680380fcea435813287b02cb0dff45fb5a32a4393c53cf13165f6efc99dbf347a9388ad364cfdf2e392760a310aa5a9 WHIRLPOOL 3e167e4ff4c56095fbdee55b7e619c9b7ad2120eb72c9a58fe77a023ab6e7498c74e2053876e61687d7812f9ff7022303728ddda49732e7569035684263d2517
|
||||
DIST mysql-5.1.70.tar.gz 23984241 SHA256 9e03a343cf1b72b07f9c9bf7be24ffc808aa5c1a9daa590aaf2bc6a7a31f60ed SHA512 5d667af9e819bca85ff4d471cbb2792f47129146822a14cc93abb3f80a6fc6453ef06fc3dece091979003906d76002c1e680b3516747d29f5282827ec87a00e3 WHIRLPOOL 58dedd3b72621b339525338db717c399f04293bee5525856f2a275473f9730b3eafffcc3c29425047e4378ca519cb4da217a269269b0b43ad38178ce1e46f21d
|
||||
DIST mysql-5.1.73.tar.gz 24023347 SHA256 05ebe21305408b24407d14b77607a3e5ffa3c300e03f1359d3066f301989dcb5 SHA512 2e3651ebc1370dad7e01158cdd99133ed3f90c985114766b6282d58b743ae7bce16db797e82819fa5bbc2fa53d89811fd76b278c7459338288e7957634a8c3ff WHIRLPOOL f47c3fe1cd98b8ca2163646c760bd9763c65eab0591b31fe30a8c55c72c8b10d7b549b394493695cf98f50999364409ef8158661141277e6d99b011835aef942
|
||||
DIST mysql-5.5.39.tar.gz 21713567 SHA256 1893a00b034da6ff4159b81348388dc65eca6c3ae12962bd446e9b3d105b4862 SHA512 1da29663720d94cc5cf5d76f7bc1534c638ed66f78533f9eac167575acd772498d409b931a9dffd7f863a0c2e4659fc4d4687ae363ca427ad49b8558c8747aa8 WHIRLPOOL be884564757bfe579cdd39161732d42abe041102162d2edd6c441214df2f3928a3e58d8e9acd7d06b96cb59be0fa28e05d8ae7cab0a6de4779ae9c79912f4d59
|
||||
DIST mysql-5.6.20.tar.gz 32979820 SHA256 4fc33b1a3ddb75fbc1cc30d0aba1af3d94c4fbe608048d46e34f39a8281a064d SHA512 c4bcc2a209616a38c04a4679cc7a76b354f0d7d3dda860b82b9cdb4746f897aa5c8204a440e1c65f55d81b2ac526b205dd0ba28786ba21778cc068efd71403ac WHIRLPOOL 09cd264b098401cdde9e57fd1dcf90387cb6e5f24b874c220914c6afcc4f03bccec9cb4e83a9694e740ac0ea4e5cf37297fab60fdf4d6342df71b7e4f75590f8
|
||||
DIST mysql-extras-20070105.tar.bz2 50005 SHA256 17697bf70acffd0eeefd976b5ef06dd36080273bf7e805b51a31d72f5f2c5172 SHA512 65e8fd1f9cc71083dbcfaffc331171e0d7deedbd784e416a4b629139f71cc102a84fa62c2d9e48310a18571ef7f06153911ee75c5d7bb6ba88807c287e7cbf34 WHIRLPOOL 3f858fbed6f57ffac863c29bef09a658e3d9f57cf4c6b5c62537973ae44f217344a8592ad311b14b1e7e8d475434b3c69339a8d2873c498ba712ff6f5e128cec
|
||||
DIST mysql-extras-20090228-2228Z.tar.bz2 254048 SHA256 03a986a5c5ae57f1436553565239613e978ae11e12834fcb275ec6457b12b6fb SHA512 b347c0894d45cff2c10e26c12d7586c335811b607cd760b48e51743e74c55ace820d2d50fac2ce72543c14b9b4d15afce336bd956ea8a820df4a651f23e3b79f WHIRLPOOL 4d89a44791ec7e95baa3822bb62a3638c86d24bcfc777b9ff5a8d26020e7401159a3c03ebda9907fcbf02589b80726f2daa5bf2498d8e6e6e33540edf9b1d551
|
||||
DIST mysql-extras-20120401-2131Z.tar.bz2 1835097 SHA256 95e531799ed267c566da8b0759da78d0351d6004c7c8a45018054e287a989495 SHA512 0625e1f06e04c7841256955950dd7766a5f03d4ade2aee3c13335f08acff374933ed1fd7ddea214eaaa3531d7373ef094734f5c00530555347f058f5ec4d9d36 WHIRLPOOL f2c6e9387b38b609d3bfea83c6983c456d30a9dcf95c256a44402d4c63fa22543d55d6afa9b8dbf4238dcadf32fac3daec5031d50c8a4acf7a074d04fbede213
|
||||
DIST mysql-extras-20130626-0127Z.tar.bz2 1476503 SHA256 a3c791b7b95fe170c4071feed11699146fc8f9de6a9f2ffa67214c2e50644b4f SHA512 4ee19cb5960ba24f2db16e7c5b647d1b7bb9fadbc73bbd8125bbac7e926c569a9a585a4d1d92b851ea6653d9c15eeb00f1592880f104520dc040e5af19943ac7 WHIRLPOOL 739f5762fa24b0feb40848ddb83f2ed95fb650933920b3d9e55c5e90f907d4ac74dfb00e4b9189cda8f9af4317478f3132daf789d7c91196827f645dd3e37d61
|
||||
DIST mysql-extras-20140514-0124Z.tar.bz2 1493742 SHA256 0cdda9f8587532375274510a8a1f8fe5e80f10cfdf851a01074109803f7ee4cf SHA512 7a798809809b35a515a3475be5f1a96547d495592c83c4cf5c79fb07ceb45a04000da8922d051004c0f2d944f92ca47b75ad08d06a8dccca2ae9f94778d31a7e WHIRLPOOL 371446d80cd9fa22a28eeecde8d18c9c3ca76db9bc57a4ab2073ed0fc1d19a70a06a33cb92257a671849e4bad8bfb9f235272ee1221c7c21ce5f45bc900a59cc
|
||||
DIST mysql-extras-20140801-1950Z.tar.bz2 1494288 SHA256 a656486a7383d656ed33e279f41bb4384feba082cad3af48376ce9e1f395fe0b SHA512 b2c29c3d7c1ddacfa170125c9df0aaf65eac9f6112244b1deea97a46a3a2f2bd3eb069808e7b2ee3261d609b32046363830ba4ebcc7e74f449189a91145a6f9c WHIRLPOOL 41befc03a7382516849ecaecc1d02be7d00c47be489b97ce68c320c3aa8979c8f941525efe230d97ad2d1a85936a1e4d6c93d96a3f45930991a938e5f0fdab87
|
||||
DIST pbxt-1.0.11-6-pre-ga.tar.gz 3156307 SHA256 71ff3d86e9e5691f3efe541bf31f55a7ec2a88af27df6ad853b65902e00e6d12 SHA512 fa238303f06e0a9adfb10bd5a2e1d2e4850d2c17a350af3874cbff099d6e47b7c555d750c584d06a3ca87c1eb1e9301a9619d8d9a4cffb7fd0169b2b3a63c80c WHIRLPOOL 05cdd39f6f5dafff2def0062a00a24eff6cf6d8754f622b133365cef47cd6b828df5500ac407359d0793a75dd239ec1e49a13d2400a01ddf8b4cef7466e86962
|
||||
DIST percona-xtradb-1.0.6-10.tar.gz 1676716 SHA256 e3aa818f13cf669412e59ad194eae8eada7a857bf7a4260e4bb41cab4d7ae39c SHA512 72e4b656b22a0420e6f5935dc28060e5c50fbeb48c6d1ae430579d9ccef8042fdd4dde128cc977b903de6221f7021e8c87ea29fe6a8a8c74edb84bf54ab889f3 WHIRLPOOL a916879be315498da27c60992efa4d19e91305b81242925e161547f3fb97a820256e1d07863e9e007ef843af54cd087ce5ac47d5ed1b70862da6cd5a9d81eccf
|
||||
EBUILD mysql-4.0.27-r1.ebuild 1105 SHA256 eed1ba3bb284d74483c521b410cb2f165db846eb6f6f0f7bb5218dd8e7cad2ce SHA512 2175d66db93d8745d410ca5ec0fbc803dce648f80e8f57d5d1b9ba78ee1fbe5dc5fb4f150e49ffe50f1215f7d0e6c4e3dac515097dac0e659413e3cc39276d89 WHIRLPOOL b932b28dd6dbe96016f86b4e3f6fbbc5197e97fc5a8bb934bbaed2c7a6f418b7970f76b1682b6c1d97e6133a2d179d2062b2f5b911d4caade763ae188f11556e
|
||||
EBUILD mysql-4.1.22-r1.ebuild 1343 SHA256 237e821bc7b47d259635f42255e80bc1e6f411341ada6b9014b6443d8ef52f08 SHA512 f66d21e221e9dcc2f7558f360b6d44bbe72c547dec3c1b164e7313e779268c5f11eb51807d6707298dc2547df4dc455174ceb21fe4f6bf6e6f02b377c62940cb WHIRLPOOL 6fdaa7a771dbcf52b2e39470c580f6c887e30a9df01e4f550cdd665b1762095dd37d52ece783c6b25511a57cdb555926399a25cc333a0a53e5ad1f0b162d4afb
|
||||
EBUILD mysql-5.0.96.ebuild 7175 SHA256 307fd3e2426b42d05b6793c9f0b90be12387fd5434abcc9b8caca84adcf275a0 SHA512 e7d71bb91dd953ec013d5b10379f97fe649c0a4c678ddead7120660349b8dfb8b7f2ebedb45ca17ec6b522ca5c8ece34cd8e0ec6a66fdb8faf076e5074e1e3cd WHIRLPOOL c9a06e4d0d52af5cbdc2cc56e1003564de4281ada0b951f7c9d2f93b64cecba1a6c48405308ef4b0a646099f0bc3ad3e10ba86a38e7d84519ef223a8927352c1
|
||||
EBUILD mysql-5.1.70.ebuild 8874 SHA256 abd74f2cf58e5c8d4544c2dee89c8b30174b038aba91f3b45138cc299d8013b7 SHA512 303ee2ff791852dcab8d72a73e06b7f5e1fe0bd48b6e71730013c601eba412cebacb09cc76d06075f4e63b0eae80947a2bf9eb42da24d412b5c66d69d9aeb4c4 WHIRLPOOL 20d542a938589b3fefc738e64f5d9f9596faa1f1dad0175b144adc096d7354390eb6c4aed873dec9687e08483cba47fac56c786829c2ffbbb22e04ecea2b867a
|
||||
EBUILD mysql-5.1.73-r1.ebuild 8892 SHA256 a3f57db069a9d7eab793820178c0367ddeb912b604560db3a55553c9787cf230 SHA512 ebf6f4f196362b7623c6ee9b336e23ca94a67a32da4f389e4f49c9f44c1dc2b1c6e482de90e3afe1cfbf1edbcfbba02331ea4506cc5bc66fc2fed2624b9defd8 WHIRLPOOL c917e39875832571fdcdd5c37c58548c4bc25434b313b0dcbe569d0551b265ec3d2cf1811fbcbbac62213faa1de4855284769a2add53dc889e6998e76464e736
|
||||
EBUILD mysql-5.5.39.ebuild 4625 SHA256 8b9f8261588ebb7ae0ca1178619866ec0d2a2e605d24189635486902ef69ddb5 SHA512 ac88bf2c3838bdaaf600110af3d2a863417074ed7833853a960ee30925245b3914e89f1857bb9cd00c998224085a1e4b426229a12a13bbe32be9f6aaaea1e075 WHIRLPOOL 098c624f7d816eb3a1463c5728510d045f9ac8b164990a31e46c2c16bd4b66afeaec6b0a3125f3cf25cd37af1b8ba16abd7c3f3b218aa96a07f957526ec20d2a
|
||||
EBUILD mysql-5.6.20.ebuild 4537 SHA256 2e6dd6765d8cd6a2a6542cb2dd84e5c08aaebee90437fbd2964c53662ebaf21a SHA512 23cbe93b1ada7b81c7ac71d3e64c584747af63dbe1e88e7be6f7cab886096b277efa119abda08a758f8fa3d3b0873d0843f60cd18484e6f70b09c42e7fbf8d7c WHIRLPOOL d261eff9f3d1ada9f225d4d2a4f9591ec40c6ec81510cc1f81b08e727532ff5982fcb4996a6f15674032dd2a8abd6d485d0e3db57a0ed9cd10c67d3c7aa96d1d
|
||||
MISC ChangeLog 18050 SHA256 ed4e5f1a1b1c7b9e09994bceefd5002fb195f7c95b8684efe1eae4fd41efc39c SHA512 d44d631e6eebd35e9d45091ffafca9bfc0f28b1fead7330cc5583278a588a6de16211394b728e4cf67f68156fa513b058bae34076bb0776738ad9c6a39c789d7 WHIRLPOOL 351929988da943dbdc7c05f9a4dfb62403bba816cc4deee5f722de5f2638486b3f6deec00c09e1fd735cfaa9e57965f0f8336ae098d6ea3f614b32d15d5b6169
|
||||
EBUILD mysql-5.6.20.ebuild 4870 SHA256 3f648054cc738d223de0049f263040d9dd8fa0c57dba91059897cf8320686543 SHA512 841dde413652326c55c32581b4b94703f598e259e148b50767f2bff3c317650d757e4377c9e051e1ed324df01b6360916df9a84e1d39dd57a2d4e060baed55e1 WHIRLPOOL 88274cfd5530cc204304715e71b58503895655b6b201028d517cb89341a78fb3624c1b30cbf5db73ca18126ce1089db654c1950214416e4a397d34d3fabd41e6
|
||||
MISC ChangeLog 18510 SHA256 46aa80fb702e94ee912c70444f5e7e7089f2aa00f3a882b87ad3d9a849f2d007 SHA512 d2a85b8b4363c8fa46032ad8ffda128fff5a196ef30a24a3f264996307b386753464eb7fa3ab0b31c5966e90913d89eb94e1c6c4d5be7b8c058f8d49bfe03f66 WHIRLPOOL b0f2ca1a7c999c083e6cc29173b45ef296909853cf60431634fdc55dea79a82a88b8b23580b5b906fe47f9c86eee074c64f2cf994c06ca14aa7324e2ea6d321a
|
||||
MISC ChangeLog-2010 108404 SHA256 93dda53b8871d9040e6aebb59f095a8debd5c0a9437e78e5e949989e209ba5cd SHA512 5f54b7c2e25d27680a9313da2450851118e34a57202d9f36f59da52834ca3b587701d93868d71bf684ddc253d49f87837c8d7e2d442f2955dfde8a701150fbe5 WHIRLPOOL 55f758942e3012aa0ae7d529c2f8b6e0d8f4d7cbde09039f16cd05f0a58fc4e3e09ccd50e366effdcaab4641300eb0f494ddbe3a35a645ced8a9d747d80e9821
|
||||
MISC metadata.xml 1512 SHA256 2aa7aa3c625242463dcc8fbd52f0c33558507f375dd64c80412372e5d8456b70 SHA512 b9a09711b821ce7a962dcb23a4e249bfa83fd5605a45bc9416e4721a643e8fc740df4e22a7aba8d7245612361f6f3d779647f32c9469662fc2a2598030a2499e WHIRLPOOL 9d553da0a5501afbb99566ba46664f50e871e90a6ae839626f2aea9b7f28e9eadd1b8360483bed9a397082f59518009d1f70fef128399370c4bb1d6e85c2b5dd
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJT3C+VAAoJEE4V4vFnx44d+/8IAJmHDlJ8aARq7BKz6n79RR25
|
||||
GyMfx6TYlWwXZ6Yzr8deVWnSDiPH7G0ZlRsMwVGelEMm881qOJ8kuc5VF3r0D11x
|
||||
0X2jj6OMFEZ4krhgKUiszM1WZ5Hr+zE/Ei+MWzRR8fBN1hy3AE5pThwTup7ffjZk
|
||||
2pNMlodUdiTDxXWAmmTvifXKJq21xVPpf8aDIQZB4YZMLGfEbqkrOjtfdo+ED6vX
|
||||
pkfqGF6j5Lau8BUbMI+YfySu1Z4wsxgz34YRYC2zOmXfVm1L6QweeA7O7CNECKkh
|
||||
3D3Yp3rbv9TgPEfwKX0qv+EAORBghNZH4QlN6l/XsJ/lcwFa6YU2V8Dt0aFeaaI=
|
||||
=S+O6
|
||||
-----END PGP SIGNATURE-----
|
||||
MISC metadata.xml 1440 SHA256 57b1430c744bb21c4f99b885b92c1ca27efec6757e06f51bc043e25737a226b5 SHA512 0a8f4cc67b3dee66b95c16edcb0c1dd70b95b199f7cd46ba4b509a9f52dbb7d45ed2da4280ed8ba93d96521f66fc80d486de91f0a23ff3e0baee48795e5151fa WHIRLPOOL d747dccd7d8ae91fd60c5c074a3d1f0ab64a96f8ec09658a36e42546d17cbd9644de45527ed1bc6babeb7329c666ecc01cea7283dc4640268ed5cd2ca045172b
|
||||
|
@ -1,48 +0,0 @@
|
||||
# /etc/mysql/my.cnf: The global mysql configuration file.
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/my.cnf,v 1.5 2008/11/14 01:49:37 robbat2 Exp $
|
||||
#
|
||||
# This file can be simultaneously placed in three places:
|
||||
# 1. /etc/mysql/my.cnf to set global options.
|
||||
# 2. /var/lib/mysql/my.cnf to set server-specific options.
|
||||
# 3. ~/.my.cnf to set user-specific options.
|
||||
#
|
||||
# One can use all long options that the program supports.
|
||||
# Run the program with --help to get a list of them.
|
||||
#
|
||||
# The following values assume you have at least 32M RAM!
|
||||
|
||||
[client]
|
||||
#password = my_password
|
||||
port = 3306
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
|
||||
[safe_mysqld]
|
||||
err-log = /var/log/mysql/mysql.err
|
||||
|
||||
[mysqld]
|
||||
#skip-networking
|
||||
skip-innodb
|
||||
innodb_file_per_table
|
||||
user = mysql
|
||||
pid-file = /var/run/mysqld/mysqld.pid
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
port = 3306
|
||||
log = /var/log/mysql/mysql.log
|
||||
basedir = /usr
|
||||
datadir = /var/lib/mysql
|
||||
tmpdir = /tmp
|
||||
language = /usr/share/mysql/english
|
||||
skip-locking
|
||||
set-variable = key_buffer=16M
|
||||
set-variable = max_allowed_packet=1M
|
||||
set-variable = thread_stack=128K
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
set-variable = max_allowed_packet=1M
|
||||
|
||||
[mysql]
|
||||
#no-auto-rehash # faster start of mysql but no tab completition
|
||||
|
||||
[isamchk]
|
||||
set-variable = key_buffer=16M
|
@ -1,113 +0,0 @@
|
||||
# /etc/mysql/my.cnf: The global mysql configuration file.
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/my.cnf-4.0,v 1.3 2012/02/02 03:12:02 robbat2 Exp $
|
||||
#
|
||||
# This file can be simultaneously placed in three places:
|
||||
# 1. /etc/mysql/my.cnf to set global options.
|
||||
# 2. /var/lib/mysql/my.cnf to set server-specific options.
|
||||
# 3. ~/.my.cnf to set user-specific options.
|
||||
#
|
||||
# One can use all long options that the program supports.
|
||||
# Run the program with --help to get a list of them.
|
||||
#
|
||||
# The following values assume you have at least 64M RAM!
|
||||
|
||||
[client]
|
||||
#password = my_password
|
||||
port = 3306
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
|
||||
[safe_mysqld]
|
||||
err-log = /var/log/mysql/mysql.err
|
||||
|
||||
[mysqld]
|
||||
user = mysql
|
||||
pid-file = /var/run/mysqld/mysqld.pid
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
log-error = /var/log/mysql/mysqld.err
|
||||
# If set, mysql logs all queries (general query log). This will be deprecated in
|
||||
# MySQL 5.0. This logs all queries, even error queries and is slow.
|
||||
# log = /var/log/mysql/mysql.log
|
||||
#
|
||||
# If you really need logging, you'd rather use binary logging. Especially when doing
|
||||
# replication. Read file:/usr/share/doc/mysql-*/manual.html.gz#Replication for info.
|
||||
# You can use PURGE MASTER LOGS TO '$hostname-bin.010' to get rid of old logs
|
||||
# from $hostname-bin.01 up to $hostname-bin.09 while the slave server is
|
||||
# running.
|
||||
# Before doing that, check which logfile slave curently uses by running
|
||||
# mysql> SHOW SLAVE STATUS
|
||||
# To list logfiles on master do:
|
||||
# mysql> SHOW MASTER LOGS
|
||||
# Then use PURGE for those not needed anymore only! Never remove the files
|
||||
# manually!
|
||||
#
|
||||
# Also consult RESET MASTER and RESET SLAVE commands before doing any changes
|
||||
# mysql> RESET MASTER - Deletes all binary logs listed in the index
|
||||
# file, resetting the binlog index file to be empty.
|
||||
# mysql> RESET SLAVE - Makes the slave forget its replication position in
|
||||
# the master logs.
|
||||
# mysql> SET SQL_LOG_BIN=0 - this turns off logging (execute on MASTER only)
|
||||
# mysql> SET SQL_LOG_BIN=1 - this turns on logging (execute on MASTER only)
|
||||
#
|
||||
# log-bin
|
||||
# set-variable = binlog-do-db=non_existant
|
||||
# set-variable = binlog-ignore-db=database_name
|
||||
#
|
||||
# server-id has to unique for each master or slave in your network,
|
||||
# lets use the last number from IP address
|
||||
# server-id = 207
|
||||
basedir = /usr
|
||||
datadir = /var/lib/mysql
|
||||
tmpdir = /tmp
|
||||
language = /usr/share/mysql/english
|
||||
skip-locking
|
||||
set-variable = key_buffer=16M
|
||||
set-variable = max_allowed_packet=1M
|
||||
set-variable = thread_stack=128K
|
||||
# be secure by default!
|
||||
bind-address = 127.0.0.1
|
||||
port = 3306
|
||||
# this can make it even more secure:
|
||||
#skip-networking
|
||||
#
|
||||
# the following is the InnoDB configuration
|
||||
# if you wish to disable innodb instead
|
||||
# uncomment just the next line
|
||||
#skip-innodb
|
||||
#
|
||||
# the rest of the innodb config follows:
|
||||
# don't eat too much memory, we're trying to be safe on 64Mb boxes
|
||||
# you might want to bump this up a bit on boxes with more RAM
|
||||
set-variable = innodb_buffer_pool_size=32M
|
||||
# this is the default, increase it if you have lots of tables
|
||||
set-variable = innodb_additional_mem_pool_size=1M
|
||||
#
|
||||
# i'd like to use /var/lib/mysql/innodb, but that is seen as a database :-(
|
||||
# and upstream wants things to be under /var/lib/mysql/, so that's the route
|
||||
# we have to take for the moment
|
||||
innodb_data_home_dir = /var/lib/mysql/
|
||||
innodb_log_arch_dir = /var/lib/mysql/
|
||||
innodb_log_group_home_dir = /var/lib/mysql/
|
||||
# you may wish to change this size to be more suitable for your system
|
||||
# the max is there to avoid run-away growth on your machine
|
||||
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
|
||||
# we keep this at around 25% of of innodb_buffer_pool_size
|
||||
# sensible values range from 1MB to (1/innodb_log_files_in_group*innodb_buffer_pool_size)
|
||||
set-variable = innodb_log_file_size=8M
|
||||
# this is the default, increase it if you have very large transactions going on
|
||||
set-variable = innodb_log_buffer_size=1M
|
||||
# this is the default and won't hurt you
|
||||
# you shouldn't need to tweak it
|
||||
set-variable = innodb_log_files_in_group=2
|
||||
# see the innodb config docs, the other options are not always safe
|
||||
innodb_flush_log_at_trx_commit = 1
|
||||
loose-innodb_file_per_table=1
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
set-variable = max_allowed_packet=16M
|
||||
|
||||
[mysql]
|
||||
#no-auto-rehash # faster start of mysql but no tab completion
|
||||
|
||||
[isamchk]
|
||||
set-variable = key_buffer=16M
|
@ -1,37 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/mysql.init,v 1.7 2004/07/14 21:41:15 agriffis Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -f /etc/mysql/my.cnf ] ; then
|
||||
eerror "No /etc/mysql/my.cnf file exists!"
|
||||
fi
|
||||
|
||||
dir=`my_print_defaults mysqld | grep -- --datadir | sed -e "s|^.*=\(.*\)|\1|"`
|
||||
|
||||
if [ ! -d $dir/mysql ] ; then
|
||||
eerror "You dont appear to have the mysql database installed yet."
|
||||
eerror "Please run /usr/bin/mysql_install_db to have this done..."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting mysqld"
|
||||
/usr/bin/safe_mysqld >/dev/null 2>&1 &
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop () {
|
||||
ebegin "Stopping mysqld"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile=/var/run/mysqld/mysqld.pid --retry 20
|
||||
eend $?
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-4.0.27-r1.ebuild,v 1.6 2008/12/14 20:17:13 klausman Exp $
|
||||
|
||||
MY_EXTRAS_VER="20070105"
|
||||
SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
|
||||
|
||||
inherit mysql
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
make check || die "make check failed"
|
||||
if ! use "minimal" ; then
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
local retstatus
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
cd mysql-test
|
||||
sed -i -e "s|PORT=3306|PORT=3307|g" mysql-test-run
|
||||
./mysql-test-run
|
||||
retstatus=$?
|
||||
|
||||
# Just to be sure ;)
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
[[ $retstatus -eq 0 ]] || die "make test failed"
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-4.1.22-r1.ebuild,v 1.8 2011/07/08 10:05:34 ssuominen Exp $
|
||||
|
||||
MY_EXTRAS_VER="20090228-2228Z"
|
||||
SERVER_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
|
||||
|
||||
inherit mysql
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
|
||||
src_test() {
|
||||
einfo ">>> Test phase [check]: ${CATEGORY}/${PF}"
|
||||
make check || die "make check failed"
|
||||
if ! use "minimal" ; then
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
local retstatus
|
||||
local testopts="--force"
|
||||
|
||||
# sandbox makes ndbd zombie
|
||||
has "sandbox" ${FEATURES} && testopts="${testopts} --skip-ndb"
|
||||
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
cd mysql-test
|
||||
sed -i -e "s|3306|3307|g" mysql-test-run.pl
|
||||
|
||||
# from Makefile.am:
|
||||
retstatus=1
|
||||
./mysql-test-run.pl ${testopts} \
|
||||
&& ./mysql-test-run.pl ${testopts} --ps-protocol \
|
||||
&& retstatus=0
|
||||
|
||||
# Just to be sure ;)
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
[[ $retstatus -eq 0 ]] || die "test failed"
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,213 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.96.ebuild,v 1.4 2013/01/20 01:49:23 robbat2 Exp $
|
||||
|
||||
EAPI="4"
|
||||
MY_EXTRAS_VER="20120401-2131Z"
|
||||
|
||||
inherit toolchain-funcs mysql
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND=""
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
emake check || die "make check failed"
|
||||
if ! use "minimal" ; then
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
cd "${S}"
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
local retstatus_ns
|
||||
local retstatus_ps
|
||||
local t
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
|
||||
# archive_gis really sucks a lot, but it's only relevant for the
|
||||
# USE=extraengines case
|
||||
case ${PV} in
|
||||
5.0.42)
|
||||
mysql_disable_test "archive_gis" "Totally broken in 5.0.42"
|
||||
;;
|
||||
|
||||
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
|
||||
[ "$(tc-endian)" == "big" ] && \
|
||||
mysql_disable_test \
|
||||
"archive_gis" \
|
||||
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
|
||||
;;
|
||||
esac
|
||||
|
||||
# This was a slight testcase breakage when the read_only security issue
|
||||
# was fixed.
|
||||
case ${PV} in
|
||||
5.0.54|5.0.51*)
|
||||
mysql_disable_test \
|
||||
"read_only" \
|
||||
"Broken in 5.0.51-54, output in wrong order"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Ditto to read_only
|
||||
[ "${PV}" == "5.0.51a" ] && \
|
||||
mysql_disable_test \
|
||||
"view" \
|
||||
"Broken in 5.0.51, output in wrong order"
|
||||
|
||||
# x86-specific, OOM issue with some subselects on low memory servers
|
||||
[ "${PV}" == "5.0.54" ] && \
|
||||
[ "${ARCH/x86}" != "${ARCH}" ] && \
|
||||
mysql_disable_test \
|
||||
"subselect" \
|
||||
"Testcase needs tuning on x86 for oom condition"
|
||||
|
||||
# Broke with the YaSSL security issue that didn't affect Gentoo.
|
||||
[ "${PV}" == "5.0.56" ] && \
|
||||
for t in openssl_1 rpl_openssl rpl_ssl ssl \
|
||||
ssl_8k_key ssl_compress ssl_connect ; do \
|
||||
mysql_disable_test \
|
||||
"$t" \
|
||||
"OpenSSL tests broken on 5.0.56"
|
||||
done
|
||||
|
||||
# New test was broken in first time
|
||||
# Upstream bug 41066
|
||||
# http://bugs.mysql.com/bug.php?id=41066
|
||||
[ "${PV}" == "5.0.72" ] && \
|
||||
mysql_disable_test \
|
||||
"status2" \
|
||||
"Broken in 5.0.72, new test is broken, upstream bug #41066"
|
||||
|
||||
# The entire 5.0 series has pre-generated SSL certificates, they have
|
||||
# mostly expired now. ${S}/mysql-tests/std-data/*.pem
|
||||
# The certs really SHOULD be generated for the tests, so that they are
|
||||
# not expiring like this. We cannot do so ourselves as the tests look
|
||||
# closely as the cert path data, and we do not have the CA key to regen
|
||||
# ourselves. Alternatively, upstream should generate them with at least
|
||||
# 50-year validity.
|
||||
#
|
||||
# Known expiry points:
|
||||
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
|
||||
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
|
||||
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
|
||||
#
|
||||
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be
|
||||
# expired/invalid.
|
||||
case ${PV} in
|
||||
5.0.*|5.1.*)
|
||||
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
|
||||
ssl_compress ssl_connect ; do \
|
||||
mysql_disable_test \
|
||||
"$t" \
|
||||
"These OpenSSL tests break due to expired certificates"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# These are also failing in MySQL 5.0 for now, and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.mysql_comment, main.mysql_upgrade:
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
case ${PV} in
|
||||
5.0.*)
|
||||
for t in main.mysql_client_test main.mysql_comments main.mysql_upgrade; do
|
||||
mysql_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
use profiling && use community \
|
||||
|| mysql_disable_test main.profiling \
|
||||
"Profiling test needs profiling support"
|
||||
|
||||
if [ "${PN}" == "mariadb" ]; then
|
||||
for t in \
|
||||
parts.part_supported_sql_func_ndb \
|
||||
parts.partition_auto_increment_ndb ; do
|
||||
mysql_disable_test $t "ndb not supported in mariadb"
|
||||
done
|
||||
fi
|
||||
|
||||
case $PV in
|
||||
5.0.91)
|
||||
for t in archive archive_gis archive-big \
|
||||
federated_archive mysqldump-max \
|
||||
; do
|
||||
mysql_disable_test $t "Broken in $PV"
|
||||
done
|
||||
;;
|
||||
5.0.96)
|
||||
for t in \
|
||||
client_xml compress connect ctype_recoding drop \
|
||||
federated grant information_schema \
|
||||
information_schema_db innodb lowercase_table \
|
||||
lowercase_utf8 mysql-bug41486 mysql-bug45236 mysql \
|
||||
mysqlcheck mysqldump-max mysqldump mysqldump_restore \
|
||||
mysqlshow ps ps_1general rename rpl000009 rpl_ddl \
|
||||
rpl_delete_all rpl_drop_db rpl_dual_pos_advance \
|
||||
rpl_error_ignored_table rpl_filter_tables_not_exist \
|
||||
rpl_replicate_do rpl_trigger_not_windows select \
|
||||
show_check sp system_mysql_db system_mysql_db_fix30020 \
|
||||
system_mysql_db_fix40123 view \
|
||||
; do
|
||||
mysql_disable_test $t "Broken in $PV"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
||||
# create directories because mysqladmin might make out of order
|
||||
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
|
||||
|
||||
# We run the test protocols seperately
|
||||
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
|
||||
retstatus_ns=$?
|
||||
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
|
||||
retstatus_ps=$?
|
||||
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
failures=""
|
||||
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
|
||||
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,6 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST Apache-AuthTicket-0.90.tar.gz 24616 SHA256 93314e5974e286e888bacb12b095c0153ee92f0be16d662d5bf390e7a8abfed6 SHA512 b14e8bc867edcf459d5e9d969bebddfaeeef66eb28a99690d7bc1708da52ecfecccca6da7964073993def9ec9e9b850787962b1a769df51544ae8bc6e4b2c470 WHIRLPOOL 4f513455c84e754e55f701a49a09a102ad8b4ecf0d0708ace648f23ef0d7080e34c4751604c88b9b19944cf9cb41601c81386f82ead5fae380e3627aff4865db
|
||||
DIST Apache-AuthTicket-0.93.tar.gz 27421 SHA256 9599c4ceef251ff20f571c613f395b7c5b8d3afc04405c6d72c3a21eae5142dc SHA512 a5ec5c4477fefb1ef4ecbcb97e0129950bd77041a7a49bcc3b23dca47ff27dcc88d15a4501fef13a277a1577f5fe1e5cd86abe7c185129bb56f09c6949127969 WHIRLPOOL 0c5a3c22eaef7f146dbabe4e48ad5ec6e83ed9557bb06a4d01549823b021424996cc7e2383bfea84406f30d3e96f344228a346812ae1c1d5c5fa049346177607
|
||||
EBUILD Apache-AuthTicket-0.900.0.ebuild 594 SHA256 4ab2b7a4f2d40853118f6e1e2db57dcbcd51614e2bfabeeb7da7e6d18d40de2c SHA512 34d38d5eb435c0439fa3b1f9eae3b3fbc2bb3b84e8b96f64ddb03dbbac94e78cb5372ebf6330939877c833238de3c03e06bcd5241ae9b19356c4743826041d4d WHIRLPOOL bc3b067c8419b4933bfb7f4cf06b8e80a3846c47c4577aba652952ce9430570b7586b797815e664a53d3c1c5742745eaecae316b98cf9e0084ce48cc3930f34e
|
||||
EBUILD Apache-AuthTicket-0.930.0.ebuild 593 SHA256 d3c9080c906a91d3c8af1038caa509d2574a4e24776e091303263b65845f9af7 SHA512 fd420c5bb866267e80524674f9cc2ab9c903c414598a3448f1f52a7b951288acf32603113c81ad6abfe2ae44643f8213c254ff59c491f340a57a40a7257c7e9b WHIRLPOOL 86434878f4b682a52988199dfeb051a190b0a923778cb7a63b87ee417627e8d56904a4040199108cb558b34bad4b053c9e55f1ded21904a3d134d8d22316ef07
|
||||
MISC ChangeLog 2754 SHA256 8fc497ee86913777827a58d6af312f2680a3793d03d1bc53dce64f4b4aee7634 SHA512 1edf9f84346f42e31fc0b1ec79e1ea4c92b415c5ee57bc28b740b91f2ae42fc3803981de7a039003adeb8c5be556588180f6e12d24590b0fa7212c3692e1179e WHIRLPOOL 433aaba5b1cb30868d81ded886b7900059b1f65f74badf8ddc6c35e83f4251adc951345219f92847312c38d72b7fa14985a1d2758abf8732b99903e86f0cf080
|
||||
EBUILD Apache-AuthTicket-0.900.0.ebuild 590 SHA256 cb601acbcf320e0d7a864b02003899da663f4bcb13bdb946f4b4e8e726391098 SHA512 2047c1bbedf2bee328e72d60d55d11ff85b118e28d1f7bb648c0dce574e1e2ceb951f5b144f6f343319e43dddfbe2dd783322d98fa5b69f6177304e2769668bf WHIRLPOOL a106c7ab54d8d3ab4ff5b17567e7e31e15d7f6c4a550031beb30900b1788588665f2f9e2967a5c430275d78a26809024d848006d8beb94ac561f012f5bf1b7d9
|
||||
EBUILD Apache-AuthTicket-0.930.0.ebuild 592 SHA256 79bfc00d7fd60123fff3ec03fe931ed28f5fb59c72270289eb0c23c79fc4062c SHA512 894c6f08c4cf5956da90a7013dd50277a11d8790ab654d38d9c3c421dcb5ab0a7c8178d959774f338b87c419e7ae50a54700ee38162aec8a21f83fada543e497 WHIRLPOOL 51f2d2dd3f7bb2ee8b50dfd836ef62263340630a0c1180b54e42979fbdd53886aba4b14b93af34f87592559fe110e0caf8d452fce606de62c694b17f3e84a217
|
||||
MISC ChangeLog 2893 SHA256 696c6cd1e558d98dc77b4f420a380529d60cf5558b165bb796b87aa3a6c18844 SHA512 cfdc2b829507f4de1593714d3066992fe33c6a6445cadb75d71072161fc02b00490ca2023ed2429aafca1b264c6ce0d66aa68097fbb02190b5da46a932cd817e WHIRLPOOL c4ee59de7d86adebaeb9d3f261358112e4e0e4748f196aaabb3d41feff2ffad5f245bfe2fa51494c4b211161049e38329455fc028225d235b52806293876b28f
|
||||
MISC metadata.xml 728 SHA256 d30c388fbc75eaf177f27c14cd5c053c2aaf8158041d58778e1034b29c865a3b SHA512 1e13b4e576c276f3232d622a14c27fbdeb4048e83b32a710737020b42eaf98371d6a16541b08089138b2c634c447b65c0ab92fbd22635ea73436b0e5847e66cc WHIRLPOOL 3d8f3f1ad6cd5f58309ae1ed42824a3f21d5db58478b8be5738fee2b264c9d8d06450d1129fb0d674484e2d091e9d82d2189bd94d3a671803c9689984875c0d4
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iJwEAQEIAAYFAlPfUosACgkQG9wOWsQutdb2+AP/cFIijt9cU3KfPTLMiUrmrp5V
|
||||
x6XH2EmmDO5ucWB1BsBbUlf+bZqzkuU8FqY2AOeo7QDhKynBAWuu16PmQjkx1mIe
|
||||
ZnVGzE7j7gVSWcVQYJHHXe/oL3DwL1g6y0CTiuWp8+bEuKOLzbFyPU8hJsf+ZWZJ
|
||||
Rsx2I8C+Q/BDXbqTDlk=
|
||||
=MAWw
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.0.1.ebuild,v 1.1 2014/03/03 04:02:15 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="cs de fr ja pl ru sl zh_CN zh_TW"
|
||||
|
||||
inherit eutils l10n multilib qt4-r2
|
||||
|
||||
DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
|
||||
HOMEPAGE="http://qt-project.org/wiki/Category:Tools::QtCreator"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=(
|
||||
"git://gitorious.org/${PN}/${PN}.git"
|
||||
"https://git.gitorious.org/${PN}/${PN}.git"
|
||||
)
|
||||
else
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-opensource-src-${MY_PV}
|
||||
[[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
|
||||
SRC_URI="http://download.qt-project.org/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
|
||||
QTC_PLUGINS=(android autotools:autotoolsprojectmanager baremetal bazaar
|
||||
clearcase cmake:cmakeprojectmanager cvs fakevim git ios mercurial
|
||||
perforce python:pythoneditor qnx subversion valgrind)
|
||||
IUSE="debug doc examples test ${QTC_PLUGINS[@]%:*}"
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="4.8.0:4"
|
||||
|
||||
CDEPEND="
|
||||
=dev-libs/botan-1.10*[threads]
|
||||
>=dev-qt/qtcore-${QT_PV}[ssl]
|
||||
>=dev-qt/qtdeclarative-${QT_PV}
|
||||
|| (
|
||||
( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 )
|
||||
( >=dev-qt/qtgui-${QT_PV} <dev-qt/qtgui-4.8.5:4 )
|
||||
)
|
||||
>=dev-qt/qthelp-${QT_PV}[doc?]
|
||||
>=dev-qt/qtscript-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( >=dev-qt/qttest-${QT_PV} )
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=sys-devel/gdb-7.2[client(+),python]
|
||||
examples? ( >=dev-qt/qtdemo-${QT_PV} )
|
||||
"
|
||||
PDEPEND="
|
||||
autotools? ( sys-devel/autoconf )
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cmake? ( dev-util/cmake )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# disable unwanted plugins
|
||||
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
|
||||
if ! use ${plugin%:*}; then
|
||||
einfo "Disabling ${plugin%:*} plugin"
|
||||
sed -i -re "/^\s+${plugin#*:}\>/d" src/plugins/plugins.pro \
|
||||
|| die "failed to disable ${plugin%:*} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
# fix translations
|
||||
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
|
||||
share/qtcreator/translations/translations.pro || die
|
||||
|
||||
# remove bundled qbs for now
|
||||
# TODO: package it and re-enable the plugin
|
||||
rm -rf src/shared/qbs || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
EQMAKE4_EXCLUDE="share/qtcreator/templates/*
|
||||
tests/*"
|
||||
eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)" \
|
||||
IDE_PACKAGE_MODE=1 \
|
||||
TEST=$(use test && echo 1 || echo 0) \
|
||||
USE_SYSTEM_BOTAN=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [QTest]: ${CATEGORY}/${PF}"
|
||||
cd tests/auto || die
|
||||
|
||||
EQMAKE4_EXCLUDE="valgrind/*"
|
||||
eqmake4 IDE_LIBRARY_BASENAME="$(get_libdir)"
|
||||
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}usr" install
|
||||
|
||||
dodoc dist/{changes-*,known-issues}
|
||||
|
||||
# install documentation
|
||||
if use doc; then
|
||||
emake docs
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
docompress -x /usr/share/doc/${PF}/qtcreator{,-dev}.qch
|
||||
fi
|
||||
|
||||
# install desktop file
|
||||
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/git/git-1.2.8.ebuild,v 1.1 2014/08/04 05:49:07 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Library for using Git in Ruby"
|
||||
HOMEPAGE="http://github.com/schacon/ruby-git"
|
||||
SRC_URI="https://github.com/schacon/ruby-git/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RUBY_S="ruby-git-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND+="test? ( >=dev-vcs/git-1.6.0.0 app-arch/tar )"
|
||||
RDEPEND+=">=dev-vcs/git-1.6.0.0"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Needs test-unit, the test-unit version distributed with ruby19 is
|
||||
# not good enough.
|
||||
sed -i -e '3igem "test-unit"' Rakefile || die
|
||||
|
||||
# Don't use hardcoded /tmp directory.
|
||||
sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue