parent
b2902f234b
commit
fe2233648a
@ -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,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,4 +1,4 @@
|
||||
DIST jira-cli-2.1.5.tar.gz 122947 SHA256 bb0799ea575bc7c60fc800fb4790a3f82f68967eb06cc445a03b852227d92a88 SHA512 8d8cad01d93fcca63ac9420856bca4825bba1e1954e674378c2a3f501c7716125afbda96c5ef12ba4d90e4e771b1d80165aaff1db883af5706510476bd9d8799 WHIRLPOOL fa773d9343191c5cb116a0ea18627f9000289fcf53230ba563b402e432625326c8848c61909b72d62bf9e0e8b6e16b7aefbb9b3a8ef6132b0ee2552f42daf767
|
||||
EBUILD jira-cli-2.1.5.ebuild 1223 SHA256 5ebd3034352b792596457d0dbad7d0ecf017f102f4bf4ac997844544e2aab78f SHA512 aca6e7ba40783e011ec24728d9f2202d07b09d52fb59d3d7a191a523e23902c2dbf3ce0ac192f9378cef79bb94a3b1e161f4697fc0104d9609c8df41962f19d3 WHIRLPOOL 250c724f2a324189d5f9c105325870e2937c69f92c9cc57b19a041ea5a2da7f994cc87ac2a2fc2bef029e75723d2359fbca73a91ebacbdda048cd27221466717
|
||||
EBUILD jira-cli-2.1.5.ebuild 1227 SHA256 0b17934777730d894a6508551f47f310c679024121450147bd58c719e7ab1522 SHA512 27db6baac917b364e22338653a4957d92bee9a94bd6cd3221dad41c5500d553a664f9a33f60ca4902fdd8aef9a2633936ff4b14890979c8bda35331d7daa7c55 WHIRLPOOL 8c8e59b8138b0f28139f624019034f6702ca351796b7e441d7b2d90c31e7f9877488b8645ce5ae8a2ec63fdb2a25daaf7379dc95754a2c847d792d7deda8303b
|
||||
MISC ChangeLog 724 SHA256 1259839354a1759419e53cad9feff9927679e1341cad2509ec2ceedcf4ef1090 SHA512 4e13b961aa1f3fda23d07d69d265bf1fdf307c6c84e0c6283c87dd263fde0591859bff312f64472e0201d1c994f5d6eeb7f0412fc1fdee74993784b5b50c8c12 WHIRLPOOL 8da70bb8eccac33f99cb18ace01df0ce6b0d3e9fbae74233a913783a9a26ce4d7185ab6df52d3f5b5ed07de47ba585fa6ec453e95187ee277337dc9dfb803d27
|
||||
MISC metadata.xml 328 SHA256 f0288134a6ef0fb20b97c7b5a0f45e94a0a9a5ea9e5e68f81ccaec83d72cba8a SHA512 2a23b4a2dd9180c8bd3b1216a3d0d5cb8d925709ec0cd2919f4728d204df473f7d7deac8b31a94899a90e4556cd5202fec7df0e8b653ee2bbc58a791f17c7c4c WHIRLPOOL 1fdda673dde37a6d6f0fb5b2acc641291b55c530996725acc79ef7ec812f37183a7d7d27a7f1020af8a3508904e0233cd59c2a94cf938da73822ee8364cf4f3c
|
||||
|
@ -1,6 +1,5 @@
|
||||
DIST hourglass-0.7.2-src.tar.gz 119371 SHA256 f5d6b9c4ba6d501647d1cba9960d538378204def021b770e5e0031c4672d3526 SHA512 c15c9c6268f2f99ff2138764197b70480566926d524ce22039c85b7ddd11e1429e9f40c07691e4cfaccc9899e27f3d808e2cdf31d207c379dd67e5bd3c0f325e WHIRLPOOL b8aec228e264d3820125ca6e4f32ba491e5a3d90c8a3ea4b7c4e2c6d60d4ca275aecb49fef67486f920742d3878e65071a8ff7f7187aea28fd3564aa39a29d6c
|
||||
EBUILD hourglass-0.7.2-r1.ebuild 1364 SHA256 e2eb58528807dc58d8cb36e36b692a8c21eb57071927ad3a9de3c8348c1a0c1b SHA512 f00de5dd981a4f143604fa177d87724906f0247a124a6f0ab9eb578721eb5ed70645a6ce8df66c60f09277e0a6eaef0ac3dec1471b205336a14c005251f2e76f WHIRLPOOL db9b3c2d09ab28088726d33a89b0eedb21589aab6e1ef55194eb7346cd4e18f57c3e01206785a6df29efcc0aca0b6dd8ea35be508e45b90026d14c58bb173470
|
||||
EBUILD hourglass-0.7.2.ebuild 1368 SHA256 b133480873029d62e3bec697d836ff56702b4807d18d88b54e27cdc3851ccc2f SHA512 f21091525957fb238b0eafbf2d6f85f9cec7ae5ab0681d126d3ff85eea083deb0b045b79d19c577f051767a4ad9f841b0089241e1f0530c8727224e59364006a WHIRLPOOL 428f0804687dd8ffc09d3fe00ce338e7f42e00234941d89bc5a17becfe5f2c628cde300a3abb307b95e21d89cd9a4b7485feec63c8ac9faa3ff146070641b656
|
||||
EBUILD hourglass-0.7.2-r1.ebuild 1373 SHA256 595a5a1259cc9aaa2b9c7f8d51adc85d37c768d6b7e614828b1e6e0afecd1ddd SHA512 a2c994e689fd72f9cf5885cec2c0fea50c1a9b2a0ee57ef1aec8a71f969cad8be2688464f552d9ee9b83694c80b1d570af42f55fa7c0379204092a5c274225ee WHIRLPOOL 0880c8917d6bd2472613eda18a74298902752ac7ad49143faa9398326a26158176597356d2f5dc51fccb825fe0a8aae8f264014b455613e52364be1104475ae0
|
||||
MISC ChangeLog 2599 SHA256 b86ff7937876d50f9551a41f7160c19f513d0f368dd19abee972628d4ebadc94 SHA512 e8085e4ca869a54017cbb83c810fd8aa9e079110674702f5e9fcf839aa9a2577089c8833dd6a98ad5e33c8ecaf62d0418346cda2fe406f26c5d806aeb3abb65a WHIRLPOOL dae83af49f84524cadd30713b570ff0e14144d7f0c37e7e2fe7b5269aeeb3031b6a1d455db5908e1e88c42595085a116a5733b85c532ac6d9233232bd8bf3bd3
|
||||
MISC ChangeLog-2015 1493 SHA256 e922f8d3d5aece9e4a946e02de837d8082a862cdefae7f1b9766507d035f6e61 SHA512 fb96655c2ff2071761bbc090a379d3df786ec77759b3099160b94bffcf1eb69a5d694146f849080b9ed64b3441660933c56cf80b4f5a37e48204deaa1beb097d WHIRLPOOL 86d87ce4e296f530cbca5a12a57e97cc77937e3e335a35dbfcae6cda7f5b4839264e61dd59dd78641b5646270e130474bea0e413466e76effab278b80511e7e3
|
||||
MISC metadata.xml 315 SHA256 7af1cd8cd917b062d7422925caa3ebcee287ff7c64c30f7dc14f6d07ebf6c5c0 SHA512 8ac90ea393b90bddeab543f2b00f5a92b74bd18c342ecc97d384c6e98178e418698afead4acff15a35d98f948f6d29a69bfeb419d8bb31426fb3790232df98f8 WHIRLPOOL 1f4ee9405ca0f7866dfe809fc2f30f5cd184ceb2d82b1f8af6a67c257c77ad6ea150996dfaba967ac44dfcaebaf17f265fa50c416eb378e242ee109a42294750
|
||||
|
@ -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,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"
|
||||
}
|
@ -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,8 +1,5 @@
|
||||
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
|
||||
EBUILD commons-jxpath-1.3-r1.ebuild 1419 SHA256 11f19f7ae2879a060beb1025ae54a6ddf16702378806abd3b0234a328157ce9a SHA512 c41ad8b5f4717bcf3d16f641226fadddbd16f3eb4139b4f748d872ac5c70de2415a40629ae8f64e8083284b53da99ebc8f93524b5d19df09099c8c9f303cbe72 WHIRLPOOL 6b524f6e5cd6ee6e9daa8c24ee00aed8be042531fd2e22b244a1dd672abdd88d659269cfc9521fb3167392ecf33628b63ae6ccb43816dae5aea305969d936ad5
|
||||
EBUILD commons-jxpath-1.3-r2.ebuild 1416 SHA256 127a2a5fcd70a7800697d266a70b101bbae91f276abf89e5c1efd794046dfbb1 SHA512 4b7661bd0435d4d961c33c5a913a55fa71e13aa5d0f7e5696512f20a755a4c192c040d710926f30af6cfc63a97140f7b70ce98cd1ddda596c76aded1b9635ebd WHIRLPOOL 7043c557745c29ece2fb159d3177bfee57fcd94d64fdc8ae54181c6af2f4a8cfccfd83157cb1b1e3d538b08b33238a4ca8c1f26f16658f9d7855aa513f4936f5
|
||||
EBUILD commons-jxpath-1.3-r3.ebuild 1439 SHA256 8432373901a6e9ba26095f35aaa80953025b4ef833b955dc00a01efdb0bad18e SHA512 5d4c5d9ad58090dd9c2c31e1e7bde10884720ac4c26e76db08891f3270d728987672ed692de75b2304a6ab7850d22571130c6acfde1cb7ccd1327ba6a97a51fc WHIRLPOOL 727fbc5d7524bdab42f60d1dc7947e04eae7fdbf8c3495cc5bc04f32f31b6af0b5178133af37d0456e44cbe080906f3c22a5176fc81cc147d277b28792bc6c7d
|
||||
EBUILD commons-jxpath-1.3-r3.ebuild 1428 SHA256 1136a696c1712b90562439a644108b302de9c18c9a85671605867bdc72bf8288 SHA512 9df36ed8a4341e9ddc38794e01597f0db6455df4d1b071fa35c10ef34053dd44610d0e3ccfc73a7b7f064a0aceeb8e61b0275fd552fd9de0a9410de6781cd404 WHIRLPOOL 64c719ace925a00f76a9e93233bb3f68a773c3b9ea0a8702c3e1f1791bc3c26c80f71ff38be65acddc59fcc985367c610f1ec8629f02abb53c3517b0056d7b07
|
||||
MISC ChangeLog 3878 SHA256 dce122097dc94e0a7f27c4bc2c7136fd795d8ea317e2175eaa0b74fb8eefad02 SHA512 9be26ca374102e90acf19ba6d5420c0e0bc082415b393367907d7c13dc3064e056c4458cd797279b849bf1a33a08735c699d174e33f4ad90d3bdcba8e72ad252 WHIRLPOOL 28138e57ccde64d74c6bf79bdc436ab5b388a1282548a6b931624b08aaf1da76e8aeb4651e51b2f90b99fecac8b998503276facb289a0d283b7e71e3f1ae3d30
|
||||
MISC ChangeLog-2015 4851 SHA256 fd654376195533bfa4fc69abae01f0478640e254ce01b537f9790ce60c21bebd SHA512 bbdc5dbf62966a252742ec52c5024fcf32fed0ace3987445af8467b3b9906bd7c62d68eb3622f608d16a616f9ba77859c4d0c3f3fa52ec580d01ded3fd270a11 WHIRLPOOL b8718800ad94176867c28da2ad764a350a9a81185f72e81b2a052303169e15fadfc5d1ea129bec77edb1d6615a81cccb247bfde20340223627a921b52977bda5
|
||||
MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac
|
||||
|
@ -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,8 +1,6 @@
|
||||
AUX rome-0.9-build.xml-test-upstream.patch 527 SHA256 fc1771d6487d4f37c0f60ac33f50f6d9caa6a4e1b8db82a457e2f9fe1f6e40dd SHA512 bdbe4232e443228cb64be2f108ec021a9e8654e28c1c9a50f2bf453cb62d090cbfa47df1a0df14e01780c8b8c460331b45a4a974e121ac3d4ee93b82beca0781 WHIRLPOOL 0f1408c68c085b59269b659f4f7e9e642243c5bb1441d1089459d149f9975527a3eb11326f392e84f8299d65cdef17452ee380736fabc9bfeba0778bd840d452
|
||||
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
|
||||
EBUILD rome-0.9-r2.ebuild 1019 SHA256 2e670e6ccdac125d300ed9ef82f63c5c5a0140c4b4e11284b93b27e04a21cbb1 SHA512 17b8549d88efe9826f140c087404201b4be99b84ae6b8b26273fae7c5e5b9e3480fbe8e3c9a29e90bc4572d3dcf4d57c32e57847f7a834997639aa5186f15d47 WHIRLPOOL caa57a2f8a402b35ae9d3ea5527e04d829c8573bf5ce175308eb9a094ffc624079939d0185c0cb902cdd27872a10e5f87a72dfa9133297eb181710cedea4d724
|
||||
EBUILD rome-0.9-r3.ebuild 966 SHA256 ebc502a3389aa02698246039efac80979aa6c97aeab98986dd5a89f5dcf432db SHA512 873081ff92ad04d655ee0bc4d009e7940371a56081962862b89a5d2bca3c27bea38eee561e26788f51f9b690563d84d717d894cd51b91c6bd87e68246bf7e40a WHIRLPOOL ce3f2d6642ba8fa65ba3bb959d4b0f2e642c534069bc98a1de04286d782e5ee77a797ce6c73a186618154e04c754aae50cbb2b035312e661ae4464ac6aac26f3
|
||||
EBUILD rome-0.9-r3.ebuild 956 SHA256 027055af4350d868c84ab9bc34394457c7692c7b1fe34ab90ea54a33aa127bc0 SHA512 438b68bab99ecf29b493e74201017f9f4e4a5ce3747c86f7bf737b9481e68237192366bad2785ac14b85e2ac558a63662e43c5f26d96b9eafc6d777374fdf637 WHIRLPOOL b04c5adcbfdb97835ec268a137c386e107f42a4bb12118548e4117dd003d671e580b7162d4961f17a885bf5e10dc8b9f5ad90059b76233c82ad3b2a4d2f48cce
|
||||
MISC ChangeLog 3760 SHA256 024b3589adbc51aaf7d1990111bd637a1cb2632757ba6d3c8d330457232a5713 SHA512 31d0ce7c2e63c93069e88eca5949a5811596a20cdfb185caf78c8ebe537216ae6462e5268dceb89ab81eb0affed24159c1c498994b0d7081cd482acb6464e894 WHIRLPOOL 912d5cf7e70fe62aea2877991cc761d6f75b7eda0702178bf45f20d95c4ae627645ac0fa63b22df8e56da4c39b1ae0563b6e0c033de5448cea1bb81af6efdec2
|
||||
MISC ChangeLog-2015 1128 SHA256 e439ed6b0bd626e1025605e80881ef51389a08588f34ddde75ad0fb1f0460324 SHA512 c871d8c719b06cfa0437f93a2adc13a9c0a591d0650e309768532134a4d07d8343784f14422d501f00e9796126ded91629ce5d0a126a5b1b1d0a68200ea19095 WHIRLPOOL 35d0cb452d7adc2ddfea734ff854947279c4ec2c21c8621ade2d79ae06e036f114ddfab4da7f4e79d1fd35b537b2c0e8e1e9b185072380a1394015cee4d04e91
|
||||
MISC metadata.xml 214 SHA256 8e5c772f056babed2e7e25acc12ab79a32dc6a670548468aab55a9e1a8e5b848 SHA512 d2b6ecfbbd79440de1909d9f195e5d4a6f9886b685ac1e6d7a1db39b8925b29942fac2998cde06040c921f2cc9ef2cbfbf836b60e191d894b00f75628476b1f7 WHIRLPOOL a6545983d0a39cfcee27a2628897a5a59ee0daefe93ccb53968cbf386db1dda3b41851ed1ba61406ae5e5c17cf94b6f88a5b479a838064c99406a93f91ca7628
|
||||
|
@ -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,7 +1,5 @@
|
||||
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
|
||||
EBUILD xstream-1.4.8-r1.ebuild 1247 SHA256 d588a4c3fd886d3fd187382abc9ba8586718c2313f9fd436c6ab00a54c4a6f91 SHA512 d3c97bf50f91900f2b135bc2a52b0edfb295e7add315a0cb78c23e02e651c492da682156d7f896c9c0bccbc1300826771681711ef862c10ebf7e6a6d3e475e65 WHIRLPOOL 49f7674784b7707fa3ad11a89be895ba654547759e8f669425d2ebdcf027c25c691a46930f718b647c6504b091950ca7844b36e791601f5fb123067f1420d889
|
||||
EBUILD xstream-1.4.8-r2.ebuild 1256 SHA256 24e0aa43a74087b0800ce03102bff8566fc0b53637acd9b9ec691b101806341d SHA512 dde263a90f7070ddf0cab6435b638818aacb7e4a295d9500962d295a409390065e59719a3e3596c1f6b5bf056d560384e614265e72b61d14241fd8ff75e69ffd WHIRLPOOL 2c404cda8d09916898aea1b28765e3bb0399b61d565b7cf1713f97ded0dd4d75c6d6012ad21ca0506c4106ffd377f9e3beb7051ffbe82debbf279e47d737f99a
|
||||
EBUILD xstream-1.4.8-r2.ebuild 1253 SHA256 c713915a148086057052853ebcfa9ab49619c2279049ab608f00ceb3a40aeb21 SHA512 155ff713dee0dfd2e2e035e5a75976d34f548356337b81a81d4a9747b93ae29cf7cb6e62e78d00acfcd212a798df1951aa2b672a01af61febe3bc5e532f79954 WHIRLPOOL 57e2bd41a1de1e5a7014eca098095c4a01f9e6e90ec5a0a159fe0eba1fd1939c4fdf81acd193db583484a366ad1d61189a50b5d93f289171fcd9d444bc6549fc
|
||||
MISC ChangeLog 5032 SHA256 75e962e958ece614e38f83f2a50ba6ee31f558617e2137288f1fc8ca76aaa930 SHA512 ee812132b8e13e1255e7e1c6377922a02f7e77641529a3ab7f61287d1a407a4d32b3f358c37a8b9563ceee4734df1def786338e953ee7edb01363b97985280dd WHIRLPOOL b4b3f5556ee0a3a61e7f7bddcf2ddc0e5052fcbdccec6e6a68c907fa247c582e24958bcfa89a62f92c4ea1a76009125db19b1a954948250be1650e7fa3178730
|
||||
MISC ChangeLog-2015 5457 SHA256 d3601d25ebc519197de8abafaca5c252cffb4beefa878c86ffc62a70f84ede51 SHA512 e6bc9eb964c38f4b89990076709e8dc25743cf4b620fa5935736d129da8bc4c53cef968f8da2feefaa95a66a9c9fd23f9fee9496a0fb5851a857880079d43eea WHIRLPOOL f96cec624eaba59694a67acc05226bcc07f0075e918f942318c58076d5781c0d4ace3fd528b05ccd4d48c5a51c44526cf14985e6374ef2949f33701e4f8eadbc
|
||||
MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc
|
||||
|
@ -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,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,7 +1,7 @@
|
||||
DIST rrd-1.1.3.tgz 19229 SHA256 0415ac51e09fe2e7a999d155d10d6af42ddf40ab0b4847a63ed1f9458533858e SHA512 356264de1b967af0f78e25e3c0afcbec704dd3e49d828e08d21d744d5fcdc46f4cd7f7c118b4e283c20bcaf2a4c29e0ac9437c7f66ca0d260a76fddf7b9d3242 WHIRLPOOL dbb3317985e47130ee03c4ba6284428d38e25849a8da9a3ada2437f4e5b276e79a104131a64aad0e244fe5b63d5d310d81bbbb090517efcd3b8a6e18992c1d6f
|
||||
DIST rrd-2.0.1.tgz 18880 SHA256 39f5ae515de003d8dad6bfd77db60f5bd5b4a9f6caa41479b1b24b0d6592715d SHA512 b6f7173f54fcf49bf014cc6c78263c169cdf53dac66c12f5f88db7e01b49ea74da84a55f61deb25c866e6e2e74275ec48fc4a3d1b46719f66b5b7b7eb000b6b3 WHIRLPOOL 52825f29b2eb8462d14d21d13c5b9f4d06057d4150a85eb8dead2c2dc1152fcbb2b14821940e851e7bf3cb4172f0735223a6ffa7ff8634bfd862e40eaecb4fae
|
||||
EBUILD pecl-rrd-1.1.3-r1.ebuild 302 SHA256 905ef6e278fade58103cefe68dcd2dceb336fb94b105b54b022097fe5b278583 SHA512 515f0eb476a580c483c82d210d404f5c7227d7996bf6d79bff4f9c952e7614786d67a23c36d69795ac7217bc4767b3cfdf8f966d37c3c3e8d59458f009bd9769 WHIRLPOOL cfce7e43f05cb0a24921fa31c75dac138d0d109d9a40993315ce5f09aa1b27c3cd1b7b3cc3df9ecbebdac08dffb18f8c4269048057d47925ea7aed108d54b78e
|
||||
EBUILD pecl-rrd-2.0.1-r1.ebuild 458 SHA256 aad53bfedf031360c3ed7a9002b8a28305a8cbdc64c1cdb12e5a78180a53774f SHA512 ef503ec00058a2846559f135bca4b9ace818266e26afc20fb2e8a24cceb68b725790e5d209d4c1090de739bbd1c3e9c5c89cc329c13d5c248692fb98a9c06f4a WHIRLPOOL 6260c185b3d82b12908b196e7a1e5eac4645ef053f6d7607a8fd10a6fc74a80dd8c0509f0fa65b04c3541eaea544fe8e2451f3fdb92192b04aa55e3aa3401a9f
|
||||
EBUILD pecl-rrd-1.1.3-r2.ebuild 792 SHA256 e8aeba8e04b39f89c6869f92bb1a3edd70b921bdb67b1f897a0e09980e8cd083 SHA512 b00f02cc0ed6678df78eed5fd0a2417daf2423cf04a524429b1da116babc0baa2d45c90458ec26e71bbb5b843c1a86eee6b34ae410706f5e3fe85e4dd2580dfd WHIRLPOOL 65cff5a72ccb469ed7dd6060f7d45f7da780ba539a50c157ad1e170b0f559be437284a5ebdf6f3b68cdc6d55520c5f6a3539ee06ec1a4ba8618e450a345afdfc
|
||||
EBUILD pecl-rrd-2.0.1-r2.ebuild 891 SHA256 7e916dadfb30e0ce0884da0e46f60254419990022f2a26db182d01423f9dadfe SHA512 f05bcb413e2442c372a65df296fb4d56f3cd15f7c9c112348ac7e4e25edef717c5a8b7fe4e3092b7ff5880753d7cb0c1c1cb594640db7296005b70ff3950bff2 WHIRLPOOL c4f34677998328c9fb52a6e75d36a6e1d261e05a273fd05196bb06156f67006a3cce34a002a7a288383f90fa005062f0a8b52f27dd13d28efe71aea8630bb0a2
|
||||
MISC ChangeLog 3354 SHA256 bbf1695ebdc90ed4363cdb8b3907c121f2a9599272058abe2bd296b39fb77231 SHA512 539fbe2429b65b24287070ad3bb9eb4127d7f8df1d78984386833ec9f17432a5c2c50dac57947e174669abf26f31a27b2412aad1113f686deb858ba4d019bb23 WHIRLPOOL 271a31a3bcbb2291e2ccbdd02dce5a602ee9ece2a9be6382006a688fed882a3ecb70feb99738c489dbf36e49d1ff9d3df09a01c8951105f5865202bd9d0796d3
|
||||
MISC ChangeLog-2015 877 SHA256 3036b66c42aaf31b6ba807a5e8464732bb221a00cf07a240f202462de6606a1d SHA512 a009630839890e437547775c12c09613489eca947a090341cd60fdb9b1a82cde448761639396a86c0c668db29b0c53e1d205c33fe4a80dad712a7efee79054e2 WHIRLPOOL d935bde0cd4407a489687e7428912af5fe49a4149f4c953ae588fa2146757548c12e372b9218f8ab3c239932bd9725cd36ab0934ae4087f50ea92892dcba5489
|
||||
MISC metadata.xml 239 SHA256 b54aca642ac424532264a97d14931720ed288cf387dbdef6a10b34ffed6689f1 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0 WHIRLPOOL 80ab9605bb31ce3310bf524de4705c67ca85cf8f2346b7e13274595598b9fe92c9b119beb865ef214ad33ef172b880e318d18ff8c8d2026cb7319f0524d8a7aa
|
||||
|
@ -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
|
||||
}
|
@ -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,4 +1,6 @@
|
||||
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
|
||||
EBUILD hiro-0.2.ebuild 528 SHA256 600460d84a7d953b9e5b4af0a07420cb169862b70a385bf698779389077c7451 SHA512 a664b3c4b7575c25a665288836a013fa757d516679ec947bf9879393471653f0794ddcba07ac80f13aa7d452bdbffab2b93e2850916c98e8ff19d8dc12f65014 WHIRLPOOL a63d674059e75ff8ad105f95d24a9b108ba3a97891f6ee4bfad0559c47abec7877a6047b7e60cbd666ac78bbaf06d193d995417e620c2992550b3e0084fe1e80
|
||||
EBUILD hiro-0.3.ebuild 530 SHA256 b19925d540f3e0cd61ae5a1ce25b14e3042dc0448282aba80ea07e9d370afd19 SHA512 28c3af48fc074438b7193cc42fafe0bfe040a4d2191eaa0668041a82de4b5642506cc288d7959b54c487a8bd497ab2be35146f65d89e3ff89ca972a95c7a730f WHIRLPOOL a6d922daf20e5f8cb795e865dca0172b3e0ca739cbdff1561b02b0c6240ea1446e53f4eb0709ca896b94202121ba6f291ce63ce6da32964be8f761dfe35f2555
|
||||
MISC ChangeLog 296 SHA256 aaa66ec843ce2896b10382ea9b5736e76e26cac6bca9e7cf1bf7491fc03f3db9 SHA512 03b50efb3f8a8e225846bc6a889e7d7e64bd2a2a8640745fadba760fc1782cfda8f38f3512ed33325b2687c8774c8db1f3523a2efd192ece6c29fb681bda63ac WHIRLPOOL ea16d39f71bcb27d0da23acc8c0cae0d7b43c6e81268640342deb29aff7c8b66cbd200e7a46d5fd99ceaac0e587f67d53c42d12070fe799aeaa1e61bbe4c2bfe
|
||||
MISC metadata.xml 467 SHA256 460ffb89d2d6106bdeace5e457520e6ed9902a9f9b49a0cf9674efaea980ffae SHA512 f96002813a716be33fe74efa612a63080dfa2562e96a3e36ebfcd8da763bf537c0af2f6a15c20ab078f750bad7280afdc42a4f8e0a31ed98ae2c962d4552c728 WHIRLPOOL f6c89397e3ed99730b81451256a615c59cd45ee1020f37b4ac44a9e245d7fee4baef5ecf01b136b5432484ff8efe3b78edc46348b7afa18b9fc521cd6e5f0d12
|
||||
|
@ -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,5 +1,5 @@
|
||||
DIST MiniMock-1.2.8.tar.gz 13217 SHA256 5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c SHA512 91133251a6e6b1acc11e6ac4f24404807134f8a7fca49d5f7365d7fdfc6bdd1527e7382da8d866669408b1ad30331a176026dd31bcb0c3b7367b7f778fc61ca7 WHIRLPOOL 768a73dc82499615ee0d0ce9dd7a3e67253c27908778b0fcd0bf07d562254f48ba95128ced78b7599ccf77cf19bec1c1b85d21a60d251f302825516800bda69e
|
||||
EBUILD minimock-1.2.8-r1.ebuild 542 SHA256 e35305167493890939af451906f7bf67aa4fde03bf2b904f63b0c4eda5934038 SHA512 7b280045eb8bfc5ed94da79b602776b65108e034ac4392e76e17cd8bf99e9c34d37b3ed4e2bda71bd652851b2489c3df988497e13a7dfddbd1f005f0f57515e2 WHIRLPOOL 6e8605d8318506ecc98fe22609c6f173b51c7e7e67361a8394c0f4320d703fd7e202c0cab3dee680a570a815379307a3cd302d53ffb64d5c0a60646dfb2c1443
|
||||
EBUILD minimock-1.2.8-r1.ebuild 836 SHA256 7be828e87d5a45d7feb54d66521bd1a55808fb4795b002e1e33faca538e3452d SHA512 34db96ec600f439ddfc41ff272997a3268b3b5d7d54b267160665ef9c5e6c3ade6464d6dda2148b15aacb8dae6fbf7f0e17d126470acba4544a844c354d95ab2 WHIRLPOOL da0048e59afc13af3e6728c7cb0346f48a941704a770d351e9808bc5e175bcc455457cfef50d15bd9c0f2d02bc858fb3320ab06cc239bea97297973721d5553a
|
||||
MISC ChangeLog 2717 SHA256 b4543ec62dffa73ad22c88d77a685b44e82c1e4038c3117a14efad02b5262469 SHA512 3dcc4850aa8c83e8c7aa3ff6a05a5a5761ba72c85795eeda19e2a618b7f7ba620c96b0939ff76d88e7ec7648a99628c7bb2848297365da83aa3873bbb17ef39e WHIRLPOOL 286b2323d79227d82968a416162bed2614b84a065ed1163cfd46bb7d70cba3edb1a08083e7f5886ccaa352330026bf8f38922d26f695ebb2ac6abb92ebaaf5f3
|
||||
MISC ChangeLog-2015 3377 SHA256 74791e2ff3d8705ec317890e088ba3a9a598d537e6c84da5b8db6bd8b41d422c SHA512 efbedfb881beb0aca4e0ef1865a8993bc0e2a73bdd15a5c535380ecd4d0441025725b4db3b53427339c90ec9c4274b18032f4d01380b0e5c6bcd682fc8735e12 WHIRLPOOL 27e1c5832fa3e8ae9ff749827a741ded5508732a0cc4b395e843f4e3273213f1f5685c461cec498afdde908dce29973daa647a745d220ca62d831720a278ee00
|
||||
MISC metadata.xml 311 SHA256 7ad89e7cc9756e1455ae7432feb3295853ccd5db23ecf8cd3c55c58d41a3410f SHA512 9df2bf6b3486803c9754bcb3b9142844ca050718f10c00bfcaf4538262cb95c3d7a5e3102ca2005ce407205f6beca7722aca82407e85cc289b35e33139ba6236 WHIRLPOOL c76fcf9f81f51d59206341ff6624dfed8a49574123db201d48a32d200afe1f9352cf6ea752ccc4e4a27c5a1c03ffec884c4d2e654ecddee409c0d63ac3626548
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST node-semver-0.1.1.tar.gz 18338 SHA256 e29ee4e51efb6d82c55aef5d569b888842e62e6404ce95df18d80c421f8e7dac SHA512 f652a69330907722d1e6449f237ae6c006a11c48f49b450d390700704309672573add77c103fc53d052014e751949348b344b001acf85ae6668e504811a1d198 WHIRLPOOL b4270e8b8d25676328619b6ed325c0991fa7c1f3a30dda136122eca820c1927a1d74511ae0330a0551a7518d6338da3af55a593290aeb1427cbf61801855d436
|
||||
EBUILD node-semver-0.1.1.ebuild 602 SHA256 a461b819efdd178ef86cf4ad5e7b7737a3c630fdf9728169d6e4f57fe50c89b6 SHA512 beceedb50525efede4ea098a32800a9e6770d054615ea34ce129da930b7271dec24f3f592e5cac6eba182ef784711a8037ebf0ce17019672522669c2f07013ce WHIRLPOOL f070990b5c797dcdfcbeb1e6971e6a44d9cbeb6fc2f2bb44f161f4c32493c5a6b512c2c7564e4debfd9161115e07e4aac8a016a07f310e49c701100ec6bf62c4
|
||||
EBUILD node-semver-0.1.1.ebuild 880 SHA256 dcb614c76f11b4bfe7ac3e229abe1050965d1833bece6684199b0159b71cc58d SHA512 9425c6e058205dc1dfedcea4f11a0aae702f4922a912ad3495eee06e6876484fac327422de4983b41b81b5709d13e437c142c5d4f211d75e37ed5d36af4645a0 WHIRLPOOL 6463e11e2fca639cb413075ff13effac456b303dd6502f52b9ef4de808775a38936f88f750acde5780538855e87839af6ff5c596ff00d40ecd15ae6b0785dd66
|
||||
MISC ChangeLog 297 SHA256 5b58c985635a8cfcaee820c6a741f8780fdb1a64c4ae3324b55d7b322b548eec SHA512 66d3bd8189a6a44d94d3bcfa38b92e47e6ee680b32646727c3d1f212d2a3edee4a5a9f1b853ce1498e1e919979b9391211400ad014b2a8be0df1671b739d3d54 WHIRLPOOL 7ae1d8656b0efccfde14faaa2d84d58e2c7bea428854f504a5fed75d7199a72a06941d291a044e34284b1ff21e4771ed048480f91c67dfc7c18ac59344f44bbc
|
||||
MISC metadata.xml 745 SHA256 265faf22446902d2231a9611ab0386c5af0958f6ecca82fe8734b03e995b2b9e SHA512 615429b43049be7deaf2334ff5c1cd73289d42569ccbf0dcfc3dc3cb5851b2f5b162c9a0f5c5466a9b2623eff311ff733e1edb322f9a818bf169f05b59fbd48f WHIRLPOOL 780f263c972b1b34bfe6901fddfc18441dc025487437ba5e25557d95264505254cac030bd1a6be687b1c9765dc842801a64df7d162c619e5cb1bcbf5b6f9601f
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST pyalsaaudio-0.7.tar.gz 124577 SHA256 bbd5a9eb351def673800707f48e64680685f397e29da72ea4c9355e1a2b2a0fd SHA512 aea46ebc4a59c791e318e58fa7c307b73ea7e1eafdd6b2055df312e26e8d4868ca582b76dd2f203cb7c632a25e1bfd066f6f9522484aa5db51f404e5f99a38cc WHIRLPOOL 80dd871e66e21ebe34581a0c7ec846dea8b5c5ada93c0b0811334dcf2e90ab97e63852cc47a5355d03e546f335751e949d725f86bc3d26d76ea7aa8e4db9a718
|
||||
DIST pyalsaaudio-0.8.2.tar.gz 212747 SHA256 b6df486f1c4035041a5f3800496b86c64e48e4a7d47f94dcbca11b0187aa3a15 SHA512 cba4acaf18b74f990547a590da5bbb824398518444cd09cf80d2e4dcb1176fd5469b107c96b3696ca98ef8ef4d1026feb22b01f730b2558c9dd60ee58500d4b5 WHIRLPOOL 4526ffa3eae6834aa97e8bf55dc90e25c6de5bf6f8345f853a5006a9c7bb1bcb8bd42bbe677d246443213de314400e8e17ef84ef4653d7e7c207151d5a03be33
|
||||
EBUILD pyalsaaudio-0.7-r2.ebuild 866 SHA256 5086d61556a3299aa7514f9259add429a5a18c266592b56ade22091e0d2b9a46 SHA512 8c5def961bd6f65d2b0e2a6d0e07bb76209a91839c92f74f31d7aa74ccc3703076539ff2171d26eaf2437fe43143a1c7ca4b7dcb47fe9084db829a72db17ea0a WHIRLPOOL 306f347d9b14fa4f4c9716e2589a4241da1a746713aa39b19d799ae01fd68cd1e96af192936f0da0635a364fed77e40510eedef49a3fb881acff4980cbd29bb1
|
||||
EBUILD pyalsaaudio-0.8.2.ebuild 983 SHA256 94119e6db159be16b250645791743f87b7de7242fe08c0927f2db5eb4d87bbb3 SHA512 2a4ac6a35d62d3ca7b9e27bd3b01197293729a0440fc85179d6f81bb516f6320b214fe44b8fc0c63ab6aef5b2bb3a900a3e963aca8f0bdb817a5687c59eff134 WHIRLPOOL bd9af7657de519dac8322875856fe56ded8b9343217311e6bc38ece823b6b30a95ca3adf3457fe8da0aa738d12de3cffda4541971da9719a4e3520448ae62379
|
||||
EBUILD pyalsaaudio-0.8.2.ebuild 1068 SHA256 fce20deb26086e5635fde7e61264387a5a49dee40a0bbc0f409214c0119ad9c6 SHA512 fd03c603a856a60d7ed48ce6c95976683834489751085b52294dab19f8d65d06aed849662b90d1c4f4d84d83b3b4acdc7880bb12dfadc1451e9a2268e0373797 WHIRLPOOL 7ada231340aeb8f59e49cf4bcbffa36ea7dff29b054c7a0dc7e6834f29dc29ddbd14c85077dc1b69cd0f3e75028f86eac1716a44485a2b611a59e061d9b8f092
|
||||
MISC ChangeLog 2840 SHA256 9aa6dcce86273dd0054de0012093129b509648983580937c8d6bdeb968fb0ca1 SHA512 9b0b2c142b776fb4067a71700de4f752e37ba21f5820491639f6a4264943f84582d110cd50cd5e5282300beb86e6097da18b739823fef1b5d574da87925216af WHIRLPOOL e0413b7067cc4cd84ae4cf78901be50558129006cca93e41e5998700d97efeec04b303e8c5763d64eac2ac698eba1a78ae1581795bb5d0e99f095a469ed2f299
|
||||
MISC ChangeLog-2015 5810 SHA256 18c1e5e3d0a1dd6d5da1fb41262523418554ad50648c30e81ddf553c98174dc7 SHA512 2f71f5c67edde33395631fd6bb206f167efe6332f12e3a12c72ec0d22a8e2e5aaa70561e224ba2590b688063dbae90ae7872120510e7d73c1404f8704722ff8f WHIRLPOOL 199d84b73f35a2f59209839b69ded53d21f9d8d36ab550d20d6aac36473996d3d25993ddd7bcf773851eb9dfcea973d0acebe01887bd51af2b99d7d91263abbf
|
||||
MISC metadata.xml 370 SHA256 9e714e20e8b9c247087d2b9bad32ecfe37ae67f535b8afda2316d6f8d62a4ac1 SHA512 8f63acae6a202a3d23c7b7c1777db4734de9e630630d679417ff2f9ea1c3595d855c6bb3d21f5ea6e889bc005fb500cdc95c2b7247725ebb14d0dc66dc8e4ff8 WHIRLPOOL ca8d22e6a434413b446df62433dc74af268e8f9c7e148caa0717c6f3763b044f8c284b6a7cce8bbd718889614842ba29e97e00e0030c7253aa98e6ca092ca2cc
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST Pykka-1.2.1.tar.gz 46252 SHA256 e847ffeadee49b563426ab803e8eee67264d773e38ca14763fdcda56411e3c11 SHA512 22eaa735915e33146d8a3fa3f9dd5ea1dd608e7ad45ab21721a108b01ddf058b4cd00da67b762a95ede650c9ba1a79ee3d6fd22a491bc7ff348a56b7c0139cfd WHIRLPOOL e6efd2c78714cba9ec296917ad42e5b495bed751e1339c407fe42796d99cb7bb39e33bfdce70fff8ed42f9706616676f7cf975750672989f833fe1f464e5cd34
|
||||
EBUILD pykka-1.2.1.ebuild 556 SHA256 01c8cb0da4e31d981b125bf344fbc9593aec0190f31651dca684e5d878cee43c SHA512 eaf6660787120730cf6d0eb0a4126b006a9d19565e1e130e0149ef1129ec6c3e4ca6ef47ddde6b5b5b28ddb3b8ee6bc340c3b9edea99bdf62fa0de368c1f981f WHIRLPOOL 8eaffef29d183954391bbbdaafe9fc7cdf11d051582cd3328a33a136488edf63692eca0decbacb17f04d5ca4694ff26469fdbb5e7f9dc7526726fdf68c4edfc1
|
||||
EBUILD pykka-1.2.1.ebuild 565 SHA256 35517df7f81f8d85c2d775a9027cbf01041738e70129cfd1bd0fa2032ba12bd1 SHA512 7997fde01076647c479aeb3dbd4d3607a4ffcc5f9d1a799c603ab2e41c5534977a0f20bab8d022768e5848c608507ef3aa8c544cc039469a816c981e87c78c3a WHIRLPOOL c8e737552ebb7c6d80f5d7d5501d385c102cc295682fc86f439764f0549522d024d87a5f38f3e407acaa8c53ea02496ec133883abd918bc3f530d7b8be9c469a
|
||||
MISC ChangeLog 2549 SHA256 6ec5c7654f3990423c4f946fbe3c0ae39ed932972fdb2da122c184ec072c4ee4 SHA512 42fcc52f1b568571e3d698b4e86c4d12ff08505e4ee915dde7ec253abb1a3a306ca92e5efbb925636291c8a5a021f70b6fbad01a554141fe12a439cf863bf049 WHIRLPOOL 8e7558d9035c4855633f8c39b1bbc1694f34ee833c3696f7ed12e35049603fdd480561892a4f6593539e99f6e270dcac19037925eb096cea612fcba6ea8055cc
|
||||
MISC ChangeLog-2015 599 SHA256 71ae1e473df5e6c923aed9d967ba83224fe73190aa6613717785f6d19a46bfa1 SHA512 d574d618a6adf2029d9765793aeb816ffcb599153392a81b4e0ea04904fa204f1ab43bb17d3ed307b071831cbece93b7cd8951a71200ed925340b600a41707ef WHIRLPOOL 290da8f2db5bc72360fce7b9f3972d701c1889824f55d612a62c18b10a5fc72f1e65377a7fd12998367ee5fb8c6c3522a17070172f5f38173035dbb45196f240
|
||||
MISC metadata.xml 465 SHA256 ccfc2beb2353ee98f16b7a30611164f724e7cb7b2ec395ac1dd0154d5ad292c4 SHA512 f745252eba33b659548085796f25751f6f862f63870409ca0c1433e81013fe6e59e7d23144e0522c6dbe68645a10e32c2066f0044d2fc3e73953dd09f97d63c2 WHIRLPOOL 3f9534df84b3df28b3fbd8247b76e6cbd63e9bd05080999e8e45b0d75a0ae74a0be2ce4a690726384252c0d0e4571d2d52721e8d0c87570d316a7b929b5e782d
|
||||
|
@ -1,9 +1,9 @@
|
||||
DIST pyramid-1.5.1.tar.gz 2401767 SHA256 2fe0b4012f10444682acc0df3b9cb85c7cfff2508ba5cbe6db83f5f14b510d86 SHA512 70b04111020d0f02ef21c52c44d7b6a5e78d198daee0068921df048bcae8b07567aee05d57f1a9e7329ef418116a0f7682aee30c6f785a4d1ec847e2519e7cc5 WHIRLPOOL 16e17ccba24f6a76c4ef0f2e361580e832c6450f453f88229bf1204cd123719e08e8565bb46d8b0bef5b395af2dfa87cb7ac7a9dc0dc9a0cc2d019490716e151
|
||||
DIST pyramid-1.5.7.tar.gz 2678474 SHA256 c1302d5ccb6833e8794ddb649aa9bb64d86c05adb127c93e329f8863907449b4 SHA512 32b0d4b85bf0f471b7c08ac7353f2859284ee7bb2451b68429074fb5f954e0e02d7bc4bdd86f843d6a5304b56a418e698d614806bbfd09dda9a608db88c25949 WHIRLPOOL 2c12aab5e91eede072f0b45b510699f048f9848753cf134e21dcb775b0f2fa96c815d1573cd11b67afa76f401bdab230b67fe1a24a8a861708309d8b26308619
|
||||
DIST pyramid-1.5.8.tar.gz 2546802 SHA256 51474d93b80a9e55cc120f911eeb11c4728bb0ec5ff40495d28ff9977685eda5 SHA512 725f472245c03a50463d9e8946dbc71063ef46d58df8a41804d1c68bb0abe796f7fcd36f7c1708f8597a980f8cb308fbeec0bbad3f82c0e7d3eb449f6719fe16 WHIRLPOOL a2e9ce852fad1e491d6b1cbc01669e1f4fd67b512a345040ac975a6b2b2dc4245c21b479b6009ebfbc9aa05502c216e1bb396e33ed09c7907163960d25b79103
|
||||
EBUILD pyramid-1.5.1.ebuild 1202 SHA256 49790ece85fccf970ee8a52c0b863f5593818fe44699816bfba381d995b7def4 SHA512 b005f61e95df324a71876fe05a9e1319e18059acfa7515eceaa2b7e0a492de3ed0a61035ec37a8b16014506a64186f4ac017ca70b72ec984824a4b33377ac18a WHIRLPOOL cf2139ab6bee999471d688dd1011031b2491b8a0c18f858b1742e513c8272d85d6c0f3eba002551aad9f0932073ec64e48676582189af5ee5d30d3e97826cf16
|
||||
EBUILD pyramid-1.5.1.ebuild 1198 SHA256 be94543d684900b4a12d07c098de8280cf1fcae640ac35be73ca0a89472bd3a9 SHA512 a8e698df325925c01dad7cec9189bf395627d1e4fb4f7a0515550ed0380a5a5348dfb764afd533e0c3816a4fd98583169af6eb27dae0e9fc486a2758aeed4182 WHIRLPOOL 66d0f0114c8d59011ad5ff563505bef446b22f4a3daf3d4b1bd10516437398b1bc07329ba7fea9fd806b0ef78c2e81d76ae26721b3451d9bff90c7d33adee6c4
|
||||
EBUILD pyramid-1.5.7-r1.ebuild 1042 SHA256 dab549801b80a20a0dfdf9434804eb46fc128cb3774a58958b2b3e07d43171cd SHA512 609072e5b327c417d5c69aeda490fb3a8437b2a39c21ff66ec1c141d9a930fe836ea527841d8ce7417a02d38c426a9d1e0b4b2ae210b522b3eea7673d0db9911 WHIRLPOOL ee2d1a93d56f131555460fba31ee2381f92ac1a905661d7579d89df1f90581ddc35a6cf91aa283830e73d369e44bc191acab8427fa12103e24189b3dc8a1e4db
|
||||
EBUILD pyramid-1.5.8.ebuild 1042 SHA256 dab549801b80a20a0dfdf9434804eb46fc128cb3774a58958b2b3e07d43171cd SHA512 609072e5b327c417d5c69aeda490fb3a8437b2a39c21ff66ec1c141d9a930fe836ea527841d8ce7417a02d38c426a9d1e0b4b2ae210b522b3eea7673d0db9911 WHIRLPOOL ee2d1a93d56f131555460fba31ee2381f92ac1a905661d7579d89df1f90581ddc35a6cf91aa283830e73d369e44bc191acab8427fa12103e24189b3dc8a1e4db
|
||||
EBUILD pyramid-1.5.8.ebuild 1046 SHA256 48972adf07fb382bbf6dd5888f5c3f01accabea287aec88b4e78a6eadcb553d2 SHA512 c3d0bc1eb9d8334b8661776a7dae03963dc706fedcf3ee8607c54fe972a1ddc71b23dbb83413a20ae27857b0d89c3783ed1f8f204cbd7d0a00ac742e135c54c3 WHIRLPOOL 7d462f620716c5e6c588d0f3702afcf6e30fa08fc5f4ed95389e03806b81754b70c641a083ddc8adaafcdee18c19e38a9ca39f045944714f4c16f787e9273e70
|
||||
MISC ChangeLog 2783 SHA256 5cd4e8bdc1e490dada2b74ffa1d83d5c54db66b8034f149ad368903191b48d8e SHA512 73565f695f8264a57d6bba697a7ba3b2f3b4388ce7f9eaed424702cc27779d194fcff77e1f8a2fe88392bb0ef14f27de48f7fb776fe132827ead2f4972e21b87 WHIRLPOOL 2ab4f5566ed35bdd70e023178e6488955b55f49b8d16520797ec28e1f5c5207198b32ab55e899f9369a0425d07bfbb6688b7e8c1329fe39a2e8906134165b631
|
||||
MISC ChangeLog-2015 1830 SHA256 8ac245710fcf8b98ef2bd7ec5b34050b08b16655372e7c1b1c6da73d2f6f978e SHA512 ed16d41d8a518bf83ebb71e0fa99143db34873ee004c86f6480fbeb758d9e8ae46b8ab909e67683b222a9d006c07c99f6319552aebafe674b7f51711d9cfcc6d WHIRLPOOL 050adfc9e1e20f43629af126e65223557122194dd71f957b83144d792f999bc4f07525e35817948a96edefb71e307c1e8bb247c3cf0d16ab06e3d5933e435fbf
|
||||
MISC metadata.xml 310 SHA256 ee92bd1e7a65bdd002fd4fcbc4256b58efdb156bb1576103204d42e78f5fa96a SHA512 c883e84e3f88d74df21905d73b27c0eca217419610ae128081b368073ec27717405741ab8b57bdda953a273cfcc9412505e01947829c17b3440b83b4f2beaa47 WHIRLPOOL e22f7af15053a1472815ea54f0e114a4b1e7a8f3682b098d5d2fc83e5bb6a11977830e6eaa8fc5268d7846ff840c73d3cd9e5feb71c4e12307752456293527fb
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST pyroma-1.7.zip 359654 SHA256 5498d46cb690404d70351aacaf04e61a709ca48c24c803ab5aac7fd7a1629518 SHA512 d7c95283273befbed6a747a1f3c0aa0af0db5c8d486128bcf5a3439dfe7204e1025afcf22cbdf5b96b6f4302b8d569c60c1eb9c646c035fd8a324e3d69f7195f WHIRLPOOL e5fc4a47c258db50ab2d5bb033e66cc6d589864c8d63bd448ddf491de849dbc87a1c93ccdde8729ff824e437dc8d2fefb05e536eb772507c0239c91983a22dc9
|
||||
EBUILD pyroma-1.7.ebuild 593 SHA256 55d754d3de687927cfcd3b5ac125f6178568ae6a94b299b5ebf49476430b367f SHA512 79db1fca2327aad54849edcff40b35c76a6f44948aedef8ef9fa28f7c844ee419a47c68008ed044b968dad593e77e9f65947669b848c130efcb9819313d6bc24 WHIRLPOOL 215899ce1c588c68a6bf5260dc9bf2e1c55a3d8d4139908769d8c2691d0d7aba3aeb2ac22d2a5794e0461f0bcfb78e767597442e5a25dcd252244172d36a709f
|
||||
EBUILD pyroma-1.7.ebuild 601 SHA256 6e7c76a56c0e82d0eb261077a309655c94e49b3a2c243fbaa64286b1e8dd309f SHA512 108969e5f32aa78d6402c689360db0a11a4816148215a8cdff53381dbdff2821ce0463ec1f74d56821262349dac6507f1ca67c5f858d2d3a015b570f9bfa55cd WHIRLPOOL 120a57f16f5f7c7ae549239b4c35576f1a3371495ace9de5dc015f9bf6f7e5d91dd487fc16d6076f5639da825e0b81e6f9cd843632d9cade024b52e913441b17
|
||||
MISC ChangeLog 2438 SHA256 c55b5c5e6f248db718be72111d1f6ce7999784c661ae9cc74dbeb1992abae5ad SHA512 b5760f96287f1398fe0ceb88a779dd19438ef4fcea9f7e12baf4f34032658bfadd0a806004791b674ef37f9fa4eb9a02d7f439dd60ada099536b3c98ffb15441 WHIRLPOOL c99f1dc9356e51934778fedc99c9c602114c0eb1b0c412c6e6a45fe9bc13648fa17c784f6fa180bbfce87e2e944babc6955e1c009e22047d208aff776abd6c20
|
||||
MISC ChangeLog-2015 889 SHA256 7d57e5e8a9b673b1d2939fbf028a5a7bc5ed62bd79350ab9c1d6d06f01a3cf3b SHA512 668e28b27cae475d6b8c0534bdc469108bd8a3bdc51db2af8197b350284e27494a91d340df976cd12b875fc992f44a93970dd749ab5af9da2d0e44a67c579f28 WHIRLPOOL cedb7e931e6ba67a46a935f1ac580ab9d19a75e2ca5ab0cbd647b0855a3f7f54e21ff95c35ed54cc90ec8f455deff8f9fbd0fe977d6291c29d07c2c0cbb2cf4c
|
||||
MISC metadata.xml 271 SHA256 c0171ebccbffedf15aad76a49f6073e706af040f00d0e00a3b19a04f1ba07878 SHA512 7345d6ef057762aa750573ecce7c46f9dcc53f9f19775b23e6dc4bf66b04ebce7fc076a94ffb3687d6fe27010da5755aacef273addfb672f59c601879d55898a WHIRLPOOL ff43d188be55852e790df82e732941062164de503908d435cc8744eb04556686a27078b152102fc99686c53d6bbf079232a8fe40044bcbae6a189b334357d570
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX 0.8.1-python3.4.patch 4629 SHA256 3bb83e7303a412854912091394cc29a6a8acf3486b3008bac14669b744e81245 SHA512 3b5c072b55c138c97e9b6456354bdf17c820d448880e0d6bb5ce398b7dfd1bd432f9886da4f8b960578f60e24fb636142bdaa66566ac22e12cda0928753aa46e WHIRLPOOL a8aeaf886a02264170e84b97fbcc6291f8ca09e59dff9d8894debd69a916cf267044ddf527bd7c94cc7c89b7c00fe0fa557d8ff62e2e4ddaf636fb75978f9b86
|
||||
DIST python-ptrace-0.8.1.tar.gz 93674 SHA256 779e04c7bdc00150b739e7d49c9c61b7f36f17afd26355f91b10cd0e7d55d19f SHA512 1c3dadf381ad0fe30374fe030fc3a81b5ec0885c31ac9be4ae561cf14ff891fc2e465555133b2efce6be0154b06768121aa068161bb3de10aca6df0eb181e25c WHIRLPOOL 1541571ed580b5852b1fc51f515776463dc622a4a2c334691f0433083a29bc1059549e0b4e938ea7c694517e341cd39bbc3f487f5ea7f83b327aaad1dbd8b7df
|
||||
EBUILD python-ptrace-0.8.1-r1.ebuild 831 SHA256 63d20278c7e6fc166cdee5acbb76398e2acb28ef9e0827ae4c4fa4781503cdef SHA512 afd6b7ba23a148a742a9406f283eeb27d5463d20d6a863225887a1727d85aede44ac23413662c309428a064837ad58022aff66931805101e18481672181c96df WHIRLPOOL ff9c782854f8095e875fb52ab80f2f99254322507a2a056f34c133e58e6ca7ba821998d1c4d8b822314d0684f4feb98abd154c5112ee161694d5ed65850dd3cc
|
||||
EBUILD python-ptrace-0.8.1-r1.ebuild 836 SHA256 e18d29af84a0c778db105dc8e9376a3a99b1ba1544d2865bf8494d3ade271029 SHA512 8fe7ab9e0e7c002d18641ea5cf890c37d89d2656d575a8f29ee8cbd44888a7a9316f767049e23c1be7941aedd16755cf4283a015e434f3d43ac337b65f26376a WHIRLPOOL c69b253f28d0223a4a2c628d7a6f6219535bddc18b333bb85edf75608511826fbddbd0ce3c71d7dfbf68607afdbe64ae57475b5e054aaea90f8d8b69b9b406b7
|
||||
MISC ChangeLog 3305 SHA256 9a3f9c2714b970cc4ff2d0dae0215d0332be761af89cd7ecfd07ab144c1affb6 SHA512 e24890ca2d15426c42cb9b2045a78eb6988baf8dc2584e9d71bb831faf393f70f5958620561eeaf8a095854fde85fc0e222f31b95b27f3a2e919cab91da8d750 WHIRLPOOL 3a3e6bc0b4d3df64a68becf4562c3377844665df3cc1c43a16b03ecb941d11748dda07da36b795e525112d7969a34b2311a717d95f571ef9d7583c0f23977878
|
||||
MISC ChangeLog-2015 3853 SHA256 39f74986e224d8ca77d3a4048f171f806ca7ee739c5f03cbcfa6da47d108fd8e SHA512 5893fb83bfa6fd03f3fb7a4e29ce893a36c589a5928a61caa329b90f404af9b3545dea814ed0a048edab478807c5b36c63d5803f5706fab9f679f8474301f179 WHIRLPOOL 8e23f5c9e551bf60023f70bb9df17c38e6d9a2ed553427ffaecac1ece896c07126a7ea510bef8eeb52de45fa459d364048a2e36242e5e7c9a2a4d18c621fa9ec
|
||||
MISC metadata.xml 390 SHA256 3dcc1e37f5e4374db25f42547dd7af3fc6325477960f110713e5fc9562b68219 SHA512 b9c75af73d22d67c125fafeb5615a03ef21cfa501a275d2139ef49364ba6bdd64c3757194e9dae7678aeff8f0cd4a9233796c907d4cfe6427aa43c6986bffa92 WHIRLPOOL 76cb17754ff03026314513ec909fa4bb424e2439cc341f5a05001e4cac3d2e5ba069761d37c1e39d6a68f018f4ef182df3fbd40cc9a602a641fbd3757ec3fde2
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST queuelib.tar.gz 6969 SHA256 f771790be92a93c49fa6da0cab349d59e481fef784b8230bf9338d9036e90b8e SHA512 54b649d08ca60ed933d862b9d5845af162843f4f077722c78b7c72be4093406cc44182905a2d21235635afc1139974c08c213ccd8a333e72fd94c06adc34497a WHIRLPOOL 808ef3b957315505157fbac019b8ecab729f5c7539edeb289f47af540cc536ca55bcbbf0bd7edab7a105451fdfc9e2d8667409ea09383b7eb4980c22a0bedeea
|
||||
EBUILD queuelib-1.1.1.ebuild 648 SHA256 491aea29df0c2d472dd3a41148faecaf8f869aff0b3655916d007b644e8e8def SHA512 29a18cda54d0324a8acdaf0e0cacb3ae0ce755329b31e9dc5264683ea124508d5007b63ad6fb44e73c531efabfae3b2e12bf15e42ab9ebf497ba07e5a3abbff2 WHIRLPOOL 08436062fdd47ff283f77e12f1be2aa7ffd03dca377d6712c3ba814435d06e7ac4c3e4d79dc5b47899202594b22c51a9e0d7371994de50baef6b3e18990b0d11
|
||||
DIST queuelib-1.1.1.tar.gz 6969 SHA256 f771790be92a93c49fa6da0cab349d59e481fef784b8230bf9338d9036e90b8e SHA512 54b649d08ca60ed933d862b9d5845af162843f4f077722c78b7c72be4093406cc44182905a2d21235635afc1139974c08c213ccd8a333e72fd94c06adc34497a WHIRLPOOL 808ef3b957315505157fbac019b8ecab729f5c7539edeb289f47af540cc536ca55bcbbf0bd7edab7a105451fdfc9e2d8667409ea09383b7eb4980c22a0bedeea
|
||||
EBUILD queuelib-1.1.1.ebuild 627 SHA256 515cb7a5c3bf28f54f69029ae047b4ac15fdd865c3f9d2448daeb9d363c6d2ff SHA512 db04680a4c326dd7931d2598214572c79e0e42c3d9ad0af9b9e383e76127ece4ff351a00c03f34da6fef0659473d16d359d7b2a0d9ec2e7c12892d762e21a665 WHIRLPOOL 7eb24a8187fb1b82044a3c02f3ee5e346ca008d2ff1c43562161910f6cb1cc133a146dd1577190f3ad4f1bbcd797c7256d8bda7ef951cc6b21731d9771840932
|
||||
MISC ChangeLog 2561 SHA256 9841080079ab306d762e5a0bf2255833944d3e80c5d62c53dd8ac7d63fd2263b SHA512 f30f6213613139ec24aeffe890a138ff209866a0283b0a8ebc98da48573a0c246ceee9d303d4a24b86a5a55290b674fcad5afcdffefffaacd20a9c2b1af70f9f WHIRLPOOL c38625b9c5190284592bfebee880eed6caf29ab6980815c6fd6c2827380aee3f4c52a1062e34682352d42ba5ea4ab836c3900066e5e6cddeea4a2ce0e98a2430
|
||||
MISC ChangeLog-2015 902 SHA256 712fbc0a6d8f78eb2855437dc5157ff2c625f4c6f27e623c4c167dcdc041c0fc SHA512 128d87ad63b3bc8f900a6fa22fd3b9baabf8c520944f87ae051c99f5eb02ad67d76b540d447eef37dd55c39f62e658eb44e87e3dd34c8d00019c70495c5d8506 WHIRLPOOL 013428098951acf91ee88ca5a7726ece458cbdb0e1478c5a69170a541df17f3011eac321f56eb25e39e579d1ff09656fe4e26f6b31bc1ea76b046ff9dee49b3f
|
||||
MISC metadata.xml 330 SHA256 4572b2bc5c649a4bc7734699353043cbb910e2411174b1b8cfca8deabbd3c04f SHA512 4f20bb7cc7a98c0248ee15e30a6dbe38e8e21c727aff1d1549750bdb8e296bc2070cdb6839ca8c5671bbb85a62c39844cc34c979f72aeaead41ab283e955b5db WHIRLPOOL 48767a4bcda18d099d3b15d8dc42b390d44a8651f4118d34d41ccd1141c68e1c7a94133fe1004e1f0fa3ae31c7951dacea0beaa455d1eb1e93199d37baa55e67
|
||||
|
@ -1,7 +1,7 @@
|
||||
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
|
||||
EBUILD scripttest-1.2-r1.ebuild 545 SHA256 7fa2d3520b36e9ba8027eb625c8623292809153167ab11644de9320756a713c9 SHA512 cb688fbe63f34ac59d7d390bf26829a68a9716c7249d63f4c2b758efc0d5eb786c27a97a82b33471c41acf6a03a7cf8bdf54016c35de5ff81a6d59e7c479fe97 WHIRLPOOL 7b7c2f730547ad6e06345854104ff114d875592da9585e67d2b0d0eac0dcf40e9ac03599393c5967d3e2b0df74da2497bad2cf51706ed2ccc1692d6ea72c4b67
|
||||
EBUILD scripttest-1.3.ebuild 638 SHA256 4c7c503b89ab13a2b1b46ff21067ffe20ffd8f63c95aead0a6ff698a5785676d SHA512 27b88f37b6a0d511c5503d42d11f32ab54eec2a265dd7f7e3cd51fc44cdfe6edbb3878621285404ff0c14234a9dbe1b602e2aa07252573a36fe1b7c03a2101de WHIRLPOOL 91ed3f1cd2eaeb4909fde55491dd5df6d4e58f156724d8a705d1d10609f6666341a7ad062fcea3f569a4da3051aec72f59866730d76e6bed98c4d6b3393bfd4b
|
||||
EBUILD scripttest-1.3.0.ebuild 630 SHA256 846f203954d3a3443078d6f87009670f56327bcfbbb44212badf70413e0183a9 SHA512 2e2905a9cf344bc2a32e32466c1966ce019c45afca771703ae8a73e2f39c4da95988ec9c13849dba0e63d6dc9067a30183a3abaea512376001b26a640be66ffb WHIRLPOOL dc082ecc7ac0d331183cd4435911c999be3c27a003fc0910209110773cc04b73535f3676472f93379739fc0a975e697f37313fa7c272ed40d621748a5e258cf9
|
||||
MISC ChangeLog 2945 SHA256 cfcab5b91debca5afcc673ba66e434dc26d8dd6623b8e4827fc6bb7a20b0c434 SHA512 d28ac76697f17611c96b483735a03583fe2640518753e82001835bf55cee3eec7ab626f53cf09569b3efba508063fbc7f0d61b2005022b02fe1fa2554134d7d5 WHIRLPOOL 5825697685e935cd8cb16f25eb0b3213675b439b205462d5b7a49f29724f021b86546194c914f0ae795e79243367218d4ec313539dd229718aa9adae2efbc0d8
|
||||
MISC ChangeLog-2015 915 SHA256 a39ab65cdc888e544301276c90d347d97e0563dafc042afed22c027354bff1dc SHA512 72f4631ea068b4050fdf26f5c9c731425a82d7e387e55ab08b82b2e5d63af7efeffd44fbd169d0f91f96111b73e0102afa5919f5dfe550cf18e5d2f7c80a0d55 WHIRLPOOL 0f9fc066e6ee0af7d9cbbaca6bb2b81c0fd1fb1cbfa06966b66ea03b6f7c53fc01c9fc74f32778cbf10a41edfab972ec784a2ce0c4f05ca1e467a5ad30bb673a
|
||||
MISC metadata.xml 313 SHA256 2f8667962a675d1ca68e950730c4bba8cd99b970a22973949bee93078ef21e88 SHA512 ae1c2257d3367ea3bdba8e040c0efd98674fe833f7a025c1b554e8cae6e1a41de6867e63c3d792593fa2f4baab158b046d2efaa08d6c8376f8ec749cdc7d4ff9 WHIRLPOOL 63faa4f80bba6fe067f090b9671925a7d75a12d5386ee568c7ebe168355f89bbb23ddf518d71091890eb8b817562eb4983ec5ca112793580bcf2ed6203846dd3
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST tinydb-3.1.3.zip 33969 SHA256 c46d46e5e4e632df47c75d8bf402f3d8e08a468e782b5475398dc6ac6448e16d SHA512 451f942f1fa38bf159cabc5b0738cb818921bf47a2159211a4048eee91a23dd734bcf3883e62d7b4ff85fa68def78edadf05d845a0ad0f3936d281e91de65ee6 WHIRLPOOL 0adf66a74359d5c99d263c9b6f2418539dc762eeed28993935e9c99a04058dbfdf5c85c73c8643d9b366982b438066fbb2c405723dc01673d103197a3e386817
|
||||
EBUILD tinydb-3.1.3.ebuild 781 SHA256 31b3e4ed0861d9c8e110e4343a04c2cca55c81248567490e0decc59216620aca SHA512 4b5ce4ea0ee0812a2c5f52cb5dbd5f0e89f0a7ab15c6e27838351f53680475cfb77eee94f3b35bc1f589f9f2a3923ce4b7cc470a39cd442415be5c1663858ad6 WHIRLPOOL d7a11b5c0e2b7597e1718313c654c09f188f5e7d7cb540b230ae6ed0137ccc0c91d314ae36a6784eb1f3ce0657c830046cc3886c9cc91a68187829db7f4f8128
|
||||
EBUILD tinydb-3.1.3.ebuild 746 SHA256 7c65974f44037917bbce88ed5fa69eeadaa61d876ebf8dbbcab355d63dd0e2df SHA512 5604ddccab4af43ea14f3bbfda326ddc917fd096f86453f94af7ce4f35bd9b2cd8d97c52bb366187c6e2020bcb9b07e831088ad478e69c3ce4adcd4a51753de7 WHIRLPOOL f90c7ad6767f0e92cf89df29ec0737fc4b1013c6eca8652934db4a4ebbadd986a41cda6520f415ce18a030dff67989ad8a999495f4bc47bbeec331883d01a621
|
||||
MISC ChangeLog 738 SHA256 f786b291ea174dc45c23a867c88bd1591a00c2403e818a59a15966ba550f661d SHA512 4e84d3dc5bf612e0ab1cbd9dec544395763b6e15936fd0d1d374133b8528517ff3ab5fded701bfac20f814bfcfe36c26d7c4caab95c9400d39a940adec0a458e WHIRLPOOL b7baec5c2355c80ad844aab1a27acecf7e5a7306b605e5eb2444d799e211c1bc47bd2faaf0bb476274e405f3644908a64be8276cd1a1db6f63cfd59f2fc95654
|
||||
MISC metadata.xml 503 SHA256 877d881988eca0f7e610b9baa621dd30c6c1d855bd33b1a15cad9297cf64caf0 SHA512 b0ca469363341419f635593d5ff944633b3772151d0b9361653a6d1a9dd8ecde9996d05f074b65d4297c5be73a4f7a95043cca768e4567900e315a218977d4f0 WHIRLPOOL 2c3faaff7740dc2e4d9b87221757a711e9c10b8201df095910e02df9974b7ac52654e8e0589eb7fe4c1497ad738f992c3a999e079898019051984d41a1e3db2a
|
||||
|
@ -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
|
||||
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
|
||||
EAPI=6
|
||||
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
|
||||
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(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_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 python_targets_python3_5 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
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
|
||||
_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
|
||||
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
|
||||
EAPI=5
|
||||
HOMEPAGE=http://hourglass.wiki.sourceforge.net/
|
||||
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~x86
|
||||
KEYWORDS=amd64 x86
|
||||
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
|
||||
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_=ae9435cd491deda665b8bd8f4234bf2d
|
||||
_md5_=361d092e395902c252874f6c2c852034
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue