Sync with portage [Fri Jan 11 08:58:42 MSK 2019].

mhiretskiy 1324
root 5 years ago
parent e020ea9f5d
commit 82989de7b8

Binary file not shown.

Binary file not shown.

@ -1,3 +1,4 @@
DIST fluentd-1.2.6.gem 434176 BLAKE2B 05fb0a29def48b673f458a19eb2662b0e447d949284af3a2aa28694e0cef8177c5a584d9f475ff71a548d7acdde504e8843a312ed0dc85e892b0f2dd59cdf8ef SHA512 9faeef818195d0014f9fffc29222d031a819ef8af323700b26290d5b394bec6815e86699ab89ba4e8d428321e10d3463c297d6c9046dbb46fdc061777206f8ae
DIST fluentd-1.3.1.gem 437760 BLAKE2B 59afdadc2d67e30d35df2f33c169e9f2cbfd44ac6b7497b025fd9229921f91ac37ce8b6f80f37df26a03e5062ce2f5187156a70302ca11f9a7d9db9cfccebf9c SHA512 84351148809332c9a703243416004f18d0470cafc04cf63de7c52d9b6da18f1c6f2de0682ff1d5283f28013707fcfe24cbcf67aebc3be91090c4d5cca80ec2cc
DIST fluentd-1.3.2.gem 438272 BLAKE2B c7a239928e251b84217cba4181e81f58dda42065c07c254ec5ed1012f8ebd98323cfbd671d5e9f940025d049c67b6dedd4f0feb9a079291e83f465e107e105d3 SHA512 8357ae88ed028778f6c7ae3dca051b32840bcf8cd344292e1fd3d203dae85e32d8263dea72d657010d803bb36d78d27a8441a8a7edf49439609041acac39f967
DIST fluentd-1.3.3.gem 438784 BLAKE2B 186aa4af59707c6a68a6f82b94b233e3f52eb11745ff4ce7f942a4fb1f8516cc966e14f541a23dfdfda72ddea058e19d1b8184d0c40bf92ce4cd48e5735946a9 SHA512 b3348939d72b07d424a8d98f0d817e72d55918be9ac4ef5f456a3c44ac1ca28944b63c943bf2bb230b58793a33c1ca12304cebed15827a3f6e32f2ae3b68f0dd

@ -0,0 +1,58 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
inherit ruby-fakegem user
DESCRIPTION="data collector and unified logging layer (project under CNCF)"
HOMEPAGE="https://www.fluentd.org"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
ruby_add_rdepend "
>=dev-ruby/msgpack-0.7.0
>=dev-ruby/yajl-ruby-1.0
>=dev-ruby/coolio-1.4.5
>=dev-ruby/serverengine-2.0.4
>=dev-ruby/http_parser_rb-0.5.1
>=dev-ruby/sigdump-0.2.2
>=dev-ruby/tzinfo-1.0
>=dev-ruby/strptime-0.2.2"
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
all_ruby_prepare() {
sed -i \
-e '/tzinfo-data/d' \
-e '/dig_rb/d' \
"${PN}".gemspec || die "'sed failed"
}
all_ruby_install() {
all_fakegem_install
keepdir /var/log/fluentd
fowners fluentd:adm /var/log/fluentd
insinto /etc/fluent
doins fluent.conf
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
insinto /etc/logrotate.d
newins "${FILESDIR}"/${PN}.logrotate ${PN}
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog "A default configuration file has been installed in"
elog "${EROOT}etc/fluent/fluent.conf. You will need to edit"
elog "this file to match your configuration."
fi
}

@ -1 +1,2 @@
DIST KeePass-2.40-Source.zip 5136918 BLAKE2B 7b5071cbe3bc5f20450a094a4b8969e2e25f6bba27d88ee5c2c25f2706ed3cf18e721ba53ff54c78db6ea1e167cef1108611fc8253a9d6e19eb3f9d1f3317c73 SHA512 222f7e7ef65be8b0d75baa0a6e871d5edad1b570b64f261405b843d7387ec1faeb4138afb8b31934d70eebe0add297681028cb4f3acfcbe4f518c763fe6c0145
DIST KeePass-2.41-Source.zip 5141195 BLAKE2B 7f61efa6d73fbfd5de283567a1673f5757619ebb81f3daa3fba82c887874f2cdb15f74221bf389013fe4cf19c83f00f87de2c596d22a22f5f38b5236dab01e44 SHA512 0d9398f529e004df6a4d3e0b8e34a1324b1806bf44987e9cb2d7535eaf02192662e72c89f1e41b7da01d23b0d686fbbca7a956ef7873fd8b1948847fbf5d27a5

@ -0,0 +1,113 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils gnome2-utils xdg-utils
MY_PN="KeePass"
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
HOMEPAGE="https://keepass.info/"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aot"
COMMON_DEPEND="dev-lang/mono"
DEPEND="${COMMON_DEPEND}
app-arch/unzip
"
RDEPEND="${COMMON_DEPEND}
dev-dotnet/libgdiplus[cairo]
"
S="${WORKDIR}"
PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
src_prepare() {
# KeePass looks for some XSL files in the same folder as the executable,
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
# This XSL file will not be upstreamed since the KeePass creator said that
# including this patch would break the Portable USB version of KeePass
# (which keeps/looks for xsl files in its own folder)
default
# Switch into build dir so the mono prepration script works correctly
pushd Build || die
source PrepMonoDev.sh || die
popd || die
}
src_compile() {
export MONO_REGISTRY_PATH=/dev/null # bug 659808
# Build with Release target
xbuild /target:KeePass /property:Configuration=Release || die
# Run Ahead Of Time compiler on the binary
if use aot; then
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
fi
}
src_install() {
# Wrapper script to launch mono
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
# Some XSL files
insinto "/usr/share/${PN}/XSL"
doins Ext/XSL/*
insinto "/usr/$(get_libdir)/${PN}"
exeinto "/usr/$(get_libdir)/${PN}"
doins Ext/KeePass.exe.config
# Default configuration, simply says to use user-specific configuration
doins Ext/KeePass.config.xml
# The actual executable
doexe Build/KeePass/Release/KeePass.exe
# Copy the AOT compilation result
if use aot; then
doexe Build/KeePass/Release/KeePass.exe.so
fi
# Prepare the icons
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
# Create a desktop entry and associate it with the KeePass mime type
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
# MIME descriptor for .kdbx files
insinto /usr/share/mime/packages
doins "${FILESDIR}/${PN}.xml"
# sed, because patching this really sucks
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
}
pkg_postinst() {
gnome2_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
if ! has_version x11-misc/xdotool ; then
elog "Optional dependencies:"
elog " x11-misc/xdotool (enables autotype/autofill)"
fi
elog "Some systems may experience issues with copy and paste operations."
elog "If you encounter this, please install x11-misc/xsel."
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

@ -1,5 +1,3 @@
DIST vault-0.10.3.tar.gz 15902247 BLAKE2B f69ddbe1309800cfae756f8ca1dd0da3e92ce49a1ec70539dc30785344afb7fe39472dcb2fb5ee4f410c7b52b13b00996b08d89624ef8523adcf4f809601ad5c SHA512 baacf549f9b73d306154dad6cd6efb3fb0eca3280c885cd772dada524cd436c1d5f1f705118274aa7cea6002cd8e0b86f1dfb02c4f5787d08dc535112cb62096
DIST vault-0.10.4.tar.gz 19207588 BLAKE2B 035e83c1d119b266817490afd4506fee5e5ceeff8a7c59188c59e28067f06e78f57e06d200026b288908f49a19ed22ebfd67e08c3c70026c7da22d05e33ec343 SHA512 7331e49c2bebbbbcebc74cfc1ce7d6984590fdd39b47f0bbf1b610cfe37b900a86b8ea63bc5d5e28ba34b68433944486979177aee6c10bf188095f5a50a4b61a
DIST vault-0.11.0.tar.gz 24430984 BLAKE2B 0c1d40ed9f8dbc19ae7bce38308f7a55e12e8a907798022ce6b5783f2be9b9d7a9a1842683b8df411b3b754c716fd7366a0261d890e2153c64a70df6a3c6b844 SHA512 33e1e76a0e16803a8d0d6ed8ec0b6d1f8876d54ecf35a70bc4969404bd7991ef0cc5986eae958885d288bb316396e0594a5571b7a11f8b052b22b445388f03c7
DIST vault-0.11.4.tar.gz 25456828 BLAKE2B 35ed79e8474c4fffb046b5163bfd7115ca4ffe3c3560732d9f73349a1187417a288c30985d7ac450b86f682aa7a1d5318634c1be60e5bffce04137e32f2ad13d SHA512 99e592d679d65d75d62812e2d0ae9a652342a97f4934a2ca00a9ac044cdc92b35e7108296cf1a700ed36818a504fcaf155f8f61d7b10d84933932bdab00a9f7e
DIST vault-0.11.5.tar.gz 25459691 BLAKE2B 9f77e90b71629e1ed341d03830a0376b6731d85189dde0205148c7c8002556521538144cbf1b7bc425253cc55de6ab3d48cbcc1d270165e5804f7f632d06523b SHA512 b290523ee94199d241bbd2477ca686076f645804953181996aefe2a425bc5114db3d375fd5c832d1fa257a790947544406f50777317e854ccf2d4d4477ab6ffd
DIST vault-1.0.1.tar.gz 25817507 BLAKE2B c4882341fbcea2051c8685dfff85739f11898d0406d12611cdda36f19d7badae69e88060d593ba03c333b151d4402b7bfc520f34c0663fe00a77998aa662f161 SHA512 b644e419faa8dc1f8a347f7b522ccafbdea9f849de9ad1ca085214d21e50bd2ec6eb868b4eb0abff65537abc4fba93c3e4ffd424afa90ca049068e6eccc99999

@ -1,67 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit fcaps golang-base golang-vcs-snapshot systemd user
EGO_PN="github.com/hashicorp/${PN}"
DESCRIPTION="A tool for managing secrets"
HOMEPAGE="https://vaultproject.io/"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="MPL-2.0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="test"
DEPEND=">=dev-lang/go-1.10:=
dev-go/gox"
FILECAPS=(
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
)
src_prepare() {
default
# Avoid the need to have a git checkout
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
-e 's:^\(GIT_DIRTY=\).*:\1:' \
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
-i src/${EGO_PN}/scripts/build.sh || die
sed -e "/hooks/d" -i src/${EGO_PN}/Makefile || die
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_compile() {
mkdir bin || die
export GOPATH=${S}
cd src/${EGO_PN} || die
XC_ARCH=$(go env GOARCH) \
XC_OS=$(go env GOOS) \
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
emake
}
src_install() {
dodoc src/${EGO_PN}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
keepdir /etc/${PN}.d
insinto /etc/${PN}.d
doins "${FILESDIR}/"*.json.example
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
dobin bin/${PN}
}

@ -1,67 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit fcaps golang-base golang-vcs-snapshot systemd user
EGO_PN="github.com/hashicorp/${PN}"
DESCRIPTION="A tool for managing secrets"
HOMEPAGE="https://vaultproject.io/"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="MPL-2.0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="test"
DEPEND=">=dev-lang/go-1.10:=
dev-go/gox"
FILECAPS=(
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
)
src_prepare() {
default
# Avoid the need to have a git checkout
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
-e 's:^\(GIT_DIRTY=\).*:\1:' \
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
-i src/${EGO_PN}/scripts/build.sh || die
sed -e "/hooks/d" -i src/${EGO_PN}/Makefile || die
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_compile() {
mkdir bin || die
export GOPATH=${S}
cd src/${EGO_PN} || die
XC_ARCH=$(go env GOARCH) \
XC_OS=$(go env GOOS) \
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
emake
}
src_install() {
dodoc src/${EGO_PN}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
keepdir /etc/${PN}.d
insinto /etc/${PN}.d
doins "${FILESDIR}/"*.json.example
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
dobin bin/${PN}
}

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6

Binary file not shown.

@ -0,0 +1,33 @@
From 85c005ee1345c342f707f3c55317daf6cb050603 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <gray@gnu.org.ua>
Date: Thu, 10 Jan 2019 18:18:49 +0200
Subject: Remove erroneous abort() call
The call was introduced by commit ccef8581. It caused tar to abort
on perfectly normal operations, like untarring archives containing
./ with the -U option,
See http://lists.gnu.org/archive/html/bug-tar/2019-01/msg00019.html
for details.
* src/extract.c (maybe_recoverable): Remove misplaced call to abort().
---
src/extract.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/extract.c b/src/extract.c
index 090b866..8276f8f 100644
--- a/src/extract.c
+++ b/src/extract.c
@@ -787,7 +787,7 @@ maybe_recoverable (char *file_name, bool regular, bool *interdir_made)
case UNLINK_FIRST_OLD_FILES:
break;
}
- abort (); /* notreached */
+ FALLTHROUGH;
case ENOENT:
/* Attempt creating missing intermediate directories. */
--
cgit v1.0-41-gc330

@ -24,6 +24,8 @@ DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )
xattr? ( elibc_glibc? ( sys-apps/attr ) )"
PATCHES=( "${FILESDIR}"/${P}-remove-erroneous-abort-call.patch )
src_prepare() {
default

Binary file not shown.

@ -1,2 +1,2 @@
DIST moe-1.6.tar.lz 75108 BLAKE2B 0d675ceecea6670fe24e860d030ef43905add64334d0769d24a57fb3b0cc421e7065c6d36df7e2c154db66936ab8849f9bf42288767810aec34db4261fef23f6 SHA512 0aa717c865d41f73adccddbb158ae67b611a64f24258bcce5a68fea8175d28d6db55a0fb356fb294bfe3106c0973607b1fcc76ceee17d360e30eb80650ec043b
DIST moe-1.10.tar.lz 84050 BLAKE2B 2e49aba27cdd603fbc9a4eb0fef5e086a527087d72f30f68beb4e3389de0ccdd85fec5bf753b3187d64cd6549ac5738c89e94c543c141f88896c580e7c33ad42 SHA512 3908d7906aa7dcb8bd4a5d340fe94b06fc91814098c20e8939906c2b0e03e1a8a3c95847b5f8111a5d9f37636a2fafa52f9105e0e8fa0ad8b16c2f9e9dede748
DIST moe-1.9.tar.lz 82046 BLAKE2B 9144dfc4ce17bc04f3ad9aa9ec271f173df6c581705e5d922a346f94c086a97af9429478c016d7081c1fd38787055666504f04d25a8b9f5c1020dc147aaafdb0 SHA512 277700e4a796e1a7aee42de55ba4599a350a612f95a1a2eca5078d85f6f9a7db190fb5611eb2f286c98580af847a2934bf38a4bce10176db4c5cddc2d257f929

@ -1,9 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
inherit eutils toolchain-funcs unpacker
inherit toolchain-funcs unpacker
DESCRIPTION="A powerful and user-friendly console text editor"
HOMEPAGE="https://www.gnu.org/software/moe/"
@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.lz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
sys-libs/ncurses:0=
@ -30,7 +30,7 @@ src_prepare() {
-e "/^CXX=/d" \
configure || die "sed on configure failed"
epatch_user
eapply_user
epatch "${FILESDIR}/${P}-tinfo.patch"
eapply "${FILESDIR}/${PN}-1.6-tinfo.patch"
}

Binary file not shown.

@ -1,2 +1,2 @@
DIST diskimage-builder-2.17.0.tar.gz 362965 BLAKE2B 27668c38e480aa14354a7efcb7f3f64b9cfe9f7a61507d2e08809a757aba95f3d51754b35985089c39bc3bca1204e9e2325e19e0d4f77996e22b479e6d804ae2 SHA512 02505823ba48da235127f9bd686bbad3dec32feb2252e5c5b69723a53f6d0926a384c6be5a4055bebf9e0ded82cd9945dab6f26fa7db280722f45d27fef25bc9
DIST diskimage-builder-2.18.0.tar.gz 357151 BLAKE2B 0516a7028f3ad3d544f575ba61bf04a79d5227008471e6ce5637b762798d3947cb111312ddfd5ca73d39e6b7e01a98ff34925bb30857581e3c135f3da17a4ecd SHA512 64b329ba9494041cd432fa9ff42e15c4b409ed57edbb3c91b791ff2b0d0fce860c32d2d020c36c23c97d9cd100aa287abd98d5e537a02c38d81cd0f9a2578e02
DIST diskimage-builder-2.19.0.tar.gz 359520 BLAKE2B 2ddbee82cc45267faa45e7fa8b80012096676ca792eed6aee766d24fd3a5297f7f21af94c84259308fd0a48b9c913ba94575333d792b7dcd67c09d6493ff3f2b SHA512 57da6f0507a96f873bc034862dd58649d8d9ff65c7ad83f8245658fed5919b47ac29c5f8d1bb9ff2d544304955c48fa1ff3a183d90ba47bcc8d1f88c09e4014c

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]

@ -1,3 +1,4 @@
DIST docker-proxy-0.8.0_p20180411.tar.gz 2695069 BLAKE2B 5205d5700ad116bb457dc7a57f2624f9efa46f1dbf3f5fe9215077655cddba8e1e1301bc555fb43a22cba4d74423123953a67994bf8974b114350e64be601299 SHA512 300e197313017536f91768ba675f2ab773eb1914f8e5908f4ff5b6fc8c4f0fa5ba1653cd9f8ca26e7c466f1623716aa45a2746f862e47ca9fe9136010085f600
DIST docker-proxy-0.8.0_p20180626.tar.gz 2718698 BLAKE2B 6214ba714ba8b01214168171f465dfaee4d8ff791db7a219a3fb92fade3e4207d36d90090790c0a3059e6fb209f3cd8bb0082ca75496108ebffb7c9b0c5092a4 SHA512 21d3d1bd8aafeab51a3e0a14ada4d559b5b113a48d315e91f7d70e4fa839f5c92d4068b38c28bf6929da9c11cfc61703bafc7148f64b784208d61fa14ee4545d
DIST docker-proxy-0.8.0_p20180907.tar.gz 2711336 BLAKE2B ad1fc76347058610e2cd1659fb89f9990cc704c3a31006b976e44f31a30e754ac86e7b4823c48461cdcba948bb8d320ae25eac1e13b26f1fde072343251a61e0 SHA512 603ad154d0987a021dae69d542fa82a53b8d25ad9b44cf16f0ef551e0b81e0174dcc73b3a8e9ba89ca1d209f0022e767d44a8350b00b9b4e252cfab698b1d5bd
DIST docker-proxy-0.8.0_p20181207.tar.gz 2703206 BLAKE2B 46b71a4d6ac9eb0659a45c1956eb967a73b2b73c446d55de3a5b4014149f911daa03c6a914e8d79da53e01892c6592adf0df769b6b5ed3b41f3c4a3c9f979da3 SHA512 9256eedc6ed530506e4e61673a9f45397274093dd61105097d5c650796f0afebc8ad7c550d2dc3cacf94426e3872a2b764906bca46fc907a21b865314c8927d4

@ -0,0 +1,36 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN="github.com/docker/libnetwork"
if [[ ${PV} == *9999 ]]; then
inherit golang-vcs
else
EGIT_COMMIT="2cfbf9b1f98162a55829a21cc603c76072a75382"
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
inherit golang-vcs-snapshot
fi
DESCRIPTION="Docker container networking"
HOMEPAGE="https://github.com/docker/libnetwork"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
S=${WORKDIR}/${P}/src/${EGO_PN}
RDEPEND="!<app-emulation/docker-1.13.0_rc1"
RESTRICT="test" # needs dockerd
src_compile() {
GOPATH="${WORKDIR}/${P}" go build -o "bin/docker-proxy" ./cmd/proxy || die
}
src_install() {
dodoc ROADMAP.md README.md CHANGELOG.md
dobin bin/docker-proxy
}

@ -1,3 +1,4 @@
DIST docker-18.03.1.tar.gz 12758590 BLAKE2B 98213af07b945fda536e321ef5cc9e272848aab97dcadb7a6b1433b9310fa78015794b5ee4f255448251366a7811e97248b9cc90b0225c528249188768f344ab SHA512 48c4916421cd500ada1bfc2207123a29870939a15a1c7c4a0c082f61c1e3e063381e2345ee9df645dbaca49e002dbfaba70cf6fe233b39a4e1f44fb015807e10
DIST docker-18.06.1.tar.gz 13672693 BLAKE2B 7aed2f409914471b3e0eec4f3d024bf59e6505060c1da9c4bb68f0d6efdb5286a8e9e5ee0de19b3f0165c965db27d409f72fceb3f792fc91b9b8dddc8a2b01f0 SHA512 7375452669bf6576e1f8d193cd7f421cf39a26d575351f2b4e433c7fc89384f441547417dbe8c12a12a0937c9fea3800b5c541f0ba8b58ceffe7445183ceeef1
DIST docker-18.09.0.tar.gz 15196102 BLAKE2B 99b791da6351268ccd54424f1ec1d0b1246d7283e5bf8f41f604f0437202a0c494f7017d68c58f01782eea8539fcc189c290f494125878eb3ca368f3d8cdd57d SHA512 a6173d9e2dde33c6059b3464720207a3bc0f4d6d79af65ad10cd30b4b437134ad45fc2039cebcaa41b2dfb68a21963010d63a4051ade6a6d25fcd93c8d560c67
DIST docker-18.09.1.tar.gz 15247155 BLAKE2B 5c9a6c0d6e383da2b99341812b0cc1d1498e46decc3b3aaa418607d5f4d725a6842a4462c06357685a32312b90978b0349aaceb69907324761589e68cfae7bca SHA512 9813d3bd41eff63a089495a976226b93d5d43544530aea0ebce78b96e6b4b38389fe3ad1117f1ca95c38727047a24211ad2c2b44217935c26ffb5496cf90407e

@ -0,0 +1,299 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN="github.com/docker/docker-ce"
if [[ ${PV} = *9999* ]]; then
# Docker cannot be fetched via "go get", thanks to autogenerated code
EGIT_REPO_URI="https://${EGO_PN}.git"
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}/src/${EGO_PN}"
inherit git-r3
else
DOCKER_GITCOMMIT="4c52b90"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64"
[ "$DOCKER_GITCOMMIT" ] || die "DOCKER_GITCOMMIT must be added manually for each bump!"
inherit golang-vcs-snapshot
fi
inherit bash-completion-r1 golang-base linux-info systemd udev user
DESCRIPTION="The core functions you need to create Docker images and run Docker containers"
HOMEPAGE="https://dockerproject.org"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="apparmor aufs btrfs +container-init device-mapper hardened +overlay pkcs11 seccomp"
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies
CDEPEND="
>=dev-db/sqlite-3.7.9:3
device-mapper? (
>=sys-fs/lvm2-2.02.89[thin]
)
seccomp? ( >=sys-libs/libseccomp-2.2.1 )
apparmor? ( sys-libs/libapparmor )
"
DEPEND="
${CDEPEND}
dev-go/go-md2man
btrfs? (
>=sys-fs/btrfs-progs-3.16.1
)
"
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#optional-dependencies
RDEPEND="
${CDEPEND}
>=net-firewall/iptables-1.4
sys-process/procps
>=dev-vcs/git-1.7
>=app-arch/xz-utils-4.9
dev-libs/libltdl
~app-emulation/containerd-1.2.2
~app-emulation/runc-1.0.0_rc6_p20181203[apparmor?,seccomp?]
~app-emulation/docker-proxy-0.8.0_p20181207
container-init? ( >=sys-process/tini-0.18.0[static] )
"
RESTRICT="installsources strip"
S="${WORKDIR}/${P}/src/${EGO_PN}"
# see "contrib/check-config.sh" from upstream's sources
CONFIG_CHECK="
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
~KEYS
~VETH ~BRIDGE ~BRIDGE_NETFILTER
~NF_NAT_IPV4 ~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK ~NETFILTER_XT_MATCH_IPVS
~IP_NF_NAT ~NF_NAT ~NF_NAT_NEEDED
~POSIX_MQUEUE
~USER_NS
~SECCOMP
~CGROUP_PIDS
~MEMCG_SWAP ~MEMCG_SWAP_ENABLED
~BLK_CGROUP ~BLK_DEV_THROTTLING ~IOSCHED_CFQ ~CFQ_GROUP_IOSCHED
~CGROUP_PERF
~CGROUP_HUGETLB
~NET_CLS_CGROUP
~CFS_BANDWIDTH ~FAIR_GROUP_SCHED ~RT_GROUP_SCHED
~IP_VS ~IP_VS_PROTO_TCP ~IP_VS_PROTO_UDP ~IP_VS_NFCT ~IP_VS_RR
~VXLAN
~CRYPTO ~CRYPTO_AEAD ~CRYPTO_GCM ~CRYPTO_SEQIV ~CRYPTO_GHASH ~XFRM_ALGO ~XFRM_USER
~IPVLAN
~MACVLAN ~DUMMY
"
ERROR_KEYS="CONFIG_KEYS: is mandatory"
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
ERROR_BLK_CGROUP="CONFIG_BLK_CGROUP: is optional for container statistics gathering"
ERROR_IOSCHED_CFQ="CONFIG_IOSCHED_CFQ: is optional for container statistics gathering"
ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
ERROR_CFS_BANDWIDTH="CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering"
ERROR_XFRM_ALGO="CONFIG_XFRM_ALGO: is optional for secure networks"
ERROR_XFRM_USER="CONFIG_XFRM_USER: is optional for secure networks"
pkg_setup() {
if kernel_is lt 3 10; then
ewarn ""
ewarn "Using Docker with kernels older than 3.10 is unstable and unsupported."
ewarn " - http://docs.docker.com/engine/installation/binaries/#check-kernel-dependencies"
fi
if kernel_is le 3 18; then
CONFIG_CHECK+="
~RESOURCE_COUNTERS
"
fi
if kernel_is le 3 13; then
CONFIG_CHECK+="
~NETPRIO_CGROUP
"
else
CONFIG_CHECK+="
~CGROUP_NET_PRIO
"
fi
if kernel_is lt 4 5; then
CONFIG_CHECK+="
~MEMCG_KMEM
"
ERROR_MEMCG_KMEM="CONFIG_MEMCG_KMEM: is optional"
fi
if kernel_is lt 4 7; then
CONFIG_CHECK+="
~DEVPTS_MULTIPLE_INSTANCES
"
fi
if use aufs; then
CONFIG_CHECK+="
~AUFS_FS
~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
"
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs-sources are used instead of aufs4/aufs3"
fi
if use btrfs; then
CONFIG_CHECK+="
~BTRFS_FS
~BTRFS_FS_POSIX_ACL
"
fi
if use device-mapper; then
CONFIG_CHECK+="
~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
"
fi
if use overlay; then
CONFIG_CHECK+="
~OVERLAY_FS ~EXT4_FS_SECURITY ~EXT4_FS_POSIX_ACL
"
fi
linux-info_pkg_setup
# create docker group for the code checking for it in /etc/group
enewgroup docker
}
src_compile() {
export GOPATH="${WORKDIR}/${P}"
# setup CFLAGS and LDFLAGS for separate build target
# see https://github.com/tianon/docker-overlay/pull/10
export CGO_CFLAGS="-I${ROOT}/usr/include"
export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
# if we're building from a tarball, we need the GITCOMMIT value
[ "$DOCKER_GITCOMMIT" ] && export DOCKER_GITCOMMIT
# fake golang layout
ln -s docker-ce/components/engine ../docker || die
ln -s docker-ce/components/cli ../cli || die
# let's set up some optional features :)
export DOCKER_BUILDTAGS=''
for gd in aufs btrfs device-mapper overlay; do
if ! use $gd; then
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
fi
done
for tag in apparmor pkcs11 seccomp; do
if use $tag; then
DOCKER_BUILDTAGS+=" $tag"
fi
done
pushd components/engine || die
if use hardened; then
sed -i "s/EXTLDFLAGS_STATIC='/&-fno-PIC /" hack/make.sh || die
grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
sed "s/LDFLAGS_STATIC_DOCKER='/&-extldflags -fno-PIC /" \
-i hack/make/dynbinary-daemon || die
grep -q -- '-fno-PIC' hack/make/dynbinary-daemon || die 'hardened sed failed'
fi
# build daemon
VERSION="$(cat ../../VERSION)" \
./hack/make.sh dynbinary || die 'dynbinary failed'
popd || die # components/engine
pushd components/cli || die
# build cli
emake \
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
VERSION="$(cat ../../VERSION)" \
GITCOMMIT="${DOCKER_GITCOMMIT}" \
DISABLE_WARN_OUTSIDE_CONTAINER=1 \
dynbinary || die
# build man pages
go build -o gen-manpages github.com/docker/cli/man || die
./gen-manpages --root . --target ./man/man1 || die
./man/md2man-all.sh -q || die
rm gen-manpages || die
# see "components/cli/scripts/docs/generate-man.sh" (which also does "go get" for go-md2man)
popd || die # components/cli
}
src_install() {
dosym containerd /usr/bin/docker-containerd
dosym containerd-shim /usr/bin/docker-containerd-shim
dosym runc /usr/bin/docker-runc
use container-init && dosym tini /usr/bin/docker-init
pushd components/engine || die
newbin "$(readlink -f bundles/latest/dynbinary-daemon/dockerd)" dockerd
newinitd contrib/init/openrc/docker.initd docker
newconfd contrib/init/openrc/docker.confd docker
systemd_dounit contrib/init/systemd/docker.{service,socket}
udev_dorules contrib/udev/*.rules
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
dodoc -r docs/*
insinto /usr/share/vim/vimfiles
doins -r contrib/syntax/vim/ftdetect
doins -r contrib/syntax/vim/syntax
# note: intentionally not using "doins" so that we preserve +x bits
dodir /usr/share/${PN}/contrib
cp -R contrib/* "${ED}/usr/share/${PN}/contrib"
popd || die # components/engine
pushd components/cli || die
newbin build/docker-* docker
doman man/man*/*
dobashcomp contrib/completion/bash/*
insinto /usr/share/fish/vendor_completions.d/
doins contrib/completion/fish/docker.fish
insinto /usr/share/zsh/site-functions
doins contrib/completion/zsh/_*
popd || die # components/cli
}
pkg_postinst() {
udev_reload
elog
elog "To use Docker, the Docker daemon must be running as root. To automatically"
elog "start the Docker daemon at boot, add Docker to the default runlevel:"
elog " rc-update add docker default"
elog "Similarly for systemd:"
elog " systemctl enable docker.service"
elog
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
elog " usermod -aG docker youruser"
elog
elog " Devicemapper storage driver has been deprecated"
elog " It will be removed in a future release"
}

@ -218,6 +218,8 @@ src_prepare() {
default
if [[ ${PV} = *9999* ]]; then
# Reinitialize submodules as this is required for gnulib's bootstrap
git submodule init
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279

@ -1,3 +1,4 @@
DIST runc-1.0.0_rc5.tar.gz 1183902 BLAKE2B 46d0ffd9aa79a6f74b3194fa9e1932390115a43c903ae553acb7749d6be41220874a1ff9bae9706b5fecb9495dd6686c38ee1e9baf6118a14990f142baf6f64d SHA512 714230887ff9706c29b0656c5cdb253698bde6252a23e7f48aa690747fb57abd7884c2da1c4d0e314f9f301c5962417351557d15d986e45fcc336e98069aeac6
DIST runc-1.0.0_rc5_p20180509.tar.gz 1185576 BLAKE2B b56f9c185c061f51a1fd81c19d378b06c71d06c6eddcbc1c946b234814eb469ea4af37bf42ef3889e4d37bc430e69d0a563281b13055f855f1bc15935531fe28 SHA512 9a55bdb8e39830f46cceff48970b7688139927552e3d268b9ef4a6e640ffc3d95164b99c5b05d07d295bedc2ea22daf6062fd520df1548d78b1d481fd928f1e3
DIST runc-1.0.0_rc6.tar.gz 1202212 BLAKE2B 2795b6e88a9587fac61a50bfea52a9df8524eb87aae66129d7ea83e8c3ca586efc60a46d24af857f7ba50f8e4d7021cbd2845d322a8c0ad08be3e0f19d80ba3b SHA512 2f7ed5e835f000d9810a116a27300336f424ac2c370dd1c7d158e26a4997d1e8398612387be27cc22cc25fdd52cc4cff7963ef88ce9c41d337321b75d9be2334
DIST runc-1.0.0_rc6_p20181203.tar.gz 1202869 BLAKE2B 5b5808fc65f3725e5cc22794c5ff6c5eba6016110358b0f60dd3378df2e5b64afb5631e5652f45e9721838dd02745b8c5a88abfcd244de202196ac16bfccd5a7 SHA512 ec3d3fec773f2f9df714b0813efb110e21e328634e0b4ae77f323a892d0327aea5d4b6f9ae2a549aa06fda5b27431f4514fd663c7033dc170ca1a03627931f9d

@ -0,0 +1,61 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN="github.com/opencontainers/${PN}"
if [[ ${PV} == *9999 ]]; then
inherit golang-build golang-vcs
else
MY_PV="${PV/_/-}"
RUNC_COMMIT="96ec2177ae841256168fcf76954f7177af9446eb" # Change this when you update the ebuild
SRC_URI="https://${EGO_PN}/archive/${RUNC_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64"
inherit golang-build golang-vcs-snapshot
fi
DESCRIPTION="runc container cli tools"
HOMEPAGE="http://runc.io"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="+ambient apparmor hardened +kmem +seccomp"
RDEPEND="
apparmor? ( sys-libs/libapparmor )
seccomp? ( sys-libs/libseccomp )
!app-emulation/docker-runc
"
src_prepare() {
default
sed -i -e "/^GIT_BRANCH/d"\
-e "/^GIT_BRANCH_CLEAN/d"\
-e "/^COMMIT_NO/d"\
-e "s/COMMIT :=.*/COMMIT := ${RUNC_COMMIT}/"\
src/${EGO_PN}/Makefile || die
}
src_compile() {
# Taken from app-emulation/docker-1.7.0-r1
export CGO_CFLAGS="-I${ROOT}/usr/include"
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-L${ROOT}/usr/$(get_libdir)"
# build up optional flags
local options=(
$(usex ambient 'ambient' '')
$(usex apparmor 'apparmor' '')
$(usex seccomp 'seccomp' '')
$(usex kmem '' 'nokmem')
)
GOPATH="${S}" emake BUILDTAGS="${options[*]}" -C src/${EGO_PN}
}
src_install() {
pushd src/${EGO_PN} || die
dobin runc
dodoc README.md PRINCIPLES.md
popd || die
}

@ -2,3 +2,4 @@ DIST skopeo-0.1.22.tar.gz 1921286 BLAKE2B 141f78d14cb47494af9e55541eeaa973c9e206
DIST skopeo-0.1.30.tar.gz 2700275 BLAKE2B d80125e1be32f3b490f5d66caa5b1bd482dc2203d0c37824bd40d06e240c347468f9635623344e6f9badd9dbbeed59383d5ec8ad81a9b8e01284bc48114470f6 SHA512 05ea7c54f1de7ab9676903a973c8039520fa023f295c705e600d01520c0f300d255268e41b9c716dc4a1f01e951d9b73acf24d5a1bc891f694798a3eb085f061
DIST skopeo-0.1.31.tar.gz 2886364 BLAKE2B 9ef9eb4fdd722216f15e14de6702aa0dfe3331b83acb803221b8f76a36428749b6bc302cb3ea2772dd42aefc336a80ad823cfcda9fc054a01f672cf7464592a1 SHA512 660856d962310f0274f3c2507a9a5cbfd8ceb205a3d2fdf30ebde856602151917492082356f6031e5d041ce02e53e562e83cba58259cdc456363f7af56b2507b
DIST skopeo-0.1.32.tar.gz 4366298 BLAKE2B b358cb197475d693fa47cdfda738a78f70c9f59c5e3e61e55f3be21ea137640de2e9c61eb6437faca9a8f0e8dd6dda673e1cd645922a23533e6101eb326ef789 SHA512 c52eeee85aa01448c9742d4e415e3ce6f2e0ef4e26a55758202baecb573ad8e3efb94c762d4c303fb21b896998b32e19f919a7382dfd6b17df2a96d66d07267b
DIST skopeo-0.1.34.tar.gz 2859957 BLAKE2B f36062374b2afa7363a02d6410bd35bbf5ccd0599eea7eb6d68b769e9fbf492dc7843dbd184fccc742250fcd3e573e33bd5454971730bcec2151a52a32b81680 SHA512 3ba99fcbff9f46fa1a4226bfc54961cf640150e0e0ac6b3457e862ef94991fa05a7bd609cbf8c87a0424df6942653fb5492a3893fa5282242c4df6913c4312a2

@ -0,0 +1,54 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN=github.com/containers/skopeo
COMMIT=e96a9b0
inherit golang-vcs-snapshot bash-completion-r1
DESCRIPTION="Command line utility foroperations on container images and image repositories"
HOMEPAGE="https://github.com/containers/skopeo"
SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
>=dev-libs/libassuan-2.4.3
>=sys-fs/btrfs-progs-4.0.1
>=sys-fs/lvm2-2.02.145"
DEPEND="${COMMON_DEPEND}
dev-go/go-md2man"
RDEPEND="${COMMON_DEPEND}"
S="${WORKDIR}/${P}/src/${EGO_PN}"
RESTRICT="test"
src_compile() {
local BUILDTAGS="containers_image_ostree_stub"
set -- env GOPATH="${WORKDIR}/${P}" \
go build -ldflags "-X main.gitCommit=${COMMIT}" \
-gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \
-o skopeo ./cmd/skopeo
echo "$@"
"$@" || die
cd docs || die
for f in *.1.md; do
go-md2man -in ${f} -out ${f%%.md} || die
done
}
src_install() {
dobin skopeo
doman docs/*.1
dobashcomp completions/bash/skopeo
insinto /etc/containers
newins default-policy.json policy.json
insinto /etc/containers/registries.d
doins default.yaml
keepdir /var/lib/atomic/sigstore
einstalldocs
}

Binary file not shown.

@ -0,0 +1 @@
DIST process-exporter-0.4.0.tar.gz 378006 BLAKE2B 053379e8e0cb95f099cebf53289c48c39d6c8ef22c8b0dcf0bd128453e601da98be9205bb5c7cda8a05d5f50addabbcb46f6ece44926da17c1bd8616e452783a SHA512 88f6f0e07bb7f3ea6c593ba359c09ace47eb0830ff0759b1f4dd64219a6c9069dc2891a328a90bdef13ea02efc576fb71de7ff095788b4dd45c2683c90904363

@ -0,0 +1,8 @@
#!/sbin/openrc-run
description="Process Exporter for Prometheus"
command=/usr/bin/process-exporter
command_args="--config.path /etc/process-exporter/all.yaml
--web.listen-address=:9256 ${COMMAND_ARGS}"
command_background=yes
pidfile=/var/run/process-exporter.pid

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>amd64@gentoo.org</email>
<name>AMD64 Project</name>
</maintainer>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,32 @@
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN=github.com/ncabatoff/process-exporter
inherit golang-build golang-vcs-snapshot systemd
DESCRIPTION="Process exporter for prometheus"
HOMEPAGE="https://github.com/ncabatoff/process-exporter"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="strip"
src_compile() {
pushd "src/${EGO_PN}" || die
GOPATH="${S}" emake build
}
src_install() {
pushd "src/${EGO_PN}" || die
dobin ${PN}
dodoc *.md
insinto /etc/${PN}
doins packaging/conf/all.yaml
systemd_dounit packaging/${PN}.service
newinitd "${FILESDIR}"/${PN}.initd ${PN}
}

Binary file not shown.

@ -334,3 +334,171 @@ DIST LibreOffice_6.1.4.2_Linux_x86_rpm_langpack_xh.tar.gz 289979 BLAKE2B 99e987a
DIST LibreOffice_6.1.4.2_Linux_x86_rpm_langpack_zh-CN.tar.gz 793869 BLAKE2B 6520ff193de644324512f0b66e38843a4a8f4a3ffe2e03d0e5bb7994ce6975e50e921beae721f911488701577ae84e291188e98369de192e11786964814ace73 SHA512 9d6754d85b7dfc2d6fd53f01270d2881dc7222eae708c38a2f11c5d285fd45a4724ea61d9247a5ff0b200acd742306b82918d151e9f128bd1cdca9be9be392bb
DIST LibreOffice_6.1.4.2_Linux_x86_rpm_langpack_zh-TW.tar.gz 799086 BLAKE2B 38ae9fe79cfa89d31d503f9971d363d1b84e5910bb2becc1daf30a561c795bb1a6ecd4f889033ab480ad27b103a034769f42a5e6b76c923e0b25a3efe29a44ed SHA512 4514d7dfc8f355a342b5ebafdd9e4b491f691f7040dd806c486d244f419a113107f04ed56c3cce91a93c81196fda68c18132da34ed65d109f3ee508b29a65f41
DIST LibreOffice_6.1.4.2_Linux_x86_rpm_langpack_zu.tar.gz 320320 BLAKE2B b8fd93d9377e50e4b07142b4bc84e612c11f644a7b6c03528390b5e22779336936bf4dedd267cd857b2f70e26cc600e46e165833197282f30e83ef4042380772 SHA512 7a211110104316b7f16e088d845d7b88a714ca8121ecb2c7f5c838c81ddf1f0113275b2efb54847d7f1403f382e7be7b731de393d3672926b5ab6d4e598d5e60
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_am.tar.gz 2571687 BLAKE2B da9386f971efd048beae227ababda48ba2413c4969d323227ba1c1c3d89f0fe2ab9563809f2570ea666d2fd15f75a5d2b3b02303f49b2e8ad1cf1016ad549bf2 SHA512 31df83a97f49992e87a590e20cba869ae5b8863d757fcb85fcf6fab0cf0dd94efb1d26082d0dc319b8c5f177403faad6c27339e97e1fdb1ea5ac9c564b59195f
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ast.tar.gz 2463403 BLAKE2B ccb68d90da9b7cedf57a454b2ad1a6acee1dbf658ce9e8955add2a94bff8b70a21418d514e3c1d0211f439132ff805b11b6cc43f9c4bdbf123c0a65f413d7342 SHA512 f1c1ba18768b28f6eb95d7bdd260ee4ce6bbb573df2c77f5c0ef496fe71a5df3d3f077352b5a915832485091cf5f076e2a04d53f51e9c686c51ae518c5dd12bd
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_bg.tar.gz 2657243 BLAKE2B d8a7ec3e68a90dd771e6fc36ab2459eac434cf6d00a8becdf74b5b8c94e898baf22792c9eb49670f16ad9ebd3c791628f4c8729f2e6375421b59f12e34d9533d SHA512 ffbf1434894eb832143d7b807df7958a3b284fb383db1465a2af18a1dd7c8cea6d792a41ed36383868a6ba52e78d835e009788867716f64ea6699dd32964cc37
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_bn-IN.tar.gz 2672160 BLAKE2B 792be295a96bec9be18593965f777c2334c19df5082f77b72a135c53d3279e8f1d23b859bd33f8108ce5ec3121dc686910eb4b49ee36c7fb0ce73e8e15a4635d SHA512 b1666ada2de81549f163617554e440d51849fce972a1cc9b9a8bcf36839a42e93f24c4a830d5221a2a62297ce7fce77aa40ee049cdadecc0aac13aff9d25e848
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_bn.tar.gz 2647118 BLAKE2B cac5786cd382c6e59da994312f2f49f85dfe009402f329f532c956fe3f8975f206b51458e6324fd6e38804272b7d30ff764e664d507c036d96eb222dd68260d0 SHA512 256fdfa64cbef4bacc30920ab2184c07c1a77e21333b3d8ab8dbcca77715ba6c5229ee786e0b788bceb4071f0b0e8051572015e4ad5deae1ccdb778555f2fb88
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_bo.tar.gz 2660344 BLAKE2B 73c3c925a3cfa2396c2768e0e63336ae2d6cc0a08a8faf5703a3e7f16ce3c01938fe75004682b8d80860d2c8a284a3ebff39a571f63b97d838346970ca26c419 SHA512 4fcf5d24ac876bf0614b3d4833aa2113041e74faa9c10f1bfb8bf445c7dc038ad3c52811547a1ee8870f602c9472df7fbfb5f3e21dd9ce64fae39242e4b03b12
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_bs.tar.gz 2376852 BLAKE2B bd669d4f37ea2ce80305caaaa47d16c5824092c094a5eb835157d952869b040c4d87466c3be7700da4024bc626614f143f1331e0e0122b850dfaada532fe927a SHA512 f594b2a39104c0e7a965924f634a3e03f865f2189577b964bd25fd1893b5dd511b1a02781d1c3c3e3acaf234afb7555f2845896bb3eed8de99fb1c17f26f698f
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ca-valencia.tar.gz 2459294 BLAKE2B 6eb79faa8b748a9c25acf3904139a707b3bc19273473ad3bb7ee5616f7a2d34371dd7aca6b259016e1fbe8ea5f0e7cf326baa17e928cf4be8606abdbd76cc820 SHA512 6a228a612179e9cca822b982a6ad4f024b2c6f014268b05a84e094b13edf255b8ead8e65cac9d979093f856f37de21fe5ea6f87ddb86468a56125fe580177157
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ca.tar.gz 2445287 BLAKE2B f56fd641aa19bb9d63e59c5a37f4c3fec312f006c7e53e64eb43f8275b182d1712faf2570d92064d67fca15d961e62602ca9eed1ecbb4df47e024bf2e3ba90ad SHA512 8910842f35ba338e2b0cf8e24c4b43e89914d275858d34c0a68d1c29570800aeeb34daec5982facad0cc7ea996d0ab2f46d4524f3fd859bb844ec152b1715536
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_cs.tar.gz 2443838 BLAKE2B 750e53ab1f66ac83583f66583530baf5918b11ecd0d477b6fcbfd4bacdd815db2108a7102d72c0da196adf6f36986c1f6ae0b1dba3f7f211f6249d9ab52760c2 SHA512 49813c2fe21c979e42402e054b44b0d167a07223e393a1fb4e44a68b607a7bf5529e1e817b7ed1bbd81bc26d783f2bc3dea97988c67acf5f87486b42aa2e3fe9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_da.tar.gz 2406530 BLAKE2B 9043c896034d88dabdadb3393ead1ef40a25e9097b673c076453707582a5c84d6935e12c9fa0c7bb0f05474978fefba21b2bdcb4ce4f0d29a61d74a95e44fd2d SHA512 8af7925f1a526573ebfaff14cd51bc8a3d2313e70e32424c6b00ed032027c0c77984c4458e7a62f0aaf9756498850f00f033f4a44f0d28be5a65ed1fad7736f2
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_de.tar.gz 2501937 BLAKE2B 4b3926cfb75f1dadd68cfd44e298d3232659da6accb0a21cb29edf06506b152b7136dc06c2cf7ad34a9e6c237934d14758d65ba2e61339eef72e280c6a8df576 SHA512 8db82836141a155debdb9bbc0d30fb6a4ae97c50187eee4da67e6ea23904bf3650a9532ce725129c267c5e2f471745d06470be811f063c7cdca703bfb37d72b6
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_dz.tar.gz 2815836 BLAKE2B e328c4324f0c364d4157bb8c0a1707613ce2ec5bd26faecbb5f4f90e8d66e55b5d8cfa3a52b93160d162cfdb76288ea022906e4d0a3cebc1b7128a8fc9387267 SHA512 246b5047bc5bce0fa1382d95501870e53f0ead502013b756946b0afa2dd1d6ed7b6fdabebef39b884d77a04b942971389cf18c3349968e62f4d5b617be76bd26
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_el.tar.gz 2864556 BLAKE2B 5716fc71c853ba19b48f25b566aba05303c01e49dd3784fe533decd90bad2f38bf8f27bd7a36aeadd55e79d2849577136d9bbb45ade841aac5a3298e95800cb3 SHA512 5ef30f8e464e1d79b5f1ef8878bb07904c10e4b57cf1e5aeec386713fd82652612943a67626d92723d52ad37ab76df6720ceefceee1418948dc8c74cb1d54bc3
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_en-GB.tar.gz 2281619 BLAKE2B 3ac6982d4000a2375a420e890199d153fb1fc1db99121c4acdd6d2bacbd4248bd0839f60889a773f914a65e607295a84c99c840f4527138b66787c17e164be8e SHA512 729399060fd728ffcd4a45012e7172dfecd89d67688b922f5d545eb48285e40b410e7c29f02545373b097092dc0e8c6bb913e583841d864699b0d0748c237e8b
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_en-US.tar.gz 2100640 BLAKE2B cdd472b6abc6822bea0737171ee7f78c580830a883812f788e9ea41e0f8043436a4698680f044c75c76f4fe65c2ebb56a539f4bda42c80d58cd8e0b38bd53a56 SHA512 bd25530186b01a6c682404edc29a4532dead0093100bae563cf494d8e7e1c99ad72b1318a2accefecec8e9dcaf50469732134a1bd7c6b6f90c3625e574e58470
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_en-ZA.tar.gz 2278595 BLAKE2B 33cdd9fdb8d4440e0f392ee57aed8ce88b83b55644445d0c770b96c34d42b0b7b9efa1b789e08a7eedca2c8ba024b63490ff244069c1ab6a59c56aff68aa685f SHA512 ae03217edeaf08582ab137d9b6ce2e428707efc1cbae01bbc935da08d2570b4fb78a7671ce792991651258ffae9ec49a12db8f49eda8915621331863a4072401
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_eo.tar.gz 2359095 BLAKE2B 1897ed170848f4d95fd71d92223f7d227b8d7b91d8443e469dd33bdcb17499bb04feeff43145b42da96c15551028d12544f76bd3b2c83c9af9ad480eb630f3af SHA512 35261fc0d528d39bcf8182881bcb3d41c2083efee65af7c43bda37fbae54d0a830c043b0eabdf7a74f9912a066ab9a4f479b1014d4fcc45aa340da10f6c5f286
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_es.tar.gz 2486504 BLAKE2B 8fecfbc8c8cab1fb8eb7d7c57be52d2d0e8abb91ea43c20e59078cdd5eff25f869a7aa2ab3c8bab29ac94bbb6f3a497391fb4cba2d5f27ecf75ecbd2acbe50a3 SHA512 126dd095df740e9eeecd6125dbf6497bf8bb3dd4a0744c686d237fee65f7ebece2e5d64960ec6785028e1883df86e8a75644c612dff407b0fa26e2620fc2d506
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_et.tar.gz 2404246 BLAKE2B 291abd5c34a0d9366c349581e6c7e110bd0212a30cd56cf68da14fb076892a239724ab764d9082f05b26e23338ed0fa82dc4d0f61af4c4da419cd4388ad54691 SHA512 4079b18a43bdab96fd46f027c3a7e58ea54675c6b5c082823449d5de020dad6d5ec88a5165b42b5c3ba9e41e9501112f690f85cb92f2f307f887b90d07964560
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_eu.tar.gz 2357201 BLAKE2B 19503bf48fbff3b4be7ba0d018c4376b7eb13492aa9ccc2417a2f6fa31342f00811b7c6e645d3e58e629ccf3388108f2aab38d77db769cccab631534c32d7dfa SHA512 436429b9223e5dba2f6161001b46e4b828752845d4705dbad970619b520c7a5c074656b6458f19aa26889950f84220f2394eb2ad459a399c7af182c0e92a7fd0
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_fi.tar.gz 2452869 BLAKE2B 193b7cec1d333eb92bc469befcf286117b17e8503cc5cddef1a875d25e3b793bd223ae2db7ca535d58a23ca351a2e4d01cb46ec748be604693cbf2464c40029e SHA512 7c06a665fd64e3e5589f151769a6d752eecec86b5ba811c939ce15727fc302ae3159395220e78cc7024ae1b4c527391658cf5f7d60b102e5926ab7627af6f36b
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_fr.tar.gz 2470525 BLAKE2B d702576e4796d9fbf27ae24833d6f345c8ffa95859e266a81f784346d40cba981ac4398732f84b3f2de1b57420a76ee69eb90d67a0e888fc1c50036935f8da3a SHA512 b4d99c0799b0bbb9bcbc921d193e783069499a0926b36d52c469d3425a945d7cd4623083a39a4c68ee840ddbbbfbc72186531b1d80d84a0e0340c2827d9ce761
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_gl.tar.gz 2444869 BLAKE2B ae325d631f68c65965f50523abb239c4ad392b3f22a14cf48afc48062e5c18624c86e03b9f1317be42cf852a3048e20acf34cba22c539a1f6c777ebdd0c3e463 SHA512 763247e92b0dfd8005e440c87efafb24d90744845be60c96f973f29f6db34663b70b1d1021e616b0e35f975d75d3176389f220046ce34c739c874d336d8444ff
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_gu.tar.gz 2330878 BLAKE2B e5c56566b87bbf010ebb805d685ee0d622e39d5aa62216d4b8e9bc966e26f1a74320372abca4fb5981aab2bc82d9429229094dec25e3a996988daecb3048a94e SHA512 0e70cf47cff015d393312a6fc3ee9eaa87002864b3524e62226020b0ee9f9ed6fb4a3ead782323e40bd7a8f501345a9d2c892aceefaabc52df8f173c92760791
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_he.tar.gz 2216788 BLAKE2B 103c296d77e403a32231d7086b0a8da436f7392d4447bcd6540d406b37d7c2c9e2cbaa8c438f1a0aa405a7cb5170e050e2fb9726c8ec6d8d1bec0ba36e9718f5 SHA512 f5312100892bed61f24382d726c8b6b4b7476ca6a04eb8ed28cb4d87c8c04d0e8e49b7a4191cb14348d84d0fdda07e9b4990497d2a450aaaa649ae5362b5b7f5
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_hi.tar.gz 2437759 BLAKE2B 51ca472ee7a91558b7b6a4d29d9470fe1a04a205a800d9a08af9bcc76333195474e2615587b42eddcb8052432277c72e33ac8127e064fb46bbe4aec9553f6c53 SHA512 69f69ce4dcddae25425123916cbdab5447d6a3c7bef8c82c0b3ebf050a906bf5bcff7e4bbe4468c02dee552d6664b58afe80d34690be13af5c5d0035afa71d0e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_hr.tar.gz 2333806 BLAKE2B ffac83aa59b67bffb07fffdf36fe5ad35a77f25259eb43ca7b4cb4ac1ac32e623a24aa843cb00bba1cbb73b335c9215dd649ee901633bb2d5d96d74320609be5 SHA512 7f2831e27a83803171483bc82d9d186cb59d57c091fe9a02ed3231f5257bb16dfee7589aacc39c54480e4bf3b60c875d0f5534bf3264ef6fb162cd70a096d222
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_hu.tar.gz 2568522 BLAKE2B 1d9bc2e8820f6c3f98d8d7e47dd17c76e18c86e0a4d7c5a97984ce3fbff9b9e4ea81cb74b03e22198b5c5de093eba63780089cd3d99467837203faaddd93fc8b SHA512 af7bb0c4442dd3d922e5cbd4d6aad608648ae9af571a70aa4390520cea46b20676c17cea0f3de70d4c162aca706e48ca1a0234080f6023a44c8940dc861516d4
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_id.tar.gz 2357608 BLAKE2B c649f64625d8ffb5d13d14a55a3bde0e1c12a5dec7741314c1d0a61964218312ac5c7cbf310ca1096c32069634a88bde2f4f78b3369c424addbac2babebc928c SHA512 6088ae86bba86176f77244db5db498a67b45623c8bc129dbac1b46b21a80167511ffcb37aad0ddb51ea0eee2078d93c39fd8766d26e8ab3805167ae0384dad11
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_is.tar.gz 2356271 BLAKE2B 155ce96c80e9f3db2bd9e5d3c87d22dee3d0688864381ce88156ac26decb0aa27c721f8cce88b97ee24096006709769ecdc901a7d44216b84a007cd9544821ad SHA512 68a8ae6e8102357eedf0aa3414aeefd5b4b594dbf1b94eaf51374a5d8f00be2ea0a0d94cfee06dcb8f570e3d068bccce853444d24a188697da7ca8dc7a91ae94
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_it.tar.gz 2448136 BLAKE2B 1d997bc1897a059bf258835e5b663e7a39d710a640295b49f6a9f7f842c140c970d513c9642cfaf297ef2f16404029e127df282aa7e37de91a9daa2ef1f7648a SHA512 06f59ec63e3d8f3d4f9280746a424c999e285822201f31df45c566ff078507eda0e2d0a3957c607ed3459f5c4f432f6abf57c78969b411cc6707abb27f72b275
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ja.tar.gz 2615231 BLAKE2B 680e1a7051fa0be36ff605cd93ecf2faa3bc78f4f4a329ae581c81cddb9656a27a8f2f411931b1c34a9718ce93db847322277762fea1950930040e73c6411186 SHA512 46d90fa74ba7c06012a2af726d1db2b25ec50327af8513c183d3c1af4fe4c4bfe73f5fe9fa131dc2b90ffc5092bfb3060b7088962df02280d37e4470a20a2a87
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ka.tar.gz 2469534 BLAKE2B 613ee6af4a7afb8916827bd5c18fb7b5b306c9970ef4f218cc3f1c6a24323c1877f4e14abcc0570c2c96673b561b0c2fbdc8687d84529a669cd9e42072cd6d07 SHA512 6c58353b6109e749fd7266671b3d808dcd65354309844d3f1ab5bc61e57e1cb17cbcb654f9b57e1d7057b61d50c54a56bbbc85b76cd4bb943280d6a62a4042d5
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_km.tar.gz 2756865 BLAKE2B 4b2a6ff38dcab09549b233d4d32b667a4f1af1dbdbb7dfb29c0de960c975ecc413efba03b892ef04c00e3e27d741480e7b0432c8ea0af58b0ac1157ae8b23ef0 SHA512 01297586e3bbca8f64729855f92ee242ad41929b20cc67bfbfb585be9baae27d19d9a4093b01cebb5c4dd5c0ae7ee4309e6e33602e05ec3d4639bc3145865893
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ko.tar.gz 2485287 BLAKE2B 5048375ac3ba112f1a54a0b42382f879e51352288e8f7a4e1fa38772423939bf104d54893930e6ebbafdfea53a3afb0a5e5caea7eac9cc318e3a731ee21bbcb3 SHA512 81af51dfbed9ab520496e66cce54e350411ce3b2afbfa540ac76bb63cfd735ad847bc7a45f29bec1f07d3fd1222eb6ac9b70ab6872da01ab27e0661f095a5df0
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_mk.tar.gz 2451002 BLAKE2B 443341c8c49bca156586d35c535b411372bb424501ba4b0ba212d9d058e9a5b256f2e594aecc30e204ddcbfd73d12b191906e4461f44715c9906d2088b4d0cfa SHA512 e8e1352ad784f9a513b66e119df2a9db5c57fdf05cad838fd3bb737d7e6ca09c4cd121378d9a40c4e13a28beb52b1ceb595152b51d4d1d498e2d5da56cf41eb4
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_nb.tar.gz 2383138 BLAKE2B d6373cd14aad14b17f87024dd5476e40c656fc2dd521aa962bf4bbcb9e87c53da8d97ad1962cde44c817f6c25ed727fcce422580e4a1cb252a18e8e3793ee589 SHA512 8a7138032e015e42e7bffce9715fb2a8b8ac1c4e5f1be95c81914eaf408db9f70e9ce65981b2b0b37590abaf1162a8dbaa27af5cf737ae5869fbca72a6087c72
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ne.tar.gz 2680789 BLAKE2B ad4b673b9686ebc78fd9602265c83e3554305c77cdd623a920c00abbf836a7323d11e309e1f0e82830dd18816337940fe1eda45c2de19eaed83ef382bc6fa0da SHA512 c9b1ffc047fbd2fe58ae3ab682c96cd5daa7c5492c925c737bea896a4b8af1a9a8360bc91d989f57fc46d1cc056735b5f9aeb1023ddb40c3c48791d01abf9403
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_nl.tar.gz 2451074 BLAKE2B 332ca6c12770a024188af800ab6df221a39b2732da73987165aabea36f17c80dfaf2839fb953adf1a46100785d18e15b5b522f844b6146352057ba042607baad SHA512 e8ee325febd212b367f037bf8fedad920323794061236aa5ac94e60fb5581d24e09345f240ebaf004e3db36f1d4955fcdbcf32268d412d073ff5cbe4cc622eb1
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_nn.tar.gz 2377509 BLAKE2B 624194ded55721315bc9cbd922b4f41e5a6f55b35fb6242a7cda81bceacf8b8e7ffa87694de1107947c70279d4a5e4fc21ee0e4e2e93327f01140758c0a35bd5 SHA512 68840f6727b3326ed8b5f4cef503b254b10fc43c7c141f419885edb2b2065afcf9bce95621d2165149fea97caeb5c4897504dfee7642699d5faf4a00c7fd4b06
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_om.tar.gz 2465319 BLAKE2B cb1a406b2476b7aaa79b6380a28c2de5ac1d957fe2396257db3e6d5e5279869aa2a4289dccc0473c9f498328d5a9d72bb9b305888e9b45a0015b737874e4572f SHA512 cf2a4b7200ea08b002fe2c67384daf58af57d4d7ebc6703003e5173990fd87a48203bb305b5d8a26919963bcff40541dfd5813e6cc02206076c02ca33d50528a
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_pl.tar.gz 2538942 BLAKE2B 6478502a925d23590df407071060bd0200d0a0022dcba1557d0bf33c855e715ad1b8c78af4e461dd15568ed05febe9a9e6c9aacdf57224d31763e1e5fada6e34 SHA512 d65d3ae0e61eb61d83f01e080a2f98e10eda11730945a60d7e36efd9f24acb965a584829c12030a2b4c529d0bbe4a9782549f4f745de5e4d534828657c1545fa
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_pt-BR.tar.gz 2455614 BLAKE2B 1c132355fd1529efa66c8fa6bc70978c971ac80e3915036ac674805351a1a623bf6aab8bc44fa3dbbe5806b3042ba01a25d85fae041c73fa3b600a05cd1f2c80 SHA512 1a20efadfe52b1e14d398f96a93c92aedc34f2b36dd21081b43491663c4068dcc112648422e897ccaac8d90726561118663c82a907cde74fb2c62f04293ac2c9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_pt.tar.gz 2420627 BLAKE2B eab38d4589310be8e5fa68dbda00c7be2b94381f92555e372e69bdf5133b84b72deca8de6c6087448397d80d0e090352b6f1d94a2d7a438f5a6954ac5476e46c SHA512 257871771a249a9b8547f67e131c75c4c3b820ecb473b4af75421921eb79879632810b73bd742df5edf01becd7c99daed9262e7ef59b91e9c694bd6c58ed6f49
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ru.tar.gz 2722987 BLAKE2B f52f1132a768bf8e258272198cb43d80a12e83f312e55917ee143f0cfe827a3123d9689d5b3180fb50647eb935dbee91a1b831775b1051cdf4773b9024fe01dc SHA512 f2883e10b440f78471093a5a55cd9a31b4106d4d37f2c05c8f7dfdeb87842cfad8812b5ac6ad5977836b71375326c3b55d56fd6a45cfc1dc625208fe41a8e27b
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_si.tar.gz 2429900 BLAKE2B 142ea186ff1061ad5233b21f8961b117d91acdd8e27b5683b05bd5d1b1afcb8db961a2204ff1eaa0f4c4b59719e94c5d9a68aabc4901ee8ce4d0e7503bf14ebc SHA512 0692964e246db5125ec0f90d44b5c5e6737332212011d4448820f0232eeafa23885556b095d12de83d3caa4166e9597cded9b4e3a7a8aeb7bb15e61800b85d62
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_sk.tar.gz 2477161 BLAKE2B 0d6cd0b70548345d56a9248b7b423ab1e83c153c1d33ec21aeb17417bc157747a9f059f7a8860267c816030b418c81579bbb115ae12c58165298de56fc43ebf6 SHA512 3fb01e87b812e31538d1c6451688ea65162fbb29d2cf18ece842ce7c7dec397281abd27e281144b03f7c82a37e0a98e57cd7998474f09d6e1cf56903db4ca066
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_sl.tar.gz 2420219 BLAKE2B a233dd66157a6488f91484c1aec0bf8a4b6c585bddc238338eb33520f6e2323d64ba4fc3db8c0efee7d81edef1c240d3d0ba788ed4e3e89463e26ef33f279d8a SHA512 041e56b5fef1acd4a8e373a5e86d1dea30d63baa9c7bd48df15e6177552ae36102cfe662c9b75d80a0ff8b71dc052c4ec15737f4630b19f9a8027cf66b0c2b8e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_sq.tar.gz 2334744 BLAKE2B 7c6178ad0cab17fff01228045a2a0d67a27b34a5dd2ab3c8229cb7c73994f0cfda7798e63dadf6534ed6750cf9cdaaccd65ad0218d4d090b8c1108e0daa04834 SHA512 2290772a28a243654d0c6788f39c9a1eb290a6f83553a12e233d19029e95b028aa44fa84c086381eaff2855c3d57c29ae9db6da7611ad52a1d11b80e1d396c50
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_sv.tar.gz 2420678 BLAKE2B 99b1d8dd38fd229bbfd40a9d2dcc13997d521c4aa1708d8efa8029be2e7b98ee38042ae3d8092bf0c17dd177c960b75e019f0cc948103708181acc7c6b53bbbd SHA512 cb22e3003179b5ef9774d5064cb05e50eed7cfc94d5ac27a959bef1487d6c5f03916796af2530dd1c9949c349eb8236e5e6ead1f87fc35fa839df8b40a3c5aad
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_tg.tar.gz 2421993 BLAKE2B 3e869ba43784c96bcd69b55a59cfd6bef8ee722a5691a10b114860de3b52be2031dd975408e8dec2ec45dc061bfdbdc49b9428dfc309b4e6bef862a148b9efc1 SHA512 804e317576a55c843aa6460bc77954674cc163cf31f49f28d367ec352f834aa2fad2496dc7d346bcde998d526bda15c9bfa3867265ea4e4718f25e1a55dc42c7
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_tr.tar.gz 2487201 BLAKE2B 8dd3cc3accaed203fb285bf2d3984b7ddc8264837a8ef72a9c83f3e51b3263fa70449b43a9f25c392faf92081626dbdcaf8f2e4dee5e195f59ebbe9e141c4f72 SHA512 9009368b351deeecb13fcdf9f09234ee672bf0c4e54bc9a6b186252af7551be3dc85bb60d3062ab842dc4b34c97a1acead547bc214ed01528f6e0b5c11344e22
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_ug.tar.gz 2392384 BLAKE2B 509fc68875f0d16013abb01cfa5b34199346f1d1a60895271244cff5668fba94f41caa94b46cb9fc5f622696b14dfaf002df3cf99ae9f91d5003da85261116fd SHA512 391d5ee3e83d19d2d63a3aba7dd1e4b23039015f63f5fe89b1bd4887c29203097c2882542d805572884724751718e9ef117451e4a5cc46af774c6015b5c92ea0
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_uk.tar.gz 2673708 BLAKE2B 3d753f4d3daa80515053da7d1d2df9899daade2f8964f1e30f33b008ce704d91e0a49d5f61eb6501f83fc8017a8268831855ddf0837e5cfe8cf74ca68dba6dfb SHA512 2b2d8ed592c38010bb1f17666e6f7930bf0fc445e1f8ae17a5c6af13e030f82be4abfce6d4063d8239a1d16fa73f92ca7c87a0decc056a86b5c48439077e1ea7
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_vi.tar.gz 2475820 BLAKE2B 8c0260a040205ea3b983c246289993fc5cc26f2f7ab4747c8994987b9490a63ccbadd6ea7a26233e4f27e401d29b3f5896072732e26e1c0a4c1b7c8215a03c9f SHA512 afcea6703ee5836b2a100682f9730617a99bad5e1fbb09320a02550a100099cc76ca336f3de9ecc9c569261f71b2881841f5778454a2096fd152fafcb24ed9c0
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_zh-CN.tar.gz 2501722 BLAKE2B bfe73da1039d77533a0e240c9a81516055fef30edee504dcf6566ddd50c19484e4b6f6f0c0303d00af344578f88ff5e116e790d3d38dc59e298ba06aed7d43d9 SHA512 00b483b71bab77e3f02e285e4332764e21457e693b24e0f097520a1ef63ea44c693bf04aeb9b4a982609ca2845a518ac0614fb3cdd02a6ed227ad9158dd60eed
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_helppack_zh-TW.tar.gz 2523440 BLAKE2B 592c1362f68bb6027c55c51271b6703983d03db7def59972e6c609409f219a0aa137e8da2a32f88a1f874c4bd492e7fbfc27540ffc74f9fecad0d60ad170c835 SHA512 fe739059dada6d0fa1977e79dca063929efb4aaf812299d319bd14db0fb6d2b8c33093c881037e1853c70ad865920cc0f2b9c6930268641feee4442771d83760
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_af.tar.gz 1005870 BLAKE2B 5e9b38b81de8376d67ff3e7ba4fe9ac45e9145bbcbd23cb7e2fc503c491b1c6ac4e534ace43ed29330eebcbfa80cf0072cd1c156c4504409a0c7a09e5ee493e1 SHA512 a44f521d86cb0160374cc5f69215d4e82309f9e4a3408b9d4f4670854984b0e9cea170402a8abd1de18d986604819c53f2f7bcaa30c6a431d0287f3599e5b9b6
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_am.tar.gz 762917 BLAKE2B 1e3ad464789b9fe1ac27a26cf77d51aa0a31b876b9d2a74b2fa62aff01c6f6ae646068c9dc307a4d6a2fef906ee2f28acca88c90af54ac6d74789a3578694bb6 SHA512 aabd1052ce57d28071c1e12df5114c402a3d01716d42603bfdb15780a54c6ca153adf40788c809f8a7818e375c11a2a15b96a7357f47a535e6815fc9d3b77dfc
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ar.tar.gz 2414699 BLAKE2B c6cae2860c8ecbbb78c8a0a4ab410ea0ed5d6d79a07d5172b07289c742b7b3394cee01b503ca8158b406317e7cf2745e487f84816f36606855f435a3b068b977 SHA512 757fbbe2632e93280e329e0babbbcfd9011170d5da1947a75852a19a60fd83993667159ca3f36789abce9de0f6ad1e4b6431b3743783399750938d7a1f47f1d2
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_as.tar.gz 532078 BLAKE2B 5c47e62fa7f57febdcda6065e5fcbfa71ef45f4ed532b4619f8bbcec41dfce74c226b158651abdcc1df5a81f4f8383a0b22ef71b580dbd34c300d9f4534a846c SHA512 8c88029b9f09318ba0e2afa7a684214687c9979648c21bee2385ea69965ea9cc50672fdf597ed9482acebce924f45320b0cbfebc57cfbee2aca6d736129e7d73
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ast.tar.gz 440083 BLAKE2B da1944d3cfc38b611e3e39ad2096af604271b7ad12284cc72ba21bb6a1e37b081b647a55e5d1a1d94b99f3d2d33c3112b34131612f8b9288d646a800bccf63b5 SHA512 4e0a137af9a9e5872b9bc64cf1a1e35eb697a49cc4ecfc65f24734a4f5f8dba2795e804a4cc2d0383535a24a9230256624eeccd95931c824c9768fb1644316b9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_be.tar.gz 1055573 BLAKE2B a13709089df4c453ef0c541132989cdedc4659d3bb9c370ebf3674e8d86d0a7aa7561160984c0619a18046e50e4dcb4aa700155466ba747c52a70a923bcb06c9 SHA512 a9bc0c22bdcd67d77e9622a26ccde24289924b5adbdf75dda6c3d26126d7d4a9c5b4c7c8d105be9843539399d5b2327ac3f473e710ff5df67180ce71223a0bcc
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_bg.tar.gz 2447771 BLAKE2B bd2c2d288829e799184df3d79ece4e4dc3d2493aff6be58a7d9c743166f60d6b416b63a1fecced9135ba13c0016a3336d330cf6eae0f394755644514c27b9cde SHA512 e6cb3979aef3b48c5cb6b89d580dc931ccf54e96222fdec3ae5ffddc221f568bcf45a0c28ae643380e65c16ad8bf6397196f5aba43b9a6bbf04e5db4a1400b3f
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_bn-IN.tar.gz 648839 BLAKE2B c737fab1cb6d9c2b8e5ddcecc844d8b9645894493d6e578b5d4659fc36dbcadace133909e3ac020813884ce2fc40c1026cce6553b574842edab131fba7d72907 SHA512 cbc11292181fe845f87c2739cc74c0fb137755dfec48041e23504d13fa77790e944873a0f2851c41cf8d55fbb426983903a6173d4a692f451c4062cb43dfc273
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_bn.tar.gz 788850 BLAKE2B 7d10cb8223d3484ab7d7ebec01236c6182d1c964f268dc3c0e8522f2f7ac3b407648f46df92f1a226171860b1269c775a17c2135ec8d4888e54cf00be482fd88 SHA512 bb47b70f47a5d0dc73116e35af2058ad6a8f7e9b8b9fddb2311251109716e1424c1bf0b360b63c5898e41a9eb2e9cbcdeac3d396f5d226cf44fdee98bdff5933
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_bo.tar.gz 380202 BLAKE2B c5b65558a4780ffd00bcee8447a0f31c718cf37a41e1a9675b544c03369f549cd18b68c8ad1a5213733ef9a029e1df14dc347d04d5f87a368d38a1a35be32bb7 SHA512 9678b879d7502299a5e31127456a8a0e3b11e44141c1006350fdf15c19dd641f69950306ac7f7c2ee697e2e83bddd0dd3137c1a91fed4318c9e7bb80f5512c7c
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_br.tar.gz 1538425 BLAKE2B d005ffbf43f1fd0c59f57ba4ccf56c882611cf83911d32d1638b720ef85ba248ee4f12766b9776f287b6d754959e603f6d65052a079f4543b6e2ab35b49ff49a SHA512 17a7ff503c4ffa973729cd1f5dcfb17699da7bc32610aceb8988c4080aeb228101e967511b31ef4707413852771e35a54d47a78c6e12ff7d804930f173be520b
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_brx.tar.gz 337251 BLAKE2B 5b57c62078adb44e30ec7a7502fce2713108ac75ebf749a2180540586a77d8498e459ea0f2877ab45a5a2d190ed6df860220c3ee895872ae568bc89222055744 SHA512 960a70a48b6b6920a92e2933fb3df907ebd880edb7f98629bebbdab2498a5a1b58da1a68e6382dc0e562d2d44202dcd05820e5ce37269ce8b0c7c0ad948ac08b
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_bs.tar.gz 636864 BLAKE2B d52e1dfd2a3c6d3093640c65316449ccd52d4e05ab115edf5cb47444c5c1fc23d13be37448a358a00ea89953dfb6e460b3732e79040aed4c22ab9bcf00188a55 SHA512 0b704b7907d8fbbfa82b8f549dc41bdd0f5a5c5f6e6cee8dc7b41205e3d2be5929f5c631865c928e354dbee664856f068926976b1ad51a12ede0a01ce77b92b7
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ca-valencia.tar.gz 1973334 BLAKE2B eb468fa263022145d3d4268a8a520bca1d0b483d26ce3018c8489e08c8c7555e01d9823bdea11a324232c4a4fa15bdced4435ae13c8663065f6d555cd3ddda0b SHA512 3dae874a626832bf49cd8fb5d0dd6df3e3b70930b4d923f537959ba9e46527e60582bf0644e9e72464fd6fa3efde7b2a84ad9d326b9d9bbd72d73d672c7f612e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ca.tar.gz 2014506 BLAKE2B 2b2680c5f1c2414e5015af999870abe85505cf8d50e6373573ad7477ddab734885451e5c1492690f1d82d0b2ddb119789e9247cb2c34f4b59b35daed9356118d SHA512 b92e44d62da70a72cb8bf5077b4625ffd964faf0a554598f7845fbca4687ea484a2fa14378317e2ddc2c66baca5189dc31e2b8310569d8b20abc1efb9bb20696
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_cs.tar.gz 3188459 BLAKE2B d4966cd979d0737c3ceb5e88057b6d48cb9c39d56672fe542dbe5c822fa125976240de29ce2673fe1df6bdffc6226e61526de416741971f153f7b9584164d584 SHA512 4d8cdfad81c2cd056ea6b79cca51cf4217f019148214117196dfc200d971dca04559d23e0345b7070eeb8e649c6a8fb482a7c8cb7531af3cfea7f41d615fe5e9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_cy.tar.gz 723524 BLAKE2B efce5f60ac27a4c0ea51187a26140acc85ff58f19f788a0e9375a71176502bd7f3ff879663684143d0d9933f9d32686e4b742647669e23ed954ce0ab6a2f65f3 SHA512 cc5096d3c260ccffce5e155315dcf0d07d23cbb8a54cece82b4c64d6fb245b21e38a20dbbf92cb96bd9a646e2fd2e5785e93a884d31ef8cb5fcdfdb25e76468b
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_da.tar.gz 2628529 BLAKE2B cc561f13ad143dfc12e9560e288c58712e163909b0950531916d4e0ef46f47c0848a3a55907a4a04a27fad824c17fd99efcaec559d252922d450ffad66b4c687 SHA512 762d2d14091e24569499a5a67c1bd61b2434313f7a8ee70e03a2f195268168c55004c4804509a9074a0c64d1de518fc6ef779c457516611eeb4eff1bc9ae4846
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_de.tar.gz 21757590 BLAKE2B 4e0859fb96847b5e8358dc33a4f8c7f0c512ec37c7643c97d6801155316a1ff8a03ddd0da031544f182382f83fd54bdace69716f2ec6364318694df7d11c589f SHA512 e7963dedf8debca7eb69e68b1df454a401959ac773c6e97250e8561153ea0bbd161c3b967fbe0b363c6d6c7c67086aa6d6a4a66ba80642d35af5600149c0f784
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_dgo.tar.gz 441088 BLAKE2B 178f8ab13b73aeb6c930f38f64a1c726664ea51a1fb637bf23537d5410c1461f4a3a0f16105f4ecefad50306ce1a9bbb851276c5037418f93e28630a23aca00b SHA512 448fca01351262ed8d609e4e08b43443a3ff0ba4a50f3dd0fbe2583849f901c0e0b7387fdf71b19da407c5b934fd0260f2f157d1726cc460bf740646a8b46b66
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_dz.tar.gz 368456 BLAKE2B ea19516572dc0768ff7c18585104c885e144f2945b034da8a105e456af60e8ea1827aa82be741c45d5ddb1164808bf631516387c7b4732ee4dc46b3ef1741c54 SHA512 a7f70fbd3914bdc79bf68eebc3aa5d4533a4588b3499b8c41c3f3eb02606102f199a39b5433d4848575bb20754c5a22bc34161388c07399d740868312e82cc38
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_el.tar.gz 2827951 BLAKE2B fa1252e3166fb362908d9d28398b33d830e30974061100e534c3d386479045e65c92c02a26c65f5fe7d90f1ab34661d0fbeef3ac0952f521d56cb71fef01bbeb SHA512 355b7b5013d6b869eb9cc23a82e3c0bbb22026d88c24845436682e236c3239771ad8e9567a4fe9a941e583daec112d3f8ddf3c27185082d808e0e0dca9b068ba
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_en-GB.tar.gz 7337599 BLAKE2B 5d1c276ac895e44c2e7e2ff375bc407e824ef4ac952b94badf6eb0d1995c07a50728368672db001e1beb9d427a5402a9cd5bc142a987bf0c80059b74b06247f2 SHA512 e4e5051002651684d6cff04eb83f050ba5a093c55f37a83e8d885ec4afdd7e4b16bac8e340a9ece9b8151b3472a5bf1fbc0bb5fd4be290d994be74bef1b0c4b4
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_en-ZA.tar.gz 6924937 BLAKE2B b7a656b1d5d2f155a1073d240f92e3c8d50b589419762f9d81a509d54bc4fb06ff80e5c53989d3e93cf1a22eaebad3e92110c572637b24c00aa97d9ef49fa484 SHA512 cf06568d2b0d0a633f5fafce558244a206422ec22963f0a38bd3115ba535fe7163425931a4d465fd0a13d84c5c1f42c4709767baf2fd0529871948909708f4ef
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_eo.tar.gz 720146 BLAKE2B fe381264b27ccf649217303182f88643bb6e2fa0f64ef3d35828ca4fd7174fc1b0a25b027a728e2c529447e08220ec1205c7e40b6c5a08a3982e8e83c444facf SHA512 b5ba0908b59087086982c2007b4738c3e00dcaab3346ee9015e45cee877de41614dc1924c8c3b9e3712ec52d7d3b8c80b873ad1a4d1f1a5b3108fd607700d222
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_es.tar.gz 2236120 BLAKE2B 3981f03ff2ec1da40f1d27f09dca248516cba6cf9d38058ff8b7490c64a1d58ab682aba9563463080a2987a47369ed0ea50511973790e0f16036c42bcc3b1c7b SHA512 78ef0cc5fec9e1488f2e4fb3896fd2e83ae3dc6f5b6ca36c984bb1d4492f6526a8b7935a45f7e1f96f254fdf1da0aa59900195142fdba593b6df9a23f8e6d0e4
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_et.tar.gz 1603424 BLAKE2B b0748fcb1b9ba3974222ee94d0842a4e1a2485d18102f0d93e96f95318ad889b80785751024d9ac452458adb3a4b735eddf0c6355761066eaaf507426d56f789 SHA512 7f0cdb5fe70746fb46a6dce7a9601d424488a9884fbd19ce64487fb55f9d37679027022683dd306abfe82df566ae6019d6ac0163f3f53e0b1a97ba7c74479a8e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_eu.tar.gz 729300 BLAKE2B 4b1d232cb446dc9d923f97d0b396847b6c4852a6f400d0dd4579564a9cb31446de1696e43c4985f3f2e2b5f4b552a082a45d1c32bcd07fcd9119f222dbd32aa2 SHA512 715da70ebe1b97065f5bb6bf72c95ee30c6baeae386b74081ce6bf9eebf69a98b78d76852ddcd8655c44a84cd88fa1a50e01bb08e3019ff1a5fbf08f7d9448aa
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_fa.tar.gz 332899 BLAKE2B 7ff3f4429f6a2a0d0596a4a8069dcd312ba52eea50102a002bd486b954d9020606fe0fe19551d0bd7ff8148b1d853c6863422e4d0b2c25aae0c40fe1c1f92451 SHA512 9873cca6d1176836fd73c6ef4eab953d931678a88f8c39f30dbf135bcccaa52d30ebd54dc9953d66b88edbb4ca62f5fda7062fc36a4f2e9d531294ec611191fd
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_fi.tar.gz 703300 BLAKE2B a21d263ce5323ec7bd47c0d801dd9f931887369db613beb77d91ed72a5c3729e8f509da67d436fdc7071027858138052d2a870e25c721db039c53f0fe2e41a6f SHA512 1a67b790c4dc8bf77669e1d067180570c664ce61031de988a3f350df4b14fda30d27657c7da79f3c63246a2e451c20be58351856b2c2739b626ef2abe2133f06
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_fr.tar.gz 3035783 BLAKE2B 19637ea9be3c231ac98bdf98cdf5452dca1a46e6a934bc61a9bf9c73c8717977801fcb4d05fa67726b06cafbdff075bcc1f7ec0fcc2a7abdb692a9c0ef851be6 SHA512 53a749b622b2c020502d7e64b6e91bfc71682857a029ded85233b16a670a7dfeebbf20522362593ae174e5f5e250eab5f613c6312e94200e3d2a86849e0d17be
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ga.tar.gz 742380 BLAKE2B 64590be295a0d149d02650e7de770d20f5a3ce204168c9467d036b15fa843f59c86daec7b1b1023595f4c90bf528f35e376aa603b6f66952acf7cf17204ef7cd SHA512 e78a9a03d42c3adc7d7c702d10752cbae77c5904b529619dccb3e15058b1dbbc23afe5b5e4e4a8eeb6b99cadc0c80a1dc8c9ec5880ba2d481965d59cae017cad
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_gd.tar.gz 1780998 BLAKE2B dc449777086024583fb354f4ffb33dfc633c0f202d07e0a2ec68e0af99741d0800d5545b1efe9b40fb7e28b83d1942af2229337929ca9413cd21c7deec355e21 SHA512 04e00616b77f91bebe40af703611989f124c7718dfc5f4d53ac275e29a0da78a4eeab740c5d2155b11c90509192bb1bd9c3d6d3a61fc311190299f14d5824515
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_gl.tar.gz 2620637 BLAKE2B bd4ae1c17dcecfcfa1a091197655d9bb3c0be70f8be202bb554331d416943ed5d521d6239deab67927bf1a76a4737b0b7b75041977f308bc9c4ed7c64e92312f SHA512 fb97606d839b0764a3d9d84088398ddfa2012038cedf4f97fc743c50173f0f22a38a67fc0eb687f66fa874754177c1e6c55d42840cbb14a3e42c8ef838a16ba4
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_gu.tar.gz 1229399 BLAKE2B e5e1119025ca114b5d6a3f6f4f23965cbe3848d07ea694d4063419cc5e938a39c5df04072e5419ab7ee5342a25e3d54978a687096b8152b6aa8fa4edda50d184 SHA512 3ffcbda877dfa93c6b5194676057b0a0d60e06f2ba0ea2485abdb4da0b8c7f0846562a82694c4f72487b122bf0ebedbc1551251d3e4c5eb3293344c37290c4da
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_gug.tar.gz 509166 BLAKE2B 2d60dc3cf8db7872e690584bd372aa9e359cfd63fcbb3d2b8cea7e1ef06da77925e7df5d9f55092a62f5b58c10d2ed89822408c9558a8b23ecc5187ddaf2e25b SHA512 f689ab734988a5fba7e5a749578bce20c7f6b3c8ca60e231bb603411d44595e775f468d4ea38a578c2fa2e36fbf1e872d968bf6c1d91edf329867835e285c796
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_he.tar.gz 1621997 BLAKE2B b0673774069d6046b841f28b39a958bc8a3fa95f397b05f65624752b46139f71e64738fcbb0e9181fe531098cdf3106f65cb92e29f8a943d9a7d9dbcf476efba SHA512 c182db2449ac86edf063b35cb4dffe741f9ff9760463e790b729bc26b39c568ce6f1e8c0d303dfea3ad9ee9cec4db906b0b5d63b50de4dfe9bac03be3270dee6
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_hi.tar.gz 570928 BLAKE2B 8a334e8ff0c496cbc971eeb3045d2f9e189f0d0f439614df7b660640d37e04c3f6859ac2a6b6dc54f60ec4c48abea9a4f028345271ca088bf0385266e45f85ad SHA512 b3cca2e6e58249bdee71b51808ecb2cfe6386812ebf53dc6056e89bc75299646d2292d984ee411cc4b671e92b3d9d38f1b729038883cca606eab3785a3d7632e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_hr.tar.gz 970917 BLAKE2B 74ddcffeb5d3ffbeb34781730ed5c369f7af8946c4c48b96de1fb66d5c819abc95e800a5f1ea681708ed35e9b1a23f2bba72bdf63883b3c0049b4127afb2b689 SHA512 79e593ca71a56941335cee9b0fc1460949841cbac15ee49a5d3c23c9f23bd0dc5a6654a70cf0cbe904aa7f4938df3d4e4e4c972f6305e9e3fb1041bfd7aca9a1
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_hu.tar.gz 3013146 BLAKE2B eab8ff68c108acaaf5fcfbcd64828c84ce216c27f4a67a22c5a624671e23475f945ff6444387e9755b7e696a8c1f3af78c023aee3e62a559af9afcb5248d9971 SHA512 536d75796e2fb5ee9d6bcd55ad591a96a97a89936d7f7918cc213e8a3f8b5daa3492e1b28f9e2cc5b26b764be538fd80450993802d1f7d084607902c9ec85c46
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_id.tar.gz 1582653 BLAKE2B 8e6762ff2dfc3807e08f368d490f6beae5f42ae2b630b9a6c7fb7474dd36be560e809f5a5a8f706ec1e3de44c8d86b0df01a6cbb94af0cb133da5742470125e2 SHA512 1ac03de19ba5107327e3b5676b451c5aa310af60c0339c238f3468ac26d8b1a856259431b0a95e4895362dac196e8e954a5f7b0c089a59e489e66025e7c246d0
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_is.tar.gz 1500546 BLAKE2B ec2b1f606c37075bb826e304244ea91930584c82e8a41b4907f9a72dcd8373824361dda735c66c1884c85d283b6ae216bbbf88b647bba4ab50daef9e2c6cebac SHA512 89f1f8e5c65aa8dcfa3af8818c60d1c5450cfcefe8fdb040e014ba348571e6e79f65514aedc97b169ca82f1eddb63cc105b6626a29cef7cdb670aef02294bed7
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_it.tar.gz 2068177 BLAKE2B c464e83a25017031b98649dbbc8745cf01d259e61ccee42b2af3749e483c5aaf79cdf1c7fbbe38be4295ec446e8bb748df0390d1ac50c1d3e6233a9cdef2301c SHA512 2670b06a223b69cbaad6ae0058772a6deaa5ed9a2565f40f40c5a2549ef0bf86f9d5b60614197719b4e8c3fd5c6bf229e23df16e63a2f9756e4b7239764d676f
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ja.tar.gz 809447 BLAKE2B 754df3132cb691d5f691c56b19d46e5265969f4b16fb16bbee9b28a155d4986323fa7a5ec7eacb773fd07b912f3b3dfd4bd0673c9be375649712fea4dca7ad1f SHA512 4af477e24cad6432cd9554b102d817725769abcf71a90c195a8644caec5ea42c80c1680c0ba86c647738d52724ceb805223305d0ef56da11fdf6b99da6330c1a
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ka.tar.gz 360700 BLAKE2B 96fcdac4735c36faafd9c041aaaa7106406e9a9663cb9e74f52256d6ce3fa72984f3a803c07f7022fba8e9df87f76e8756992a9a33b37ad06f1d9b99e170b235 SHA512 290933180764aaea35fb953415299be75d9204a7b527570170f401e397237087140b816fc7d2f62dadd375f192bd032fdb6f27c6af5c63838ebc7bc6e8a60f98
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_kk.tar.gz 781495 BLAKE2B 6bca798bd59e37652710dce01eac004e497ac0c7e568c5f6866b8d649a8138b1f3b6dd5e9b878a643111f853dff093a0cf0b20cb56f46ec18ee6f200e2254f22 SHA512 a65922bf8d5c10b02a01a99a47b5fe25d529a3964852112cbbea85aacf7de6ad46c86f95f65c0e83fd159060a8d675c59704d29ede867770c807064fe914f377
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_km.tar.gz 683519 BLAKE2B 5561e98fee6b89a5d89a0e9e985867d32b629765599056400fc8a71a0c836cb9fccd27314f010800b4994e98533b57d9b86183821890c9634b597a5f6f4c8c58 SHA512 19332babd8709ebe352a9b27c5c84e60c08526f5fac6f7778047ce98d397214c556616774158dc858999c2922247bb6e6df812740408d5c50ffc00287b20dceb
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_kmr-Latn.tar.gz 334445 BLAKE2B e43672c22f25b1843109bb6d6d94ff463b220d6dccbba8ddba81f4002efcd6ff2d6d05649674a79629dc9c5b28d1428f764ec559ccf0ad4f5424a51a6162e1be SHA512 203e298dd0669de228cfec4df980775abf3caaaa17615e07669fcf8591645209de58c4bb2902c1ff1f4f4c9a9e0dc7c44918a43f77f344a3e8491d5bc788a6e2
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_kn.tar.gz 583571 BLAKE2B 7f59caf6d00bfa50eca0e21f486b8b8334ec791113deb188364f45f6c12f9305f1f2ff84e3bd762c84245af881ccdc9dfb2a204671f48b7fb945f206bbdcaee0 SHA512 61967f043c0727d22be66cf447da47f8079bbf6167147f82142ce64e38df7c4d867b3768ca8e3f5b93f66035fb888cf9b290d9cb8a383f206b22d87e7d001c6b
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ko.tar.gz 806346 BLAKE2B 20a6acdc429eabe2da3a8ba865ede6a696625fafc485bc4dae6f1e6442a547d19a2d5b0dca342ffbfd772db964377018db0669e0fdb7c18e10faa0174bd51d6d SHA512 95c3c8134d0ca18c56327b2a756fc36f58df6c663920544aae71ac6c5974297b7f36f9ecb16dcc9f0a6b43862dbaf2fa604f95d63933c2f7cd70160fef79a896
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_kok.tar.gz 411976 BLAKE2B 17bb116083f039a0d82b45908031f7f5b9f74a1ffedd00189c8f527e8b44dc60e0e43ab494a1c8e0f0468364a95b194c2c15afbb1a048272efa2d473e7e9889a SHA512 35bd98baf976429b690629da7981a7788346879f2408ed9d81c7a017c53bfef575c8a74ec571e20bd2599c9e24356ea3d07e4c667b5b41d59560a9667627052d
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ks.tar.gz 330709 BLAKE2B 55509b49afbc5389b22fcf0b63dead338c0a8762781f6ae545957eea66104fa867bc159db2de4437065e759d4f81d687988300f17b72a95ed3a28dc63a46ded8 SHA512 e76e6bb09451952c61ef96b2f5d79f44dbd10d432f2a1c5f6b52125a978800e29f175e80fcb7bcc2468db5959650d710a7d39c23794e1bbc9d78877afb1e0084
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_lb.tar.gz 142643 BLAKE2B 3dddae2f9ce9cfc8ea94a96e166f94c06087bd7b55ea0f205b76e831ee9f2d799ac60a8b5e60ac97db7d8af25b063676a24ceac8fc2a3c038925ee67db62078b SHA512 082f5a151d0988835744269b33f53fa07ba6cad1b5726dafec44f131e5c546308a285233f6c6158ff918611f1b419cc224fea67b0e68bd8cf7635adab9064f50
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_lo.tar.gz 432235 BLAKE2B 1de7f8fb5a2dc27b377c53992b331f97791922f31a54bdca5a5441eba78d0611b3b3ebd5d722d2cb1dce54bba65cdf69e979cff47d992e1e25b2548fade7d919 SHA512 4ae1be8ffc3598fee0086462ce247dd104a884be73de3478063f1fe7d59b3f909b50ed0680f6b4e861f2304aafd51687f22bdb2db3408ef244633123a815fd3c
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_lt.tar.gz 1024373 BLAKE2B 62d1bfefd64cc890c76088dde5e4c157bbb3e715da9bb8b19b136b4b8c2ec1e44d0bcfb9440dd1c84496d3e2748a87352f71a76c877de4c126ca1843e92734f1 SHA512 c7b0c37e5d19dabf20a6047681c7b4e73b419419ddc2d349642eb437a4c03b3a8fcbdf309a04f5dc7c8a9b0bd7e12394b0b8fe54f6a5139f3215351f410d759c
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_lv.tar.gz 1480561 BLAKE2B 3599ac2b0618bdb77dbb0a85e5dffc3e825ae419ffd99b9cd02db758d9344e51c2967d2025a95a5e246cc7ae10d5e28a5c5748eb9fffbc9fc653535c6bfd8af2 SHA512 75c067f549a3f011d1dbf43bd7cc4eb229adbc9f9d09c50c4cc7390f36f0e59b3484ec8a260fb9476d8330b205c4db7212bbe51bdf9fd3c3df0af5b4d38b9fdd
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_mai.tar.gz 331167 BLAKE2B 759c92f63b5c7f5f963f8acc06f19e42b5a6a5a2368ce95afe8527eaf67a84769cbb5466f7e64831b0a81d78eccbf01e49715f16f7e7421966e7630a9a538c04 SHA512 b3520d0891950915bfda6b76be7dc69199dc6893162eecbff32eb634f3825278b9c1fa0f1dfa44e125ee837c9887d6bf31a55d70d9efeb10b7571c706ca612aa
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_mk.tar.gz 384208 BLAKE2B 948210451c735ba7fc2150d1fbece741ee8e68d149aa7c3c3bf761d1c39691cb3475088c40d9b0cb67355211df109c38b6db10f63b2b8836a494de1158333888 SHA512 26e7b32daf5ee7d163caa2495a24a1a39cb77b29693abd2a544344de1aaf0333649dc6aab0a4fe1decefbb10c301e2eb157143860a16edf67e73eb5ace13b81d
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ml.tar.gz 545135 BLAKE2B 5d7cffed39f03e16b59ca9604a28c8faafa992016b46245d9f4d206ae6af2de14f63291e4201bc5e40cf4a0b2dc2b6c030925902c6a1efb8ca22479bc61dbfe3 SHA512 ef7b677ca6284000d034bb2968e9964f65d1a9e89245985e52fcd8307066076bc1b32822a2996fd52c4a5414a59a1f5444c23d6b8ed442e8e855e395dd446c79
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_mn.tar.gz 508313 BLAKE2B 69628a5a425fffbc4136d2e80f2e1778fe4033a4a9e8957ebd5f74ea6b85697bbc9a637ab53d7a5ee2e99460004db4173bc10a90312f3441e3b8e1a9d719faaa SHA512 95e2174267652aa22d93ebe08b16c0b4c7beea0b94eb0853a6171315dfd914bf1d949a845ab3f717d6f928363d8a002e5aacdc699d8015f3184ea817aa5e395c
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_mni.tar.gz 403802 BLAKE2B 2cb955bfe546b007e069e821475091f1daec22f3ee22aa743bc0e8a3298ee4e0fe21cf11dfe5919d64d260eb5bf39955409b11204cbf971d7c92a03c948e3cbd SHA512 f01b63718d96b3dde4d1f23b44cdd71832b7dafe3870fd91b4084eedd313bec6f967c96f01d644af25999f66861d0db6c6a650c4d86b471ee639096ed23ee2d1
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_mr.tar.gz 579299 BLAKE2B 576591a3da11947d3fc8969c6dadc153faf510c37fb3c23996454e7b607abe66818d0f8f8198bccf77cb82c18cc211342fb1e9ca3022902ef480103a05891a0d SHA512 528ea295c2c5ab0b4806b762699a8d48731b9848a99c2d9c1b869a83e0ec50bb50810f7b97ca49d29a9eb09e6e2f480e779eb81da6f9edb5117fdc66200044a9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_my.tar.gz 465572 BLAKE2B 689fb8e457d9b7dab709f6e3bb7842b36eda307f894b3a37b32cc224f35a76bc158010f731a235aada08a69814c6e0b83c45cdfd2cfd4a915bbc288ed8b66de3 SHA512 067b70cec37d6ba8b57c76d546fc1bfac6eff79f79dc4bd1c0ba322f20d7cc8d1b439d3f7abb9973b59cfa1ff029684e4a040264324c8bc1fd8393d18e5394d7
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_nb.tar.gz 4064717 BLAKE2B f597aeaeb037bdbee94cf7128daaf4a7c1bf9583c86c250a40ef1484d0a8b916553dd621ee8cc22edb053898a6a8df3e6ced056823c0fe88febfaa986a7bdbd2 SHA512 cd0f80ef9b37c57304d9c2c52148cc92da60cd9c092ea14adc58fac7ed0c7288c771c9d26cf17c9bca034db8bde507f60b438bc6898401c4f88f6c7bf0e4924d
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ne.tar.gz 844377 BLAKE2B 71a5d091e4a406a07363010c4d7b7c34a7ee326da4cda3984c024ab3058eaba06bd224c93cdcdf98e7b5ef3ac81d1e69938c7aa5d6c7475cae7eee9bab11481f SHA512 5fffc4b121268d4232966784e120b20894a49f22f44515b9237b8a4cb4e685409d5df4e7c72907daedd917fbb1d049fae3c4f71396d9793fbfaad08d7343ae6f
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_nl.tar.gz 1519975 BLAKE2B 6199840682d0a3bea3887f3c70a2f1d1434afe082627c16c2cb8a155b1acb2bd0ed0a155625ef39e6c4dc2a197f347742a026c4087f178f8364de339a32bf061 SHA512 3ace44ac0a196099fd94e166a8921280aa4eac325aa770cc97cbcde5c34f4dd7bea825276413bb44791492f9bb8efe0fb5efab8f3b159b8c95784a65df69170e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_nn.tar.gz 4064004 BLAKE2B afca89bbcf5669fd27c982a04136e3d28df56e6ed9126e507e435905b349bdfa42c8a768c195ff0859f016e1dfb82bba9ffef37a6563104c4ef00ca86f8574cf SHA512 50184d1576e5180412aa3c05705d9630fa5538d5f450ddc31de1ff646e51179d90ef97aefd405b4567b10816cc4159c867ad2a41523f8a1a24daf5eb611ccb62
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_nr.tar.gz 277622 BLAKE2B 40214707c79b1ad8ba459b0771fe526caf0aef5ee6b916a0d3796886f38bfe2f99752b18f334324c96089bc820b65fa7d1896ffe82f0b75d0e038a6a064ec01e SHA512 e3d00c2760a3d0782117ebdcea1baf74461a1393cc4029e8aa21d61220e72ed9ff149a64e3a81d19376ef20a8b8aaf2712d3bfa97d6bea7cb6878e2efedb7487
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_nso.tar.gz 322030 BLAKE2B ecca0a8ed7a63b896dbe360009bfca0d8f22db8ab0119f6d883fc3bf3c4b1ce78c59efe3dac4c1565391f71a43c145f2de7ffb84a50ec138f501adb9c14a003d SHA512 602fcc0cf8f8e45454a3e0d48fb2ba086e647403687e500e2d9bf073e1e2df17718b1b60d8f5cb1e0919a8b9e913bf60930bd6a67ebcb07eaab85d1da9bebc2d
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_oc.tar.gz 881984 BLAKE2B 0b628486cfcdff23928a4f2bea30ee12add31c44079a08a307b7394df8e6ccf97559131ebf7f2bcba563c83035474a75af4da4e35a4bc666a1a6f28c9d125eee SHA512 baa7185ffdeccb4cd8d4fdf9e340ef44b81ee9d7a755ecbfdc63b4312cf54a8e54c936ace8f4edbd5a1069157f5eded79559fe08aab5fca8fa9489fdf80c633c
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_om.tar.gz 371019 BLAKE2B 8b5dfd21e688ad7e9720c06c32cdb0d4dd4ef6cc3d25102f2589a61fb29724397c0cdc7a878937828ca6a88351da3707e0ab54618faeac0487db659c657bac66 SHA512 edfcc0169a984517af6200e5e9ad36dd727cb1e645628c3d34f1d36c1c32aa74da12bf6fb476c3cc106ea974bfc6a3ce6779fa1c7481741f82f52b56286c901a
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_or.tar.gz 601999 BLAKE2B 47d8db7a6b392a809cf9f8718de5e2add151f38204fa834e68a96f96c0c1b479a3b42dfb85edbb102732e4e5af976db69fb0977362176c68d09a7771b71ed9d9 SHA512 b45fb5049a2aa80055f3ec1f1a35d169993c99d52e24a89a870cbffdb35d073e2502bdbb82d211b339c73b5e633ce02168fa4f2b88a6e4e593ac4ede5eccda22
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_pa-IN.tar.gz 471558 BLAKE2B 2e4011b10882abff37095710769e64bfaea9a00a82225b9164b1f0a48c3ac24b56bad972259cd7f605c591f0dca9c4fdb59bfc75c2b53b6c82d207bfd12cf914 SHA512 1a195eba28d3499e9fd985e07162661f88329e06b1da896c121372345e6f37b5c29d0454cda424fdec449ea165145414da320514d6b74c9b815490aa4a5bf3b7
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_pl.tar.gz 3093189 BLAKE2B 152308c27384676833ea1a09e6d1571d3d8c58513afa4320705b54c9fee6342bd2c99fc88b57ca813595bb38cad2e68d9e3c1acd7eb1336afa3b3a09a5765902 SHA512 f704f1d9ae3b23e64f531b840453a6a4f053d89ecd57e96e82dba68fb4cc59e26d87a68075eb9f1e040f1cb4e24b3a379c16eb2796d9acab1d684875a8ed133e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_pt-BR.tar.gz 2816984 BLAKE2B 9868df077893c2bffe6ab22fd5efa7b19604251b680318c87b06fdfb63f9ce3123f1aa87b4ac73e6c862a7b3c115d1735c711a9ce0f47d3c8d88941d6d10927a SHA512 f8a187d7a0ea7a4eb6b328f52bd9e21f55dffa5f2ee9a47948d0ed42cfe08e360d9bfd8017d25e1816326ab47769e439a83147db621caa627f7c26bae6bef720
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_pt.tar.gz 2371288 BLAKE2B 79a3b3aa816b30767950cfa0fa5c8450b63ec1ea5e4c16f05e55d8420c24f6d7d543eeeb4c3fc869f2040836e38816b698fe653747e606ba40faf79283e2924a SHA512 2526bca4d34fbfd66f124f75c0c409e287846fa097e08e105a624f6aa9208e6cb156a19bd646302aa7af4ab1bc848f7169c834230d09fd5a01cfdb0c53e623a9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ro.tar.gz 2531499 BLAKE2B a53619c8064e0af0157c2419c85563c8a667c47cb6a9365e0be32bc3c1e06866b0ae8a2ef18c560ce1b8d3d1cd1c3a58ffd239cd5512c37aba9ee5e51e4b6188 SHA512 ad001e554ae1736271faa9e157f31b0a9b1d07b9b2d066e0ac6208b2bbd3e69440d59ec4420ca45cc3420b2f25af04a715013ed0f6ba3420562318a06ac7bcca
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ru.tar.gz 1879325 BLAKE2B b90bac7e9671c9aab7f82c532d6f92cb0e41d2a3dacaf0fe2cc3e503ae22634e5fd36d768e3033b7b9a7fdecd37ad04494c5b358e9a7c030786d1ef275d87fc6 SHA512 a2499c871613e5ba0c7ef6acb5e2bf4b7f46504f1048a115d68675cdda23e8166bc51a43ce02592a04fa080acd5d8d0ec07c66018b98b601b2e70f202cf8e05d
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_rw.tar.gz 346189 BLAKE2B 9ee28e7f7c3c4acbf8b294f100b9cefc5e950077eff2e5e98905a0e7ebffe8ed4be5daff65c22f5b9faf9e8836e3e61c9563f622ef54b65262484147c8719320 SHA512 ba49d47ae20b550af0929c2ba2954a671c57972525a01cdeff91e98725822625c939deb4c6a6db67d4ef7f1425da347b5cf6cd9fa8f820f5aa573da09613c75e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sa-IN.tar.gz 451841 BLAKE2B 63449f8dc51985982512599bf0afcbae448584bdfcf9c3456faa39c74b26c296101710309c866353ffe3b3edf0b1ce9bb9215446c180ab11127bf10e28189b7e SHA512 42b333f26191adb55c7afcce90c633968862c34f61bb613b843e3ba60bc4dbb2fb350c7e75b3bc3ea58f2c7f865584ab4ad5153123b8254f758e60731c4a1554
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sat.tar.gz 522734 BLAKE2B 958d420fd7196eb2bc9302f0abdfed1e4653d75386e2494b996c93c902e33e3839952ce2f0075ef630b7e3233b37729f96d85bceaa5b63aa8512b4f8e7231cc1 SHA512 9d3fd353f9547addf4493a8fda36cca25c9519c94b8c45776ae607d14d5ab6830e2015dca9db96afee72378757c2345dbd0917140c0285f167b6f541441c2e8a
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sd.tar.gz 437887 BLAKE2B 927b3106b1aefcaabaa258a6734efeddfa3ecc784a65758f32e482fdc1d0cfcd6d95dbb5459ae3e8d1c6d6a091f89d0a62fefeb75b8e29bdd015f0a86c9b3f09 SHA512 5e1036613cc1871176fe82b01f6daa56c69fc43c1193bad8812d363979ec698b098dd26adaf0692342c941ab9b0b69d14f07d2e520124253a190b467328a3c0f
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_si.tar.gz 738479 BLAKE2B 3c763cf8444e8ddebf545b2914ce231f297ce6268b81ad3f284141b9e23625f89b1aa824cc8258996a097914aa9ec941cb919841f4911a26ec71307874db221f SHA512 30c8878521f9a184ed240f9a1096f88c136f77b5c8fbf61d2f23d64fc4c2957d1f95003b6b3d7dcde5e43234c901064738b91092228e05a01bd3ca2a0cc3c0d4
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sid.tar.gz 452285 BLAKE2B 2ead23f4702035bac7ad855764136b9061117e1585d72899b9ce26265de6d32e5ea5b3de00aff9171e0106e89a6a5358c6065732b629d561be2307cad458010c SHA512 6027bef3c0f545ed98a16b52a942b3867e2b0ceb2c6cfa4b46adcf88e77c84de0c90b6cc6ab0937da1def8e227e05efee734c03c881f981f76372f6eaee16de4
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sk.tar.gz 2027916 BLAKE2B 3532ce41e4e295584d4f148344921cf7d5d5f71e4c8c4365ce671f0c9ff5f858d41a8ce9e00417cf9cf3fc15478d0d7535b54d6ee0844b2a957b2eff0e98d75f SHA512 22cad9561f96b523dab2f6ead49757cb441247946024db077a02e8cafecaa03569a10919a25298381ce47aef716e37ba4b98d7d93148a32050844f01dbad5840
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sl.tar.gz 2432924 BLAKE2B d61d758fb25b1092c36266ca2ad77add085dbcf169aa8f1544c4e36fb4d925fdc5db2a216390b47ea115e786ee1a4716bc5dbe0258d908d7569b338af3d58616 SHA512 6df80e2df5219713bc6eb6f8bd23fb975b82b2c48533a4060986fa8e69d59db07b9733d3039d110d1b08608abfdc778223d6dec9df9a4cd22a5f69574d1bd18a
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sq.tar.gz 1171063 BLAKE2B 7b34af71ac56b4c260ab2016b77c548996430de293998466865e9b76ac548a8560fd057217e4ca5fbd1931e652c7d9e74e34242c7f34b50d4017f6fd8c9fb762 SHA512 0fea122848d3442acf2cae8e9a301711a74cdd2f15f2354908594953b0c2734032d0f5b912e01f10d9c7997668f1b06c53d171081fa28d128ca2be1abb9a12bb
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sr-Latn.tar.gz 1460949 BLAKE2B 11f961854bcf1a3d34a98f421adf69f87a86b1dc96d4525886643a22630022c148cc679973ca542eafdc4295ca8c019f8c35c216ba57216cab5ac536eacac480 SHA512 579707e3af81ce379a8e9313878f92e96297a95d58361ba8266c9d83e5c8f9da5adc68b98f27b3040362eb0dfb822e81d3111b6314847036eefe54504949e2c8
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sr.tar.gz 1480531 BLAKE2B eb004a90633dd652fc621cd13d118407ec7d855808365ead58431c1ee8bab6431c61989338e2615ccd4155000067743cea577c2c747b1d7399f4ee311c8776f1 SHA512 13db28ae33a47fb82f26e4cdb039db46def31970543a5cdd91f36efffa301147e4eaa1fc96bcba1f1ac89ada6782c4f7b72c506ef82c8d7dc8106f5bc74af6f9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ss.tar.gz 286291 BLAKE2B 87fa7efdad8cf7f8d6a2db8038cd5f4a3c748593df840f5547ee9ee5078737e6a9851791f7a4f31e97460e98fd7152084cc9fbea1b6cc6ad759db4635b4af549 SHA512 e9a80215fcd75af6cbc0f3db81802024610009dced985b49b06e9eccd1815846d75b3a82beebb65cf9fdaf0fafe5091123ae9d45f691f4881cb9f14dc3076a74
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_st.tar.gz 279459 BLAKE2B 2bc74bfaf1605d41ef16f0e69c549721c8c85b8623d6f2bc17aad345fd856750843ede3e02f73c034d07271d9a888243027d585b5f1cdd2d05c81aceefab9e12 SHA512 8267b25f1307eb5c5797c4ddff9b33f335d5afd2d4f0dd84cc33246db80ac248ed3c145626d8e8fa32f7bc29a14d14e2304f5a0d09e574af8aa31ce5d814074e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sv.tar.gz 2609090 BLAKE2B 66397a0140543eb37a1dcfe739617e62bcd80fdfc0108c3e35ed3bffe9bf97b1b768964000e59b18b1d5e3d9ef895d373835aacdf09fcab214b75cc599db66f0 SHA512 30f543104e0395ca05c21e574ec6914b83eeee31995d2e988bd044b6f4ba17e133a611aa516681b9c570321ef960e588158436961004fa92b320a8ec5298f430
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_sw-TZ.tar.gz 318612 BLAKE2B 48351cde394c6ea2f51ae000dd20d784866c288de0e61d1842bc4190802c8530cadcc7f1ca5fa1d87472ab88b3fdccb814ac3d35c0653059eec56524f4f10440 SHA512 bc439b883d40cfada8392a0324fda5a32530d6b3657fb979fee4d8a028a744eb17eaeaff9cd4b028030390791a17625b4eb7833464d4e49d77be78bb07ee6725
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ta.tar.gz 685756 BLAKE2B f80347a0f3cc8b16089e0f6e9810bac0ebf1544c2dbb52e844bdb019bfddf6642f4597195369a27b9ff5bb071856897729c7fd3a7d9c573beb1eb1949be89883 SHA512 c9cd6a4f9ac3924962bdaaa8bc3e909a374b9e8032e4807b96af5b973dad555b6a8dade5bfa74921ff44e382206869d247a9200029db30198ad96321f74e4efd
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_te.tar.gz 1089429 BLAKE2B 1a06987242212b45ab353843e6e271cf3f8dc93b906312afac36a8f016cffb264c7fa4fbc0462c2af50bdc0b0e4b9e120afc4d69d1d148f8c56282debc123749 SHA512 f972fcf878bcc5697f55a068157c80de1e37fb67be94d523007c17676c153a62a2dae23da02cbaf2141eba6932d7025d89950fb8e44388dd977c605ed692072e
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_tg.tar.gz 358358 BLAKE2B 718b4d2c0d815df37295a1e34f0df3b947f0073953a0e7d4903da951008a8a7ad2456bb4344017bc738bbeca158896b457df5d7e52cca450d594111d431307de SHA512 f4e0d2e9bbe1b83c55faaa02c1e2d27550cd897cf4548f0edec8204756c802c62b5fa72dbda66c92acbea6bf6628f0d964f8e6afa89968d540d4b5f10d6fc012
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_th.tar.gz 622578 BLAKE2B 3196710669e424377ef21c66ef1d0856f0bc455563c5de14f56ac0e9337c5b743fff8362ef242614d007b21bda17ca8fff2cc2059577122e40c9b06c65c4163b SHA512 4ab552cbb04e9a16def25c16be2d97356cb43f71d9814ddf15018fa260a24a0ff9e278c13745462a9e2c7e758975a2834e33da5164acff9bf745efc6bfb02642
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_tn.tar.gz 258981 BLAKE2B b6231eca05fcffb413b4bacf2f1dce873100277cf662566479b6eef8849c4a8c32e0c56590e3dfc1345641f087f4f43de2deb4b4d7cc8f125d8d03f028ea099d SHA512 84aed21f125a44b1d6c8c6049abf93b75c0224fa40f228b55b2a8b4892a56693d33082409ab326ddf5c24b776c0343c27b929b3c67dc93ce17e32e7b48c6b352
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_tr.tar.gz 760133 BLAKE2B c9d04b243ee62680cf58157109c4bd0e2a960110490b38e1245db32ff049494e2f17fc8fd339ac174e0351576abbdf0120057aaf7ddb50a6e4906937310b2b4f SHA512 f440c4374db91b27919d3d3c5ba36d16a1ab76a7a7126cc6f89bcd7805f09be29cbbce0bbd79a19a7eb3c95e840ba958aa35f6097025ed544cec305c71c4fc35
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ts.tar.gz 277099 BLAKE2B a2d0227276a229c1b16fbbd634758196c3690b9f490980312341bf7cc3eb054ad63c17cd3d57c3641994c60908d26678a29a4bbc4a564ce0ab84bbdef92618b2 SHA512 17e467b4c77f2cbf30b511c03a73f5c0c6523fcd0da2d76fe562778674e1435dffe27407979c662dbae2f350530f0166c646f1ccf6bc0b8a6f21683682f69f07
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_tt.tar.gz 183363 BLAKE2B 5cc18cdd2c39dc0d480d55dfd4a1cff0df85e9810cf9b54b8257fb608ec8439ba667f54d0364ff30817efc55daccceae5a8cd474ec2a1ee2d0e0e42ba84990bf SHA512 b09d3ee2979b3c891f3e52089f4892399d81d7e3b7d8b15cb133dbaba598fda02c872987775def3a18abccb387b2ea17b66a65f20804e6713796dc9ee22472f0
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ug.tar.gz 549900 BLAKE2B d641437d5ded4d527da6951a523687d15afafcc89b513d26485956cc1da87ea881d2a25a2808379a8b3603269acdf98caec4bc49c26bdf5289681d7700a33577 SHA512 a6e156f68518ff3c30ffd821b1e483612be42b52d50e5feeac9bae10504558aa08a1c548551f656adf1d9a453a16ad01060a9992c09018b57f06e38dd095c89c
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_uk.tar.gz 1621094 BLAKE2B feed3c66b03400dd0aa9943d39775f92ef10db97fcded85b6535a6a6ab78d7a843a46c20ef16ad307c4a9f1466d6f0a5263274ab4901fb321d05501cb9a91c1a SHA512 a87a763e4d4cf489c8edb6652f92d689b5d85d290ac1c2b9295ea8ec98939245e79a2af3ae36a5c20545d618b60baa587504319974a95f877fbad464d32217c9
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_uz.tar.gz 314813 BLAKE2B 9d414708b1e10d05c4315ab3dbcde6e0a8a3a1f181f3096c20a5d3986b0eb1ed2fa3643fdc0c1c64a542da04412a050e16c3a9c38709f283861ad9db21afb84b SHA512 6e727b92d54ada836d42471f0148536db4f77e462ed192b01d63df56f1701d80e02a876bfdf4e3546f2891c95aaf0a0b21f1a02ba7d5d29a68f94f377c6fffcd
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_ve.tar.gz 282347 BLAKE2B 17a8141746a1be060d4a54c8d696c62716cc8136ea0450d33191df72b643f8e99cd650342769260ba66828436d708f9d3027e9484c50e49dbc9869a57cf5320c SHA512 bc34571bc6d8fd2034f393c384295f70f1de2a3e07e0625985c307b85a4967755f2b4a6a346b9cf250483ce7aef2eb5d763b5ad60051bbed5af3115fbb1acda3
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_vi.tar.gz 464883 BLAKE2B 4491b32f8a6372b5dfcc21b04d9951dd1ab09de684a9221f2eb6673bb3acbe574bdcbcd2ceb922cafb54f4d5523734e864a5e09a9a54a29175bcefbe3178cb87 SHA512 45c3ce600084eb485fd03e749d7107ba2927c5ddf33ffba360485fd6855298237ed166e3e214ae6e102aa3cd324540ddf7c16afcec3878bda69d73a647a65905
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_xh.tar.gz 290220 BLAKE2B bfc25c5a8b4e9d9966d50c31ee94ee36be58a463ce482ee15e0150a940959b18d7f2a23ef476615851c601667c952b876a01629b3f610646be3b698282895bc7 SHA512 aab2042d9a44ea1aaecaaf6cf1be79c22db08c8865dbf4837beb6aa866a41dd35a96606c7380db4cc7e79b0dca8662f89f37c0fb68285939b508389ae20b6afa
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_zh-CN.tar.gz 809658 BLAKE2B 24d78fcaf2cb0498375b6107a3ce2a1c273eb9ede364a91e1ada69c8fbfea8bd454f8926844d24d040c217a017c6c6333039408b09b8870d9fbafe141022a70a SHA512 9b3ddef62a2e3093c64a0e19b7833958c0fc5f7f9993e0ebe32a65ac2be6abbc7356cafae9135a7346b482c01ab941237a3bb123a0437a804c4b548d45086737
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_zh-TW.tar.gz 807679 BLAKE2B b02599d2761a073648bffd91d9126c99341eb00c3ba42647597a24375fa95fad4688693bdb6f8730b4c215d5f5bc61c1a29673487a3e79e8f64e6585cbb94b65 SHA512 83ff35edc6c51ae4dbb043fe03a2aa489ae3aaa9c50e7ba9e05f870bc4155d2f1423336d0a0ba63e2a654fcf60bf6e7ad0fa9dcb8eb516cd59497a3c25991e50
DIST LibreOffice_6.2.0.2_Linux_x86_rpm_langpack_zu.tar.gz 321260 BLAKE2B b6297b413a51bf63b97da41ae28dbd2bda21ad180af5b1a91a6cc8f9a14331b0e972cb37c5a94f64862e47cc8a0215651a488671c1d30fb5f6c9824bb77dba70 SHA512 37199aa84d3630bcfbfdf4d8fc17aa5e586a5316f574769c97877bdefff943489acd09fe59e00e898050e7234a7fe3b9cfbf6c69f52830a598258adbc406d56d

@ -0,0 +1,92 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit rpm
BASE_PV=$(ver_cut 1-3)
MY_PV="${PV/_alpha/.alpha}"
MY_PV="${MY_PV/_beta/.beta}"
[[ ${PV} == *alpha* || ${PV} == *beta* ]] && PN_DEV="Dev"
DESCRIPTION="Translations for the Libreoffice suite"
HOMEPAGE="https://www.libreoffice.org"
BASE_SRC_URI_TESTING="https://download.documentfoundation.org/${PN/-l10n/}/testing/${BASE_PV}/rpm"
BASE_SRC_URI_STABLE="https://download.documentfoundation.org/${PN/-l10n/}/stable/${BASE_PV}/rpm"
LICENSE="|| ( LGPL-3 MPL-1.1 )"
SLOT="0"
KEYWORDS=""
#KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="offlinehelp"
#
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
#
# "en:en-US" for mapping from Gentoo "en" to upstream "en-US" etc.
LANGUAGES_HELP=" am ast bg bn-IN bn bo bs ca-valencia ca cs da de dz el en-GB en:en-US en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt-BR pt ru si sk sl sq sv tg tr ug uk vi zh-CN zh-TW "
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd gug kk kmr-Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa:pa-IN ro rw sa:sa-IN sat sd sid sr-Latn sr ss st sw-TZ ta te th tn ts tt uz ve xh zu "
for lang in ${LANGUAGES_HELP}; do
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang#*:}.tar.gz )"
SRC_URI+=" l10n_${lang%:*}? ( ${helppack} )"
done
for lang in ${LANGUAGES}; do
if [[ ${lang%:*} != en ]]; then
langpack="${BASE_SRC_URI_STABLE}/x86/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang#*:}.tar.gz"
SRC_URI+=" l10n_${lang%:*}? ( ${langpack} )"
fi
IUSE+=" l10n_${lang%:*}"
done
unset lang helppack langpack
RDEPEND+="app-text/hunspell"
RESTRICT="strip"
S="${WORKDIR}"
src_prepare() {
default
local lang dir rpmdir
# First remove dictionaries, we want to use system ones.
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
for lang in ${LANGUAGES}; do
# break away if not enabled
use l10n_${lang%:*} || continue
dir=${lang#*:}
# for english we provide just helppack, as translation is always there
if [[ ${lang%:*} != en ]]; then
rpmdir="LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${dir}/RPMS/"
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
rpm_unpack ./${rpmdir}/*.rpm
fi
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
rpmdir="LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${dir}/RPMS/"
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
rpm_unpack ./${rpmdir}/*.rpm
fi
done
}
src_configure() { :; }
src_compile() { :; }
src_install() {
local dir="${S}"/opt/${PN/-l10n/}$(ver_cut 1-2)/
# Condition required for people who do not install anything e.g. no l10n
# or just english with no offlinehelp.
if [[ -d "${dir}" ]] ; then
insinto /usr/$(get_libdir)/${PN/-l10n/}/
doins -r "${dir}"/*
fi
# remove extensions that are in l10n for some weird reason
rm -rf "${ED}"/usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
die "Failed to remove extensions"
}

@ -4,5 +4,7 @@ DIST 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip 9796 BLAKE2B a30b0225313b23
DIST 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip 1521926 BLAKE2B d2769842c180997055648a8b1a33cc89988b74628bad8aa012242e0c1afa5b5b8568323c107187072207ee69bd841ba4ca3bbfe27ef65223ddc729d1a1aa6590 SHA512 ec5ae23c8fe2f5efc377f7a9665039afadf28b4d8f2791379296766a5fbc9a3bf7548f9b0e3b3b07762229ec733a92ccbb69791ee0318c9c6f78f8e847253d3f
DIST a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip 23150 BLAKE2B 51db6bd90585b13857ecb494c805c9fb6874e1e65d7aee73d23e1716670836a14b376bcca810f96fd55b0ed653b2660a268030f246c822cbb04f867ef763a3b3 SHA512 2d3835f7ac356805025cafedcad97faa48d0f5da386e6ac7b7451030059df8e2fdb0861ade07a576ebf9fb5b88a973585ab0437944b06aac9289d6898ba8586a
DIST libreoffice-6.1.4.2.tar.xz 207710664 BLAKE2B 52bab412094c1ff7e184ea65c588360c18b061c3e14b7be07171f6b5831261766e2ac7d7373f5f789d125671da41e8b67d34360d4b7014dcb98df01828aeb094 SHA512 ba81b7744b908f9fe67a83e72c17c08b3b2e99599a5fd4f9cc1f2d81b3fd0ddb8065ae466205f85185ab9420350cea0b2d60108df3e583b74bd1fcd9e4eb0c3c
DIST libreoffice-6.2.0.2.tar.xz 213471412 BLAKE2B 61c07f0b6e2c12d197d93346ae4b9f583189a093f9fe49156c5f6ccee4309a77b4a6f6a133a61764d11dd56e7e36734ed4ebf3abab035021c0692477d556acf7 SHA512 6c8e039548b50071e50eea6719a92c11c85da2c7ae73bc70bddc5eb32859823fc5f5ab5867ec0b76d8a094cd21a228d6b0d3a7fa834e8005a2d7a82c7ecdb278
DIST libreoffice-branding-gentoo-0.8.tar.xz 151568 BLAKE2B f03c7ddeb53c5ca3fd23401679601fcf2c4037ba17be4eb7b784c7ce7ebb71a24b8ab4aac8b7da8c6b1f14dd23bc1294ba85ff4f70ad271fb4ee3c5372e10883 SHA512 785031a699b1d1895ce4b50ffc3ddf645f3a0ef9acdf37facfd18cf75db9484cb8f53a50abb63d6006ead76a80b6ff5aa99661063245ebb84bd64013d713de7f
DIST libreoffice-help-6.1.4.2.tar.xz 15757700 BLAKE2B 53c398efb3b839740a9146ea1b0f70f019936c914f7aedf38b7da69faf532ab139a8847d6eb251b2850511e0e7bd169c74fafedd0926dc987659aa27878cf740 SHA512 e24f2f6795856da62f77ebfdcfedc8190b8ecef74e395fc263f0cab4a27c0fe3d95f37665747a590fc7a6a93c6c3473a2a4501c50d415cc602f85838955fe9ab
DIST libreoffice-help-6.2.0.2.tar.xz 16186468 BLAKE2B 3846172642023633420ba83f3c65430dd7c1e5b4fc652e758081175d6b52c412822acd2af1dc31ebcc5344bd4f4b5ba6d49beb4f43f997fd99cbe1ecd69a9f96 SHA512 43c99f3db3d773d3f724600a875b964a65ae3dcab4ab7348289828cf860475a036cd6ba2d54d57cfec4ca259c085932fa479d465475591919e86108c56ed5feb

@ -0,0 +1,581 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
PYTHON_REQ_USE="threads(+),xml"
MY_PV="${PV/_alpha/.alpha}"
MY_PV="${MY_PV/_beta/.beta}"
# experimental ; release ; old
# Usually the tarballs are moved a lot so this should make everyone happy.
DEV_URI="
https://dev-builds.libreoffice.org/pre-releases/src
https://download.documentfoundation.org/libreoffice/src/${MY_PV:0:5}/
https://downloadarchive.documentfoundation.org/libreoffice/old/${MY_PV}/src
"
ADDONS_URI="https://dev-www.libreoffice.org/src/"
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
# PATCHSET="${P}-patchset-01.tar.xz"
[[ ${MY_PV} == *9999* ]] && inherit git-r3
inherit autotools bash-completion-r1 check-reqs eapi7-ver flag-o-matic gnome2-utils java-pkg-opt-2 multiprocessing pax-utils python-single-r1 qmake-utils toolchain-funcs xdg-utils
DESCRIPTION="A full office productivity suite"
HOMEPAGE="https://www.libreoffice.org"
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
[[ -n ${PATCHSET} ]] && SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}"
# Split modules following git/tarballs; Core MUST be first!
# Help is used for the image generator
# Only release has the tarballs
if [[ ${MY_PV} != *9999* ]]; then
for i in ${DEV_URI}; do
SRC_URI+=" ${i}/${PN}-${MY_PV}.tar.xz"
SRC_URI+=" ${i}/${PN}-help-${MY_PV}.tar.xz"
done
unset i
fi
unset DEV_URI
# Really required addons
# These are bundles that can't be removed for now due to huge patchsets.
# If you want them gone, patches are welcome.
ADDONS_SRC=(
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
# no release for 8 years, should we package it?
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
# Does not build with 1.6 rhino at all
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
# requirement of rhino
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
# not packageable
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
)
SRC_URI+=" ${ADDONS_SRC[*]}"
unset ADDONS_URI
unset ADDONS_SRC
# Extensions that need extra work:
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
IUSE="accessibility bluetooth +branding coinmp +cups dbus debug eds firebird
googledrive gstreamer +gtk gtk2 kde mysql odk pdfimport postgres test vlc
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
bluetooth? ( dbus )
libreoffice_extensions_nlpsolver? ( java )
libreoffice_extensions_scripting-beanshell? ( java )
libreoffice_extensions_scripting-javascript? ( java )
libreoffice_extensions_wiki-publisher? ( java )
"
LICENSE="|| ( LGPL-3 MPL-1.1 )"
SLOT="0"
[[ ${MY_PV} == *9999* ]] || \
KEYWORDS=""
# KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
COMMON_DEPEND="${PYTHON_DEPS}
app-arch/unzip
app-arch/zip
app-crypt/gpgme[cxx]
app-text/hunspell:=
>=app-text/libabw-0.1.0
>=app-text/libebook-0.1
app-text/libepubgen
>=app-text/libetonyek-0.1
app-text/libexttextcat
app-text/liblangtag
>=app-text/libmspub-0.1.0
>=app-text/libmwaw-0.3.1
app-text/libnumbertext
>=app-text/libodfgen-0.1.0
app-text/libqxp
app-text/libstaroffice
app-text/libwpd:0.10[tools]
app-text/libwpg:0.3
>=app-text/libwps-0.4
app-text/mythes
>=dev-cpp/clucene-2.3.3.4-r2
=dev-cpp/libcmis-0.5*
dev-db/unixODBC
dev-lang/perl
dev-libs/boost:=[nls]
dev-libs/expat
dev-libs/hyphen
dev-libs/icu:=
dev-libs/libassuan
dev-libs/libgpg-error
>=dev-libs/liborcus-0.14.0
dev-libs/librevenge
dev-libs/libxml2
dev-libs/libxslt
dev-libs/nspr
dev-libs/nss
>=dev-libs/redland-1.0.16
>=dev-libs/xmlsec-1.2.24[nss]
media-gfx/fontforge
media-gfx/graphite2
media-libs/fontconfig
media-libs/freetype:2
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
media-libs/lcms:2
>=media-libs/libcdr-0.1.0
>=media-libs/libepoxy-1.3.1[X]
>=media-libs/libfreehand-0.1.0
media-libs/libpagemaker
>=media-libs/libpng-1.4:0=
>=media-libs/libvisio-0.1.0
media-libs/libzmf
net-libs/neon
net-misc/curl
net-nds/openldap
sci-mathematics/lpsolve
sys-libs/zlib
virtual/glu
virtual/jpeg:0
virtual/opengl
x11-libs/cairo[X]
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
accessibility? ( dev-python/lxml[${PYTHON_USEDEP}] )
bluetooth? (
dev-libs/glib:2
net-wireless/bluez
)
coinmp? ( sci-libs/coinor-mp )
cups? ( net-print/cups )
dbus? ( sys-apps/dbus )
eds? (
dev-libs/glib:2
gnome-base/dconf
gnome-extra/evolution-data-server
)
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
gstreamer? (
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
)
gtk? (
dev-libs/glib:2
dev-libs/gobject-introspection
gnome-base/dconf
media-libs/mesa[egl]
x11-libs/gtk+:3
x11-libs/pango
)
gtk2? (
x11-libs/gdk-pixbuf
>=x11-libs/gtk+-2.24:2
x11-libs/pango
)
kde? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtx11extras:5
dev-qt/qtwidgets:5
kde-frameworks/kconfig:5
kde-frameworks/kcoreaddons:5
kde-frameworks/ki18n:5
kde-frameworks/kio:5
kde-frameworks/kwindowsystem:5
)
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
mysql? ( dev-db/mysql-connector-c )
pdfimport? ( app-text/poppler:=[cxx] )
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
"
RDEPEND="${COMMON_DEPEND}
!app-office/libreoffice-bin
!app-office/libreoffice-bin-debug
!app-office/openoffice
media-fonts/liberation-fonts
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
java? ( >=virtual/jre-1.6 )
kde? ( kde-frameworks/breeze-icons:* )
vlc? ( media-video/vlc )
"
if [[ ${MY_PV} != *9999* ]] && [[ ${PV} != *_* ]]; then
PDEPEND="=app-office/libreoffice-l10n-$(ver_cut 1-2)*"
else
# Translations are not reliable on live ebuilds
# rather force people to use english only.
PDEPEND="!app-office/libreoffice-l10n"
fi
# FIXME: cppunit should be moved to test conditional
# after everything upstream is under gbuild
# as dmake execute tests right away
# tests apparently also need google-carlito-fonts (not packaged)
DEPEND="${COMMON_DEPEND}
>=dev-libs/libatomic_ops-7.2d
dev-perl/Archive-Zip
>=dev-util/cppunit-1.14.0
>=dev-util/gperf-3
dev-util/intltool
>=dev-util/mdds-1.4.1:1=
media-libs/glm
sys-devel/bison
sys-devel/flex
sys-devel/gettext
sys-devel/ucpp
virtual/pkgconfig
x11-base/xorg-proto
x11-libs/libXt
x11-libs/libXtst
java? (
dev-java/ant-core
>=virtual/jdk-1.6
)
odk? ( >=app-doc/doxygen-1.8.4 )
test? (
app-crypt/gnupg
dev-util/cppunit
media-fonts/dejavu
media-fonts/liberation-fonts
)
"
PATCHES=(
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
# not upstreamable stuff
"${FILESDIR}/${PN}-5.4-system-pyuno.patch"
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
# master branch
"${FILESDIR}"/${PN}-6.2.0.1-poppler-0.71-{1,2}.patch
"${FILESDIR}"/${PN}-6.2.0.1-poppler-0.72.patch
)
S="${WORKDIR}/${PN}-${MY_PV}"
_check_reqs() {
CHECKREQS_MEMORY="512M"
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
CHECKREQS_DISK_BUILD="22G"
else
CHECKREQS_DISK_BUILD="6G"
fi
check-reqs_$1
}
pkg_pretend() {
use java || \
ewarn "If you plan to use Base application you should enable java or you will get various crashes."
if has_version "<app-office/libreoffice-5.3.0[firebird]"; then
ewarn "Firebird has been upgraded to version 3. It is unable to read back Firebird 2.5 data, so"
ewarn "embedded firebird odb files created in LibreOffice pre-5.3 can't be opened with this version."
ewarn "See also: https://wiki.documentfoundation.org/ReleaseNotes/5.3#Base"
fi
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_pretend
}
pkg_setup() {
java-pkg-opt-2_pkg_setup
python-single-r1_pkg_setup
xdg_environment_reset
[[ ${MERGE_TYPE} != binary ]] && _check_reqs pkg_setup
}
src_unpack() {
default
if [[ ${MY_PV} = *9999* ]]; then
local base_uri branch mypv
base_uri="https://anongit.freedesktop.org/git"
branch="master"
mypv=${MY_PV/.9999}
[[ ${mypv} != ${MY_PV} ]] && branch="${PN}-${mypv/./-}"
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
git-r3_checkout "${base_uri}/${PN}/core"
LOCOREGIT_VERSION=${EGIT_VERSION}
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
fi
}
src_prepare() {
default
# sandbox violations on many systems, we don't need it. Bug #646406
sed -i \
-e "/KF5_CONFIG/s/kf5-config/no/" \
configure.ac || die "Failed to disable kf5-config"
AT_M4DIR="m4" eautoreconf
# hack in the autogen.sh
touch autogen.lastrun
# system pyuno mess
sed -i \
-e "s:%eprefix%:${EPREFIX}:g" \
-e "s:%libdir%:$(get_libdir):g" \
pyuno/source/module/uno.py \
pyuno/source/officehelper.py || die
# sed in the tests
sed -i \
-e "s#all : build unitcheck#all : build#g" \
solenv/gbuild/Module.mk || die
sed -i \
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
Makefile.in || die
sed -i \
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
bin/distro-install-desktop-integration || die
if use branding; then
# hack...
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/colibre/brand/intro.png" || die
fi
# Don't list pdfimport support in desktop when built with none, bug # 605464
if ! use pdfimport; then
sed -i \
-e ":MimeType: s:application/pdf;::" \
-e ":Keywords: s:pdf;::" \
sysui/desktop/menus/draw.desktop || die
fi
}
src_configure() {
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
# Note: these are for Gentoo use ONLY. For your own distribution, please get
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
local google_default_client_id="329227923882.apps.googleusercontent.com"
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
# optimization flags
export GMAKE_OPTIONS="${MAKEOPTS}"
# System python enablement:
export PYTHON_CFLAGS=$(python_get_CFLAGS)
export PYTHON_LIBS=$(python_get_LIBS)
if use kde; then
export QT_SELECT=5 # bug 639620 needs proper fix though
export QT5DIR="$(qt5_get_bindir)/../"
export MOC5="$(qt5_get_bindir)/moc"
fi
local gentoo_buildid="Gentoo official package"
if [[ -n ${LOCOREGIT_VERSION} ]]; then
gentoo_buildid+=" (from git: ${LOCOREGIT_VERSION})"
fi
# system headers/libs/...: enforce using system packages
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
# --enable-cairo: ensure that cairo is always required
# --enable-*-link: link to the library rather than just dlopen on runtime
# --enable-release-build: build the libreoffice as release
# --disable-fetch-external: prevent dowloading during compile phase
# --enable-extension-integration: enable any extension integration support
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
# --disable-report-builder: too much java packages pulled in without pkgs
# --without-system-sane: just sane.h header that is used for scan in writer,
# not linked or anything else, worthless to depend on
# --disable-pdfium: not yet packaged
local myeconfargs=(
--with-system-dicts
--with-system-epoxy
--with-system-headers
--with-system-jars
--with-system-libs
--enable-build-opensymbol
--enable-cairo-canvas
--enable-largefile
--enable-mergelibs
--enable-neon
--enable-python=system
--enable-randr
--enable-release-build
--disable-breakpad
--disable-ccache
--disable-dependency-tracking
--disable-epm
--disable-fetch-external
--disable-gstreamer-0-10
--disable-online-update
--disable-openssl
--disable-pdfium
--disable-report-builder
--with-build-version="${gentoo_buildid}"
--enable-extension-integration
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
--with-external-tar="${DISTDIR}"
--with-lang=""
--with-parallelism=$(makeopts_jobs)
--with-system-ucpp
--with-tls=nss
--with-vendor="Gentoo Foundation"
--with-x
--without-fonts
--without-myspell-dicts
--without-help
--with-helppack-integration
--with-system-gpgmepp
--without-system-sane
$(use_enable bluetooth sdremote-bluetooth)
$(use_enable coinmp)
$(use_enable cups)
$(use_enable dbus)
$(use_enable debug)
$(use_enable eds evolution2)
$(use_enable firebird firebird-sdbc)
$(use_enable gstreamer gstreamer-1-0)
$(use_enable gtk gtk3)
$(use_enable gtk2 gtk)
$(use_enable kde kde5)
$(use_enable kde qt5)
$(use_enable mysql bundle-mariadb)
$(use_enable odk)
$(use_enable pdfimport)
$(use_enable postgres postgresql-sdbc)
$(use_enable vlc)
$(use_with accessibility lxml)
$(use_with coinmp system-coinmp)
$(use_with googledrive gdrive-client-id ${google_default_client_id})
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
$(use_with java)
$(use_with odk doxygen)
)
if use gtk && use kde; then
myeconfargs+=( --enable-gtk3-kde5 )
fi
if use eds || use gtk; then
myeconfargs+=( --enable-dconf --enable-gio )
else
myeconfargs+=( --disable-dconf --disable-gio )
fi
# libreoffice extensions handling
for lo_xt in ${LO_EXTS}; do
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
else
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
fi
done
if use java; then
# hsqldb: system one is too new
myeconfargs+=(
--without-junit
--without-system-hsqldb
--with-ant-home="${ANT_HOME}"
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
--with-jvm-path="${EPREFIX}/usr/lib/"
)
use libreoffice_extensions_scripting-beanshell && \
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
use libreoffice_extensions_scripting-javascript && \
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar) )
fi
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
econf "${myeconfargs[@]}"
}
src_compile() {
# more and more LO stuff tries to use OpenGL, including tests during build
# bug 501508, bug 540624, bug 545974 and probably more
addpredict /dev/dri
addpredict /dev/ati
addpredict /dev/nvidiactl
# hack for offlinehelp, this needs fixing upstream at some point
# it is broken because we send --without-help
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
(
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die
source "${T}/config_host.mk" 2&> /dev/null
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
mkdir -p "${path}" || die
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=helpcontent2/source/media/helpimg > \"${path}/helpimg.ilst\""
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
-dir=helpcontent2/source/media/helpimg \
> "${path}/helpimg.ilst"
[[ -s "${path}/helpimg.ilst" ]] || \
ewarn "The help images list is empty, something is fishy, report a bug."
)
local target
use test && target="build" || target="build-nocheck"
# this is not a proper make script
make ${target} || die
}
src_test() {
make unitcheck || die
make slowcheck || die
}
src_install() {
# This is not Makefile so no buildserver
make DESTDIR="${D}" distro-pack-install -o build -o check || die
# bug 593514
if use gtk; then
dosym libreoffice/program/liblibreofficekitgtk.so \
/usr/$(get_libdir)/liblibreofficekitgtk.so
fi
# bash completion aliases
bashcomp_alias \
libreoffice \
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
if use branding; then
insinto /usr/$(get_libdir)/${PN}/program
newins "${WORKDIR}/branding-sofficerc" sofficerc
dodir /etc/env.d
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
fi
# Hack for offlinehelp, this needs fixing upstream at some point.
# It is broken because we send --without-help
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
insinto /usr/$(get_libdir)/libreoffice/help
doins xmlhelp/util/*.xsl
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
}
pkg_postinst() {
gnome2_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

@ -1,2 +1,3 @@
DIST scribus-1.5.4-poppler-0.64.0.patch.tar.xz 3020 BLAKE2B 3388efe6498545ffef6604a41b9e697a0cb6cd053c4893f9d64349bb2251400aca7a4f7dd193eb94cf69ca3f4ae1a3ba3ed106127c4fa680f396940d8056e669 SHA512 4577b4b737948a2b41dc0cec90ec95ba260959343e4953929696ceab518a2723a28a891b189caf79435e7fc8f8fc0a1012e7079e890d10549cb2ba426d15b568
DIST scribus-1.5.4.tar.xz 72832248 BLAKE2B 64797e865ce44fb01f1e29823e3cb46b2b8f1501e8d07e8b265e93a37961582ec4118d0f32d460bc044e32cf7fa6069732f6b9ce60e4dc4b0b42f914b280e637 SHA512 7875ea5f3db5fb116856cf4cf56b4cce2d0b00d9c4820969f52b89e9bf2b36f96eb9e15b368d392be74d4c6d32e971fc28f6ecbf6661fce5e3b9cb61c4d02403
DIST scribus-1.5.5_pre20181227.tar.gz 84926534 BLAKE2B 1fa392a8a196aac028ad4f1b913f31c5655a191d5ff3db26f16b4b181885bb1035ca95d11b100ad1b6cc7aea0ea21677a211c83dbd94bfe730a94ed4feaaf6bc SHA512 53a9494dca4520ec89b4b4487c09683da00876088ed2750fd80bca6cbc96536c0bcfb8c96d671d9ca0ed0b74cbd8f75382298e3d20285d52cec52951807f4797

@ -0,0 +1,240 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="tk?"
CMAKE_MAKEFILE_GENERATOR=ninja
COMMIT=d857c1a3430acf207cdde2512db6822c45e98732
inherit cmake-utils desktop flag-o-matic gnome2-utils python-single-r1 xdg-utils
DESCRIPTION="Desktop publishing (DTP) and layout program"
HOMEPAGE="https://www.scribus.net/"
SRC_URI="https://github.com/${PN}project/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="+boost debug examples graphicsmagick hunspell +minimal osg +pdf scripts templates tk"
#a=$((ls resources/translations/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'; ls resources/loremipsum/*xml | sed -e 's:\.: :g' -e 's:loremipsum\/: :g'| awk '{print $2}'; ls resources/dicts/hyph*dic | sed -e 's:\.: :g' -e 's:hyph_: :g' | awk '{print $2}'; ls resources/dicts/README_*txt | sed -e 's:_hyph::g' -e 's:\.: :g' -e 's:README_: :g' | awk '{print $2}') | sort | uniq); echo $a
# Keep this sorted, otherwise eliminating of duplicates below won't work
IUSE_L10N=" af ar bg br ca ca_ES cs cs_CZ cy cy_GB da da_DK de de_1901 de_CH de_DE el en_AU en_GB en_US eo es es_ES et eu fa_IR fi fi_FI fr gl he he_IL hr hu hu_HU ia id id_ID is is_IS it ja kab kn_IN ko ku la lt lt_LT nb_NO nl nn_NO pl pl_PL pt pt_BR pt_PT ro ro_RO ru ru_RU_0 sa sk sk_SK sl sl_SI so sq sr sv sv_SE te th_TH tr uk uk_UA zh_CN zh_TW"
map_lang() {
local lang=${1/_/-}
case $1 in
# Retain the following, which have a specific subtag
de_*|en_*|pt_*|zh_*) ;;
# Consider all other xx_XX as duplicates of the generic xx tag
*_*) lang=${1%%_*} ;;
esac
echo ${lang}
}
prev_l=
for l in ${IUSE_L10N}; do
l=$(map_lang ${l})
[[ ${l} != "${prev_l}" ]] && IUSE+=" l10n_${l}"
prev_l=${l}
done
unset l prev_l
REQUIRED_USE="${PYTHON_REQUIRED_USE}
tk? ( scripts )"
# osg
# couple of third_party libs bundled
COMMON_DEPEND="${PYTHON_DEPS}
app-text/libmspub
app-text/libqxp
app-text/poppler:=
dev-libs/hyphen
>=dev-libs/icu-58.2:0=
dev-libs/librevenge
dev-libs/libxml2
dev-qt/qtcore:5
dev-qt/qtgui:5[-gles2]
dev-qt/qtnetwork:5
dev-qt/qtopengl:5
dev-qt/qtprintsupport:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
media-libs/fontconfig
media-libs/freetype:2
>=media-libs/harfbuzz-0.9.42:0=[icu]
media-libs/lcms:2
media-libs/libcdr
media-libs/libfreehand
media-libs/libpagemaker
media-libs/libpng:0=
media-libs/libvisio
media-libs/libzmf
media-libs/tiff:0
net-print/cups
sys-libs/zlib[minizip]
virtual/jpeg:0=
>=x11-libs/cairo-1.10.0[X,svg]
boost? ( >=dev-libs/boost-1.62:= )
hunspell? ( app-text/hunspell:= )
graphicsmagick? ( media-gfx/graphicsmagick:= )
osg? ( dev-games/openscenegraph:= )
pdf? ( app-text/podofo:0= )
scripts? ( dev-python/pillow[tk?,${PYTHON_USEDEP}] )
"
RDEPEND="${COMMON_DEPEND}
app-text/ghostscript-gpl
"
DEPEND="${COMMON_DEPEND}
dev-qt/linguist-tools:5
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-1.5.3-docdir.patch
"${FILESDIR}"/${PN}-1.5.3-fpic.patch
)
S="${WORKDIR}"/${PN}-${COMMIT}
src_prepare() {
rm -r codegen/cheetah || die
cat > cmake/modules/FindZLIB.cmake <<- EOF || die
find_package(PkgConfig)
pkg_check_modules(ZLIB minizip zlib)
SET( ZLIB_LIBRARY \${ZLIB_LIBRARIES} )
SET( ZLIB_INCLUDE_DIR \${ZLIB_INCLUDE_DIRS} )
MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR )
EOF
sed \
-e "/^\s*unzip\.[ch]/d" \
-e "/^\s*ioapi\.[ch]/d" \
-i scribus/CMakeLists.txt Scribus.pro || die
rm scribus/ioapi.[ch] || die
sed \
-e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \
-i resources/templates/CMakeLists.txt || die
sed \
-e "/^add_subdirectory(ui\/qml)/s/^/#DONT/" \
-i scribus/CMakeLists.txt || die # nothing but a bogus Hello World test
cmake-utils_src_prepare
}
src_configure() {
# bug #550818
append-cppflags -DHAVE_MEMRCHR
local _lang lang langs
for _lang in ${IUSE_L10N}; do
lang=$(map_lang ${_lang})
if use l10n_${lang}; then
# From the CMakeLists.txt
# "#Bit of a hack, preprocess all the filenames to generate our language string, needed for -DWANT_GUI_LANG=en_GB;de_DE , etc"
langs+=";${_lang}"
else
# Don't install localized documentation
sed -e "/${_lang}/d" -i doc/CMakeLists.txt || die
safe_delete \
./resources/dicts/README_${_lang}.txt \
./resources/dicts/README_hyph_${_lang}.txt \
./resources/dicts/hyph_${_lang}.dic \
./resources/loremipsum/${_lang}.xml
fi
sed -e "/en_EN/d" -i doc/CMakeLists.txt || die
safe_delete \
./resources/dicts/README_en_EN.txt \
./resources/dicts/README_hyph_en_EN.txt \
./resources/dicts/hyph_en_EN.dic \
./resources/loremipsum/en_EN.xml
done
local mycmakeargs=(
-DHAVE_PYTHON=ON
-DPYTHON_INCLUDE_PATH="$(python_get_includedir)"
-DPYTHON_LIBRARY="$(python_get_library_path)"
-DWANT_DISTROBUILD=ON
-DDOCDIR="${EPREFIX%/}/usr/share/doc/${PF}/"
-DWANT_GUI_LANG="${langs#;};en"
-DWITH_PODOFO="$(usex pdf)"
-DWITH_BOOST="$(usex boost)"
-DWANT_GRAPHICSMAGICK="$(usex graphicsmagick)"
-DWANT_NOOSG="$(usex !osg)"
-DWANT_DEBUG="$(usex debug)"
-DWANT_HEADERINSTALL="$(usex !minimal)"
-DWANT_HUNSPELL="$(usex hunspell)"
-DWANT_NOEXAMPLES="$(usex !examples)"
-DWANT_NOTEMPLATES="$(usex !templates)"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
local lang _lang
# en_EN can be deleted always
for _lang in ${IUSE_L10N}; do
lang=$(map_lang ${_lang})
if ! use l10n_${lang}; then
safe_delete "${ED%/}"/usr/share/man/${_lang}
fi
done
if ! use scripts; then
rm "${ED%/}"/usr/share/scribus/scripts/*.py || die
elif ! use tk; then
rm "${ED%/}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die
fi
use scripts && \
python_fix_shebang "${ED%/}"/usr/share/scribus/scripts && \
python_optimize "${ED%/}"/usr/share/scribus/scripts
mv "${ED%/}"/usr/share/doc/${PF}/{en,html} || die
ln -sf html "${ED%/}"/usr/share/doc/${PF}/en || die
cat >> "${T}"/COPYING <<- EOF || die
${PN} is licensed under the "${LICENSE}".
Please visit https://www.gnu.org/licenses/gpl-2.0.html for the complete license text.
EOF
dodoc "${T}"/COPYING
docompress -x /usr/share/doc/${PF}/en /usr/share/doc/${PF}/{AUTHORS,TRANSLATION,LINKS,COPYING}
local size
for size in 16 32 128 256; do
newicon -s $size resources/iconsets/artwork/icon_${size}x${size}.png scribus.png
done
newicon -s 64 resources/iconsets/artwork/icon_32x32@2x.png scribus.png
doicon resources/iconsets/*/scribus.png
domenu scribus.desktop
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
gnome2_icon_cache_update
}
safe_delete () {
local x
for x in ${@}; do
if [[ -d "${x}" ]]; then
ebegin "Deleting ${x} recursively"
rm -r "${x}" || die
eend $?
elif [[ -f "${x}" ]]; then
ebegin "Deleting ${x}"
rm "${x}" || die
eend $?
fi
done
}

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -43,21 +43,21 @@ for l in ${IUSE_L10N}; do
done
unset l prev_l
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
REQUIRED_USE="${PYTHON_REQUIRED_USE}
tk? ( scripts )"
# osg
# couple of third_party libs bundled
COMMON_DEPEND="${PYTHON_DEPS}
app-text/libmspub
app-text/libqxp
app-text/poppler:=
dev-libs/hyphen
>=dev-libs/icu-58.2:0=
dev-libs/librevenge
dev-libs/libxml2
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtgui:5[-gles2]
dev-qt/qtnetwork:5
dev-qt/qtopengl:5
dev-qt/qtprintsupport:5
@ -72,18 +72,18 @@ COMMON_DEPEND="${PYTHON_DEPS}
media-libs/libpagemaker
media-libs/libpng:0=
media-libs/libvisio
media-libs/libzmf
media-libs/tiff:0
net-print/cups
sys-libs/zlib[minizip]
virtual/jpeg:0=
>=x11-libs/cairo-1.10.0[X,svg]
boost? ( >=dev-libs/boost-1.62:= )
hunspell? ( app-text/hunspell )
graphicsmagick? ( media-gfx/graphicsmagick )
osg? ( dev-games/openscenegraph )
hunspell? ( app-text/hunspell:= )
graphicsmagick? ( media-gfx/graphicsmagick:= )
osg? ( dev-games/openscenegraph:= )
pdf? ( app-text/podofo:0= )
scripts? ( dev-python/pillow[tk?,${PYTHON_USEDEP}] )
tk? ( dev-python/pillow[tk?,${PYTHON_USEDEP}] )
"
RDEPEND="${COMMON_DEPEND}
app-text/ghostscript-gpl

Binary file not shown.

@ -1,3 +1,2 @@
DIST eix-0.33.2.tar.xz 614192 BLAKE2B dcbbdb9b9ccf6f780d89c791c34cc588700720b7f015fb0db7ea86dd78a383892266b0e96c49282fdea58e78293c69e8acc153cea631443c35d3ee29dd4c016f SHA512 28ca4cc57e5c7ef81feb37fa90d598e681e192c442c7446c93a442908d2a9744340f7a93c71135ec3083fb85c48a65638c8929b6e1e632464132f4320225d637
DIST eix-0.33.5.tar.xz 626628 BLAKE2B 2bb102279084f6bb6871bb4bbe55100708866337501c6043508ee13bdb92064c3a4a41d067b9d4c03af1a5ffbece53d9c66cf89639adf0c555a9511cae3d702f SHA512 7a71a411d4428ee491b9aee0f414e038a08f2195db58466db9b96f0d80edca7eaa153e63534c832c71e1b488e21fbd869a96bd10a21e06a93ce7eba1f808b684
DIST eix-0.33.6.tar.xz 625512 BLAKE2B 3f27e3cfa00dc4979bbebbd3b31dfa29e7dcd527fdf7b3ca3fdc6a4ce45a64d7f07fe20ea4a526533aa506c2d9e7fcbbf7b5e83ad6a2d4bbacd1ce75b6cde4ae SHA512 3f04f06533d4e7a0acd5b6e85d1194c8f9b013595ebe75c3dda06cce42e7721a57393aed17e9dd6437780b48378691d84b6e595999ce4321ad114b239313c7cf

@ -1,104 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools bash-completion-r1 flag-o-matic tmpfiles
DESCRIPTION="Search and query ebuilds"
HOMEPAGE="https://github.com/vaeth/eix/"
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug doc nls sqlite"
BOTHDEPEND="nls? ( virtual/libintl )
sqlite? ( >=dev-db/sqlite-3:= )"
RDEPEND="${BOTHDEPEND}
>=app-shells/push-2.0-r1
>=app-shells/quoter-3.0_p2-r1"
DEPEND="${BOTHDEPEND}
app-arch/xz-utils
nls? ( sys-devel/gettext )"
pkg_setup() {
# remove stale cache file to prevent collisions
local old_cache=${EROOT%/}/var/cache/${PN}
if [[ -f ${old_cache} ]]; then
rm "${old_cache}" || die
fi
}
src_prepare() {
default
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
-i src/eix-functions.sh.in || die
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions\\\\\":" \
-i src/Makefile.am || die
eautoreconf
}
src_configure() {
local myconf=(
$(use_enable debug paranoic-asserts)
$(use_enable nls)
$(use_with doc extra-doc)
$(use_with sqlite)
# default configuration
$(use_with prefix always-accept-keywords)
--with-dep-default
--with-required-use-default
# paths
--with-portage-rootpath="${ROOTPATH}"
--with-eprefix-default="${EPREFIX}"
# build a single executable with symlinks
--disable-separate-binaries
--disable-separate-tools
# used purely to control/disrespect *FLAGS
--disable-debugging
--disable-new_dialect
--disable-optimization
--disable-strong-optimization
--disable-security
--disable-nopie-security
--disable-strong-security
)
# https://github.com/vaeth/eix/issues/35
append-cxxflags -std=c++11
econf "${myconf[@]}"
}
src_install() {
default
dobashcomp bash/eix
dotmpfiles tmpfiles.d/eix.conf
rm -r "${ED%/}"/usr/bin/eix-functions.sh || die
}
pkg_postinst() {
tmpfiles_process eix.conf
local obs=${EROOT%/}/var/cache/eix.previous
if [[ -f ${obs} ]]; then
ewarn "Found obsolete ${obs}, please remove it"
fi
}
pkg_postrm() {
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
rm -rf "${EROOT%/}/var/cache/${PN}" || die
fi
}

Binary file not shown.

@ -0,0 +1,31 @@
From 2c01e67a74ca48ca87e2f11f6239d54c35551e7b Mon Sep 17 00:00:00 2001
From: David Adam <zanchey@ucc.gu.uwa.edu.au>
Date: Sat, 5 Jan 2019 15:59:25 +0800
Subject: [PATCH] histfile tests: tweak expect commands to avoid crash on
32-bit platforms
Rather than killing the process with close, read EOF after sending the
"exit" command and wait for OS cleanup (per the expect examples).
Not cleaning up with wait caused expect to crash on all 32-bit platforms
including i586 and armv7l with "alloc: invalid block: 0xbf993ccb: 3d 3b".
64-bit platforms were not affected, for reasons that are not clear.
---
tests/histfile.expect | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/histfile.expect b/tests/histfile.expect
index 81ca11276..7ac056235 100644
--- a/tests/histfile.expect
+++ b/tests/histfile.expect
@@ -92,7 +92,8 @@ expect_prompt -re "\r\n$hist_line\r\n" {
# =============
# Start by shutting down the previous shell.
send "exit\r"
-close $spawn_id
+expect eof
+wait
# Set the fish_history env var.
set ::env(fish_history) env

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -27,7 +27,8 @@ DEPEND="
test? ( dev-tcltk/expect )
"
PATCHES=( "${FILESDIR}/${P}-fix-printf-o-handling-on-ppc.patch" )
PATCHES=( "${FILESDIR}/${P}-fix-printf-o-handling-on-ppc.patch"
"${FILESDIR}/fix-histfile-test-on-ppc.patch" )
S="${WORKDIR}/${MY_P}"

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -36,6 +36,8 @@ DEPEND="${RDEPEND}
test? ( dev-tcltk/expect )
"
PATCHES=( "${FILESDIR}/fix-histfile-test-on-ppc.patch" )
S="${WORKDIR}/${MY_P}"
src_prepare() {

Binary file not shown.

@ -1,2 +1,3 @@
DIST pdf2djvu-0.9.11.tar.xz 291356 BLAKE2B 726d9132c43c7dabdecf1e6174a3f2627db7f6981b3ba1f280ea131272ea0fef38acdaaa0f78ab0c883dd2cd046017edac46bb10d91e10668a6e480322e465fb SHA512 7b47ff4cd3a49f3fa1fec08490a192725899307d9c2a75a65a21d36abcece2f308e56161ec4c4f77f32fbdedcc167520657cad2b06cf178335f7e2169b7ada82
DIST pdf2djvu-0.9.12.tar.xz 295088 BLAKE2B 6dd8b04f089e464becd7923c96ac2ca35efc28412c1913270c8c85656b58a74a47777b1b5b932d29e3ee2ad4d75bc6bcb85b835e5aa7e9d9c6a0ef7b242b5c46 SHA512 2a3acd8efa682541f45a0650070c0260903dadbd49ac6d4560e2e5ee3c5a68a1310dcb9d170035ee8fec0e588171f2c402047b3d7dc4e7d4033abe95f2ebde74
DIST pdf2djvu-0.9.8.tar.xz 268976 BLAKE2B 318ef4fd5677056d2404d769bf54911c9474d6f0f839ef472e121375ee268db31ddaaad2b8ed791ef093d6cb1c665f6431619918ee852e479b4a11a3d7ae0e23 SHA512 5f5330d3d15808b5b6233a15a984d0ebf28619cfb50807a20c8992fed68d17f73d1edd62b1ad7cd3a09d526f6c9f0827e2c5e03d6d7c8ad92c1f106755025f5e

@ -0,0 +1,60 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
inherit python-any-r1 toolchain-funcs flag-o-matic
DESCRIPTION="A tool to create DjVu files from PDF files"
HOMEPAGE="http://jwilk.net/software/pdf2djvu"
SRC_URI="https://github.com/jwilk/${PN}/releases/download/${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+graphicsmagick nls openmp test"
RDEPEND="
>=app-text/djvu-3.5.21:=
>=app-text/poppler-0.16.7:=
dev-libs/libxml2:=
dev-libs/libxslt:=
graphicsmagick? ( media-gfx/graphicsmagick:= )
"
DEPEND="${RDEPEND}
dev-cpp/pstreams
virtual/pkgconfig
nls? ( sys-devel/gettext )
test? (
${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]')
)
"
REQUIRED_USE="test? ( graphicsmagick ${PYTHON_REQUIRED_USE} )"
DOCS=(
doc/{changelog,credits,djvudigital,README}
)
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_prepare() {
# bug 626874, poppler headers require C++11
append-cxxflags -std=c++11
default
}
src_configure() {
local openmp=--disable-openmp
use openmp && tc-has-openmp && openmp=--enable-openmp
econf \
${openmp} \
$(use_enable nls) \
$(use_with graphicsmagick)
}

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user versionator
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT=$(get_major_version)

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user versionator
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user versionator
KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user versionator
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user versionator
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="$(get_version_component_range 1-2)"

Binary file not shown.

@ -1,14 +1,18 @@
DIST php-5.6-openssl-1.1-compatibility.patch 42559 BLAKE2B b7f13866cd8545543143932930f31bcd928fa0b4b36ef63f04798b9ef4699f12b4f4227772ac9e6e5c498aaeacf7b106abcfa48031a12214e123de4b79d3a4cd SHA512 eed695a3dd7ce27e8651b4a4b96ccd0514f256e7d2f0214fac899e9eeea6412aa24f863f1b5d13305bcac50667ccb62709597fb34da1002b005ebf411dd2f5df
DIST php-5.6.38.tar.xz 12467408 BLAKE2B d9ee47e193d80bce8a9ed6ffd3eb13e67ba6d1f597ece2803cd92fddc6245f46cdfe644d6cda12a6bb409b92c1fe748610cc5eb43dea0bf063fda81188ee8b3d SHA512 66c51a8e954b1496c0bad0a2864a2a1537dd1c1c573b553991d6d5bce85fc7bc340e56a21109bc5e9a03799e703204b980b569c95a5c0a1bddb01c8947e7a682
DIST php-5.6.39.tar.xz 12467096 BLAKE2B 354b147c0fcc13eeec0ab333bcaa32ad26e2f4eef19a0ee52cf596ff96997eaf32cbb6d980cacf643167ed01b06ee9d27eeb7c00c95c8023d305c967c1ce3539 SHA512 814ea2d74df9c3c7041769803ceb4ba20dbfc18885ff85f91dca0c3ab694e3ebfb6a564427d116b35382fe292583a54d449f2528495032ca9724cfbdea82c226
DIST php-5.6.40.tar.xz 12472236 BLAKE2B f41147eaec9b15e965540f9e871691cc88848dd619bae6af85e7bba0130b71ce91bad5cdbbadbb537c42df83369f5c731007339a9d9e21e689e913c135201afc SHA512 997b5a952a60cf9166671cc91fcc34c674dd62bfd5cb0a9cdf3fdf2d088b5d19943d94c1cf193f8ab71fc4957d9a9a4c7c2fb8826f937501c1c0a0858f10e329
DIST php-7.0.32.tar.xz 12030780 BLAKE2B 0c277eac4c931a6e30954cceb7feef8dea1c3ef4aebac91779b7e1a6f90f608faa93d1750a2dc8f354c73304e0f7a9b9ac17bb0d1da4768ddb68925752c11aef SHA512 4a7c9a6b91ad7da69303916202062d639e6f02dcd483e851a44d8c7a2efeb5c9a666097935ab60d700c4445f86a0c68df1515300c57af1cdb76528b54b757608
DIST php-7.0.33.tar.xz 12033040 BLAKE2B cb7a4eb3ba8ede93ae8e85b6a11664f33654f7e94fa077ac9a33ab95157c0c2b3b05f98413e13e36f710c6d00b35d49d38bf26092a36e508b88805d092764287 SHA512 9298e185702ea801e9243671ecb0b781c2b04181a2f9fd6490bc14897a333a2c0cc88fe27b0c69c6dd0079629a71c330ed1aa337f48cac6cbd624addb8855500
DIST php-7.1.22.tar.xz 12227848 BLAKE2B 72fab94b1c7ecfd3479f6d6c9a76a9d8813f7789402664201615d79ab8b5bb26fb1b7273769c4898a36f0336e0ce4d50bf2f17b81ddb54acc9583e39623e3a5b SHA512 0fc0907d303711dbc4ba0a18618e3e73550c73d13988c769f8d50066017b1efe3feb0d22d5539f69271ea4e9532a3d997e22841cb59bdbf96313169e1c03538d
DIST php-7.1.23.tar.xz 12227528 BLAKE2B d03470b07ae041c4677e100c1b4f7994d3e15d4830eccba3c654c1f3546345c8205cac057011d2d43ab962ebbc01652f6748270daa40aa1e540453923500288c SHA512 d5a451f1a48415175e3117ffa84ef3504275a407698b59c13eeb403958aa27342e04dc4ffea9791b923ac0cc5d6fdacf2e8672f0e19755bae858707c7fc3627f
DIST php-7.1.24.tar.xz 12205112 BLAKE2B d4dd8bdd980cbb2c8cd813cad44da7a322d75641bb5f4eb986f6be44acf61898e64e43a3206da08b6c68fb1213a95cf5c6bf28bc75356d9abd9711330fa04554 SHA512 ee54d04fa1bb049807e7876baf6a4d12ab8360367bb44ac77c71e53ee8ca078342b4a86f2bc4587838ead27fb8204fea8e739bd582a9e146513ae5d465e59202
DIST php-7.1.25.tar.xz 12205972 BLAKE2B 3d69cc87d75ee45dc85e5e672ddb6c312fcba12882e227d28e397e1e796e0149588b9519beeb990111315a747a07fa5349ad5f9662c0725b4551478f9e95b51d SHA512 10a75b96d5fa104bc1d5b63f4606d9cfacfc594f7d6ab34f9c5e9e8f209b896516c4121b9cbd323a862724d6dfbd275ef902993cfab619d9a4b9518790b9147c
DIST php-7.1.26.tar.xz 12206956 BLAKE2B af78f764349a05905d7db22260c8a6415a2755b29e0dd01225160235b3b38ea76c8910d79c69798aa2de3fc6d4d41e45ab951161b54e62753111f81ac9d85bc2 SHA512 3c80dce2d5dcbf6f253ca4ca4e4ce01fdd3a3d31a6e6045f539fefadc1ea3c391d4d4995600a4ff758ab0361e0ec2244e2eaa6591ecb3e9b8e8a9c44f67a5b32
DIST php-7.2.10.tar.xz 12160864 BLAKE2B f1959a00622c1bd11fa87c61d152c802b307f0b9e89b51ed86b40086cda03eeb6652d47b59df8cc7c9b4e79ab687ae1292b978f453e9f07ac352d209b64c62d8 SHA512 aa90fce17034b2649012d66461626ae74c21ea938b1c71c7eb12419e562c641b432df87a7e900c245ad28df39624cf64a1b2f8ffb123608d94cd35e41f09c0fe
DIST php-7.2.11.tar.xz 12132268 BLAKE2B 8007f6a8f4236efb796681d25f2066deeba98e6e136def0c323aa13399951d58d7f218b3544b3bd0418dfe220f87a38b6515547c50f65c641bd09a2d440eb4e1 SHA512 0cd8578147d17d612e013dfc22b73977719177058b39c7b61dd0bfdfb8c2441aba78af49f58c824f7e66c89b5ad201c36fafb89ccf1e2d20f19b79d6a8fed7e5
DIST php-7.2.12.tar.xz 12141472 BLAKE2B 25d55fcbe63aab64c658e9c4ab52b552831d5c03a8887e1c64f0cadbb8b0d9f3c38cd5d15dac89002c328b737ad864fce392baa0891292ee77d1975562a2bc17 SHA512 bbeaed1278d0d2f1ecb2249dab1ebaab1489ef43be0797dac57d8b523d8e5d284166e6cbf52095f5d34eef447fbdeb0c6916caaa5770221a180ec064f4ffcad8
DIST php-7.2.13.tar.xz 12116484 BLAKE2B 00d265c10343e590772a4de103ae885149a56a7c0ef957cb24d5e81f86021231da5e75b655081e9fcba99b83956d55265b6af1d779ee65cebee9a974f936a634 SHA512 9df1d43e9cd701db10281811b328721b85cb90c6c8dae1842b0fd848cb5388328918b3040bbad7634b340550d82b93746ea479ed45f4d8a80e8a316e6324115d
DIST php-7.2.14.tar.xz 12156460 BLAKE2B 88727241ca3fd68238ce50dcb4c12868f8e6df54213b04dba7650c5f98c3f18a3d02e0a191c0ebd13d85c83cc686fef60135f69ca7cc3e425bd5d7f80035fdd7 SHA512 13f2c97b730e3e872bd24bcc004c6cff5e2cc633c37a4eb60b8b5d1d4454bc5985f7d52943448d61cf4a227c64be770edc5eadd2c9612b297d71c0840b4b1259
DIST php-7.3.0.tar.xz 11928820 BLAKE2B 36fee652cbbc28bbeb1b2df037b4b05084910d94af86c16150d776b82f91fb85691f9846c51538dbf6f3e64ece26894fe9c7a5f272d2848d41cdf8e1338b9805 SHA512 d991101eb833d3a47833aa930341e75c56f26c4cb0249896728ebe209c6c02af1704fccc3052128d8f9fdffc60dcef0ece38a532697131141946898d8b1abcda
DIST php-7.3.1.tar.xz 11944376 BLAKE2B 55b3192774c08b1e4c6621e16176a1e352ff6ba5540794a5d769b6416929723638f1409f2f8224c7fe3db99c9b020fa51db7b78d50eaa00e790308562a0a5334 SHA512 0663d90537fe3901cad00ba1056782050b8a61e8edb49f01851add4992df21d23aee3e9468e32b76b7f53ffd513f1ba10c9513c549e247d796416ed176355348

@ -0,0 +1,785 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit autotools flag-o-matic systemd
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://secure.php.net/"
SRC_URI="https://php.net/distributions/${P}.tar.xz
https://salsa.debian.org/php-team/php/raw/8149a436/debian/patches/0055-Use-OpenSSL-1.1-compatibility-patch-when-built-with-.patch?inline=false -> php-5.6-openssl-1.1-compatibility.patch"
LICENSE="PHP-3.01
BSD
Zend-2.0
bcmath? ( LGPL-2.1+ )
fpm? ( BSD-2 )
gd? ( gd )
unicode? ( BSD-2 LGPL-2.1 )"
SLOT="$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
# 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 libmysqlclient 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
sybase-ct sysvipc systemd tidy +tokenizer truetype unicode vpx wddx
+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]
fpm? ( 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:0= )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
cjk? ( !gd? (
virtual/jpeg:0
media-libs/libpng:0=
sys-libs/zlib:0=
) )
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:0=
) )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib:0= )
gdbm? ( >=sys-libs/gdbm-1.8.0: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] )
libmysqlclient? (
mysql? ( virtual/libmysqlclient:= )
mysqli? ( virtual/libmysqlclient:= )
)
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:0= )
)
sybase-ct? ( dev-db/freetds )
tidy? ( app-text/htmltidy )
truetype? (
=media-libs/freetype-2*
>=media-libs/t1lib-5.0.0
!gd? (
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib:0= )
)
unicode? ( dev-libs/oniguruma:= )
vpx? ( media-libs/libvpx:0= )
wddx? ( >=dev-libs/libxml2-2.6.8 )
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:0=
)
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( sys-libs/zlib:0= )
zlib? ( sys-libs/zlib:0= )
"
RDEPEND="${COMMON_DEPEND}
virtual/mta
fpm? (
selinux? ( sec-policy/selinux-phpfpm )
systemd? ( sys-apps/systemd ) )"
DEPEND="${COMMON_DEPEND}
app-arch/xz-utils
>=sys-devel/bison-3.0.1
sys-devel/flex
>=sys-devel/m4-1.4.3
>=sys-devel/libtool-1.5.18"
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
REQUIRED_USE="
|| ( cli cgi fpm apache2 embed )
cli? ( ^^ ( readline libedit ) )
truetype? ( gd zlib )
vpx? ( gd zlib )
cjk? ( gd zlib )
exif? ( gd zlib )
xpm? ( gd zlib )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
wddx? ( xml )
xmlrpc? ( || ( xml iconv ) )
xmlreader? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
mhash? ( hash )
phar? ( hash )
recode? ( !imap !mysql !mysqli !libmysqlclient )
libmysqlclient? ( || (
mysql
mysqli
pdo
) )
qdbm? ( !gdbm )
readline? ( !libedit )
sharedmem? ( !threads )
"
PHP_MV="$(ver_cut 1)"
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 file php-fpm.conf"
insinto "${PHP_INI_DIR#${EPREFIX}}"
doins sapi/fpm/php-fpm.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() {
eapply "${FILESDIR}/php-${SLOT}-no-bison-warnings.patch"
eapply "${FILESDIR}/5.6-mbstring-oniguruma-6.8.patch"
eapply "${DISTDIR}/php-5.6-openssl-1.1-compatibility.patch"
eapply "${FILESDIR}/php-5.6-intl-detect-icu-via-pkg-config.patch"
eapply "${FILESDIR}/php-5.6-intl-use-icu-namespace.patch"
eapply "${FILESDIR}/php-5.6-intl-icu-memory-corruption.patch"
eapply "${FILESDIR}/php-freetype-2.9.1.patch"
# Change PHP branding
# Get the alpha/beta/rc version
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
-i configure.in || die "Unable to change PHP branding"
# Patch PHP to show Gentoo as the server platform
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
-i configure.in || die "Failed to fix server platform name"
# Prevent PHP from activating the Apache config,
# as we will do that ourselves
sed -i \
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 \
|| die
# Patch PHP to support heimdal instead of mit-krb5
if has_version "app-crypt/heimdal" ; then
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|| die "Failed to fix heimdal libname"
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|| die "Failed to fix heimdal crypt library reference"
fi
eapply_user
# Force rebuilding aclocal.m4
rm -f aclocal.m4 || die "failed to remove aclocal.m4 in src_prepare"
mv configure.in configure.ac || die
eautoreconf
if [[ ${CHOST} == *-darwin* ]] ; then
# http://bugs.php.net/bug.php?id=48795, bug #343481
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
fi
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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_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 || use elibc_FreeBSD || 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 mssql mssql "${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_with sybase-ct sybase-ct "${EPREFIX}/usr")
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(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_with truetype t1lib "${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")
$(use_with vpx vpx-dir "${EPREFIX}/usr")
)
# 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"
use libmysqlclient && mysqllib="${EPREFIX}/usr"
use libmysqlclient && mysqlilib="${EPREFIX}/usr/bin/mysql_config"
our_conf+=( $(use_with mysql mysql "${mysqllib}") )
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)
$(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)
if [[ "${one_sapi}" == "${sapi}" ]] ; then
sapi_conf+=( "--enable-${sapi}" )
if [[ "fpm" == "${sapi}" ]] ; then
sapi_conf+=(
$(use_with acl fpm-acl)
$(use_with systemd fpm-systemd)
)
fi
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 #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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 #nowarn
# 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/libphp5$(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)"
;;
*)
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/cgi/php-cgi" ]] ; then
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
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
}

@ -0,0 +1,736 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic systemd autotools
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://secure.php.net/"
SRC_URI="https://secure.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="$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 session-mm 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]
fpm? ( 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:0= )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
coverage? ( dev-util/lcov )
crypt? ( >=dev-libs/libmcrypt-2.4 )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( <app-text/enchant-2.0:0 )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0: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 )
session-mm? ( 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:0= )
)
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
truetype? ( =media-libs/freetype-2* )
unicode? ( dev-libs/oniguruma:= )
wddx? ( >=dev-libs/libxml2-2.6.8 )
webp? ( media-libs/libwebp:0= )
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 )
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( sys-libs/zlib:0= )
zlib? ( sys-libs/zlib:0= )
"
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 cgi fpm apache2 embed phpdbg )
cli? ( ^^ ( readline libedit ) )
truetype? ( gd zlib )
webp? ( gd zlib )
cjk? ( gd zlib )
exif? ( gd zlib )
xpm? ( gd zlib )
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 !mysql )
session-mm? ( session !threads )
mysql? ( hash || ( mysqli pdo ) )
mysqli? ( hash )
"
PATCHES=(
"${FILESDIR}/php-freetype-2.9.1.patch"
"${FILESDIR}/php-7.1.25-intl-detect-icu-via-pkg-config.patch"
"${FILESDIR}/php-7.1.25-intl-use-icu-namespace.patch"
)
PHP_MV="$(ver_cut 1)"
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'
# Bug 669566 - necessary so that build tools are updated for commands like pecl
# Force rebuilding aclocal.m4
rm -f aclocal.m4 || die "failed to remove aclocal.m4 in src_prepare"
eautoreconf
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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_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 || use elibc_FreeBSD || 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 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 session-mm 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}" )
if [[ "fpm" == "${sapi}" ]] ; then
sapi_conf+=(
$(use_with acl fpm-acl)
$(use_with systemd fpm-systemd)
)
fi
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 #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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 #nowarn
# 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
}

@ -0,0 +1,748 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic systemd autotools
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://secure.php.net/"
SRC_URI="https://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="$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 argon2 bcmath berkdb bzip2 calendar cdb cjk
coverage +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 lmdb
mhash mssql mysql mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline recode selinux +session session-mm sharedmem
+simplexml snmp soap sockets sodium spell sqlite ssl
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode wddx webp
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zip-encryption 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]
fpm? ( acl? ( sys-apps/acl ) )
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
<www-servers/apache-2.4[threads=] ) )
argon2? ( app-crypt/argon2:= )
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:0= )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
coverage? ( dev-util/lcov )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( <app-text/enchant-2.0:0 )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
gdbm? ( >=sys-libs/gdbm-1.8.0: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 ) )
lmdb? ( dev-db/lmdb:= )
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 )
session-mm? ( dev-libs/mm )
simplexml? ( >=dev-libs/libxml2-2.6.8 )
snmp? ( >=net-analyzer/net-snmp-5.2 )
soap? ( >=dev-libs/libxml2-2.6.8 )
sodium? ( dev-libs/libsodium:= )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
tokyocabinet? ( dev-db/tokyocabinet )
truetype? ( =media-libs/freetype-2* )
unicode? ( dev-libs/oniguruma:= )
wddx? ( >=dev-libs/libxml2-2.6.8 )
webp? ( media-libs/libwebp:0= )
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 )
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( sys-libs/zlib:0= )
zip-encryption? ( >=dev-libs/libzip-1.2.0:= )
zlib? ( sys-libs/zlib:0= )
"
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 cgi fpm apache2 embed phpdbg )
cli? ( ^^ ( readline libedit ) )
truetype? ( gd zlib )
webp? ( gd zlib )
cjk? ( gd zlib )
exif? ( gd zlib )
xpm? ( gd zlib )
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 !mysql )
session-mm? ( session !threads )
mysql? ( hash || ( mysqli pdo ) )
mysqli? ( hash )
zip-encryption? ( zip )
"
PATCHES=(
"${FILESDIR}/php-freetype-2.9.1.patch"
"${FILESDIR}/php-7.1.25-intl-detect-icu-via-pkg-config.patch"
"${FILESDIR}/php-7.2.13-intl-use-icu-namespace.patch"
)
PHP_MV="$(ver_cut 1)"
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'
# Bug 669566 - necessary so that build tools are updated for commands like pecl
# Force rebuilding aclocal.m4
rm -f aclocal.m4 || die "failed to remove aclocal.m4 in src_prepare"
eautoreconf
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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 argon2 password-argon2 "${EPREFIX}/usr")
$(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 || use elibc_FreeBSD || 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 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 sodium sodium "${EPREFIX}/usr")
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(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 zip-encryption libzip "${EPREFIX}/usr")
$(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 || use lmdb || use tokyocabinet ; 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")
$(use_with lmdb lmdb "${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 session-mm 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
# --with-pcre-valgrind cannot be enabled with system pcre
# Many arches don't support pcre-jit
our_conf+=(
--with-pcre-regex="${EPREFIX}/usr"
--with-pcre-dir="${EPREFIX}/usr"
--without-pcre-valgrind
--without-pcre-jit
)
# 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}" )
if [[ "fpm" == "${sapi}" ]] ; then
sapi_conf+=(
$(use_with acl fpm-acl)
$(use_with systemd fpm-systemd)
)
fi
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 #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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 #nowarn
# 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
}

@ -0,0 +1,748 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic eapi7-ver systemd autotools
MY_PV=${PV/_rc/RC}
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://secure.php.net/"
SRC_URI="https://secure.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="$(ver_cut 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
S="${WORKDIR}/${PN}-${MY_PV}"
# 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 argon2 bcmath berkdb bzip2 calendar cdb cjk
coverage +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 lmdb
mhash mssql mysql mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline recode selinux +session session-mm sharedmem
+simplexml snmp soap sockets sodium spell sqlite ssl
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode wddx webp
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zip-encryption 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/libpcre2-10.30[unicode]
fpm? ( acl? ( sys-apps/acl ) )
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
<www-servers/apache-2.4[threads=] ) )
argon2? ( app-crypt/argon2:= )
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:0= )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
coverage? ( dev-util/lcov )
curl? ( >=net-misc/curl-7.10.5 )
enchant? ( <app-text/enchant-2.0:0 )
firebird? ( dev-db/firebird )
gd? ( virtual/jpeg:0 media-libs/libpng:0= >=sys-libs/zlib-1.2.0.4 )
gdbm? ( >=sys-libs/gdbm-1.8.0: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 ) )
lmdb? ( dev-db/lmdb:= )
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 )
session-mm? ( dev-libs/mm )
simplexml? ( >=dev-libs/libxml2-2.6.8 )
snmp? ( >=net-analyzer/net-snmp-5.2 )
soap? ( >=dev-libs/libxml2-2.6.8 )
sodium? ( dev-libs/libsodium:= )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? (
!libressl? ( >=dev-libs/openssl-1.0.1:0= )
libressl? ( dev-libs/libressl:0= )
)
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
tokyocabinet? ( dev-db/tokyocabinet )
truetype? ( =media-libs/freetype-2* )
unicode? ( dev-libs/oniguruma:= )
wddx? ( >=dev-libs/libxml2-2.6.8 )
webp? ( media-libs/libwebp:0= )
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 )
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
zip? ( >=sys-libs/zlib-1.2.0.4:0= )
zip-encryption? ( >=dev-libs/libzip-1.2.0:= )
zlib? ( >=sys-libs/zlib-1.2.0.4:0= )
"
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 cgi fpm apache2 embed phpdbg )
cli? ( ^^ ( readline libedit ) )
truetype? ( gd zlib )
webp? ( gd zlib )
cjk? ( gd zlib )
exif? ( gd zlib )
xpm? ( gd zlib )
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 !mysql )
session-mm? ( session !threads )
mysql? ( || ( mysqli pdo ) )
zip-encryption? ( zip )
"
PATCHES=(
"${FILESDIR}/php-freetype-2.9.1.patch"
)
PHP_MV="$(ver_cut 1)"
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'
# Bug 669566 - necessary so that build tools are updated for commands like pecl
# Force rebuilding aclocal.m4
rm -f aclocal.m4 || die "failed to remove aclocal.m4 in src_prepare"
eautoreconf
}
src_configure() {
addpredict /usr/share/snmp/mibs/.index #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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 argon2 password-argon2 "${EPREFIX}/usr")
$(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 || use elibc_FreeBSD || 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 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 sodium sodium "${EPREFIX}/usr")
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(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 zip-encryption libzip "${EPREFIX}/usr")
$(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 || use lmdb || use tokyocabinet ; 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")
$(use_with lmdb lmdb "${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 session-mm 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
# --with-pcre-valgrind cannot be enabled with system pcre
# Many arches don't support pcre-jit
our_conf+=(
--with-pcre-regex="${EPREFIX}/usr"
--with-pcre-dir="${EPREFIX}/usr"
--without-pcre-valgrind
--without-pcre-jit
)
# 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}" )
if [[ "fpm" == "${sapi}" ]] ; then
sapi_conf+=(
$(use_with acl fpm-acl)
$(use_with systemd fpm-systemd)
)
fi
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 #nowarn
addpredict /var/lib/net-snmp/mib_indexes #nowarn
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 #nowarn
# 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,5 +1,4 @@
DIST vala-0.32.1.tar.xz 2759528 BLAKE2B cce23844ee5769216ef5cccb20476f4bdd2cb809a226236dd8a6bd533bb8ceb5b87add1d4d1c9eec60e0a94e64cafafcd1f46b2b2ae12fc951515fe8571e2195 SHA512 d59db1bd9132f93f187c30ccabff9d21fe8685293a6494e5b009d883de4f844cc4b8dc5d3b6eb4e026a93490f2e4ff7ba83ff22a093c6f8f85e68d83f5fe1bb0
DIST vala-0.34.16.tar.xz 2795676 BLAKE2B 64428099c209e13a6aad09233af650f412efa191ff4873fae1dbfb9bcc252e13d4e152733c9f199cd23323872fd912807a685980f651c1f784bfaffae7bf4162 SHA512 6411d55524a6c717c2eaf5cc1231ac931400e3f66d151a8b8856910258eb5bd7affe3a90946de34feb51aabfafce721b8d57f61e0475095b275d20b73cc4bbec
DIST vala-0.34.9.tar.xz 2783952 BLAKE2B e90728075ac546e8abc125886182abd5fc357be5138bfea1ed058f41bf07968e55e032469cc068cefdb6a4d53f1c029ca7e728c57b00f6b9845e32c4410e8258 SHA512 8128dfbb50d0db2317feb4a358310de972ecb6f4dccaceb4d55cf3a024f4d83422e3137c92238e1a0a0b4766367ad307909a1310445017c71944ac30fc68d01f
DIST vala-0.36.15.tar.xz 2880300 BLAKE2B ea83bde6396f3be1c96038d63ae30b18fa070a6f7a06b75569bfed9d7792c898201a1f24d000f5b6415bb890cf975758341a97f22db74da02fcbeb3f283e546f SHA512 1c8f888832b2dd4248737a5a27f00f42d8bab2fe0a0790a7df5c426f4e3e1d0919ed0f6f6fd905be758ed477ba840e18f608e67811389c811ba65710094abe61
DIST vala-0.36.17.tar.xz 2898524 BLAKE2B 4a5a373bacd4e4a392350c7819e0498054e38f50dce89658412d7aeb5642892ef9f32a7689ebd45f53c41f064e0b6d2f52fb441be67a1dd48e67311a1e764637 SHA512 93d4fa600cd0ef62b71ed056b837f2c0a42c3aba25b021b2bbd2045428550307727827b250dae546926ea3fe2e33a5ac80c9b24b5100f02550ec584dd5da5e92

@ -1,36 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2
DESCRIPTION="Compiler for the GObject type system"
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
LICENSE="LGPL-2.1"
SLOT="0.34"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
IUSE="test"
RDEPEND="
>=dev-libs/glib-2.32:2
>=dev-libs/vala-common-${PV}
"
DEPEND="${RDEPEND}
!${CATEGORY}/${PN}:0
dev-libs/libxslt
sys-devel/flex
virtual/pkgconfig
virtual/yacc
test? (
dev-libs/dbus-glib
>=dev-libs/glib-2.26:2
dev-libs/gobject-introspection )
"
src_configure() {
# bug 483134
export GIT_CEILING_DIRECTORIES="${WORKDIR}"
gnome2_src_configure --disable-unversioned
}

Binary file not shown.

@ -1,2 +1,3 @@
DIST capstone-3.0.5_rc2.tar.gz 2829338 BLAKE2B dd35fc6c31ec008f78840410ea0d20de56ea8f01c3af1d28488beaceee7fa06ce03c8cd0f56d834eb738d23f528d240693586122b9c1e353365f7348fb6f8362 SHA512 31bafdb0b3183d0c054a4244cc135db9a3c3dc5cb2e2af706bfede0d53cca8cba81d74b74ef9a4adbfd6c79cc408864dd80b8203791e17bd6c98bb69ea4f6894
DIST capstone-4.0.1.tar.gz 3434276 BLAKE2B 585e0ee19b76d96116c67b021bbe19fd01d8db600b565094ff71a01d8a87b1123a8c5e2f944f1551c411565d5a25dfbfbb3138ca220b1281044a31004002399e SHA512 43c52024065b41b45eff9423341db3f3d5163fa7aa01b360faa30437786740c8f2c34c36faa04dced5308e09d8bd78df3bad0ab9c06f98612169edb176f83c36
DIST capstone-4.0.tar.gz 3411532 BLAKE2B 3e60a946e81f6d6ea88c314ad066e1855e2401cd9e8e61a67d48071b0fe4b705b2276b0d2b52d0979f472895a69cbe7609f6a2c60b79be668730f41ea98bf92e SHA512 5a10c67e88b246ad905364c62c56b4741df242c22f1b62bdea171e4d1d43e484f42f30b33e17324be6cff4c6fb10365528a9c3f4b2a5339ad24b0564fdd40bdb

@ -0,0 +1,84 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1 toolchain-funcs
DESCRIPTION="disassembly/disassembler framework + bindings"
HOMEPAGE="http://www.capstone-engine.org/"
SRC_URI="https://github.com/aquynh/${PN}/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/4" # libcapstone.so.4
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="python"
RDEPEND="python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
PATCHES=(
"${FILESDIR}"/${PN}-4.0-FLAGS.patch
"${FILESDIR}"/${PN}-4.0-no-fuzz-tests.patch
)
S=${WORKDIR}/${P/_rc/-rc}
wrap_python() {
if use python; then
pushd bindings/python >/dev/null || die
distutils-r1_${1} "$@"
popd >/dev/null
fi
}
src_prepare() {
default
wrap_python ${FUNCNAME}
}
src_configure() {
{
cat <<-EOF
# Gentoo overrides:
# verbose build
V = 1
# toolchain
AR = $(tc-getAR)
CC = $(tc-getCC)
RANLIB = $(tc-getRANLIB)
# toolchain flags
CFLAGS = ${CFLAGS}
LDFLAGS = ${LDFLAGS}
# libs
LIBDIRARCH = $(get_libdir)
EOF
} >> config.mk || die
wrap_python ${FUNCNAME}
}
src_compile() {
default
wrap_python ${FUNCNAME}
}
src_test() {
default
wrap_python ${FUNCNAME}
}
src_install() {
default
wrap_python ${FUNCNAME}
}

@ -1,5 +1,2 @@
DIST leatherman-1.3.0.tar.gz 434229 BLAKE2B e0c19bca2378afc4928554ac0862543504ba725aadc6cffd78220f7f7f1b725cad960fc6d9fdd2d54a43c233b35959ebcb9c71d1191a5535703599fa32e3301e SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b
DIST leatherman-1.4.4.tar.gz 814289 BLAKE2B d53ff660e28eaea1c11f95cc70348a2a5883e0dc5ae56482b0afe96e61938e4d15688f8abf9783976443c00b6a69e9037b5080194babb97200e25e2c548b9153 SHA512 a1955a3f7a7fd190f7d85ad07e30dee74b0f4b7ed670a4a9a7613317d2898faf776cbed0c5c7b6da25ddd5099c9638e9abb2aca16aec61c568fc2f8c9789ffe4
DIST leatherman-1.5.2.tar.gz 814349 BLAKE2B 1bc2d85426683e9f82d31ba9e3b63b4c9185b0bfa5ae832ea252ecbd922b44dfa67b6011145489d5c5809a76011aef8b143f6b705ea0436d914fc0d8ca8091a2 SHA512 9cef854fd7a95c54fcfc2e639e469dfaa4625757ea8aceeb9ac2162bfc89cbcbc1d5e8217af5f1fad4f31d98528475e22157ca6b1046a36e0928074f866ddafd
DIST leatherman-1.5.3.tar.gz 814340 BLAKE2B 7dec42f1a62511a4f63ca197212f3b81f5baa862b0a7f825c2caa7e9af6bdd15e7b5aad39649d7e5dbb6bd62df19895bbf851421f9aa2795ced785c2e28bcdcf SHA512 e2616a42c6879755f338f9f0291bf28c7465d51caa3326be521ae3e0d5d79e82099c8720dc19223ad9112cde81c4579faf28a2b467f802baefc99dd59212b818
DIST leatherman-1.5.4.tar.gz 814395 BLAKE2B 251cacad45e1571d54e7b78201bb0b3578d983022267bfd3438e921f93ba466995629759d9657c71938a5866fc13d1b70dabe2f3a43137ef52164f67da3a8aa5 SHA512 67a3a0a946024d0cee44ccb314d13abb3df83d7c7d0bfe58d5e966d57ef26240dc011a8e6865f017674a00043429379ae9e033a9197c4173c3fa173918d0b0f9

@ -1,58 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
IUSE="debug static-libs test"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
SLOT="0/${PV}"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54:=[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
)
if ! use static-libs; then
mycmakeargs+=(
-DLEATHERMAN_SHARED=ON
)
else
mycmakeargs+=(
-DLEATHERMAN_SHARED=OFF
)
fi
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
"${WORKDIR}/${P}"_build/bin/leatherman_test
}
src_install() {
cmake-utils_src_install
}

@ -1,58 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
IUSE="debug static-libs test"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
SLOT="0/${PV}"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54:=[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
)
if ! use static-libs; then
mycmakeargs+=(
-DLEATHERMAN_SHARED=ON
)
else
mycmakeargs+=(
-DLEATHERMAN_SHARED=OFF
)
fi
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
"${WORKDIR}/${P}"_build/bin/leatherman_test
}
src_install() {
cmake-utils_src_install
}

@ -1,58 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
IUSE="debug static-libs test"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
SLOT="0/${PV}"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54:=[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
)
if ! use static-libs; then
mycmakeargs+=(
-DLEATHERMAN_SHARED=ON
)
else
mycmakeargs+=(
-DLEATHERMAN_SHARED=OFF
)
fi
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
"${WORKDIR}/${P}"_build/bin/leatherman_test
}
src_install() {
cmake-utils_src_install
}

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -11,7 +11,7 @@ SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
IUSE="debug static-libs test"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
SLOT="0/${PV}"
RDEPEND="net-misc/curl"

Binary file not shown.

@ -7,7 +7,7 @@ EAPI=6
# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead.
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
inherit distutils-r1
inherit distutils-r1 toolchain-funcs
DESCRIPTION="Foreign Function Interface for Python calling C code"
HOMEPAGE="https://cffi.readthedocs.io/ https://pypi.org/project/cffi/"
@ -29,6 +29,10 @@ DEPEND="${RDEPEND}
# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
DISTUTILS_IN_SOURCE_BUILD=1
src_configure() {
tc-export PKG_CONFIG
}
python_compile_all() {
use doc && emake -C doc html
}

@ -0,0 +1,28 @@
diff -Naur a/setup.py b/setup.py
--- a/setup.py 2019-01-06 12:12:16.000000000 +0000
+++ b/setup.py 2019-01-08 23:04:45.574698210 +0000
@@ -197,12 +197,13 @@
def _pkg_config(name):
try:
+ command = os.environ.get('PKG_CONFIG', 'pkg-config')
command_libs = [
- 'pkg-config',
+ command,
'--libs-only-L', name,
]
command_cflags = [
- 'pkg-config',
+ command,
'--cflags-only-I', name,
]
if not DEBUG:
@@ -298,7 +299,7 @@
_add_directory(include_dirs, "src/libImaging")
pkg_config = None
- if _cmd_exists('pkg-config'):
+ if _cmd_exists(os.environ.get('PKG_CONFIG', 'pkg-config')):
pkg_config = _pkg_config
#

@ -0,0 +1,12 @@
diff -Naur a/setup.py b/setup.py
--- a/setup.py 2019-01-08 23:06:33.082873069 +0000
+++ b/setup.py 2019-01-08 23:06:47.707165225 +0000
@@ -356,7 +356,7 @@
for d in os.environ[k].split(os.path.pathsep):
_add_directory(library_dirs, d)
- prefix = sysconfig.get_config_var("prefix")
+ prefix = None
if prefix:
_add_directory(library_dirs, os.path.join(prefix, "lib"))
_add_directory(include_dirs, os.path.join(prefix, "include"))

@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
PYTHON_REQ_USE='tk?,threads(+)'
inherit distutils-r1 virtualx
inherit distutils-r1 toolchain-funcs virtualx
MY_PN=Pillow
MY_P=${MY_PN}-${PV}
@ -47,7 +47,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/${PN}-5.2.0-fix-lib-paths.patch"
"${FILESDIR}"/${PN}-5.4.1-{pkg-config,toolchain-paths}.patch
)
python_configure_all() {
@ -66,6 +66,17 @@ python_configure_all() {
$(use_enable webp webpmux)
$(use_enable zlib)
)
# setup.py sucks at adding the right toolchain paths but it does
# accept additional ones from INCLUDE and LIB so set these. You
# wouldn't normally need these at all as the toolchain should look
# here anyway but this setup.py does stupid things.
export \
INCLUDE=${ESYSROOT}/usr/include \
LIB=${ESYSROOT}/usr/$(get_libdir)
# We have patched in this env var.
tc-export PKG_CONFIG
}
python_compile_all() {

@ -0,0 +1,43 @@
From ced6051f4a4559a725804cc58c079e1efea0a573 Mon Sep 17 00:00:00 2001
From: Markus Koschany <apo@debian.org>
Date: Sat, 11 Nov 2017 23:00:25 +0100
Subject: [PATCH] Fix build failure due to the removal of MIX_INIT_MODPLUG and
the replacement of
MIX_INIT_FLUIDSYNTH with MIX_INIT_MID.
---
include/sdl2_mixer.pxd | 3 +--
src/pygame_sdl2/mixer.pyx | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/sdl2_mixer.pxd b/include/sdl2_mixer.pxd
index 0cea395..4bb0187 100644
--- a/include/sdl2_mixer.pxd
+++ b/include/sdl2_mixer.pxd
@@ -18,10 +18,9 @@ cdef extern from "SDL_mixer.h" nogil:
ctypedef enum MIX_InitFlags:
MIX_INIT_FLAC
MIX_INIT_MOD
- MIX_INIT_MODPLUG
MIX_INIT_MP3
MIX_INIT_OGG
- MIX_INIT_FLUIDSYNTH
+ MIX_INIT_MID
int Mix_Init(int flags)
void Mix_Quit()
diff --git a/src/pygame_sdl2/mixer.pyx b/src/pygame_sdl2/mixer.pyx
index 3c5e185..bea5cbf 100644
--- a/src/pygame_sdl2/mixer.pyx
+++ b/src/pygame_sdl2/mixer.pyx
@@ -81,8 +81,8 @@ def init(frequency=22050, size=MIX_DEFAULT_FORMAT, channels=2, buffer=4096):
if get_init() is not None:
return
- for flag in (MIX_INIT_FLAC, MIX_INIT_MOD, MIX_INIT_MODPLUG,
- MIX_INIT_MP3, MIX_INIT_OGG, MIX_INIT_FLUIDSYNTH):
+ for flag in (MIX_INIT_FLAC, MIX_INIT_MOD,
+ MIX_INIT_MP3, MIX_INIT_OGG, MIX_INIT_MID):
if Mix_Init(flag) != flag:
errors.append("{}\n".format(SDL_GetError()))

@ -0,0 +1,44 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
PYSDL="${PN}-2.1.0"
DESCRIPTION="Reimplementation of portions of the pygame API using SDL2"
HOMEPAGE="https://github.com/renpy/pygame_sdl2"
SRC_URI="http://www.renpy.org/dl/${PV}/${PYSDL}-for-renpy-${PV}.tar.gz"
LICENSE="LGPL-2.1 ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
media-libs/libpng:0
media-libs/libsdl2[video]
media-libs/sdl2-image[png,jpeg]
>=media-libs/sdl2-mixer-2.0.2
media-libs/sdl2-ttf
virtual/jpeg:62
"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PYSDL}-for-renpy-${PV}
PATCHES=( "${FILESDIR}/pygame_sdl2-6.99.12.4-mixer.patch" )
# PyGame distribution for this version has some pregenerated files;
# we need to remove them
python_prepare_all()
{
rm -r "${S}"/gen{,3} || die
distutils-r1_python_prepare_all
}

@ -49,6 +49,8 @@ src_prepare() {
src_configure() {
configuration() {
local incdir=$(python_get_includedir)
if ! python_is_python3; then
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
fi
@ -56,9 +58,10 @@ src_configure() {
local myconf=(
"${PYTHON}"
"${S}"/configure.py
--sysroot="${ESYSROOT}/usr"
--bindir="${EPREFIX}/usr/bin"
--destdir="$(python_get_sitedir)"
--incdir="$(python_get_includedir)"
--incdir="${incdir#${SYSROOT}}"
$(usex debug --debug '')
AR="$(tc-getAR) cqs"
CC="$(tc-getCC)"

Binary file not shown.

@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"

@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc"

@ -1 +1,2 @@
DIST celluloid-0.17.3.gem 61952 BLAKE2B 5b64b67dea84261706acaf2612c23cb0b82d6af7fe0eece9d9e17e5d948d83a81b0de7598a1709fb5e1073f3632c7df6d6730c4797e0a4da593795b85c3bf9e1 SHA512 bb5005452ef7a2da1fb6b6515a6ad9df992dfd043caa605d1282a24b874c1f0798da0d19ee00f434486f9ef2c9467b1d6d2cadaa7883db98b885eeb842f1b94c
DIST celluloid-0.17.4.gem 61952 BLAKE2B e6432f76aa2548f9b734502954cae7aaaa2cc6658ae644591fe22bd25e53e4eb88ef81f41416162c7478a77622f400040695861f9557578c029c3860cdb800b5 SHA512 ab876a12db908d0b14b9a701bbf7c2530188559cb60b1832e76642fae843f4eca9f4790a60ff88dda8ff92f7051f2df222c19cdec77666fc2e8d6d15adbba793

@ -0,0 +1,54 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# ruby25: fails tests
USE_RUBY="ruby23 ruby24"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
# Needed by packages writing specs for celluloid
RUBY_FAKEGEM_EXTRAINSTALL="spec"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
inherit ruby-fakegem
DESCRIPTION="Provides a simple and natural way to build fault-tolerant concurrent programs"
HOMEPAGE="https://github.com/celluloid/celluloid"
IUSE=""
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
ruby_add_rdepend "
dev-ruby/celluloid-essentials
dev-ruby/celluloid-extras
dev-ruby/celluloid-fsm
dev-ruby/celluloid-pool
dev-ruby/celluloid-supervision
>=dev-ruby/timers-4.1.1"
ruby_add_bdepend "test? (
dev-ruby/dotenv
dev-ruby/nenv
dev-ruby/rspec-retry
)"
all_ruby_prepare() {
sed -i -e '/[Bb]undler/d' -e '/coveralls/I s:^:#:' spec/spec_helper.rb || die
sed -i -e '1irequire "spec_helper"' spec/celluloid/actor/system_spec.rb || die
sed -i -e '1irequire "pathname"' spec/spec_helper.rb || die
mkdir log || die
}
each_ruby_prepare() {
case ${RUBY} in
*ruby24)
sed -i -e '/String expected, but Fixnum received/ s/Fixnum/Integer/' spec/shared/actor_examples.rb || die
;;
esac
}

@ -0,0 +1,35 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="Loads environment variables from .env into ENV"
HOMEPAGE="https://github.com/bkeepers/dotenv"
SRC_URI="https://github.com/bkeepers/dotenv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="2"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/spring dev-ruby/rails )"
all_ruby_prepare() {
sed -i -e '/:guard/,/end/ s:^:#:' \
-e '5igem "rspec", "~> 3.0"' Gemfile || die
sed -i -e '/rubocop/ s:^:#:' -e 's/git ls-files/find/' dotenv.gemspec || die
}
each_ruby_prepare() {
sed -i -e "s:ruby -v:${RUBY} -v:g" spec/dotenv/parser_spec.rb || die
}

@ -1,13 +1,15 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
RUBY_FAKEGEM_RECIPE_TEST="none"
RUBY_FAKEGEM_EXTRAINSTALL="data"
inherit ruby-fakegem

@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc"

@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"

@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
# Skip tests since they require unpackaged sequel
RUBY_FAKEGEM_RECIPE_TEST="none"

@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"

@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_TASK_DOC=""

@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRAINSTALL="data"

@ -1,10 +1,10 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_TEST="rspec"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="Changelog.md README.markdown"

@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"

@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
@ -23,7 +23,7 @@ ruby_add_rdepend ">=dev-ruby/rspec-core-3.0.0 >=dev-ruby/rspec-expectations-3.0.
each_ruby_prepare() {
case ${RUBY} in
*ruby24|*ruby25)
*ruby24|*ruby25|*ruby26)
sed -i -e 's/Fixnum/Integer/' spec/rspec/its_spec.rb || die
;;
esac

Binary file not shown.

@ -9,7 +9,7 @@ if [[ ${PV} = *9999* ]]; then
inherit git-r3
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x64-macos ~x64-solaris"
fi
inherit distutils-r1 toolchain-funcs

Binary file not shown.

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

Loading…
Cancel
Save