parent
b4418b76e4
commit
9f6d52b614
@ -1,3 +1,4 @@
|
|||||||
DIST logstash-5.1.2.zip 100044055 SHA256 99fd514b6241310c78aefca2cd895c1cec4cd426aa08fccf7e8bba26567573c3 SHA512 4186f942dd555dc1284bc657cbd3a61de8aa67a50bd2f7b725d3364e5fca61029cadb0ca4f9e1c4a36078805fd015128ddcd7773e19e643eaddd5ae2fa9c6673 WHIRLPOOL 1127a419a35e42de59a4bd61fe5b75e39daad69d0646019417abf83f44639a86fd2b1ffc687b6cc551562045ef3d2d901d7985437d158094d4d054e4a93bfd5d
|
DIST logstash-5.1.2.zip 100044055 SHA256 99fd514b6241310c78aefca2cd895c1cec4cd426aa08fccf7e8bba26567573c3 SHA512 4186f942dd555dc1284bc657cbd3a61de8aa67a50bd2f7b725d3364e5fca61029cadb0ca4f9e1c4a36078805fd015128ddcd7773e19e643eaddd5ae2fa9c6673 WHIRLPOOL 1127a419a35e42de59a4bd61fe5b75e39daad69d0646019417abf83f44639a86fd2b1ffc687b6cc551562045ef3d2d901d7985437d158094d4d054e4a93bfd5d
|
||||||
DIST logstash-5.2.2.zip 100068713 SHA256 35bd0378f5b9001b4c3056b11496936ef47c09e3ddc469353bc8951e3b81e174 SHA512 923b35e8bcc97f6036cd4a484df546b2cc1341ec8fe5080bea8f979856086aaaae5f71fa0c3f7aee2207f7c3e71aec18af416278123362f89990c05ec9e2c92f WHIRLPOOL 4a67ed0ba3b532da5d488b2e45f53149b4e63b6b638b6fe1058a13eab904cb7ec24cd87306868a4770fe6aadfe13f7d76bfc9973e73104a8e4e9aee455321c32
|
DIST logstash-5.2.2.zip 100068713 SHA256 35bd0378f5b9001b4c3056b11496936ef47c09e3ddc469353bc8951e3b81e174 SHA512 923b35e8bcc97f6036cd4a484df546b2cc1341ec8fe5080bea8f979856086aaaae5f71fa0c3f7aee2207f7c3e71aec18af416278123362f89990c05ec9e2c92f WHIRLPOOL 4a67ed0ba3b532da5d488b2e45f53149b4e63b6b638b6fe1058a13eab904cb7ec24cd87306868a4770fe6aadfe13f7d76bfc9973e73104a8e4e9aee455321c32
|
||||||
DIST logstash-5.3.1.zip 100150030 SHA256 f5e626a8cfe128b7ebaa0ec8ddc20876913852efd91c2c81a1f19f2223e00e07 SHA512 7897eab56bc33ee38169ad34e600cdf7180d0af30f93811f1ecf30a107944cd7a5ab2e95805695da7c1ce6f2112424c17de3b3bd9efaf344daff4e227d5e3d90 WHIRLPOOL 12383a43c372a2eef31b0a64e1b14f304ea90f7202524f6d56b7f0f51fcefd029f45b7f2782050d3c89269e41ae96c02e78586db30bb5d509f45b19508c36be3
|
DIST logstash-5.3.1.zip 100150030 SHA256 f5e626a8cfe128b7ebaa0ec8ddc20876913852efd91c2c81a1f19f2223e00e07 SHA512 7897eab56bc33ee38169ad34e600cdf7180d0af30f93811f1ecf30a107944cd7a5ab2e95805695da7c1ce6f2112424c17de3b3bd9efaf344daff4e227d5e3d90 WHIRLPOOL 12383a43c372a2eef31b0a64e1b14f304ea90f7202524f6d56b7f0f51fcefd029f45b7f2782050d3c89269e41ae96c02e78586db30bb5d509f45b19508c36be3
|
||||||
|
DIST logstash-5.4.0.zip 98567077 SHA256 f7a817009f7458cb186d652497e68003c221b07dbf28b5097a66b40ffb022a2a SHA512 4d552d43a1817ba04d25a3ada1cf87ecdae632a520627d3b6cb514b7e3384a6a09a98e8f24ea19328c60c4549b9dd1eb0e1a5282665f85877afbd7e7fef88e71 WHIRLPOOL 25dc935abee1ae1852c83801d50fc08bc2896e2744282f219e2afef4e9da5f608472baf4f88b31127959495d320643bbf7f94d7fea809b15d8186f333649ad0e
|
||||||
|
@ -0,0 +1,56 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit user
|
||||||
|
|
||||||
|
MY_PN="${PN%-bin}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Tool for managing events and logs"
|
||||||
|
HOMEPAGE="https://www.elastic.co/products/logstash"
|
||||||
|
SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RESTRICT="strip"
|
||||||
|
QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
|
||||||
|
|
||||||
|
RDEPEND="virtual/jre:1.8"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup ${MY_PN}
|
||||||
|
enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
|
||||||
|
keepdir "/var/log/${MY_PN}"
|
||||||
|
|
||||||
|
insinto "/usr/share/${MY_PN}"
|
||||||
|
newins "${FILESDIR}/agent.conf.sample" agent.conf
|
||||||
|
|
||||||
|
insinto "/opt/${MY_PN}"
|
||||||
|
doins -r .
|
||||||
|
fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}"
|
||||||
|
newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for"
|
||||||
|
ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in"
|
||||||
|
ewarn "${EROOT%/}/etc/conf.d/${MY_PN}"
|
||||||
|
einfo
|
||||||
|
einfo "Installing plugins: (bug #601294)"
|
||||||
|
einfo "DEBUG=1 JARS_SKIP='true' bin/logstash-plugin install logstash-output-gelf"
|
||||||
|
}
|
@ -1,3 +1,2 @@
|
|||||||
DIST ibus-m17n-1.3.2.tar.gz 414324 SHA256 c1e7529c63305bc5f2ddc4832550becd16e084beaf4217549bf1dd46a9b0e370 SHA512 6cbff2bf08043eb46d5e97c9303ebbb795c69b77c14d113c22fee2111eaee04ba8bc27bbd44b6640be02dd43f4b3711aba1b02fcbb350b8bca8d90dd20b4ba54 WHIRLPOOL 5b59e39028e19f3379abebf6b4ddf835bd01d28df623c2ef03f98a8f5b53acd985ca34d3f3d12cf5258c926de47523fddb48b78ceec0efb967586437e52bdc7e
|
DIST ibus-m17n-1.3.2.tar.gz 414324 SHA256 c1e7529c63305bc5f2ddc4832550becd16e084beaf4217549bf1dd46a9b0e370 SHA512 6cbff2bf08043eb46d5e97c9303ebbb795c69b77c14d113c22fee2111eaee04ba8bc27bbd44b6640be02dd43f4b3711aba1b02fcbb350b8bca8d90dd20b4ba54 WHIRLPOOL 5b59e39028e19f3379abebf6b4ddf835bd01d28df623c2ef03f98a8f5b53acd985ca34d3f3d12cf5258c926de47523fddb48b78ceec0efb967586437e52bdc7e
|
||||||
DIST ibus-m17n-1.3.3.tar.gz 431113 SHA256 0374aef2149bcf1a337c39ab642ee39da4dbb17758ee8c095f954ca835dc10bf SHA512 1ffb659a2c6837727365760267ebbdf0329cf0b103e1fa105d895f62fc580821f8cfc097687e631cb06881986a5482ecc720df451a5b27dc494cc07d1862c98d WHIRLPOOL 437e1720efe77952d12c9eca28a95e509a3cad288573754eccab8de4fbe3a88d2efbdc9e3c4997ebbc04825d3a318c7b49c384d2459b8ddd1d0af1fd4fd45aeb
|
|
||||||
DIST ibus-m17n-1.3.4.tar.gz 436687 SHA256 79004c696c47cd909b39f547ce118a80b672ccdab77a4a5b1824e496d649ae70 SHA512 9e9bc290b0f0d68558d408f6e69aa3bd9bb767db827a95839b576b58c7a5056dedcbd9b0bf1aab5e26ab21e601acd67a53404a5fd54b436efaf2a706489f25c4 WHIRLPOOL 0109df716a9ed71ac7f1d9544e361e38c3b8a7ae81b271d54ab1979a611fc44698649d92dfc68131f29166f60875558421b9f033632c5125c27505465c73d0a4
|
DIST ibus-m17n-1.3.4.tar.gz 436687 SHA256 79004c696c47cd909b39f547ce118a80b672ccdab77a4a5b1824e496d649ae70 SHA512 9e9bc290b0f0d68558d408f6e69aa3bd9bb767db827a95839b576b58c7a5056dedcbd9b0bf1aab5e26ab21e601acd67a53404a5fd54b436efaf2a706489f25c4 WHIRLPOOL 0109df716a9ed71ac7f1d9544e361e38c3b8a7ae81b271d54ab1979a611fc44698649d92dfc68131f29166f60875558421b9f033632c5125c27505465c73d0a4
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
|
|
||||||
DESCRIPTION="The M17N engine IMEngine for IBus Framework"
|
|
||||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
|
||||||
SRC_URI="https://ibus.googlecode.com/files/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="gtk nls"
|
|
||||||
|
|
||||||
RDEPEND=">=app-i18n/ibus-1.3.99.20110817
|
|
||||||
dev-libs/libxml2
|
|
||||||
gtk? ( >=x11-libs/gtk+-2.12.12:2 )
|
|
||||||
dev-libs/m17n-lib
|
|
||||||
nls? ( virtual/libintl )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
>=sys-devel/gettext-0.16.1"
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
dev-db/m17n-db
|
|
||||||
dev-db/m17n-contrib"
|
|
||||||
# gtk? (
|
|
||||||
# || (
|
|
||||||
# >=x11-libs/gtk+-2.90.5:3
|
|
||||||
# >=x11-libs/gtk+-2.12.12:2
|
|
||||||
# )
|
|
||||||
# )
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf
|
|
||||||
|
|
||||||
econf \
|
|
||||||
$(use_with gtk gtk 2.0) \
|
|
||||||
$(use_enable nls) \
|
|
||||||
${myconf} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die
|
|
||||||
|
|
||||||
dodoc AUTHORS ChangeLog NEWS README || die
|
|
||||||
}
|
|
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit systemd user
|
||||||
|
|
||||||
|
DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
|
||||||
|
HOMEPAGE="https://www.elastic.co/products/elasticsearch"
|
||||||
|
SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
|
||||||
|
LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="virtual/jre:1.8"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup ${PN}
|
||||||
|
enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
rm -rf bin/*.{bat,exe} || die
|
||||||
|
rm LICENSE.txt || die
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
keepdir /etc/${PN}
|
||||||
|
keepdir /etc/${PN}/scripts
|
||||||
|
|
||||||
|
insinto /etc/${PN}
|
||||||
|
doins config/*
|
||||||
|
rm -rf config || die
|
||||||
|
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins -r ./*
|
||||||
|
|
||||||
|
exeinto /usr/share/${PN}/bin
|
||||||
|
doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
|
||||||
|
|
||||||
|
chmod +x "${D}"/usr/share/${PN}/bin/* || die
|
||||||
|
|
||||||
|
keepdir /var/{lib,log}/${PN}
|
||||||
|
keepdir /usr/share/${PN}/plugins
|
||||||
|
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf"
|
||||||
|
|
||||||
|
insinto /etc/sysctl.d
|
||||||
|
newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf"
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/${PN}.init8" "${PN}"
|
||||||
|
newconfd "${FILESDIR}/${PN}.conf3" "${PN}"
|
||||||
|
systemd_newunit "${FILESDIR}"/${PN}.service6 "${PN}.service"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog
|
||||||
|
elog "You may create multiple instances of ${PN} by"
|
||||||
|
elog "symlinking the init script:"
|
||||||
|
elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
|
||||||
|
elog
|
||||||
|
elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
|
||||||
|
elog "from /etc/elasticsearch into the configuration directory of the instance:"
|
||||||
|
elog "/etc/${PN}/instance"
|
||||||
|
elog
|
||||||
|
}
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
JAVA_PKG_IUSE="doc source"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2 eutils
|
|
||||||
|
|
||||||
DESCRIPTION="A PSP (personal software process) time tracking utility written in Java"
|
|
||||||
HOMEPAGE="http://hourglass.wiki.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
COMMON_DEPEND="dev-java/log4j
|
|
||||||
dev-java/jcommon:1.0
|
|
||||||
dev-java/jdom:1.0"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jdk-1.5
|
|
||||||
dev-java/ant-core
|
|
||||||
${COMMON_DEPEND}"
|
|
||||||
RDEPEND=">=virtual/jre-1.5
|
|
||||||
${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P}-src"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
echo "jar.log4j=$(java-pkg_getjar log4j log4j.jar)" > conf/local.properties
|
|
||||||
echo "jar.jcommon=$(java-pkg_getjar jcommon:1.0 jcommon.jar)" >> conf/local.properties
|
|
||||||
echo "jar.jdom=$(java-pkg_getjar jdom:1.0 jdom.jar)" >> conf/local.properties
|
|
||||||
echo "jar.ant=$(java-pkg_getjar --build-only ant-core ant.jar)" >> conf/local.properties
|
|
||||||
}
|
|
||||||
|
|
||||||
EANT_BUILD_TARGET="dist"
|
|
||||||
EANT_DOC_TARGET="javadoc"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar "dist/${P}/lib/${PN}.jar"
|
|
||||||
|
|
||||||
use doc && java-pkg_dojavadoc build/doc/api
|
|
||||||
use source && java-pkg_dosrc src/*
|
|
||||||
|
|
||||||
java-pkg_dolauncher "${PN}" \
|
|
||||||
--main "net.sourceforge.hourglass.swingui.Main"
|
|
||||||
|
|
||||||
make_desktop_entry "${PN}" "Hourglass" "appointment-new" "Office"
|
|
||||||
|
|
||||||
dodoc README ChangeLog AUTHORS
|
|
||||||
}
|
|
@ -1,4 +1,2 @@
|
|||||||
DIST krop-0.4.11.tar.gz 35450 SHA256 5dc069afdad722e030037f7cc54bfd8b4ff3990c5600947722303053d2519d0f SHA512 785ac432f7e906ebee167791751b164a0ec30087caef0916bcd95494d7db310949aa4e44569ddaa181daca9c5834b743d3fdc64183093a41e23bb58cbe0d6cae WHIRLPOOL 5c09ddfb50055dc5a5a27e3f21bff1d1a8d7759e60cd488c54538438f83d43cb8254bf4fe0c633a9d7852a27906f3049e5a15c1d6e6ca025d161ac6de7fee778
|
DIST krop-0.4.11.tar.gz 35450 SHA256 5dc069afdad722e030037f7cc54bfd8b4ff3990c5600947722303053d2519d0f SHA512 785ac432f7e906ebee167791751b164a0ec30087caef0916bcd95494d7db310949aa4e44569ddaa181daca9c5834b743d3fdc64183093a41e23bb58cbe0d6cae WHIRLPOOL 5c09ddfb50055dc5a5a27e3f21bff1d1a8d7759e60cd488c54538438f83d43cb8254bf4fe0c633a9d7852a27906f3049e5a15c1d6e6ca025d161ac6de7fee778
|
||||||
DIST krop-0.4.7.tar.gz 34559 SHA256 fd44f83437ef6a1cb2933ab94e78385f9d7dd7b271d24549eadea700d93b84af SHA512 b38973b2084d1ac05d71e842137793d3569a1d46668e506e8a58eac4f7bd366db177d9f8af8243ed13cfe6f73885e0998ad91a1ded4c02f6d0d0102809476d10 WHIRLPOOL ecdf833981b922de9acee9ddc1467cfc056b91766ef8f4dcfc4b98b5b63fb55924f9df3d6aa3ac99a82ef86f2f8ef608ce7b2d62c52930d059a53b0121932d52
|
|
||||||
DIST krop-0.4.8.tar.gz 34948 SHA256 71668fe54820ad11dc47f8caddc56e0d2553975e768bd724f26fa5f5389b0aab SHA512 440a3dff6c13eb83dc9ccbbcf672a297d66d66fbf9508e3c6ceda3b043868102afb1df3401fcf06adbea1baea92444ad0dfa2fd8e74b2d993c9fe4903c9327a1 WHIRLPOOL 65aa1d73dca26d3522d1bdf75501f25340487529057bdbbaeb90472d0d518e6e54a31e2b9f1f08c6037636cd83c4ef128444c519cafae3346c8e80489d7564dd
|
|
||||||
DIST krop-0.4.9.tar.gz 35149 SHA256 725d42358cc367e6ca4ad82d50fd9bd0bb8ad1e24094ff68880d06f675d59b0f SHA512 39e1d269fb59bbbba45e820ead482a6ac049e47e7d06459a2c63826dc134ada12e49e77468bfb6870f31747084bc8dea1653109232fe6e6808726a8903124565 WHIRLPOOL d4fbada0020ef08381f300faf470e9b1d239c7386999e3a6688c22cbb747f2a721445f7469c6a12918dd3c7711fc45bc00a8792011369f656a44806b1eaa508c
|
DIST krop-0.4.9.tar.gz 35149 SHA256 725d42358cc367e6ca4ad82d50fd9bd0bb8ad1e24094ff68880d06f675d59b0f SHA512 39e1d269fb59bbbba45e820ead482a6ac049e47e7d06459a2c63826dc134ada12e49e77468bfb6870f31747084bc8dea1653109232fe6e6808726a8903124565 WHIRLPOOL d4fbada0020ef08381f300faf470e9b1d239c7386999e3a6688c22cbb747f2a721445f7469c6a12918dd3c7711fc45bc00a8792011369f656a44806b1eaa508c
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit eutils distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A tool to crop PDF files"
|
|
||||||
HOMEPAGE="http://arminstraub.com/software/krop"
|
|
||||||
SRC_URI="http://arminstraub.com/downloads/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-python/python-poppler-qt4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyPdf[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
domenu "${WORKDIR}/${P}/${PN}.desktop"
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit eutils distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A tool to crop PDF files"
|
|
||||||
HOMEPAGE="http://arminstraub.com/software/krop"
|
|
||||||
SRC_URI="http://arminstraub.com/downloads/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-python/python-poppler-qt4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyPdf[${PYTHON_USEDEP}]
|
|
||||||
dev-python/PyQt4[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
domenu "${WORKDIR}/${P}/${PN}.desktop"
|
|
||||||
}
|
|
@ -1,5 +1,6 @@
|
|||||||
DIST aerospike-server-community-3.10.0.3-debian7.tgz 10347047 SHA256 fb0b47549cbe783317854b0edebe0ec112d8d5b073d7311a54739518bf2ae971 SHA512 1699bc2c8813c4b584eeef4c0edd8481915e9ccac55795717e87e6246894d836365aba2fdf8c884c6f4f4bdb3cc8d2a78141c32b1ef67cbf5efa1dc7340906ce WHIRLPOOL b6bf3a97c0023bb77f19b7cbd58785422551ce66cc7749773a1d8cfb3fa3d3ca1f96a1202718713859c23ccad0c14bded31759f36d0b0fa3039dd86e2ba1d6d2
|
DIST aerospike-server-community-3.10.0.3-debian7.tgz 10347047 SHA256 fb0b47549cbe783317854b0edebe0ec112d8d5b073d7311a54739518bf2ae971 SHA512 1699bc2c8813c4b584eeef4c0edd8481915e9ccac55795717e87e6246894d836365aba2fdf8c884c6f4f4bdb3cc8d2a78141c32b1ef67cbf5efa1dc7340906ce WHIRLPOOL b6bf3a97c0023bb77f19b7cbd58785422551ce66cc7749773a1d8cfb3fa3d3ca1f96a1202718713859c23ccad0c14bded31759f36d0b0fa3039dd86e2ba1d6d2
|
||||||
DIST aerospike-server-community-3.11.0.2-debian7.tgz 10137448 SHA256 3ede8b3232a8ca0f0e34f2eb9f37fa244dc502020f2d185f96ee3097d88cda21 SHA512 b4603df6de0252adb002ea25ec0ad7d6793ce9fe90e67504bfd43cbe503797471e01816dd9dcc18c2767ff98d80e181d57d91018dfc9a1e943719d24431b6160 WHIRLPOOL b4a48ceb5ee7adacc5a9d1a9baed6ad9812812dab1ded7c4f4236e25a6893d29413e53b8420d2b23d604db1163af19aaf037305f56fbc00e0795605e7c34a009
|
DIST aerospike-server-community-3.11.0.2-debian7.tgz 10137448 SHA256 3ede8b3232a8ca0f0e34f2eb9f37fa244dc502020f2d185f96ee3097d88cda21 SHA512 b4603df6de0252adb002ea25ec0ad7d6793ce9fe90e67504bfd43cbe503797471e01816dd9dcc18c2767ff98d80e181d57d91018dfc9a1e943719d24431b6160 WHIRLPOOL b4a48ceb5ee7adacc5a9d1a9baed6ad9812812dab1ded7c4f4236e25a6893d29413e53b8420d2b23d604db1163af19aaf037305f56fbc00e0795605e7c34a009
|
||||||
DIST aerospike-server-community-3.12.1-debian7.tgz 10454559 SHA256 fc16a5f9fb816dedeb9b5d20c5b9a5bf56eb226ebcd615786473fd4c45620b96 SHA512 31de9c2fe1f781c4feb312c06ccea546b9016e04b750c4af5896e0ec1d5e8d26ffc3c6645ffe1c825773d1e00293359a7d48b2cd6d661644ab65408f5901503c WHIRLPOOL 7ba7708a5ec34968714c9438d64dd4db713f2bd16f0cdc0cecd47a4aa2b941f3889f9792ea85b9ae2c856279297514340310bb0d5ae813cbecfe8683148858e9
|
DIST aerospike-server-community-3.12.1-debian7.tgz 10454559 SHA256 fc16a5f9fb816dedeb9b5d20c5b9a5bf56eb226ebcd615786473fd4c45620b96 SHA512 31de9c2fe1f781c4feb312c06ccea546b9016e04b750c4af5896e0ec1d5e8d26ffc3c6645ffe1c825773d1e00293359a7d48b2cd6d661644ab65408f5901503c WHIRLPOOL 7ba7708a5ec34968714c9438d64dd4db713f2bd16f0cdc0cecd47a4aa2b941f3889f9792ea85b9ae2c856279297514340310bb0d5ae813cbecfe8683148858e9
|
||||||
|
DIST aerospike-server-community-3.12.1.1-debian7.tgz 10456157 SHA256 9776af687933c95ecf2bc783e13ae23552d925b365ade14994f31d76bcbb1999 SHA512 99196ee1af007ce587f738b1f9621ad336c13bcc4e2caae00358ea0005e2b0824974260c9136759012f985acfaf4a38d3d9719f9c2461526ab3e4a0665a3ca30 WHIRLPOOL 098c43b4252079461afcbb52ead017ec436a244ea0311c031f39a661b768788ee2da950618e6b5cd9554fabc9cb644bb769e8b9c87972d7c53ba5fb88b0ac8a5
|
||||||
DIST aerospike-server-community-3.9.0.3-debian7.tgz 9783678 SHA256 ec09d7f12c1001b8341892bff50f15a75a7e8f312b510c3627066befb9fc5612 SHA512 82b826fdb6bfdbb8508346accb2b0bf34f55a601b95e214d8b7fd108790a889e64dd5b76b4351285baa3f1c4f9d6a98945737c8ca42f26229364030674a2623b WHIRLPOOL f7bac66a56ad8b9ee47b3eedc16337b13d8674f42dba40f445876fe9c46ec3620dad73a9324f4a33daef98c740643c6361b86733ac6c741a68757b332101eefb
|
DIST aerospike-server-community-3.9.0.3-debian7.tgz 9783678 SHA256 ec09d7f12c1001b8341892bff50f15a75a7e8f312b510c3627066befb9fc5612 SHA512 82b826fdb6bfdbb8508346accb2b0bf34f55a601b95e214d8b7fd108790a889e64dd5b76b4351285baa3f1c4f9d6a98945737c8ca42f26229364030674a2623b WHIRLPOOL f7bac66a56ad8b9ee47b3eedc16337b13d8674f42dba40f445876fe9c46ec3620dad73a9324f4a33daef98c740643c6361b86733ac6c741a68757b332101eefb
|
||||||
DIST aerospike-server-community-3.9.1.1-debian7.tgz 9900121 SHA256 62526770c2881b17b928d4d0828f1b8bb5c434f37b0337863f167793f9393258 SHA512 a4ac583220eb15f976cf70a7b57ca3b2f9a0ed5a5fdc4689745b3df45c042a3e43010dda4ff16007455e32b9307474ed24114465c26cfd14be14800cd7b78332 WHIRLPOOL de08f3c057bc06380fd31928b002e611d9a3f0369d071de7bebbf3c079aaed1bc5672fe150f94c11dacfd318545b1d2529ece5eaa9bd584c5e5009192d276234
|
DIST aerospike-server-community-3.9.1.1-debian7.tgz 9900121 SHA256 62526770c2881b17b928d4d0828f1b8bb5c434f37b0337863f167793f9393258 SHA512 a4ac583220eb15f976cf70a7b57ca3b2f9a0ed5a5fdc4689745b3df45c042a3e43010dda4ff16007455e32b9307474ed24114465c26cfd14be14800cd7b78332 WHIRLPOOL de08f3c057bc06380fd31928b002e611d9a3f0369d071de7bebbf3c079aaed1bc5672fe150f94c11dacfd318545b1d2529ece5eaa9bd584c5e5009192d276234
|
||||||
|
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit eutils user
|
||||||
|
|
||||||
|
DESCRIPTION="Flash-optimized, in-memory, nosql database"
|
||||||
|
HOMEPAGE="http://www.aerospike.com"
|
||||||
|
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}-debian7.tgz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="app-crypt/gcr"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}-debian7"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup aerospike
|
||||||
|
enewuser aerospike -1 /bin/bash /opt/aerospike aerospike
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local server_deb="${P}.debian7.x86_64.deb"
|
||||||
|
local tools_deb="aerospike-tools-3.12.1.debian7.x86_64.deb"
|
||||||
|
|
||||||
|
ar x "${server_deb}" || die
|
||||||
|
tar xzf data.tar.gz && rm data.tar.gz || die
|
||||||
|
|
||||||
|
ar x "${tools_deb}" || die
|
||||||
|
tar xzf data.tar.gz && rm data.tar.gz || die
|
||||||
|
|
||||||
|
rm *.deb asinstall control.tar.gz debian-binary LICENSE SHA256SUMS
|
||||||
|
rm usr/bin/{asfixownership,asmigrate2to3}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /opt/
|
||||||
|
doins -r opt/aerospike
|
||||||
|
|
||||||
|
fperms +x -R /opt/aerospike/bin/
|
||||||
|
fperms +x -R /opt/aerospike/lib/python/
|
||||||
|
|
||||||
|
for dir in '/etc' '/var/log'; do
|
||||||
|
keepdir "${dir}/aerospike"
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto /etc/aerospike
|
||||||
|
for conf in 'aerospike.conf' 'aerospike_mesh.conf' 'aerospike_ssd.conf'; do
|
||||||
|
doins "${FILESDIR}/${conf}"
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto /usr/bin
|
||||||
|
doins usr/bin/*
|
||||||
|
fperms +x -R /usr/bin/asd
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}"/aerospike.logrotate aerospike
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/aerospike.init aerospike
|
||||||
|
|
||||||
|
fowners -R aerospike:aerospike /opt/aerospike/
|
||||||
|
fowners aerospike:aerospike /usr/bin/asd
|
||||||
|
fowners -R aerospike:aerospike /var/log/aerospike
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST commons-jxpath-1.3-src.tar.gz 285339 SHA256 da314198d75c6da660e2603bd1543a8f5d0b640c5144b748e62e59afc278efe6 SHA512 a0ad0b90c9aa4c732c47c8f38f036990438f526295b782fbdc00fd67e4c0e92643c7850429eb5263f9d322aff7cb7000b8ff2bffcdcfa88fa3ba5354dce7e152 WHIRLPOOL de683fa0e2d985cb57b434af224d2cca73d215d9429b97dc940933fb4a042638227b8fb342d81a1407faf740d1a42c3d5869fc2f78307e558fffb6dd97f36e97
|
|
||||||
DIST commons-jxpath-1.3.tar.gz 285339 SHA256 da314198d75c6da660e2603bd1543a8f5d0b640c5144b748e62e59afc278efe6 SHA512 a0ad0b90c9aa4c732c47c8f38f036990438f526295b782fbdc00fd67e4c0e92643c7850429eb5263f9d322aff7cb7000b8ff2bffcdcfa88fa3ba5354dce7e152 WHIRLPOOL de683fa0e2d985cb57b434af224d2cca73d215d9429b97dc940933fb4a042638227b8fb342d81a1407faf740d1a42c3d5869fc2f78307e558fffb6dd97f36e97
|
DIST commons-jxpath-1.3.tar.gz 285339 SHA256 da314198d75c6da660e2603bd1543a8f5d0b640c5144b748e62e59afc278efe6 SHA512 a0ad0b90c9aa4c732c47c8f38f036990438f526295b782fbdc00fd67e4c0e92643c7850429eb5263f9d322aff7cb7000b8ff2bffcdcfa88fa3ba5354dce7e152 WHIRLPOOL de683fa0e2d985cb57b434af224d2cca73d215d9429b97dc940933fb4a042638227b8fb342d81a1407faf740d1a42c3d5869fc2f78307e558fffb6dd97f36e97
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
JAVA_PKG_IUSE="doc source test"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="Applies XPath expressions to graphs of objects of all kinds"
|
|
||||||
HOMEPAGE="http://commons.apache.org/jxpath/"
|
|
||||||
SRC_URI="mirror://apache/commons/jxpath/source/${P}-src.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P}-src"
|
|
||||||
|
|
||||||
CDEPEND="dev-java/commons-beanutils:1.7
|
|
||||||
java-virtuals/servlet-api:2.5
|
|
||||||
dev-java/jdom:1.0"
|
|
||||||
RDEPEND=">=virtual/jre-1.6
|
|
||||||
${CDEPEND}"
|
|
||||||
DEPEND=">=virtual/jdk-1.6
|
|
||||||
test? (
|
|
||||||
dev-java/commons-collections:0
|
|
||||||
dev-java/commons-logging:0
|
|
||||||
)
|
|
||||||
${CDEPEND}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
|
|
||||||
mkdir -p "${S}/target/lib"
|
|
||||||
cd "${S}/target/lib"
|
|
||||||
java-pkg_jar-from commons-beanutils-1.7
|
|
||||||
java-pkg_jar-from servlet-api-2.5
|
|
||||||
java-pkg_jar-from jdom-1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Don't automatically run tests
|
|
||||||
sed 's/depends="compile,test"/depends="compile"/' -i build.xml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# this one needs mockrunner #259027
|
|
||||||
rm src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java || die
|
|
||||||
java-pkg_jar-from --into target/lib \
|
|
||||||
commons-collections,commons-logging,junit
|
|
||||||
ANT_TASKS="ant-junit" eant test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar target/${PN}.jar
|
|
||||||
use doc && java-pkg_dojavadoc dist/docs/api
|
|
||||||
use source && java-pkg_dosrc src/java/*
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
JAVA_PKG_IUSE="doc source test"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="Applies XPath expressions to graphs of objects of all kinds"
|
|
||||||
HOMEPAGE="http://commons.apache.org/jxpath/"
|
|
||||||
SRC_URI="mirror://apache/commons/jxpath/source/${P}-src.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${P}-src"
|
|
||||||
|
|
||||||
CDEPEND="dev-java/commons-beanutils:1.7
|
|
||||||
java-virtuals/servlet-api:2.5
|
|
||||||
dev-java/jdom:0"
|
|
||||||
RDEPEND=">=virtual/jre-1.6
|
|
||||||
${CDEPEND}"
|
|
||||||
DEPEND=">=virtual/jdk-1.6
|
|
||||||
test? (
|
|
||||||
dev-java/commons-collections:0
|
|
||||||
dev-java/commons-logging:0
|
|
||||||
)
|
|
||||||
${CDEPEND}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
|
|
||||||
mkdir -p "${S}/target/lib"
|
|
||||||
cd "${S}/target/lib"
|
|
||||||
java-pkg_jar-from commons-beanutils-1.7
|
|
||||||
java-pkg_jar-from servlet-api-2.5
|
|
||||||
java-pkg_jar-from jdom
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Don't automatically run tests
|
|
||||||
sed 's/depends="compile,test"/depends="compile"/' -i build.xml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# this one needs mockrunner #259027
|
|
||||||
rm src/test/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java || die
|
|
||||||
java-pkg_jar-from --into target/lib \
|
|
||||||
commons-collections,commons-logging,junit
|
|
||||||
ANT_TASKS="ant-junit" eant test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar target/${PN}.jar
|
|
||||||
use doc && java-pkg_dojavadoc dist/docs/api
|
|
||||||
use source && java-pkg_dosrc src/java/*
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST rome-0.9-src.zip 248755 SHA256 c8e8674de5b204d02ce8b5e33fa5f848f23ee4e4746c60ebc7ccf52a1ac97a4f SHA512 d4bc9945e2b77bdc38eca609ec353379c279cd700d8d85220a1723d1b019da2c18bd93ff98b062e519e7d87f2d2b6853f373fc7178cec0f83b34af45fce5f3ff WHIRLPOOL 69554087947fec155478d5d8cd820976a878d1055dfbeebcb567893c2e943ae89f247dd578ad94d6c88cba2ee8d3faa7fac05556790157f7e2e95ed1cd752404
|
|
||||||
DIST rome-0.9.zip 248755 SHA256 c8e8674de5b204d02ce8b5e33fa5f848f23ee4e4746c60ebc7ccf52a1ac97a4f SHA512 d4bc9945e2b77bdc38eca609ec353379c279cd700d8d85220a1723d1b019da2c18bd93ff98b062e519e7d87f2d2b6853f373fc7178cec0f83b34af45fce5f3ff WHIRLPOOL 69554087947fec155478d5d8cd820976a878d1055dfbeebcb567893c2e943ae89f247dd578ad94d6c88cba2ee8d3faa7fac05556790157f7e2e95ed1cd752404
|
DIST rome-0.9.zip 248755 SHA256 c8e8674de5b204d02ce8b5e33fa5f848f23ee4e4746c60ebc7ccf52a1ac97a4f SHA512 d4bc9945e2b77bdc38eca609ec353379c279cd700d8d85220a1723d1b019da2c18bd93ff98b062e519e7d87f2d2b6853f373fc7178cec0f83b34af45fce5f3ff WHIRLPOOL 69554087947fec155478d5d8cd820976a878d1055dfbeebcb567893c2e943ae89f247dd578ad94d6c88cba2ee8d3faa7fac05556790157f7e2e95ed1cd752404
|
||||||
|
@ -1,50 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
JAVA_PKG_IUSE="doc source test"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
DESCRIPTION="Java framework for RSS and Atom feeds"
|
|
||||||
HOMEPAGE="https://java.net/projects/rome"
|
|
||||||
SRC_URI="https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/${P}-src.zip"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
CDEPEND="dev-java/jdom:1.0"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=virtual/jdk-1.6
|
|
||||||
app-arch/unzip
|
|
||||||
test? ( dev-java/ant-junit:0 )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=virtual/jre-1.6"
|
|
||||||
|
|
||||||
EANT_GENTOO_CLASSPATH="jdom-1.0"
|
|
||||||
|
|
||||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
|
||||||
JAVA_ANT_ENCODING="ISO-8859-1"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
# Patch build.xml so the tests pass
|
|
||||||
epatch "${FILESDIR}/${P}-build.xml-test-upstream.patch"
|
|
||||||
|
|
||||||
# Keep Ant happy.
|
|
||||||
mkdir -p target/lib || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
java-pkg-2_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_newjar target/${P}.jar
|
|
||||||
use doc && java-pkg_dojavadoc dist/docs/api
|
|
||||||
use source && java-pkg_dosrc src/java/*
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST xstream-1.4.8-sources.jar 395464 SHA256 5d956e4527d27420f2d417cd77ffafedad85ee795a59857bbf2be9cc630eace0 SHA512 9fb9ebc6facdc07aecbcee3fbf40ef560bdd42cd8f7c7a3a8e2401be5c4e05ed3370beec653ef06d2fd3aa1acabf8f4ada8dddea27f239d180d66aec0bd905e6 WHIRLPOOL 10f9ad97300397000085e4850baa89a2560bd13431c1668b7e144fe53b0800f546ff56cb7bd373a53ea7ab1ff88bef80260e3d8543543c8df50fc5e56fdd8aa2
|
|
||||||
DIST xstream-1.4.8.jar 395464 SHA256 5d956e4527d27420f2d417cd77ffafedad85ee795a59857bbf2be9cc630eace0 SHA512 9fb9ebc6facdc07aecbcee3fbf40ef560bdd42cd8f7c7a3a8e2401be5c4e05ed3370beec653ef06d2fd3aa1acabf8f4ada8dddea27f239d180d66aec0bd905e6 WHIRLPOOL 10f9ad97300397000085e4850baa89a2560bd13431c1668b7e144fe53b0800f546ff56cb7bd373a53ea7ab1ff88bef80260e3d8543543c8df50fc5e56fdd8aa2
|
DIST xstream-1.4.8.jar 395464 SHA256 5d956e4527d27420f2d417cd77ffafedad85ee795a59857bbf2be9cc630eace0 SHA512 9fb9ebc6facdc07aecbcee3fbf40ef560bdd42cd8f7c7a3a8e2401be5c4e05ed3370beec653ef06d2fd3aa1acabf8f4ada8dddea27f239d180d66aec0bd905e6 WHIRLPOOL 10f9ad97300397000085e4850baa89a2560bd13431c1668b7e144fe53b0800f546ff56cb7bd373a53ea7ab1ff88bef80260e3d8543543c8df50fc5e56fdd8aa2
|
||||||
|
@ -1,56 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="doc source"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
|
||||||
|
|
||||||
DESCRIPTION="A text-processing Java API that serialize objects to XML and back again"
|
|
||||||
HOMEPAGE="http://x-stream.github.io"
|
|
||||||
SRC_URI="http://central.maven.org/maven2/com/thoughtworks/${PN}/${PN}/${PV}/${P}-sources.jar"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc64 x86"
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
dev-java/kxml:2
|
|
||||||
dev-java/xom:0
|
|
||||||
dev-java/xpp3:0
|
|
||||||
dev-java/cglib:3
|
|
||||||
dev-java/dom4j:1
|
|
||||||
dev-java/jdom:2
|
|
||||||
dev-java/jdom:1.0
|
|
||||||
dev-java/joda-time:0
|
|
||||||
dev-java/jettison:0"
|
|
||||||
|
|
||||||
# This package does need Java 8. See bug 564616.
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=virtual/jre-1.8"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=virtual/jdk-1.8
|
|
||||||
app-arch/unzip"
|
|
||||||
|
|
||||||
JAVA_GENTOO_CLASSPATH="
|
|
||||||
xpp3
|
|
||||||
xom
|
|
||||||
kxml-2
|
|
||||||
jdom-2
|
|
||||||
jdom-1.0
|
|
||||||
dom4j-1
|
|
||||||
cglib-3
|
|
||||||
jettison
|
|
||||||
joda-time"
|
|
||||||
|
|
||||||
# Two drivers for two very old implementations of StAX.
|
|
||||||
# StAX has been last-rited from Gentoo as it is now part of the Java 6 JDK.
|
|
||||||
# See bug 561504. These drivers rely on ancient APIs that aren't maintained
|
|
||||||
# upstream and may contain security holes.
|
|
||||||
JAVA_RM_FILES=(
|
|
||||||
com/thoughtworks/xstream/io/xml/WstxDriver.java
|
|
||||||
com/thoughtworks/xstream/io/xml/BEAStaxDriver.java
|
|
||||||
)
|
|
@ -1,738 +0,0 @@
|
|||||||
From 11b283092a29a9d402ce05706fd3a85683576218 Mon Sep 17 00:00:00 2001
|
|
||||||
From: David Chase <drchase@google.com>
|
|
||||||
Date: Tue, 21 Feb 2017 15:22:52 -0500
|
|
||||||
Subject: [PATCH] cmd/compile: add opcode flag hasSideEffects for do-not-remove
|
|
||||||
|
|
||||||
Added a flag to generic and various architectures' atomic
|
|
||||||
operations that are judged to have observable side effects
|
|
||||||
and thus cannot be dead-code-eliminated.
|
|
||||||
|
|
||||||
Test requires GOMAXPROCS > 1 without preemption in loop.
|
|
||||||
|
|
||||||
Fixes #19182.
|
|
||||||
|
|
||||||
Change-Id: Id2230031abd2cca0bbb32fd68fc8a58fb912070f
|
|
||||||
Reviewed-on: https://go-review.googlesource.com/37333
|
|
||||||
Run-TryBot: David Chase <drchase@google.com>
|
|
||||||
TryBot-Result: Gobot Gobot <gobot@golang.org>
|
|
||||||
Reviewed-by: Cherry Zhang <cherryyz@google.com>
|
|
||||||
---
|
|
||||||
src/cmd/compile/internal/ssa/deadcode.go | 2 +-
|
|
||||||
src/cmd/compile/internal/ssa/gen/AMD64Ops.go | 16 ++--
|
|
||||||
src/cmd/compile/internal/ssa/gen/ARM64Ops.go | 20 ++---
|
|
||||||
src/cmd/compile/internal/ssa/gen/MIPSOps.go | 16 ++--
|
|
||||||
src/cmd/compile/internal/ssa/gen/S390XOps.go | 16 ++--
|
|
||||||
src/cmd/compile/internal/ssa/gen/genericOps.go | 28 +++----
|
|
||||||
src/cmd/compile/internal/ssa/gen/main.go | 4 +
|
|
||||||
src/cmd/compile/internal/ssa/op.go | 1 +
|
|
||||||
src/cmd/compile/internal/ssa/opGen.go | 111 +++++++++++++++++--------
|
|
||||||
test/fixedbugs/issue19182.go | 36 ++++++++
|
|
||||||
10 files changed, 168 insertions(+), 82 deletions(-)
|
|
||||||
create mode 100644 test/fixedbugs/issue19182.go
|
|
||||||
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/deadcode.go b/src/cmd/compile/internal/ssa/deadcode.go
|
|
||||||
index d75d2d5..ce786a9 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/deadcode.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/deadcode.go
|
|
||||||
@@ -64,7 +64,7 @@ func liveValues(f *Func, reachable []bool) []bool {
|
|
||||||
q = append(q, v)
|
|
||||||
}
|
|
||||||
for _, v := range b.Values {
|
|
||||||
- if opcodeTable[v.Op].call && !live[v.ID] {
|
|
||||||
+ if (opcodeTable[v.Op].call || opcodeTable[v.Op].hasSideEffects) && !live[v.ID] {
|
|
||||||
live[v.ID] = true
|
|
||||||
q = append(q, v)
|
|
||||||
}
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/gen/AMD64Ops.go b/src/cmd/compile/internal/ssa/gen/AMD64Ops.go
|
|
||||||
index cdd5539..1b73ac1 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/gen/AMD64Ops.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/gen/AMD64Ops.go
|
|
||||||
@@ -548,15 +548,15 @@ func init() {
|
|
||||||
// store arg0 to arg1+auxint+aux, arg2=mem.
|
|
||||||
// These ops return a tuple of <old contents of *(arg1+auxint+aux), memory>.
|
|
||||||
// Note: arg0 and arg1 are backwards compared to MOVLstore (to facilitate resultInArg0)!
|
|
||||||
- {name: "XCHGL", argLength: 3, reg: gpstorexchg, asm: "XCHGL", aux: "SymOff", resultInArg0: true, faultOnNilArg1: true},
|
|
||||||
- {name: "XCHGQ", argLength: 3, reg: gpstorexchg, asm: "XCHGQ", aux: "SymOff", resultInArg0: true, faultOnNilArg1: true},
|
|
||||||
+ {name: "XCHGL", argLength: 3, reg: gpstorexchg, asm: "XCHGL", aux: "SymOff", resultInArg0: true, faultOnNilArg1: true, hasSideEffects: true},
|
|
||||||
+ {name: "XCHGQ", argLength: 3, reg: gpstorexchg, asm: "XCHGQ", aux: "SymOff", resultInArg0: true, faultOnNilArg1: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// Atomic adds.
|
|
||||||
// *(arg1+auxint+aux) += arg0. arg2=mem.
|
|
||||||
// Returns a tuple of <old contents of *(arg1+auxint+aux), memory>.
|
|
||||||
// Note: arg0 and arg1 are backwards compared to MOVLstore (to facilitate resultInArg0)!
|
|
||||||
- {name: "XADDLlock", argLength: 3, reg: gpstorexchg, asm: "XADDL", typ: "(UInt32,Mem)", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true},
|
|
||||||
- {name: "XADDQlock", argLength: 3, reg: gpstorexchg, asm: "XADDQ", typ: "(UInt64,Mem)", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true},
|
|
||||||
+ {name: "XADDLlock", argLength: 3, reg: gpstorexchg, asm: "XADDL", typ: "(UInt32,Mem)", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true, hasSideEffects: true},
|
|
||||||
+ {name: "XADDQlock", argLength: 3, reg: gpstorexchg, asm: "XADDQ", typ: "(UInt64,Mem)", aux: "SymOff", resultInArg0: true, clobberFlags: true, faultOnNilArg1: true, hasSideEffects: true},
|
|
||||||
{name: "AddTupleFirst32", argLength: 2}, // arg0=tuple <x,y>. Returns <x+arg1,y>.
|
|
||||||
{name: "AddTupleFirst64", argLength: 2}, // arg0=tuple <x,y>. Returns <x+arg1,y>.
|
|
||||||
|
|
||||||
@@ -579,12 +579,12 @@ func init() {
|
|
||||||
// JEQ ...
|
|
||||||
// but we can't do that because memory-using ops can't generate flags yet
|
|
||||||
// (flagalloc wants to move flag-generating instructions around).
|
|
||||||
- {name: "CMPXCHGLlock", argLength: 4, reg: cmpxchg, asm: "CMPXCHGL", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
- {name: "CMPXCHGQlock", argLength: 4, reg: cmpxchg, asm: "CMPXCHGQ", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "CMPXCHGLlock", argLength: 4, reg: cmpxchg, asm: "CMPXCHGL", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "CMPXCHGQlock", argLength: 4, reg: cmpxchg, asm: "CMPXCHGQ", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// Atomic memory updates.
|
|
||||||
- {name: "ANDBlock", argLength: 3, reg: gpstore, asm: "ANDB", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true}, // *(arg0+auxint+aux) &= arg1
|
|
||||||
- {name: "ORBlock", argLength: 3, reg: gpstore, asm: "ORB", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true}, // *(arg0+auxint+aux) |= arg1
|
|
||||||
+ {name: "ANDBlock", argLength: 3, reg: gpstore, asm: "ANDB", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true}, // *(arg0+auxint+aux) &= arg1
|
|
||||||
+ {name: "ORBlock", argLength: 3, reg: gpstore, asm: "ORB", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true}, // *(arg0+auxint+aux) |= arg1
|
|
||||||
}
|
|
||||||
|
|
||||||
var AMD64blocks = []blockData{
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/gen/ARM64Ops.go b/src/cmd/compile/internal/ssa/gen/ARM64Ops.go
|
|
||||||
index e8d5be2..0986ac6 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/gen/ARM64Ops.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/gen/ARM64Ops.go
|
|
||||||
@@ -456,16 +456,16 @@ func init() {
|
|
||||||
|
|
||||||
// atomic stores.
|
|
||||||
// store arg1 to arg0. arg2=mem. returns memory. auxint must be zero.
|
|
||||||
- {name: "STLR", argLength: 3, reg: gpstore, asm: "STLR", faultOnNilArg0: true},
|
|
||||||
- {name: "STLRW", argLength: 3, reg: gpstore, asm: "STLRW", faultOnNilArg0: true},
|
|
||||||
+ {name: "STLR", argLength: 3, reg: gpstore, asm: "STLR", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "STLRW", argLength: 3, reg: gpstore, asm: "STLRW", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic exchange.
|
|
||||||
// store arg1 to arg0. arg2=mem. returns <old content of *arg0, memory>. auxint must be zero.
|
|
||||||
// LDAXR (Rarg0), Rout
|
|
||||||
// STLXR Rarg1, (Rarg0), Rtmp
|
|
||||||
// CBNZ Rtmp, -2(PC)
|
|
||||||
- {name: "LoweredAtomicExchange64", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicExchange32", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicExchange64", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicExchange32", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic add.
|
|
||||||
// *arg0 += arg1. arg2=mem. returns <new content of *arg0, memory>. auxint must be zero.
|
|
||||||
@@ -473,8 +473,8 @@ func init() {
|
|
||||||
// ADD Rarg1, Rout
|
|
||||||
// STLXR Rout, (Rarg0), Rtmp
|
|
||||||
// CBNZ Rtmp, -3(PC)
|
|
||||||
- {name: "LoweredAtomicAdd64", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicAdd32", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicAdd64", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicAdd32", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic compare and swap.
|
|
||||||
// arg0 = pointer, arg1 = old value, arg2 = new value, arg3 = memory. auxint must be zero.
|
|
||||||
@@ -490,8 +490,8 @@ func init() {
|
|
||||||
// STLXR Rarg2, (Rarg0), Rtmp
|
|
||||||
// CBNZ Rtmp, -4(PC)
|
|
||||||
// CSET EQ, Rout
|
|
||||||
- {name: "LoweredAtomicCas64", argLength: 4, reg: gpcas, resultNotInArgs: true, clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicCas32", argLength: 4, reg: gpcas, resultNotInArgs: true, clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicCas64", argLength: 4, reg: gpcas, resultNotInArgs: true, clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicCas32", argLength: 4, reg: gpcas, resultNotInArgs: true, clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic and/or.
|
|
||||||
// *arg0 &= (|=) arg1. arg2=mem. returns memory. auxint must be zero.
|
|
||||||
@@ -499,8 +499,8 @@ func init() {
|
|
||||||
// AND/OR Rarg1, Rtmp
|
|
||||||
// STLXRB Rtmp, (Rarg0), Rtmp
|
|
||||||
// CBNZ Rtmp, -3(PC)
|
|
||||||
- {name: "LoweredAtomicAnd8", argLength: 3, reg: gpstore, asm: "AND", faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicOr8", argLength: 3, reg: gpstore, asm: "ORR", faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicAnd8", argLength: 3, reg: gpstore, asm: "AND", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicOr8", argLength: 3, reg: gpstore, asm: "ORR", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
}
|
|
||||||
|
|
||||||
blocks := []blockData{
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/gen/MIPSOps.go b/src/cmd/compile/internal/ssa/gen/MIPSOps.go
|
|
||||||
index 78b961f..3d88b71 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/gen/MIPSOps.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/gen/MIPSOps.go
|
|
||||||
@@ -267,8 +267,8 @@ func init() {
|
|
||||||
// SYNC
|
|
||||||
// MOVW Rarg1, (Rarg0)
|
|
||||||
// SYNC
|
|
||||||
- {name: "LoweredAtomicStore", argLength: 3, reg: gpstore, faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicStorezero", argLength: 2, reg: gpstore0, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicStore", argLength: 3, reg: gpstore, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicStorezero", argLength: 2, reg: gpstore0, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic exchange.
|
|
||||||
// store arg1 to arg0. arg2=mem. returns <old content of *arg0, memory>.
|
|
||||||
@@ -278,7 +278,7 @@ func init() {
|
|
||||||
// SC Rtmp, (Rarg0)
|
|
||||||
// BEQ Rtmp, -3(PC)
|
|
||||||
// SYNC
|
|
||||||
- {name: "LoweredAtomicExchange", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicExchange", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic add.
|
|
||||||
// *arg0 += arg1. arg2=mem. returns <new content of *arg0, memory>.
|
|
||||||
@@ -289,8 +289,8 @@ func init() {
|
|
||||||
// BEQ Rtmp, -3(PC)
|
|
||||||
// SYNC
|
|
||||||
// ADDU Rarg1, Rout
|
|
||||||
- {name: "LoweredAtomicAdd", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicAddconst", argLength: 2, reg: regInfo{inputs: []regMask{gpspsbg}, outputs: []regMask{gp}}, aux: "Int32", resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicAdd", argLength: 3, reg: gpxchg, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicAddconst", argLength: 2, reg: regInfo{inputs: []regMask{gpspsbg}, outputs: []regMask{gp}}, aux: "Int32", resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic compare and swap.
|
|
||||||
// arg0 = pointer, arg1 = old value, arg2 = new value, arg3 = memory.
|
|
||||||
@@ -308,7 +308,7 @@ func init() {
|
|
||||||
// SC Rout, (Rarg0)
|
|
||||||
// BEQ Rout, -4(PC)
|
|
||||||
// SYNC
|
|
||||||
- {name: "LoweredAtomicCas", argLength: 4, reg: gpcas, resultNotInArgs: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicCas", argLength: 4, reg: gpcas, resultNotInArgs: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// atomic and/or.
|
|
||||||
// *arg0 &= (|=) arg1. arg2=mem. returns memory.
|
|
||||||
@@ -318,8 +318,8 @@ func init() {
|
|
||||||
// SC Rtmp, (Rarg0)
|
|
||||||
// BEQ Rtmp, -3(PC)
|
|
||||||
// SYNC
|
|
||||||
- {name: "LoweredAtomicAnd", argLength: 3, reg: gpstore, asm: "AND", faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicOr", argLength: 3, reg: gpstore, asm: "OR", faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicAnd", argLength: 3, reg: gpstore, asm: "AND", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicOr", argLength: 3, reg: gpstore, asm: "OR", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// large or unaligned zeroing
|
|
||||||
// arg0 = address of memory to zero (in R1, changed as side effect)
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/gen/S390XOps.go b/src/cmd/compile/internal/ssa/gen/S390XOps.go
|
|
||||||
index 4c5f070..40ba252 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/gen/S390XOps.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/gen/S390XOps.go
|
|
||||||
@@ -429,14 +429,14 @@ func init() {
|
|
||||||
|
|
||||||
// Atomic stores. These are just normal stores.
|
|
||||||
// store arg1 to arg0+auxint+aux. arg2=mem.
|
|
||||||
- {name: "MOVWatomicstore", argLength: 3, reg: gpstore, asm: "MOVW", aux: "SymOff", typ: "Mem", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
- {name: "MOVDatomicstore", argLength: 3, reg: gpstore, asm: "MOVD", aux: "SymOff", typ: "Mem", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "MOVWatomicstore", argLength: 3, reg: gpstore, asm: "MOVW", aux: "SymOff", typ: "Mem", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "MOVDatomicstore", argLength: 3, reg: gpstore, asm: "MOVD", aux: "SymOff", typ: "Mem", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// Atomic adds.
|
|
||||||
// *(arg0+auxint+aux) += arg1. arg2=mem.
|
|
||||||
// Returns a tuple of <old contents of *(arg0+auxint+aux), memory>.
|
|
||||||
- {name: "LAA", argLength: 3, reg: gpstorelaa, asm: "LAA", typ: "(UInt32,Mem)", aux: "SymOff", faultOnNilArg0: true},
|
|
||||||
- {name: "LAAG", argLength: 3, reg: gpstorelaa, asm: "LAAG", typ: "(UInt64,Mem)", aux: "SymOff", faultOnNilArg0: true},
|
|
||||||
+ {name: "LAA", argLength: 3, reg: gpstorelaa, asm: "LAA", typ: "(UInt32,Mem)", aux: "SymOff", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LAAG", argLength: 3, reg: gpstorelaa, asm: "LAAG", typ: "(UInt64,Mem)", aux: "SymOff", faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
{name: "AddTupleFirst32", argLength: 2}, // arg0=tuple <x,y>. Returns <x+arg1,y>.
|
|
||||||
{name: "AddTupleFirst64", argLength: 2}, // arg0=tuple <x,y>. Returns <x+arg1,y>.
|
|
||||||
|
|
||||||
@@ -461,13 +461,13 @@ func init() {
|
|
||||||
// BEQ ...
|
|
||||||
// but we can't do that because memory-using ops can't generate flags yet
|
|
||||||
// (flagalloc wants to move flag-generating instructions around).
|
|
||||||
- {name: "LoweredAtomicCas32", argLength: 4, reg: cas, asm: "CS", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicCas64", argLength: 4, reg: cas, asm: "CSG", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicCas32", argLength: 4, reg: cas, asm: "CS", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicCas64", argLength: 4, reg: cas, asm: "CSG", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// Lowered atomic swaps, emulated using compare-and-swap.
|
|
||||||
// store arg1 to arg0+auxint+aux, arg2=mem.
|
|
||||||
- {name: "LoweredAtomicExchange32", argLength: 3, reg: exchange, asm: "CS", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
- {name: "LoweredAtomicExchange64", argLength: 3, reg: exchange, asm: "CSG", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true},
|
|
||||||
+ {name: "LoweredAtomicExchange32", argLength: 3, reg: exchange, asm: "CS", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
+ {name: "LoweredAtomicExchange64", argLength: 3, reg: exchange, asm: "CSG", aux: "SymOff", clobberFlags: true, faultOnNilArg0: true, hasSideEffects: true},
|
|
||||||
|
|
||||||
// find leftmost one
|
|
||||||
{
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/gen/genericOps.go b/src/cmd/compile/internal/ssa/gen/genericOps.go
|
|
||||||
index f39598e..3854a39 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/gen/genericOps.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/gen/genericOps.go
|
|
||||||
@@ -441,20 +441,20 @@ var genericOps = []opData{
|
|
||||||
// Atomic loads return a new memory so that the loads are properly ordered
|
|
||||||
// with respect to other loads and stores.
|
|
||||||
// TODO: use for sync/atomic at some point.
|
|
||||||
- {name: "AtomicLoad32", argLength: 2, typ: "(UInt32,Mem)"}, // Load from arg0. arg1=memory. Returns loaded value and new memory.
|
|
||||||
- {name: "AtomicLoad64", argLength: 2, typ: "(UInt64,Mem)"}, // Load from arg0. arg1=memory. Returns loaded value and new memory.
|
|
||||||
- {name: "AtomicLoadPtr", argLength: 2, typ: "(BytePtr,Mem)"}, // Load from arg0. arg1=memory. Returns loaded value and new memory.
|
|
||||||
- {name: "AtomicStore32", argLength: 3, typ: "Mem"}, // Store arg1 to *arg0. arg2=memory. Returns memory.
|
|
||||||
- {name: "AtomicStore64", argLength: 3, typ: "Mem"}, // Store arg1 to *arg0. arg2=memory. Returns memory.
|
|
||||||
- {name: "AtomicStorePtrNoWB", argLength: 3, typ: "Mem"}, // Store arg1 to *arg0. arg2=memory. Returns memory.
|
|
||||||
- {name: "AtomicExchange32", argLength: 3, typ: "(UInt32,Mem)"}, // Store arg1 to *arg0. arg2=memory. Returns old contents of *arg0 and new memory.
|
|
||||||
- {name: "AtomicExchange64", argLength: 3, typ: "(UInt64,Mem)"}, // Store arg1 to *arg0. arg2=memory. Returns old contents of *arg0 and new memory.
|
|
||||||
- {name: "AtomicAdd32", argLength: 3, typ: "(UInt32,Mem)"}, // Do *arg0 += arg1. arg2=memory. Returns sum and new memory.
|
|
||||||
- {name: "AtomicAdd64", argLength: 3, typ: "(UInt64,Mem)"}, // Do *arg0 += arg1. arg2=memory. Returns sum and new memory.
|
|
||||||
- {name: "AtomicCompareAndSwap32", argLength: 4, typ: "(Bool,Mem)"}, // if *arg0==arg1, then set *arg0=arg2. Returns true iff store happens and new memory.
|
|
||||||
- {name: "AtomicCompareAndSwap64", argLength: 4, typ: "(Bool,Mem)"}, // if *arg0==arg1, then set *arg0=arg2. Returns true iff store happens and new memory.
|
|
||||||
- {name: "AtomicAnd8", argLength: 3, typ: "Mem"}, // *arg0 &= arg1. arg2=memory. Returns memory.
|
|
||||||
- {name: "AtomicOr8", argLength: 3, typ: "Mem"}, // *arg0 |= arg1. arg2=memory. Returns memory.
|
|
||||||
+ {name: "AtomicLoad32", argLength: 2, typ: "(UInt32,Mem)"}, // Load from arg0. arg1=memory. Returns loaded value and new memory.
|
|
||||||
+ {name: "AtomicLoad64", argLength: 2, typ: "(UInt64,Mem)"}, // Load from arg0. arg1=memory. Returns loaded value and new memory.
|
|
||||||
+ {name: "AtomicLoadPtr", argLength: 2, typ: "(BytePtr,Mem)"}, // Load from arg0. arg1=memory. Returns loaded value and new memory.
|
|
||||||
+ {name: "AtomicStore32", argLength: 3, typ: "Mem", hasSideEffects: true}, // Store arg1 to *arg0. arg2=memory. Returns memory.
|
|
||||||
+ {name: "AtomicStore64", argLength: 3, typ: "Mem", hasSideEffects: true}, // Store arg1 to *arg0. arg2=memory. Returns memory.
|
|
||||||
+ {name: "AtomicStorePtrNoWB", argLength: 3, typ: "Mem", hasSideEffects: true}, // Store arg1 to *arg0. arg2=memory. Returns memory.
|
|
||||||
+ {name: "AtomicExchange32", argLength: 3, typ: "(UInt32,Mem)", hasSideEffects: true}, // Store arg1 to *arg0. arg2=memory. Returns old contents of *arg0 and new memory.
|
|
||||||
+ {name: "AtomicExchange64", argLength: 3, typ: "(UInt64,Mem)", hasSideEffects: true}, // Store arg1 to *arg0. arg2=memory. Returns old contents of *arg0 and new memory.
|
|
||||||
+ {name: "AtomicAdd32", argLength: 3, typ: "(UInt32,Mem)", hasSideEffects: true}, // Do *arg0 += arg1. arg2=memory. Returns sum and new memory.
|
|
||||||
+ {name: "AtomicAdd64", argLength: 3, typ: "(UInt64,Mem)", hasSideEffects: true}, // Do *arg0 += arg1. arg2=memory. Returns sum and new memory.
|
|
||||||
+ {name: "AtomicCompareAndSwap32", argLength: 4, typ: "(Bool,Mem)", hasSideEffects: true}, // if *arg0==arg1, then set *arg0=arg2. Returns true iff store happens and new memory.
|
|
||||||
+ {name: "AtomicCompareAndSwap64", argLength: 4, typ: "(Bool,Mem)", hasSideEffects: true}, // if *arg0==arg1, then set *arg0=arg2. Returns true iff store happens and new memory.
|
|
||||||
+ {name: "AtomicAnd8", argLength: 3, typ: "Mem", hasSideEffects: true}, // *arg0 &= arg1. arg2=memory. Returns memory.
|
|
||||||
+ {name: "AtomicOr8", argLength: 3, typ: "Mem", hasSideEffects: true}, // *arg0 |= arg1. arg2=memory. Returns memory.
|
|
||||||
}
|
|
||||||
|
|
||||||
// kind control successors implicit exit
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/gen/main.go b/src/cmd/compile/internal/ssa/gen/main.go
|
|
||||||
index 41199f7..19b904a 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/gen/main.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/gen/main.go
|
|
||||||
@@ -52,6 +52,7 @@ type opData struct {
|
|
||||||
faultOnNilArg0 bool // this op will fault if arg0 is nil (and aux encodes a small offset)
|
|
||||||
faultOnNilArg1 bool // this op will fault if arg1 is nil (and aux encodes a small offset)
|
|
||||||
usesScratch bool // this op requires scratch memory space
|
|
||||||
+ hasSideEffects bool // for "reasons", not to be eliminated. E.g., atomic store, #19182.
|
|
||||||
}
|
|
||||||
|
|
||||||
type blockData struct {
|
|
||||||
@@ -208,6 +209,9 @@ func genOp() {
|
|
||||||
if v.usesScratch {
|
|
||||||
fmt.Fprintln(w, "usesScratch: true,")
|
|
||||||
}
|
|
||||||
+ if v.hasSideEffects {
|
|
||||||
+ fmt.Fprintln(w, "hasSideEffects: true,")
|
|
||||||
+ }
|
|
||||||
if a.name == "generic" {
|
|
||||||
fmt.Fprintln(w, "generic:true,")
|
|
||||||
fmt.Fprintln(w, "},") // close op
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/op.go b/src/cmd/compile/internal/ssa/op.go
|
|
||||||
index 4c3164f..37b2f74 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/op.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/op.go
|
|
||||||
@@ -34,6 +34,7 @@ type opInfo struct {
|
|
||||||
faultOnNilArg0 bool // this op will fault if arg0 is nil (and aux encodes a small offset)
|
|
||||||
faultOnNilArg1 bool // this op will fault if arg1 is nil (and aux encodes a small offset)
|
|
||||||
usesScratch bool // this op requires scratch memory space
|
|
||||||
+ hasSideEffects bool // for "reasons", not to be eliminated. E.g., atomic store, #19182.
|
|
||||||
}
|
|
||||||
|
|
||||||
type inputInfo struct {
|
|
||||||
diff --git a/src/cmd/compile/internal/ssa/opGen.go b/src/cmd/compile/internal/ssa/opGen.go
|
|
||||||
index 26bcbe0..7a96216 100644
|
|
||||||
--- a/src/cmd/compile/internal/ssa/opGen.go
|
|
||||||
+++ b/src/cmd/compile/internal/ssa/opGen.go
|
|
||||||
@@ -7632,6 +7632,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultInArg0: true,
|
|
||||||
faultOnNilArg1: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.AXCHGL,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -7649,6 +7650,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultInArg0: true,
|
|
||||||
faultOnNilArg1: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.AXCHGQ,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -7667,6 +7669,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
resultInArg0: true,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg1: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.AXADDL,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -7685,6 +7688,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
resultInArg0: true,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg1: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.AXADDQ,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -7712,6 +7716,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 4,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.ACMPXCHGL,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -7732,6 +7737,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 4,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.ACMPXCHGQ,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -7752,6 +7758,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.AANDB,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -7766,6 +7773,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: x86.AORB,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -12982,6 +12990,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "STLR",
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: arm64.ASTLR,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -12994,6 +13003,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "STLRW",
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: arm64.ASTLRW,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -13007,6 +13017,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 805044223}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 g R30
|
|
||||||
@@ -13022,6 +13033,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 805044223}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 g R30
|
|
||||||
@@ -13037,6 +13049,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 805044223}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 g R30
|
|
||||||
@@ -13052,6 +13065,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 805044223}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 g R30
|
|
||||||
@@ -13068,6 +13082,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
resultNotInArgs: true,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 805044223}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 g R30
|
|
||||||
@@ -13085,6 +13100,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
resultNotInArgs: true,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 805044223}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 g R30
|
|
||||||
@@ -13100,6 +13116,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "LoweredAtomicAnd8",
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: arm64.AAND,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -13112,6 +13129,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "LoweredAtomicOr8",
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: arm64.AORR,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -14302,6 +14320,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "LoweredAtomicStore",
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 469762046}, // R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R24 R25 R28 g R31
|
|
||||||
@@ -14313,6 +14332,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "LoweredAtomicStorezero",
|
|
||||||
argLen: 2,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{0, 140738025226238}, // R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R24 R25 R28 SP g R31 SB
|
|
||||||
@@ -14324,6 +14344,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 469762046}, // R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R24 R25 R28 g R31
|
|
||||||
@@ -14339,6 +14360,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 469762046}, // R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R24 R25 R28 g R31
|
|
||||||
@@ -14355,6 +14377,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 2,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{0, 140738025226238}, // R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R24 R25 R28 SP g R31 SB
|
|
||||||
@@ -14369,6 +14392,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 4,
|
|
||||||
resultNotInArgs: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
{1, 469762046}, // R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R24 R25 R28 g R31
|
|
||||||
@@ -14384,6 +14408,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "LoweredAtomicAnd",
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: mips.AAND,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -14396,6 +14421,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
name: "LoweredAtomicOr",
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: mips.AOR,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19839,6 +19865,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.AMOVW,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19853,6 +19880,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.AMOVD,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19866,6 +19894,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
auxType: auxSymOff,
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.ALAA,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19882,6 +19911,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
auxType: auxSymOff,
|
|
||||||
argLen: 3,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.ALAAG,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19909,6 +19939,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 4,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.ACS,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19929,6 +19960,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 4,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.ACSG,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19949,6 +19981,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.ACS,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -19967,6 +20000,7 @@ var opcodeTable = [...]opInfo{
|
|
||||||
argLen: 3,
|
|
||||||
clobberFlags: true,
|
|
||||||
faultOnNilArg0: true,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
asm: s390x.ACSG,
|
|
||||||
reg: regInfo{
|
|
||||||
inputs: []inputInfo{
|
|
||||||
@@ -21738,59 +21772,70 @@ var opcodeTable = [...]opInfo{
|
|
||||||
generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicStore32",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicStore32",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicStore64",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicStore64",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicStorePtrNoWB",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicStorePtrNoWB",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicExchange32",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicExchange32",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicExchange64",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicExchange64",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicAdd32",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicAdd32",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicAdd64",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicAdd64",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicCompareAndSwap32",
|
|
||||||
- argLen: 4,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicCompareAndSwap32",
|
|
||||||
+ argLen: 4,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicCompareAndSwap64",
|
|
||||||
- argLen: 4,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicCompareAndSwap64",
|
|
||||||
+ argLen: 4,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicAnd8",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicAnd8",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
- name: "AtomicOr8",
|
|
||||||
- argLen: 3,
|
|
||||||
- generic: true,
|
|
||||||
+ name: "AtomicOr8",
|
|
||||||
+ argLen: 3,
|
|
||||||
+ hasSideEffects: true,
|
|
||||||
+ generic: true,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/test/fixedbugs/issue19182.go b/test/fixedbugs/issue19182.go
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..3a90ff4
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/test/fixedbugs/issue19182.go
|
|
||||||
@@ -0,0 +1,36 @@
|
|
||||||
+// run
|
|
||||||
+
|
|
||||||
+// Copyright 2017 The Go Authors. All rights reserved.
|
|
||||||
+// Use of this source code is governed by a BSD-style
|
|
||||||
+// license that can be found in the LICENSE file.
|
|
||||||
+
|
|
||||||
+package main
|
|
||||||
+
|
|
||||||
+import (
|
|
||||||
+ "fmt"
|
|
||||||
+ "runtime"
|
|
||||||
+ "sync/atomic"
|
|
||||||
+ "time"
|
|
||||||
+)
|
|
||||||
+
|
|
||||||
+var a uint64 = 0
|
|
||||||
+
|
|
||||||
+func main() {
|
|
||||||
+ runtime.GOMAXPROCS(2) // With just 1, infinite loop never yields
|
|
||||||
+
|
|
||||||
+ go func() {
|
|
||||||
+ for {
|
|
||||||
+ atomic.AddUint64(&a, uint64(1))
|
|
||||||
+ }
|
|
||||||
+ }()
|
|
||||||
+
|
|
||||||
+ time.Sleep(10 * time.Millisecond) // Short sleep is enough in passing case
|
|
||||||
+ i, val := 0, atomic.LoadUint64(&a)
|
|
||||||
+ for ; val == 0 && i < 100; val, i = atomic.LoadUint64(&a), i+1 {
|
|
||||||
+ time.Sleep(100 * time.Millisecond)
|
|
||||||
+ }
|
|
||||||
+ if val == 0 {
|
|
||||||
+ fmt.Printf("Failed to observe atomic increment after %d tries\n", i)
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+}
|
|
||||||
--
|
|
||||||
2.10.2
|
|
||||||
|
|
@ -1,221 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
export CBUILD=${CBUILD:-${CHOST}}
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
MY_PV=${PV/_/}
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
|
||||||
SRC_URI="!gccgo? (
|
|
||||||
kernel_Darwin? (
|
|
||||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-bootstrap.tbz )
|
|
||||||
)
|
|
||||||
kernel_FreeBSD? (
|
|
||||||
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-bootstrap.tbz )
|
|
||||||
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-bootstrap-1.tbz )
|
|
||||||
)
|
|
||||||
kernel_linux? (
|
|
||||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-bootstrap.tbz )
|
|
||||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-bootstrap.tbz )
|
|
||||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-bootstrap.tbz )
|
|
||||||
ppc64? (
|
|
||||||
${BOOTSTRAP_DIST}/go-linux-ppc64-bootstrap.tbz
|
|
||||||
${BOOTSTRAP_DIST}/go-linux-ppc64le-bootstrap.tbz
|
|
||||||
)
|
|
||||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-bootstrap.tbz )
|
|
||||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-bootstrap-1.tbz )
|
|
||||||
)
|
|
||||||
kernel_SunOS? (
|
|
||||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-bootstrap.tbz )
|
|
||||||
)
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
if [[ ${PV} = 9999 ]]; then
|
|
||||||
EGIT_REPO_URI="git://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI+="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz"
|
|
||||||
case ${PV} in
|
|
||||||
*9999*|*_rc*) ;;
|
|
||||||
*)
|
|
||||||
KEYWORDS="-* amd64 arm arm64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="http://www.golang.org"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
IUSE="gccgo"
|
|
||||||
|
|
||||||
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
|
|
||||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
|
||||||
|
|
||||||
# These test data objects have writable/executable stacks.
|
|
||||||
QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
|
|
||||||
|
|
||||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
|
||||||
QA_FLAGS_IGNORED='.*'
|
|
||||||
|
|
||||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
|
||||||
# stripped. The test data objects should also be left alone and unstripped.
|
|
||||||
STRIP_MASK="/usr/lib/go/pkg/*.a
|
|
||||||
/usr/lib/go/src/debug/elf/testdata/*
|
|
||||||
/usr/lib/go/src/debug/dwarf/testdata/*
|
|
||||||
/usr/lib/go/src/runtime/race/*.syso"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
fi
|
|
||||||
|
|
||||||
go_arch()
|
|
||||||
{
|
|
||||||
# By chance most portage arch names match Go
|
|
||||||
local portage_arch=$(tc-arch $@)
|
|
||||||
case "${portage_arch}" in
|
|
||||||
x86) echo 386;;
|
|
||||||
x64-*) echo amd64;;
|
|
||||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
|
||||||
s390) echo s390x ;;
|
|
||||||
*) echo "${portage_arch}";;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_arm()
|
|
||||||
{
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
armv5*) echo 5;;
|
|
||||||
armv6*) echo 6;;
|
|
||||||
armv7*) echo 7;;
|
|
||||||
*)
|
|
||||||
die "unknown GOARM for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_os()
|
|
||||||
{
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
*-linux*) echo linux;;
|
|
||||||
*-darwin*) echo darwin;;
|
|
||||||
*-freebsd*) echo freebsd;;
|
|
||||||
*-netbsd*) echo netbsd;;
|
|
||||||
*-openbsd*) echo openbsd;;
|
|
||||||
*-solaris*) echo solaris;;
|
|
||||||
*-cygwin*|*-interix*|*-winnt*)
|
|
||||||
echo windows
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "unknown GOOS for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_tuple()
|
|
||||||
{
|
|
||||||
echo "$(go_os $@)_$(go_arch $@)"
|
|
||||||
}
|
|
||||||
|
|
||||||
go_cross_compile()
|
|
||||||
{
|
|
||||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend()
|
|
||||||
{
|
|
||||||
# make.bash does not understand cross-compiling a cross-compiler
|
|
||||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
|
||||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack()
|
|
||||||
{
|
|
||||||
if [[ ${PV} = 9999 ]]; then
|
|
||||||
git-r3_src_unpack
|
|
||||||
fi
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile()
|
|
||||||
{
|
|
||||||
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
|
||||||
if use gccgo; then
|
|
||||||
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
|
|
||||||
local go_binary=$(gcc-config --get-bin-path)/go-5
|
|
||||||
[[ -x ${go_binary} ]] || go_binary=$(
|
|
||||||
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-5 | sort -V | tail -n1)
|
|
||||||
[[ -x ${go_binary} ]] || die "go-5: command not found"
|
|
||||||
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
|
|
||||||
fi
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="$(pwd)"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
|
|
||||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
|
||||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
|
||||||
export GOHOSTOS=$(go_os ${CBUILD})
|
|
||||||
export CC=$(tc-getBUILD_CC)
|
|
||||||
|
|
||||||
export GOARCH=$(go_arch)
|
|
||||||
export GOOS=$(go_os)
|
|
||||||
export CC_FOR_TARGET=$(tc-getCC)
|
|
||||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
|
||||||
if [[ ${ARCH} == arm ]]; then
|
|
||||||
export GOARM=$(go_arm)
|
|
||||||
fi
|
|
||||||
einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
|
|
||||||
|
|
||||||
cd src
|
|
||||||
./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test()
|
|
||||||
{
|
|
||||||
go_cross_compile && return 0
|
|
||||||
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash -no-rebuild || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install()
|
|
||||||
{
|
|
||||||
local bin_path f x
|
|
||||||
|
|
||||||
dodir /usr/lib/go
|
|
||||||
insinto /usr/lib/go
|
|
||||||
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
doins -r bin doc lib pkg src
|
|
||||||
fperms -R +x /usr/lib/go/bin /usr/lib/go/pkg/tool
|
|
||||||
|
|
||||||
cp -a misc "${D}"/usr/lib/go/misc
|
|
||||||
|
|
||||||
if go_cross_compile; then
|
|
||||||
bin_path="bin/$(go_tuple)"
|
|
||||||
else
|
|
||||||
bin_path=bin
|
|
||||||
fi
|
|
||||||
for x in ${bin_path}/*; do
|
|
||||||
f=${x##*/}
|
|
||||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
|
||||||
done
|
|
||||||
dodoc AUTHORS CONTRIBUTORS PATENTS README.md
|
|
||||||
}
|
|
@ -1,231 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
export CBUILD=${CBUILD:-${CHOST}}
|
|
||||||
export CTARGET=${CTARGET:-${CHOST}}
|
|
||||||
|
|
||||||
MY_PV=${PV/_/}
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
|
|
||||||
BOOTSTRAP_VERSION="bootstrap-1.8"
|
|
||||||
BOOTSTRAP_URI="
|
|
||||||
amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
ppc64? (
|
|
||||||
${BOOTSTRAP_DIST}/go-linux-ppc64-${BOOTSTRAP_VERSION}.tbz
|
|
||||||
${BOOTSTRAP_DIST}/go-linux-ppc64le-${BOOTSTRAP_VERSION}.tbz
|
|
||||||
)
|
|
||||||
s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
x86? ( ${BOOTSTRAP_DIST}/go-linux-386-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-${BOOTSTRAP_VERSION}.tbz )
|
|
||||||
"
|
|
||||||
|
|
||||||
case ${PV} in
|
|
||||||
*9999*)
|
|
||||||
EGIT_REPO_URI="git://github.com/golang/go.git"
|
|
||||||
inherit git-r3
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
|
|
||||||
S="${WORKDIR}"/go
|
|
||||||
case ${PV} in
|
|
||||||
*_beta*|*_rc*) ;;
|
|
||||||
*)
|
|
||||||
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris"
|
|
||||||
# The upstream tests fail under portage but pass if the build is
|
|
||||||
# run according to their documentation [1].
|
|
||||||
# I am restricting the tests on released versions until this is
|
|
||||||
# solved.
|
|
||||||
# [1] https://golang.org/issues/18442
|
|
||||||
RESTRICT="test"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
esac
|
|
||||||
SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )"
|
|
||||||
|
|
||||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
|
||||||
HOMEPAGE="http://www.golang.org"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
IUSE="gccgo"
|
|
||||||
|
|
||||||
DEPEND="gccgo? ( >=sys-devel/gcc-5[go] )"
|
|
||||||
RDEPEND="!<dev-go/go-tools-0_pre20150902"
|
|
||||||
|
|
||||||
# These test data objects have writable/executable stacks.
|
|
||||||
QA_EXECSTACK="
|
|
||||||
usr/lib/go/src/debug/elf/testdata/*.obj
|
|
||||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/unicode.gox
|
|
||||||
usr/lib/go/src/go/internal/gccgoimporter/testdata/time.gox
|
|
||||||
"
|
|
||||||
|
|
||||||
# Do not complain about CFLAGS, etc, since Go doesn't use them.
|
|
||||||
QA_FLAGS_IGNORED='.*'
|
|
||||||
|
|
||||||
REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
|
|
||||||
|
|
||||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
|
||||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
|
||||||
|
|
||||||
# Do not strip this package. Stripping is unsupported upstream and may
|
|
||||||
# fail.
|
|
||||||
RESTRICT+=" strip"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
AUTHORS
|
|
||||||
CONTRIBUTING.md
|
|
||||||
CONTRIBUTORS
|
|
||||||
PATENTS
|
|
||||||
README.md
|
|
||||||
)
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PV}-cmd-compile-add-opcode-flag-hasSideEffects-for-do-no.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
go_arch()
|
|
||||||
{
|
|
||||||
# By chance most portage arch names match Go
|
|
||||||
local portage_arch=$(tc-arch $@)
|
|
||||||
case "${portage_arch}" in
|
|
||||||
x86) echo 386;;
|
|
||||||
x64-*) echo amd64;;
|
|
||||||
ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
|
|
||||||
s390) echo s390x ;;
|
|
||||||
*) echo "${portage_arch}";;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_arm()
|
|
||||||
{
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
armv5*) echo 5;;
|
|
||||||
armv6*) echo 6;;
|
|
||||||
armv7*) echo 7;;
|
|
||||||
*)
|
|
||||||
die "unknown GOARM for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_os()
|
|
||||||
{
|
|
||||||
case "${1:-${CHOST}}" in
|
|
||||||
*-linux*) echo linux;;
|
|
||||||
*-darwin*) echo darwin;;
|
|
||||||
*-freebsd*) echo freebsd;;
|
|
||||||
*-netbsd*) echo netbsd;;
|
|
||||||
*-openbsd*) echo openbsd;;
|
|
||||||
*-solaris*) echo solaris;;
|
|
||||||
*-cygwin*|*-interix*|*-winnt*)
|
|
||||||
echo windows
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "unknown GOOS for ${1:-${CHOST}}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
go_tuple()
|
|
||||||
{
|
|
||||||
echo "$(go_os $@)_$(go_arch $@)"
|
|
||||||
}
|
|
||||||
|
|
||||||
go_cross_compile()
|
|
||||||
{
|
|
||||||
[[ $(go_tuple ${CBUILD}) != $(go_tuple) ]]
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_pretend()
|
|
||||||
{
|
|
||||||
# make.bash does not understand cross-compiling a cross-compiler
|
|
||||||
if [[ $(go_tuple) != $(go_tuple ${CTARGET}) ]]; then
|
|
||||||
die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack()
|
|
||||||
{
|
|
||||||
if [[ ${PV} = 9999 ]]; then
|
|
||||||
git-r3_src_unpack
|
|
||||||
fi
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile()
|
|
||||||
{
|
|
||||||
export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap
|
|
||||||
if use gccgo; then
|
|
||||||
mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die
|
|
||||||
local go_binary=$(gcc-config --get-bin-path)/go-$(gcc-major-version)
|
|
||||||
[[ -x ${go_binary} ]] || go_binary=$(
|
|
||||||
find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-$(gcc-major-version) |
|
|
||||||
sort -V | tail -n1)
|
|
||||||
[[ -x ${go_binary} ]] ||
|
|
||||||
die "go-$(gcc-major-version): command not found"
|
|
||||||
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
|
|
||||||
fi
|
|
||||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
|
||||||
export GOROOT="$(pwd)"
|
|
||||||
export GOBIN="${GOROOT}/bin"
|
|
||||||
|
|
||||||
# Go's build script does not use BUILD/HOST/TARGET consistently. :(
|
|
||||||
export GOHOSTARCH=$(go_arch ${CBUILD})
|
|
||||||
export GOHOSTOS=$(go_os ${CBUILD})
|
|
||||||
export CC=$(tc-getBUILD_CC)
|
|
||||||
|
|
||||||
export GOARCH=$(go_arch)
|
|
||||||
export GOOS=$(go_os)
|
|
||||||
export CC_FOR_TARGET=$(tc-getCC)
|
|
||||||
export CXX_FOR_TARGET=$(tc-getCXX)
|
|
||||||
if [[ ${ARCH} == arm ]]; then
|
|
||||||
export GOARM=$(go_arm)
|
|
||||||
fi
|
|
||||||
einfo "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}"
|
|
||||||
|
|
||||||
cd src
|
|
||||||
./make.bash || die "build failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test()
|
|
||||||
{
|
|
||||||
go_cross_compile && return 0
|
|
||||||
|
|
||||||
cd src
|
|
||||||
PATH="${GOBIN}:${PATH}" \
|
|
||||||
./run.bash -no-rebuild || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install()
|
|
||||||
{
|
|
||||||
local bin_path f x
|
|
||||||
|
|
||||||
dodir /usr/lib/go
|
|
||||||
|
|
||||||
# There is a known issue which requires the source tree to be installed [1].
|
|
||||||
# Once this is fixed, we can consider using the doc use flag to control
|
|
||||||
# installing the doc and src directories.
|
|
||||||
# [1] https://golang.org/issue/2775
|
|
||||||
#
|
|
||||||
# deliberately use cp to retain permissions
|
|
||||||
cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go
|
|
||||||
if go_cross_compile; then
|
|
||||||
bin_path="bin/$(go_tuple)"
|
|
||||||
else
|
|
||||||
bin_path=bin
|
|
||||||
fi
|
|
||||||
for x in ${bin_path}/*; do
|
|
||||||
f=${x##*/}
|
|
||||||
dosym ../lib/go/${bin_path}/${f} /usr/bin/${f}
|
|
||||||
done
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
@ -0,0 +1,738 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit flag-o-matic versionator systemd
|
||||||
|
|
||||||
|
DESCRIPTION="The PHP language runtime engine"
|
||||||
|
HOMEPAGE="http://php.net/"
|
||||||
|
SRC_URI="http://php.net/distributions/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="PHP-3.01
|
||||||
|
BSD
|
||||||
|
Zend-2.0
|
||||||
|
bcmath? ( LGPL-2.1+ )
|
||||||
|
fpm? ( BSD-2 )
|
||||||
|
gd? ( gd )
|
||||||
|
unicode? ( BSD-2 LGPL-2.1 )"
|
||||||
|
|
||||||
|
SLOT="$(get_version_component_range 1-2)"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||||
|
|
||||||
|
# We can build the following SAPIs in the given order
|
||||||
|
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||||
|
|
||||||
|
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||||
|
IUSE="${IUSE}
|
||||||
|
${SAPIS/cli/+cli}
|
||||||
|
threads"
|
||||||
|
|
||||||
|
IUSE="${IUSE} acl bcmath berkdb bzip2 calendar cdb cjk
|
||||||
|
coverage crypt +ctype curl debug
|
||||||
|
enchant exif +fileinfo +filter firebird
|
||||||
|
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||||
|
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libressl
|
||||||
|
mhash mssql mysql mysqli nls
|
||||||
|
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||||
|
readline recode selinux +session sharedmem
|
||||||
|
+simplexml snmp soap sockets spell sqlite ssl
|
||||||
|
sysvipc systemd test tidy +tokenizer truetype unicode wddx webp
|
||||||
|
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||||
|
|
||||||
|
# The supported (that is, autodetected) versions of BDB are listed in
|
||||||
|
# the ./configure script. Other versions *work*, but we need to stick to
|
||||||
|
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||||
|
>=dev-libs/libpcre-8.32[unicode]
|
||||||
|
acl? ( sys-apps/acl )
|
||||||
|
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||||
|
<www-servers/apache-2.4[threads=] ) )
|
||||||
|
berkdb? ( || ( sys-libs/db:5.3
|
||||||
|
sys-libs/db:5.1
|
||||||
|
sys-libs/db:4.8
|
||||||
|
sys-libs/db:4.7
|
||||||
|
sys-libs/db:4.6
|
||||||
|
sys-libs/db:4.5 ) )
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||||
|
cjk? ( !gd? (
|
||||||
|
virtual/jpeg:0
|
||||||
|
media-libs/libpng:0=
|
||||||
|
sys-libs/zlib
|
||||||
|
) )
|
||||||
|
coverage? ( dev-util/lcov )
|
||||||
|
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||||
|
curl? ( >=net-misc/curl-7.10.5 )
|
||||||
|
enchant? ( app-text/enchant )
|
||||||
|
exif? ( !gd? (
|
||||||
|
virtual/jpeg:0
|
||||||
|
media-libs/libpng:0=
|
||||||
|
sys-libs/zlib
|
||||||
|
) )
|
||||||
|
firebird? ( dev-db/firebird )
|
||||||
|
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||||
|
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||||
|
gmp? ( dev-libs/gmp:0 )
|
||||||
|
iconv? ( virtual/libiconv )
|
||||||
|
imap? ( virtual/imap-c-client[kerberos=,ssl=] )
|
||||||
|
intl? ( dev-libs/icu:= )
|
||||||
|
iodbc? ( dev-db/libiodbc )
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||||
|
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||||
|
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||||
|
mssql? ( dev-db/freetds[mssql] )
|
||||||
|
nls? ( sys-devel/gettext )
|
||||||
|
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||||
|
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||||
|
postgres? ( dev-db/postgresql:* )
|
||||||
|
qdbm? ( dev-db/qdbm )
|
||||||
|
readline? ( sys-libs/readline:0= )
|
||||||
|
recode? ( app-text/recode )
|
||||||
|
sharedmem? ( dev-libs/mm )
|
||||||
|
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||||
|
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||||
|
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||||
|
spell? ( >=app-text/aspell-0.50 )
|
||||||
|
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( dev-libs/openssl:0 )
|
||||||
|
libressl? ( dev-libs/libressl )
|
||||||
|
)
|
||||||
|
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
|
||||||
|
truetype? (
|
||||||
|
=media-libs/freetype-2*
|
||||||
|
!gd? (
|
||||||
|
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||||
|
)
|
||||||
|
unicode? ( dev-libs/oniguruma )
|
||||||
|
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||||
|
webp? ( media-libs/libwebp )
|
||||||
|
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||||
|
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||||
|
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||||
|
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||||
|
xpm? (
|
||||||
|
x11-libs/libXpm
|
||||||
|
virtual/jpeg:0
|
||||||
|
media-libs/libpng:0= sys-libs/zlib
|
||||||
|
)
|
||||||
|
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||||
|
zip? ( sys-libs/zlib )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
virtual/mta
|
||||||
|
fpm? (
|
||||||
|
selinux? ( sec-policy/selinux-phpfpm )
|
||||||
|
systemd? ( sys-apps/systemd ) )"
|
||||||
|
|
||||||
|
# Bison isn't actually needed when building from a release tarball
|
||||||
|
# However, the configure script will warn if it's absent or if you
|
||||||
|
# have an incompatible version installed. See bug 593278.
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
>=sys-devel/bison-3.0.1"
|
||||||
|
|
||||||
|
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||||
|
REQUIRED_USE="
|
||||||
|
cli? ( ^^ ( readline libedit ) )
|
||||||
|
truetype? ( gd )
|
||||||
|
webp? ( gd )
|
||||||
|
cjk? ( gd )
|
||||||
|
exif? ( gd )
|
||||||
|
xpm? ( gd )
|
||||||
|
gd? ( zlib )
|
||||||
|
simplexml? ( xml )
|
||||||
|
soap? ( xml )
|
||||||
|
wddx? ( xml )
|
||||||
|
xmlrpc? ( || ( xml iconv ) )
|
||||||
|
xmlreader? ( xml )
|
||||||
|
xslt? ( xml )
|
||||||
|
ldap-sasl? ( ldap )
|
||||||
|
mhash? ( hash )
|
||||||
|
phar? ( hash )
|
||||||
|
qdbm? ( !gdbm )
|
||||||
|
readline? ( !libedit )
|
||||||
|
recode? ( !imap !mysqli )
|
||||||
|
sharedmem? ( !threads )
|
||||||
|
mysql? ( || ( mysqli pdo ) )
|
||||||
|
|| ( cli cgi fpm apache2 embed phpdbg )"
|
||||||
|
|
||||||
|
PHP_MV="$(get_major_version)"
|
||||||
|
|
||||||
|
php_install_ini() {
|
||||||
|
local phpsapi="${1}"
|
||||||
|
|
||||||
|
# work out where we are installing the ini file
|
||||||
|
php_set_ini_dir "${phpsapi}"
|
||||||
|
|
||||||
|
# Always install the production INI file, bug 611214.
|
||||||
|
local phpinisrc="php.ini-production-${phpsapi}"
|
||||||
|
cp php.ini-production "${phpinisrc}" || die
|
||||||
|
|
||||||
|
# default to /tmp for save_path, bug #282768
|
||||||
|
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||||
|
|
||||||
|
# Set the extension dir
|
||||||
|
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||||
|
-i "${phpinisrc}" || die
|
||||||
|
|
||||||
|
# Set the include path to point to where we want to find PEAR packages
|
||||||
|
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||||
|
|
||||||
|
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||||
|
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||||
|
newins "${phpinisrc}" php.ini
|
||||||
|
|
||||||
|
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||||
|
elog
|
||||||
|
|
||||||
|
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||||
|
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||||
|
|
||||||
|
if use opcache; then
|
||||||
|
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||||
|
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||||
|
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||||
|
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
|
||||||
|
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# SAPI-specific handling
|
||||||
|
if [[ "${sapi}" == "fpm" ]] ; then
|
||||||
|
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||||
|
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||||
|
doins sapi/fpm/php-fpm.conf
|
||||||
|
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||||
|
doins sapi/fpm/www.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodoc php.ini-{development,production}
|
||||||
|
}
|
||||||
|
|
||||||
|
php_set_ini_dir() {
|
||||||
|
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||||
|
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||||
|
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# In php-7.x, the FPM pool configuration files have been split off
|
||||||
|
# of the main config. By default the pool config files go in
|
||||||
|
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||||
|
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||||
|
# we'll install the pool configuration file "www.conf" there.
|
||||||
|
php_set_ini_dir fpm
|
||||||
|
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||||
|
sapi/fpm/php-fpm.conf.in \
|
||||||
|
|| die 'failed to move the include directory in php-fpm.conf'
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
addpredict /usr/share/snmp/mibs/.index
|
||||||
|
addpredict /var/lib/net-snmp/mib_indexes
|
||||||
|
|
||||||
|
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||||
|
|
||||||
|
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||||
|
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||||
|
local our_conf=(
|
||||||
|
--prefix="${PHP_DESTDIR}"
|
||||||
|
--mandir="${PHP_DESTDIR}/man"
|
||||||
|
--infodir="${PHP_DESTDIR}/info"
|
||||||
|
--libdir="${PHP_DESTDIR}/lib"
|
||||||
|
--with-libdir="$(get_libdir)"
|
||||||
|
--localstatedir="${EPREFIX}/var"
|
||||||
|
--without-pear
|
||||||
|
$(use_enable threads maintainer-zts)
|
||||||
|
)
|
||||||
|
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with acl fpm-acl)
|
||||||
|
$(use_enable bcmath bcmath)
|
||||||
|
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||||
|
$(use_enable calendar calendar)
|
||||||
|
$(use_enable coverage gcov)
|
||||||
|
$(use_enable ctype ctype)
|
||||||
|
$(use_with curl curl "${EPREFIX}/usr")
|
||||||
|
$(use_enable xml dom)
|
||||||
|
$(use_with enchant enchant "${EPREFIX}/usr")
|
||||||
|
$(use_enable exif exif)
|
||||||
|
$(use_enable fileinfo fileinfo)
|
||||||
|
$(use_enable filter filter)
|
||||||
|
$(use_enable ftp ftp)
|
||||||
|
$(use_with nls gettext "${EPREFIX}/usr")
|
||||||
|
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||||
|
$(use_enable hash hash)
|
||||||
|
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||||
|
$(use_with iconv iconv \
|
||||||
|
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
|
||||||
|
$(use_enable intl intl)
|
||||||
|
$(use_enable ipv6 ipv6)
|
||||||
|
$(use_enable json json)
|
||||||
|
$(use_with kerberos kerberos "${EPREFIX}/usr")
|
||||||
|
$(use_enable xml libxml)
|
||||||
|
$(use_with xml libxml-dir "${EPREFIX}/usr")
|
||||||
|
$(use_enable unicode mbstring)
|
||||||
|
$(use_with crypt mcrypt "${EPREFIX}/usr")
|
||||||
|
$(use_with unicode onig "${EPREFIX}/usr")
|
||||||
|
$(use_with ssl openssl "${EPREFIX}/usr")
|
||||||
|
$(use_with ssl openssl-dir "${EPREFIX}/usr")
|
||||||
|
$(use_enable pcntl pcntl)
|
||||||
|
$(use_enable phar phar)
|
||||||
|
$(use_enable pdo pdo)
|
||||||
|
$(use_enable opcache opcache)
|
||||||
|
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||||
|
$(use_enable posix posix)
|
||||||
|
$(use_with spell pspell "${EPREFIX}/usr")
|
||||||
|
$(use_with recode recode "${EPREFIX}/usr")
|
||||||
|
$(use_enable simplexml simplexml)
|
||||||
|
$(use_enable sharedmem shmop)
|
||||||
|
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||||
|
$(use_enable soap soap)
|
||||||
|
$(use_enable sockets sockets)
|
||||||
|
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
|
||||||
|
$(use_enable sysvipc sysvmsg)
|
||||||
|
$(use_enable sysvipc sysvsem)
|
||||||
|
$(use_enable sysvipc sysvshm)
|
||||||
|
$(use_with systemd fpm-systemd)
|
||||||
|
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||||
|
$(use_enable tokenizer tokenizer)
|
||||||
|
$(use_enable wddx wddx)
|
||||||
|
$(use_enable xml xml)
|
||||||
|
$(use_enable xmlreader xmlreader)
|
||||||
|
$(use_enable xmlwriter xmlwriter)
|
||||||
|
$(use_with xmlrpc xmlrpc)
|
||||||
|
$(use_with xslt xsl "${EPREFIX}/usr")
|
||||||
|
$(use_enable zip zip)
|
||||||
|
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||||
|
$(use_enable debug debug)
|
||||||
|
)
|
||||||
|
|
||||||
|
# DBA support
|
||||||
|
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||||
|
|| use qdbm ; then
|
||||||
|
our_conf+=( "--enable-dba${shared}" )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# DBA drivers support
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with cdb cdb)
|
||||||
|
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||||
|
$(use_enable flatfile flatfile)
|
||||||
|
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||||
|
$(use_enable inifile inifile)
|
||||||
|
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||||
|
)
|
||||||
|
|
||||||
|
# Support for the GD graphics library
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with truetype freetype-dir "${EPREFIX}/usr")
|
||||||
|
$(use_enable cjk gd-jis-conv)
|
||||||
|
$(use_with gd jpeg-dir "${EPREFIX}/usr")
|
||||||
|
$(use_with gd png-dir "${EPREFIX}/usr")
|
||||||
|
$(use_with xpm xpm-dir "${EPREFIX}/usr")
|
||||||
|
)
|
||||||
|
if use webp; then
|
||||||
|
our_conf+=( --with-webp-dir="${EPREFIX}/usr" )
|
||||||
|
fi
|
||||||
|
# enable gd last, so configure can pick up the previous settings
|
||||||
|
our_conf+=( $(use_with gd gd) )
|
||||||
|
|
||||||
|
# IMAP support
|
||||||
|
if use imap ; then
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with imap imap "${EPREFIX}/usr")
|
||||||
|
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Interbase/firebird support
|
||||||
|
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
|
||||||
|
|
||||||
|
# LDAP support
|
||||||
|
if use ldap ; then
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||||
|
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# MySQL support
|
||||||
|
local mysqllib="mysqlnd"
|
||||||
|
local mysqlilib="mysqlnd"
|
||||||
|
|
||||||
|
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||||
|
|
||||||
|
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||||
|
if use mysql || use mysqli ; then
|
||||||
|
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ODBC support
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with odbc unixODBC "${EPREFIX}/usr")
|
||||||
|
$(use_with iodbc iodbc "${EPREFIX}/usr")
|
||||||
|
)
|
||||||
|
|
||||||
|
# Oracle support
|
||||||
|
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||||
|
|
||||||
|
# PDO support
|
||||||
|
if use pdo ; then
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||||
|
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||||
|
$(use_with postgres pdo-pgsql)
|
||||||
|
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
|
||||||
|
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||||
|
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||||
|
$(use_with oci8-instant-client pdo-oci)
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# readline/libedit support
|
||||||
|
our_conf+=(
|
||||||
|
$(use_with readline readline "${EPREFIX}/usr")
|
||||||
|
$(use_with libedit libedit "${EPREFIX}/usr")
|
||||||
|
)
|
||||||
|
|
||||||
|
# Session support
|
||||||
|
if use session ; then
|
||||||
|
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
|
||||||
|
else
|
||||||
|
our_conf+=( $(use_enable session session) )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Use pic for shared modules such as apache2's mod_php
|
||||||
|
our_conf+=( --with-pic )
|
||||||
|
|
||||||
|
# we use the system copy of pcre
|
||||||
|
# --with-pcre-regex affects ext/pcre
|
||||||
|
# --with-pcre-dir affects ext/filter and ext/zip
|
||||||
|
our_conf+=(
|
||||||
|
--with-pcre-regex="${EPREFIX}/usr"
|
||||||
|
--with-pcre-dir="${EPREFIX}/usr"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Catch CFLAGS problems
|
||||||
|
# Fixes bug #14067.
|
||||||
|
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||||
|
replace-cpu-flags "k6*" "i586"
|
||||||
|
|
||||||
|
# Cache the ./configure test results between SAPIs.
|
||||||
|
our_conf+=( --cache-file="${T}/config.cache" )
|
||||||
|
|
||||||
|
# Support user-passed configuration parameters
|
||||||
|
our_conf+=( ${EXTRA_ECONF:-} )
|
||||||
|
|
||||||
|
# Support the Apache2 extras, they must be set globally for all
|
||||||
|
# SAPIs to work correctly, especially for external PHP extensions
|
||||||
|
|
||||||
|
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||||
|
for one_sapi in $SAPIS ; do
|
||||||
|
use "${one_sapi}" || continue
|
||||||
|
php_set_ini_dir "${one_sapi}"
|
||||||
|
|
||||||
|
# The BUILD_DIR variable is used to determine where to output
|
||||||
|
# the files that autotools creates. This was all originally
|
||||||
|
# based on the autotools-utils eclass.
|
||||||
|
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||||
|
cp -a "${S}" "${BUILD_DIR}" || die
|
||||||
|
cd "${BUILD_DIR}" || die
|
||||||
|
|
||||||
|
local sapi_conf=(
|
||||||
|
--with-config-file-path="${PHP_INI_DIR}"
|
||||||
|
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||||
|
)
|
||||||
|
|
||||||
|
for sapi in $SAPIS ; do
|
||||||
|
case "$sapi" in
|
||||||
|
cli|cgi|embed|fpm|phpdbg)
|
||||||
|
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||||
|
sapi_conf+=( "--enable-${sapi}" )
|
||||||
|
else
|
||||||
|
sapi_conf+=( "--disable-${sapi}" )
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
apache2)
|
||||||
|
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||||
|
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||||
|
else
|
||||||
|
sapi_conf+=( --without-apxs2 )
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
# Construct the $myeconfargs array by concatenating $our_conf
|
||||||
|
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||||
|
local myeconfargs=( "${our_conf[@]}" )
|
||||||
|
myeconfargs+=( "${sapi_conf[@]}" )
|
||||||
|
|
||||||
|
pushd "${BUILD_DIR}" > /dev/null || die
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
popd > /dev/null || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# snmp seems to run during src_compile, too (bug #324739)
|
||||||
|
addpredict /usr/share/snmp/mibs/.index
|
||||||
|
addpredict /var/lib/net-snmp/mib_indexes
|
||||||
|
|
||||||
|
for sapi in ${SAPIS} ; do
|
||||||
|
if use "${sapi}"; then
|
||||||
|
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||||
|
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||||
|
emake
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# see bug #324739 for what happens when we don't have that
|
||||||
|
addpredict /usr/share/snmp/mibs/.index
|
||||||
|
|
||||||
|
# grab the first SAPI that got built and install common files from there
|
||||||
|
local first_sapi=""
|
||||||
|
for sapi in $SAPIS ; do
|
||||||
|
if use $sapi ; then
|
||||||
|
first_sapi=$sapi
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Makefile forgets to create this before trying to write to it...
|
||||||
|
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||||
|
|
||||||
|
# Install php environment (without any sapis)
|
||||||
|
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||||
|
emake INSTALL_ROOT="${D}" \
|
||||||
|
install-build install-headers install-programs
|
||||||
|
|
||||||
|
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||||
|
|
||||||
|
# Create the directory where we'll put version-specific php scripts
|
||||||
|
keepdir "/usr/share/php${PHP_MV}"
|
||||||
|
|
||||||
|
local sapi="", file=""
|
||||||
|
local sapi_list=""
|
||||||
|
|
||||||
|
for sapi in ${SAPIS}; do
|
||||||
|
if use "${sapi}" ; then
|
||||||
|
einfo "Installing SAPI: ${sapi}"
|
||||||
|
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||||
|
|
||||||
|
if [[ "${sapi}" == "apache2" ]] ; then
|
||||||
|
# We're specifically not using emake install-sapi as libtool
|
||||||
|
# may cause unnecessary relink failures (see bug #351266)
|
||||||
|
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||||
|
newins ".libs/libphp${PHP_MV}$(get_libname)" \
|
||||||
|
"libphp${PHP_MV}$(get_libname)"
|
||||||
|
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||||
|
else
|
||||||
|
# needed each time, php_install_ini would reset it
|
||||||
|
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||||
|
into "${dest}"
|
||||||
|
case "$sapi" in
|
||||||
|
cli)
|
||||||
|
source="sapi/cli/php"
|
||||||
|
;;
|
||||||
|
cgi)
|
||||||
|
source="sapi/cgi/php-cgi"
|
||||||
|
;;
|
||||||
|
fpm)
|
||||||
|
source="sapi/fpm/php-fpm"
|
||||||
|
;;
|
||||||
|
embed)
|
||||||
|
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||||
|
;;
|
||||||
|
phpdbg)
|
||||||
|
source="sapi/phpdbg/phpdbg"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
die "unhandled sapi in src_install"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||||
|
dolib.so "${source}"
|
||||||
|
else
|
||||||
|
dobin "${source}"
|
||||||
|
local name="$(basename ${source})"
|
||||||
|
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
php_install_ini "${sapi}"
|
||||||
|
|
||||||
|
# construct correct SAPI string for php-config
|
||||||
|
# thanks to ferringb for the bash voodoo
|
||||||
|
if [[ "${sapi}" == "apache2" ]]; then
|
||||||
|
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||||
|
else
|
||||||
|
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Installing opcache module
|
||||||
|
if use opcache ; then
|
||||||
|
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||||
|
dolib.so "modules/opcache$(get_libname)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install env.d files
|
||||||
|
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||||
|
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||||
|
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||||
|
|
||||||
|
# set php-config variable correctly (bug #278439)
|
||||||
|
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||||
|
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||||
|
|
||||||
|
if use fpm ; then
|
||||||
|
if use systemd; then
|
||||||
|
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||||
|
"php-fpm@${SLOT}.service"
|
||||||
|
else
|
||||||
|
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||||
|
"php-fpm@${SLOT}.service"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||||
|
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||||
|
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||||
|
ewarn "Test phase requires USE=cli, skipping"
|
||||||
|
return
|
||||||
|
else
|
||||||
|
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||||
|
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||||
|
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||||
|
"session.save_path=${T}" \
|
||||||
|
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||||
|
"session.save_path=${T}"
|
||||||
|
|
||||||
|
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||||
|
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||||
|
done
|
||||||
|
|
||||||
|
local failed="$(find -name '*.out')"
|
||||||
|
if [[ ${failed} != "" ]] ; then
|
||||||
|
ewarn "The following test cases failed unexpectedly:"
|
||||||
|
for name in ${failed}; do
|
||||||
|
ewarn " ${name/.out/}"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
einfo "No unexpected test failures, all fine"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||||
|
local passed=""
|
||||||
|
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||||
|
[[ -f "${name}.diff" ]] && continue
|
||||||
|
passed="${passed} ${name}"
|
||||||
|
done
|
||||||
|
if [[ ${passed} != "" ]] ; then
|
||||||
|
einfo "The following test cases passed unexpectedly:"
|
||||||
|
for name in ${passed}; do
|
||||||
|
ewarn " ${passed}"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
einfo "None of the known-to-fail tests passed, all fine"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Output some general info to the user
|
||||||
|
if use apache2 ; then
|
||||||
|
elog
|
||||||
|
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||||
|
elog "your apache2 command. OpenRC users can append that string to"
|
||||||
|
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||||
|
elog
|
||||||
|
elog "The apache module configuration file 70_mod_php.conf is"
|
||||||
|
elog "provided (and maintained) by eselect-php."
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create the symlinks for php
|
||||||
|
for m in ${SAPIS}; do
|
||||||
|
[[ ${m} == 'embed' ]] && continue;
|
||||||
|
if use $m ; then
|
||||||
|
local ci=$(eselect php show $m)
|
||||||
|
if [[ -z $ci ]]; then
|
||||||
|
eselect php set $m php${SLOT} || die
|
||||||
|
einfo "Switched ${m} to use php:${SLOT}"
|
||||||
|
einfo
|
||||||
|
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||||
|
elog "To switch $m to use php:${SLOT}, run"
|
||||||
|
elog " eselect php set $m php${SLOT}"
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||||
|
# example, if the user has the cgi SAPI enabled, then he has an
|
||||||
|
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||||
|
# USE="-cgi", that symlink will break. This call to eselect is
|
||||||
|
# supposed to remove that dead link per bug 572436.
|
||||||
|
eselect php cleanup || die
|
||||||
|
|
||||||
|
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||||
|
elog "To build extensions for this version of PHP, you will need to"
|
||||||
|
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||||
|
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||||
|
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||||
|
ewarn 'remove it from your configuration at your convenience. See'
|
||||||
|
ewarn
|
||||||
|
ewarn ' https://bugs.gentoo.org/611214'
|
||||||
|
ewarn
|
||||||
|
ewarn 'for more information.'
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "For details on how version slotting works, please see"
|
||||||
|
elog "the wiki:"
|
||||||
|
elog
|
||||||
|
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||||
|
elog
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
# This serves two purposes. First, if we have just removed the last
|
||||||
|
# installed version of PHP, then this will remove any dead symlinks
|
||||||
|
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||||
|
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||||
|
# his existing symlinks to point to the new 7.0 installation. The
|
||||||
|
# latter is bug 432962.
|
||||||
|
#
|
||||||
|
# Note: the eselect-php package may not be installed at this point,
|
||||||
|
# so we can't die() if this command fails.
|
||||||
|
eselect php cleanup
|
||||||
|
}
|
@ -1,3 +1 @@
|
|||||||
DIST confuse-2.7.tar.gz 517272 SHA256 e32574fd837e950778dac7ade40787dd2259ef8e28acd6ede6847ca895c88778 SHA512 c9a9236c4e15928bbf41da5c0d35f85e6f939a5247a37edf3f5b2921d27c9db3773c26f1bcaa8b6433b498c0920cc5d48bd5486dc394e17af112b36f49f95a42 WHIRLPOOL 22e657a1172005bc527951738540103c8ae7dbd61d70cb8dfb3bfc49bc01d102331f1187a4e8b0906161ac2e806a3d5cc781ce69cd5443560fe83b619fe8884e
|
|
||||||
DIST confuse-2.8.tar.xz 403252 SHA256 2a8102bfa3ccc846c14d94a81b0abfb4f5e855809f89ff3722aca1a9f314ea0d SHA512 af428936caad9dac0bf052210abeb0fd4b4450114a2a5185db7d995e11cdd0e52cb0148bb46228d26e38a4b50a2810f6e4b282502f0e34c617bf4368795a9d79 WHIRLPOOL ee647ffabebb05641aa49a4294b7a9dc2aad9503fefab537244618baf0556b1e7cb58b006d5f95cfefbe3967442845e61f407ca38561c2aca1dc5fdb9dffa115
|
|
||||||
DIST confuse-3.0.tar.xz 449144 SHA256 bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861 SHA512 12279045b772e94d2e29201ab1d7aef1ef8e698780a22d6a282d12f51ccd9a437e7817a4dd5e39bdfc8dae79700b72aa0783b4b983a935d751403d2cffd1161e WHIRLPOOL fe9f792b9f0858029393a811da93746fb91dc6cc3c99bfcc3a183d7bc0f3600818b96df8d169c63e64a59cb0f3857a86298f0bfd4053c8360bcd2b6bd1e71156
|
DIST confuse-3.0.tar.xz 449144 SHA256 bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861 SHA512 12279045b772e94d2e29201ab1d7aef1ef8e698780a22d6a282d12f51ccd9a437e7817a4dd5e39bdfc8dae79700b72aa0783b4b983a935d751403d2cffd1161e WHIRLPOOL fe9f792b9f0858029393a811da93746fb91dc6cc3c99bfcc3a183d7bc0f3600818b96df8d169c63e64a59cb0f3857a86298f0bfd4053c8360bcd2b6bd1e71156
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
|
|
||||||
DESCRIPTION="a configuration file parser library"
|
|
||||||
HOMEPAGE="http://www.nongnu.org/confuse/"
|
|
||||||
SRC_URI="mirror://nongnu/confuse/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="ISC"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
|
||||||
IUSE="nls static-libs"
|
|
||||||
|
|
||||||
DEPEND="sys-devel/flex
|
|
||||||
sys-devel/libtool
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )"
|
|
||||||
RDEPEND="nls? ( virtual/libintl )"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# examples are normally compiled but not installed. They
|
|
||||||
# fail during a mingw crosscompile.
|
|
||||||
econf \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-examples \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die
|
|
||||||
|
|
||||||
doman doc/man/man3/*.3 || die
|
|
||||||
dodoc AUTHORS NEWS README || die
|
|
||||||
dohtml doc/html/* || die
|
|
||||||
|
|
||||||
docinto examples
|
|
||||||
dodoc examples/*.{c,conf} || die
|
|
||||||
}
|
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit eutils multilib-minimal
|
|
||||||
|
|
||||||
DESCRIPTION="a configuration file parser library"
|
|
||||||
HOMEPAGE="http://www.nongnu.org/confuse/"
|
|
||||||
SRC_URI="https://github.com/martinh/libconfuse/releases/download/v${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="ISC"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
|
||||||
|
|
||||||
IUSE="nls static-libs"
|
|
||||||
|
|
||||||
DEPEND="sys-devel/flex
|
|
||||||
sys-devel/libtool
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? ( sys-devel/gettext )"
|
|
||||||
RDEPEND="nls? ( virtual/libintl[${MULTILIB_USEDEP}] )"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
rm doc/man/man3/_* || die
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
# examples are normally compiled but not installed. They
|
|
||||||
# fail during a mingw crosscompile.
|
|
||||||
local ECONF_SOURCE=${BUILD_DIR}
|
|
||||||
econf \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-examples \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
prune_libtool_files
|
|
||||||
|
|
||||||
doman doc/man/man3/*.3
|
|
||||||
dodoc -r doc/html
|
|
||||||
|
|
||||||
docinto examples
|
|
||||||
dodoc examples/*.{c,conf}
|
|
||||||
}
|
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="SIMD Vector Class Library for C++"
|
||||||
|
HOMEPAGE="https://github.com/VcDevel/Vc"
|
||||||
|
|
||||||
|
VC_TEST_DATA=( reference-{acos,asin,atan,ln,log2,log10,sincos}-{dp,sp}.dat )
|
||||||
|
for i in ${VC_TEST_DATA[@]}; do
|
||||||
|
SRC_URI+="test? ( http://compeng.uni-frankfurt.de/~kretz/Vc-testdata/$i -> ${P}-${i} ) "
|
||||||
|
done
|
||||||
|
|
||||||
|
SRC_URI+="https://github.com/VcDevel/Vc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
default_src_unpack
|
||||||
|
S="${WORKDIR}"/Vc-${PV}
|
||||||
|
if use test ; then
|
||||||
|
mkdir -p "${WORKDIR}"/${P}_build/tests || die
|
||||||
|
for i in ${VC_TEST_DATA[@]}; do
|
||||||
|
cp "${DISTDIR}"/${P}-$i "${WORKDIR}"/${P}_build/tests/${i} || die
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_TESTING=$(usex test)
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
@ -1,16 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
USE_PHP="php5-6"
|
|
||||||
|
|
||||||
inherit php-ext-pecl-r3
|
|
||||||
|
|
||||||
DESCRIPTION="RRDtool bindings for PHP"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
DEPEND="net-analyzer/rrdtool[graph]"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
USE_PHP="php5-6 php7-0 php7-1"
|
||||||
|
|
||||||
|
inherit php-ext-pecl-r3
|
||||||
|
|
||||||
|
USE_PHP="php5-6"
|
||||||
|
|
||||||
|
DESCRIPTION="RRDtool bindings for PHP"
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="php_targets_php5-6? ( net-analyzer/rrdtool[graph] )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
PDEPEND="
|
||||||
|
php_targets_php7-0? ( dev-php/pecl-rrd:7[php_targets_php7-0(-)] )
|
||||||
|
php_targets_php7-1? ( dev-php/pecl-rrd:7[php_targets_php7-1(-)] )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use php_targets_php5-6 ; then
|
||||||
|
php-ext-source-r3_src_prepare
|
||||||
|
else
|
||||||
|
default_src_prepare
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local PHP_EXT_ECONF_ARGS=()
|
||||||
|
php-ext-source-r3_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use php_targets_php5-6 ; then
|
||||||
|
php-ext-pecl-r3_src_install
|
||||||
|
fi
|
||||||
|
}
|
@ -1,20 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
# Define 5.6 here to have the {,REQUIRED_}USE generated
|
|
||||||
USE_PHP="php5-6 php7-0"
|
|
||||||
|
|
||||||
inherit php-ext-pecl-r3
|
|
||||||
|
|
||||||
# But we really only build 7.0
|
|
||||||
USE_PHP="php7-0"
|
|
||||||
|
|
||||||
DESCRIPTION="RRDtool bindings for PHP"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="7"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
DEPEND="net-analyzer/rrdtool[graph]"
|
|
||||||
RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0 )"
|
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
# Define 5.6 here to have the {,REQUIRED_}USE generated
|
||||||
|
USE_PHP="php5-6 php7-0 php7-1"
|
||||||
|
|
||||||
|
inherit php-ext-pecl-r3
|
||||||
|
|
||||||
|
# But we really only build 7.0
|
||||||
|
USE_PHP="php7-0 php7-1"
|
||||||
|
|
||||||
|
DESCRIPTION="RRDtool bindings for PHP"
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="7"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
php_targets_php7-0? ( net-analyzer/rrdtool[graph] )
|
||||||
|
php_targets_php7-1? ( net-analyzer/rrdtool[graph] )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0 )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use php_targets_php7-0 || use php_targets_php7-1 ; then
|
||||||
|
php-ext-source-r3_src_prepare
|
||||||
|
else
|
||||||
|
default_src_prepare
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local PHP_EXT_ECONF_ARGS=()
|
||||||
|
php-ext-source-r3_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use php_targets_php7-0 || use php_targets_php7-1 ; then
|
||||||
|
php-ext-pecl-r3_src_install
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,121 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||||
|
|
||||||
|
# Same as elasticsearch-py ...
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
MY_PN="curator"
|
||||||
|
ES_VERSION="5.1.2"
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Tending time-series indices in Elasticsearch"
|
||||||
|
HOMEPAGE="https://github.com/elasticsearch/curator"
|
||||||
|
SRC_URI="https://github.com/elasticsearch/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="doc test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/elasticsearch-py-5[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/click-6.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/certifi-2017.1.23[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/urllib3-1.8.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/voluptuous-0.9.3[${PYTHON_USEDEP}]"
|
||||||
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||||
|
test? ( ${RDEPEND}
|
||||||
|
virtual/jre:1.8
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
dev-python/coverage[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nosexcover[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}] )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-curator
|
||||||
|
python_test() {
|
||||||
|
ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
|
||||||
|
ES_PORT="25123"
|
||||||
|
ES_INSTANCE="gentoo-es-curator-test"
|
||||||
|
ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
|
||||||
|
PID="${ES}/elasticsearch.pid"
|
||||||
|
|
||||||
|
# run Elasticsearch instance on custom port
|
||||||
|
sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
|
||||||
|
s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
|
||||||
|
"${ES}/config/elasticsearch.yml" || die
|
||||||
|
|
||||||
|
# start local instance of elasticsearch
|
||||||
|
"${ES}/bin/elasticsearch" -d -p "${PID}" -Edefault.path.repo=/ || die
|
||||||
|
|
||||||
|
local i
|
||||||
|
local es_started=0
|
||||||
|
for i in {1..15}; do
|
||||||
|
grep -q "started" "${ES_LOG}" 2> /dev/null
|
||||||
|
if [[ $? -eq 0 ]]; then
|
||||||
|
einfo "Elasticsearch started"
|
||||||
|
es_started=1
|
||||||
|
eend 0
|
||||||
|
break
|
||||||
|
elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
|
||||||
|
eend 1
|
||||||
|
eerror "Elasticsearch already running"
|
||||||
|
die "Cannot start Elasticsearch for tests"
|
||||||
|
else
|
||||||
|
einfo "Waiting for Elasticsearch"
|
||||||
|
eend 1
|
||||||
|
sleep 2
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
[[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
|
||||||
|
|
||||||
|
export TEST_ES_SERVER="localhost:${ES_PORT}"
|
||||||
|
esetup.py test || die
|
||||||
|
|
||||||
|
pkill -F ${PID}
|
||||||
|
}
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# avoid downloading from net
|
||||||
|
sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die
|
||||||
|
|
||||||
|
# remove test TestCLIFixFor687 as it is only to be run on older versions
|
||||||
|
# and the call to curator.get_version(global_client) sometimes
|
||||||
|
# fails with Connection refused
|
||||||
|
sed -e '122,205d' -i test/integration/test_delete_indices.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
cd docs || die
|
||||||
|
emake man $(usex doc html "")
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||||
|
doman docs/_build/man/*
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn ""
|
||||||
|
ewarn "For Python 3 support information please read: http://click.pocoo.org/3/python3/"
|
||||||
|
ewarn ""
|
||||||
|
ewarn "Example usage on Python 3:"
|
||||||
|
ewarn "export LC_ALL=en_US.UTF-8"
|
||||||
|
ewarn "export LANG=en_US.UTF-8"
|
||||||
|
ewarn "curator ..."
|
||||||
|
}
|
@ -0,0 +1,100 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||||
|
|
||||||
|
ES_VERSION="5.2.1"
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
# tests fail in chroot
|
||||||
|
# https://github.com/elastic/elasticsearch/issues/12018
|
||||||
|
RESTRICT="test"
|
||||||
|
# that's now the second time I've disabled this.
|
||||||
|
# Why am I as the maintainer ignored?
|
||||||
|
|
||||||
|
MY_PN=${PN/-py/}
|
||||||
|
|
||||||
|
DESCRIPTION="official Python low-level client for Elasticsearch"
|
||||||
|
HOMEPAGE="http://elasticsearch-py.rtfd.org/"
|
||||||
|
SRC_URI="https://github.com/elasticsearch/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
test? ( https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="examples doc test"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/urllib3-1.8[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/urllib3-2.0[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sphinx-1.3.1-r1[${PYTHON_USEDEP}]
|
||||||
|
test? ( ${RDEPEND}
|
||||||
|
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
dev-python/coverage[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pretty-yaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nosexcover[${PYTHON_USEDEP}]
|
||||||
|
virtual/jre:1.8 )"
|
||||||
|
|
||||||
|
# FEATURES="test -usersandbox" emerge dev-python/elasticsearch-py
|
||||||
|
python_test() {
|
||||||
|
ES="${WORKDIR}/elasticsearch-${ES_VERSION}"
|
||||||
|
ES_PORT="25124"
|
||||||
|
ES_INSTANCE="gentoo-es-py-test"
|
||||||
|
ES_LOG="${ES}/logs/${ES_INSTANCE}.log"
|
||||||
|
PID="${ES}/elasticsearch.pid"
|
||||||
|
|
||||||
|
# run Elasticsearch instance on custom port
|
||||||
|
sed -i "s/#http.port: 9200/http.port: ${ES_PORT}/g; \
|
||||||
|
s/#cluster.name: my-application/cluster.name: ${ES_INSTANCE}/g" \
|
||||||
|
"${ES}/config/elasticsearch.yml" || die
|
||||||
|
|
||||||
|
# start local instance of elasticsearch
|
||||||
|
"${ES}"/bin/elasticsearch -d -p "${PID}" -Edefault.path.repo=/ || die
|
||||||
|
|
||||||
|
local i
|
||||||
|
local es_started=0
|
||||||
|
for i in {1..15}; do
|
||||||
|
grep -q "started" ${ES_LOG} 2> /dev/null
|
||||||
|
if [[ $? -eq 0 ]]; then
|
||||||
|
einfo "Elasticsearch started"
|
||||||
|
es_started=1
|
||||||
|
eend 0
|
||||||
|
break
|
||||||
|
elif grep -q 'BindException\[Address already in use\]' "${ES_LOG}" 2>/dev/null; then
|
||||||
|
eend 1
|
||||||
|
eerror "Elasticsearch already running"
|
||||||
|
die "Cannot start Elasticsearch for tests"
|
||||||
|
else
|
||||||
|
einfo "Waiting for Elasticsearch"
|
||||||
|
eend 1
|
||||||
|
sleep 2
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
[[ $es_started -eq 0 ]] && die "Elasticsearch failed to start"
|
||||||
|
|
||||||
|
export TEST_ES_SERVER="localhost:${ES_PORT}"
|
||||||
|
esetup.py test || die
|
||||||
|
|
||||||
|
pkill -F ${PID}
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
cd docs || die
|
||||||
|
emake man $(usex doc html "")
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||||
|
use examples && dodoc -r example
|
||||||
|
doman docs/_build/man/*
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST Flask-0.10.1.tar.gz 544247 SHA256 4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373 SHA512 0008d62d03a46b071c7d0510513d011a9bfd2b77df7f677371a446ca9805d16b1ee5e17dd8dd7cde6443a629370234e44735e20381de20a7da385969797f053f WHIRLPOOL f30a306ed00fe6d4c8e47b781c556c576b99b3545f833ae06f6b778d91c3127dc0adcc34d48221a0f1db1bb1633f2329d6085b7a4550afc672530525fdff474f
|
DIST Flask-0.10.1.tar.gz 544247 SHA256 4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373 SHA512 0008d62d03a46b071c7d0510513d011a9bfd2b77df7f677371a446ca9805d16b1ee5e17dd8dd7cde6443a629370234e44735e20381de20a7da385969797f053f WHIRLPOOL f30a306ed00fe6d4c8e47b781c556c576b99b3545f833ae06f6b778d91c3127dc0adcc34d48221a0f1db1bb1633f2329d6085b7a4550afc672530525fdff474f
|
||||||
DIST Flask-0.12.1.tar.gz 548511 SHA256 9dce4b6bfbb5b062181d3f7da8f727ff70c1156cbb4024351eafd426deb5fb88 SHA512 23a376ed452bbf874eeeff959924bf8aee51fc9196af71092a7a457742a635fb3adaa958e61625522e93a14092e3bb88a22a74ef419513ca1ae93a1d08723ac5 WHIRLPOOL 29e1c55d094673cb1150780cac5deb1c2964a71e7030b4b4d32dd633fd7631d48687171cf1e745302e0c4dd40d4807a2467ca8c9c4fc9ada4e5d22a35cf3875d
|
DIST Flask-0.12.1.tar.gz 548511 SHA256 9dce4b6bfbb5b062181d3f7da8f727ff70c1156cbb4024351eafd426deb5fb88 SHA512 23a376ed452bbf874eeeff959924bf8aee51fc9196af71092a7a457742a635fb3adaa958e61625522e93a14092e3bb88a22a74ef419513ca1ae93a1d08723ac5 WHIRLPOOL 29e1c55d094673cb1150780cac5deb1c2964a71e7030b4b4d32dd633fd7631d48687171cf1e745302e0c4dd40d4807a2467ca8c9c4fc9ada4e5d22a35cf3875d
|
||||||
|
DIST Flask-0.12.2.tar.gz 548510 SHA256 49f44461237b69ecd901cc7ce66feea0319b9158743dd27a2899962ab214dac1 SHA512 c00bb807e8fbc943e23a3721acf5b04320e7a58d658bca46bdf83a345b4c4d5729accae338505e134f01bc908adec9555fd94e8c87ef6f0367e6037215c06319 WHIRLPOOL 6a1c9c12804bc0a4052ba16aff00cc05dba243787a7a58ebf094760ff7e121cfd302eac85f900d9b5c49876a6761dbd6c0c17e8e21bb6c3a5a23d49b67575cc3
|
||||||
DIST Flask-0.12.tar.gz 531923 SHA256 93e803cdbe326a61ebd5c5d353959397c85f829bec610d59cb635c9f97d7ca8b SHA512 b8e9e005a850fcba413ad151998768ea0facb68f05855a1934cc6e4de1438cb59a4dd1bc74d2b04d52b3e837afa0a7785e98ae6c5af363a894c2be64773113f0 WHIRLPOOL df0df8db12b18b50d9ddf43ae925717bf4a67179af1d387020e73d4fb5f0c04c6cc1d6c83504d8dc5cbcb4dc11dcb0b63724499bd3c5b820feb181418d965138
|
DIST Flask-0.12.tar.gz 531923 SHA256 93e803cdbe326a61ebd5c5d353959397c85f829bec610d59cb635c9f97d7ca8b SHA512 b8e9e005a850fcba413ad151998768ea0facb68f05855a1934cc6e4de1438cb59a4dd1bc74d2b04d52b3e837afa0a7785e98ae6c5af363a894c2be64773113f0 WHIRLPOOL df0df8db12b18b50d9ddf43ae925717bf4a67179af1d387020e73d4fb5f0c04c6cc1d6c83504d8dc5cbcb4dc11dcb0b63724499bd3c5b820feb181418d965138
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_PN="Flask"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
|
||||||
|
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||||
|
HOMEPAGE="https://github.com/pallets/flask/"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="doc examples test"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/blinker-1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jinja-2.4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/click-2[${PYTHON_USEDEP}]"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||||
|
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# Prevent un-needed d'loading
|
||||||
|
sed -e "s/ 'sphinx.ext.intersphinx',//" -i docs/conf.py || die
|
||||||
|
# DeprecationWarning: Flags not at the start of the expression
|
||||||
|
sed -e "s/r'\(.*\)\((?.*)\)'/r'\2\1'/" -i tests/test_basic.py || die
|
||||||
|
# issubclass(ModuleNotFoundError, ImportError)
|
||||||
|
sed -e 's/\(excinfo.type\) is \(ImportError\)/issubclass(\1, \2)/' \
|
||||||
|
-i tests/test_ext.py || die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
use doc && emake -C docs html
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
PYTHONPATH=${S}/examples/flaskr:${S}/examples/minitwit${PYTHONPATH:+:${PYTHONPATH}} \
|
||||||
|
py.test -v || die "Testing failed with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use examples && dodoc -r examples
|
||||||
|
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST hiro-0.2.tar.gz 9384 SHA256 5b71a8d446c4c4efbebab4e06c9973a173c425e0eda218a86fa47244b61a9187 SHA512 69a66223e678c87363ac4beab8a58bec7976b93fe1b354ac1030842e31463adda84f444732ac48868f6b4f11f4a132a1142889466474bff2a77964449c710b65 WHIRLPOOL 7bccec85bf160ead6d9dafa9a0ee6f2f390fdd2d60d2454762dd3521d3eaae7af94f503f169ae8c926ab0dae15c79fa080bf68f453eb4de11b849fbd5a620ed4
|
DIST hiro-0.2.tar.gz 9384 SHA256 5b71a8d446c4c4efbebab4e06c9973a173c425e0eda218a86fa47244b61a9187 SHA512 69a66223e678c87363ac4beab8a58bec7976b93fe1b354ac1030842e31463adda84f444732ac48868f6b4f11f4a132a1142889466474bff2a77964449c710b65 WHIRLPOOL 7bccec85bf160ead6d9dafa9a0ee6f2f390fdd2d60d2454762dd3521d3eaae7af94f503f169ae8c926ab0dae15c79fa080bf68f453eb4de11b849fbd5a620ed4
|
||||||
|
DIST hiro-0.3.tar.gz 9355 SHA256 33c0a32d709fc980d54b096f1b1055a18e8dffb8e307f8ac7543fae10ededbfd SHA512 c5ace67410ac0e946aa7f93b61448760ab9bba5610621a585f17d1ad99444161a2495a73e20b67d50f1b8b0a4c1b54a9f25732319431905891b7c5fc58c6000d WHIRLPOOL 6d9b68ea51dedc60cd9a5cbbc7f9e0ef8995b23e134e993bb86b373f29673ebfa164615a0b2990c73cdb4fd5633e70df92c276646a4db2ac12b7f624a24efbbd
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Time manipulation utilities for python"
|
||||||
|
HOMEPAGE="https://github.com/alisaifee/hiro"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -1 +1 @@
|
|||||||
DIST queuelib.tar.gz 6969 SHA256 f771790be92a93c49fa6da0cab349d59e481fef784b8230bf9338d9036e90b8e SHA512 54b649d08ca60ed933d862b9d5845af162843f4f077722c78b7c72be4093406cc44182905a2d21235635afc1139974c08c213ccd8a333e72fd94c06adc34497a WHIRLPOOL 808ef3b957315505157fbac019b8ecab729f5c7539edeb289f47af540cc536ca55bcbbf0bd7edab7a105451fdfc9e2d8667409ea09383b7eb4980c22a0bedeea
|
DIST queuelib-1.1.1.tar.gz 6969 SHA256 f771790be92a93c49fa6da0cab349d59e481fef784b8230bf9338d9036e90b8e SHA512 54b649d08ca60ed933d862b9d5845af162843f4f077722c78b7c72be4093406cc44182905a2d21235635afc1139974c08c213ccd8a333e72fd94c06adc34497a WHIRLPOOL 808ef3b957315505157fbac019b8ecab729f5c7539edeb289f47af540cc536ca55bcbbf0bd7edab7a105451fdfc9e2d8667409ea09383b7eb4980c22a0bedeea
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
DIST ScriptTest-1.2.tar.gz 7208 SHA256 158c34cfa736288c33177588572c2bb3372b836eb4c90b05222911b4ff976942 SHA512 0dc09e6af5554f38aca6ee45b9afad2fa4c1c53a4d3c43edff95bbd6ea8d57e94bf6b7bdcfd26afff6bf2b10690795bd2816013801911f726c67e8171546cad2 WHIRLPOOL 2d23a9fec63c34bd6cf4a06fa01167a9fc05017950fa05bf39a14b5f44393ca38b11d4c7b6c8285ba49cd1a535520ebd83901fadc41497ce7513899356d935d3
|
DIST ScriptTest-1.2.tar.gz 7208 SHA256 158c34cfa736288c33177588572c2bb3372b836eb4c90b05222911b4ff976942 SHA512 0dc09e6af5554f38aca6ee45b9afad2fa4c1c53a4d3c43edff95bbd6ea8d57e94bf6b7bdcfd26afff6bf2b10690795bd2816013801911f726c67e8171546cad2 WHIRLPOOL 2d23a9fec63c34bd6cf4a06fa01167a9fc05017950fa05bf39a14b5f44393ca38b11d4c7b6c8285ba49cd1a535520ebd83901fadc41497ce7513899356d935d3
|
||||||
DIST scripttest-1.3.tar.gz 7546 SHA256 951cfc25219b0cd003493a565f2e621fd791beaae9f9a3bdd7024d8626419c38 SHA512 a54aab83e102a8aa9fdbbcbaff5e8b758886c2db2d1eefee9448895b5ebd8d10115a86d810a39acc82917c17664d9225403cb8fdb2a7631ab1b601a791897a0e WHIRLPOOL d48c2d05920450a022de68af69c1120a8b2f843d7430a6be6a3a6d2ea6f99850d28576ba82b13167595f09fab5d803ba765e406182a83283eb0bd1c00ee0b701
|
DIST scripttest-1.3.0.tar.gz 14885 SHA256 33c2c5315538598652cecc28984557d55dbe75ff814e50e4307dc8fbfac51cd5 SHA512 038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6 WHIRLPOOL a415368739016a2bff8a40ecfee5bf009811a60a463d06c25b25e4c4d408de58ad3e4051b7dcddeb0f9246946d2b1b5420ddb57edcdbb25eeb0bcc6e77b2dd77
|
||||||
|
@ -0,0 +1,141 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
PYTHON_REQ_USE='threads(+)'
|
||||||
|
#EPYTHON='python2.7'
|
||||||
|
inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Digital Audio Workstation"
|
||||||
|
HOMEPAGE="http://ardour.org/"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SRC_URI="mirror://gentoo/Ardour-${PV}.0.tar.bz2 -> ${P}.tar.bz2"
|
||||||
|
S="${WORKDIR}/Ardour-${PV}.0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="5"
|
||||||
|
IUSE="altivec doc jack cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-cpp/glibmm-2.32.0
|
||||||
|
>=dev-cpp/gtkmm-2.16:2.4
|
||||||
|
>=dev-cpp/libgnomecanvasmm-2.26:2.6
|
||||||
|
dev-libs/boost:=
|
||||||
|
>=dev-libs/glib-2.10.1:2
|
||||||
|
dev-libs/libsigc++:2
|
||||||
|
>=dev-libs/libxml2-2.6:2
|
||||||
|
dev-libs/libxslt
|
||||||
|
>=gnome-base/libgnomecanvas-2
|
||||||
|
media-libs/alsa-lib
|
||||||
|
media-libs/aubio
|
||||||
|
media-libs/flac
|
||||||
|
media-libs/freetype:2
|
||||||
|
media-libs/libart_lgpl
|
||||||
|
media-libs/liblo
|
||||||
|
>=media-libs/liblrdf-0.4.0-r20
|
||||||
|
>=media-libs/libsamplerate-0.1
|
||||||
|
>=media-libs/libsndfile-1.0.18
|
||||||
|
>=media-libs/libsoundtouch-1.6.0
|
||||||
|
media-libs/raptor:2
|
||||||
|
>=media-libs/rubberband-1.6.0
|
||||||
|
>=media-libs/taglib-1.7
|
||||||
|
media-libs/vamp-plugin-sdk
|
||||||
|
net-misc/curl
|
||||||
|
sys-libs/readline:0=
|
||||||
|
sci-libs/fftw:3.0[threads]
|
||||||
|
virtual/libusb:0
|
||||||
|
x11-libs/cairo
|
||||||
|
>=x11-libs/gtk+-2.8.1:2
|
||||||
|
x11-libs/pango
|
||||||
|
jack? ( virtual/jack )
|
||||||
|
>=media-libs/slv2-0.6.1
|
||||||
|
media-libs/lilv
|
||||||
|
media-libs/sratom
|
||||||
|
dev-libs/sord
|
||||||
|
>=media-libs/suil-0.6.10
|
||||||
|
>=media-libs/lv2-1.4.0"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
jack? ( virtual/jack )
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? ( app-doc/doxygen[dot] )"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if has_version \>=dev-libs/libsigc++-2.6 ; then
|
||||||
|
append-cxxflags -std=c++11
|
||||||
|
fi
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare(){
|
||||||
|
eapply_user
|
||||||
|
if ! [[ ${PV} == *9999* ]]; then
|
||||||
|
eapply "${FILESDIR}"/${PN}-4.x-revision-naming.patch
|
||||||
|
touch "${S}/libs/ardour/revision.cc"
|
||||||
|
fi
|
||||||
|
sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die
|
||||||
|
MARCH=$(get-flag march)
|
||||||
|
OPTFLAGS=""
|
||||||
|
if use cpu_flags_x86_sse; then
|
||||||
|
if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then
|
||||||
|
elog "You enabled sse but use an march that does not support sse!"
|
||||||
|
elog "We add -msse to the flags now, but please consider switching your march in make.conf!"
|
||||||
|
fi
|
||||||
|
OPTFLAGS="sse"
|
||||||
|
fi
|
||||||
|
if use cpu_flags_x86_mmx; then
|
||||||
|
if [[ ${MARCH} == "i486" ]]; then
|
||||||
|
elog "You enabled mmx with i486 set as march! You have been warned!"
|
||||||
|
fi
|
||||||
|
OPTFLAGS="${OPTFLAGS} mmx"
|
||||||
|
fi
|
||||||
|
if use cpu_flags_x86_3dnow; then
|
||||||
|
OPTFLAGS="${OPTFLAGS} 3dnow"
|
||||||
|
fi
|
||||||
|
sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \
|
||||||
|
-i "${S}"/wscript || die
|
||||||
|
sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die
|
||||||
|
append-flags "-lboost_system"
|
||||||
|
python_fix_shebang "${S}"/wscript
|
||||||
|
python_fix_shebang "${S}"/waf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export CC CXX
|
||||||
|
mkdir -p "${D}"
|
||||||
|
waf-utils_src_configure \
|
||||||
|
--destdir="${D}" \
|
||||||
|
--prefix=/usr \
|
||||||
|
--configdir=/etc \
|
||||||
|
--nls \
|
||||||
|
--optimize \
|
||||||
|
--lv2 \
|
||||||
|
$(usex jack "--with-backends=alsa,jack" "--with-backends=alsa --libjack=weak") \
|
||||||
|
$(usex doc "--docs" '') \
|
||||||
|
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization")
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
waf-utils_src_install
|
||||||
|
mv ${PN}.1 ${PN}${SLOT}.1
|
||||||
|
doman ${PN}${SLOT}.1
|
||||||
|
newicon "${S}/gtk2_ardour/resources/Ardour-icon_48px.png" ${PN}${SLOT}.png
|
||||||
|
make_desktop_entry ardour5 ardour5 ardour5 AudioVideo
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "If you are using Ardour and want to keep its development alive"
|
||||||
|
elog "then please consider to make a donation upstream at ${HOMEPAGE}."
|
||||||
|
elog "Please do _not_ report problems with the package to ${PN} upstream."
|
||||||
|
elog "If you think you've found a bug, check the upstream binary package"
|
||||||
|
elog "before you report anything to upstream."
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
Wed, 17 May 2017 08:39:17 +0000
|
Wed, 17 May 2017 17:39:19 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed, 17 May 2017 08:39:17 +0000
|
Wed, 17 May 2017 17:39:19 +0000
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=install postinst setup
|
||||||
|
DESCRIPTION=Tool for managing events and logs
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://www.elastic.co/products/logstash
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=virtual/jre:1.8
|
||||||
|
RESTRICT=strip
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://artifacts.elastic.co/downloads/logstash/logstash-5.4.0.zip
|
||||||
|
_eclasses_=user e4b567c44272a719fabf53f0f885d3f7
|
||||||
|
_md5_=6da8d7e7394ecc09418bb2781c2cdd99
|
@ -1,12 +0,0 @@
|
|||||||
DEFINED_PHASES=configure install
|
|
||||||
DEPEND=>=app-i18n/ibus-1.3.99.20110817 dev-libs/libxml2 gtk? ( >=x11-libs/gtk+-2.12.12:2 ) dev-libs/m17n-lib nls? ( virtual/libintl ) virtual/pkgconfig >=sys-devel/gettext-0.16.1
|
|
||||||
DESCRIPTION=The M17N engine IMEngine for IBus Framework
|
|
||||||
EAPI=3
|
|
||||||
HOMEPAGE=https://github.com/ibus/ibus/wiki
|
|
||||||
IUSE=gtk nls
|
|
||||||
KEYWORDS=~amd64 ~x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=>=app-i18n/ibus-1.3.99.20110817 dev-libs/libxml2 gtk? ( >=x11-libs/gtk+-2.12.12:2 ) dev-libs/m17n-lib nls? ( virtual/libintl ) dev-db/m17n-db dev-db/m17n-contrib
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://ibus.googlecode.com/files/ibus-m17n-1.3.3.tar.gz
|
|
||||||
_md5_=722697363482f50e53e55ab683ef9d9b
|
|
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=install postinst prepare setup
|
||||||
|
DEPEND=virtual/pkgconfig
|
||||||
|
DESCRIPTION=Open Source, Distributed, RESTful, Search Engine
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://www.elastic.co/products/elasticsearch
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=Apache-2.0 BSD-2 LGPL-3 MIT public-domain
|
||||||
|
RDEPEND=virtual/jre:1.8
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.0.tar.gz
|
||||||
|
_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e systemd ec2e9154031d942186c75c0aabb41900 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7
|
||||||
|
_md5_=3bab6a02b12e59fb744852d644fd89a7
|
@ -1,15 +1,15 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] test? ( dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/requests[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/termcolor[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/six[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/jira[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),oauth] dev-python/suds[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/keyring-10.0.2-r1[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/keyrings_alt[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/coverage-4.0.3[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/hiro[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/mock[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/vcrpy-1.7.4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] test? ( dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/requests[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/termcolor[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/six[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/jira[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),oauth] dev-python/suds[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/keyring-10.0.2-r1[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/keyrings_alt[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/coverage-4.0.3[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/hiro[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/nose[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/mock[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/vcrpy-1.7.4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||||
DESCRIPTION=Simple command line utility to interact with your jira instance
|
DESCRIPTION=Simple command line utility to interact with your jira instance
|
||||||
EAPI=6
|
EAPI=6
|
||||||
HOMEPAGE=https://github.com/alisaifee/jira-cli
|
HOMEPAGE=https://github.com/alisaifee/jira-cli
|
||||||
IUSE=test python_targets_python2_7 python_targets_python3_4
|
IUSE=test python_targets_python2_7 python_targets_python3_4 python_targets_python3_5
|
||||||
KEYWORDS=~amd64
|
KEYWORDS=~amd64
|
||||||
LICENSE=MIT
|
LICENSE=MIT
|
||||||
RDEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/requests[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/termcolor[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/six[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/jira[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),oauth] dev-python/suds[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] >=dev-python/keyring-10.0.2-r1[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/keyrings_alt[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
RDEPEND=dev-python/setuptools[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/requests[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/termcolor[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/six[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/jira[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),oauth] dev-python/suds[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] >=dev-python/keyring-10.0.2-r1[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/keyrings_alt[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 )
|
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 )
|
||||||
RESTRICT=test
|
RESTRICT=test
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=https://github.com/alisaifee/jira-cli/archive/2.1.5.tar.gz -> jira-cli-2.1.5.tar.gz
|
SRC_URI=https://github.com/alisaifee/jira-cli/archive/2.1.5.tar.gz -> jira-cli-2.1.5.tar.gz
|
||||||
_eclasses_=distutils-r1 3cf8c7d6a9b2e3582f6b1f9aa9115ab6 multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 dbccd1caaf3a40e48d3cead0e4749325 python-utils-r1 7aaf8e4bc5ba6cae58ff688b5a857866 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
_eclasses_=distutils-r1 3cf8c7d6a9b2e3582f6b1f9aa9115ab6 multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 dbccd1caaf3a40e48d3cead0e4749325 python-utils-r1 7aaf8e4bc5ba6cae58ff688b5a857866 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||||
_md5_=61fb8b09a515e45ef4d7a2fa69626e91
|
_md5_=16610d28c6c5525e1ca8c983eeee0120
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
|
||||||
DEPEND=>=virtual/jdk-1.5 dev-java/ant-core dev-java/log4j dev-java/jcommon:1.0 dev-java/jdom:1.0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
|
||||||
DESCRIPTION=A PSP (personal software process) time tracking utility written in Java
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://hourglass.wiki.sourceforge.net/
|
|
||||||
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
|
|
||||||
KEYWORDS=amd64 x86
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=>=virtual/jre-1.5 dev-java/log4j dev-java/jcommon:1.0 dev-java/jdom:1.0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://sourceforge/hourglass/hourglass-0.7.2-src.tar.gz
|
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea java-ant-2 4e2b30d918dda38a51839a4d45282b62 java-pkg-2 c4e6af2574fd1dc79b43a6e27af4b5fb java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
|
||||||
_md5_=2f6893e5b5ea6e945331f0f8965ddf32
|
|
@ -1,13 +1,13 @@
|
|||||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
DEFINED_PHASES=compile configure install preinst prepare setup
|
||||||
DEPEND=>=virtual/jdk-1.5 dev-java/ant-core dev-java/log4j dev-java/jcommon:1.0 dev-java/jdom:0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
DEPEND=>=virtual/jdk-1.5 dev-java/jdom:0 dev-java/log4j:0 dev-java/ant-core:0 dev-java/jcommon:1.0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
||||||
DESCRIPTION=A PSP (personal software process) time tracking utility written in Java
|
DESCRIPTION=A PSP (personal software process) time tracking utility written in Java
|
||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=http://hourglass.wiki.sourceforge.net/
|
HOMEPAGE=http://hourglass.wiki.sourceforge.net/
|
||||||
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
|
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
|
||||||
KEYWORDS=~amd64 ~x86
|
KEYWORDS=amd64 x86
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
RDEPEND=>=virtual/jre-1.5 dev-java/log4j dev-java/jcommon:1.0 dev-java/jdom:0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
RDEPEND=>=virtual/jre-1.5 dev-java/jdom:0 dev-java/log4j:0 dev-java/ant-core:0 dev-java/jcommon:1.0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=mirror://sourceforge/hourglass/hourglass-0.7.2-src.tar.gz
|
SRC_URI=mirror://sourceforge/hourglass/hourglass-0.7.2-src.tar.gz
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea java-ant-2 4e2b30d918dda38a51839a4d45282b62 java-pkg-2 c4e6af2574fd1dc79b43a6e27af4b5fb java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea java-ant-2 4e2b30d918dda38a51839a4d45282b62 java-pkg-2 c4e6af2574fd1dc79b43a6e27af4b5fb java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
||||||
_md5_=ae9435cd491deda665b8bd8f4234bf2d
|
_md5_=361d092e395902c252874f6c2c852034
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
|
||||||
DESCRIPTION=A tool to crop PDF files
|
DESCRIPTION=A tool to crop PDF files
|
||||||
EAPI=5
|
EAPI=6
|
||||||
HOMEPAGE=http://arminstraub.com/software/krop
|
HOMEPAGE=http://arminstraub.com/software/krop
|
||||||
IUSE=python_targets_python2_7 python_targets_python3_4
|
IUSE=python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
|
||||||
KEYWORDS=~amd64 ~x86
|
KEYWORDS=~amd64 ~x86
|
||||||
LICENSE=GPL-3
|
LICENSE=GPL-3
|
||||||
RDEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/PyPDF2[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] dev-python/PyQt4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)]
|
RDEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] dev-python/PyPDF2[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] dev-python/PyQt4[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
|
||||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 )
|
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=http://arminstraub.com/downloads/krop/krop-0.4.11.tar.gz
|
SRC_URI=http://arminstraub.com/downloads/krop/krop-0.4.11.tar.gz
|
||||||
_eclasses_=distutils-r1 3cf8c7d6a9b2e3582f6b1f9aa9115ab6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 dbccd1caaf3a40e48d3cead0e4749325 python-utils-r1 7aaf8e4bc5ba6cae58ff688b5a857866 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
_eclasses_=distutils-r1 3cf8c7d6a9b2e3582f6b1f9aa9115ab6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 dbccd1caaf3a40e48d3cead0e4749325 python-utils-r1 7aaf8e4bc5ba6cae58ff688b5a857866 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
||||||
_md5_=ef9a9b293118bfcd8d201c7533e7fd70
|
_md5_=0e5b8c50fab31202dd5e6059d4bfe657
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyPdf[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] 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(-)]
|
|
||||||
DESCRIPTION=A tool to crop PDF files
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://arminstraub.com/software/krop
|
|
||||||
IUSE=python_targets_python2_7
|
|
||||||
KEYWORDS=~amd64 ~x86
|
|
||||||
LICENSE=GPL-3
|
|
||||||
RDEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyPdf[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] 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(-)]
|
|
||||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://arminstraub.com/downloads/krop/krop-0.4.7.tar.gz
|
|
||||||
_eclasses_=distutils-r1 3cf8c7d6a9b2e3582f6b1f9aa9115ab6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 dbccd1caaf3a40e48d3cead0e4749325 python-utils-r1 7aaf8e4bc5ba6cae58ff688b5a857866 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
|
||||||
_md5_=d61d98d55be46d97fbb5795e359335c4
|
|
@ -1,14 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=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(-)]
|
|
||||||
DESCRIPTION=A tool to crop PDF files
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://arminstraub.com/software/krop
|
|
||||||
IUSE=python_targets_python2_7
|
|
||||||
KEYWORDS=~amd64 ~x86
|
|
||||||
LICENSE=GPL-3
|
|
||||||
RDEPEND=dev-python/python-poppler-qt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/pyPdf[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/PyQt4[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] 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(-)]
|
|
||||||
REQUIRED_USE=|| ( python_targets_python2_7 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://arminstraub.com/downloads/krop/krop-0.4.8.tar.gz
|
|
||||||
_eclasses_=distutils-r1 3cf8c7d6a9b2e3582f6b1f9aa9115ab6 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 dbccd1caaf3a40e48d3cead0e4749325 python-utils-r1 7aaf8e4bc5ba6cae58ff688b5a857866 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
|
|
||||||
_md5_=8e626b1e7bf0b485fe8591f340a622ee
|
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=install prepare setup
|
||||||
|
DEPEND=app-crypt/gcr
|
||||||
|
DESCRIPTION=Flash-optimized, in-memory, nosql database
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://www.aerospike.com
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=app-crypt/gcr
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.aerospike.com/artifacts/aerospike-server-community/3.12.1.1/aerospike-server-community-3.12.1.1-debian7.tgz
|
||||||
|
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee user e4b567c44272a719fabf53f0f885d3f7
|
||||||
|
_md5_=4a106bfb21dfafbc82803ea873b117e4
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install preinst prepare setup test unpack
|
|
||||||
DEPEND=>=virtual/jdk-1.6 test? ( dev-java/commons-collections:0 dev-java/commons-logging:0 ) dev-java/commons-beanutils:1.7 java-virtuals/servlet-api:2.5 dev-java/jdom:1.0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
|
||||||
DESCRIPTION=Applies XPath expressions to graphs of objects of all kinds
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://commons.apache.org/jxpath/
|
|
||||||
IUSE=elibc_FreeBSD doc source test elibc_FreeBSD
|
|
||||||
KEYWORDS=amd64 ppc64 x86 ~x86-fbsd
|
|
||||||
LICENSE=Apache-2.0
|
|
||||||
RDEPEND=>=virtual/jre-1.6 dev-java/commons-beanutils:1.7 java-virtuals/servlet-api:2.5 dev-java/jdom:1.0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://apache/commons/jxpath/source/commons-jxpath-1.3-src.tar.gz
|
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea java-ant-2 4e2b30d918dda38a51839a4d45282b62 java-pkg-2 c4e6af2574fd1dc79b43a6e27af4b5fb java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
|
||||||
_md5_=2b97a134fc87b59f6bca8e569b100c3c
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install preinst prepare setup test unpack
|
|
||||||
DEPEND=>=virtual/jdk-1.6 test? ( dev-java/commons-collections:0 dev-java/commons-logging:0 ) dev-java/commons-beanutils:1.7 java-virtuals/servlet-api:2.5 dev-java/jdom:0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
|
||||||
DESCRIPTION=Applies XPath expressions to graphs of objects of all kinds
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://commons.apache.org/jxpath/
|
|
||||||
IUSE=elibc_FreeBSD doc source test elibc_FreeBSD
|
|
||||||
KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd
|
|
||||||
LICENSE=Apache-2.0
|
|
||||||
RDEPEND=>=virtual/jre-1.6 dev-java/commons-beanutils:1.7 java-virtuals/servlet-api:2.5 dev-java/jdom:0 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://apache/commons/jxpath/source/commons-jxpath-1.3-src.tar.gz
|
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea java-ant-2 4e2b30d918dda38a51839a4d45282b62 java-pkg-2 c4e6af2574fd1dc79b43a6e27af4b5fb java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
|
||||||
_md5_=116a95f7c580a35be8518ca9517448ad
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install preinst prepare setup test
|
|
||||||
DEPEND=dev-java/jdom:1.0 >=virtual/jdk-1.6 app-arch/unzip test? ( dev-java/ant-junit:0 ) >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
|
||||||
DESCRIPTION=Java framework for RSS and Atom feeds
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=https://java.net/projects/rome
|
|
||||||
IUSE=elibc_FreeBSD doc source test elibc_FreeBSD
|
|
||||||
KEYWORDS=amd64 x86
|
|
||||||
LICENSE=Apache-2.0
|
|
||||||
RDEPEND=dev-java/jdom:1.0 >=virtual/jre-1.6 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/rome-0.9-src.zip
|
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea java-ant-2 4e2b30d918dda38a51839a4d45282b62 java-pkg-2 c4e6af2574fd1dc79b43a6e27af4b5fb java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
|
||||||
_md5_=07aa2569f1bc0f2fa13619f993481083
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install preinst prepare setup
|
|
||||||
DEPEND=dev-java/kxml:2 dev-java/xom:0 dev-java/xpp3:0 dev-java/cglib:3 dev-java/dom4j:1 dev-java/jdom:2 dev-java/jdom:1.0 dev-java/joda-time:0 dev-java/jettison:0 >=virtual/jdk-1.8 app-arch/unzip >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
|
||||||
DESCRIPTION=A text-processing Java API that serialize objects to XML and back again
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://x-stream.github.io
|
|
||||||
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
|
|
||||||
KEYWORDS=amd64 ppc64 x86
|
|
||||||
LICENSE=BSD
|
|
||||||
RDEPEND=dev-java/kxml:2 dev-java/xom:0 dev-java/xpp3:0 dev-java/cglib:3 dev-java/dom4j:1 dev-java/jdom:2 dev-java/jdom:1.0 dev-java/joda-time:0 dev-java/jettison:0 >=virtual/jre-1.8 >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=http://central.maven.org/maven2/com/thoughtworks/xstream/xstream/1.4.8/xstream-1.4.8-sources.jar
|
|
||||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea java-pkg-2 c4e6af2574fd1dc79b43a6e27af4b5fb java-pkg-simple 3e71074eb6884746b37b70b2c9c881f4 java-utils-2 1971a6927fcd7ec839f7e12b28a24bdd ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee versionator c80ccf29e90adea7c5cae94b42eb76d0
|
|
||||||
_md5_=e420caa516ff403b21f3a1704b6a8074
|
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile install pretend test unpack
|
|
||||||
DEPEND=gccgo? ( >=sys-devel/gcc-5[go] )
|
|
||||||
DESCRIPTION=A concurrent garbage collected and typesafe programming language
|
|
||||||
EAPI=6
|
|
||||||
HOMEPAGE=http://www.golang.org
|
|
||||||
IUSE=gccgo
|
|
||||||
KEYWORDS=-* amd64 arm arm64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x64-solaris
|
|
||||||
LICENSE=BSD
|
|
||||||
RDEPEND=!<dev-go/go-tools-0_pre20150902
|
|
||||||
SLOT=0/1.7.5
|
|
||||||
SRC_URI=!gccgo? ( kernel_Darwin? ( x64-macos? ( https://dev.gentoo.org/~williamh/dist/go-darwin-amd64-bootstrap.tbz ) ) kernel_FreeBSD? ( amd64-fbsd? ( https://dev.gentoo.org/~williamh/dist/go-freebsd-amd64-bootstrap.tbz ) x86-fbsd? ( https://dev.gentoo.org/~williamh/dist/go-freebsd-386-bootstrap-1.tbz ) ) kernel_linux? ( amd64? ( https://dev.gentoo.org/~williamh/dist/go-linux-amd64-bootstrap.tbz ) arm? ( https://dev.gentoo.org/~williamh/dist/go-linux-arm-bootstrap.tbz ) arm64? ( https://dev.gentoo.org/~williamh/dist/go-linux-arm64-bootstrap.tbz ) ppc64? ( https://dev.gentoo.org/~williamh/dist/go-linux-ppc64-bootstrap.tbz https://dev.gentoo.org/~williamh/dist/go-linux-ppc64le-bootstrap.tbz ) s390? ( https://dev.gentoo.org/~williamh/dist/go-linux-s390x-bootstrap.tbz ) x86? ( https://dev.gentoo.org/~williamh/dist/go-linux-386-bootstrap-1.tbz ) ) kernel_SunOS? ( x64-solaris? ( https://dev.gentoo.org/~williamh/dist/go-solaris-amd64-bootstrap.tbz ) ) ) https://storage.googleapis.com/golang/go1.7.5.src.tar.gz
|
|
||||||
_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee
|
|
||||||
_md5_=e75516c0d4f458d1ecb4b52d5b621742
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue