Sync with portage [Sun Nov 7 21:40:17 MSK 2021].

akrasnyh 2123
root 2 years ago
parent 893669ac06
commit d25c6a8a0c

Binary file not shown.

Binary file not shown.

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>systemd@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -0,0 +1,8 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit acct-group
ACCT_GROUP_ID=66

Binary file not shown.

@ -1,2 +1 @@
DIST mcelog-178.tar.gz 315460 BLAKE2B 65d424f70c615a694dfb18a0d7049965280141858a2c527fbe1db806d675785a0edba161dd6ac4bf6660e1bb2334d394f98bc85058c17d79b2c25106297ae95e SHA512 f024908c877b489148e23bbb8b34d587d1b88e13e43bb401b4594eafb577a24a4b478fd4aa7e221d2d9e633b509b641123418dc36a52425193083d26d2ca60bb
DIST mcelog-179.tar.gz 315590 BLAKE2B 14de21330af412847ba627fccd41d20bdeb0f2f926ca81e7a564c4915cedccb8a2fe7c97227527a73ee0bfcc14757c30f67df47f26890319f4f6dae44551df4f SHA512 f9384abba55d5e6b181786feb28c72ba813d1d7b672b948f2e5c6cd6eaa11dd2ae6597301cd812f45a162f12fdabf7cb670daa325e5ab0cd072d99a880917981

@ -1,52 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-info systemd toolchain-funcs
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
HOMEPAGE="http://mcelog.org/"
SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="selinux"
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
# TODO: add mce-inject to the tree to support test phase
RESTRICT="test"
pkg_pretend() {
if [[ ${MERGE_TYPE} != buildonly ]]; then
local CONFIG_CHECK="~X86_MCE"
kernel_is -ge 4 12 && CONFIG_CHECK+=" ~X86_MCELOG_LEGACY"
check_extra_config
fi
}
src_prepare() {
eapply "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
"${FILESDIR}"/${PN}-129-debugflags.patch
eapply_user
tc-export CC
}
src_install() {
default
insinto /etc/logrotate.d/
newins ${PN}.logrotate ${PN}
newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
systemd_dounit ${PN}.service
dodoc *.pdf
}
pkg_postinst() {
einfo "The default configuration set is now installed in /etc/${PN}"
einfo "you might want to edit those files."
}

@ -11,7 +11,7 @@ SRC_URI="https://github.com/andikleen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="selinux"
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"

@ -1167,6 +1167,7 @@ DIST sigs.k8s.io%2Fyaml%2F@v%2Fv1.1.0.zip 18120 BLAKE2B 244d3089322264e2fab71fa2
DIST terraform-0.14.10.tar.gz 2800197 BLAKE2B 46cf7abb960bb475d3042983d1e47d4f745e0444797034b82ee6416054baf5fe37eba8339325a014b3aae62028eb4f4c8203c6b9d0f1b45b02104763117fbf52 SHA512 639c6d4b517ac929204b4f74c5d649a141102117296a4ea81d250ea56bd47297ca3f00e8582dc7536bb324770f1d2c8d089bc10b4ff260fa69895e7c6205d80d
DIST terraform-0.15.5.tar.gz 2885932 BLAKE2B 997ae485ff395d2174ef2265559cff4321545e63b1b7f7eba55da6b1cacfa4c5922eaf75dea220688a126bb7f1b093f884cb67e60bea1de943a9d715b9a7daf2 SHA512 d8636e2adfca58be42f88469759aede0f2d71b824fea187d67ef198d21742bc0198ad721f636f166523e0b7a92f10fdea9b445ff142464a148888110bd10a8de
DIST terraform-1.0.1.tar.gz 2881426 BLAKE2B 8602e053c5ca23fe9dacd3517cdad8aefe88abbe0780dc9a430307e05697395c8c34e845bedcccb5547d721791954585295a2af909892c34346be0f3a3cc20f9 SHA512 9909aa0802d2c4a77d138f4415e7d588a6bd450d0bba3adda695877f51bd41a7b9584c42291d41fbdc20fc1788c1f2bde54417c40e8c824ac4854b8670450c67
DIST terraform-1.0.10.tar.gz 2895192 BLAKE2B 61acf1164adce38e2393b7e691c2fa6c5ef4df3787174da6608444379b5f0c27d5832b27e612f8de9fca0fda0b1424d15c695320b4069e91c201099e44ae9c52 SHA512 7a32ade193427959ae9a1c7a3a7bc8dcaf6ae3a8b91388e68ad9fbb151df7ee9e0278693cfb54ebf7f1aaeece46ff4094451f4aabb1912a09f2a9468565cb050
DIST terraform-1.0.3.tar.gz 2886412 BLAKE2B 748e7e9438f6f3a80f87dd03cb7319cf5c84383261951f964fbcb5349bef8a508c38581cb9b18ae0e6279829ffc9f36c377a5cd05d45ed11f257beee437b8de0 SHA512 037d1a42a79b1e441245f28c5548245ddf5f5000510563508fb1e2503563dc4b27d1451ad25afd3cdb18bc004e83cc692101fd90f51c3e4e836905fd7e0cadcb
DIST terraform-1.0.4.tar.gz 2889019 BLAKE2B 7134dc80c1e76c3dbd1586c7708c0448cb15ae74034356f726f139e5ab0dd610f09626d38f644c3afc8223a5590aed4451c788958bbf35b6fc7127ac241a3653 SHA512 8a9a311109271dcd72e44868de37a25536e35642c04dac86d76932722e7304a42da4e924fc175d046e27cee1522d9d35ee00a21aff3c4757eee47a4fd44be33f
DIST terraform-1.0.5.tar.gz 2890185 BLAKE2B 7033f0c96e7cf37341345faa02f2741dd5f56924b370d4359d59c33ab6929a4d0819072eb1ae829c82301558f3b6ef7e3a088a8295d1728ca7fa6bce6758bc4a SHA512 47d978b2c57c8d5ad2667da3610e2085987763f4cf82dd3ee152357fde8bc6531b30b5aaa4c367e25496a086b02f328dea475729ea9d50e11e1946cc8ad0dd6b

File diff suppressed because it is too large Load Diff

Binary file not shown.

@ -1,9 +1,9 @@
DIST vscode-1.59.1-amd64.tar.gz 106142213 BLAKE2B eed73d0e98ea0275ed005586f18e14b3671a4dea301f44f469798bae3c298d8eb7e819c896957f9a1cd3e978ce171ff9d3a7433ede540b0647cae735b2d53bcd SHA512 c7ae7417bd233498b6be0dbcbc67ee44283a14938bfecb3b61d224533a4edf31c291bebdb90e87d769cb52afb9ac17f2fb20ba64dab7773d1ce965aa9d7bfae6
DIST vscode-1.59.1-arm.tar.gz 97705768 BLAKE2B daf2b56ecbf45b57d6b147e4b839000621e367caac66189151b9021ade6901941a8d641291a132d1c1bbdf40bb411bc65d8663743307e896670cfaf24d335feb SHA512 ade1499986a4cefad933cbcf9a073230e74b1a554248e41f1b58480d53b68f6ed0fa0e8faa6f52e59eebc94dcc5127bdbedf77deeab0b108ec7832c71cfd3f6f
DIST vscode-1.59.1-arm64.tar.gz 111284699 BLAKE2B c349c47208a6caf868070f9bb5bb6b23ff6eaa11de8d754edf8bec8fdd6fdd81c0ff246829a7ef4a92697ecb6356b779456aa8c1781f50ca4c7891297788aa43 SHA512 27b8aeac5ed2bac8bc6dc502ca39cac94f7e8ea4ea6baedffaa3b44dea451738e798674976444268db5543b6a144d55cadd47ded755a66c484c4c05cd5d20ad8
DIST vscode-1.60.2-amd64.tar.gz 105537736 BLAKE2B 395cbea3c7522749423d8b79d7461189dbb04b1d751bb4a70b6ce7782e971c1dac0e51cda91e961cab0fceeef16e073803d2f54bd6d8840596a2ea45f9f34369 SHA512 caf8acea129533a6cb5824d5ed97f9e9f740dcdc67c3a0c3cf778d58a8fddebe870892d25ad74116c5311a53497db933ff70e5e250480c3a0d76e5fc62733b02
DIST vscode-1.60.2-arm.tar.gz 94232609 BLAKE2B eb896cc316dfc96d6d523d15da735b18eb6e6011d7ec92b5f9fa8732f574097579c8af4601312c831a9f4aa752087188e203b761e86df31b688838b45354deb1 SHA512 8261b71740344f927091dadd28bcb06d17b70551da0fd0b3c20378ec744cc31660ae32aadedd87a8942c410da381dbf7e023c27af913a62a1bba774d6de241ea
DIST vscode-1.60.2-arm64.tar.gz 107827801 BLAKE2B aff930e81534972f2dc3d7d0d5cc489ec77818c0304859d64838317fbaf9225f4325a8b237268569f88eca7c76ea7a73275d90747b4485eff30d5f59a9cdd977 SHA512 cc50c7ec44d546b227c271f621be87120a1c36c2ed8236421e9c7227c1cb83bf970d5673191afc1383c4479393b5fae873fd6829179d1d9139b6c3ec32c5c1fd
DIST vscode-1.61.2-amd64.tar.gz 112814371 BLAKE2B c297d27f12dbbf5bb752076881ae28100d1b051d14528425f8227c5c70ce779ab8db93b960bd4d4ff9788fa2e63167c4253324ba4413b0975d41608c541c6303 SHA512 52c3b89612f2d2f72ea9de9449d191130a23a3dbae1f2876e1716773abe9b6c7064a8eb6053d6bc94438b6e3753df2f00ccc4452b2404fcb2c052ea6090d83cc
DIST vscode-1.61.2-arm.tar.gz 94477034 BLAKE2B cecb63ed58a36fbbef13cf7de086f0f7f77efea03fc605801b3064c273736ea999b91ef84e0c900ca415955cd7a508d20c33e92a5acab0dcca388d9624743902 SHA512 9cfd10c4cc6d2e3eaa1323afc1b493448632f57681b1e7d595d7f52a7e7d4c4a2ce48d2e6b21b2380fb7be8d98d33d5848a91af178eed974f952bcd7cfbbcb3d
DIST vscode-1.61.2-arm64.tar.gz 108043274 BLAKE2B f512c85102b3e3858a5ba8f2a63ec9fc7fdee77ffbe768287cd72e89103880002fd2ca77bc72f0210f2f4c0e4cec2b7708404e7db874d7c87d97b17361a26d4e SHA512 dcac0d56bde8b1fd855d386da77e164354f8c819e994d395cfd6b9cf50d5ac96421745c6efc20ec89448e6020b61b0d4ed482e74ecb39422a6acf3662f905dfa
DIST vscode-1.62.0-amd64.tar.gz 113727156 BLAKE2B 5d0fd32b4442c7d13ba232cf708c3d262b45f9096e07590ae5efead2d9e0d8737aca6b66f950a08304b80e10773ca39d64a72106ef5d9830298b84b4c1d7692e SHA512 5c13d6dcd0bd6ecfb0f5999b51bb49ce8bab4d0a24e5813620d97d28c3567046bc46dce98cff628fb58bddf243d2898a0f8b43b9b4dee390450db4bd1de09bcf
DIST vscode-1.62.0-arm.tar.gz 94729600 BLAKE2B ed2a3a1f6c5349b96592f966c1215f9f2f4e52c934f2963747bab89c08ded7566a19d94c8d2dc725b227c10532383e267a440b400fa282f958eb5abe9d54a1d7 SHA512 74901df37b1fa79e1de9f2874bb9a2e36c4c9d321dc485ffbb8eedb745f429df3d2358caa529430b5341a64015d7e05a4c35591d4d0aa79f5afb24f2490e75a5
DIST vscode-1.62.0-arm64.tar.gz 108336040 BLAKE2B d6df241753e9d99c2e6b7a672854bad0c93a50f2bc73447383765ebbc844ac0f554b08af72fd365499a9bbb48acbe3be983d3af7f6bde4bf60b4efd3cf288d2d SHA512 e6a9aaf325c52f0347e118f470461a5dbc721a9cbe4510f3668161c3b6b550537fbf6bcdf423e0d2bec13a9593f414e84e6b1e36e5e34bf565e3d5a3fe891712

@ -39,18 +39,31 @@ SLOT="0"
KEYWORDS="-* ~amd64 ~arm ~arm64"
RDEPEND="
app-accessibility/at-spi2-atk
app-accessibility/at-spi2-atk:2
app-accessibility/at-spi2-core:2
app-crypt/libsecret[crypt]
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/libpng:0/16
media-libs/mesa
sys-apps/dbus
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libnotify
x11-libs/libdrm
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libxkbfile
x11-libs/libXScrnSaver
x11-libs/libXtst
x11-libs/libXrandr
x11-libs/libxshmfence
x11-libs/pango
"
@ -93,8 +106,11 @@ src_install() {
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
dosym "../../opt/${PN}/bin/code" "usr/bin/vscode"
dosym "../../opt/${PN}/bin/code" "usr/bin/code"
domenu "${FILESDIR}/vscode.desktop"
domenu "${FILESDIR}/vscode-url-handler.desktop"
domenu "${FILESDIR}/vscode-wayland.desktop"
domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
newicon "resources/app/resources/linux/code.png" "vscode.png"
}

@ -7,3 +7,6 @@ DIST vscodium-1.60.2-arm64.tar.gz 111897534 BLAKE2B cf5ae8cd8e98342b0eccbf2fb138
DIST vscodium-1.61.2-amd64.tar.gz 114016604 BLAKE2B b9006b0a58adc08df31bbae08a46c233cd69ee80f89493e4564f8f3dbe595481582cb605ff472984f013e364bdafbdd2f587ea3d0065d8ca775eb723f0cd4cb0 SHA512 4a1016bc8e9fea5c76a0c87180ad641f4ec981dbde0b395267580d5207cf181a090d87e984a96c40f46298cbf8185c1afe4af6a8791bc47126f50f1ba95edacc
DIST vscodium-1.61.2-arm.tar.gz 97521784 BLAKE2B c81f5b607905d3be0aa27ee63a49c0ba2225724686d1afc25f7c15289c69fd10022d1ae83390183bd50c1db9c0b74e3c9144e622e81f2895eb891d6800d1bfd2 SHA512 f4f329155282e951273580247e3262b887164f2bedf409700f3a8326e9dd2e20ab95ab4b5fe8dbf2a177487e518c9fe98078a485c08b020b4d73cc7cb9a90431
DIST vscodium-1.61.2-arm64.tar.gz 112085871 BLAKE2B 47c58659d6e4e9a468b014c9d0a8f6ca9739d722a21ec0b3add0a69849b18022dafdcadc759070e054492d6cf2db1bf07e11454fee5623647a54e367f5d94325 SHA512 cf893f6e04a0e657fb889b40069e042ad1b2a287a349c3f05e441ada00504f9ec693f20dfe17a01f6a7d2d298dbecfe94d62f12b8b26769e373f61ae9ffda8f7
DIST vscodium-1.62.0-amd64.tar.gz 114309026 BLAKE2B 7a01584d512ce437b162cedd1113c769893dfc1a4e9827e69d6ff383c691328e4c24755261c509ce46c459ec65d7e61874270eaed1fe485e6d12d7d65c3b34e1 SHA512 65890d9b4c57555d58040012d52a8acc242a583e064f7562ac0e13ed01b5f50213974c06e26c3fc7a9fc68914cd25093ec69ad24d7d1c4d2f9cf2b3310cb7bed
DIST vscodium-1.62.0-arm.tar.gz 97824588 BLAKE2B 2afecab90d000fbd635dfec667472074ab82981464236aa1d857927f0681515759472d19fc3c9eb35ba0d7d1ae16ff37e5cb4d9e57f2cbb3ca4bf0ae34654f1b SHA512 9cfc20c64c570c1ace9563b5f5750fd72aa122f60ec35404b3d3c49634dc6ff033ebe6e85bdc335c7740e3c77042aad1bfdd6d8387e1a7554f3f8c8392998db0
DIST vscodium-1.62.0-arm64.tar.gz 112396932 BLAKE2B 4f8580eefad8974cce597e002a70c93af46370b5e33fb617b0f87bf34da997805d7da73e0d6528d7871e1cffd914fad967b731a3c64dffbb07cc92b9c415eb5a SHA512 4978d9c013b11fd234c597e43db0b2a1dcb7aa97c0d1f88994245ce2e4d82fb5d5a5bb91320826baed5d8b81e938ca79d43824b4deb0ef0e82a6cc7b462b76b7

@ -0,0 +1,113 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils xdg
DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode"
HOMEPAGE="https://vscodium.com/"
SRC_URI="
amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz )
arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz )
arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="
Apache-2.0
BSD
BSD-1
BSD-2
BSD-4
CC-BY-4.0
ISC
LGPL-2.1+
MIT
MPL-2.0
openssl
PYTHON
TextMate-bundle
Unlicense
UoI-NCSA
W3C
"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm ~arm64"
IUSE=""
RDEPEND="
app-accessibility/at-spi2-atk:2
app-accessibility/at-spi2-core:2
app-crypt/libsecret[crypt]
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/mesa
net-print/cups
sys-apps/dbus
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libdrm
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libxkbfile
x11-libs/libXrandr
x11-libs/libxshmfence
x11-libs/pango
"
QA_PREBUILT="
/opt/vscodium/codium
/opt/vscodium/libEGL.so
/opt/vscodium/libffmpeg.so
/opt/vscodium/libGLESv2.so
/opt/vscodium/libvulkan.so*
/opt/vscodium/chrome-sandbox
/opt/vscodium/libvk_swiftshader.so
/opt/vscodium/swiftshader/libEGL.so
/opt/vscodium/swiftshader/libGLESv2.so
/opt/vscodium/resources/app/extensions/*
/opt/vscodium/resources/app/node_modules.asar.unpacked/*
"
S="${WORKDIR}"
src_install() {
# Cleanup
rm "${S}/resources/app/LICENSE.txt" || die
# Install
pax-mark m codium
insinto "/opt/${PN}"
doins -r *
fperms +x /opt/${PN}/{,bin/}codium
fperms 4711 /opt/${PN}/chrome-sandbox
fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass.sh
fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass-empty.sh
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
dosym "../../opt/${PN}/bin/codium" "usr/bin/vscodium"
dosym "../../opt/${PN}/bin/codium" "usr/bin/codium"
domenu "${FILESDIR}/vscodium.desktop"
domenu "${FILESDIR}/vscodium-url-handler.desktop"
domenu "${FILESDIR}/vscodium-wayland.desktop"
domenu "${FILESDIR}/vscodium-url-handler-wayland.desktop"
newicon "resources/app/resources/linux/code.png" "vscodium.png"
}
pkg_postinst() {
xdg_pkg_postinst
elog "When compared to the regular VSCode, VSCodium has a few quirks"
elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md"
}

Binary file not shown.

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>cjk@gentoo.org</email>
<name>Cjk</name>
</maintainer>
<maintainer type="project">
<email>cjk@gentoo.org</email>
<name>Cjk</name>
</maintainer>
<upstream>
<remote-id type="github">tegaki/tegaki</remote-id>
</upstream>
</pkgmetadata>

@ -1,23 +1,28 @@
# Copyright 2013-2020 Gentoo Authors
# Copyright 2013-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI="8"
DESCRIPTION="Handwriting model data of Japanese"
HOMEPAGE="http://tegaki.org/"
SRC_URI="http://www.tegaki.org/releases/${PV}/models/${P}.zip"
HOMEPAGE="https://tegaki.github.io/"
SRC_URI="https://github.com/tegaki/tegaki/releases/download/v${PV}/${P}.zip"
LICENSE="LGPL-2"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
BDEPEND="app-arch/unzip"
src_prepare() {
sed -i -e "/^installpath=/s:local/::" Makefile || die
sed -i -e "/^installpath=/s:installpath=:installpath=${ED}:" Makefile || die
default
sed -i \
-e "/^installpath=/s|local/||" \
-e "/^installpath=/s|=|=${EPREFIX}|" \
-e "s/\(\$(inst\)/\$(DESTDIR)\1/" \
Makefile
}
src_compile() {

Binary file not shown.

@ -1,3 +1,4 @@
DIST mosquitto-1.6.15.tar.gz 620117 BLAKE2B 0107ed0af902b84c73b857ccd97dfe96b1c7ed8604b843ad40f62d3f1246ded4ef1691158311ac9a672ca331f569d13547165f3a0386c77e94ddc13c8a9e3e00 SHA512 30fa2e8a15b87a33d6c8fc3a1f5d45d8e15d284fade116ac5b7bc8722609d565bed22ac592c303fc74352e3272067b2b0c8da463abffc6490cf959ce177329f3
DIST mosquitto-2.0.11.tar.gz 760325 BLAKE2B adde701bb87ec8071eaaf74fca37f81c4eae97bf98de0fe471f1dfbfb64ccda15b34611b0ffc3d2099a37994151363ad5c717bfa7695fabc1a4927ebd14ae66e SHA512 d0c7c52cb76c4711e54f841217529326d682c4decfc7a1bc96d872904e68df444ca3918fab7ba041b62f7b5420c89c631227b69a8eec51fd2e2dd480d8244710
DIST mosquitto-2.0.12.tar.gz 783859 BLAKE2B 3bac953fc7f49e19f1914186044c75d7f8b5b23e656acfb7d4c306740d0add20c08760fc206fc871c5cecf8500eb1c88acc4905bddce159d1e8f0c4e2c28b818 SHA512 acf80980f124073fd2fdd99981bde840654fb40a6b6f1d6ef483e35880b45d029cfa9390a98753de6476f4ade068266cb4c6e3c753a0362c0309a5745ac4ebab
DIST mosquitto-2.0.13.tar.gz 786806 BLAKE2B 83c5c93a209225a24812c494e6065fb4ed4c65ccb34ac60918e5c32683702a9d44f162ccc366d8c2612c6fa867b56e01aaea04b2387f44b77294259198439ad0 SHA512 f22331c0a5a501b3df50b5c4788b735599024837eec4f455d422253a20e6f4ac528044ff4a7611094af87a8059e9a836157e5dc092efedf958ed7c96e5b9f9d0

@ -0,0 +1,122 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit python-any-r1 systemd toolchain-funcs
DESCRIPTION="An Open Source MQTT v3 Broker"
HOMEPAGE="https://mosquitto.org/ https://github.com/eclipse/mosquitto"
SRC_URI="https://mosquitto.org/files/source/${P}.tar.gz"
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="bridge examples +persistence +srv ssl tcpd test websockets"
RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( bridge )"
RDEPEND="
acct-user/mosquitto
acct-group/mosquitto
dev-libs/cJSON:=
srv? ( net-dns/c-ares:= )
ssl? (
dev-libs/openssl:0=
)
tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${PYTHON_DEPS}
${RDEPEND}
test? ( dev-util/cunit )
websockets? ( net-libs/libwebsockets[lejp] )"
_emake() {
local LIBDIR=$(get_libdir)
emake \
CC="$(tc-getCC)" \
CXX="$(tc-getCXX)" \
CLIENT_LDFLAGS="${LDFLAGS}" \
LIB_SUFFIX="${LIBDIR:3}" \
WITH_BRIDGE="$(usex bridge)" \
WITH_PERSISTENCE="$(usex persistence)" \
WITH_SRV="$(usex srv)" \
WITH_TLS="$(usex ssl)" \
WITH_WEBSOCKETS="$(usex websockets)" \
WITH_WRAP="$(usex tcpd)" \
"$@"
}
src_prepare() {
default
if use persistence; then
sed -i -e "/^#autosave_interval/s|^#||" \
-e "s|^#persistence false$|persistence true|" \
-e "/^#persistence_file/s|^#||" \
-e "s|#persistence_location|persistence_location /var/lib/mosquitto/|" \
mosquitto.conf || die
fi
# Remove prestripping
sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\
client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die
# Remove failing tests
sed -i \
-e '/01-connect-575314.py/d' \
test/broker/Makefile || die
sed -i \
-e '/02-subscribe-qos1-async2.test/d' \
test/lib/Makefile || die
# Extend test timeout to prevent spurious failures
sed -i -e 's/SUB_TIMEOUT=1/SUB_TIMEOUT=3/' \
test/client/test.sh || die
python_setup
python_fix_shebang test
}
src_compile() {
_emake
}
src_test() {
_emake test
}
src_install() {
_emake DESTDIR="${D}" prefix=/usr install
keepdir /var/lib/mosquitto
fowners mosquitto:mosquitto /var/lib/mosquitto
dodoc README.md CONTRIBUTING.md ChangeLog.txt
doinitd "${FILESDIR}"/mosquitto
insinto /etc/mosquitto
doins mosquitto.conf
insinto /usr/share/mosquitto
doins misc/letsencrypt/mosquitto-copy.sh
systemd_dounit "${FILESDIR}/mosquitto.service"
if use examples; then
docompress -x "/usr/share/doc/${PF}/examples"
dodoc -r examples
fi
}
pkg_postinst() {
for v in ${REPLACING_VERSIONS}; do
if [[ $(ver_cut 1 "$v") -lt 2 ]]; then
elog
elog "Please read the migration guide at:"
elog "https://mosquitto.org/documentation/migrating-to-2-0/"
elog
elog "If you use Lets Encrypt TLS certificates, take note of"
elog "the changes required to run the daemon as the unprivileged"
elog "mosquitto user. The mosquitto-copy.sh script has been"
elog "installed to /usr/share/mosquitto/ for your convenience."
elog
fi
done
}

@ -1,3 +1,4 @@
DIST task-2.5.1.tar.gz 903428 BLAKE2B afa17364984237ea589921afb4379297b128ea1bb6b0834f875b1b02b38dbfde5e961122fdde00dc5ff29b56226a5ce0f805bd1be8a8194c9e185ab80ad6d6c2 SHA512 ec17e5cefff55ecd2c1cb717801c02683d94030906c8d86450c3c79c0bc5a18d82559a5e9e26a91411a1025a241b78ddbc1de51cafc1a2dd531e8229e5e61c10
DIST task-2.5.3.tar.gz 788760 BLAKE2B 3e8a4f2ebf6c39d3d51dc9b044cf1c8fbce23ab8178b6645405f26522bbb6f29e9f78247fe52601f6c8f87f966a3b7aad130417d0f416b9d969e9e396c10eafc SHA512 e906c8f42ad4b9a7e20a82defe31b89194d72957f18dd5129ecc41a2a60a9d8b0d01abb9b44ecce79b65cd9064af4a4a4c9dd695f98152e77908f130dc3f9677
DIST task-2.6.1.tar.gz 836830 BLAKE2B 18531a462e9466d2bfc21af70c05ec75f504c82e67ff4160378dd1dc2438955284eb430ec92969ffd212e9e92b14d6bea6013beda8eb353bfb7b8aac03bbbb2d SHA512 996690831967b5b248d336f0848aa243d5929a34238d05a78d49930f477a7927966d097119cf2dd935aa1c159e930f74bac07b05327504b15d235348927b657b
DIST tests-2.5.3.tar.gz 223579 BLAKE2B 89a7fda3726d9923388675f34fe40a6a597901b2ab6c90a345b89d4ba00660e6a7533c4752fc4fe6f77344594a322c17eb43866028c26d005ce44cf12c11c355 SHA512 f6a58407f172385e9955b21b7fffeb510f852bd055ada4869547e396856c7df01b8414a51de6bc8530b29d8ca0fa7e74a8e35aa7bc88fe1e15bda7035a5fadd1
DIST tests-2.6.1.tar.gz 221364 BLAKE2B 6aac691ba1828abb3469dfa2a9c093b92431591ac21113f71550676f7f9c40394770ddd2c649bf6cda5655d5f1c25aa6c7ef174e9da7ea0c647109d25771dc2d SHA512 df252b252ac7e319d46ef7e72c587c52a97bf7b496ad401342611114db15b7fdab501b4fffc60ea6a8dca7820abc267120375a1aafd1da0a0c41b925e9fd62da

@ -1,31 +1,30 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
inherit bash-completion-r1 cmake
DESCRIPTION="Taskwarrior is a command-line todo list manager"
HOMEPAGE="https://taskwarrior.org/"
SRC_URI="https://taskwarrior.org/download/${P}.tar.gz"
SRC_URI="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${PV}/${P}.tar.gz
https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${PV}/tests-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm x86 ~x64-macos"
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
IUSE="+sync"
DEPEND="
sync? ( net-libs/gnutls )
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/0001-TW-1778-Unicode-strings-are-truncated-in-task-descri.patch"
"${FILESDIR}/${P}-clang-build-system.patch"
)
src_prepare() {
# move test directory into source directory
mv "${WORKDIR}"/test "${WORKDIR}"/${P} || die
cmake_src_prepare
# don't automatically install scripts
@ -37,11 +36,18 @@ src_configure() {
-DENABLE_SYNC=$(usex sync)
-DTASK_DOCDIR=share/doc/${PF}
-DTASK_RCDIR=share/${PN}/rc
-DBUILD_SHARED_LIBS=off # bug 764224
)
cmake_src_configure
}
src_test() {
cd "${WORKDIR}"/"${P}"_build || die
emake test
}
src_install() {
cmake_src_install

Binary file not shown.

@ -181,189 +181,6 @@ DIST LibreOffice_7.1.5.2_Linux_x86-64_rpm_langpack_xh.tar.gz 290386 BLAKE2B 8c2e
DIST LibreOffice_7.1.5.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz 1050281 BLAKE2B f8ccade1548c3fae80f5bdf9ddda683450b2e4e6c8dfb686c644ced739e69f8db6dd6251d71c5d2af5115b1e931c5a4c6b20215422c333f402d288b4524c00c2 SHA512 548ee731e3ff343b5c4c01d338e865c0e8d23f82bf34db04eb041cdb857a1247f29fabab31bc7a3872f67c615834c5312ae486a713c8e192552639aeabb8d4bb
DIST LibreOffice_7.1.5.2_Linux_x86-64_rpm_langpack_zh-TW.tar.gz 987668 BLAKE2B 64780a374b7c10bc55e91425adf6b1d08e2ae2afb450088832ff9a646ea7b23431b8919e59525ce4161f6c28963844175031c5a03972c426e763051e54e7c6c4 SHA512 55c18b812d559512c725e0bcb42d9b36548ebac1054f6ee4d64d084757dcd371eb2b9e8c87ddae7a1c4cedbe862ef338c189292dcca60bfffb209638062ca639
DIST LibreOffice_7.1.5.2_Linux_x86-64_rpm_langpack_zu.tar.gz 319620 BLAKE2B 1adbb995324a146c0f5d009961a3bbded522394e08a5791dbbfccda6fad469ea11aaf73a9f876b862de5260eb75c354a4120c3f195b70102e31ab3a1d3dbe5c4 SHA512 a1a8bc2e7fcc14a47b493eef30062511b3eba4843d3b5f66d4f32e4b05d41a96e8d6d3a5f05bf4f5249b947e2a2d7e0f51df72612ccf3fcf3147d8bdd88e1852
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_am.tar.gz 4127455 BLAKE2B e1f64b1ab22af1bd84d79db28795162568a3ea832ce6cdb292448a7fb51da75ad5fc2f20ad313974a80532d2dee0cccf725b107f781f901f1df40358acfd31d6 SHA512 b87f52fc6ba6b280a3c25e004b2c05be3dfe4b47edab70a8fb6d850bd925b54f166f47d3d6089e42a6088b5df625ea32f0658f1a81e804136068c004641bf0d6
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ar.tar.gz 3599125 BLAKE2B f2a8a28a2e46107f287a8b72bc72e39db22d49bba908918fc927d25c9f7d8727c839cecf951eb626ea7dd631b86a2c7a9043caac5ab52d5364732a23dee71f32 SHA512 e905a6201953753eee427d4d6961ce1e24b601796c0b0e7c99c8f9707ac57b7c5f21175ff02a15b08c0cef4acfa2eefad03b3e003e2649edb49ea1c869212e37
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ast.tar.gz 3837119 BLAKE2B 03092173b571c42e02f9b617171e248d9a1c63b0141041b8d771223ef2ef41542d6ed66d97c00ecd5783ec538d94f8b1deab7667e95e8bdce185b4d74ec34fc1 SHA512 5c6caef664bf2dd147eeecd3d66c3c8ba0a1dec074d236cf91976f31fbc9d418c2fa504f3980786cd737ea8a7d6da360f06ce800d2e534fe459188e4a35a98f1
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_bg.tar.gz 4167331 BLAKE2B e7d083f699c24216ef61ea670c35e147ae4066b9c29562e9c06a1a160c30f9b3bd6400c5601c7b7b94f2c17641d731b6216f3b158e93eefcf7168cf3de376b8e SHA512 68b61ca9533758c70e52e2ef6ff9102dce291c0fbe171fb76dbe2254d0d47c80ff0ea02cc56ae68bd4e62932486319f24957c7547da82726dc239943e9fba149
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_bn-IN.tar.gz 4303952 BLAKE2B b6616d920c666988cf38b098e39c8bb21199a96ca2c9dfd844bcd7c856709d45cfa60188a4acf0f459b8c2ad6d66041b51bb13f1aabe9ca5ccb86c64da91c581 SHA512 fbbc714f2610378efa78a8d1c81d4cd920bdc9e63e73aef0b5a8ff09d4b81507ebf9d9b15d1dc70b3adf5f88f6f21842d536884685e0d80cc1d253648498b984
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_bn.tar.gz 3981046 BLAKE2B 042130995183123cc0d9f7c63745695656444a5302476164ca2e9d3d564b8791cebbe05ae7493a0d44007afb4a565498e84572252ac6e314dd30caf6440be7c8 SHA512 6dd808e55110a1fc87a8480cef920f5e0365c629cc0018e017b78867ed93ebbada001aa0cd65d74ee7aa851300cd234af5db4d5ee38509ac935ceba37b683922
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_bo.tar.gz 3990414 BLAKE2B ec16b99173f2ca39b9a552419288a6906c8c9f8e29071eb1781b5a1600a52b698a0dd1cc974c0ee314a631603100c51b121c70ce0066581a54e9cbd7d33d0910 SHA512 521916669a38dfdc3181a61102cfbf2bc811e42b907d1c5e849c3c98324350abf7d986f4fcdb3301c326df3b67ca8c8b7b37e2350c01e9850353079ef790697f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_bs.tar.gz 3720933 BLAKE2B e750dde7b3422af310253aa7d91f826107bf91607080e88e03c8d784c114274adea22e91c1a157feca20d625611dc762b5ea9e8fcb46e2a6be9b2eae6e9d2ee0 SHA512 2bee380dd27287e4b4d624d5866dcc5de2335747a5cb27f333cc6f574b8fa102d549dde060c8058764b04a085cc405652ad69a120a16f2ef89995fb9ad7c354f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ca-valencia.tar.gz 3866799 BLAKE2B f9292f5f46e008762153e6fbcdacee528c62ba4d43c55c763bcd25b11a7b72a1927cc7719af706d42bd3ad51094094ea52836c3723d2539cf1180557235d3e08 SHA512 c9e2b77c135fff641048484e0436d1b24b61dd30f67279ead41378cd120e3c13c260de438c03b5b91abe12178324d41b1089a46753876a8806e8dae07e6ebdda
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ca.tar.gz 3856220 BLAKE2B 54e764224cac4816c7535f4014b1342a3bc9b937d62514ed6781e90761d209ab8b7580d229b1b63f3fa0dafc653d9812058ecfe40b6dc2f67053248c6101811c SHA512 4f2cb08fcb64d36bc7cb9c4bfae77633d5ff9325b898c4d66cc37d04cf81de8f4db6d58d1b344d308368c12093a59f56908f0bf601519ed3fcc0730811e19db5
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_cs.tar.gz 3880276 BLAKE2B b8eff89c2e1461960c6e421248dee5a3b6952102489f8e8d07bcaf179d9049145cab5fceb7125bd2d97d6533a4b18488fd787cfa308868138a08cf2b03f01459 SHA512 cb6bd6034431037de526e461ab996b7dca8c41cfef2db3dd82449469b57ec4be5508975234a490adf7aa1389de89d5eaf901b6ac4f08d5cf3b567f573f97127c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_da.tar.gz 3785058 BLAKE2B 7702a4a270cf359aded5a46b3d0f3cf3eaaf99eac172ca2b55300801740983724a28a3aaeca005ae422a1eb681266cf3287f243ae5d7eab8775cfc6d3c8eec70 SHA512 799ee56810bb40fb3558991d2a9512b7dcf92cb98b61326241f635d3c1cc5f6d145c87e67b47bb513c26664b69ca5bde31bfcb94cb39d7bec3e6615679b0030a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_de.tar.gz 3944142 BLAKE2B b041248abbcd977717101b87ca9acc394b43a94fd53987d9abbe0b8132680dcc89c5a4108fcf3e1c4ea06ced2fd5623943c88318ab7258899127f9714485e6b8 SHA512 bd29757744666b84c3328a69a4ce531506b518a2999e575a98d0855203f11615291b464b1af2f9c578485b0a3d9492058699cd89bb699f567dbf3db3f9a9c3bf
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_dz.tar.gz 4137938 BLAKE2B 5bdf9810d2ca9e4ace2717348f167e3b265774118c0db97e502c40f088bd35030206fed4884744ffba46954fcb40c9d7fd7fb7c15ad66c60d5ac6cc387d8ef5f SHA512 b6694658954fc9f6d54b43d72de3bb17d92608bc64e52331e78161a080b06f99d4a5b3e273f6131aa860b282ef5850130acfac024d06df879c0a880b32983a6d
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_el.tar.gz 4591259 BLAKE2B f37f85b3417459282fc895a39dc215f52be5802303e2cafe1da8200e6dd58ceb272d4b6a3ef455ae8968dc1fd6862116d3bd946c0f8cd21e497abd1389aaf592 SHA512 d12cc124f89aed4096fb41e98e0c2e8018dc421b0cb58578e389223b7c9792a79afb5df29af65dbad96a8752d5b304f1c62a50a00c98eb7b979f76e065ef690c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_en-GB.tar.gz 3607737 BLAKE2B 0634dd033ec5276d5cc30379f6017c051a53a09362eeb6c67db2fc49382d58cfcc1f383cf5ed550f9ab9e69aea299429095496dcf6fe13d6bb49eeef983ce7ac SHA512 bcd132cb625890aee798130a74db2e1c41d91c6f57c5c384971f9ea21457e68dbd7394bc491b6b5ff5b50200c5cf449bb60cd9e2e22506ea57a39d61cc7f8739
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_en-US.tar.gz 2286512 BLAKE2B edb2fc6b71ea3f6d53c5b599c20d0eb8bde2d89de54691f9cfa4f36505d817f21037b551d90be4d32346ffa543bbeb334248214927c27e04fb8382b64cea6551 SHA512 5d51c5dae6ef81243be0492e51aa4300f761af509089d5a3990e4998f9c3f87f9b64c7f850b1d0c3735691978facbae081e94e82a1650f9013a331113cd769df
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_en-ZA.tar.gz 3600302 BLAKE2B 31df47ceb03e34ef2c063056df35b7469044e6493d09d17c5f4c077128c7d737a692ab3ae05c55db9a9966e9cbb6ac0994ef3ddf59025951c2f89059b32abae5 SHA512 5d708df0610c3f475761580ac8b6c3ce53906ffc077ee0e61699277b835515915dbf1abae8d39ab1e95ce1ee08b121699c678b57de1f53cc52f828e7599dfd60
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_eo.tar.gz 3701070 BLAKE2B eabd2bfadaa244411058a704efc7c73a3929e6d3332e88513d80338000888c150302f297685fc104123113645eab11696231a8b5733d671851b815597f1c39f1 SHA512 30b7be7899c170991f94b4b09aa121313b32f4e21c95f3e46440b6dbe0c0b1293ab8011615457d08a424406bc0b5bb10d0ab5a199ee9a6d0ecd03d13ff7a6e00
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_es.tar.gz 3898600 BLAKE2B 864e75d2a4e5e1fdbdb3aca22667f7aa69c5a4f9eb792923755465edf73bf09634e1c488460610f4744e37e7bf01e208d9e9d268e4503a33197eeae1e75fad12 SHA512 9423e5af42372ea6fbec219e0fb97e9fc60dda78cc64ae1f24a8aea063c04a7f32d806f0950a8058005c9abb3f4e055c6e12018be33d3e5af6765ba798ba7e1a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_et.tar.gz 3745155 BLAKE2B 1ac2782a49109ed80950f6cc3e791b232dfa34a5042ea6bb2661773bc2d457eb983a5603a5ea9628e5d73e062d3915e4d60653e408827b5b6b14779c3dea6be8 SHA512 f46d30b23238a224c8eeb972b77a11d37e15b9996616471f2c1e8bfa99627a90ec6e9273f3a8bf11333978fab94d466c7bdda443c9f9128ef11557b45259b0b1
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_eu.tar.gz 3726272 BLAKE2B 7487f66eaef53be8f9c0535ace351af444ba0aa46d88fd29c80f8c46c9bd81d94d2df6b580b4d23b406772700df05d08e7c24f82fdd28512b42c4d5d67351b13 SHA512 789bf41f2ebf9215507ced7e74ebeb6ae2b43391c2e4a0a72869cd493e8840da4bbb75998cd4bfcbc680cf31a369d874d54550dd5abbe8bf913f02eb782e2d3c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_fi.tar.gz 3751452 BLAKE2B 396bcc50c78a1bf00024eb4cfbb0a7ba84720593e12243e37212831d2e2fb37e909f22ad7d2f138ddbd48ae8093985cbb13d4926f7d0c077086bc755778efcbc SHA512 1947a4a971ff0c3a63612b06d647bc1b81115516428d612e9853ee4535b58afeec78e222ae52f7f68e560ebcea705003955da60da7e51e9a12aa2b5e6f0b611f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_fr.tar.gz 3883737 BLAKE2B cfa427f9bf8c21cb899ef194055f4af8d57df6bd3a57c2a58adf3f8d8d8be770fe16638cb706e5474373426ef33f41ab540817397d7ec85b037a2e5576a1069b SHA512 b24534c96bbe6f95e1094a673bbfe8edd32b2560f18e6e9255a6a86272115434681451520cf2e37e9d5891c600aa441f0f43bc51c9d33add93697072c007dcce
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_gl.tar.gz 3835970 BLAKE2B c901cf213d472ba037d121eec746d46a92c3589418e271b64dfdf1f47956a2ebaefb2031920555aa1fb54361bb5eddc07c45df3a08d245cfa8b13683d4e7c0fe SHA512 6051b15ffbd22374e9dae3673adccfb0c689ff55014fe8689bdec0b1a6000971c952ae81f3857630e75378cd75442fafd45aff4273d66a89667cf83670ab270c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_gu.tar.gz 3687913 BLAKE2B 6c0da0fb713f6ae49a7cd43d7950d4936b11b0f85b60567a7072b35be70a1f398463f7c8ff34288e91ad3d19dd5a8a66e375873fc22567b7ba7d0ddfa742a8c6 SHA512 4aa66811d95b40e9f815ee58cf507514b9dd2c6dcdaf7762286df2860bd45eba6cbf83c03616084989026f76a84dd460cf8e0bdc5fab5b138c5c331be8ae4293
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_he.tar.gz 3460592 BLAKE2B 11376e28dfe5df8aaeb8f69a92d2be110eccaaa29cb9db3769c3ba12daaa670cbf56b86102b9ab1f62378f31f80116f74029466be434c01eedfa6f74873a25f5 SHA512 f789d3f83f231873d7c940dc2146768343be61c24d408e0808e3dbf9424a9d8f97201dfb37a8a4afebe04af1234a27b0743ef978b324b0128bd1bac0dc16ae11
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_hi.tar.gz 3815622 BLAKE2B 4cadf153d20655f65c6af3f46dc3802bf4f86edf4e9c1e3d9745035da549c8e754718a24c24fb27764b84310cea7d752c578cbc1fafaf76d1e49f213a08e54d6 SHA512 5789067f3e03a3c7ddb77ee405f15cd9e3f5a0368e63c32bcdb705aba5c063aea7265e9fe44180d933b530374d038a838477e00bc3890f8cc45932dc5fc7f4dd
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_hr.tar.gz 3726610 BLAKE2B 7b9d2c52474a70a25448252ef2dc0178019246607c72d418acfdb51d0697c6a2ca2d02592ad6e1d7e66252ccd5750c3228e2fd6f81e7c84830639c47772204ae SHA512 048b0162d269ca59989c9dd64d0a1427697f1a6175fb82827cceb0400a3f1c64625e9f41eb0c359f1816e0934b60b9582d963be5b9588589c5b1227a5eb7dcff
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_hu.tar.gz 4005359 BLAKE2B 12f93b4e4e3fbe5ef9531d42f7233a3437cea37ba177f0ab3504c967fa926533d6b6cab91e9f0db1b1d9aa481d9b3bd1ead838ca235db8496f555506649bffa4 SHA512 b8ef8283e7a53049507f722bf5e67c8af46a0d8002223aa0acd5eb46bc8d254c9364d529bf50509cbfb682834ba39302b826c18d93c3e73a5eb2b3298c8add14
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_id.tar.gz 3682140 BLAKE2B 9bfc4da128b4e9a1503598058d6068fc49f12d11a0651064dff0938f02dd5be87451d2d9dc48577b59fb886bb8776ed48bd8b44adb308e35a18ac616f117a68a SHA512 59699ac8368b003920695acca40fe8dde982f4c6b511348b6dbf3dfda81d90c4bf62033831115bb3ce15939ca7377c55e45688a1efb2ae57a7ab23d5cebaf8cd
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_is.tar.gz 3745172 BLAKE2B 39082a3c2bbafb3dbce3d838ea732c61423b3e8e9ab116b382a0706da46e75c6698d4d173a43d820f328b70e0c4e5b9fd5ae3a2a06f20880e03ec442ea5d4c0e SHA512 ebcd7188a9a695a56739c89cf92db90a6ea00abbae8de4ec5b6d99e85571993a5784d537f815af6623f42933ffa999c1b86b95c431fbc5abfc809457e93b9dd3
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_it.tar.gz 3805164 BLAKE2B 099e3147105be54d2aa7bb48f68ed51852f9d6609e1c569dcc0f8379d4febae229621311492a5123fffdae7b5a6a978df9ca681c79539a17ac583e19ba5edb85 SHA512 86d6a443a23f3437c99337e771d5b130c933ef65865a77dc039708c5cf075504947afebc1eb38dd0cf53de51b46bb4d3ecf0e95c3f48b7bc96a7f4b69cd5f5f2
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ja.tar.gz 4464165 BLAKE2B 8fa897df9a5a6068c99a129173739aaa1af0ee2cb8f111269852ec3c6e736e01ff0f208b6fd5df8240d8b273c0e72e77b5883143c101ce5f6d2d351b0557c6b9 SHA512 50d445601298aa0e6e7cb1b53c6fa3392240cdbbe78742bfb086748195686992a9d79843565f4ed3736abb7fbed69f04608ea70010f3654ba9ef33b59a46a423
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ka.tar.gz 3931422 BLAKE2B af3d867784f384a0c5924eae38585d9a507e9c36b38d35cc26bdc972353652975c249143f3711f87bbd4f20fc870988e952ad15e80c364bec07b78eb1af09422 SHA512 ad4dc27aa819761fd1aa3875d6f5a405c0c73515f377901942e41a02820abcf3d3ba7d0117de68f9c193852c04ba7f4ccbd9da617fe09fe5e582a096cd4557f4
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_km.tar.gz 4267955 BLAKE2B 51e36c1db84c112334db70310d3eba64439c1f4abb88879460f87e06a8131af9f81cb0ddbb32dcefd16eb7254033b93bc0e0acd3a731db7d2988041fea4f3bed SHA512 7646f2a346f5bb9beacf54d4ff7495edcabf2564ce5238c1b12c95bde8432a6f0b9879f6ee380e2ec2d90de07e9a6275bdff7104aa8d2e1ae5c81f4ca73da539
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ko.tar.gz 3964530 BLAKE2B 03b7a515a9d6c8129dcb2e100b8acf3bbdd00d78d7a0b4bb05126a6bd1d6cca757113ffcbbf81438d52164e16c4f033886814e813ee61ac229e65df595846b4b SHA512 9727c076c9fd2d48e757c95eab6691e85de0d29cd657035c5c6cc5e92213cb97d9ed1bcd174a264f5b80fa4aa682a40903f77e6f24e86089a05be4668ebaae62
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_lo.tar.gz 3685707 BLAKE2B 09079c9b83474ff5ba1426c84f33cf882830e4dc51b67550f1eff4a02330b4ed989455ecc41292f74f4f23070132d1d293c7e19e28cef51e8982f3245298a4d2 SHA512 837dc81f71a2f1231204fa93a39d5683735dfcbfce996141fd436bd352b444aebfe3b625f0d8f8f04f5a99c133d93a5205ce4956ce6599dd61981aa18fcdcac3
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_lt.tar.gz 3902967 BLAKE2B c2e82c30470ede8d6c2cd027f09f4c84207c9dbf0fca1a3d81520155a5512ac36e692f27f22d41e7710881662dd7c7c0b2759eced4e229bfed6dbeeae3006ef9 SHA512 7e808a12179d7b9966c7e98a761112a2d6c0b2ee9acb1bfeadd36b112891c53b71be67fca226d0149c0a54c9c6504e222200986f73c65925734e23bd0b8e9b0a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_lv.tar.gz 3738669 BLAKE2B 69faaacd144363a9ad33ffca8f542580e797b6712a4f548b9c00dca34f5b298ef7cb023d10ec1c2846fd4de1bc51596e1a7f93c5327b409b3d6212287488ecae SHA512 9bd8aaca034c5f3b3b5ad5b608ac567af5bcb42fcb4caa901cbb653b575ead536b71a72003f29dca780f41eb303e6b856274c7d62e6140dfc6399fd96814dc60
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_mk.tar.gz 3779279 BLAKE2B ec693390385026ce1341f4ba01c80485128d306b973ee96eec89e33d24df93a4cbda3219319f870c740ce34a2ebbce3017b3204699419e020de2ad08e41d90a8 SHA512 d5f220fbf29f6cc55c9812b75a7b96a290f57694c11caf26f27da0bcf8cef1b64df9dc6f097322f000d3ff03fd18dee22664b61e64557be70658e0ba890afa5a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_nb.tar.gz 3741919 BLAKE2B 0c8f75751a48c86431876478741e4d94480dd452a40c146665d72fc7ae1cf735cefd567fd2d231408bde33784b6aa6940f7bdee5da5b114cce49ff12305a119b SHA512 80f27d43e62842fe91bc50d2110cc8bde4a5c6cd6b82b229f74200336dc70a04b86db6ec0f69ce39afc06c08539c1ea98455567284cd6afda20dbc71a35a61df
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ne.tar.gz 4020351 BLAKE2B b51a353b0fd15fb478850ff8bd9dd8000030431af4538b2cf37f3e6bfad27d40e53f78a0c27ea033eefbf680bd671bfc2ef8bd66c138bcf11d8fe751cc356049 SHA512 595cf9b36849ca147ff664c0431baa6896ac042182fe7b3be56fd69628a653faf93769992067c373c76a8d4b7a4a355617fa046fea126bccdb367a072f732563
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_nl.tar.gz 3846399 BLAKE2B 0b60122c577d130f87639264811d0706e3d9aaad6b910311d517ccebaa7daaea1a90a91e43a5fa6ed9dc2f1302530b40020c6ba2b9537ecc40a40f6a6d326aba SHA512 24e7f8ad1ed2bdcfe04fd5f3fdfbf7d02b7640e26e57bfea4fd638d3dc362c08477a9e1f126a8d939f136c0f2900807f30906f1c1e5a4b1dffdaf8f092705f64
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_nn.tar.gz 3895091 BLAKE2B 34c0734d557ea0c3233b15e1d02dae4b266585234b2b9e9f71681f1dac8e088b8dbdfa92340a7ec113f03786ec557532c01b05f45723fac43181ec3864a38cc9 SHA512 3e6c0f469fc62ddc4d92ac79ffa260fd175535bb310e76346833435c69dcda023091efd4e4a802d6eb680044a660c69bcaa91bc7e6f099fecabf75dbf49bd970
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_om.tar.gz 3791756 BLAKE2B 5f0847631da532f977751e9256a0de5d43a4230bae4de51cb394557c66d5d888e2f3665cb59244ad05d0bb3193fbca81a2738d61eeef1d56664567ee6a3b50f7 SHA512 298e4db3d0d5076f0292c26deff00b884d0f55aecbd3cda2250caa685f4a9819eeb3c0f46b27fe5f88c94d127e466ebfaa06738e3ede12b12f659325d24952f6
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_pl.tar.gz 4035077 BLAKE2B aa76e1dd70de4a25d11c1d4b105e8bfa8059b83bc97ef78d815895753c162deccb76fca5711190d6dfe31ef9ddd20fee11b9bea67ac4141e0a448732c8874097 SHA512 0ec4688e5856098079222e9ae82c27a0e9b93c27ef2876d8b379c8f21d81fb776ae4d5428da7eeb4fb224d7a74ce34b6d9940789141dcdb788e74fabcc478e66
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_pt-BR.tar.gz 3843745 BLAKE2B ff3fdbd92fe0a74d3910391273394ab813d172ba5c9385ac1f15784bef6af5aea566919c6521ffa7a86b2d7ac9d934b3a442332a4f7ef3093173d8f837ebfc97 SHA512 635e550ee7dc38deaaa5ac57a849624ce26ca26706ec785ad9b1e9e6aaf40d82b1d0d37d55e7c6531be728fbcfa1809fcf62d85c08eabdfa14e6d2de76d400b1
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_pt.tar.gz 3830250 BLAKE2B b94830b7f47712d6c4a5255f8488af434a0d4810c9894efcbd10219cdb927b98b23fe9049e37ada186ec1565aec3c385a4f04ea0a8f88d0072ace0c1f85f545b SHA512 8a099ce68f370e0bef1c488e929a28bfbee6c0b66097ea076e17f534ffcf0bb19ec46871967bed6180efa6bacba16c04328f4a1256e8065160ede6fea62c0d83
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ro.tar.gz 3634852 BLAKE2B 7d8c842d984880dd3c12b4913d356b29168b91c3900ce7dc98a8fbd20c42dccddea0257a4d482eb9bbcf08d7354f8d2851b256c58666e817e692dd5daa0b9525 SHA512 83efd3bed7314765053a4fa2a71175c430e8dbebe344a132332dcccad77a2af7a3db2493b221e88a31f9a4afc34d9e10db7169542db7e97be6d95172beb01c56
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ru.tar.gz 4185213 BLAKE2B 02e543039b78a7471d57a6517183d993cffc58db54203e8a865044a2b87d1de3045b2ee7fa17b8f03f3cb41f1737e410487b36d31dfcea0ee1dc7db68ed226c3 SHA512 e1d9243c859f69134e109424ab3487adba8d4c169e8e996e20c1eb57d0c98bda94047209b061057199b1c98f34155ad1d3a69abf8b5c2c3797aec2ba80c2a071
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_si.tar.gz 3915711 BLAKE2B ceaa090b1e8115ae4a80732f9716bf617d763fece63bcec7e7837f6b60485b3f8e28b65896b17c0e872fc3796a0432d13d59fe1c047d217b34c779f4f9ce1d0c SHA512 d41c2ee4afbe90b5c21d519dd4c6fb2539c0655de8c2b8056ecd5463efd7b9528f3cf2a4a2f1e7ad22a08b57f2db4b4e17f7139709883f2915df49f55dc75bb8
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_sid.tar.gz 3780666 BLAKE2B 76f82001dfa66fe12b0d53380922827c2b909bf34d26ea2f2be13595fe1950e634e6d17a6e246917342c39d3310316e5cbc8ebfbf53aaf2189b750b91821d48b SHA512 9588712904bb6688f919c1e856eb99ff5866c56a925352192df0b7e25a677ec55efb3e644e3a8f18c5c0cf280a8cd139c7f90e1640d72bc3f801a26c5ddbcd37
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_sk.tar.gz 3939560 BLAKE2B f8bd598f4f584b2c5c1c667f7e128a4d1644f54b3dff98529556b4edaa3828a0ca348696cc0823c000ad9e13b90ad3735aa24ed40aed159503fc5769e4d12f99 SHA512 335c8b43e2e5ea508ab0af5ab2e5b287a2d4a7a3067e2af0ed9cf8b930528aba0c83d0b0d817c67e0c52ff781e09e6ee76f9a33e95aa87b1d28e9126851ec823
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_sl.tar.gz 3795349 BLAKE2B d429f523ffd8ca8374370f59deb539917d9a0a8dd42e85a255a61210bfb07bb4e86fef1e36afef872d9526115352022c81090e7c657dc672d9f32c2677d3dcae SHA512 a57b5efe6070a1830a0cf42d565e94f81f690e929782c216e826100026bb61a0f2338c4762e7244a1d10e118eb03f6ff2269b62b86c4d8486f5d60b3eb1cd251
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_sq.tar.gz 3695737 BLAKE2B 7e72266cccbb203e0d7789b8cec3d36ad7897e2fc8cecbc2c78be6136e624e73b36d7b2092454abd9cc373c81b27b39bbd5d6507a1b5d6b09e28e99e7f6198a9 SHA512 5cf62069cefe1602c07378b6c092bc71e2a120528e21a803fa7b7a34daa9fa0183ddd698d6fe8263046fe489bf66367e6fc5fc5075660499c0adca20dcedf727
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_sv.tar.gz 3781969 BLAKE2B 42bf547d2a93b9f342f359ad9c7102ee5dd279d250eba787c406239caadaa68ec1c5cffd6abea20434eba621a5a6a7f0e9cab5e85528c822b1f5c97b88d5aa97 SHA512 078ea7edb02dc332ef0c9d5cc3adf373a23edded17989600d29d66bcb218907c6d6429c7d6d523aa67522dadb02f6ee03091edb050f708d04f3b7f84b988bf01
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ta.tar.gz 4129515 BLAKE2B 8f7c1caec56a7a10279ee899f3e039d315d8fcee6c5f96afcdf3c6164388a945dc762885b9e0d9155e53bdb990a9843f808d943ccad6830b3bdbe4582442d4fe SHA512 35028d3f350ba56459fd527ace6c5211c79ce05936dc1d57462d3cd38c4bb2ffe6eb4e714e10736dab3a55e3ecac8bbe3021e9352c340b17d98a50d6dcef2acc
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_tg.tar.gz 3750643 BLAKE2B 9c43dbb703c244c98233771f61c5713122db0ffa46a5269c1f1ce1f9bf8673b5f472fa1f529d44dede46333cf5225ef5f507da1f931076879609a0d001616eb1 SHA512 301e68da08ba800727921c7515756f9639a6a06a6a62e745b1be0c2360764544b66ab07e46abeca860daf87822f55bb91b95368ba277fb003e63a32c02b3ae36
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_tr.tar.gz 3849037 BLAKE2B dabdee311bab0c5a705445c3daa29dc4991eb1c9ec178493079c008d4e07a0967afe0498668ccbab768af35c764cc230b992c7cb43c3e4df4819d48277b6530b SHA512 ba67e560c35f82d0dc61ef99edd526cb0c68b5cac3e384632f1e43e6736a1ccdb92bda8901918b4f482c3323bdddcb7d77b830fc30b667403419c4557b12ca98
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_ug.tar.gz 3863153 BLAKE2B 62db19c9c884668558025fb8d1110955434e2b99e2cd5f1ba54a2c26c4ba4f53c5ff7694ad7d30bc21ac0acb68bcc38f74b2dbfeedf02d215abff143b212b98f SHA512 586a7bb814585640b7b3509c5fddc289f152227a2cc3c5ce95f77db62fca15931171e5d1cf48b49a8163186c26b52fecd8872eae3e7a3c46340635afe7776475
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_uk.tar.gz 4174282 BLAKE2B 66c10f0a387f5777297b52ea1e77705b7376de62b1b5f56ad1af0244eb20b3bef09d6a983b78f7996d591d51eb0061af76d923f948347fa60c77ea8f6639bbdd SHA512 80335adfa3086048441709ac28b7c7adcd0c5a4e1f4fdc865cff6abe5916e5d58968d720c260a74fb2230ee0710311412420f2c6e7bd648ca7406429a745af87
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_vi.tar.gz 3823921 BLAKE2B c5d821a1f19d7c37b36a5c5e4227c9286947f7c0f3c6c50e60e742e6ff9224dc625b0679be1ed91f480d75dd0475cb213d57dc0227d946ce37ffde24365aeed9 SHA512 ddb3ac672fab4b70e942dc057b2410d2ec3e47e6ca7589a1629343eba9d5f4af0dc8b522236373a0919aa1481be69e66af16f69e2cd249c8f6db69c83fa42d5b
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_zh-CN.tar.gz 4090630 BLAKE2B cf955240d280737cf1e8a5f611832eed27a5abfeeea64697f7d3e6c49e093068d437631d57b9d67eb58bf739e6f26852d8851c9ec43968f3a04dec692435dcf5 SHA512 0a2a60efe28848feaae45ffb4d09ce3d9c2d3682e9734fabfa428d4c9a5c74e30616c911ce5f74245e7689d752dcbf470cadd737ac625dbe2063c455d54df3ac
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_helppack_zh-TW.tar.gz 4208915 BLAKE2B 0b08a581b73df28cfaeafb38942104f7589e569c83d28799b6fc9793eb58472db0678b60fce71b55468c3ddf690afb9e36eda85fd093c8c1a4f1b15cfa2a9505 SHA512 8b30f01a4a2a7b21200f4931092a3c5d2af93b5ec1c21d811d604cd737c0395afed1d76570f776cb217654042daa725743420cc8eedd69ae8882a618acbcb9a9
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_af.tar.gz 1486332 BLAKE2B f5487a4ba513026085c50c049f14453a1a4f2472c6e7d2d81511fe89565223da26be4526f3447e91922981a073a718f916d4d92986698a31c6efff135321094a SHA512 f01ba52755a4e535ff546dd2fd6a7c882e0e47cfff44075ac8146e293007a3be7f87a1701f37be93b19cc2743ef42337e276c71dbb909e76716f77efeb29db86
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_am.tar.gz 963543 BLAKE2B 9d61eb7ee485f82a210cc886ce257bd785499c7409afd782a5a16bd618e9f987bdcab46cb6d45dd227f2db367eea6bac177227d45366370a30d72e3e57a66e39 SHA512 bb2f0d0c2ed82deaedf68f9472674aebc46a990a63a2b86664a8875e535bd6c9214dbaa96189ca0f190949d15fbd0d2d60ade2aa23938b73d92434683e966b03
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ar.tar.gz 2445195 BLAKE2B 63d29f0061c98c89cdffb7eb0c583e5d840e96f0f3ceefa82592a258b1994ed233d3b5c659b0710e2f471e8334a56a1821baf894e6ba42db65dadc3330a89a5b SHA512 2898f32c2721adbbdd7ffe42c542ef85f74d0f6f53a87f36ca2b515c1f2828539e72b1cbfa5a14cc4eae91d3cfde989b784f11dadae53ca20602fd240ece5293
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_as.tar.gz 524855 BLAKE2B 25de5208d467f8dd6ec70bfb5f0a9cdf25bec0abafabf59ab01bc0e0e9b75cbd6ff90739647b5730daf4e38f817ec0abd53a7cb40b7a8f90714a9ec8922b1765 SHA512 195e23b5038106c29712b7b1fd0209bec89bf5b79d6cb0b5949a4893b7b732972a2aa95929332cbbad1a8957f563195c4ae0cb52f2794cf879e33be05d7ef903
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ast.tar.gz 574536 BLAKE2B af45a70fd94ec6ce58c2405d2d1505c999fb945ca2e17b0fce5ced6abdeefd7044f2ab66918a7f7dca046696f24c24bbba5d3181cbee0ef93f1cff197f27d7ae SHA512 c278c0387e5544c64e6d1ddb715bd1f285788ea9ef719a839630e0976bf98fa634c6a0ea586a302ebc33f138f9114bf3a87688fa9dd74185ac6b44118d1ff167
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_be.tar.gz 1051010 BLAKE2B a0a1336a3b393b52faa2060ec21f17e83f98c8a109bec8043a5e096d431f8194c788232dcd8e841e2c953bd7c2a45728e3894c0a142143c63777a6385bcc2a61 SHA512 8bc6bb514e642b08b9613ce00de0cfc7c6f52b81d77be7800e3f73010b1f2e4b53d9e2274a55f6010f79f86875d7af30365ac1f7aa3d1c98e9c355ffaebe6edc
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_bg.tar.gz 2749633 BLAKE2B f8e9715ddbf66dd18f80844b65263d635fa6c5199bb1e7c05d95a9ba4915dbbd57ce2be8bd03d0043d15de160c931eb24d1bd9b0bea3079f0acc31ecc70c220f SHA512 9bf1a07ee925db5660b0d2b227bd98e8bf903a0a9242dc66595a8eb02fd15948ff2b4ab5d4332e8264ed32142d7f823914d5e79bef77e9acdbd75f6f19c0014f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_bn-IN.tar.gz 726691 BLAKE2B 562c9e650fa26e746646a8bb55c3023768702a2843cd8ce91a5261208b8c2c0d432b7a6f789c371c9e1ec608730a4c19a07b47101367474cae9827e0f4c2f21d SHA512 e8918b816a83adb922e92b4372d84302dec6a459f7350bc851245b97360a0c24bd9b97acc10dc3fea58dec8ddb5511672026488f46dcfced9c633afddb8338c6
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_bn.tar.gz 880508 BLAKE2B fb0a2205be05bd599c46d51e9d4560bea2e0ca420d74050ff8299f4109ea1ad5f96e581fb44decf7fb6509d847f66629d513a9a4518abe072dafbb9882f3366a SHA512 940a326b103420bb0011cb8ff6ef241c3478c356345c396005eb18a4950a8c8e18a28a3b2511f981374bfe610d9df635b2293b46614573b775c3e49f99dc3036
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_bo.tar.gz 459296 BLAKE2B d98a9be0334627987a2da69cb48327f716380bdfd01947ab1de0b0ec672760fa4983ae069da5a8cedf56b34a6ffb5507d2989854085e469d3f588ced604b336a SHA512 ef97c1907369789ebf2201e346f53b542437c8218d8c71e4c9ce99145fe3cd6ae247e9ac25491286889d3d3fcd944b4b15f7388f50443658961c54226bc0ded6
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_br.tar.gz 1519335 BLAKE2B 7d8fb094cf7ffa2f33d35be74426a6c48003fe86dbc4aa9461007ff8dfca6c4a565090f320cae800e84fe30a4994fb8e6fd0c214462c9f259b8fa0ee1027dec6 SHA512 49ca5998e3ddc8f9079da37e96ec5afa2849cd26b1d7ba0d912ea63dbc9f1984e549958d6b53b359444ba2677c3b25b1e78cafc3c5be176840ee97ee842f9b2c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_brx.tar.gz 336794 BLAKE2B 0906f6ec683f6457b15ad1187b49db7d52f91d86d6c862f18dedae60ff546933bb9548db35f0cbafdf0cf8c2e4cd62019d1e38fa09114885fbd06a56d2454148 SHA512 f4948141f6049463d0ba1a83a9d2e65f9e3b5d685397fbe6f7f122e8e1b94e2311f5278db75a642b86ecbea118d579ce09bc7783f93d0bdc9b36a821acffab8f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_bs.tar.gz 672063 BLAKE2B a4f08859ac3843e6cc31a9542c896912ee6923269f4780bf172563972cb34eef57cebe5276cec102966289b410aaf1ee10b90f7b76f39f2730c6d17fe1877b9b SHA512 0699c689b44acc1778a3eca9c6c0886e4e5c8cc3161f64f86b8f9c35d308a170cafdf3a53c2876ad50c8c80159421aa54cf8d54d3fc669bbd013a988d8c99c5d
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ca-valencia.tar.gz 2657117 BLAKE2B b7048052d694ad00e084017b062fb6f7a617dfe345b0b41ce16f93532091d9ab2218482c174f05021cb70a40856e106c40f6b09efc33dfdba07ae60827afdd24 SHA512 a4756833ad1fa4f01011c3003ac28c2ca9d1f2d4b59672710207e26c5d38eee3ddff7a04c9d9489be1df7c3b11e53208e939c47788acd9441d784c5c7fda4176
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ca.tar.gz 2724211 BLAKE2B 850463cdbcac7094e995e52fe3810598bfea89e5312f8aca81d0e88dd329cdb2c9f226b1b75a7c5bb769d37ab60484da4922d881e84a9bcbceaff690b60a16fe SHA512 07a651d10befb914b3f605dd446c087670760d3e7a48abba802ef9d54809524e7aea2e16ad022f83c93a27ad8107accee6131e3b5702a744b039b2ba1334a84f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ckb.tar.gz 364568 BLAKE2B 26a3df37b7425e5caef1fea617473e0e97f324ae13761e113ff3bba846f9d30689f473fb0f25cabe089da864018c64695a43a93ccfd66affd0381c1a58294c6a SHA512 a11ee3b29904ec808451890d7815ddffcc2fe22d43eb76a210bc78d381208a58d9e16414c39fdd8a77550cd71eca1ce4ec25c3ab91974c1e45252f6ef20ebff8
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_cs.tar.gz 3471977 BLAKE2B 52c48586cf3579b95e0afe6028602774d1a603d678faa7a9c20d38cdbbb9fb2839fe090801339eebf918b5e42a863353c7499d872f7cb6f92f047695a2d81a7c SHA512 95febaac1e19390f9a3051434372423829a9ecc46237766e56fc7a1683c58a03763f2a040ffb3d8c360b10386dd4909098000758e9a23886c8260ea32e318fab
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_cy.tar.gz 1012379 BLAKE2B d1733538367d4a216f7fef7fd4e848528e41bfc93be425f6ca67df5677dc50a1edd3083bcab0dae1dfc566649c739d91be9d80ba40a07d2d44611c1616e7f4b5 SHA512 8066c67b91b316dba6315e42f8801d88477c0ab3e148f4c76be8404a183e01ff8823d9a10771a447f1ce54be3a2fe9fabaf6d776156c46379022d269f92e163a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_da.tar.gz 3112242 BLAKE2B ff0396cc2ba246b09f18587acbc67b4297cbe73ca36c52715d3c58ed9476cedf761760fb235cb64c56f020f8de74716304a939ac116249abd173d4cf6daf7c2e SHA512 dec6891c834061eab648b5e2039b03089973ee47c768c538bc1186367a739aa874876cd41548ac01d55e3efd3e41a64114317425f547013e1161661bf7c3514e
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_de.tar.gz 22051279 BLAKE2B 54397b3adfe08b154122098a5aca657c1bde71ad670ee47a94a394d5ea946712d78bff895f69d139efc3237a8c17bb3ce8a101d3df6efbb57cc2f52207d1248e SHA512 b382dd2def7e2cce72067887eaf837a535b497df94808965d3cababe38ffbd9770119de5755940f85daa30d2159bf6c48bd2b30c2c13d496d7105b5b3ef92531
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_dgo.tar.gz 435495 BLAKE2B 40bcc080b7abdc91c79a59070e1b66f3b981b8a273c796c0f037cde2c89e3213b7ad1dbd89f5c919f05f562c255e4089efa86d0728280c80b8980521d5b25f07 SHA512 aa569bf9426fe1c8712acd196f07339f1ad861f9eebb507b0700c9d59e4f8783713ee386e3e26a172d1ee9171e586275737cd38d0095ac9b989fa329c515a5bd
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_dsb.tar.gz 908644 BLAKE2B a180ac5f8bff5a70e8c5f8c6049d43ccef0973a1da719d8b075e9bf08e6015dad32c1b423ab3d00eee45001c339f597df8594f2b3f4a17b4b5abfcc10d1a354c SHA512 a84171c32e95359006ab5efcde50219802c483951d4f22625f7448e2362f1ddc504d8b1d69459cbb083ac11ae01a4895eb85670a3f12296a736b97d8496f9ffe
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_dz.tar.gz 485556 BLAKE2B d48d4bcbd6ffa0049fe9f0f64586349915accce8e7cc5d5a176702b6e4027ab686fb3aa2744c9e74084ed60abd3f681d487ec47cc6a4021099509cff8460b118 SHA512 b7f974087ee9be881f5f3b855fc893e65ca93c072e28c9118ce73fb6892d744f5d16671443278cf107c57df6f395b5b04159c21a8ddc4e3c8e59e6684bf1d957
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_el.tar.gz 3151201 BLAKE2B 511e8616b884c67d0a6e1e43a6da3b4eb1dd33ea7c831c32b4db0767e694e3d7b6c89f6b182908a769148e1f195af4ba13adc617034e0fa301c127f14e174b40 SHA512 d74f8caa88ccb98c2c7dfa527ef1140b22e72ab2fa74d0aff157f18bb17f11e6f41184c713888f9c8f31f3a16f1417721ea53b85ba67957498a7822ebfa854fc
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_en-GB.tar.gz 7623175 BLAKE2B 59fabdc46760dd6c723cbce05021ae607427c92a1865ffb8d89c5d89a8f13f7e45fb417531c4a01b2d078e0323710ddbfe7f86b16e25319bdaf04d6f9dc6ce4e SHA512 3e58b6272333baff8436f70f5cc7ccfcb9baa33c13aba27b2cb01aa48a312728c417ad92649bd6b2cf058e2cbf13850ef92e46638dca1b85011e06492965e806
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_en-ZA.tar.gz 7051261 BLAKE2B 6059d4021ca96029aba5a3bc28abc4abe0e86bd90265d2baa2529ef72721ca6626fbdd3331676112c495773d4e0e96a454bb0bf3383e451a3657e024449e2d47 SHA512 5c6af0152627971cdf5a217a3e9ef0032629a7c05e378beaa371adb15e0c44352e5e894f8d6e6830f8d2027a4ef0cb16eb48bfe46235345793351717920c1363
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_eo.tar.gz 1002144 BLAKE2B 1271a2f6bddd4edaa416f232d92105570342fbd50bae5eee7227408dde109509a567f351cb1aaeb37bfee9df796113d51e63a2977de9745518d01a99d247b810 SHA512 ff6353ade2a83535271481e2180414acc7b11b98e557cf669e8a7f7edfdb30ba2a2373b54b6f9ed14b68a8d2e57cf32b9d224f90de1b16376518b7bc7a9b2af1
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_es.tar.gz 7783033 BLAKE2B 4d4f83ddc01ebe5df48ff1d15a9bdb11642860feca2d6ba2332cda2fcbc4d7ac8bdf99022ccac608dcbcb05534644e0e47180669cb0463afafb2b589f112936d SHA512 f5fad236bfaa8530f7f6c5edfd6793e9056e925dce23a3a5e6330dbc49c68dc7e9ab8c1f71212449b021522ccaab1ef4663cf51b2cb7c17b6cf366acb0d42be8
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_et.tar.gz 1870174 BLAKE2B c97ba66307e26d876154a5a9ca2166ff4f716625482b7ea63bf25ea61087c96f72b33b375d7d6002c8dda1fe6a0516efecf1093ff9f97daa51ef62d2dbcb65df SHA512 1c22cc60b377a1f791bde841b913281bc7c688cb10f478837dfdbb913627705f039d7837d1fe7c20710329cde439b8d323aabb9329de16ec23225b839af81cb5
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_eu.tar.gz 1013550 BLAKE2B b1113be620bf402ac072428807d7753d0880b543ffa497c9b9d172987b35f8c168c5e730d703f047e591216b95290b2b09adfea0828d73a37a92865050078322 SHA512 ff97d5a8ff5f761166a97facb1962aeff6ad31d89de98f42a6fca50f6c9d63afa37256063e402d0616df433b9120ed4a4b28b989996982df9d9699792a52cace
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_fa.tar.gz 352258 BLAKE2B b6bc5b963594f22ecb9c24f8eb0497c8bf573011adbb5489aa1eed3a8c004cbbbe09dc33e079ab2930a7474c0d5238b4c2a94b060392dc4149cb53746ffa0dc6 SHA512 e9cc110a9febb6ba060341ff0fe43dfe62f7339cf605d38aa97c8cce3301f604160a11105369b37b7e8a29e6a36dd7f46193b4c53be706aa57cdd5bb93b7ee03
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_fi.tar.gz 875745 BLAKE2B 17901ef77401b9f8d597e8cd05a54934c9288659f6e5714e9efa13f190cd981ef06b7e39e9746a845bf92bb52d53f9f5551b3abbf3915f298656c3ab30b1cccd SHA512 f35a52907380e2493b8b62e7b9b81fc90488cef27b72f2d5dc6df8a1d790b50a528f8d074276313b524226c8cdc0e6fbb40788b44d7d1bd449f58704f9bf2bd4
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_fr.tar.gz 3323247 BLAKE2B 01926d461e280e050a5837961aafc7d3d3b4db892ebd7023b4593d5404b0d705cb1d367eb72f66cf423737881378b8f9e3c29ad427744e889d732973501939b9 SHA512 24f2ba674f32c5bae96fb98c7be844fea49e52cb48af4f0342f293a04ec5225e3716224a7c2524559d6fc62c9d7dcddbe02c2e885f0fb1a76bdf28d34fb6c028
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_fur.tar.gz 191130 BLAKE2B ecf932a520a96669cb1e815508115e80aa7f9c68d69b66da93eaba87520a6af576a47964fce2ae86ba5c72e864a273561084d8715f2335d008b8c91159febaa5 SHA512 9dba206e5d1c6cf599552982e3cd76bce829b67d4de6cb4fdfcda98db2c691543d27416cd36a9a149f328d2f854960ee05812048eaef1e88efead54a53a0df4e
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_fy.tar.gz 908850 BLAKE2B 089cfd7075a9eb21bb69b61b01bf0d3b1a04191549e87ee73efd2a220810a362a76c4a757211740079b1b6f2501a5dfa46c7fb33d2b8ff8b888a53a30ab15419 SHA512 b25708905c8b7945cd813f606a02c3327d1ed216d6249d44ce96bbeb8e95b60d171e96e4e62aa0f1bb30919c7153858dbd1f20a4b90f4891054ab24bdd6491cc
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ga.tar.gz 725931 BLAKE2B f68ea2c636b1c02bcb60c38a5fd3688062b88b1c3a9da31e9fe3157c823eac3ab0697b4ca939f15f66e47d5fadaac61c9442cf00d86373e9d65fa1eab4319842 SHA512 3f264e3b53b9a7b2ceff42c262c78c88949be5634b135de9d0cdbbb01f269ea448e55709e2aa2ffeae0334196ca8abf24cfd4889d0cb67c86e1dd97bd1ceeaaf
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_gd.tar.gz 1771814 BLAKE2B 0fe606d2d1f074d8f2db8db01ba2f574c35efb86100a92edb4c21f9fef88e5819299b8963250bed74992ae6c8d394a5d5b1fe8254b481319c2179bccf0132ce8 SHA512 173407949884bc5b14108a6f29f06e558bda8463b68e9d1833fa9e9797ed255e76525cdd2611b8df173f3ffedcd7399afd7a2f7b36613cd6a05b417cb3fb7031
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_gl.tar.gz 2908088 BLAKE2B d989bd6c8e47c2ccee5da2351a76680b34a4007b08fbde48cf0bb4e46dc742cf5b1b3b254c73fd353a592488e97ac4a3e9def3a6eb3c1d2ea63576c9e4c35c8e SHA512 a2c3dc8e99496fb3bde852cce6bb4d50d4373be834b54afc6f0eedd876703dd5b19ca6c69b664199f97483c21e733d984f4fece09a7e01226b83ba17a730fb14
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_gu.tar.gz 1304714 BLAKE2B 11a5e7ad221ddce5fd2ad941ea54e5453fcf1292569a3f7f25ceac1a21a2f86f80286d2238f25407c4780f2b50ca27158482421f7dfdc42c2d761c5c8be84aac SHA512 5837eb43ccd9ca77289fc9b1c200c62221bb7aaebbe801043908e26a0167277bd75fc1fca50f7ceff04aa524c14565f45e3b0e9731d250a479a095ee47048bbc
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_gug.tar.gz 511867 BLAKE2B 93d4b6149945c0d09e9a5c897b1355ed36f08b9dfad5bed7c68c92c4dcabe63f1d4208b99737ed31377a308bf0c9f30205e635f638df683f129bcb96e27aeaad SHA512 0e206f86fb6768d41484273d5fd003a96435d16759ccec382b4a4cf5ed9f8350bbe252d85666a6982b9bf9d42cb65a4040fe86d5e25cbe038886c32cb9318398
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_he.tar.gz 1684256 BLAKE2B 2f64a5de50aa78da4b3a113b0e12dd1c4d3b71e7c0a628ce2c676eb4a2562e7a3f094a5594d8892fb2745eaef512b5291858af4fc76a75f05cfc1cd397c8f8f1 SHA512 4eba4dbee0cdbc745366812c4c895319e2f1e84d65e0e2eea1aaa6460b43b9a7bd8cf13cea0c361461315bab4d64573deec46f01db9927b58d325527e576bb5f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_hi.tar.gz 563427 BLAKE2B 342c1d75beb689cf50aecd9001eb4d346863e796b1484fbdba7a11c69643f50471bb6cc68c939c6ed44d993e26a1740a9b330d6566038f67c4516409f6954d53 SHA512 921f506eaa713c7e72aaa55a6d8416ba42d47a7c4a3033bb122c8c09488a942f8332677a15af3bbd8cae64c9e89619aad35583230e2c574f89de0e3ed0e6264b
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_hr.tar.gz 998225 BLAKE2B 6f1a3c90c295bc728d717140d901ca6255cfea8e44df4f280f3cde50078ae50eb7f71c2e986b90f9984f9abd6603704cd8a176f3b014d5edd0d8aab7149bb538 SHA512 14ad23204a67abe6a52c6e19b11e30db95aebfd12d6032a5c3d6c68e6f2e5bd5505adfa3d8a99da3d4d59b1747fd86edcd6fb8e0cc078ebb57bd056b679e7d71
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_hsb.tar.gz 917870 BLAKE2B 41fd8e67fcc3f02ab634ffa28bd93b2c39325b068b4b349f3e6ae86b59f04c734631eef53b66afd193facbd8b6649632f8fc9fc48081b3c0130dd75ccb48a1a8 SHA512 ccf7718de23b57695d283952294ed129280a98e45c8675033e9e9c7356fc5f1e671b5a4de96f6edda6cf9db89d408519f984ec574857de2d66187d57104e9093
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_hu.tar.gz 3315484 BLAKE2B 897443ce2c5499b1939e1bb973da5250c7df31d6fed4d789cf4222c453d532d64558803492b21ead03886832aa025f07a46bb9c98d036b952cf3ec4bacb29a84 SHA512 917b7d015f9d3efde56829373834d792b283b2586bbba5766e35fb94567103078ac87940473a3304a3a5322deed9594e7b3342cff39eee356077e6a6c5172454
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_id.tar.gz 1866924 BLAKE2B 5a73f1233c88e4e98bca2a973d74b3e7eb383a5a7b980fdce47d1a1806f7c73c227d5d27d3f8e0b306ed13a146e9d5be99aa2b2539c72ee75673949f7d3787cf SHA512 5017286a2a34e18f30733e40a076319a6176b14c78432788f7f272bcb32e3c536cdb70253fad5d434c642a4c4d8e2e576a2a66c28d5a93ffae1043b9612cc392
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_is.tar.gz 1539622 BLAKE2B 0e15abeadd25ca62ddd12dc2b439f7c269bf3fdfdb720e9bda650c96e2ff8e7e7d10e243b567aabf59216cf0396adb11dd7ab8c5c342afec6a273d4cc5784171 SHA512 4fb173894a899bab33f9e24d0c9e1d3bd7ec3cd90b22f6a05e34a65843c503fc79f73630ed28777a63595c17669f5f81280b176679431b9f17aeab13faf06efc
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_it.tar.gz 2353704 BLAKE2B 1b56a4758d8a05545cbefb66c0111a9f66958e221c12beaae0eb28b07c2c51c64c28a5faa6be87a6f4d401a2af614cf232213d24a6994bf5a83e9560c47afe41 SHA512 c53bd86605c4e7617fc9bf4d745ee9dcf3c900ff473e0cb9cbb4d0e7e26b9cde9e2bd94bccb6a97430a98c1efcab13903f456f7651205c685c4f14f111b2ecdd
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ja.tar.gz 1019361 BLAKE2B db3e8e12a43523ea945cdf8f7a2ae3f650f51bc7f4f154b8356cc96ed872764c96eadade23f770199ca460f0da3e2a194274af77043ad036c959e3879d0e1bf6 SHA512 ae17c60446f0cad9cde0a8ebbcc6ceb5c609e6b2d237d6c8b59d116801e93e48a8a30d90af249fad8335eeef12395675dedab49a675257b54d67a97a8ec6c08f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ka.tar.gz 401446 BLAKE2B 90c3878e01d6eed71b06e539d2c6ea23614159fe0cecf6f559aeec489777eb54fb784889865687edee8d1f003571de14bc83e3d8a232ce7250d96051cbc33eac SHA512 f6e568d346fb4e7aac95a664f948de759b1b77c1cd6933960a24b1cff549e688de9c5ef61d9e68cf920ea0f61823e473f1a6842d91b6ab3000e6c72fc5bfcc4a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_kab.tar.gz 639219 BLAKE2B 54ae12699dad9612123d556935924dfe4b20dd4c10099df7e5e7a2520c537cbcfb7a00b3fab080d1a108b8aeada8b34479839eab0c5e0db2a25e2a858d5cc610 SHA512 1652c63752f8509a55a72cb05cf52cf5ebcceb08e61281c44a1a7615a7a362b3d71148be8d480e8c13af51dd8741cca353e457bdc895365d4b23332f146e6d39
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_kk.tar.gz 832765 BLAKE2B 1e7c6cb1eab616fc48d44ba7939f9e87003dda96b83e7e911e2d5f04e66cdd6b5587909503760ec00563ceb8d111162c1a0982b62af0bb06db0d4e676f916d0c SHA512 f28df543a3d62f794e70f832786677207601a539708a75cb59eb3edfa06fdd449f3eade15b41215ab0a33374157bd5e7c4df506b0a109456f1cd6aea8e724e79
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_km.tar.gz 823782 BLAKE2B dca966ef6a4f3933368b2b61dac4315efde2d447065e6e84f58209912e96a2c5cbe1854b22b603c96a688a201271e666164f9d179a69325231da109a6fa69d50 SHA512 143c045920d70f1be6ef18c4328c11d677cc077373e8736fc0a263a4ebd40a471b8b12f3388a2dd222bf6ef28dfc9236948b587727bbb17043fc629214fea538
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_kmr-Latn.tar.gz 335462 BLAKE2B bff40ed5973e52cf8bcb52069c6bd20b9a34d5a7815f63525041e80bc8993ea39424dab905dfb48abeaff80e0807e1e4c6480fbdb4acaa56097e36dc69ea3a39 SHA512 fe3b9caa208136d6f489f5261539661fa24209c20be8abf041adf625a590e1437a8f8659a808306bc004bf4a383bc964e6eecaff0c5f85b3653537a886466e31
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_kn.tar.gz 572648 BLAKE2B e228e9cbdf0ba0191493571a71f1776d701a7e02ddcdad2458c0e674553d1264157d6b23741cb7e59b96f72fd488dba870482bece0e2f3ecd90506302ad6b9be SHA512 b3e17e8ffc0a737afec5ddfe51b19a7c742ed61d7b53174f131b737ffa3da6b8cafc6b01f8992e5b706f2a6272fcaef15b9bcc8ee76b0e25711fea76c3655423
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ko.tar.gz 1703267 BLAKE2B f1505fb37880f27c56831d1b17c06401b78387c19cf8b3ac4a21284ca73a3ce26b4156fdbf18f98f0f8bed92ff96e1e3c985bbdf3b183d93ac07f14c4285a569 SHA512 ebdc05f7822302bc0de5317003d5b69aa2e771801cf3570f306de327021362664fe6ab83755f837c34836c3d9eef5eb776d719993638cb9c2f1a35bf3e332381
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_kok.tar.gz 408978 BLAKE2B 50239a125ae77e6131fd806a56a94bea241129fafbf6be72de2a571c5a4ad227c64983c2161ce7959572caa58b87cac53a03b3daf723b4ee8e2059efbca83833 SHA512 1757a7fafc1038b04e222bb0dcbdfcfd3f875cf8b821e3bb7798a3ad4632bfa29caf855e61620ddfea07260b8758a9adadb965b7f2edafec2cd2bef0dbc45a6a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ks.tar.gz 330069 BLAKE2B abcfafc4b2a42f6921466629cbe8d81eead1a98f19b121e416477a9795cf500eeb179af1722ec05a3e128eeb21bc5c2174145e2bd984b272fd57cadb24ef7625 SHA512 6c33ada89355ecf94996394c6fb6ceb97f5b0e9f67073994cb82ae830ecef1d2ed6e552e6cd3b6965539bbb71931fa5a4f62066213b1f04398097fd93358569c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_lb.tar.gz 147857 BLAKE2B 5cb4ace6fac4840abd7f55fe6436aed006b0c3804489131bdc090d429758a954dac26468d0aa3a4277326b9c0b7e82cf903307b8458ad008412482aebb26f65a SHA512 8c75284f4449eee635d02dd002bfe73d3e3d000ad0eb740642440adcdbfa84b594b55d6f0dfa1f06aa759deebda4c7c22019baa3d57fcbb81c4fc895579f74fb
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_lo.tar.gz 432811 BLAKE2B 0273670197a33a6d009237ff5397c52654119867aa47ff51cbae9fc8a15c0ee985c1a41cf57f8616de5db6cefe042d57092e00ad79d6dfaf4a7e3feb05bfa25c SHA512 a7d5ddfea52bcfe3c4407f6663c0c40903057e9493b6b388b995d11defa8fa19e1eb12a570502aa83b9511fec3c60322689b92707247fd1dc2eec5309738c510
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_lt.tar.gz 1247927 BLAKE2B a870af754994b5ba845411e27d2933a1d6f952b569dc70e8efb1fadecefc186ba65bc49d0e222e0ea60d37ce0b3b5944dae9fc3d491b643a3d45ab8805050cc5 SHA512 7ab8e088bfd8931f58ea097017e37b0b4ec2115c28371a9cf46afb0f264e0922a1466bea0e0c9560fd85a96e11818bcef216e8aae5d4e61fdff3e12392537187
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_lv.tar.gz 1176180 BLAKE2B 7dd8619e630c9ddd9718fdc2e6799d872e77a0aaeb1fe108c817c06844ec915338a851c63b3cae6434bfb20e9fbfa26b5106f71d77c7e40fbaecb4027cadca43 SHA512 7f7fe8cb616143de30f980108a8ce024f3957a4017988ea71f6ce77fe4f93a606db6396c88076b0e5fb98606a66f0a7a1dc4288ff5d5348942a8f3ae06683025
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_mai.tar.gz 330661 BLAKE2B d7e8c8b42184359db74353cc72340ad85ce96f8f2b5168d7fb636293faaff993ada7ea454b15763c445f737904385c0fd305ed8b02e30b02c8fa65ce2214740a SHA512 d2ccf7fbfe413d444a8c2f5b0db0b7d596f4da1148e57c1b14f52cc421f109b8e5ff70953a7aa07894862e9ec3e253be02a32cea700d9f3a6dfa54bbdf2a0f4a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_mk.tar.gz 486179 BLAKE2B 4b17826ba8f574d2918ced56a63ea7ed5fed79853ffe6beb03f10ae56055ac7ca8dbe85ac2de125a7c3e24bd45da85df25b471abc592c260e36bb242fb2ab5f1 SHA512 700550e2c90bc3dae5c0c3702048416122586fcca72d0d89441a79a119f26d63c099e0736a4762844f7f34ddb7e2e86988e6411bfee68bcbb1bb3815ec0d8047
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ml.tar.gz 533498 BLAKE2B cd116e08d90504c18c326b831d6556997baaa9e4343044238f4ca3f7c7f0f4da639860990014351ea30bc13617f7055868feed71aed77c05719aed73e665ca71 SHA512 0ff063199c84906c326c69d2b19f2ab02e407e1e560c1e87f39af7eaf4a4d88cdfccf788c53117bbb4a971d0a2f3230b8897c3c349aecb3d9838b10b6373fbad
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_mn.tar.gz 691354 BLAKE2B 0eac44e6050cb621ba0a03b85e04dd7c9ecdb84fe18a482d372a721cdca643d4a89bdc60a12e1d2e058b4ed1163175922c1135b5122a20165f2883ed65552454 SHA512 a4d70521da7a2de3130546011a82dfdcc494dcbb2e33abb36bc48f30a8e5b7ad5fc6299cf7416cddc82a956c730d196c0745d68a23a63e8b0b3b244895e04dfb
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_mni.tar.gz 398772 BLAKE2B 20993f6dde934fe7bf9230c95cc09929721b0f63304c9a15452d551a1ddc8e63070c9b5e830d39f4c6dc8b7c23e812217af0559be43535b1fe37a447f1b3699b SHA512 c38a872321105bc098745fd093b72fc6c9ffa54e719269a36487112740dfc2b731374edf6ec708ccf093b8e0935c90469a5d615edebf43af2ff1cabac4f15c52
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_mr.tar.gz 567156 BLAKE2B 19e898d3e210caf594d1cb695c0ff93181f767e3ccfe23c0873b4124c62568dd0f4fb618153cc342905180fbb25dd89153f027311b2fdb34040f8bbca97401ad SHA512 75399353e9cd319dd0f0d112c86d89b1f8efa2f0c06b2145d73b37732275f4e9333ad58ad32bfcfc69ac7e87d60349febda67b8f164cd63b9248be5db340a8d6
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_my.tar.gz 458248 BLAKE2B 8c35514f1f505bb33cf622d8f72e86659701f6355ff6a59f0c55774d1362cbeff7d1349b711e704fd76a5f16df78d71cd00ba578986e3d8832e023ea00b1289c SHA512 2f53aa0712afe1597148ead9e5457322dbddba8bb0dbd596f37bef4df2c06513a245b5c815430fd82f3ffd4662aac5c7ec52fe6178ef4943e52b3affd2126e3f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_nb.tar.gz 4347784 BLAKE2B 24ae54b61188b4c03ec69c1166c9006a4abf98243227f919c3defd4d919251c4d7afd50901391b0ed0fca95074b4fe139173179615216fd66a38a3750fc02f88 SHA512 e087abe6b013cd9a1d3d5dd5b905235ed7bc1ed73489ad41bf7e07797d8b8fd5d9f1f70489b0cf175537f97c3828f93c2970e3c2eb16f7da7f062129da4c7605
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ne.tar.gz 948413 BLAKE2B 076947f160e2dc5e4ab7321d7a7e5a5fb0bf85aec0ec5d2c43d64fbc55aed678a30c86ceed2371670493d48b360cd2eae815edf7abd7d7d2cdb10963c544e310 SHA512 0b734f802b37fc4f929016d49a37fd3f1dcfeb60818ba9350169e320d716e66b7581a5f82db534aa37d087bbaee06ad46519b3e3b7d4b9a9ee57035484650425
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_nl.tar.gz 1810995 BLAKE2B 3d73b56c1104ccf6650b77e95cb4382bd672128cc5a2804a376a72ede2cbeee516a2d6f8b60325059193347de17d597e29b0165165f69ec3c6480ca53cf97f47 SHA512 60ef03b6bfb34b8863715f9bcd26d6b8e35b2e3fe77578722e2dcadb22cdcc7f3c26736678c5d96319425411030871e4cc1fcdb1b1c6ba14e90e165e12a566e5
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_nn.tar.gz 4351249 BLAKE2B 6890a0b22fe14dc8b02ec32331d23f9739fab01297fc61b0f471bf5eba569270cc36d45b1f1e2bf1aaeb7dd9114a40b9ff168ef985123b74c1e2edb0e85ea74d SHA512 6beb291a23c6f9f91689853a417c92b59c8f1268c8be394eba53e5ee543bda9a86cd5249421a6f9c9420ad3e9b074d9c8071c23c9ab4d3f8d62314279f5c7da5
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_nr.tar.gz 279601 BLAKE2B 83795625d2a80bdb6d9ea710cca8d5019f5bfcb7ad01021c13fd0aff587faa2d488fc499039596db5e779c62f0a8e9949325dd370cece596803bfd92066d19b9 SHA512 766f69aa484e0a547c33b589d6ec16822bae592d4432dff5d8e638542c8f1cb9790e252f6ee2eb4a7693b7c0cfbd07ad7604e5688a61ede0deebc4166b4fd13e
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_nso.tar.gz 321647 BLAKE2B 89105e0ad56ba52637d04145e31a533ea706b6a47f2621bd623f1e7868359fc1940c0e7496ba254741e3387c1c4a6ff25087ce72056fdbb40703927430525d93 SHA512 0ce1f67a462c0b61e115c1328046a02e438d7818bc53976958d59807cb29c11ce8bdfae428c3ed4e0ae244c5e70617521428b775e8eb3be993e0f3ebe1a01b5b
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_oc.tar.gz 1324265 BLAKE2B 239d3f2b1e368b1f9ebcf5b691a0a60a98d767e53d325f5236b8229983acb84cdd2b40f4c2853f6bcc3f0e29eb9c759d132c83277d9182c0ddb5e6e47d4a3eff SHA512 31c63a785680046d86038cbd72ab014a3355112ef2236699f8da94cfe479dbd954e059187a2c55b96112fe454902276f8f68fec3098aca3c9b151a12a8e6942a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_om.tar.gz 486406 BLAKE2B 055c2f0c507c54236d2f161186f43e00c2963f680cc965e857f45956f3c7b5ad6135da2a319e0db965b2368a67000b3db43a0abb7994b25ce32bd083f2b1e2e0 SHA512 605a2ebdc8e34c26a7e9d0dc5349d3933e1fb42a10bc553e7f7601d80f72932ba0ce0628d99eebc8df06866f406a28db255ad642b040dd28e4a4f3f58c018505
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_or.tar.gz 588197 BLAKE2B 4162b9fd0f88c4b6cc2bc1a4947e04c3f08dd7e0f7b4cf0c4407d7a75a9a7f9dc6f45f06a429bf148993301a453a1d7528d09a342924f304a93939d7c4823fcf SHA512 14a2dfcc2195769db03191e5a2e7db62db10b8f6411e43d24b6dd4bb9593ba9e19c868d47967511fd786231d8460bbbc2fa3b528d8f92d776041f111cc262b35
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_pa-IN.tar.gz 483891 BLAKE2B 054ac392aa242996f68dae2a15efdbe9941a561f24b59435bc3558e6486dca746ce905215c5a09c724f4a483370127c58d6ed1cf42bcffdc14208ca1f9c592b7 SHA512 804f504758189f0e754ef39d8e4232c0cb2c310783bed636ea217830403acb3ed7aa1bc67c39aee07d3644ee507fd83daabf5b5b4a7e25d1a6fe15658224bd51
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_pl.tar.gz 3381894 BLAKE2B e2791cae0b04a3d244f7fcdb944f73ef64db68912ab0d4bf40e8d055969efeaeb5fd3ff3e6efbb11fcdefe0fe8787471d83fbba39d36b48755f2dfa51d722cdb SHA512 2ad63f82969a3a004df90fc829d311920cd09f97a0dc4517d85a15cde7b0a08cc82cc6361733fdc15f4530a326be2dc7e7279c86a8068743564f67e31304e42e
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_pt-BR.tar.gz 3097161 BLAKE2B 8b10e4c9d2b5dbbbd00725ad7e512e4e2fcdf7302649c7d8411a228a61fe41bf23eba78466f29daac6f572c80fca73c8a8ac234dfa6060be74505c84e91c14bf SHA512 0c4452da0604e3787f050b1ed5918c19cb4f6cb2bfb247f4dd7d27815bbafeaf0afe4fa3f8e589b368531199c4045b03a24dc744e2f6692dd50513b83c154b24
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_pt.tar.gz 2643036 BLAKE2B 1249b04e577a81c8d39e39ad041b3717f170a860d2e7022bca6a318724f4575e3c45a186bced034d80c6bef93a43ae22f105ed5dcc7c7e767717eee22589a38d SHA512 901e773cd956ceba5dfdc6980b725287929ad4f96ccf910f8e7266aa667836b89e27f20e7a0bc4a689dc64cc139556ec0345182196152339806d79636e87e17b
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ro.tar.gz 2510839 BLAKE2B 049492c87ebad7d9a7b9e09c17c05be3fd5c2fbedc20b659b9291a9856583bb93f95b907a3f4cf034a659bd0c305a9d337931476ec3f60ddb744c521d9b00476 SHA512 2f4062a2b103a9497331ff56edc3a1f02b34fa9ce252e9e3f57ad00fb89863d999614fd3c951e1d7d3c1459452ebea678de925622ba7fe374c34f00f344d1f66
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ru.tar.gz 2368552 BLAKE2B f3fe3ee3ff2c0bb4db534bac63854cea5a45bd64fef287ddc70a4836c79654ceadfdd02b46edd5c009f8dabe1e02472526dd7e617cf796f59badd1f407910ef6 SHA512 f77257fb1535180ca73ca9a44f5a59b4e00ba3f4aa8c34a625b98818d1b3d73eb1a6ff5d0c4b476d0f66882ea9010012907696db11865253d9848290d428e697
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_rw.tar.gz 346165 BLAKE2B 4eec8c7e9a09841cab99f8ced70629bebb7f3e7ed17a120b79ad370384fff5a459a7d8b3b4d858ca61535e97123b4290e62844727644888b9638f605a515bc45 SHA512 421fe0ba9b9f0fe962d24d74097697b4dedad0338011c5888a8bf610383980718a405eef8a18805fd9019c031ca6b39a643ce7642fc9317596df11da26041eb2
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sa-IN.tar.gz 445881 BLAKE2B 55e2779fe60e12661b9282f9bb6a9cbb13ef3774296c58e7bb6c980e3f88562d4db044f10aa064db43f7eb7d2380118d07f34ece55d5a7ac78ac3533d9324ec1 SHA512 ab9cb4049872303b1f710a89725c359f78d61f81596a009c78454b522de6a9aeaf8cabb5b99800293a916a7039d15ce51a18833a1ca81aa7012b42ac6510ff8a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sat.tar.gz 512642 BLAKE2B 59bff93b0c6c31e3b3f906e9a72503d56a3be72a64a8e674083958ba1e45cf41bf15cb2ed419e006659b12bdf3e7a39a1fa61834f78d596f9e3eea8500b51a5c SHA512 0b678f321368807ed2541ca1b737bef9fd8f5acdca3ffd1e9e008c8e52ac83599be9c542d70c4553ba60c6086184a0a58835a4ecafa62cc633486de18cf74dd2
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sd.tar.gz 432405 BLAKE2B 71ee86291280735a8a274d2132fab30a5d7d9adb3cb453962184d8b3c68edc7072333253f166d31dc3a88986793ffd60297878ea2cd35be2f6091e2030679694 SHA512 acef07a26e856d9b9728a9faf79aef9265c6183c9b1843a81dc2c1bef891e88c0f9e476275fe90a7649fcbc1a7f24c888077fd30cbb438495929ce59ec0ba4ec
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_si.tar.gz 754598 BLAKE2B f6697e24d2ca738ea541c9556c5229ae67c8b8a10e5e65c094097f63041931ce77b2b8a34631da6d2ebc17313093457ae2811dfb0d9680c5e8a910fb31e6f445 SHA512 37e428d2e2599acb0cd646d8457339d7bea58236b748664b7f5fefb17f7942de54cf05c4ba787070006d64970fce32821ab351383f3248364930c7f6270f48b7
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sid.tar.gz 522953 BLAKE2B 2810c0eda435162f08c2bbfbb5cb345054015bb947cd3dd1ea7ed4a29711829da7c6fbf1a5929c80b2f01e4bab0864f781e01cbc87c416f2d37b72457ea95835 SHA512 dcbb73c81356e3e87b3eeef6eb0b55d8b1c375dfbe99b8ad1d3767d340476cfe2d94f861b7e1f26a93698286263e03de1c159306f6f63360424c18afaa709b59
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sk.tar.gz 2358733 BLAKE2B 45346d965b547e56aff6d6c201b8663c1b44fb91805e2b8f202182394f6d6c9c0bf35a3e852ca49e161160d4ffe6488f3c00314c2bb3d940fd140e98a4942b17 SHA512 c28238e03b97ea8292772222b0a53f013e67f0fbfbc381c0d31a43e47402722112d0b3eae9831d5df468eb45aa5f74633acb680802a90e46e6f8c84b44e531b5
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sl.tar.gz 2764622 BLAKE2B e4953231a306a46f26006ceea46a73e848d44589b78305aeb0530776e2c979e8533a22e41a92bf10b1c3a407c45b5f6051f4d4c1a5fcf23d67f7a3740af5b12d SHA512 1883438a28b3c6395011d5e08823a3d7fe9a615aefa4fc101ed11c00eac55599190c82049367075680b2f31faa3eb70d40b5425cd7a7700e83ea5eeade9ca434
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sq.tar.gz 1165854 BLAKE2B 4717ef1d4ad22d12092a3aeadcefde371392b87c945ed9b54bbca993de02dd9e3fcb1803482ed1487754811afeb966200c2dce2847ca83f3490ba73bcf712bc3 SHA512 a513169fe6e62a04e10b7e8f67524188ef03024892feb758f0edaa0fa631fa5744dad32b88097d2ebed23a5dd926e159a166dba04093f12771e7004f7e2a0fe2
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sr-Latn.tar.gz 2406934 BLAKE2B d2791c53cd953cd67191cb9eccd7fde79100c825bcff8b6f0609200152b4fd10cc450a19e9c92ccf98229a9a87d48ff74865409e27b4086fb81e93a47c92bbdb SHA512 8032e0e8c011ec5c82851d1b938dc6827ade2ff159bb464da817f9b126164a118f3717d900bed78e7040d46f860c9bd43ecd87c7e19189a010894b26b5b9d7d6
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sr.tar.gz 2776719 BLAKE2B 8838d536e0cc317f168fc28826805b97711167e8e290eaa71cad865892a25e26c044c5a6c8c310d0d811ea565f0d69961ddb969e68e63a87c86033810d147dd9 SHA512 1db25cb5bcefde5a44a3c9fb214b25d8dd2839596ef247513f9c786af7911cad72ad6cf725fb1a5899fd5f8dab45528a46e6caf84a3531301393f69cde10d669
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ss.tar.gz 286888 BLAKE2B 6aab19a4082d89c4c2816faa809c53785a5726ea56870fbd321ee013491ea3277809f5ab05406bd45b626e39d710e0549d774ea7e7272de49037f7567f947af1 SHA512 56d1b65e824f8143f8d3b58e290c6e1c50f26af591fc93b6b848e8069cf658185880424eefef16598014026b807284033c7d2e5cb486700abc7caa0565e42e0c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_st.tar.gz 281228 BLAKE2B 7c80c14fd0476abcd10cdbd36d35d9f593bdc216f2d2c7546e72104c9b349685ad92e1c4826f3e91eca9e87d649cf67799db29a5eb5600672bcba34df9082772 SHA512 86c4b20748f5b5d4b8e2ee5f5a863a959579fa13e44ad39f72862ad5b8197b7cfffd62921821e3aa278da30d08f00078667b467d3764233e5e4dee9ac53d9438
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sv.tar.gz 2836758 BLAKE2B 512a35fc01e32899a6e03d63a39ed121ff04cfeb4dd7272c67d353c6e8aa9cc5e33a0982e0bd9313932120bfa1aa6e2e1165291b33aa69874c110dc7dd1ca8f0 SHA512 523ce4397fffae14cb54e1772540d3ed072d72bd402eadf5e539e17ea647a8ddbdce8c6bf8cd975b9b9964dbd61e7e20e69cfc6990b55f42d057b27f3451fb71
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_sw-TZ.tar.gz 318525 BLAKE2B e43e5ec15a9ddcbf9156d84f88415a81df04b5385ceaffc36894fd5603417728175d040baf7cb4bb1c60a13c8b429f6ef2d2a9e6a1d1f2fedf2eebbb2479cab0 SHA512 53abcb41aeeb9870e5d0218433cdfebd4513653675ec7a5e8216a404a35332d909ee8f55176e4061d20b892ca80f426a6458e29e67fb1367552d69e728dbe29f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_szl.tar.gz 734413 BLAKE2B ab0a6e3bbeae1de354b0c280a888d4e0626da534fddb77755385cd5838dd8048bff3c15b9455e3e559bbc7e17ed77a9a1587dc809dcde12c31d8d52b87ceedb1 SHA512 d4358c928beff043a7a990d2a2af7ec5fa892e67286a21fdc071672e860579d8fb6a963ee419b235ddf303933833ab6f669a89954a3abd4214e4ae0f1e9cfc4b
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ta.tar.gz 731119 BLAKE2B 0b0b6e1c28d80b196e5260dd5fbfa133cb49b068c6bdc97864a4914561fce4e81f576eeef2686b473a436b63c7b4bc8ca6351ee99fea52863d5ab696e7a00dcc SHA512 ca592653fcd7ce47fa53f54ff80fa3a30c13ce08ef2c331d3f7eabe71dbe79ad90f97859249411d0d63a56b2a9e2703dd1d9ccd592ad4c681240ede901543eee
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_te.tar.gz 1077048 BLAKE2B 5a5d829977dd75dcd108dcb01423e7940ac9905c5ab87d2512cce2a9a85d90a4a114a8a69c5939acda2b038627c1bc9947a8049eb1793970ce9dbc51b6ad2c78 SHA512 952bf089521e1a89fa70d121d143c7cd20503fce1eb2f16035456568df42c47081b21a27f73a793aa4ce768b554afae4a73c3ddd6fac7843fb88c49886db5e8d
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_tg.tar.gz 390257 BLAKE2B e10c5a9ae8150c2d330f9cfbe01d9eae9ae047d4886ef976c7bfbb63884d8b7c2daeba4e8f454b990dd3e2b73f421038203e9c228d5d7329f4736884aeba0f1c SHA512 7cd97075052cda173fa2d82e0c38f557304478dc9a67a4f5b0ad933a0150cb41f7d6903580d98850146904aa1b692b3ffd85650b2e31c55a71a00f698be6a82c
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_th.tar.gz 740502 BLAKE2B 08ca67901168ba76dbcb2510778c59d2c8e4891b4b3ed5dba14cec3e659659ba99e2b9ad59ada0b78ad4b94177950708e790200646859e57c6b10b69db2617b6 SHA512 e5ea9f27a6ba33c20ffe0a74d02d2b7020e289c6364caf2ef536a4563952af54445af443548fd9c84f104a8350b579723f4c4c58e048eb5894f82c56c04df913
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_tn.tar.gz 260603 BLAKE2B 6ef6c0b8ae173b1abb26b531fa5661a7a4d0a0e2b4a785ba61854c7e740871324300f1181297fc736b5e6d9fb20d9f842c7a27fda3616b2805558c941689b940 SHA512 21798864487338ffa9354720549bb17883e578ad6daf9ae441aefd32a199bfecf76e0ed4e7569e453b3fa8f6d90771e96ff511a7d13cc01723208237f569d2dd
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_tr.tar.gz 3336428 BLAKE2B d49a6c359f1cf99616d915c2ea3e3031201dc4f7e55a063145a7eaa7cd86c18ac9cdb6d9a8c98309083ee6e00b46583c8be09d0fd60a4a604e3459f3410488e8 SHA512 58b6e39e4d00fdf1e47fc7c7f4adb992a185ae8fa0a6ef73c9683d914492091b476a68b5c13253cb7a95c164076f23d91d8e3262311a83354d8434429717fc8f
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ts.tar.gz 278285 BLAKE2B df45d73420cee6894d14a76d2a817001a727e7301685d9ee6e2b6ee029e4706912e524f85cab0980e00fe3d5f7a819b9db5976fbea1477d78f76a7e909632d5d SHA512 a17d1197b0933f7009ef2361bf5652ab528be439f92b15fcf1bbfba80f0a4bcdef0ca609400b23504f6cb25c2d0e5dd132e5f43847fccf2483489212775a0971
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_tt.tar.gz 186625 BLAKE2B 409f8c48e027968aae85bb0215cf4d47980873c8f16252afe0455bc5a80cc9f36bcf55c4cc72ebea3ee66b7ac1cf78a9ac503321890766aa73e4595b567cca7d SHA512 746a44814bd7b7ef707eed57ea0071c60d19e50b79e40c56642de5937a427bb34a71ec0a3c19f70ac3fbaa0472f923213e49e010031f24165bf6dcf6ebbc5100
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ug.tar.gz 540970 BLAKE2B f7945d03c76f4a857d6bb47e8c45f0812381b072060d656b1102c9d22cd7673ce32b69167fb368262297286593c1da8f3282d41fdb3a37dadcc7acce511944a9 SHA512 3a8fdd7740cadfd6d09a180b0df1c6fd5c35ce7991ad96abcb995bf13aa21f445295d2be837c31ca081afcc8a10b638c311a80b7dda9b96c4fcd36a842950ace
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_uk.tar.gz 2857260 BLAKE2B c4c339131f962704aba55564d4e959e2ab35eb48697ee733ae134f3fbcacde9da8e11331dac8d72e955ee523d61582a8e24b10e8bb8647ae3b3a003f1739c24d SHA512 a6de17750eb8f07ca645f1d3d219879584fc46bc87736ec7c642fa03df3fbbc2fa3ca2b38a6f798c03ec30168da080a2b667e7b5cdbf81a8a61ae70091649d40
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_uz.tar.gz 313825 BLAKE2B cae2804d3e661fd75d1b1be3bb04de8425e3224dd343cc0b8a50f3c8a5f8afd3bbb992614d41996b23e074e85100072bee1e6dfbfd9a63dcf92c071cbd28fecb SHA512 b70516762c387b756c0def21024636129ae3b9e1f6c668d42ff97394eaeba55d5db25aee789fef67d0eac49ed9ecbe2100a1d65812f6df457c7cfe1b1f36d28e
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_ve.tar.gz 283537 BLAKE2B 52020a0ef323dfbf72fbeacda5ef633fd9097bb7d6fe9bf63c5ea4c7f0c958ab64c5f7c531b36dd4f5419337ff453d2e6a4a9322491eea785b09afd5fc8e7ad3 SHA512 b5a25240f812ac99e97e8ac02342ddd0952d3482e04c67f02bdbf2a8a026965ee8d50f375052f540dd30ae927cb4cd81a62772053ef70646a7345d4601fae25d
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_vec.tar.gz 755944 BLAKE2B bbe1e4eea4304c99df89b81358cf4d0eab7df7a0c8e409be2c8e2cab7c5e475c46544b2246b4999a37b654460145a6ddaeb72861c2a02eabb127a77b7a4b4c6a SHA512 6c31b02e3ae6589175bf7267e25ee031647fd7e5ea1a100d42c8911b9c18e01faf29ece7a58dc1bbf3876611964c2012889e5955adcca0db7ec4426310d0260b
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_vi.tar.gz 567354 BLAKE2B 1a837d1b347ae015098aee5c8d4a1683724799123349c965a93e81a64d11ec32e26895dd966d8a30f038b65f0bc88897b184b1d012dd0fcd6f61f0af03821549 SHA512 ddfbcdf21842d8e7a7652ecffad1b17084adc20456801530fb289ec8061ae3a9790e8773a5e99597f4260787a928224e9a3a6d39b2efe955007676de6241673e
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_xh.tar.gz 289737 BLAKE2B f3aed76bb781b28a13cdbbca1f2fd94182949d8211a4129675949ad670f36816672fc8fc813bf7bd003d01e69a5d516b825abbadbec505072f76e191c2219f9f SHA512 d5d7ffeda1b415fc3d13b1e43b48d764b7a55b0318d677561dc67a783a39cbea2e7a7242e49598ad572fa83e16ff8c6072d0abc75e51444df88abdc75dfb0d9a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz 1050295 BLAKE2B 6716f035f69544237697cda9c3775098ba707b440cd00d0d0e1b56716b6a7c27c3f18382ebcda3e0ebe172bad4cf73ebc4b6f2546e957ddffd1b1ea45f6bd45b SHA512 0239cdeef6aff5c802dea76436b059d1c27c3927ad2d0af24b6e1aa310e17f835cb3a49c71821d391d5c7c1b29f7b321b991359b343bf8fe6929452693fcc993
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_zh-TW.tar.gz 1015549 BLAKE2B 0e052dbe7374f4866dc3caf926d0d28d2289c3622d845a14dc6d825b7059a49084dc30f02020a9997eda36af509f7ce8387a0be0937421aa5b8675ca0c1c4def SHA512 28396adc6537e3e3cf1bfe080589c909da47d84a8e0ea289c6b02648e0bce09f148f01dd14cdeb8e2d748347d77032c70bdedc66a3847f0c45c872dff8b2412a
DIST LibreOffice_7.1.6.2_Linux_x86-64_rpm_langpack_zu.tar.gz 320289 BLAKE2B 4035b398f455c0faee8744a86ffd6e9994a0f2bcff93d89d562d7dbfc8faf09c46131f2421434fa79b507e2fe0236576c016fefb7647935e3d26d2990c805899 SHA512 23c08238d3a44dc3b8ae49ac78582e473bf2ad16e728a3dbb93f524bf72c717fd5c67d8d7840973c355ddff9cba9b4a0c46c045741b0432db0241db0f43bfb74
DIST LibreOffice_7.1.7.2_Linux_x86-64_rpm_helppack_am.tar.gz 4127467 BLAKE2B 3da0b51acd4f6e430c12e27e10480bd1ed473b62dac053da859023d1b517a35fff6eaa1cef8e7369678a2d8e35d355a71cdcb9584e5f978d401d850eac9bccad SHA512 5a31733ade3f9148ca487317dd8e7f5939d9b623f607cd8203c9d93bab53cb29147c4bc475597c5084585b988cc5b6ddabc978b8cb92582777b09e03b1d3a1e3
DIST LibreOffice_7.1.7.2_Linux_x86-64_rpm_helppack_ar.tar.gz 3599717 BLAKE2B 4c7b659337c38b2dfd5a19d9ece1ce37fc8a29ce3ba0dafbb81551476396f4ef6b76aa0bb45004747923158c25c4d6e3e2bb1da1e9fe0235a042cd8538c9579c SHA512 e06688deef540711a1258c9ed66237367c7292828e952119e680432f1f4f0b15064157292fa2d2355e761cf331a59738db560eec052ff000079ad8a1e7148879
DIST LibreOffice_7.1.7.2_Linux_x86-64_rpm_helppack_ast.tar.gz 3837543 BLAKE2B 80f7b10a9b8387f406e7b2918284e4179201625e395c03745e83a9acb82798a9e49320e21beaed71f5cb3d98d2493467298fbc06c1f571230f64332700b0a87e SHA512 247cc83437fb8cab4551b621f521b33082121845f44225e69031eacc16ac17e1e7d0202c55fc0b9181f51c6a975a24db426a7464fa31b1dbb4c6b3342c8d5bed

@ -1,91 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-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 ar 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 lo lt lv mk nb ne nl nn om pl pt-BR pt ro ru si sid sk sl sq sv ta tg tr ug uk vi zh-CN zh-TW "
LANGUAGES="${LANGUAGES_HELP}af as be br brx ckb cy dgo dsb fa fur fy ga gd gug hsb kab kk kmr-Latn kn kok ks lb mai ml mn mni mr my nr nso oc or pa:pa-IN rw sa:sa-IN sat sd sr-Latn sr ss st sw-TZ szl te th tn ts tt uz ve vec xh zu "
for lang in ${LANGUAGES_HELP}; do
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_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_64/LibreOffice${PN_DEV}_${BASE_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86_64/LibreOffice${PN_DEV}_${MY_PV}_Linux_x86-64_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${MY_PV}_Linux_x86-64_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-64_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-64_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"
}

@ -20,12 +20,10 @@ DIST f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip 211919 BLAKE2B 2c7
DIST libcmis-0.5.2.tar.xz 484404 BLAKE2B 7de242393c28fc8289bb598b34e704eb2affaaa8b9e470e10044dbfd3812391f29e1421df8d7ac3869955698ddbc9575feebcfbac27bb074a60ccc0527dca1c3 SHA512 295ab15115e75b1f6074f17d3538afe0de9b2b77ab454f5c63cb05e8df11886d82942fbf21ba01486052e3f6c75b0636b99d8e660cd3472dc4b87c31d3cd557b
DIST libcuckoo-93217f8d391718380c508a722ab9acd5e9081233.tar.gz 5005888 BLAKE2B 836ec268c19c27ac079ea1084587c3e999f39ad2188be1a5cf8337ad0473ffda6c32d0695254d3797d1607707329befa88da6043f424544487238e550eda8590 SHA512 4159dfb4d08e359feb23127e12db590260913e70774161ac9513abb5183ad6ed6d2bdfbe56fc8aa68e2fc57ee29eae67aa0180e1a7d955016884ecba2ca60ff8
DIST libreoffice-7.1.5.2.tar.xz 244350068 BLAKE2B ac3c7f5cabcb27ce3ed31febb04ce54b93bc8b4fa716259d1b93d5364e75b85af3352ad70a023b56271e769f5537b3f3151e837ee13498e08f1871e5b47d778c SHA512 dad5ffd344a7bad88ed8e77df4fb17b42237715e7b1feb7a7de164f2fbf6698feefedeb57974d8275067a06c0da60e9b07a333ccc1bb2f6d55a6b52408bd9b5f
DIST libreoffice-7.1.6.2.tar.xz 244535588 BLAKE2B 79d4980b5842b37e7fdc328e832e3b672225e1903676d5c63ab68d7a993caf000bdb763837f98b4dd8156a95224ce22f501ec66dc315ca801a9c748e203e9170 SHA512 13f8e0a45614c75861b6262bcf845c1dc63baef044dc434319f739b6180f61a740f945e99663d76b1c51ce5226b9765431aa34b49d8a7f017c966bf5d4694257
DIST libreoffice-7.1.7.2.tar.xz 244585600 BLAKE2B 65cb8f5ddbae5aa8fb37a54cc0fab8d541a030f6f94141f4e4355f1dfb24a927ffb713e5213e382152fe444e115f27b41f297ca37e320193c5e0289a01ee5430 SHA512 fa55bea912b4efa73cd1ad8bcc611a71146ab42534a348a7c695916d74f1912ad13a2d9ccb4f3f4ee4d604a0747619b75bbcc5e2b14bc306d53b3a1f27525093
DIST libreoffice-7.2.2.2.tar.xz 252478892 BLAKE2B e2e4ce76fc91ef0725f105ee87e480ede51610de7cabbc2bee1e32a9822f457ff9c21b0b13636447751727f42917dbdc9e24e20457ee9e5f1e4054d742337b5f SHA512 9adc14aa2aa24e1e91b32f0663d3fed8421baf78c3d310e8cc52ae70ea338b9d58406344d22d2c2fa6f91f10ae91945ef2d5713036f9144705bdb4c19ad69ca7
DIST libreoffice-branding-gentoo-0.8.tar.xz 151568 BLAKE2B f03c7ddeb53c5ca3fd23401679601fcf2c4037ba17be4eb7b784c7ce7ebb71a24b8ab4aac8b7da8c6b1f14dd23bc1294ba85ff4f70ad271fb4ee3c5372e10883 SHA512 785031a699b1d1895ce4b50ffc3ddf645f3a0ef9acdf37facfd18cf75db9484cb8f53a50abb63d6006ead76a80b6ff5aa99661063245ebb84bd64013d713de7f
DIST libreoffice-help-7.1.5.2.tar.xz 111785852 BLAKE2B 18962fe9260f6cf8ec7b1676f077b9f43e0277769b31b8e2c22cf83ac2963f3e92448901bc12f56dfb579da8a8a1ce20d6bd34c4bc3449f7e0972c03d22f63be SHA512 c669b6c4bfc3c6f46e4ee0bf86b158054f7178b9785273d9aba8183236b2ff6dbaf5584d5e4fb09bba3a8d010373599e7473a4ba15c229087c689198ceeee1c7
DIST libreoffice-help-7.1.6.2.tar.xz 111785436 BLAKE2B 810de348ca8fc297a75608bf4def1b4fe68dae976c727ceb157937de8029e9d30b52929c4a4fa6521b3391be27943bfe30b76466b9c415b4f78f0b68a28377ca SHA512 1b0f7fe4bc9bf2e16e3b3ddf49d4a70ef1d7369d9fd4d4835618007a230fb6e36e81fa1bde42d38dba1068147b285148dbff6c336aff52872e8794b594d309ad
DIST libreoffice-help-7.1.7.2.tar.xz 111785664 BLAKE2B 947860ebbcdf8bd0ee96ebad688057d776d049ccad066951bf0361bcc1f9a1f8187eed266061ad161f479a3691263dc4f179f4b81aa666fdc1a4a380d28425a4 SHA512 20c464ff9cea68b37f6988faea84e9d72ba174706e75d91bbcac514011c65ab55d4f3a9f21fbb8f04f02908237b16d7a6983624c5ab8f27ee4f83aa7eb621268
DIST libreoffice-help-7.2.2.2.tar.xz 111988404 BLAKE2B a0caafa4685c7356c8f1e592c104cd6e403283eb5b86580665637c3319eac4b651805ca6d7c45c5a0522e882ca1a28b6ae08f73c71b0417612c6fc084e194c1d SHA512 1e3a250b68f591c0dc0cd5d57843baa370ed009faabc9446826e8207043af5d193a263b85b9443a2baf1cb64366d90d08b763adf9ec9865d256f760f847ea638
DIST skia-m88-59bafeeaa7de9eb753e3778c414e01dcf013dcd8.tar.xz 10420480 BLAKE2B 83bcc9ff3a3a916ccb92f49ef69f99386e89b636d37679ab17735625c56c4bb31ca89a7034d9282c905b405e0b31215de5fd3734061d323d48db440e4ad52643 SHA512 8e5c37b895d7f5fe15f491005ac46b39efe3bfb3af5dc805bf1226b2112496bdb9e433cc3b313f8fc185fe1f898d126b8a557d23485615cdbe917f0b76855f3d

@ -1,672 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
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 eapi8-dosym flag-o-matic java-pkg-opt-2 multiprocessing 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=(
# broken against latest upstream release, too many patches on top:
# https://github.com/tdf/libcmis/pull/43
"${ADDONS_URI}/libcmis-0.5.2.tar.xz"
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
"${ADDONS_URI}/dtoa-20180411.tgz"
# not packaged in Gentoo, https://skia.org/
"${ADDONS_URI}/skia-m88-59bafeeaa7de9eb753e3778c414e01dcf013dcd8.tar.xz"
# QR code generating library for >=libreoffice-6.4, bug #691740
"${ADDONS_URI}/QR-Code-generator-1.4.0.tar.gz"
"base? (
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
)"
"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 base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
base? ( firebird java )
bluetooth? ( dbus )
gtk? ( dbus )
libreoffice_extensions_nlpsolver? ( java )
libreoffice_extensions_scripting-beanshell? ( java )
libreoffice_extensions_scripting-javascript? ( java )
libreoffice_extensions_wiki-publisher? ( java )
"
RESTRICT="!test? ( test )"
LICENSE="|| ( LGPL-3 MPL-1.1 )"
SLOT="0"
[[ ${MY_PV} == *9999* ]] || \
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
BDEPEND="
dev-util/intltool
sys-devel/bison
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
odk? ( >=app-doc/doxygen-1.8.4 )
"
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-1.0.6
>=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.2
dev-db/unixODBC
>=games-engines/box2d-2.4.1:0
dev-lang/perl
>=dev-libs/boost-1.72.0:=[nls]
dev-libs/expat
dev-libs/hyphen
dev-libs/icu:=
dev-libs/libassuan
dev-libs/libgpg-error
dev-libs/liborcus:0/0.16
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.28[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-0.31.1:=
net-misc/curl
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? (
$(python_gen_cond_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
)
bluetooth? (
dev-libs/glib:2
net-wireless/bluez
)
clang? (
|| (
( sys-devel/clang:12
sys-devel/llvm:12
=sys-devel/lld-12* )
( sys-devel/clang:11
sys-devel/llvm:11
=sys-devel/lld-11* )
( sys-devel/clang:10
sys-devel/llvm:10
=sys-devel/lld-10* )
)
)
coinmp? ( sci-libs/coinor-mp )
cups? ( net-print/cups )
dbus? ( sys-apps/dbus[X] )
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[X]
x11-libs/pango
)
kde? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
kde-frameworks/kconfig:5
kde-frameworks/kcoreaddons:5
kde-frameworks/ki18n:5
kde-frameworks/kio:5
kde-frameworks/kwindowsystem:5
)
ldap? ( net-nds/openldap )
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
mariadb? ( dev-db/mariadb-connector-c )
!mariadb? ( dev-db/mysql-connector-c )
pdfimport? ( app-text/poppler:=[cxx] )
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
"
# 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.1
dev-util/mdds:1/1.5
media-libs/glm
sys-devel/ucpp
x11-base/xorg-proto
x11-libs/libXt
x11-libs/libXtst
java? (
dev-java/ant-core
|| (
dev-java/openjdk:11
dev-java/openjdk-bin:11
)
)
test? (
app-crypt/gnupg
dev-util/cppunit
media-fonts/dejavu
media-fonts/liberation-fonts
)
"
RDEPEND="${COMMON_DEPEND}
!app-office/libreoffice-bin
!app-office/libreoffice-bin-debug
media-fonts/liberation-fonts
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
java? ( || (
dev-java/openjdk:11
dev-java/openjdk-jre-bin:11
>=virtual/jre-1.8
) )
kde? ( kde-frameworks/breeze-icons:* )
"
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
PATCHES=(
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
# not upstreamable stuff
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
"${FILESDIR}/${PN}-7.0.3.1-qt5detect.patch"
# 7.1 branch
"${FILESDIR}/${P}-KF5-fix-double-buffer-graphics.patch"
# master branch
"${FILESDIR}/${PN}-7.1.3.2-bashism.patch" # bug 780432
"${FILESDIR}/${PN}-7.1.5.2-bison-3.8.patch" # bug 812923
)
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() {
if use x86; then
elog "Unfortunately for packaging reasons on x86, various Java-based wizards,"
elog "most notably Report Builder in LibreOffice Base, will not be available."
elog "See also: https://bugs.gentoo.org/785640"
else
use base ||
ewarn "If you plan to use Base application you must enable USE base."
use java ||
ewarn "Without USE java, several wizards are not going to be available."
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
# 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"
# Show flags set at the beginning
einfo "Preset CFLAGS: ${CFLAGS}"
einfo "Preset LDFLAGS: ${LDFLAGS}"
if use clang ; then
# Force clang
einfo "Enforcing the use of clang due to USE=clang ..."
AR=llvm-ar
CC=${CHOST}-clang
CXX=${CHOST}-clang++
NM=llvm-nm
RANLIB=llvm-ranlib
LDFLAGS+=" -fuse-ld=lld"
else
# Force gcc
einfo "Enforcing the use of gcc due to USE=-clang ..."
AR=gcc-ar
CC=${CHOST}-gcc
CXX=${CHOST}-g++
NM=gcc-nm
RANLIB=gcc-ranlib
fi
if use custom-cflags ; then
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
elog "the build succeeds. Good luck!"
else
strip-flags
fi
export LO_CLANG_CC=${CC}
export LO_CLANG_CXX=${CXX}
# Show flags set at the end
einfo " Used CFLAGS: ${CFLAGS}"
einfo " Used LDFLAGS: ${LDFLAGS}"
# Ensure we use correct toolchain
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
if use vulkan && ! use clang ; then
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
fi
# optimization flags
export GMAKE_OPTIONS="${MAKEOPTS}"
# System python enablement:
export PYTHON_CFLAGS=$(python_get_CFLAGS)
export PYTHON_LIBS=$(python_get_LIBS)
use kde && export QT5DIR="$(qt5_get_bindir)/.."
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
# --without-system-qrcodegen: has no real build system and LO is the only user
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-bundle-mariadb
--disable-ccache
--disable-epm
--disable-fetch-external
--disable-gtk3-kde5
--disable-online-update
--disable-openssl
--disable-pdfium
--disable-vlc
--with-extra-buildid="${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
--with-help="html"
--without-helppack-integration
--with-system-gpgmepp
--without-system-jfreereport
--without-system_apache_commons
--without-system-libcmis
--without-system-sane
--without-system-qrcodegen
$(use_enable base report-builder)
$(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 kde kf5)
$(use_enable kde qt5)
$(use_enable ldap)
$(use_enable odk)
$(use_enable pdfimport)
$(use_enable postgres postgresql-sdbc)
$(use_enable vulkan skia)
$(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 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}"
)
if has_version "dev-java/openjdk:11"; then
myeconfargs+=( -with-jdk-home="${EPREFIX}/usr/$(get_libdir)/openjdk-11" )
elif has_version "dev-java/openjdk-bin:11"; then
myeconfargs+=( --with-jdk-home="/opt/openjdk-bin-11" )
fi
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 )
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
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
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
emake DESTDIR="${D}" distro-pack-install -o build -o check
# 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
# bug 703474
insinto /usr/include
doins -r include/LibreOfficeKit
local lodir=/usr/$(get_libdir)/libreoffice
# patching this would break tests
cat <<-EOF > "${T}"/uno.py
import sys, os
sys.path.append('${EPREFIX}${lodir}/program')
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
EOF
sed -e "/^import sys/d" -e "/^import os/d" \
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
# more system pyuno mess
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
-i "${D}"${lodir}/program/officehelper.py || die
python_optimize "${D}"${lodir}/program
# link python bridge in site-packages, bug 667802
local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
for py in uno.py unohelper.py officehelper.py; do
dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
while IFS="" read -d $'\0' -r pyc; do
pyc=${pyc//*\/}
dosym8 -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
done
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

@ -1,669 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
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 eapi8-dosym flag-o-matic java-pkg-opt-2 multiprocessing 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=(
# broken against latest upstream release, too many patches on top:
# https://github.com/tdf/libcmis/pull/43
"${ADDONS_URI}/libcmis-0.5.2.tar.xz"
# not packaged in Gentoo, https://www.netlib.org/fp/dtoa.c
"${ADDONS_URI}/dtoa-20180411.tgz"
# not packaged in Gentoo, https://skia.org/
"${ADDONS_URI}/skia-m88-59bafeeaa7de9eb753e3778c414e01dcf013dcd8.tar.xz"
# QR code generating library for >=libreoffice-6.4, bug #691740
"${ADDONS_URI}/QR-Code-generator-1.4.0.tar.gz"
"base? (
${ADDONS_URI}/commons-logging-1.2-src.tar.gz
${ADDONS_URI}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
${ADDONS_URI}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
${ADDONS_URI}/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
${ADDONS_URI}/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip
${ADDONS_URI}/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip
${ADDONS_URI}/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
${ADDONS_URI}/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip
${ADDONS_URI}/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip
${ADDONS_URI}/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
${ADDONS_URI}/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip
${ADDONS_URI}/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip
)"
"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 base bluetooth +branding clang coinmp +cups custom-cflags +dbus debug eds firebird
googledrive gstreamer +gtk kde ldap +mariadb odk pdfimport postgres test vulkan
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
base? ( firebird java )
bluetooth? ( dbus )
gtk? ( dbus )
libreoffice_extensions_nlpsolver? ( java )
libreoffice_extensions_scripting-beanshell? ( java )
libreoffice_extensions_scripting-javascript? ( java )
libreoffice_extensions_wiki-publisher? ( java )
"
RESTRICT="!test? ( test )"
LICENSE="|| ( LGPL-3 MPL-1.1 )"
SLOT="0"
[[ ${MY_PV} == *9999* ]] || \
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux"
BDEPEND="
dev-util/intltool
sys-devel/bison
sys-devel/flex
sys-devel/gettext
virtual/pkgconfig
clang? ( || (
( sys-devel/clang:13
sys-devel/llvm:13
=sys-devel/lld-13* )
( sys-devel/clang:12
sys-devel/llvm:12
=sys-devel/lld-12* )
( sys-devel/clang:11
sys-devel/llvm:11
=sys-devel/lld-11* )
( sys-devel/clang:10
sys-devel/llvm:10
=sys-devel/lld-10* )
) )
odk? ( >=app-doc/doxygen-1.8.4 )
"
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-1.0.6
>=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.2
dev-db/unixODBC
>=games-engines/box2d-2.4.1:0
dev-lang/perl
>=dev-libs/boost-1.72.0:=[nls]
dev-libs/expat
dev-libs/hyphen
dev-libs/icu:=
dev-libs/libassuan
dev-libs/libgpg-error
dev-libs/liborcus:0/0.16
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.28[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-0.31.1:=
net-misc/curl
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? (
$(python_gen_cond_dep '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[X] )
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[X]
x11-libs/pango
)
kde? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
kde-frameworks/kconfig:5
kde-frameworks/kcoreaddons:5
kde-frameworks/ki18n:5
kde-frameworks/kio:5
kde-frameworks/kwindowsystem:5
)
ldap? ( net-nds/openldap )
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
mariadb? ( dev-db/mariadb-connector-c )
!mariadb? ( dev-db/mysql-connector-c )
pdfimport? ( app-text/poppler:=[cxx] )
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
"
# 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.1
dev-util/mdds:1/1.5
media-libs/glm
sys-devel/ucpp
x11-base/xorg-proto
x11-libs/libXt
x11-libs/libXtst
java? (
dev-java/ant-core
|| (
dev-java/openjdk:11
dev-java/openjdk-bin:11
)
)
test? (
app-crypt/gnupg
dev-util/cppunit
media-fonts/dejavu
media-fonts/liberation-fonts
)
"
RDEPEND="${COMMON_DEPEND}
!app-office/libreoffice-bin
!app-office/libreoffice-bin-debug
media-fonts/liberation-fonts
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
java? ( || (
dev-java/openjdk:11
dev-java/openjdk-jre-bin:11
>=virtual/jre-1.8
) )
kde? ( kde-frameworks/breeze-icons:* )
"
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
PATCHES=(
# "${WORKDIR}"/${PATCHSET/.tar.xz/}
# not upstreamable stuff
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
"${FILESDIR}/${PN}-6.1-nomancompress.patch"
"${FILESDIR}/${PN}-7.0.3.1-qt5detect.patch"
# master branch
"${FILESDIR}/${PN}-7.1.3.2-bashism.patch" # bug 780432
)
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() {
if use x86; then
elog "Unfortunately for packaging reasons on x86, various Java-based wizards,"
elog "most notably Report Builder in LibreOffice Base, will not be available."
elog "See also: https://bugs.gentoo.org/785640"
else
use base ||
ewarn "If you plan to use Base application you must enable USE base."
use java ||
ewarn "Without USE java, several wizards are not going to be available."
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
# 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"
# Show flags set at the beginning
einfo "Preset CFLAGS: ${CFLAGS}"
einfo "Preset LDFLAGS: ${LDFLAGS}"
if use clang ; then
# Force clang
einfo "Enforcing the use of clang due to USE=clang ..."
AR=llvm-ar
CC=${CHOST}-clang
CXX=${CHOST}-clang++
NM=llvm-nm
RANLIB=llvm-ranlib
LDFLAGS+=" -fuse-ld=lld"
else
# Force gcc
einfo "Enforcing the use of gcc due to USE=-clang ..."
AR=gcc-ar
CC=${CHOST}-gcc
CXX=${CHOST}-g++
NM=gcc-nm
RANLIB=gcc-ranlib
fi
if use custom-cflags ; then
elog "USE=custom-cflags has been selected. You are on your own to make sure that"
elog "the build succeeds. Good luck!"
else
strip-flags
fi
export LO_CLANG_CC=${CC}
export LO_CLANG_CXX=${CXX}
# Show flags set at the end
einfo " Used CFLAGS: ${CFLAGS}"
einfo " Used LDFLAGS: ${LDFLAGS}"
# Ensure we use correct toolchain
tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
if use vulkan && ! use clang ; then
ewarn "Building skia with gcc may lead to performance issues. Disable vulkan or enable clang."
fi
# optimization flags
export GMAKE_OPTIONS="${MAKEOPTS}"
# System python enablement:
export PYTHON_CFLAGS=$(python_get_CFLAGS)
export PYTHON_LIBS=$(python_get_LIBS)
use kde && export QT5DIR="$(qt5_get_bindir)/.."
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
# --without-system-qrcodegen: has no real build system and LO is the only user
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-bundle-mariadb
--disable-ccache
--disable-epm
--disable-fetch-external
--disable-gtk3-kde5
--disable-online-update
--disable-openssl
--disable-pdfium
--disable-vlc
--with-extra-buildid="${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
--with-help="html"
--without-helppack-integration
--with-system-gpgmepp
--without-system-jfreereport
--without-system_apache_commons
--without-system-libcmis
--without-system-sane
--without-system-qrcodegen
$(use_enable base report-builder)
$(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 kde kf5)
$(use_enable kde qt5)
$(use_enable ldap)
$(use_enable odk)
$(use_enable pdfimport)
$(use_enable postgres postgresql-sdbc)
$(use_enable vulkan skia)
$(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 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}"
)
if has_version "dev-java/openjdk:11"; then
myeconfargs+=( -with-jdk-home="${EPREFIX}/usr/$(get_libdir)/openjdk-11" )
elif has_version "dev-java/openjdk-bin:11"; then
myeconfargs+=( --with-jdk-home="/opt/openjdk-bin-11" )
fi
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 )
MARIADBCONFIG="$(type -p $(usex mariadb mariadb mysql)_config)" \
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
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
emake DESTDIR="${D}" distro-pack-install -o build -o check
# 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
# bug 703474
insinto /usr/include
doins -r include/LibreOfficeKit
local lodir=/usr/$(get_libdir)/libreoffice
# patching this would break tests
cat <<-EOF > "${T}"/uno.py
import sys, os
sys.path.append('${EPREFIX}${lodir}/program')
os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:${EPREFIX}${lodir}/program/fundamentalrc')
EOF
sed -e "/^import sys/d" -e "/^import os/d" \
-i "${D}"${lodir}/program/uno.py || die "cleanup dupl imports failed"
cat "${D}"${lodir}/program/uno.py >> "${T}"/uno.py || die
cp "${T}"/uno.py "${D}"${lodir}/program/uno.py || die
# more system pyuno mess
sed -e "/sOffice = \"\" # lets hope for the best/s:\"\":\"${EPREFIX}${lodir}/program\":" \
-i "${D}"${lodir}/program/officehelper.py || die
python_optimize "${D}"${lodir}/program
# link python bridge in site-packages, bug 667802
local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
for py in uno.py unohelper.py officehelper.py; do
dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
while IFS="" read -d $'\0' -r pyc; do
pyc=${pyc//*\/}
dosym8 -r ${loprogdir}/__pycache__/${pyc} $(python_get_sitedir)/__pycache__/${pyc}
done < <(find "${D}"${lodir}/program -type f -name ${py/.py/*.pyc} -print0)
done
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

Binary file not shown.

@ -1,2 +1 @@
DIST eix-0.35.2.tar.xz 636616 BLAKE2B 22c9ce54bd612ff7b8a085d91727ee7b472b9c3ba71568f23b4cfc5e2c4d9b0a68e2df377d4c4101c53e193864418c11b0c76830b5b6044588dcf3882b164e3d SHA512 39ff4c4f31be3c40a17a77626c25550a3881d8c405ebd9e7a361252cb729f9c0fc40831bc41e503fdea9f05684ad0eaa1aceabba1c6e4067a33a8581bf5a9625
DIST eix-0.36.0.tar.xz 640820 BLAKE2B 952e6a354cc5fd1145ef36fed6047bc6f10dd7a51166028581e3b392be66b5df07eabb96cba362dc4f7a50fbe19e6ccb3744d30928c4763a91af21ad02cee38d SHA512 891e343b01d3887cbc7e61933b43e79949ff702dcd8ada2f15ff57a628dc6ebc9a4b6817d3aa3d814474db3131aefcbbf56cec2520868dcb2182cbee780125b5

@ -1,103 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug doc nls sqlite"
DEPEND="
nls? ( virtual/libintl )
sqlite? ( >=dev-db/sqlite-3:= )"
RDEPEND="${DEPEND}
>=app-shells/push-2.0-r1
>=app-shells/quoter-3.0_p2-r1"
BDEPEND="
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 \"${EPREFIX}/usr/share/push/push.sh\":" \
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EPREFIX}/usr/share/quoter/quoter_pipe.sh\":" \
-i src/eix-functions.sh.in || die
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EPREFIX}/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)
--without-protobuf
# 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
)
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
}

@ -3,7 +3,7 @@
EAPI=7
inherit autotools bash-completion-r1 flag-o-matic tmpfiles
inherit autotools bash-completion-r1 tmpfiles
DESCRIPTION="Search and query ebuilds"
HOMEPAGE="https://github.com/vaeth/eix/"

Binary file not shown.

@ -3,7 +3,7 @@
EAPI=7
inherit qmake-utils xdg
inherit qmake-utils toolchain-funcs xdg
DESCRIPTION="E-Book Reader. Supports many e-book formats"
HOMEPAGE="https://www.fbreader.org/"
@ -71,6 +71,9 @@ src_prepare() {
else
echo "TARGET_STATUS = release" >> makefiles/target.mk || die
fi
# bug #437262
tc-ld-disable-gold
}
src_compile() {

@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc elibc_glibc nls static-libs test"
RESTRICT="!test? ( test )"

Binary file not shown.

@ -0,0 +1,123 @@
https://sourceforge.net/p/gputils/code/1288
https://bugs.gentoo.org/722648
--- a/configure.ac
+++ b/configure.ac
@@ -160,29 +160,41 @@
AC_CHECK_FUNCS(strndup, , [IBERTYOBJS="$IBERTYOBJS strndup.o"])
AC_CHECK_FUNCS(strverscmp, , [IBERTYOBJS="$IBERTYOBJS strverscmp.o"])
-AM_CFLAGS=
+VERSION_MAJOR=`echo $PACKAGE_VERSION | $AWK 'BEGIN {FS="."} {print $1}'`
+VERSION_MINOR=`echo $PACKAGE_VERSION | $AWK 'BEGIN {FS="."} {print $2}'`
+VERSION_MICRO=`echo $PACKAGE_VERSION | $AWK 'BEGIN {FS="."} {print $3}'`
+
+AC_DEFINE_UNQUOTED(GPUTILS_VERSION_MAJOR, $VERSION_MAJOR, [gputils major version number])
+AC_DEFINE_UNQUOTED(GPUTILS_VERSION_MINOR, $VERSION_MINOR, [gputils minor version number])
+AC_DEFINE_UNQUOTED(GPUTILS_VERSION_MICRO, $VERSION_MICRO, [gputils micro version number])
+AC_DEFINE_UNQUOTED(GPUTILS_VERSION_STR, "$PACKAGE_VERSION", [gputils version string])
+
+AM_GPUTILS_SVN_VERSION="\$(shell \$(top_srcdir)/get_cl_revision.sh \$(top_srcdir)/ChangeLog)"
+AM_PACKAGE_SVN_VERSION=`./get_cl_revision.sh ChangeLog`
+
+AM_CFLAGS="-DGPUTILS_SVN_VERSION=\$(AM_GPUTILS_SVN_VERSION)"
AM_LDFLAGS=
# Options for the system on which the package will run.
case "${host}" in
*cygwin* )
if test "x$GCC" = "xyes"; then
- AM_CFLAGS="-Wall -pedantic"
+ AM_CFLAGS="$AM_CFLAGS -Wall -pedantic"
AM_LDFLAGS="-Wl,-warn-common -Wl,-warn-once"
fi
;;
*darwin* )
if test "x$CC" = "xclang"; then
- AM_CFLAGS="-Wall -pedantic -Wformat -Wtautological-compare -Wimplicit-function-declaration -Wformat-security"
+ AM_CFLAGS="$AM_CFLAGS -Wall -pedantic -Wformat -Wtautological-compare -Wimplicit-function-declaration -Wformat-security"
fi
;;
*linux* )
if test "x$CC" = "xclang"; then
- AM_CFLAGS="-Wall -pedantic -Wformat -Wtautological-compare -Wimplicit-function-declaration -Wformat-security"
+ AM_CFLAGS="$AM_CFLAGS -Wall -pedantic -Wformat -Wtautological-compare -Wimplicit-function-declaration -Wformat-security"
AM_LDFLAGS="-Wl,-warn-common -Wl,-warn-once"
else
if test "x$GCC" = "xyes"; then
- AM_CFLAGS="-Wall -pedantic -Wformat -Wimplicit-function-declaration -Wformat-security"
+ AM_CFLAGS="$AM_CFLAGS -Wall -pedantic -Wformat -Wimplicit-function-declaration -Wformat-security"
AM_LDFLAGS="-Wl,-warn-common -Wl,-warn-once"
fi
fi
@@ -192,33 +204,20 @@
*-pc-os2_emx | *-pc-os2-emx )
EXEEXT=".exe"
if test "x$GCC" = "xyes"; then
- AM_CFLAGS="-Zcrtdll"
+ AM_CFLAGS="$AM_CFLAGS -Zcrtdll"
fi
;;
*sun* )
# sunos cc needs the -xCC flag for // comments
if test "x$GCC" != "xyes"; then
- AM_CFLAGS="-xCC"
+ AM_CFLAGS="$AM_CFLAGS -xCC"
fi
;;
esac
-
-VERSION_MAJOR=`echo $PACKAGE_VERSION | $AWK 'BEGIN {FS="."} {print $1}'`
-VERSION_MINOR=`echo $PACKAGE_VERSION | $AWK 'BEGIN {FS="."} {print $2}'`
-VERSION_MICRO=`echo $PACKAGE_VERSION | $AWK 'BEGIN {FS="."} {print $3}'`
-
-AC_DEFINE_UNQUOTED(GPUTILS_VERSION_MAJOR, $VERSION_MAJOR, [gputils major version number])
-AC_DEFINE_UNQUOTED(GPUTILS_VERSION_MINOR, $VERSION_MINOR, [gputils minor version number])
-AC_DEFINE_UNQUOTED(GPUTILS_VERSION_MICRO, $VERSION_MICRO, [gputils micro version number])
-AC_DEFINE_UNQUOTED(GPUTILS_VERSION_STR, "$PACKAGE_VERSION", [gputils version string])
-
-AM_GPUTILS_SVN_VERSION="\$(shell \$(top_srcdir)/get_cl_revision.sh \$(top_srcdir)/ChangeLog)"
-AM_PACKAGE_SVN_VERSION=`./get_cl_revision.sh ChangeLog`
-CFLAGS="-DGPUTILS_SVN_VERSION=\$(AM_GPUTILS_SVN_VERSION)"
# Host filesystem options.
case "${host}" in
- *mingw* | *-pc-os2_emx | *-pc-os2-emx | *djgpp*)
+ *mingw* | *-pc-os2_emx | *-pc-os2-emx | *djgpp* )
AC_DEFINE(HAVE_DOS_BASED_FILE_SYSTEM, 1,
[Define if your host uses a DOS based file system.])
;;
@@ -231,15 +230,13 @@
fi
if test x$enable_gdb_debuginfo = xyes; then
- CFLAGS="$CFLAGS -ggdb"
+ AM_CFLAGS="$AM_CFLAGS -ggdb"
fi
if test x$enable_gputils_path = xyes; then
AC_DEFINE(USE_DEFAULT_PATHS, 1,
[Define if you want to add default search paths.])
fi
-
-LDFLAGS=
# Substitute configuration variables.
AC_SUBST(ENABLE_HTML_DOC)
@@ -248,8 +245,6 @@
AC_SUBST(AM_PACKAGE_SVN_VERSION)
AC_SUBST(AM_CFLAGS)
AC_SUBST(AM_LDFLAGS)
-AC_SUBST(CFLAGS)
-AC_SUBST(LDFLAGS)
AC_SUBST(GPUTILS_HEADER_PATH)
AC_SUBST(GPUTILS_LKR_PATH)
AC_SUBST(GPUTILS_LIB_PATH)
@@ -301,6 +296,7 @@
Source directory: $srcdir
Installation prefix: $prefix
C compiler: $CC $AM_CFLAGS $CFLAGS
+ C linker: $CC $AM_LDFLAGS
Location of MPLAB-X: $DEFAULT_MPLABX_PATH
])

@ -1,9 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit toolchain-funcs
inherit autotools toolchain-funcs
DESCRIPTION="Tools including assembler, linker and librarian for PIC microcontrollers"
HOMEPAGE="https://gputils.sourceforge.io"
@ -12,17 +12,31 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
PATCHES=(
"${FILESDIR}"/${P}-respect-flags.patch
)
src_prepare() {
default
# Only needed for the flags patch, if a new release ever comes...
eautoreconf
}
src_configure() {
tc-ld-disable-gold #369291
# bug #369291, bug #818802
tc-ld-disable-gold
# Their configure script tries to do funky things with default
# compiler selection. Force our own defaults instead.
tc-export CC
default
econf
}
src_install() {
default
dodoc doc/gputils.pdf
}

Binary file not shown.

@ -19,7 +19,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/version-${PV}.tar.gz -
LICENSE="dom4j"
SLOT="1"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
IUSE="jaxen"
CDEPEND="

@ -17,7 +17,7 @@ SRC_URI="https://github.com/eclipse-ee4j/jaf/archive/refs/tags/${PV}.tar.gz -> j
LICENSE="EPL-1.0"
SLOT="2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"

@ -18,7 +18,7 @@ SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/refs/tags/${PV}.tar.gz ->
LICENSE="EPL-1.0"
SLOT="2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
# Common dependencies
# POM: pom.xml
@ -44,6 +44,15 @@ JAVA_TEST_GENTOO_CLASSPATH="junit-4"
JAVA_TEST_SRC_DIR="../${PN}-test/src/test/java"
JAVA_TEST_RESOURCE_DIRS="../${PN}-test/src/test/resources"
src_test() {
# Suppress tests for vm_version 1.8 (too many test failures)
# see https://bugs.gentoo.org/796995
local vm_version="$(java-config -g PROVIDES_VERSION)"
if [[ "${vm_version}" != "1.8" ]] ; then
java-pkg-simple_src_test
fi
}
src_install() {
default
java-pkg-simple_src_install

Binary file not shown.

@ -1,6 +1,10 @@
DIST erlang-23.3.4.8.tar.gz 57242259 BLAKE2B 9959fd9ae0d8a0a4639ad0ff9f5a16079cdd7af525e0dc1189a3cc6741f653e511c84da77344465e7f365a8cbc07f691d3cfec23b062c2e274dbb8d4911733a2 SHA512 14449701a88b18103266cd562cad8b0f10e7abb153c7fe2d39792c232a11c5c5ea12e75eb17bac57e30cc43d1e907ae988a1beb662b4d7309f35231c76bdb381
DIST erlang-23.3.4.tar.gz 56664814 BLAKE2B ef8aa8d5a6fd1efc02a35459d1cb15eecf5f948127266bf782544e1da9a59765aca15070ea92df5558a4de017cc810e3542e2393e9470243fc6d9be13e9f37b6 SHA512 c8c5a9676163058276c703a0db0373508fad0ed9dff0aa9806ce59115ca766ff1d343c5a3917a920b249655fe188b974482ff378e9173c9fe00ea3907e618da5
DIST erlang-24.0.2.tar.gz 58878378 BLAKE2B c2ea65cac39b654d9037ea9fcb47eb6eea96dec2483378f414bc33475e850121c1adaa30ea880070624496be9779539f98c864b0dd6eb92d3c4badaa121353d1 SHA512 d85e3e6a4177ac8c696dd666183f624065a89d35aa7f031cd6a7b105e0d1f9007de8d413880df47daf8f695485d952a81a14a01313b52f66534c1e5bd050093b
DIST erlang-24.1.4.tar.gz 59009229 BLAKE2B 484ad90509a618098dc1c3fc2ae7d2b44dc7735399f3ba2138d3c755b337e7c513083724329581e72968f6a5c33c9767f0192a1f5d21d35a3a69d5b4e151def2 SHA512 b5cf4fbce07b26b97ec8af62d1b86315227ff369f27c996a6df08b322b76721539a55664dcd4ffec49ff77efadc8e4f0c967c064bb4e1f5cdfa2db2eaa02620f
DIST erlang_doc_html_23.3.tar.gz 36224657 BLAKE2B 7e2a3e16f4cfa0f15c01074740e02af7a45b480b4a94e764463717658ab7e5d0281f928c3ec585582b10168645e3e06cfe72cf6a0ba1b88f539b80f2b7ad99be SHA512 8be4aae46839239604b875b39339e7b6b6c677c099b3d749d5f1041c4508c1c3b4aa8136a93df12b1e5cb6333ef907276f5965c9726ed2b9e77a6043c8ef53b1
DIST erlang_doc_html_24.0.tar.gz 39731398 BLAKE2B 8a9fe3acb4cc13691e16c477cf89e8298df1a99bbe6a6c9e59e3c34248ecdc21077835951087b5a5bbb23ddb28f3bd7ab8b058fe64ce56c342b825a6c0ef8948 SHA512 453f8a9cf779a4f43966615433afc3be3aae7a571acf45974947bd720a331ca05949bc310de5f3b33b72d274971103ede56875bbfe757ba17f903510f690d97e
DIST erlang_doc_html_24.1.tar.gz 39873142 BLAKE2B 5e4bea792be6332a2186a270466a61bda5f37b5a066638ae00545433bf5bd11f84fba7a0ac210a9104e5322fd372759e53d0abd63468c59a3a2c59a3eaddd5ca SHA512 6ace8d8ba4b74e3269e71880f73bd296769acd8778f13fd945b80e57a694d70929d3e7a3263ff3c154190679d88fbb9855e201212e504de4a261e4182662e99a
DIST erlang_doc_man_23.3.tar.gz 1456501 BLAKE2B 414bedee0e316d97b26d9d6418b799a9434a22e9980e7d3a83e2478d184d63d1633c0e10d0e180d929a3cacd82b4d703be86cbc8e99996037f6b37ea122f7a8c SHA512 6c661c210ffec4752afe624fa46700a0f62cc6589b74b859ab1dfde77d289e992988ac8744f7b4126d7512cd6d0aab3321f710a6324552b259bd7acd5b54a05e
DIST erlang_doc_man_24.0.tar.gz 1666152 BLAKE2B aaef8165322f39f7410840eafe562ec5038d9c89b4fa99b3b1d5748ba70fe755ba732de403dd916328e1fdcec895e2a347db4fb8c8837b5e41155439c9c54ef6 SHA512 7251f6eeb0534cc8538236a2c4be9d732bf0a05ba6832f9b3859116f9148e469d004331924c7187b07204798afb66067bfd321c8905000c355775927e5841918
DIST erlang_doc_man_24.1.tar.gz 1673084 BLAKE2B 092c7870914e108e3fe06b68be6c54cff508cd938b5b510ca9a7c946b786e5725ffa1f2c87282a36480a9c1c7d7c899e8118546102a98136f813309a7f0bd334 SHA512 a11361811c5d58a431f4096866a45755f771f0519bbc992fc71e3c760d81bdc9cf636e189aee72c602a5f02cbf6c7bb6cc442cdb71fd06e0c4097bdf6ffe92ec

@ -0,0 +1,155 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
WX_GTK_VER="3.0-gtk3"
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
# NOTE: If you need symlinks for binaries please tell maintainers or
# open up a bug to let it be created.
UPSTREAM_V="$(ver_cut 1-2)"
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
HOMEPAGE="https://www.erlang.org/"
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
LICENSE="Apache-2.0"
# We use this subslot because Compiled HiPE Code can be loaded on the exact
# same build of ERTS that was used when compiling the code. See
# http://erlang.org/doc/system_principles/misc.html for more information.
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc emacs +hipe java +kpoll odbc sctp ssl systemd tk wxwidgets"
RDEPEND="
acct-group/epmd
acct-user/epmd
sys-libs/ncurses:0
sys-libs/zlib
emacs? ( >=app-editors/emacs-23.1:* )
java? ( >=virtual/jdk-1.8:* )
odbc? ( dev-db/unixODBC )
sctp? ( net-misc/lksctp-tools )
ssl? ( >=dev-libs/openssl-0.9.7d:0= )
systemd? ( sys-apps/systemd )
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
"
DEPEND="${RDEPEND}
dev-lang/perl
"
S="${WORKDIR}/otp-OTP-${PV}"
PATCHES=(
"${FILESDIR}"/18.2.1-wx3.0.patch
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
)
SITEFILE=50"${PN}"-gentoo.el
src_prepare() {
default
./otp_build autoconf || die
}
src_configure() {
use wxwidgets && setup-wxwidgets
local myconf=(
--disable-builtin-zlib
$(use_enable hipe)
$(use_enable kpoll kernel-poll)
$(use_with java javac)
$(use_enable sctp)
$(use_with ssl ssl "${EPREFIX}"/usr)
$(use_enable ssl dynamic-ssl-lib)
$(use_enable systemd)
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
)
econf "${myconf[@]}"
}
src_compile() {
emake
if use emacs ; then
pushd lib/tools/emacs &>/dev/null || die
elisp-compile *.el
popd &>/dev/null || die
fi
}
extract_version() {
local path="$1"
local var_name="$2"
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
}
src_install() {
local erl_libdir_rel="$(get_libdir)/erlang"
local erl_libdir="/usr/${erl_libdir_rel}"
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
local erl_erts_ver="$(extract_version erts VSN)"
local my_manpath="/usr/share/${PN}/man"
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
emake INSTALL_PREFIX="${D}" install
if use doc ; then
# Note: we explicitly install docs into:
# /usr/share/doc/${PF}/{doc,lib,erts-*}
# To maintain that layout we gather everything in 'html-docs'.
# See bug #684376.
mkdir html-docs || die
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
docompress -x /usr/share/doc/${PF}
else
local DOCS=("README.md")
fi
einstalldocs
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
## Clean up the no longer needed files
rm "${ED}/${erl_libdir}/Install" || die
insinto "${my_manpath}"
doins -r "${WORKDIR}"/man/*
# extend MANPATH, so the normal man command can find it
# see bug 189639
newenvd - "90erlang" <<-_EOF_
MANPATH="${my_manpath}"
_EOF_
if use emacs ; then
elisp-install erlang lib/tools/emacs/*.{el,elc}
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
elisp-site-file-install "${T}/${SITEFILE}"
fi
newinitd "${FILESDIR}"/epmd.init-r2 epmd
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -0,0 +1,162 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
WX_GTK_VER="3.0-gtk3"
inherit elisp-common java-pkg-opt-2 systemd toolchain-funcs wxwidgets
# NOTE: If you need symlinks for binaries please tell maintainers or
# open up a bug to let it be created.
UPSTREAM_V="$(ver_cut 1-2)"
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
HOMEPAGE="https://www.erlang.org/"
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
LICENSE="Apache-2.0"
# We use this subslot because Compiled HiPE Code can be loaded on the exact
# same build of ERTS that was used when compiling the code. See
# http://erlang.org/doc/system_principles/misc.html for more information.
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc emacs java +kpoll odbc sctp ssl systemd tk wxwidgets"
RDEPEND="
acct-group/epmd
acct-user/epmd
sys-libs/ncurses:0
sys-libs/zlib
emacs? ( >=app-editors/emacs-23.1:* )
java? ( >=virtual/jdk-1.8:* )
odbc? ( dev-db/unixODBC )
sctp? ( net-misc/lksctp-tools )
ssl? ( >=dev-libs/openssl-0.9.7d:0= )
systemd? ( sys-apps/systemd )
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
"
DEPEND="${RDEPEND}
dev-lang/perl
"
S="${WORKDIR}/otp-OTP-${PV}"
PATCHES=(
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
"${FILESDIR}"/${PN}-24.0.2-serial-configure.patch
)
SITEFILE=50"${PN}"-gentoo.el
src_prepare() {
default
tc-export AR CPP CXX LD
# bug #797886: erlang's VM does unsafe casts for ints
# to pointers and back. This breaks on gcc-11 -flto.
append-flags -fno-strict-aliasing
}
src_configure() {
use wxwidgets && setup-wxwidgets
local myconf=(
--disable-builtin-zlib
# don't search for static zlib
--with-ssl-zlib=no
$(use_enable kpoll kernel-poll)
$(use_with java javac)
$(use_enable sctp)
$(use_with ssl ssl)
$(use_enable ssl dynamic-ssl-lib)
$(use_enable systemd)
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
)
econf "${myconf[@]}"
}
src_compile() {
emake
if use emacs ; then
pushd lib/tools/emacs &>/dev/null || die
elisp-compile *.el
popd &>/dev/null || die
fi
}
extract_version() {
local path="$1"
local var_name="$2"
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
}
src_install() {
local erl_libdir_rel="$(get_libdir)/erlang"
local erl_libdir="/usr/${erl_libdir_rel}"
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
local erl_erts_ver="$(extract_version erts VSN)"
local my_manpath="/usr/share/${PN}/man"
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
emake INSTALL_PREFIX="${D}" install
if use doc ; then
# Note: we explicitly install docs into:
# /usr/share/doc/${PF}/{doc,lib,erts-*}
# To maintain that layout we gather everything in 'html-docs'.
# See bug #684376.
mkdir html-docs || die
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
docompress -x /usr/share/doc/${PF}
else
local DOCS=("README.md")
fi
einstalldocs
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
## Clean up the no longer needed files
rm "${ED}/${erl_libdir}/Install" || die
insinto "${my_manpath}"
doins -r "${WORKDIR}"/man/*
# extend MANPATH, so the normal man command can find it
# see bug 189639
newenvd - "90erlang" <<-_EOF_
MANPATH="${my_manpath}"
_EOF_
if use emacs ; then
elisp-install erlang lib/tools/emacs/*.{el,elc}
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
elisp-site-file-install "${T}/${SITEFILE}"
fi
newinitd "${FILESDIR}"/epmd.init-r2 epmd
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
fi
LICENSE="BSD BSD-2 UoI-NCSA"

@ -1,8 +1,4 @@
DIST php-7.3.31.tar.xz 12142912 BLAKE2B dc68d2e2f38c93653950be4b30dde12fec6e7279e288fe40439a8e3e31110a228a69275e032604a493a53951230f6f42257719617ae18179116be414e49a2af5 SHA512 63a8122233b9892453b6b92429497a7ad9761ad88063e2b95607b5d4d4c0a0e1135073bcae5a0e69a17082d2348911cbbd4807c0d20905d93324d89e5b019a05
DIST php-7.3.32.tar.xz 12142436 BLAKE2B 375092f7fade8b93d2fbf409552cda42a685267248e3bce373913eeae5f133e7773554c2302b12bf09588d74a76898b138c47287f7d9a721f294635799ca46f6 SHA512 afed20a90aa7d207f9b409fb2066789a637b24d6c6874fc5733bbe6e9972616b387669ce40cba16b606893d88572f398e34aff7a36626308e3ede312f09fcc56
DIST php-7.4.24.tar.xz 10372816 BLAKE2B 62e1853c20eb10d8540b9284af93cce4b3976cfae7cdba5c0c2d6d14e732a57d7f1d196f4270687d6af8f376d7a9ccef60b0b606ed20eda7e1b2b7b95074c55c SHA512 30dd0a83d6184791f4cff3edcffeb05470de8f98ddadba3c11544449bf500280ff2048a8ca8588b35d0622dcbbf16f55ea297f51d469ae137048cab2d40da9cd
DIST php-7.4.25.tar.xz 10376304 BLAKE2B 75682840a9e978d2ce350892bb8d743238f1ca86d4e1bb549637ad259541264c911128d3fbb2a89768acaa366eac91e66b26f8411f6b9f6d55475b139f5ae95a SHA512 7fcb236f6d2a92514059b2e107c2b592e6139e3c65046566ae98fb9d2c09eb3e9ca1a41ea6535fc814bc7127d8fd9f8bb5a80bd86eec32120eb150a34b9b5c34
DIST php-8.0.11.tar.xz 10804388 BLAKE2B 8d32f2bb66b2850c7d8d820cbcf94af5161065612b204f6e30289d9b9fffbae7c45cdf5e31c3d1f774932d7eb7218079f6f0d19774b108d53a81a6c88d3c99fb SHA512 2d346959b2691ea0d5334dc9cad225b7a65ec53d6a6493f3b95c4819a0c088bec36aa1bf4ab3c8044a631bcfefb689d85463ff2259d42000e65dac30badcc59d
DIST php-8.0.12.tar.xz 10713980 BLAKE2B ce8ca0d671e8613a81744a55cf94ff43254482a08dec365c05eb4ca22c1b31732e5ef93a51d383d2e8daf0cf332ed7946e79ba3b385386ca0773fc673fe58307 SHA512 927b15c4443f3741a5325ec7bf387987b405cd5e64e40fd81f1945bf073adda30eeede8e1f98185f505cb61f969cf1abe05b8dad57a3c4e87971e8037bb16b23
DIST php-8.1.0RC2.tar.xz 11679352 BLAKE2B 0b4eb5b1f8d3f8fb29421b6c72b3279bc7f3c5f6ba684305afdc7b1f5cc0f45a942d5c0f0a681f152ad87f209fa4e464215aef43732180882d523f2badd4596e SHA512 aecd58eb683467df62032208caa545d243ca2574f6683566a489136c84a19da4383c5aaa122dc09cfb44dc951bfaf85e50b0b9659b49ec1c4ae69f5afea9844b
DIST php-8.1.0RC5.tar.xz 11717432 BLAKE2B a1f468a17267684030c5350452d20a352c05c1c18b66e305ea86e8fd76210d8795623f8feb82196170037cacc9a36802ae63dc6922e2f1b118681525412177e8 SHA512 ee8c29b0bbe688346837e7f3227f07b354f20b8e783fbeb79d692528089b8e23ad1980659c6ea470d98b07da1735b81ebb52eb378b3161b4cde5e22678bbb0b7

@ -1,754 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit flag-o-matic systemd autotools
MY_PV=${PV/_rc/RC}
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://www.php.net/"
SRC_URI="https://www.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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 +jit +json kerberos ldap ldap-sasl libedit 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[jit?,unicode]
fpm? ( acl? ( sys-apps/acl ) )
apache2? ( www-servers/apache[apache2_modules_unixd(+),threads=] )
argon2? ( app-crypt/argon2:= )
berkdb? ( || ( sys-libs/db:5.3 sys-libs/db:4.8 ) )
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-r3: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-2[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? ( dev-libs/libedit )
lmdb? ( dev-db/lmdb:= )
mssql? ( dev-db/freetds[mssql] )
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
odbc? ( >=dev-db/unixODBC-1.8.13 )
postgres? ( dev-db/postgresql:* )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0= )
recode? ( app-text/recode:0= )
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:=[-minimal] )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-1.0.1: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"
BDEPEND="virtual/pkgconfig"
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
# The Oracle instant client provides its own incompatible ldap library.
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 )
oci8-instant-client? ( !ldap )
phar? ( hash )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysqli !mysql )
session-mm? ( session !threads )
mysql? ( || ( mysqli pdo ) )
zip-encryption? ( zip )
"
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/php-freetype-2.9.1.patch"
"${FILESDIR}/php73-CVE2021-21703.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
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 "../ext/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
our_conf+=(
--with-pcre-regex="${EPREFIX}/usr"
--with-pcre-dir="${EPREFIX}/usr"
--without-pcre-valgrind
$(use_with jit 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
local one_sapi
local sapi
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
local sapi
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="", 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 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"
# Install the "phar" archive utility.
if use phar ; then
emake INSTALL_ROOT="${D}" install-pharcmd
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
fi
;;
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#/usr}/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
local m
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,758 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit flag-o-matic systemd autotools
MY_PV=${PV/_rc/RC}
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://www.php.net/"
SRC_URI="https://www.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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 +jit +json kerberos ldap ldap-sasl libedit 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[jit?,unicode]
fpm? ( acl? ( sys-apps/acl ) )
apache2? ( www-servers/apache[apache2_modules_unixd(+),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-r3: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-2[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? ( dev-libs/libedit )
lmdb? ( dev-db/lmdb:= )
mssql? ( dev-db/freetds[mssql] )
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
odbc? ( >=dev-db/unixODBC-1.8.13 )
postgres? ( dev-db/postgresql:* )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0= )
recode? ( app-text/recode:0= )
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:=[-minimal] )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-1.0.1: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"
BDEPEND="virtual/pkgconfig"
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
# The Oracle instant client provides its own incompatible ldap library.
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 )
oci8-instant-client? ( !ldap )
phar? ( hash )
qdbm? ( !gdbm )
readline? ( !libedit )
recode? ( !imap !mysqli !mysql )
session-mm? ( session !threads )
mysql? ( || ( mysqli pdo ) )
zip-encryption? ( zip )
"
RESTRICT="!test? ( test )"
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
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 "../ext/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
our_conf+=(
--with-pcre-regex="${EPREFIX}/usr"
--with-pcre-dir="${EPREFIX}/usr"
--without-pcre-valgrind
$(use_with jit 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
local one_sapi
local sapi
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
local sapi
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="", 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 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"
# Install the "phar" archive utility.
if use phar ; then
emake INSTALL_ROOT="${D}" install-pharcmd
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
fi
;;
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#/usr}/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
local m
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,750 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
WANT_AUTOMAKE="none"
inherit flag-o-matic systemd autotools
MY_PV=${PV/_rc/RC}
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://www.php.net/"
SRC_URI="https://www.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 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 ffi +fileinfo +filter firebird
+flatfile ftp gd gdbm gmp +iconv imap inifile
intl iodbc ipv6 +jit +json kerberos ldap ldap-sasl libedit lmdb
mhash mssql mysql mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline selinux +session session-mm sharedmem
+simplexml snmp soap sockets sodium spell sqlite ssl
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
# The Oracle instant client provides its own incompatible ldap library.
REQUIRED_USE="
|| ( cli cgi fpm apache2 embed phpdbg )
cli? ( ^^ ( readline libedit ) )
!cli? ( ?? ( readline libedit ) )
truetype? ( gd zlib )
webp? ( gd zlib )
cjk? ( gd zlib )
exif? ( gd zlib )
xpm? ( gd zlib )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
xmlrpc? ( xml iconv )
xmlreader? ( xml )
xmlwriter? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
oci8-instant-client? ( !ldap )
qdbm? ( !gdbm )
session-mm? ( session !threads )
mysql? ( || ( mysqli pdo ) )
firebird? ( pdo )
mssql? ( pdo )
"
RESTRICT="!test? ( test )"
# 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[jit?,unicode]
fpm? ( acl? ( sys-apps/acl ) )
apache2? ( www-servers/apache[apache2_modules_unixd(+),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 )
ffi? ( >=dev-libs/libffi-3.0.11:= )
firebird? ( dev-db/firebird )
gd? ( >=virtual/jpeg-0-r3:0 media-libs/libpng:0= )
gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
gmp? ( dev-libs/gmp:0= )
iconv? ( virtual/libiconv )
imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] )
intl? ( dev-libs/icu:= )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-1.2.11 )
ldap-sasl? ( dev-libs/cyrus-sasl )
libedit? ( dev-libs/libedit )
lmdb? ( dev-db/lmdb:= )
mssql? ( dev-db/freetds[mssql] )
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( >=dev-db/unixODBC-1.8.13 ) )
postgres? ( dev-db/postgresql:* )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0= )
session-mm? ( dev-libs/mm )
snmp? ( >=net-analyzer/net-snmp-5.2 )
sodium? ( dev-libs/libsodium:=[-minimal] )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-1.0.1:0= )
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
tokyocabinet? ( dev-db/tokyocabinet )
truetype? ( =media-libs/freetype-2* )
unicode? ( dev-libs/oniguruma:= )
webp? ( media-libs/libwebp:0= )
xml? ( >=dev-libs/libxml2-2.7.6 )
xpm? ( x11-libs/libXpm )
xslt? ( dev-libs/libxslt )
zip? ( >=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"
BDEPEND="virtual/pkgconfig"
PHP_MV="$(ver_cut 1)"
PATCHES=(
"${FILESDIR}"/php-iodbc-header-location.patch
)
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
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 "../ext/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'
# Emulate buildconf to support cross-compilation
rm -fr aclocal.m4 autom4te.cache config.cache \
configure main/php_config.h.in || die
eautoconf --force
eautoheader
}
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)
$(use_with bzip2 bz2 "${EPREFIX}/usr")
$(use_enable calendar)
$(use_enable coverage gcov)
$(use_enable ctype)
$(use_with curl)
$(use_enable xml dom)
$(use_with enchant)
$(use_enable exif)
$(use_with ffi)
$(use_enable fileinfo)
$(use_enable filter)
$(use_enable ftp)
$(use_with nls gettext "${EPREFIX}/usr")
$(use_with gmp gmp "${EPREFIX}/usr")
$(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)
$(use_enable ipv6)
$(use_enable json)
$(use_with kerberos)
$(use_with xml libxml)
$(use_enable unicode mbstring)
$(use_with ssl openssl)
$(use_enable pcntl)
$(use_enable phar)
$(use_enable pdo)
$(use_enable opcache)
$(use_with postgres pgsql "${EPREFIX}/usr")
$(use_enable posix)
$(use_with spell pspell "${EPREFIX}/usr")
$(use_enable simplexml)
$(use_enable sharedmem shmop)
$(use_with snmp snmp "${EPREFIX}/usr")
$(use_enable soap)
$(use_enable sockets)
$(use_with sodium)
$(use_with sqlite sqlite3)
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(use_with tidy tidy "${EPREFIX}/usr")
$(use_enable tokenizer)
$(use_enable xml)
$(use_enable xmlreader)
$(use_enable xmlwriter)
$(use_with xmlrpc)
$(use_with xslt xsl)
$(use_with zip)
$(use_with zlib zlib "${EPREFIX}/usr")
$(use_enable 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" )
fi
# DBA drivers support
our_conf+=(
$(use_with cdb)
$(use_with berkdb db4 "${EPREFIX}/usr")
$(use_enable flatfile)
$(use_with gdbm gdbm "${EPREFIX}/usr")
$(use_enable inifile)
$(use_with qdbm qdbm "${EPREFIX}/usr")
$(use_with tokyocabinet tcadb "${EPREFIX}/usr")
$(use_with lmdb lmdb "${EPREFIX}/usr")
)
# Support for the GD graphics library
our_conf+=(
$(use_with truetype freetype)
$(use_enable cjk gd-jis-conv)
$(use_with gd jpeg)
$(use_with xpm)
$(use_with webp)
)
# enable gd last, so configure can pick up the previous settings
our_conf+=( $(use_enable gd) )
# IMAP support
if use imap ; then
our_conf+=(
$(use_with imap imap "${EPREFIX}/usr")
$(use_with ssl imap-ssl "${EPREFIX}/usr")
)
fi
# LDAP support
if use ldap ; then
our_conf+=(
$(use_with ldap ldap "${EPREFIX}/usr")
$(use_with ldap-sasl)
)
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
if use odbc && use iodbc ; then
our_conf+=(
--without-unixODBC
--with-iodbc
$(use_with pdo pdo-odbc "iODBC,${EPREFIX}/usr")
)
elif use odbc ; then
our_conf+=(
--with-unixODBC="${EPREFIX}/usr"
--without-iodbc
$(use_with pdo pdo-odbc "unixODBC,${EPREFIX}/usr")
)
else
our_conf+=(
--without-unixODBC
--without-iodbc
--without-pdo-odbc
)
fi
# 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)
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
$(use_with oci8-instant-client pdo-oci)
)
fi
# readline/libedit support
our_conf+=(
$(use_with readline readline "${EPREFIX}/usr")
$(use_with libedit)
)
# Session support
if use session ; then
our_conf+=( $(use_with session-mm mm "${EPREFIX}/usr") )
else
our_conf+=( $(use_enable 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-external-pcre affects ext/pcre
our_conf+=(
--with-external-pcre
$(use_with jit 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
local one_sapi
local sapi
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
local sapi
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="", 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 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"
# Install the "phar" archive utility.
if use phar ; then
emake INSTALL_ROOT="${D}" install-pharcmd
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
fi
;;
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#/usr}/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
local m
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,749 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
WANT_AUTOMAKE="none"
inherit flag-o-matic systemd autotools
MY_PV=${PV/_rc/rc}
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://www.php.net/"
SRC_URI="https://www.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 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 apparmor argon2 bcmath berkdb bzip2 calendar cdb cjk
coverage +ctype curl debug
enchant exif ffi +fileinfo +filter firebird
+flatfile ftp gd gdbm gmp +iconv imap inifile
intl iodbc ipv6 +jit kerberos ldap ldap-sasl libedit lmdb
mhash mssql mysql mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline selinux +session session-mm sharedmem
+simplexml snmp soap sockets sodium spell sqlite ssl
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
+xml xmlreader xmlwriter xpm xslt zip zlib"
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
# The Oracle instant client provides its own incompatible ldap library.
REQUIRED_USE="
|| ( cli cgi fpm apache2 embed phpdbg )
cli? ( ^^ ( readline libedit ) )
!cli? ( ?? ( readline libedit ) )
truetype? ( gd zlib )
webp? ( gd zlib )
cjk? ( gd zlib )
exif? ( gd zlib )
xpm? ( gd zlib )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
xmlreader? ( xml )
xmlwriter? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
oci8-instant-client? ( !ldap )
qdbm? ( !gdbm )
session-mm? ( session !threads )
mysql? ( || ( mysqli pdo ) )
firebird? ( pdo )
mssql? ( pdo )
"
RESTRICT="!test? ( test )"
# 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.7[apache2?,fpm?]
>=dev-libs/libpcre2-10.30[jit?,unicode]
fpm? ( acl? ( sys-apps/acl ) apparmor? ( sys-libs/libapparmor ) )
apache2? ( www-servers/apache[apache2_modules_unixd(+),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.29.0 )
enchant? ( app-text/enchant:2 )
ffi? ( >=dev-libs/libffi-3.0.11:= )
firebird? ( dev-db/firebird )
gd? ( >=virtual/jpeg-0-r3:0 media-libs/libpng:0= )
gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
gmp? ( dev-libs/gmp:0= )
iconv? ( virtual/libiconv )
imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] )
intl? ( dev-libs/icu:= )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-1.2.11 )
ldap-sasl? ( dev-libs/cyrus-sasl )
libedit? ( dev-libs/libedit )
lmdb? ( dev-db/lmdb:= )
mssql? ( dev-db/freetds[mssql] )
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( >=dev-db/unixODBC-1.8.13 ) )
postgres? ( >=dev-db/postgresql-9.1:* )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0= )
session-mm? ( dev-libs/mm )
snmp? ( >=net-analyzer/net-snmp-5.2 )
sodium? ( dev-libs/libsodium:=[-minimal] )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-1.0.1:0= )
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
tokyocabinet? ( dev-db/tokyocabinet )
truetype? ( =media-libs/freetype-2* )
unicode? ( dev-libs/oniguruma:= )
webp? ( media-libs/libwebp:0= )
xml? ( >=dev-libs/libxml2-2.9.0 )
xpm? ( x11-libs/libXpm )
xslt? ( dev-libs/libxslt )
zip? ( >=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"
BDEPEND="virtual/pkgconfig"
PHP_MV="$(ver_cut 1)"
PATCHES=(
"${FILESDIR}/php-iodbc-header-location.patch"
"${FILESDIR}/php80-firebird-warnings.patch"
)
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
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 "../ext/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'
# Emulate buildconf to support cross-compilation
rm -fr aclocal.m4 autom4te.cache config.cache \
configure main/php_config.h.in || die
eautoconf --force
eautoheader
}
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 zts)
)
our_conf+=(
$(use_with apparmor fpm-apparmor)
$(use_with argon2 password-argon2 "${EPREFIX}/usr")
$(use_enable bcmath)
$(use_with bzip2 bz2 "${EPREFIX}/usr")
$(use_enable calendar)
$(use_enable coverage gcov)
$(use_enable ctype)
$(use_with curl)
$(use_enable xml dom)
$(use_with enchant)
$(use_enable exif)
$(use_with ffi)
$(use_enable fileinfo)
$(use_enable filter)
$(use_enable ftp)
$(use_with nls gettext "${EPREFIX}/usr")
$(use_with gmp gmp "${EPREFIX}/usr")
$(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)
$(use_enable ipv6)
$(use_with kerberos)
$(use_with xml libxml)
$(use_enable unicode mbstring)
$(use_with ssl openssl)
$(use_enable pcntl)
$(use_enable phar)
$(use_enable pdo)
$(use_enable opcache)
$(use_with postgres pgsql "${EPREFIX}/usr")
$(use_enable posix)
$(use_with spell pspell "${EPREFIX}/usr")
$(use_enable simplexml)
$(use_enable sharedmem shmop)
$(use_with snmp snmp "${EPREFIX}/usr")
$(use_enable soap)
$(use_enable sockets)
$(use_with sodium)
$(use_with sqlite sqlite3)
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(use_with tidy tidy "${EPREFIX}/usr")
$(use_enable tokenizer)
$(use_enable xml)
$(use_enable xmlreader)
$(use_enable xmlwriter)
$(use_with xslt xsl)
$(use_with zip)
$(use_with zlib zlib "${EPREFIX}/usr")
$(use_enable 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" )
fi
# DBA drivers support
our_conf+=(
$(use_with cdb)
$(use_with berkdb db4 "${EPREFIX}/usr")
$(use_enable flatfile)
$(use_with gdbm gdbm "${EPREFIX}/usr")
$(use_enable inifile)
$(use_with qdbm qdbm "${EPREFIX}/usr")
$(use_with tokyocabinet tcadb "${EPREFIX}/usr")
$(use_with lmdb lmdb "${EPREFIX}/usr")
)
# Support for the GD graphics library
our_conf+=(
$(use_with truetype freetype)
$(use_enable cjk gd-jis-conv)
$(use_with gd jpeg)
$(use_with xpm)
$(use_with webp)
)
# enable gd last, so configure can pick up the previous settings
our_conf+=( $(use_enable gd) )
# IMAP support
if use imap ; then
our_conf+=(
$(use_with imap imap "${EPREFIX}/usr")
$(use_with ssl imap-ssl "${EPREFIX}/usr")
)
fi
# LDAP support
if use ldap ; then
our_conf+=(
$(use_with ldap ldap "${EPREFIX}/usr")
$(use_with ldap-sasl)
)
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
if use odbc && use iodbc ; then
our_conf+=(
--without-unixODBC
--with-iodbc
$(use_with pdo pdo-odbc "iODBC,${EPREFIX}/usr")
)
elif use odbc ; then
our_conf+=(
--with-unixODBC="${EPREFIX}/usr"
--without-iodbc
$(use_with pdo pdo-odbc "unixODBC,${EPREFIX}/usr")
)
else
our_conf+=(
--without-unixODBC
--without-iodbc
--without-pdo-odbc
)
fi
# 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)
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
$(use_with oci8-instant-client pdo-oci)
)
fi
# readline/libedit support
our_conf+=(
$(use_with readline readline "${EPREFIX}/usr")
$(use_with libedit)
)
# Session support
if use session ; then
our_conf+=( $(use_with session-mm mm "${EPREFIX}/usr") )
else
our_conf+=( $(use_enable 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-external-pcre affects ext/pcre
our_conf+=(
--with-external-pcre
$(use_with jit 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
local one_sapi
local sapi
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
local sapi
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="", 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 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$(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"
# Install the "phar" archive utility.
if use phar ; then
emake INSTALL_ROOT="${D}" install-pharcmd
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
fi
;;
cgi)
source="sapi/cgi/php-cgi"
;;
fpm)
source="sapi/fpm/php-fpm"
;;
embed)
source="libs/libphp$(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#/usr}/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
local m
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,749 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
WANT_AUTOMAKE="none"
inherit flag-o-matic systemd autotools
MY_PV=${PV/_rc/RC}
DESCRIPTION="The PHP language runtime engine"
HOMEPAGE="https://www.php.net/"
#SRC_URI="https://www.php.net/distributions/${P}.tar.xz"
SRC_URI="https://downloads.php.net/~patrickallaert/${PN}-${MY_PV}.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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 apparmor argon2 bcmath berkdb bzip2 calendar cdb cjk
coverage +ctype curl debug
enchant exif ffi +fileinfo +filter firebird
+flatfile ftp gd gdbm gmp +iconv imap inifile
intl iodbc ipv6 +jit kerberos ldap ldap-sasl libedit lmdb
mhash mssql mysql mysqli nls
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
readline selinux +session session-mm sharedmem
+simplexml snmp soap sockets sodium spell sqlite ssl
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
+xml xmlreader xmlwriter xpm xslt zip zlib"
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
# The Oracle instant client provides its own incompatible ldap library.
REQUIRED_USE="
|| ( cli cgi fpm apache2 embed phpdbg )
cli? ( ^^ ( readline libedit ) )
!cli? ( ?? ( readline libedit ) )
truetype? ( gd zlib )
webp? ( gd zlib )
cjk? ( gd zlib )
exif? ( gd zlib )
xpm? ( gd zlib )
gd? ( zlib )
simplexml? ( xml )
soap? ( xml )
xmlreader? ( xml )
xmlwriter? ( xml )
xslt? ( xml )
ldap-sasl? ( ldap )
oci8-instant-client? ( !ldap )
qdbm? ( !gdbm )
session-mm? ( session !threads )
mysql? ( || ( mysqli pdo ) )
firebird? ( pdo )
mssql? ( pdo )
"
RESTRICT="!test? ( test )"
# 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.7[apache2?,fpm?]
>=dev-libs/libpcre2-10.30[jit?,unicode]
fpm? ( acl? ( sys-apps/acl ) apparmor? ( sys-libs/libapparmor ) )
apache2? ( www-servers/apache[apache2_modules_unixd(+),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.29.0 )
enchant? ( app-text/enchant:2 )
ffi? ( >=dev-libs/libffi-3.0.11:= )
firebird? ( dev-db/firebird )
gd? ( >=virtual/jpeg-0-r3:0 media-libs/libpng:0= )
gdbm? ( >=sys-libs/gdbm-1.8.0:0= )
gmp? ( dev-libs/gmp:0= )
iconv? ( virtual/libiconv )
imap? ( >=virtual/imap-c-client-2[kerberos=,ssl=] )
intl? ( dev-libs/icu:= )
kerberos? ( virtual/krb5 )
ldap? ( >=net-nds/openldap-1.2.11 )
ldap-sasl? ( dev-libs/cyrus-sasl )
libedit? ( dev-libs/libedit )
lmdb? ( dev-db/lmdb:= )
mssql? ( dev-db/freetds[mssql] )
nls? ( sys-devel/gettext )
oci8-instant-client? ( dev-db/oracle-instantclient[sdk] )
odbc? ( iodbc? ( dev-db/libiodbc ) !iodbc? ( >=dev-db/unixODBC-1.8.13 ) )
postgres? ( >=dev-db/postgresql-9.1:* )
qdbm? ( dev-db/qdbm )
readline? ( sys-libs/readline:0= )
session-mm? ( dev-libs/mm )
snmp? ( >=net-analyzer/net-snmp-5.2 )
sodium? ( dev-libs/libsodium:=[-minimal] )
spell? ( >=app-text/aspell-0.50 )
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
ssl? ( >=dev-libs/openssl-1.0.2:0= )
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
tokyocabinet? ( dev-db/tokyocabinet )
truetype? ( =media-libs/freetype-2* )
unicode? ( dev-libs/oniguruma:= )
webp? ( media-libs/libwebp:0= )
xml? ( >=dev-libs/libxml2-2.9.0 )
xpm? ( x11-libs/libXpm )
xslt? ( dev-libs/libxslt )
zip? ( >=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"
BDEPEND="virtual/pkgconfig"
PHP_MV="$(ver_cut 1)"
PATCHES=(
"${FILESDIR}/php-iodbc-header-location.patch"
)
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
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 "../ext/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'
# Emulate buildconf to support cross-compilation
rm -fr aclocal.m4 autom4te.cache config.cache \
configure main/php_config.h.in || die
eautoconf --force
eautoheader
}
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 zts)
)
our_conf+=(
$(use_with apparmor fpm-apparmor)
$(use_with argon2 password-argon2 "${EPREFIX}/usr")
$(use_enable bcmath)
$(use_with bzip2 bz2 "${EPREFIX}/usr")
$(use_enable calendar)
$(use_enable coverage gcov)
$(use_enable ctype)
$(use_with curl)
$(use_enable xml dom)
$(use_with enchant)
$(use_enable exif)
$(use_with ffi)
$(use_enable fileinfo)
$(use_enable filter)
$(use_enable ftp)
$(use_with nls gettext "${EPREFIX}/usr")
$(use_with gmp gmp "${EPREFIX}/usr")
$(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)
$(use_enable ipv6)
$(use_with kerberos)
$(use_with xml libxml)
$(use_enable unicode mbstring)
$(use_with ssl openssl)
$(use_enable pcntl)
$(use_enable phar)
$(use_enable pdo)
$(use_enable opcache)
$(use_with postgres pgsql "${EPREFIX}/usr")
$(use_enable posix)
$(use_with spell pspell "${EPREFIX}/usr")
$(use_enable simplexml)
$(use_enable sharedmem shmop)
$(use_with snmp snmp "${EPREFIX}/usr")
$(use_enable soap)
$(use_enable sockets)
$(use_with sodium)
$(use_with sqlite sqlite3)
$(use_enable sysvipc sysvmsg)
$(use_enable sysvipc sysvsem)
$(use_enable sysvipc sysvshm)
$(use_with tidy tidy "${EPREFIX}/usr")
$(use_enable tokenizer)
$(use_enable xml)
$(use_enable xmlreader)
$(use_enable xmlwriter)
$(use_with xslt xsl)
$(use_with zip)
$(use_with zlib zlib "${EPREFIX}/usr")
$(use_enable 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" )
fi
# DBA drivers support
our_conf+=(
$(use_with cdb)
$(use_with berkdb db4 "${EPREFIX}/usr")
$(use_enable flatfile)
$(use_with gdbm gdbm "${EPREFIX}/usr")
$(use_enable inifile)
$(use_with qdbm qdbm "${EPREFIX}/usr")
$(use_with tokyocabinet tcadb "${EPREFIX}/usr")
$(use_with lmdb lmdb "${EPREFIX}/usr")
)
# Support for the GD graphics library
our_conf+=(
$(use_with truetype freetype)
$(use_enable cjk gd-jis-conv)
$(use_with gd jpeg)
$(use_with xpm)
$(use_with webp)
)
# enable gd last, so configure can pick up the previous settings
our_conf+=( $(use_enable gd) )
# IMAP support
if use imap ; then
our_conf+=(
$(use_with imap imap "${EPREFIX}/usr")
$(use_with ssl imap-ssl "${EPREFIX}/usr")
)
fi
# LDAP support
if use ldap ; then
our_conf+=(
$(use_with ldap ldap "${EPREFIX}/usr")
$(use_with ldap-sasl)
)
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
if use odbc && use iodbc ; then
our_conf+=(
--without-unixODBC
--with-iodbc
$(use_with pdo pdo-odbc "iODBC,${EPREFIX}/usr")
)
elif use odbc ; then
our_conf+=(
--with-unixODBC="${EPREFIX}/usr"
--without-iodbc
$(use_with pdo pdo-odbc "unixODBC,${EPREFIX}/usr")
)
else
our_conf+=(
--without-unixODBC
--without-iodbc
--without-pdo-odbc
)
fi
# 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)
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
$(use_with oci8-instant-client pdo-oci)
)
fi
# readline/libedit support
our_conf+=(
$(use_with readline readline "${EPREFIX}/usr")
$(use_with libedit)
)
# Session support
if use session ; then
our_conf+=( $(use_with session-mm mm "${EPREFIX}/usr") )
else
our_conf+=( $(use_enable 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-external-pcre affects ext/pcre
our_conf+=(
--with-external-pcre
$(use_with jit 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
local one_sapi
local sapi
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
local sapi
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="", 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 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$(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"
# Install the "phar" archive utility.
if use phar ; then
emake INSTALL_ROOT="${D}" install-pharcmd
dosym "..${dest#/usr}/bin/phar" "/usr/bin/phar${SLOT}"
fi
;;
cgi)
source="sapi/cgi/php-cgi"
;;
fpm)
source="sapi/fpm/php-fpm"
;;
embed)
source="libs/libphp$(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#/usr}/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
local m
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
}

@ -83,12 +83,7 @@ COMMON_DEPEND="
fpm? ( acl? ( sys-apps/acl ) apparmor? ( sys-libs/libapparmor ) )
apache2? ( www-servers/apache[apache2_modules_unixd(+),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 ) )
berkdb? ( || ( sys-libs/db:5.3 sys-libs/db:4.8 ) )
bzip2? ( app-arch/bzip2:0= )
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
coverage? ( dev-util/lcov )

Binary file not shown.

@ -1 +1,2 @@
DIST AppStream-0.14.5.tar.xz 2344820 BLAKE2B 714f7004db7579fb293c68e8574f0ebb8cea230e090edbaf459e6e2e0833656d7dd6372bd55c39c5e0b665117015c768990ac8b182a51219823c9cf90360263d SHA512 3f2fff8ee98a5689534802136b9fc8368422ce73c72458924b49beeb5b01170dadf25308bee692cfbc0b0a6cd4b3ee3047e46668a1b76a16b23faec4bf8ae78c
DIST AppStream-0.14.6.tar.xz 2403088 BLAKE2B 1eb85601c1782fc47ff21983517f301dc9493fb60347cfe8072c277cc4415e80bf6c11a93db80b6d7fe1eeda7ff1fa414fd10ce7ef0d7379b415326407d805b8 SHA512 810aa7427df50793f4bed27cc3cb5b72c156f0c582f241e06131aa8eabe82d59c8ac0bcc37a22877f7a19ac4640a9a831f8b567ce3e2d26a41ce999515affdb0

@ -0,0 +1,77 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson xdg-utils
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ximion/${PN}"
else
SRC_URI="https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz"
S="${WORKDIR}/AppStream-${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
fi
DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
LICENSE="LGPL-2.1+ GPL-2+"
# check as_api_level
SLOT="0/4"
IUSE="apt doc +introspection qt5 test"
RESTRICT="test" # bug 691962
RDEPEND="
dev-db/lmdb:=
>=dev-libs/glib-2.58:2
dev-libs/libxml2:2
dev-libs/libyaml
dev-libs/snowball-stemmer:=
net-misc/curl
introspection? ( >=dev-libs/gobject-introspection-1.56:= )
qt5? ( dev-qt/qtcore:5 )
"
DEPEND="${RDEPEND}
test? ( qt5? ( dev-qt/qttest:5 ) )
"
BDEPEND="
dev-libs/appstream-glib
dev-libs/libxslt
dev-util/itstool
>=sys-devel/gettext-0.19.8
doc? ( app-text/docbook-xml-dtd:4.5 )
test? ( dev-qt/linguist-tools:5 )
"
PATCHES=(
"${FILESDIR}"/${PN}-0.14.3-disable-Werror-flags.patch # bug 733774
)
src_prepare() {
default
sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die
if ! use test; then
sed -e "/^subdir.*tests/s/^/#DONT /" -i {,qt/}meson.build || die # bug 675944
fi
}
src_configure() {
xdg_environment_reset
local emesonargs=(
-Dapidocs=false
-Ddocs=false
-Dcompose=false
-Dmaintainer=false
-Dstemming=true
-Dvapi=false
-Dapt-support=$(usex apt true false)
-Dinstall-docs=$(usex doc true false)
-Dgir=$(usex introspection true false)
-Dqt=$(usex qt5 true false)
)
meson_src_configure
}

@ -18,6 +18,12 @@ RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}]
bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] )
lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] )
elibc_musl? (
dev-libs/libbsd
sys-libs/argp-standalone
sys-libs/fts-standalone
sys-libs/obstack-standalone
)
!dev-libs/libelf
"
DEPEND="${RDEPEND}
@ -42,6 +48,10 @@ PATCHES=(
src_prepare() {
default
if use elibc_musl; then
eapply "${FILESDIR}"/musl/
fi
if ! use static-libs; then
sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
fi

@ -0,0 +1,20 @@
From: Jory Pratt <anarchy@gentoo.org>
Date: Thu, 12 Dec 2019 22:38:30 -0600
Subject: [PATCH 3/3] Fix cdefs.h include for musl
--- a/lib/fixedsizehash.h
+++ b/lib/fixedsizehash.h
@@ -30,8 +30,11 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#if !defined(__GLIBC__)
+#include <bsd/sys/cdefs.h>
+#else
#include <sys/cdefs.h>
-
+#endif
#include <system.h>
#ifdef __CONCAT

@ -0,0 +1,68 @@
Should be obsolete with the next release (0.186?).
https://raw.githubusercontent.com/gentoo/musl/master/dev-libs/elfutils/files/0.178/musl-error_h.patch
https://sourceware.org/bugzilla/show_bug.cgi?id=21008
Date: Thu, 12 Dec 2019 22:00:47 -0600
Subject: [PATCH 9/9] Add hacked up error header for non GLIBC machines
--- /dev/null
+++ b/lib/error.h
@@ -0,0 +1,27 @@
+#ifndef _ERROR_H_
+#define _ERROR_H_
+
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+
+static unsigned int error_message_count = 0;
+
+static inline void error(int status, int errnum, const char* format, ...)
+{
+ va_list ap;
+ fprintf(stderr, "%s: ", program_invocation_name);
+ va_start(ap, format);
+ vfprintf(stderr, format, ap);
+ va_end(ap);
+ if (errnum)
+ fprintf(stderr, ": %s", strerror(errnum));
+ fprintf(stderr, "\n");
+ error_message_count++;
+ if (status)
+ exit(status);
+}
+
+#endif /* _ERROR_H_ */
--- /dev/null
+++ b/src/error.h
@@ -0,0 +1,27 @@
+#ifndef _ERROR_H_
+#define _ERROR_H_
+
+#include <stdarg.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+
+static unsigned int error_message_count = 0;
+
+static inline void error(int status, int errnum, const char* format, ...)
+{
+ va_list ap;
+ fprintf(stderr, "%s: ", program_invocation_name);
+ va_start(ap, format);
+ vfprintf(stderr, format, ap);
+ va_end(ap);
+ if (errnum)
+ fprintf(stderr, ": %s", strerror(errnum));
+ fprintf(stderr, "\n");
+ error_message_count++;
+ if (status)
+ exit(status);
+}
+
+#endif /* _ERROR_H_ */

@ -0,0 +1,86 @@
May not be required (or at least some hunks) with next release (0.186?)
https://git.alpinelinux.org/aports/plain/main/elfutils/musl-macros.patch
--- a/src/arlib.h
+++ b/src/arlib.h
@@ -29,6 +29,16 @@
#include <stdint.h>
#include <sys/types.h>
+#if !defined(ACCESSPERMS)
+# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */
+#endif
+#if !defined(ALLPERMS)
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
+#endif
+#if !defined(DEFFILEMODE)
+# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/
+#endif
+
/* State of -D/-U flags. */
extern bool arlib_deterministic_output;
--- a/src/elfcompress.c
+++ b/src/elfcompress.c
@@ -35,6 +35,14 @@
#include <gelf.h>
#include "system.h"
+#if !defined(FNM_EXTMATCH)
+# define FNM_EXTMATCH 0
+#endif
+
+#if !defined(ALLPERMS)
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
+#endif
+
/* Name and version of program. */
static void print_version (FILE *stream, struct argp_state *state);
ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
--- a/lib/libeu.h
+++ b/lib/libeu.h
@@ -31,6 +31,27 @@
#include <stddef.h>
#include <stdint.h>
+#include <unistd.h>
+#include <alloca.h>
+#include <string.h>
+
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif
+
+#ifndef strndupa
+#define strndupa(s, n) \
+ (__extension__ ({const char *__in = (s); \
+ size_t __len = strnlen (__in, (n)) + 1; \
+ char *__out = (char *) alloca (__len); \
+ __out[__len-1] = '\0'; \
+ (char *) memcpy (__out, __in, __len-1);}))
+#endif
extern void *xmalloc (size_t) __attribute__ ((__malloc__));
extern void *xcalloc (size_t, size_t) __attribute__ ((__malloc__));
--- a/src/strip.c
+++ b/src/strip.c
@@ -46,6 +46,14 @@
#include <system.h>
#include <printversion.h>
+#if !defined(FNM_EXTMATCH)
+# define FNM_EXTMATCH 0
+#endif
+
+#if !defined(ACCESSPERMS)
+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
+#endif
+
typedef uint8_t GElf_Byte;
/* Name and version of program. */

@ -0,0 +1,22 @@
Should be fixed in next release (0.186?).
https://sourceware.org/git/?p=elfutils.git;a=commit;h=e7e4c92650892cf67210be5ea89ffba967427cbf
https://git.alpinelinux.org/aports/plain/main/elfutils/musl-strndupa.patch
--- a/src/unstrip.c
+++ b/src/unstrip.c
@@ -56,6 +56,15 @@
# define _(str) gettext (str)
#endif
+#ifndef strndupa
+#define strndupa(s, n) \
+ (__extension__ ({const char *__in = (s); \
+ size_t __len = strnlen (__in, (n)) + 1; \
+ char *__out = (char *) alloca (__len); \
+ __out[__len-1] = '\0'; \
+ (char *) memcpy (__out, __in, __len-1);}))
+#endif
+
/* Name and version of program. */
ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;

@ -1,2 +1 @@
DIST icu4c-68_2-src.tgz 24737478 BLAKE2B ff54f903aed1a16928656e5f4fee79e4301038a70ba1d389fb2a2cc7c7dc4c76bc2430c810cea484c0ef69fbafc5728e71776c39874a5395c9dd06d573e8ea90 SHA512 24f3b7981667b37df58118f56ae76a09b719358c1efa8d6f044d28ef8df1c722a894957acadfb3c37aee39ac845893924fc3370d6bbe09875aec8d937059f84b
DIST icu4c-69_1-src.tgz 24814903 BLAKE2B ef95a04e238f0de96e969d580ef64000ab04a4a0003e8f31fd02baab35387d5ab2c4d792ae0d14f3de8e48aa28570237ccd67fb32e03b13d1572e4a995b1de76 SHA512 d4aeb781715144ea6e3c6b98df5bbe0490bfa3175221a1d667f3e6851b7bd4a638fa4a37d4a921ccb31f02b5d15a6dded9464d98051964a86f7b1cde0ff0aab7

@ -1,147 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit autotools flag-o-matic multilib-minimal python-any-r1 toolchain-funcs
DESCRIPTION="International Components for Unicode"
HOMEPAGE="http://site.icu-project.org/"
SRC_URI="https://github.com/unicode-org/icu/releases/download/release-${PV//./-}/icu4c-${PV//./_}-src.tgz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="debug doc examples static-libs"
BDEPEND="${PYTHON_DEPS}
virtual/pkgconfig
doc? ( app-doc/doxygen[dot] )
"
S="${WORKDIR}/${PN}/source"
MULTILIB_CHOST_TOOLS=(
/usr/bin/icu-config
)
PATCHES=(
"${FILESDIR}/${PN}-65.1-remove-bashisms.patch"
"${FILESDIR}/${PN}-64.2-darwin.patch"
"${FILESDIR}/${PN}-68.1-nonunicode.patch"
)
src_prepare() {
default
local variable
# Disable renaming as it is stupid thing to do
sed -i \
-e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" \
common/unicode/uconfig.h || die
# Fix linking of icudata
sed -i \
-e "s:LDFLAGSICUDT=-nodefaultlibs -nostdlib:LDFLAGSICUDT=:" \
config/mh-linux || die
# Append doxygen configuration to configure
sed -i \
-e 's:icudefs.mk:icudefs.mk Doxyfile:' \
configure.ac || die
eautoreconf
}
src_configure() {
append-cxxflags -std=c++14
if tc-is-cross-compiler; then
mkdir "${WORKDIR}"/host || die
pushd "${WORKDIR}"/host >/dev/null || die
CFLAGS="" CXXFLAGS="" ASFLAGS="" LDFLAGS="" \
CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" AR="$(tc-getBUILD_AR)" \
RANLIB="$(tc-getBUILD_RANLIB)" LD="$(tc-getBUILD_LD)" \
"${S}"/configure --disable-renaming --disable-debug \
--disable-samples --enable-static || die
emake
popd >/dev/null || die
fi
multilib-minimal_src_configure
}
multilib_src_configure() {
local myeconfargs=(
--disable-renaming
--disable-samples
--disable-layoutex
$(use_enable debug)
$(use_enable static-libs static)
$(multilib_native_use_enable examples samples)
)
tc-is-cross-compiler && myeconfargs+=(
--with-cross-build="${WORKDIR}"/host
)
# work around cross-endian testing failures with LTO #757681
if tc-is-cross-compiler && is-flagq '-flto*' ; then
myeconfargs+=( --disable-strict )
fi
# icu tries to use clang by default
tc-export CC CXX
# make sure we configure with the same shell as we run icu-config
# with, or ECHO_N, ECHO_T and ECHO_C will be wrongly defined
export CONFIG_SHELL="${EPREFIX}/bin/sh"
# probably have no /bin/sh in prefix-chain
[[ -x ${CONFIG_SHELL} ]] || CONFIG_SHELL="${BASH}"
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_compile() {
default
if multilib_is_native_abi && use doc; then
doxygen -u Doxyfile || die
doxygen Doxyfile || die
fi
}
multilib_src_test() {
# INTLTEST_OPTS: intltest options
# -e: Exhaustive testing
# -l: Reporting of memory leaks
# -v: Increased verbosity
# IOTEST_OPTS: iotest options
# -e: Exhaustive testing
# -v: Increased verbosity
# CINTLTST_OPTS: cintltst options
# -e: Exhaustive testing
# -v: Increased verbosity
emake -j1 VERBOSE="1" check
}
multilib_src_install() {
default
if multilib_is_native_abi && use doc; then
docinto html
dodoc -r doc/html/*
fi
}
multilib_src_install_all() {
einstalldocs
docinto html
dodoc ../readme.html
}

@ -1,6 +1,5 @@
DIST intel-compute-runtime-21.38.21026.tar.gz 4655853 BLAKE2B 28ebfb1cbce30fdefb7104a2b6840ea95d62645ae51a97a0b970aa4344fca7e64eb8f289895c30cf9fe4a0d9e5294490810236c0e565e78383ad7096429e2155 SHA512 08ffaaed80ef5776e6ecff15467170ca143887cda7905a49f7b2d12862ff17e75e7ff89ff2bb76ce25eec4ef32dfc882ac3cddf5a3e71d24adb21cc8c806cf5b
DIST intel-compute-runtime-21.39.21127.tar.gz 4666632 BLAKE2B 0e63e1bdf152e9995d48bc514ad86ce107ab7a62946b349f88fee3dfea89c93d3c2c7ce0ff3fd670d9944fa563cb409a04ae65820f3bb591f56638a7be54ec16 SHA512 7f526ec6f3c38586f75bcb0acdc312fc954655f2a92f78e820be722c27cac60b961b73897a1bd4ceeb397abdf3565be5e9c0859a0906723cb79e2947df2d2136
DIST intel-compute-runtime-21.40.21182.tar.gz 4678271 BLAKE2B c8f5c324af0e8ef787b287ee1e3fcacc217c3d935ce859123a217c088323f97a80293749689959be22502e7f569ad0fb917868c526dcea7905e80585e7376f53 SHA512 fdf74ae700a444ba9732938d9cdda3ba6f6baac209ca1611488b405a4ecced7cdd434a9e349af8a095b5adcd583b84294cb831ddc785520cd697a7af1ffa0437
DIST intel-compute-runtime-21.41.21220.tar.gz 4753783 BLAKE2B a340c2b5c1199498a68aa66c1d88367b99bc2404f35da10135030aa68462a909808fb2358dbc3d75357e00ccf30bb259a325a3d4523d862c0da358eae7528f65 SHA512 df397688423dbe0ec2e61c9a9c8b6ee1ee4451a95ef01aefcc2a0ed956e6b8273a4e9975c9aca592b51b4ce85324f5bdcd6a835f8eab40a0e715eb10000f1ceb
DIST intel-compute-runtime-21.42.21270.tar.gz 4761371 BLAKE2B 5dd2886e4b2a84a2247d2bb70667805531f099881431d9e8052c870d4081378cbbb43ea3f595c890f9d1930b9d054c0813da3f8b1c5509ad2090c78a4d683ed5 SHA512 f913bb116e84c0bd477578e75e10b67ef9c42bb447c2afdeefd9bb8ae291e53b019937d6e474e749a9bf98741366c8e76e5a8dcd23f8a9fac48e306e8dc9a648
DIST intel-compute-runtime-21.43.21438.tar.gz 4840204 BLAKE2B 6de3075132b9a48e97e30e66c6e09dd24f51cabddf55622f2c7490d38bd1ad25e4853206a0a8a3c4c34ac3eb774e44974c47089182652ae2d234044b72d1d048 SHA512 e8f98d9c8c0a01794d57276706ec4212a3fb082c8ac04dc76ceb0e30fecbd8d35405baaa45685fd4b241e8b04a15db16aef75bf1929c81ff879af46e5be00d1e
DIST intel-compute-runtime-21.44.21506.tar.gz 4851449 BLAKE2B beb49e8bbbfab098bb07943def326463b50f3a4b659368c5b24aadede582331c2c15d4d047e3bbae3d0ca32752c4a05861b0c0a325f30e91bc865276722116b6 SHA512 ae8ca2780602c53f13379ea798462fff1c136967186da21c5b714ed5ab405cb815e0e5e9e60cf8586cef151424270db624b473748d2756ee5768dba4cc020ea6

@ -1,61 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
MY_PN="${PN/intel-/}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
HOMEPAGE="https://github.com/intel/compute-runtime"
SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
IUSE="+l0 +vaapi"
RDEPEND="
dev-libs/libnl:3
dev-libs/libxml2:2
>=dev-util/intel-graphics-compiler-1.0.8708
>=dev-util/intel-graphics-system-controller-0.2.4
>=media-libs/gmmlib-21.2.1
>=virtual/opencl-3
l0? ( >=dev-libs/level-zero-1.5.0 )
vaapi? (
x11-libs/libdrm[video_cards_intel]
x11-libs/libva
)
"
# for Khronos OpenGL headers
DEPEND="
${RDEPEND}
media-libs/mesa
"
BDEPEND="virtual/pkgconfig"
DOCS=( "README.md" "FAQ.md" )
PATCHES=( "${FILESDIR}/${PN}-21.31.20514-no_Werror.patch" )
src_configure() {
local mycmakeargs=(
-DBUILD_WITH_L0="$(usex l0)"
-DDISABLE_LIBVA="$(usex !vaapi)"
-DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
-DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
# If enabled, tests are automatically run during
# the compile phase and we cannot run them because
# they require permissions to access the hardware.
-DSKIP_UNIT_TESTS="ON"
)
cmake_src_configure
}

@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="amd64"
IUSE="+l0 +vaapi"
RDEPEND="

@ -25,7 +25,7 @@ RDEPEND="
>=dev-util/intel-graphics-system-controller-0.2.4
>=media-libs/gmmlib-21.2.1
>=virtual/opencl-3
l0? ( >=dev-libs/level-zero-1.5.0 )
l0? ( >=dev-libs/level-zero-1.5.4 )
vaapi? (
x11-libs/libdrm[video_cards_intel]
x11-libs/libva

@ -1,3 +1 @@
DIST level-zero-1.4.1.tar.gz 391185 BLAKE2B 470df7a3fdc8562fd427bb94e236553f76b7e306d5965900c7ac6060e0b33b3fd61ef17230caded9d98828fbb37485aa333dc4d6c415c570eab08554edfc71d5 SHA512 3e282a39498fb0edcbe40dfbabd6d75ce4d28e8ff801fe2ae7abd7cf41120d57318e1dff29bd5403d4638ad64c11e5aa2d2ac50aff91ea14fe235bcc7843e0ac
DIST level-zero-1.5.0.tar.gz 395657 BLAKE2B ccd667f39b36f24826ec2ce2f9a755111d09f47798a7af9ddafc78947d008d0af82aa6189683b29acb59f9dc54d20fe0419ec4fbf5728e1652513b43b058db45 SHA512 2fd822dafbfaa1f51ff04e33f1cc3f5bdc4d71d45f1a3f7795ca870882647b162d2e4f727341542b09efe38e7bdb21bbefe5e6ea5af97c2579c7d74df55c5c1d
DIST level-zero-1.5.4.tar.gz 395657 BLAKE2B ccd667f39b36f24826ec2ce2f9a755111d09f47798a7af9ddafc78947d008d0af82aa6189683b29acb59f9dc54d20fe0419ec4fbf5728e1652513b43b058db45 SHA512 2fd822dafbfaa1f51ff04e33f1cc3f5bdc4d71d45f1a3f7795ca870882647b162d2e4f727341542b09efe38e7bdb21bbefe5e6ea5af97c2579c7d74df55c5c1d

@ -1,26 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
MY_PV="$(ver_cut 1-2)"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="oneAPI Level Zero headers, loader and validation layer"
HOMEPAGE="https://github.com/oneapi-src/level-zero"
SRC_URI="https://github.com/oneapi-src/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
src_prepare() {
cmake_src_prepare
# According to upstream, release tarballs should contain this file
# - but at least some of them do not. Fortunately it is trivial
# to make one ourselves.
echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die "Failed to seed the version file"
}

@ -1,26 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
MY_PV="$(ver_cut 1-2)"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="oneAPI Level Zero headers, loader and validation layer"
HOMEPAGE="https://github.com/oneapi-src/level-zero"
SRC_URI="https://github.com/oneapi-src/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
src_prepare() {
cmake_src_prepare
# According to upstream, release tarballs should contain this file
# - but at least some of them do not. Fortunately it is trivial
# to make one ourselves.
echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die "Failed to seed the version file"
}

@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="amd64"
src_prepare() {
cmake_src_prepare

@ -1 +1,2 @@
DIST mxml-3.2.tar.gz 9267930 BLAKE2B f244dab599233b8a26aba5a11526979bf2f4d20b5fce67858f7759abc5bd2f3e2aac19d512c887248839d130cf1314065687cd1ccf91edbf5533ae2d342f286b SHA512 ed3f2b361394ef225a708b0032976a3d191d5eaea3022e190b29e0ee140e8f998f1d65c64e4898872b169516cee44f4f5f18401c6410c3b5aa1e9680b23e8675
DIST mxml-3.3.tar.gz 1550358 BLAKE2B 2b815cd8c2031099e2767caad93cc389962ec547fadade92b0a7fb48a2352fd0940c9e434c2081b7419e0cfb489266d7116dacefd6fb9d7ce40d6de0f49cb2a6 SHA512 5a8453bec17e46afc9b100df03dba2219353a076152f34a5dc41b7f042fa570723effc3472680a4380674c412c3ab31e017f6704b1e8308227a4d9b3f13cb197

@ -0,0 +1,59 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings"
HOMEPAGE="
https://github.com/michaelrsweet/mxml
https://www.msweet.org/mxml/
"
SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Mini-XML"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="static-libs threads"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
# Don't run always tests
# Enable verbose compiling
sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die
# Build only static-libs, when requested by user, also build docs without static-libs in that case
if ! use static-libs; then
local mysedopts=(
-e '/^install:/s/install-libmxml.a//g'
-e '/^mxml.xml:/s/-static//g'
-e '/^mxml.epub:/s/-static//g'
-e '/^valgrind/s/-static//g'
-e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g'
)
sed "${mysedopts[@]}" -i Makefile.in || die
fi
eautoconf
}
src_configure() {
local myeconfargs=(
$(use_enable threads)
--with-docdir=/usr/share/doc/"${PF}"
)
econf "${myeconfargs[@]}"
}
src_test() {
emake testmxml
}
src_install() {
emake DSTROOT="${ED}" install
}

@ -13,7 +13,7 @@ SRC_URI="https://archive.mozilla.org/pub/nspr/releases/v${PV}/src/${P}.tar.gz"
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
IUSE="debug elibc_musl"
MULTILIB_CHOST_TOOLS=(

@ -15,7 +15,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE="cacert utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx"
# pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND
RDEPEND="

@ -1,2 +1,3 @@
DIST plasma-wayland-protocols-1.3.0.tar.xz 39052 BLAKE2B 4024ac8c31c1620eb88b027084e9219368f570719cdb53ccff30594de7ebd5e0c01c8baf580d9c19115aa4632bc960fd8e44fd6bf97919e61faf24c1a43fbfdf SHA512 4c0466bbbe07399d4c54d4f04d7bee92826a6009c61fd7e6898c04d12e906c68fce25c520583225aef18737071b71b85814070a769a4f00e2a71b709568c1695
DIST plasma-wayland-protocols-1.4.0.tar.xz 41160 BLAKE2B 1b308c948c2a568c20c7578255d3f70ebd648b921a2ea7a9ef7c8f72f8c91a6f3c4f987b10618c7eccda2c0d0ea28abef66ff78010923c08a83ad482e9524ef7 SHA512 4f38f440943fa129527455ff26aac9fd460f59fa332becbb338847eb68c01d8e0bbcf4abd1fb6c8fee996a8260c8b19543d206cfe3534ea8f929012079ecafb0
DIST plasma-wayland-protocols-1.5.0.tar.xz 41488 BLAKE2B 1235506ffb69fdbabd2d8a0b6c9b477a50c83431571b000a10907caa16b178ddbe628d63b4fdf2c98905fdb8a8fdd0699ca13dc3b718ab672b08719f9f434ea3 SHA512 bec83ee401e71fff3c5a38768034b0dfc1dd191af634b9ffa765bf86d9c14143abc2c5abd743dc53cc6c0aac1dbbf79104683c9ff5c6d880b03e71399806a6d7

@ -0,0 +1,19 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_NONGUI=true
KFMIN=5.82.0
inherit ecm kde.org
DESCRIPTION="Plasma Specific Protocols for Wayland"
HOMEPAGE="https://invent.kde.org/libraries/plasma-wayland-protocols"
if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
fi
LICENSE="LGPL-2.1"
SLOT="0"

@ -1,2 +1,2 @@
DIST qtkeychain-0.11.1.tar.gz 41001 BLAKE2B 155ca333d403e6ad91c2f733dec06e7957d3998c8124156cf33ea9b79521a6838e9c5a317b591897543b820d436d89ce3eada6425318d801834c133b6c55c982 SHA512 45551003000b8ed76d44767c54d18dcbb956d5aeb63d8bf2f0fc06c61eab4d7d2e70b894e9c0729722dfcb5004f818f4f4c9a413444fc2aebe0271f104b500e6
DIST qtkeychain-0.12.0.tar.gz 46070 BLAKE2B 42ae7b1e86cdfd26c7603c7bf3dfda9e0b856e44e531b92436ba260e32d51be9884602afff996c9cf5837c3cf6453fec70a9d06ac2e51c7e028305706e0ceeeb SHA512 ad8f7b3e8f59894a09892aeb78118f5ed93aa4593eece782c1879a4f3c37d9d63e8d40ad4b2e6a2e286e0da39f45cd4ed46181a1a05c078a59134114b2456a03
DIST qtkeychain-0.13.0.tar.gz 43404 BLAKE2B 9fdeba4856d95f4d5fd69e5ea33b035dea19d0bc537f4d3d5a9219627dfb8293efe4e21a024fd41468f85025da26822a0fcefc9f2996839ed195e78316adae7f SHA512 5454c67d492c6fe2cec615ff6bd300d17cba574c4c5fc1e0f3a80229a16cac2d224b9ff3f4ea2e13320fd5350366d031338ffe5da0ca41fe84d321894fb8a6aa

@ -20,9 +20,6 @@ LICENSE="BSD-2"
SLOT="0/1"
IUSE="gnome-keyring"
BDEPEND="
dev-qt/linguist-tools:5
"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtdbus:5
@ -32,6 +29,9 @@ DEPEND="
)
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-qt/linguist-tools:5
"
DOCS=( ChangeLog ReadMe.md )

Binary file not shown.

@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"

Binary file not shown.

@ -1,3 +1,4 @@
DIST labltk-8.06.10-warnings.patch.bz2 4194 BLAKE2B 106e70dac1601a831a46a21a4013f70d2b9e17f910b8c09fc2c976840cd2e4d29dbc9be50cd7efa469d50be984cae82b56783a4e8d9a0bfa308d1d4466e44039 SHA512 eeea791a4e901335f6e010983da85d72e0a6f9fe24ab84bff5c0e46af941a5bb39995ad4d475894855ecb75d5ce26c1280a74d059e845301b30f6a386b2338f8
DIST labltk-8.06.10.tar.gz 371871 BLAKE2B da67b13aa0a0c179c2fcefe6b03f68225b6e886a1233de77b9749be32b8efc845cac60244f9a8494241c8c77c7d6991786280c274becb70f5527ad891c3aac69 SHA512 ef797d21adac48ca5ed35d95ad05fee26f9b6c99b0510909f6087abb9580b8efd219ca65b1efddb170b5409567d83eaaac0473898f5f4db3e15ae4f39df364c8
DIST labltk-8.06.11.tar.gz 372194 BLAKE2B ea81662201f6166cd6fb46fe1681ffdab94703dd3e338244079ad2c67df421969618d7fb2ba2b9b5eadb732eeb927c3de03f19fb5b3621c1461924aeb2f347d5 SHA512 a4ad5fa31cbc89066445bc71a0c1c016f7e299b6bf88a5f77d559c805bc78d90651988658c8a300770ca41514ad73272691feaa84179637fcc695c96bbf25dd6
DIST labltk-8.06.7.tar.gz 370870 BLAKE2B 2d836c824d9adbd4f03d0e7e81faa51669837eecb4f94f6c89c657966774fe7d6ed928459be3ccca7fd3e7cf67a54ee63f7d2d08dcc8b7e853f5ad64769b33a2 SHA512 3c7352d14bc337adfb1939e72bd2658bb5e60b463f10f3748779084d1b7a6e6225028c775b548e355d69984a8944b91580fa978ff904b20b8b762ba9046f5e7d

@ -8,6 +8,7 @@ inherit findlib
DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework"
HOMEPAGE="https://garrigue.github.io/labltk/"
SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-warnings.patch.bz2"
LICENSE="QPL-1.0 LGPL-2"
SLOT="0/${PV}"
@ -22,6 +23,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/findlib.patch"
"${WORKDIR}"/${P}-warnings.patch
)
src_prepare() {

@ -15,7 +15,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-li
IUSE="+ocamlopt X"
RDEPEND="dev-lang/tk:=
>=dev-lang/ocaml-4.11:=[ocamlopt?,X(+)?]"
>=dev-lang/ocaml-4.13:=[ocamlopt?,X(+)?]"
DEPEND="${RDEPEND}
dev-ml/findlib
"

@ -0,0 +1 @@
DIST luv-0.5.10.tar.gz 805333 BLAKE2B 23edd2bc870a2886e560d330d9a20b205a77ea7bc8ed631e00e43819474eeb75246b407113b59ed9c5f74462ad5f721338ac5a157a1fe0e443abf9ff88771089 SHA512 c50a0def366944b4ef6038503ecefe75d8e45f542311198531f01a355675c08b00370480141b455616429a883c3232d34628e6a67846db5864a1b0eabfe6311f

@ -0,0 +1,19 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="Binding to libuv: cross-platform asynchronous I/O"
SRC_URI="https://github.com/aantron/${PN}/releases/download/${PV}/${P}.tar.gz"
HOMEPAGE="https://github.com/aantron/luv"
SLOT="0/${PV}"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+ocamlopt"
RDEPEND="dev-ml/ocaml-ctypes"
DEPEND="${RDEPEND}"
BDEPEND=""

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>ML</name>
</maintainer>
<upstream>
<remote-id type="github">aantron/luv</remote-id>
</upstream>
</pkgmetadata>

@ -1 +1,2 @@
DIST lwt-5.3.0.tar.gz 298152 BLAKE2B a39494bf98fcca07bf4601a742f4bfdc1ea2a67e2babbab650c41d2df58296a859520509ddc080af9c4d55be76439b401174720765fb942586d7c866f80cc538 SHA512 9922c19944595b0c07da8e1bbdecb2cc7c5a7edcdc2224215efb819d9c735da8986388a2446bd0762e28533f5d9d386970f07a4f1b0d14255c6743f3a1d16cb6
DIST lwt-5.4.2.tar.gz 304541 BLAKE2B d474b20538af382c6f64072da2caa25e285f431c9b161c9796a44d1c84475f72e50d81baccb22ae908f82594c9dcaac6a874f54fe6332de2550128774d1280fc SHA512 9f46fb2e56dc7bd57a12d5ab4dc68719947a1462f336087a95e991d087bb9b5b8dee2592d0f7d35abc507d9a641dd221c44c949c81d00e26c673a067d94ba3f4

@ -0,0 +1,27 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="Cooperative light-weight thread library for OCaml"
SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="http://ocsigen.org/lwt"
SLOT="0/${PV}"
LICENSE="LGPL-2.1-with-linking-exception"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+ocamlopt"
DEPEND="
dev-ml/result:=
dev-ml/ocplib-endian:=
dev-ml/ppxlib:=
dev-ml/react:=
dev-ml/luv:=
dev-libs/libev"
RDEPEND="${DEPEND}"
BDEPEND="
dev-ml/cppo
dev-ml/findlib"

@ -1,2 +1,3 @@
DIST menhir-20190924.tar.gz 2491000 BLAKE2B 463825aa0f3ea41e49d9c130226bc8bbfc2b96650debf8d79422a90b93338ead58e01aa0c34b2161e4383d1c9a8d77ab58bb1da78e3187ed60b02e13f7742844 SHA512 8036eb8a65f123ceadd21739d88dafca54a2338fc168922a1301a9fbe709ac5e8e7214d95d8114f3798c15f458822e64dcedb94f7fff18ab6f9ccfb6de462e46
DIST menhir-20210419.tar.gz 1136536 BLAKE2B 9d95600221aca25983674fa736c35ac0c5f2809a8aade5f9163a7b8baaacc660c03376b52749ae1d75d0d35ad8f4710d7f43832ef5ee0283fce7f7a41f15c120 SHA512 cca9037586635a6603531629671cc1448d65deb47c66654928d34c9163c4b501901428afc95eb0efdfc7f010d2efa176385420d9296d59b840176e07b8bf0fce
DIST menhir-20211012.tar.gz 1154256 BLAKE2B 3bf94c532d06beed2a9e901f0a9f244f1693c8a42c04e604e4a1dcfd53de8dc90af4a49c9a6fd431bd20882c18e6f29e470b41eed2021da5f477c160e8d45bb2 SHA512 e967d01a8e241413461b4e3301b808b014ba6e7c56c62efae57a23482cf1c59b490f8ae810c67927085252e5a83454af5d73651f50637f493d6970c7452d6213

@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="LR(1) parser generator for the OCaml language"
HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/"
SRC_URI="https://gitlab.inria.fr/fpottier/${PN}/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
src_install() {
dune_src_install menhir
dune_src_install menhirLib
dune_src_install menhirSdk
}

Binary file not shown.

@ -1 +1,2 @@
DIST certifi-shim-10001.tar.gz 4061 BLAKE2B 183c573b958921877b14e38e9e26842e8a4f1c1617979a30b65ef1e2bbf001e5ff0aab830e4399906a7d21fb3c71ac12b1e757e4d283aae16cced8e7de7c2a1d SHA512 93beea61e579b2b414bd37c63eba49365e0a1a62304e0c7ac920bedaf5d72cb095a4a46b2240b3c2e6ee31e5b91cd520ae8348b6a8033212d11bbca31db6750c
DIST certifi-system-store-3021.3.16.tar.gz 13784 BLAKE2B c0c2322fe298d363c4ef4dada2c0db8837bf7a32d86a7b54a1b45bb3dd3c99d732b2612f25495f4a59d9692f896e2b962e7057fa5fec9998724476db48f90c2a SHA512 44953ed8a3deb5fa4aff3f74afa557219e042acea395e9cdebfd26fd43ce0bdeca07c6b6dfe91977f88852e7674b94337b93c4d78fd2da6f47a6187fa46d6668

@ -5,11 +5,11 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_{7..10} pypy3 )
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
MY_P=certifi-shim-${PV}
MY_P=certifi-shim-10001
DESCRIPTION="Thin replacement for certifi using system certificate store"
HOMEPAGE="
https://github.com/mgorny/certifi-shim/

@ -0,0 +1,55 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
EAPI=7
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
MY_P=certifi-system-store-${PV}
DESCRIPTION="A certifi hack to use system trust store on Linux/FreeBSD"
HOMEPAGE="
https://github.com/tiran/certifi-system-store/
https://pypi.org/project/certifi-system-store/"
SRC_URI="
https://github.com/tiran/certifi-system-store/archive/v${PV}.tar.gz
-> ${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
RDEPEND="app-misc/ca-certificates"
distutils_enable_tests --install pytest
EPYTEST_IGNORE=(
# requires Internet
tests/test_requests.py
)
src_prepare() {
sed -i -e "s^/etc^${EPREFIX}/etc^" src/certifi/core.py || die
distutils-r1_src_prepare
}
symlink_info() {
pushd "${1}" >/dev/null || die
local egginfo=( certifi_system_store*.egg-info )
[[ -d ${egginfo} ]] || die
ln -v -s "${egginfo}" "${egginfo/_system_store}" || die
popd >/dev/null || die
}
python_test() {
distutils_install_for_testing
symlink_info "${TEST_DIR}"/lib
epytest
}
python_install() {
distutils-r1_python_install
symlink_info "${D}$(python_get_sitedir)"
}

@ -7,6 +7,7 @@
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">certifi</remote-id>
<remote-id type="github">tiran/certifi-system-store</remote-id>
<remote-id type="pypi">certifi-system-store</remote-id>
</upstream>
</pkgmetadata>

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

Loading…
Cancel
Save