parent
690e426256
commit
1b921f2e09
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29618 BLAKE2B 1de539449d50aa0263569adb67502c812aa7a60d7f10a2301460b5b1a1d89d5deade44147a9bb5cc0cf142ca31238fdf98d88107f1bf62b60ca5dee6e4cc71e4 SHA512 919e7b19c36565e387ec93c6914b9e7f920c22681ff971d2da31e5df4f6a6c84e001f3de862333d65d187734504403de865cfecbee50d1850c3f017e406d9b0a
|
||||
TIMESTAMP 2022-04-05T07:09:14Z
|
||||
MANIFEST Manifest.files.gz 29645 BLAKE2B 398b4bd2999b87b6694a962aea63e04ca8c3dada5b9b6f88d12d586aa22dfa76ce45ca557b4ae32686466df7d5a67890854e53d2e726998b47c6a40139a4e06e SHA512 86b4525f80b3504b5a0918d33c79ef0411dbaab69ebcf2e87e5c1a19e0b864f98e7aefd1c5246e63ed51fe2cae66011b708e49db291a032b31b55c5160e6c30e
|
||||
TIMESTAMP 2022-04-06T09:39:11Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJL6xpfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmJNX79fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDOCxAAklCbWrOCT+9gh47DZcvEphaQ6kA7rEEWJyO4vAZOt9+NA2sikDHtpVly
|
||||
4pvJFxy1C9dILALo668GpeIkohFzGtww9iSC8sS4rB4zACMqyAL/FkwQ6cRu7CdT
|
||||
oQEyOQjTAgvoi3sXMQ/Xjk3tp1r4+lpN4FfttYwEPxnzazr9yx0EH9+mVXMrR5LT
|
||||
cOgZ13ABuiMFIGaoo+7cenIa9HwTwGp5UtQfH1r/mUdWtuxP31rcntJDH6Q7Bl/l
|
||||
t8O7rJM4T2H2Vd/gPVi0jocFtexUtUpFlN1p/QYJu/TatNF2IdIVaKR2N83PS8Vn
|
||||
limk9/8XEppv04LyhZfQ1lf2xhrseqbXNGtmQQxtVJDPYYX7RNBp/uRJpJL7hmpO
|
||||
HuMAg2sv8nV2JzAnwJC+zPTf3BGsdgNvNUtlxCLbUYWcWACUk1++D5miTgpl1QhP
|
||||
XC92UThLs8h9U9VKc0sO1PAsl6gQ5i8Du/H76Wizpar3yrtiYam0VI4dH2fo5qgU
|
||||
v7ZdDzYuJtjIC5jzR+LxlSrsvCdmb8+kgZLREftYm0Cy0ELU23JozGzdzTaapdre
|
||||
AhipT9934w8WpteyDyVE/kdLFBRTf+HR0SXw3HnsImDdGWq5mR8XytW8irvCGq0c
|
||||
7TII0FyocJ/gxeM7ABuGB2G/G0MRDq4gLpAk68jchqaWz7ICP4g=
|
||||
=LCGj
|
||||
klB1hg/+I3QJs9Q9p2PLAvx75bM8rzU8VrNfSFajr2MrzeoJPuRqqzGfgVvaEDY7
|
||||
bUg0kLtnqJQpbcWUORcUF0PzDF0+0I3lBPgvkIQe7ZP1GqerLNtvH4hLZYDy6Yoc
|
||||
+4YDIMPClCPMs8LaIM8zH2OHjMYhAc7eYExc9/w1rG00U09yaTz27TfrC1lpnFEM
|
||||
2DRcOUVATvZi6ALXd6lKjE6U0WOZcisfI/Bb18VXWXMCQXL094gwEVc893uPgKkd
|
||||
TS+xQ671MsnW6Po2j2plpaM4Wd5Sh80YS27DkIO+uIG/WwNZd5zwuRqrfd75T6Td
|
||||
/dFu39kSXE7pB5geH/zf9yLlvZhXiAb+awhNV5J2Gs8LKIbNnpuO7gAW5m73OtlE
|
||||
hh3e3TRqF+1bS2P5/bnFjMdNJ5DQaDFr80K6ZrRcFKSIfcs2Lbh61QpWFvEGsuED
|
||||
J9NgiaPGzCn950hn8wbBL43BHhJxceBsW2b5OBuxz6bfJaViD2HMghecIPkhdaWC
|
||||
vTWJtD6E5y/c8fDst2N8VvIOeL/CulYMYwB63Tw7FpiWdfLEkRcqF6GgUdG5yudb
|
||||
hvG3kAWz1LV/M56sBmktk5A8cGquv02PgDxWrLzKbJqklnP3JuvBarBYBAIyAhPi
|
||||
EOPU1xcDOKKV0zrV++sGpeebs05VvXdFAYokrpT3B5r7HauTMSU=
|
||||
=F7K8
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD rrdcached-0.ebuild 153 BLAKE2B 312149733bf32026cb4208224efde19970ebe38256d2b47a176525275823dae8bdf00b2d839d8fa12fa9777dd9461e1cec0a97995c9906c51be3fde76a01b9eb SHA512 4b23d3518ab872e4423cfb20edc001da3cdde7ac53f359f9431f242819df9eca8904fb15ca5f76278b471a0f262e34da032120e661d7a8d1dc49d565eb33e28d
|
||||
MISC metadata.xml 392 BLAKE2B 96d11acefa9a7cf18f9240f08a5b1c36e769f4e7000632301d3f763169fd15e20fbf3adac95e2e0463d3184ea4baf9792b0f061c95a6b79d3f95da03dfb3fb6c SHA512 c88eb6c28199d5baae394310b0ebcd6ebc186642d4700735eb1f712b176a7750acacf2c8d5a417d2c716bc43d0cdf5f3e11ceec1895f84dd1ea4f0186e3183e2
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>netmon@gentoo.org</email>
|
||||
<name>Gentoo network monitoring and analysis project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID="511"
|
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD rrdcached-0.ebuild 287 BLAKE2B 3ef91d2abbe81b891b8aa43edf1d1a35206bae202589bf04f62cc9e9fe65572a88c72fb926b734cb8903663eaa0485f504e0d586fdcd141fb97b5a4f4e8f60df SHA512 846212aad42255a707a17ea4f917e5ce25d4f2099c9f752dc761d736215fcbd1c1914d9fb3eb9cb93e993e375a531a93f1824caa560fffa348fa5806c8cd4c54
|
||||
MISC metadata.xml 392 BLAKE2B 96d11acefa9a7cf18f9240f08a5b1c36e769f4e7000632301d3f763169fd15e20fbf3adac95e2e0463d3184ea4baf9792b0f061c95a6b79d3f95da03dfb3fb6c SHA512 c88eb6c28199d5baae394310b0ebcd6ebc186642d4700735eb1f712b176a7750acacf2c8d5a417d2c716bc43d0cdf5f3e11ceec1895f84dd1ea4f0186e3183e2
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>netmon@gentoo.org</email>
|
||||
<name>Gentoo network monitoring and analysis project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="A user for net-analyzer/rrdtool"
|
||||
|
||||
ACCT_USER_HOME="/var/lib/rrdcached"
|
||||
ACCT_USER_ID="511"
|
||||
ACCT_USER_GROUPS=( "rrdcached" )
|
||||
|
||||
acct-user_add_deps
|
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# awscli 1.22.55 → botocore 1.24.0
|
||||
# so botocore is x.(y+2).(z-55)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# awscli 1.22.55 → botocore 1.24.0
|
||||
# so botocore is x.(y+2).(z-55)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST exo-1.52.0.tar.gz 5593768 BLAKE2B e1299a57bfe06050d06d735a6d351a3d913260e0b5fc0183ac9a4cd53ba0d50a39e3e5d796484dcc560d6b8c68ab32420da3d269c48a0a4c6b251b9469fa1950 SHA512 6e18204c9485ce538448a8f000b3c9eea58ae35141cdfed4f9a1671567a58965b907e18efa62524de62d111c5fe0a24ea7b196d20fce5d17ecb9c60fcb757b80
|
||||
EBUILD exo-1.52.0.ebuild 703 BLAKE2B fbee615ad22bcdc4efdce1344136056d3366c31ff1240c3c86b1fff39787b18f99f896d455ebde5cc4c2bee05e28cbaf216d1ab973b5f100d4a9957c8989ee65 SHA512 21b1e8bb20a9db8f635374ff64e9724679188cd356f975818e2390d3f369f2ff8886710d9c202cb4e72df39ba900948a392c6da296f95dc18344492d86e56d98
|
||||
DIST exo-1.52.1.tar.gz 5594576 BLAKE2B c8cd5011014b9eee899afe7cdd1d45708be221d33772c858c5fb4d62ece0ecec3cdef0aa106c9ce2b0604cb9735cc17674f65274f88becb6c6f7eaaf2643d29f SHA512 25612b8dfd1ce55a1860f75357977ca8cccd0b24860eb091a203c84895c449b59ee5788e6a9e71168cf1927d3d6584cd5f379a3e32565215dcc1ea7210d38714
|
||||
EBUILD exo-1.52.1.ebuild 703 BLAKE2B fbee615ad22bcdc4efdce1344136056d3366c31ff1240c3c86b1fff39787b18f99f896d455ebde5cc4c2bee05e28cbaf216d1ab973b5f100d4a9957c8989ee65 SHA512 21b1e8bb20a9db8f635374ff64e9724679188cd356f975818e2390d3f369f2ff8886710d9c202cb4e72df39ba900948a392c6da296f95dc18344492d86e56d98
|
||||
MISC metadata.xml 334 BLAKE2B 230d1a47a3e39f796c16a9e9a622fbc27560c951da0c49adf7aca135970c0c944f42da7eb624c7193d44830c72cf95da9d69d977562853de6a00fd8fb6408977 SHA512 cd1366d99abc260c6f2899000e2a517be9a4c43e921078764fdc996871df34c1827e512087c3eb6f95bf3b685c2f34cbc1f1462eaa303a948640a362b4501b01
|
||||
|
@ -1,7 +1,9 @@
|
||||
DIST keepassxc-2.6.6-src.tar.xz 7640532 BLAKE2B ed55dfe992c02e78354d7aeb9f63853380dbcdec0e834232997cb6f5ecc303ff18ed50dcc48f54497031d6fc8b741c620202e78c3eacbe50d4dcfa7e4d59a92c SHA512 175702ef3ae5b048ba23a794ddf4e17d61f2640955de7ec21a3e49e4abe7cab8c93c9a2bc61c5c052c62382a69bd8dcb4a4f0cf6daa162f5e00cff3f7a1a713b
|
||||
DIST keepassxc-2.7.0-src.tar.xz 8846780 BLAKE2B 74c4e9c6d06239950f1b8a64c5bce894799fdd73a562ee22d1189c60dedfff3555132c0619488e0682e94de8759e096627520b96d664f472645e4b6375d68ff9 SHA512 0fc436ae5fb8fb82765a0c2df20c9567b1baf6aceff1e08c843a151ddcc0920d4cb2d416aebd89bdd8f1b53efb0a4ad0f579955c6943ee66c20b0becbb978e12
|
||||
DIST keepassxc-2.7.1.tar.gz 11168642 BLAKE2B 4708821c596e8fc736e086a700d5526be6d9c4cfcb270e3a0a8b73395e9ca3544cbb5973494b15d66e0b98264f4e79d9fa122961407211d346275a9aa1bd5cae SHA512 c2f780ba1f464b32f741d1c6e83734ff220de56dce382f3c38d940abf255d689559c13bff6ad565c38c18cfdb1d883aca52650dba0486e3e28bb4ef872253cc9
|
||||
EBUILD keepassxc-2.6.6.ebuild 2310 BLAKE2B befacb8a5edf657b7dc182b4c1b5580a30e037342d590df9ba4450d2344c0a208ba09b59047880638cbc8c68f4bdd5653cfba873e6682949f967c40d545952fd SHA512 6f5d85aa92508284a335374c4b4c190104e4e70c4c4c228f7015e0c15efdb28931f2d97748ed30edd7fc09d65a0017cef2cb5bd28731cc3cace80dfc2b01db4f
|
||||
EBUILD keepassxc-2.6.9999.ebuild 2414 BLAKE2B d25231ddef6df71cf2574b46b8c902ba89ad046144a26d011dd3c26ba5061b5e474f80e00d0370fc04bc86e448a377c4dfd1f99535b6e29894b7d951e4a8ed53 SHA512 f3accbf2750712fb4302e7fbd792680b3d3a7094975a56e10bdc205089e8d90520cbc9b29b1cab82196abff1ccd94101d7f49f7ba49ea6ab7cef1fb74b091a33
|
||||
EBUILD keepassxc-2.7.0-r2.ebuild 2293 BLAKE2B 9b3113b9b01b59fe34924092539d07db46dbe709b626ed3d3e180810c5e8ed3773fd1fc0c58e51566e1f08f766db97050d4a72423f56fff903351a8456b97142 SHA512 ccb17de9ddfe5b08fb968720c862c915b4edd594aedb8c4e1a8de1f5e9faf00583e643dd0d9e90706931d76e821c7a2c889188d3a08263940cee91e5a1060d0d
|
||||
EBUILD keepassxc-2.7.1.ebuild 2293 BLAKE2B 7943b14df4b39ef9fce69f0f7a3f750bfa08f9528cb211efa02c627d04a82188d50c41954d1a67bd4b7a1b2807498860dc7ecf63192c6ba58e099de711bdbfa3 SHA512 254486509b30c1e3ac4926ac4d14986b846131d623c55cbf49ec819f4c5f24f349a718d5c779491aac71a196b2a208dfd4376f7d96a7ecce5a43f8355b2f9edc
|
||||
EBUILD keepassxc-9999.ebuild 2293 BLAKE2B 9b3113b9b01b59fe34924092539d07db46dbe709b626ed3d3e180810c5e8ed3773fd1fc0c58e51566e1f08f766db97050d4a72423f56fff903351a8456b97142 SHA512 ccb17de9ddfe5b08fb968720c862c915b4edd594aedb8c4e1a8de1f5e9faf00583e643dd0d9e90706931d76e821c7a2c889188d3a08263940cee91e5a1060d0d
|
||||
MISC metadata.xml 1042 BLAKE2B 2fd425f8c61e45707a1f1c18a3ee5db9b902eaeb347ced5302495d92e82495fa5f87d73400ee849e5b97302d02faeeeb91f403646132c5e8b0206af04385af56 SHA512 d59770092ee152198e217f12207a257a58cfc5dd794170bbd8fb7f3ad6ed644714285874ecd70c77389bba95f4587e70dbb2a120067631d33acebb75f3f2f352
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://keepassxc.org"
|
||||
|
||||
if [[ "${PV}" != *9999 ]] ; then
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
else
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
#SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
[[ "${PV}" != 9999 ]] && EGIT_BRANCH="master"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype browser ccache doc keeshare +network test yubikey"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/argon2:=
|
||||
dev-libs/botan:2
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
media-gfx/qrencode:=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:=
|
||||
autotype? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
)
|
||||
keeshare? ( sys-libs/zlib:=[minizip] )
|
||||
yubikey? (
|
||||
dev-libs/libusb:1
|
||||
sys-apps/pcsc-lite
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qttest:5
|
||||
"
|
||||
BDEPEND="
|
||||
ccache? ( dev-util/ccache )
|
||||
doc? ( dev-ruby/asciidoctor )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV}" != *_beta* ]] && [[ "${PV}" != *9999 ]] && [[ ! -f .version ]] ; then
|
||||
printf '%s' "${PV}" > .version || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/keepassxreboot/keepassxc/issues/5801
|
||||
filter-flags -flto*
|
||||
|
||||
local mycmakeargs=(
|
||||
-DWITH_CCACHE="$(usex ccache)"
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_DOCS="$(usex doc)"
|
||||
-DWITH_XC_BROWSER="$(usex browser)"
|
||||
-DWITH_XC_FDOSECRETS=ON
|
||||
-DWITH_XC_KEESHARE="$(usex keeshare)"
|
||||
-DWITH_XC_NETWORKING="$(usex network)"
|
||||
-DWITH_XC_SSHAGENT=ON
|
||||
-DWITH_XC_UPDATECHECK=OFF
|
||||
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" )
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
DIST buildah-1.23.1.tar.gz 11872323 BLAKE2B 6e4cffd11177bca6c3e86cd3372fc7bf295b23559b7478a679ea2bea022c149b5ea058224f0a156df1b9511905795c44ed5e988ec68ca834dd80d0c198543d5f SHA512 2ceb6df5adb671483557bb03937df583857d99c116be5d44aae533c155f560d5d454bebf25908ac02bb85e4c2ba31533adb99f0946ecc4f4830977c14f324b6f
|
||||
DIST buildah-1.24.2.tar.gz 14184511 BLAKE2B ad9ee6f332a89038368d9a5d86198f1dfa9cf99a970e85ccf3b272294fc262c68c37004131971b0ec148e999e4d8f192f4955e71673f05188110407949eb3546 SHA512 dada2b65340386355aba3980c38d9be0f43d5c3f9316c6f8e713f299ee2b975e409c1b3a785daa52b59e688c3a9c9016c43d9b0a6443d4a9453aababc0a8afa0
|
||||
DIST buildah-1.24.3.tar.gz 14189867 BLAKE2B 18b6eaf0ba54c310c8b946e4763f3b930ff4e0bfd85333767b8baa3320df1f43937d4742404d11de51c6386a12521e3045770d1d19406c163accd9cccc500961 SHA512 74fa6073ddf6b641700f758435d4558fc2d61691172107572dfac3d723f986aa0faf7bb5b5d1e2bd6bed5d118cbed3c78b6faf96972770b304fa28fd363b4700
|
||||
DIST buildah-1.25.1.tar.gz 14212065 BLAKE2B ec4f668654011f1b93745e1a1d575fdda0cd5f4d6f9f7f7b3106c24aa7d405951ecd645a54c2dd5a3ad2695069e66ad847bdb15f0e73a9c7efba2a7e283d4f58 SHA512 628f8095eb4488ae2be06a2a92de85dde4f3841e8ed9882132c119f27b0c93f26ba10f5dd259d63654b90539d762f6c1973d460f073c0b2450ac5d9582a6a68d
|
||||
EBUILD buildah-1.23.1-r1.ebuild 1196 BLAKE2B afd094d8fbefb9622704992892b8b0050fddae3d01e44275cd26f4d927f5c146cc577f8c374d7594083445ba581f7ef557660160725a977276e96ce5ed2f9006 SHA512 bdb5a798fc980be7e8d0c464784b48279af59b80a19a878f7134bb5344c8c807e5e16032f39a6d236ac653039cbf001fe40f64c9f4d2c26ea6ed7fed4805a588
|
||||
EBUILD buildah-1.24.2.ebuild 1198 BLAKE2B feaf84c0d34c256dc99cf2e836bde1c49ec4f719ada774763f529f0102ee77d8fe672375ea8d974788bd29ccb06925125aa5a7d818dad827e42c3e501e2f1f92 SHA512 891c06d40cacf7ba614b8de98cb887de6a10d7955b78569f5b96dbfae9de99b3c46221b47933f3364ae1a70f110e6a8aed4f08a8137856785233f55ce6e5cf8f
|
||||
EBUILD buildah-1.24.3.ebuild 1198 BLAKE2B 033bb57ef386ee7ca4cfc600eed3129edf00ede613da8bac92fcd428ebe02a36c286e83344e46f06352515ec591979015a605a06343521695d6f1089c6fec9d8 SHA512 63f6bf6c1a4da92404537bc6191deed663c29928105f39234f30d4f6816bbed355774c87fca055c03650c69ba38ba4a00702c1820552cf883b645b4af7d2ec15
|
||||
EBUILD buildah-1.25.1.ebuild 1198 BLAKE2B c44a8369b62c9ee4f24b86a295331092af25c967b01434b8cdabe90b9c1322f754997aabecf73f0b0ab9223eea94fd8f0c8cc0263a0c8ac749ab1b52bba61f78 SHA512 0be1bc3f2d94b644ab0c975f878649256915fc0ae14a0b980f13d035b9f103d6de0cb91d7b2fbe309156b96703c19365244f718bb76522b22720d69d3222ff91
|
||||
MISC metadata.xml 328 BLAKE2B 55d2d2b5cc972b7e6b6fb77d14e79e304adcbc7056ff351f5ee3cac6cf5f83b4ef2a10c70754d1d30a5ecd88e652abc07cddd8005c3767e7f709c0c5cb61d068 SHA512 7520f5745909da195d4bfdd750e4c716c461a3789adfde56dd9be46b91dfb789653d642c0958b5a2950eea220cc00143bfcd5db402fcc2578c8fe5f8ff69275f
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit bash-completion-r1 go-module
|
||||
GIT_COMMIT=fcf94e39
|
||||
|
||||
DESCRIPTION="A tool that facilitates building OCI images"
|
||||
HOMEPAGE="https://github.com/containers/buildah"
|
||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="app-crypt/gpgme:=
|
||||
app-containers/skopeo
|
||||
dev-libs/libgpg-error:=
|
||||
dev-libs/libassuan:=
|
||||
sys-apps/shadow:=
|
||||
sys-fs/lvm2:=
|
||||
sys-libs/libseccomp:=
|
||||
selinux? ( sys-libs/libselinux:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ -f selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
selinux_tag.sh || die; }
|
||||
sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GIT_COMMIT=${GIT_COMMIT} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
|
||||
doman docs/*.1
|
||||
dodoc -r docs/tutorials
|
||||
dobin bin/{${PN},imgtype}
|
||||
dobashcomp contrib/completions/bash/buildah
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test-unit
|
||||
}
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX 50emacs-jabber-gentoo.el 206 BLAKE2B c94ea17b7cab171249f24a873af06ef38b586a25870a27557255902a072b5d0995e14141f7d6a9648d9ba5bbe3e7887a319de67ba2429c9b840b6d2d5b29c8e4 SHA512 44c94b318b547689788c60d41ceb8b93ffbb479099fe94933636a9a91505abaf62bfcbddb145d34cb509d35dec3c0f62b2dafc91477a723ce6585a69f45a9cb5
|
||||
AUX emacs-jabber-0.8.92-emacs-28.patch 942 BLAKE2B 5c3327422ac06cac61f99a032e0795bb6d506938bb280e5b41ec9ac937286b1ae23a508271e6716913ff484d985d6459b821f7029c770c7a75066dd7d977f7ec SHA512 b66a91e872b78e4cb4b3f27d6eedb8a234c5a95fc4a270d76ff54831d8fa6dc5a9122f06084ca1a1f1fb5d1e5b7aa131031f94d8260771b32288a8b69fddaf6b
|
||||
DIST emacs-jabber-0.8.92.tar.xz 293948 BLAKE2B 0de6eacb0ae1487a080a241e9ef4c38a98d96647773b7d35857e958e06f35906963947f7de836d2ea80a1935f96ccbc79de83ab88ce307085017ba229679f0f0 SHA512 30cfb5e420914e411bfbbc0c4f1b7fb78190bee6aea61fad0f9b426e0138608f327626da6ff792fc443c58b7d3b70dc3f6291ca4e1a16965fa1283f91afe8882
|
||||
EBUILD emacs-jabber-0.8.92.ebuild 516 BLAKE2B 9e64081a7fed8fb6d53178014529f521a94f9ca7e1dfdf6f840494eb55c8a1c6a555d01a82eb020a560456ef10012f8ccfdb1f505fc9f9f5d4947c2f3ab868ff SHA512 fa49293f0ab87390ebcb43766800b9e966221a368b65aabe42ea33a2582bbd5938ca40984554d2c48d613c82c41906480022ea728d6f68599289a27914362abc
|
||||
EBUILD emacs-jabber-0.8.92.ebuild 562 BLAKE2B 3c4016d912ccbbfaa1c5ff6cfba07895659a7b1642c186a3784913afaf7cb4dfb8fc1edbcadfb3cddcd573d247a947529b83e50360f8f6e81bc2ea60b4544d75 SHA512 14c0c76220b4c1c6f1727e1f9d7bc98374f4229c0de7b8e8d36b23688eba1f1ba80c75451e3b9306a12982e9fa60d95914df776c72661389b261548c36599daa
|
||||
MISC metadata.xml 363 BLAKE2B d7b0a56bf9d4ae4eeed84fd0d464644c1d3cb04abea3f4b39273f3d22793a60b7e3d8e21a2e02b7bc454b6a3cf939300a598ebee1cc28d040141a64cf94cb521 SHA512 a6f4b7d9ec08ba628640cea1c990730a0332a9ee6197466b3db16bb761f9866d814c0b264c997ec0423b71e16ef68ee3a50ff00f4b565dcb0324436b27791a41
|
||||
|
@ -0,0 +1,24 @@
|
||||
https://bugs.gentoo.org/836817
|
||||
|
||||
--- emacs-jabber-0.8.92/jabber-menu.el
|
||||
+++ emacs-jabber-0.8.92/jabber-menu.el
|
||||
@@ -100,7 +100,7 @@
|
||||
(interactive "P")
|
||||
(setq jabber-display-menu (if remove nil t))
|
||||
(force-mode-line-update))
|
||||
-(make-obsolete 'jabber-menu "set the variable `jabber-display-menu' instead.")
|
||||
+(make-obsolete 'jabber-menu 'jabber-display-menu "")
|
||||
|
||||
;; This used to be:
|
||||
;; (define-key-after global-map [menu-bar jabber-menu] ...)
|
||||
--- emacs-jabber-0.8.92/jabber-roster.el
|
||||
+++ emacs-jabber-0.8.92/jabber-roster.el
|
||||
@@ -816,7 +816,7 @@
|
||||
(defalias 'jabber-presence-update-roster 'ignore)
|
||||
;;jabber-presence-update-roster is not needed anymore.
|
||||
;;Its work is done in `jabber-process-presence'."
|
||||
-(make-obsolete 'jabber-presence-update-roster 'ignore)
|
||||
+(make-obsolete 'jabber-presence-update-roster 'ignore "")
|
||||
|
||||
(defun jabber-next-property (&optional prev)
|
||||
"Return position of next property appearence or nil if there is none.
|
@ -1,7 +1,9 @@
|
||||
AUX 50gnuserv-gentoo.el 237 BLAKE2B 53e2fb102e832b852ebd23d3a7cda10a1cde7e1733818dd357edaa0ba67e66d925ea589195dd5b797ba37e62f44e26706669594f875409fb6afb294bba05d549 SHA512 24edf596178da29d68add510382241bf257ccb6ed0f9bd1aa65a2bda268b2fa506be616f70c75628d82cc8fda06617f5a4b58e602a9dc082476ac4ad4f0e047d
|
||||
AUX gnuclient.desktop 608 BLAKE2B b50695688d76ec34dae2fb68b4865769ab531a2a5add76a48c71eac6542ea3736f6e2239f1b05775e88bee3bc2ccfc6e50bc0c49a6eacbb277d822bb2cfb3003 SHA512 35616b5fe182f4127635454f4af89b307c0c52653878ef163efee4741c4b5fe5ab88d78f89ebfe499cc02516d2a7093c49dc2232a2768e952acd61651ff16468
|
||||
AUX gnuserv-3.12.8-backquotes.patch 509 BLAKE2B 4770c01e4650301d1922b2c87e5cd723feb016fb5d5224aec715761a81b4f66614c7a535101764432a80c26f8e9c13d2fc3cbd1ab8122b5e608d3aeea3de73b3 SHA512 9ccdf8b4fe0ce45528ecec67782785b5d1ec82e5fd14d444b3f091d9c76add8052de3384e0b54fff479f4bc5729966ce520e62343159a7e251fce1e3841b5229
|
||||
AUX gnuserv-3.12.8-emacs-28.patch 1300 BLAKE2B b74b904b37af0460682d6c7c5b0b0d79ec41feb646f69bbe38c0db2698d3e8d133b56eb831c6149b0f22725ef5f85c2b27d60100b18ce5c62ce30ec18a928403 SHA512 1cf554a682254ea8c84b8e81e76a2cb08cee18e3b919a9889b745ea97234aad4e3e0099e48fd13a57b881cb2d17a495e59a42d8fbda30d94b2391d0d11ae2ba5
|
||||
AUX gnuserv-3.12.8-gnudoit.patch 374 BLAKE2B 9c39f3fd1b881e4a2b4dde712b56824e99da89140d17b5a3996e35eb5d7c0a9d47933e041834c0249010c4932a69633aa93a38ce16bdd3158f52f22549f9db2f SHA512 ba3be5bee1bd23363dc41d77a45028497e1a4a8270358bf4c6eacacaca85e5b52717991885f8d4bb754c613f535d4934d0e199ccd088f78f15bcf78beaa524bd
|
||||
AUX gnuserv-3.12.8-process-query.patch 554 BLAKE2B 94f09a1e86ea787a05e51ed5e2742174067b7cca0fbe2fe83619b6f829048172a9e46f70f8e2c22f2787f43390730f07520553e7d659ccfd451869b1a074d707 SHA512 bc01b928003cf5050934972eeb7830b14957693c1484b061dbcf1809176388b75297b6884b7f5c963e59d8ec4a7cc4d9bf9ec265b414574a7de6bb5875f6b607
|
||||
DIST gnuserv-3.12.8.tar.gz 124070 BLAKE2B 7531d85f6cd1873f75499c37230907f96ac484e1d58a4a3459f44d3bfaa6a6124d44f99a7c27d1fa3deb16b1cc29d08313b911cdc1782a1c5b24bd702ef4c9ba SHA512 e8f387a554c22fb2eb166d388085b9d68a0d865ae56ab71f3ffe09ff46bef04a4ba5b05ca51a1110e1dff67ae2cd6acc8b18a0fb9df9299dbbf4a001f0924f31
|
||||
EBUILD gnuserv-3.12.8-r5.ebuild 1608 BLAKE2B 3a36b4f87937c55c11c8b56f0a7e8dfda7cc3863aa92741c2a59c7509e6fc7f574c150b8634f1e209b3139fc39ff66b7d5f952bfcc40a954bfffd5c8bad8a2be SHA512 9352a1c4a6003527098aafa57c9c766e31e5c1b463f2fe1299b61b8b6c75ddfd8f47c40e261e5880312ae99e4051f6fe87814ef1ea5aa650b000c9c745380ada
|
||||
EBUILD gnuserv-3.12.8-r5.ebuild 1752 BLAKE2B affe2261d573ec8d003c89fe509cb52f0d6237db66ae25e8716819e9e097639cd8d96899b119d7bd6058b132ca3cf5375a50083a9dd2d78d90ba201544c89a16 SHA512 5a9ecfb745a7d70da2cf367330a8505654dd0f05f61e884cd086844214689bb7ed7f0ca4f020825483bab6a73ac6b259d928803ba4bb13b4aceeadd7570a5e06
|
||||
MISC metadata.xml 260 BLAKE2B a187a6020d68e0ac53c6bb25461b0988c938fb112a8a7e3a906b827269347d70f8366594d404329695b4fa52fff2cde7fbc51d501e674bf8adc821a4141ccfcf SHA512 2ff2d68bb3c552f006474e86ecab8ebbcfcb35588384c045a665d305f79c739c4d80c0ea639a71c39123b8c5c1b3a96977ee8c0c3e973449a732ac3ac8f2c3a3
|
||||
|
@ -0,0 +1,36 @@
|
||||
https://bugs.gentoo.org/836892
|
||||
|
||||
--- gnuserv-3.12.8/gnuserv.el
|
||||
+++ gnuserv-3.12.8/gnuserv.el
|
||||
@@ -98,31 +98,6 @@
|
||||
:group 'gnuserv)
|
||||
|
||||
|
||||
-;; Provide the old variables as aliases, to avoid breaking .emacs
|
||||
-;; files. However, they are obsolete and should be converted to the
|
||||
-;; new forms. This ugly crock must be before the variable
|
||||
-;; declaration, or the scheme fails.
|
||||
-
|
||||
-(define-obsolete-variable-alias 'server-frame 'gnuserv-frame)
|
||||
-(define-obsolete-variable-alias 'server-done-function
|
||||
- 'gnuserv-done-function)
|
||||
-(define-obsolete-variable-alias 'server-done-temp-file-function
|
||||
- 'gnuserv-done-temp-file-function)
|
||||
-(define-obsolete-variable-alias 'server-find-file-function
|
||||
- 'gnuserv-find-file-function)
|
||||
-(define-obsolete-variable-alias 'server-program
|
||||
- 'gnuserv-program)
|
||||
-(define-obsolete-variable-alias 'server-visit-hook
|
||||
- 'gnuserv-visit-hook)
|
||||
-(define-obsolete-variable-alias 'server-done-hook
|
||||
- 'gnuserv-done-hook)
|
||||
-(define-obsolete-variable-alias 'server-kill-quietly
|
||||
- 'gnuserv-kill-quietly)
|
||||
-(define-obsolete-variable-alias 'server-temp-file-regexp
|
||||
- 'gnuserv-temp-file-regexp)
|
||||
-(define-obsolete-variable-alias 'server-make-temp-file-backup
|
||||
- 'gnuserv-make-temp-file-backup)
|
||||
-
|
||||
;;;###autoload
|
||||
(defcustom gnuserv-frame nil
|
||||
"*The frame to be used to display all edited files.
|
@ -0,0 +1,15 @@
|
||||
--- gnuserv-3.12.8/gnudoit
|
||||
+++ gnuserv-3.12.8/gnudoit
|
||||
@@ -27,10 +27,10 @@
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
- exec gnuclient $quick -batch
|
||||
+ exec gnuclient-emacs $quick -batch
|
||||
else
|
||||
# I use "$*" instead of "$@" intentionally -- I don't want to have the
|
||||
# arguments split.
|
||||
- exec gnuclient $quick -batch -eval "$*"
|
||||
+ exec gnuclient-emacs $quick -batch -eval "$*"
|
||||
fi
|
||||
|
@ -1,4 +1,7 @@
|
||||
AUX 50icicles-gentoo.el 112 BLAKE2B c4d0e44325f27cb725bce0aff0ac8186807295c9b20642f42fabfa956703836c65a23b3a71221e736d95aefa1e4e188834df53c9a275ddc0ec7389a810bd405f SHA512 dee9b1945ea378792e71efa674bdeae5ec82eaa8f8ea07fd7859ff3e48d812fc50c8a4809a2a66c99ffe08c4b2b71a107245970ec2cddbe0505b63999b62320e
|
||||
AUX icicles-2018.10.15.23738-emacs-28.patch 389 BLAKE2B 5a1cbe178ebeac0cc13bf47f82f56caa0d2beeaa70e71b3f7316d2ef0964a0420180b4ca8d50563b5a044d4885f9c98cdff658f9e5e85b98c7dcca94cf3616b3 SHA512 8c474208b7afe113a13989bff036315cb9f365a1b98f9d088b5d20a7d1ea15fa67c1f25290d9d7fb50eb9c6c7135e052144a9eddbce5a01a84cfca5991773555
|
||||
DIST icicles-2018.02.13.23733.tar.xz 697112 BLAKE2B 63b60a74cfcc5b855e9ffbf7a91d0cb561c46ef1a93fb1baca00a0a5462326da983c734bef1943c0f17583aeb065d8fd5d88769eec2dc35f36a59ea4ff86609b SHA512 6c5d2270c735fafa8e2180134fbe7175e1c99cb6ae904a70dbdf1144293bd1ffa84d9e81b1c1b03296348a6b31ebab62ea7981a4b7f5be8bb5238bd143ccb3c0
|
||||
DIST icicles-2018.10.15.23738.tar.gz 1007149 BLAKE2B 34cdae2e247fafab9bb6d5472ed15cf108fd0b008a8f19de1742dfe590ff5b1483c5f28eb8e75b92a32c223dfec67d4601ed3392cda5162d1ea84c9d1f940321 SHA512 ede403a53d44451e4f62f54f7da27c6a5632827c4f1985c153f7d03a1b8ea920238dc9ba78896fc416115f53187a6b6d9a0171f8a91fbc7605462eba48e3f5cc
|
||||
EBUILD icicles-2018.02.13.23733.ebuild 488 BLAKE2B 0aba0b0c414bd4eae4ff6387374fe4db7cf7c5f74338ce512d1b7ccd64ec3b7492d6f3418116e07ef75d39f61ebfb0adca0424bf21d3066272524fc0e89eb18a SHA512 de723e4123003f1fba99840c9dcdc7c99e329294b96a5650c518bf9cb559abecc2231ec373d76ba121b289e37a8961a3baa4968da25b1e653c4b4e805351488f
|
||||
EBUILD icicles-2018.10.15.23738.ebuild 639 BLAKE2B afed60495cbaf8d9400f94e6fad38106cc1b144ed778a3e131cda9e9c20bfa816946a5b5ba307e89e0b518882ef5aa6ebb5f58c7dd62790e1c7e2fdd4250bb42 SHA512 673bd75157958d2e8828c2355dcbc9715ab264930c12ae695da2b5b8ae1510fa600524c887ffa83ba5c54f70f7aa5d2c0e43014b11b1629b8d569dbe98f14530
|
||||
MISC metadata.xml 365 BLAKE2B cfac92a5fd13aa5443c5615f88a46dc9d80f1e9bad2012d29e803308008ca44e4dc69623353e0f3aa2cbaf7afb4721675be0d680e89411f8291164df84b5158d SHA512 d745cdb1190a95f83b56d3a001859f8e00ca56f49f283da4220d0e5e3c46f7c32b77ce7fcd8463cfd70d41e1df544a8b0b81f112b3fa65387ac0e6f67bf39f71
|
||||
|
@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/836773
|
||||
|
||||
--- icicles/icicles-fn.el
|
||||
+++ icicles/icicles-fn.el
|
||||
@@ -4264,7 +4264,7 @@
|
||||
|
||||
|
||||
(defalias 'icicle-scatter 'icicle-scatter-re)
|
||||
-(make-obsolete 'icicle-scatter 'icicle-scatter-re) ; 2018-01-14
|
||||
+(make-obsolete 'icicle-scatter 'icicle-scatter-re "2018-01-14")
|
||||
|
||||
(defun icicle-scatter-re (string)
|
||||
"Returns a regexp that matches a scattered version of STRING.
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
COMMIT="9e9c37d2a54771c635d00d1fe171cef5eab4d95d"
|
||||
DESCRIPTION="Minibuffer input completion and cycling"
|
||||
HOMEPAGE="https://www.emacswiki.org/emacs/Icicles"
|
||||
# Snapshot of https://github.com/emacsmirror/icicles.git
|
||||
# PV is <Version>.<Update #> from header of icicles.el
|
||||
SRC_URI="https://github.com/emacsmirror/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-emacs-28.patch )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1,5 +1,6 @@
|
||||
AUX 50remember-gentoo.el 376 BLAKE2B 1dd3ebb7584b0a98c3897ad3e6b7cdaa2f7ca27099c82eb42c5a9fe44bc1dfb60bcb4a19d16b452722dc72e29f5718ea6ca952f65ed699190e3e9b9ec0b3c948 SHA512 b1424526d7ae0fdea157a123a2030ff47700addbdec3c6d8ae42b0587e3eb028c54cf27a3d5b9298fbac04b4e3216fec0d189df29d3c4076fcaeb64cd9b1edd6
|
||||
AUX remember-1.9-make-elc.patch 320 BLAKE2B 65d0f4a1df9b7bbf09ad39830fc20faefd4fd554783758139c4351ce64e4444bc8884f7fe3c4e6a46b029c3543418c24ec050485d079049f8e9e2cf9a5726b82 SHA512 1050d5dea089a7732d8310f6131c2d95037cdc98150ef8cc6113a5a31c16cf0fd730a0d11ff6f3909ad1835419a47e384cc490f529ef38a5b000b6f27bc6112e
|
||||
AUX remember-2.0-emacs-28.patch 410 BLAKE2B f8894d77f470bd378a329c7122726214ea62b547c08ce2a2b09a00cf5814acbc3dcb5553f7141164d7b70d338e52fca25757b04333f0d0396d574734c38e2ae5 SHA512 2a889c24669beff44c845769a66b4092e8eed8076bbaf4a994e4e044b17fa6aecba520174e31c275b45a3fb3b64621a60d9396274debb42b2f3cb3d6af4ca1be
|
||||
DIST remember-2.0.tar.gz 44481 BLAKE2B 2419ff87c7cf45e86102e02b51e7941e101ea6540d34bf8ad3df1c59c733042bea03d95508e1fb5f724148999e68bd177732bf8748f5ccc0158c36c983816536 SHA512 9744a4f5893f6191de667d6fe5f5fe8d5730b46115f290993a082a14d3bd51ebb4e0ac3dd7f8b29de4db0aeb10259d6bf9f5833fd98b95077fb963683cb0f859
|
||||
EBUILD remember-2.0-r1.ebuild 896 BLAKE2B 601e59b1ceb9244af84fd14aafd3032f1f806b828d5600b3aac9fca42a5d1d3b17a8d4d6e6db1e075f92e1566f0d886c03cf3920f7057fe55e18d7e189b53c17 SHA512 73ad30dc1ec96be2089f8091de444bbe6c93235593c5fb72ac4ecab08f6526239431bb2ca6b834693aafc3d674d370736a2ad9f95e069e530487d6e16ed4d633
|
||||
EBUILD remember-2.0-r1.ebuild 942 BLAKE2B b68f9f8c0b7b472fb7a7e86e71cc14e08544e76db3b4a01f4ad3582bf657e54b39c9c6c2a74a3a347407e2682b423745b627ed83ae873d4c6daa06c4067c1a0e SHA512 352e6cfcd7331ecb79f998e73dd2b92c11f62fb6bf269edc39c6052923e2478ac64e76664e59746627ae46d68502fcdc15a4af44027bd61d0370ab8eb7cd185f
|
||||
MISC metadata.xml 1101 BLAKE2B f55b72d2a1ca36feec7347d5e3814c2a63000654d82b909f8546c7cbabcfb32a51c08ce6d5dba60f52163345d3b39566688b34800cefddc471d1746ac23b2230 SHA512 c3a7bba776d2804edd6ac67c9463131822540559c47872449e855ad3003fdc85d2735ff8dfa9880dcb90acaf88859b38b3fa13d54fdaaa074ab4732ab6047ece
|
||||
|
@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/836772
|
||||
|
||||
--- remember-2.0/remember.el
|
||||
+++ remember-2.0/remember.el
|
||||
@@ -462,7 +462,7 @@
|
||||
|
||||
;; Org needs this
|
||||
(if (fboundp 'define-obsolete-function-alias)
|
||||
- (define-obsolete-function-alias 'remember-buffer 'remember-finalize)
|
||||
+ (define-obsolete-function-alias 'remember-buffer 'remember-finalize "")
|
||||
(defalias 'remember-buffer 'remember-finalize))
|
||||
|
||||
(defun remember-destroy ()
|
@ -1,4 +1,6 @@
|
||||
AUX 70slime-gentoo.el 526 BLAKE2B 6bfd25cf1ef661ac1510d6862d8eea832d1de11d173d7a4c1fc6f12c204c13b641382a23b196c21ad6a4825b620c69244764db65e94060e4b636c5b6702e871c SHA512 94c84b4a91cad91f553c22cc9d61cb6a77aa0dd723571770159237e7d3e6f2ec0e3dc0a3e139a99bd820da67d019891db1e84d384fb96614f086b54e9bd5769e
|
||||
DIST slime-2.21.tar.gz 810610 BLAKE2B d5126e60fb04af2c712426dc9b701cfcabb04a16ab4df6ee138c9f77280fa892e608a04f1af1154b42f7063cc85464146e9a9b10f2a223b5d8015ed49eb1ee1c SHA512 6cc0d865bda2b1a4d806564e4e7d0c9cff739aba16d21ffd47c6a7353e45d332506014ba54f6a0fcfbc97d4c2d3d864f02c2d144cd4d8d06b9b19dafa8f8be3c
|
||||
DIST slime-2.27.tar.gz 824013 BLAKE2B 65bf6022d4c0df7fd7b3c8325ce0e8db1bd7b39961b88ea3bca846c316db2a6442d87974f9399557e9ea1ac7f10ec32d13832df3f433ab3b38cf3059a9529069 SHA512 e1d4723d62bd6c9cd964bfc5ff2d383999d0c965ba9e0742dd21453e8f660dc5c05b2bb8f009ac895dd7445a77b82b5c1dec19ec195368f8cfa59f651001da6e
|
||||
EBUILD slime-2.21.ebuild 1536 BLAKE2B 9a57dbef9d64de8a0a5a53c9dad65a123ffc2d623c7aded7c95db61a519101a7899908fa9be6ce006393e4c15a1a4e11fa311fa4dda7cba7e77bf106221107b1 SHA512 335950f876002fdb3d78530b09fade01e43ea6e4802b6a7a4fa3c2066c5c16068956cf1e5529356e3da46cd40d738248dd0e6a4941ad4fa794dae122b7db4592
|
||||
EBUILD slime-2.27.ebuild 1551 BLAKE2B 013b46362dc334a0303cc559c18bb408a7718aa0ec3a4092198894d324668bf5e74cf3987876f377be7939333091cd5f3ad4b5ce5074baa5d6e5292f293ebcc8 SHA512 ff23d8e2f5a43fdafb079932fec091a26a5329c653a6a3d633ccfe94ee7693fb6257288bfef27535d1d01f71dcf482cf73f8abdeea4a7ec2da5cc6ec389b4b45
|
||||
MISC metadata.xml 1682 BLAKE2B d8f201e0feeac9cb37096887edb806e4623d9f3941f8e1396925d8c20e9d860e0c65eae943d786919865a0278c18cefe09d9d2186e4956001b3e66b6d93f294d SHA512 fe1f25388ab56b6c64a5e624ea8ec11e88bbac53195775f88cb6d8131a15969340d6eff0fb463a7b2ea1834f0fc14de34773589c1cf65ad3a964cd3bfa104142
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
|
||||
HOMEPAGE="https://slime.common-lisp.dev/"
|
||||
SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain GPL-2+ GPL-3+ LLGPL-2.1 ZLIB xref? ( xref.lisp )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc xref"
|
||||
RESTRICT="test" # tests fail to contact sbcl
|
||||
|
||||
RDEPEND="virtual/commonlisp
|
||||
dev-lisp/asdf"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=sys-apps/texinfo-5.1
|
||||
doc? ( virtual/texi2dvi )"
|
||||
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Remove xref.lisp (which is non-free) unless USE flag is set
|
||||
use xref || rm xref.lisp || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp-compile *.el
|
||||
BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
|
||||
elisp-compile contrib/*.el lib/*.el
|
||||
|
||||
emake -C doc slime.info
|
||||
if use doc; then
|
||||
VARTEXFONTS="${T}"/fonts emake -C doc all
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install core
|
||||
elisp-install ${PN} *.{el,elc,lisp}
|
||||
|
||||
# Install contribs
|
||||
elisp-install ${PN}/contrib/ contrib/*.{el,elc} contrib/swank*
|
||||
|
||||
# Install lib
|
||||
elisp-install ${PN}/lib/ lib/*.{el,elc}
|
||||
|
||||
# Install swank
|
||||
elisp-install ${PN}/swank/ swank/*.lisp
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
|
||||
# Install docs
|
||||
dodoc README.md CONTRIBUTING.md NEWS PROBLEMS
|
||||
newdoc contrib/README.md README-contrib.md
|
||||
doinfo doc/slime.info
|
||||
use doc && dodoc doc/*.pdf
|
||||
|
||||
# Bug #656760
|
||||
touch "${ED}${SITELISP}/${PN}/lib/.nosearch" || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,626 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module systemd
|
||||
MY_PV="v${PV/_rc/-rc.}"
|
||||
NODE_EXPORTER_COMMIT=a2321e7
|
||||
|
||||
DESCRIPTION="Prometheus exporter for machine metrics"
|
||||
HOMEPAGE="https://github.com/prometheus/node_exporter"
|
||||
|
||||
EGO_SUM=(
|
||||
"cloud.google.com/go v0.26.0/go.mod"
|
||||
"cloud.google.com/go v0.34.0/go.mod"
|
||||
"cloud.google.com/go v0.38.0/go.mod"
|
||||
"cloud.google.com/go v0.44.1/go.mod"
|
||||
"cloud.google.com/go v0.44.2/go.mod"
|
||||
"cloud.google.com/go v0.45.1/go.mod"
|
||||
"cloud.google.com/go v0.46.3/go.mod"
|
||||
"cloud.google.com/go v0.50.0/go.mod"
|
||||
"cloud.google.com/go v0.52.0/go.mod"
|
||||
"cloud.google.com/go v0.53.0/go.mod"
|
||||
"cloud.google.com/go v0.54.0/go.mod"
|
||||
"cloud.google.com/go v0.56.0/go.mod"
|
||||
"cloud.google.com/go v0.57.0/go.mod"
|
||||
"cloud.google.com/go v0.62.0/go.mod"
|
||||
"cloud.google.com/go v0.65.0/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.0.1/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.3.0/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.4.0/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.5.0/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.7.0/go.mod"
|
||||
"cloud.google.com/go/bigquery v1.8.0/go.mod"
|
||||
"cloud.google.com/go/datastore v1.0.0/go.mod"
|
||||
"cloud.google.com/go/datastore v1.1.0/go.mod"
|
||||
"cloud.google.com/go/pubsub v1.0.1/go.mod"
|
||||
"cloud.google.com/go/pubsub v1.1.0/go.mod"
|
||||
"cloud.google.com/go/pubsub v1.2.0/go.mod"
|
||||
"cloud.google.com/go/pubsub v1.3.1/go.mod"
|
||||
"cloud.google.com/go/storage v1.0.0/go.mod"
|
||||
"cloud.google.com/go/storage v1.5.0/go.mod"
|
||||
"cloud.google.com/go/storage v1.6.0/go.mod"
|
||||
"cloud.google.com/go/storage v1.8.0/go.mod"
|
||||
"cloud.google.com/go/storage v1.10.0/go.mod"
|
||||
"dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod"
|
||||
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||
"github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751"
|
||||
"github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d"
|
||||
"github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod"
|
||||
"github.com/beevik/ntp v0.3.0"
|
||||
"github.com/beevik/ntp v0.3.0/go.mod"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||
"github.com/beorn7/perks v1.0.0/go.mod"
|
||||
"github.com/beorn7/perks v1.0.1"
|
||||
"github.com/beorn7/perks v1.0.1/go.mod"
|
||||
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
||||
"github.com/cespare/xxhash/v2 v2.1.1"
|
||||
"github.com/cespare/xxhash/v2 v2.1.1/go.mod"
|
||||
"github.com/chzyer/logex v1.1.10/go.mod"
|
||||
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod"
|
||||
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod"
|
||||
"github.com/cilium/ebpf v0.5.0/go.mod"
|
||||
"github.com/cilium/ebpf v0.7.0"
|
||||
"github.com/cilium/ebpf v0.7.0/go.mod"
|
||||
"github.com/client9/misspell v0.3.4/go.mod"
|
||||
"github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod"
|
||||
"github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf"
|
||||
"github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.1"
|
||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||
"github.com/ema/qdisc v0.0.0-20200603082823-62d0308e3e00"
|
||||
"github.com/ema/qdisc v0.0.0-20200603082823-62d0308e3e00/go.mod"
|
||||
"github.com/envoyproxy/go-control-plane v0.9.0/go.mod"
|
||||
"github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
|
||||
"github.com/envoyproxy/go-control-plane v0.9.4/go.mod"
|
||||
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
||||
"github.com/frankban/quicktest v1.11.3"
|
||||
"github.com/frankban/quicktest v1.11.3/go.mod"
|
||||
"github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod"
|
||||
"github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod"
|
||||
"github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod"
|
||||
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||
"github.com/go-kit/kit v0.9.0/go.mod"
|
||||
"github.com/go-kit/log v0.1.0/go.mod"
|
||||
"github.com/go-kit/log v0.2.0"
|
||||
"github.com/go-kit/log v0.2.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.4.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.5.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.5.1"
|
||||
"github.com/go-logfmt/logfmt v0.5.1/go.mod"
|
||||
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||
"github.com/godbus/dbus v0.0.0-20190402143921-271e53dc4968"
|
||||
"github.com/godbus/dbus v0.0.0-20190402143921-271e53dc4968/go.mod"
|
||||
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod"
|
||||
"github.com/golang/mock v1.1.1/go.mod"
|
||||
"github.com/golang/mock v1.2.0/go.mod"
|
||||
"github.com/golang/mock v1.3.1/go.mod"
|
||||
"github.com/golang/mock v1.4.0/go.mod"
|
||||
"github.com/golang/mock v1.4.1/go.mod"
|
||||
"github.com/golang/mock v1.4.3/go.mod"
|
||||
"github.com/golang/mock v1.4.4/go.mod"
|
||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||
"github.com/golang/protobuf v1.3.3/go.mod"
|
||||
"github.com/golang/protobuf v1.3.4/go.mod"
|
||||
"github.com/golang/protobuf v1.3.5/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.1/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.2/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod"
|
||||
"github.com/golang/protobuf v1.4.0/go.mod"
|
||||
"github.com/golang/protobuf v1.4.1/go.mod"
|
||||
"github.com/golang/protobuf v1.4.2/go.mod"
|
||||
"github.com/golang/protobuf v1.4.3"
|
||||
"github.com/golang/protobuf v1.4.3/go.mod"
|
||||
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||
"github.com/google/btree v1.0.0/go.mod"
|
||||
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.1/go.mod"
|
||||
"github.com/google/go-cmp v0.4.0/go.mod"
|
||||
"github.com/google/go-cmp v0.4.1/go.mod"
|
||||
"github.com/google/go-cmp v0.5.0/go.mod"
|
||||
"github.com/google/go-cmp v0.5.1/go.mod"
|
||||
"github.com/google/go-cmp v0.5.2/go.mod"
|
||||
"github.com/google/go-cmp v0.5.4/go.mod"
|
||||
"github.com/google/go-cmp v0.5.5/go.mod"
|
||||
"github.com/google/go-cmp v0.5.6"
|
||||
"github.com/google/go-cmp v0.5.6/go.mod"
|
||||
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||
"github.com/google/martian v2.1.0+incompatible/go.mod"
|
||||
"github.com/google/martian/v3 v3.0.0/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod"
|
||||
"github.com/google/renameio v0.1.0/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.4/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.5/go.mod"
|
||||
"github.com/hashicorp/go-envparse v0.0.0-20200406174449-d9cfd743a15e"
|
||||
"github.com/hashicorp/go-envparse v0.0.0-20200406174449-d9cfd743a15e/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.1/go.mod"
|
||||
"github.com/hodgesds/perf-utils v0.4.0"
|
||||
"github.com/hodgesds/perf-utils v0.4.0/go.mod"
|
||||
"github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod"
|
||||
"github.com/illumos/go-kstat v0.0.0-20210513183136-173c9b0a9973"
|
||||
"github.com/illumos/go-kstat v0.0.0-20210513183136-173c9b0a9973/go.mod"
|
||||
"github.com/josharian/native v0.0.0-20200817173448-b6b71def0850"
|
||||
"github.com/josharian/native v0.0.0-20200817173448-b6b71def0850/go.mod"
|
||||
"github.com/jpillora/backoff v1.0.0"
|
||||
"github.com/jpillora/backoff v1.0.0/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20190606172950-9527aa82566a/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20190830100107-3784a6c7c552/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20200117123717-f846d4f6c1f4/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20201009170750-9c6f07d100c1/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20201216134343-bde56ed16391/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20201220180245-69540ac93943/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20210122163228-8d122574c736/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20210212075122-66c871082f2b/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20210525051524-4cc836578190/go.mod"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20211022192332-93da33804786"
|
||||
"github.com/jsimonetti/rtnetlink v0.0.0-20211022192332-93da33804786/go.mod"
|
||||
"github.com/json-iterator/go v1.1.6/go.mod"
|
||||
"github.com/json-iterator/go v1.1.10/go.mod"
|
||||
"github.com/json-iterator/go v1.1.11/go.mod"
|
||||
"github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
|
||||
"github.com/jstemmer/go-junit-report v0.9.1/go.mod"
|
||||
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||
"github.com/julienschmidt/httprouter v1.3.0/go.mod"
|
||||
"github.com/kisielk/gotool v1.0.0/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod"
|
||||
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||
"github.com/kr/pretty v0.1.0/go.mod"
|
||||
"github.com/kr/pretty v0.2.1"
|
||||
"github.com/kr/pretty v0.2.1/go.mod"
|
||||
"github.com/kr/pty v1.1.1/go.mod"
|
||||
"github.com/kr/text v0.1.0"
|
||||
"github.com/kr/text v0.1.0/go.mod"
|
||||
"github.com/lufia/iostat v1.2.0"
|
||||
"github.com/lufia/iostat v1.2.0/go.mod"
|
||||
"github.com/mattn/go-xmlrpc v0.0.3"
|
||||
"github.com/mattn/go-xmlrpc v0.0.3/go.mod"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||
"github.com/mdlayher/ethtool v0.0.0-20210210192532-2b88debcdd43"
|
||||
"github.com/mdlayher/ethtool v0.0.0-20210210192532-2b88debcdd43/go.mod"
|
||||
"github.com/mdlayher/genetlink v1.0.0"
|
||||
"github.com/mdlayher/genetlink v1.0.0/go.mod"
|
||||
"github.com/mdlayher/netlink v0.0.0-20190409211403-11939a169225/go.mod"
|
||||
"github.com/mdlayher/netlink v0.0.0-20190828143259-340058475d09/go.mod"
|
||||
"github.com/mdlayher/netlink v1.0.0/go.mod"
|
||||
"github.com/mdlayher/netlink v1.1.0/go.mod"
|
||||
"github.com/mdlayher/netlink v1.1.1/go.mod"
|
||||
"github.com/mdlayher/netlink v1.2.0/go.mod"
|
||||
"github.com/mdlayher/netlink v1.2.1/go.mod"
|
||||
"github.com/mdlayher/netlink v1.2.2-0.20210123213345-5cc92139ae3e/go.mod"
|
||||
"github.com/mdlayher/netlink v1.3.0/go.mod"
|
||||
"github.com/mdlayher/netlink v1.4.0/go.mod"
|
||||
"github.com/mdlayher/netlink v1.4.1"
|
||||
"github.com/mdlayher/netlink v1.4.1/go.mod"
|
||||
"github.com/mdlayher/socket v0.0.0-20210307095302-262dc9984e00"
|
||||
"github.com/mdlayher/socket v0.0.0-20210307095302-262dc9984e00/go.mod"
|
||||
"github.com/mdlayher/wifi v0.0.0-20200527114002-84f0b9457fdd"
|
||||
"github.com/mdlayher/wifi v0.0.0-20200527114002-84f0b9457fdd/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod"
|
||||
"github.com/pkg/errors v0.8.0/go.mod"
|
||||
"github.com/pkg/errors v0.8.1/go.mod"
|
||||
"github.com/pkg/errors v0.9.1"
|
||||
"github.com/pkg/errors v0.9.1/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||
"github.com/prometheus/client_golang v1.0.0/go.mod"
|
||||
"github.com/prometheus/client_golang v1.7.1/go.mod"
|
||||
"github.com/prometheus/client_golang v1.11.0"
|
||||
"github.com/prometheus/client_golang v1.11.0/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
||||
"github.com/prometheus/client_model v0.2.0"
|
||||
"github.com/prometheus/client_model v0.2.0/go.mod"
|
||||
"github.com/prometheus/common v0.4.1/go.mod"
|
||||
"github.com/prometheus/common v0.10.0/go.mod"
|
||||
"github.com/prometheus/common v0.26.0/go.mod"
|
||||
"github.com/prometheus/common v0.29.0/go.mod"
|
||||
"github.com/prometheus/common v0.32.1"
|
||||
"github.com/prometheus/common v0.32.1/go.mod"
|
||||
"github.com/prometheus/exporter-toolkit v0.7.0"
|
||||
"github.com/prometheus/exporter-toolkit v0.7.0/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.2/go.mod"
|
||||
"github.com/prometheus/procfs v0.1.3/go.mod"
|
||||
"github.com/prometheus/procfs v0.6.0/go.mod"
|
||||
"github.com/prometheus/procfs v0.7.4-0.20211011103944-1a7a2bd3279f"
|
||||
"github.com/prometheus/procfs v0.7.4-0.20211011103944-1a7a2bd3279f/go.mod"
|
||||
"github.com/rogpeppe/go-internal v1.3.0/go.mod"
|
||||
"github.com/safchain/ethtool v0.1.0"
|
||||
"github.com/safchain/ethtool v0.1.0/go.mod"
|
||||
"github.com/siebenmann/go-kstat v0.0.0-20210513183136-173c9b0a9973"
|
||||
"github.com/siebenmann/go-kstat v0.0.0-20210513183136-173c9b0a9973/go.mod"
|
||||
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.4.2/go.mod"
|
||||
"github.com/sirupsen/logrus v1.6.0/go.mod"
|
||||
"github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a"
|
||||
"github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||
"github.com/stretchr/testify v1.4.0"
|
||||
"github.com/stretchr/testify v1.4.0/go.mod"
|
||||
"github.com/yuin/goldmark v1.1.25/go.mod"
|
||||
"github.com/yuin/goldmark v1.1.27/go.mod"
|
||||
"github.com/yuin/goldmark v1.1.32/go.mod"
|
||||
"go.opencensus.io v0.21.0/go.mod"
|
||||
"go.opencensus.io v0.22.0/go.mod"
|
||||
"go.opencensus.io v0.22.2/go.mod"
|
||||
"go.opencensus.io v0.22.3/go.mod"
|
||||
"go.opencensus.io v0.22.4/go.mod"
|
||||
"go.uber.org/atomic v1.7.0"
|
||||
"go.uber.org/atomic v1.7.0/go.mod"
|
||||
"go.uber.org/multierr v1.6.0"
|
||||
"go.uber.org/multierr v1.6.0/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e"
|
||||
"golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod"
|
||||
"golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod"
|
||||
"golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod"
|
||||
"golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod"
|
||||
"golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod"
|
||||
"golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod"
|
||||
"golang.org/x/mod v0.1.0/go.mod"
|
||||
"golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod"
|
||||
"golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod"
|
||||
"golang.org/x/mod v0.2.0/go.mod"
|
||||
"golang.org/x/mod v0.3.0/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod"
|
||||
"golang.org/x/net v0.0.0-20191007182048-72f939374954/go.mod"
|
||||
"golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod"
|
||||
"golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod"
|
||||
"golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod"
|
||||
"golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod"
|
||||
"golang.org/x/net v0.0.0-20201216054612-986b41b23924/go.mod"
|
||||
"golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod"
|
||||
"golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod"
|
||||
"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
|
||||
"golang.org/x/net v0.0.0-20210525063256-abc453219eb5"
|
||||
"golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c"
|
||||
"golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20201207232520-09787c993a3a"
|
||||
"golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190411185658-b44545bcd369/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190902133755-9109b7679e13/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201118182958-a01c418693c7/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20201218084310-7d0127a74742/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210110051926-789bb1bd4061/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210123111255-9b0068b26619/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210216163648-f7da38b97c65/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210525143221-35b2ab0089ea/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20211117180635-dee7805ff2e1"
|
||||
"golang.org/x/sys v0.0.0-20211117180635-dee7805ff2e1/go.mod"
|
||||
"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
|
||||
"golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
|
||||
"golang.org/x/text v0.3.2/go.mod"
|
||||
"golang.org/x/text v0.3.3/go.mod"
|
||||
"golang.org/x/text v0.3.6"
|
||||
"golang.org/x/text v0.3.6/go.mod"
|
||||
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
||||
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
|
||||
"golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
|
||||
"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
|
||||
"google.golang.org/api v0.4.0/go.mod"
|
||||
"google.golang.org/api v0.7.0/go.mod"
|
||||
"google.golang.org/api v0.8.0/go.mod"
|
||||
"google.golang.org/api v0.9.0/go.mod"
|
||||
"google.golang.org/api v0.13.0/go.mod"
|
||||
"google.golang.org/api v0.14.0/go.mod"
|
||||
"google.golang.org/api v0.15.0/go.mod"
|
||||
"google.golang.org/api v0.17.0/go.mod"
|
||||
"google.golang.org/api v0.18.0/go.mod"
|
||||
"google.golang.org/api v0.19.0/go.mod"
|
||||
"google.golang.org/api v0.20.0/go.mod"
|
||||
"google.golang.org/api v0.22.0/go.mod"
|
||||
"google.golang.org/api v0.24.0/go.mod"
|
||||
"google.golang.org/api v0.28.0/go.mod"
|
||||
"google.golang.org/api v0.29.0/go.mod"
|
||||
"google.golang.org/api v0.30.0/go.mod"
|
||||
"google.golang.org/appengine v1.1.0/go.mod"
|
||||
"google.golang.org/appengine v1.4.0/go.mod"
|
||||
"google.golang.org/appengine v1.5.0/go.mod"
|
||||
"google.golang.org/appengine v1.6.1/go.mod"
|
||||
"google.golang.org/appengine v1.6.5/go.mod"
|
||||
"google.golang.org/appengine v1.6.6"
|
||||
"google.golang.org/appengine v1.6.6/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod"
|
||||
"google.golang.org/grpc v1.19.0/go.mod"
|
||||
"google.golang.org/grpc v1.20.1/go.mod"
|
||||
"google.golang.org/grpc v1.21.1/go.mod"
|
||||
"google.golang.org/grpc v1.23.0/go.mod"
|
||||
"google.golang.org/grpc v1.25.1/go.mod"
|
||||
"google.golang.org/grpc v1.26.0/go.mod"
|
||||
"google.golang.org/grpc v1.27.0/go.mod"
|
||||
"google.golang.org/grpc v1.27.1/go.mod"
|
||||
"google.golang.org/grpc v1.28.0/go.mod"
|
||||
"google.golang.org/grpc v1.29.1/go.mod"
|
||||
"google.golang.org/grpc v1.30.0/go.mod"
|
||||
"google.golang.org/grpc v1.31.0/go.mod"
|
||||
"google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod"
|
||||
"google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod"
|
||||
"google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod"
|
||||
"google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod"
|
||||
"google.golang.org/protobuf v1.21.0/go.mod"
|
||||
"google.golang.org/protobuf v1.22.0/go.mod"
|
||||
"google.golang.org/protobuf v1.23.0/go.mod"
|
||||
"google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod"
|
||||
"google.golang.org/protobuf v1.24.0/go.mod"
|
||||
"google.golang.org/protobuf v1.25.0/go.mod"
|
||||
"google.golang.org/protobuf v1.26.0-rc.1"
|
||||
"google.golang.org/protobuf v1.26.0-rc.1/go.mod"
|
||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6"
|
||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
|
||||
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
|
||||
"gopkg.in/errgo.v2 v2.1.0/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.5/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.3.0/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.4.0"
|
||||
"gopkg.in/yaml.v2 v2.4.0/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||
"honnef.co/go/tools v0.0.1-2019.2.3/go.mod"
|
||||
"honnef.co/go/tools v0.0.1-2020.1.3/go.mod"
|
||||
"honnef.co/go/tools v0.0.1-2020.1.4/go.mod"
|
||||
"rsc.io/binaryregexp v0.2.0/go.mod"
|
||||
"rsc.io/quote/v3 v3.1.0/go.mod"
|
||||
"rsc.io/sampler v1.3.0/go.mod"
|
||||
)
|
||||
go-module_set_globals
|
||||
SRC_URI="https://github.com/prometheus/node_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
CDEPEND="acct-group/node_exporter
|
||||
acct-user/node_exporter"
|
||||
DEPEND=">=dev-util/promu-0.3.0
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" .promu.yml || die
|
||||
sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" .promu-cgo.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir -p bin || die
|
||||
promu build -v --prefix node_exporter || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin node_exporter/node_exporter
|
||||
dodoc {README,CHANGELOG,CONTRIBUTING}.md
|
||||
systemd_dounit "${FILESDIR}"/node_exporter.service
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
keepdir /var/lib/node_exporter /var/log/node_exporter
|
||||
fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
|
||||
}
|
Binary file not shown.
@ -0,0 +1,272 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
adler32-1.2.0
|
||||
ahash-0.4.7
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
ansi_colours-1.1.1
|
||||
ansi_term-0.12.1
|
||||
anyhow-1.0.56
|
||||
argh-0.1.7
|
||||
argh_derive-0.1.7
|
||||
argh_shared-0.1.7
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
base64-0.13.0
|
||||
bet-1.0.1
|
||||
bincode-1.3.3
|
||||
bitflags-1.3.2
|
||||
bstr-0.2.17
|
||||
bytemuck-1.8.0
|
||||
byteorder-1.4.3
|
||||
cc-1.0.73
|
||||
cfg-if-1.0.0
|
||||
char_reader-0.1.1
|
||||
chrono-0.4.19
|
||||
clap-2.34.0
|
||||
cli-log-0.1.0
|
||||
cli-log-2.0.0
|
||||
clipboard-win-4.4.1
|
||||
color_quant-1.1.0
|
||||
coolor-0.3.1
|
||||
crc32fast-1.3.2
|
||||
crokey-0.4.0
|
||||
crokey-proc_macros-0.4.0
|
||||
crossbeam-0.8.1
|
||||
crossbeam-channel-0.5.2
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.7
|
||||
crossbeam-queue-0.3.4
|
||||
crossbeam-utils-0.8.7
|
||||
crossterm-0.19.0
|
||||
crossterm-0.22.1
|
||||
crossterm_winapi-0.7.0
|
||||
crossterm_winapi-0.9.0
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
csv2svg-0.1.6
|
||||
custom_error-1.9.2
|
||||
deflate-0.8.6
|
||||
deser-hjson-1.0.2
|
||||
directories-3.0.2
|
||||
directories-next-2.0.0
|
||||
dirs-sys-0.3.6
|
||||
dirs-sys-next-0.1.2
|
||||
doc-comment-0.3.3
|
||||
either-1.6.1
|
||||
error-code-2.3.1
|
||||
fallible-iterator-0.2.0
|
||||
fallible-streaming-iterator-0.1.9
|
||||
fastrand-1.7.0
|
||||
file-size-1.0.3
|
||||
flate2-1.0.22
|
||||
fnv-1.0.7
|
||||
form_urlencoded-1.0.1
|
||||
getrandom-0.2.5
|
||||
gif-0.11.3
|
||||
git2-0.13.25
|
||||
glassbench-0.3.1
|
||||
glob-0.3.0
|
||||
hashbrown-0.9.1
|
||||
hashbrown-0.11.2
|
||||
hashlink-0.6.0
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
id-arena-2.2.1
|
||||
idna-0.2.3
|
||||
image-0.23.14
|
||||
indexmap-1.8.0
|
||||
instant-0.1.12
|
||||
is_executable-1.0.1
|
||||
itoa-0.4.8
|
||||
itoa-1.0.1
|
||||
jobserver-0.1.24
|
||||
jpeg-decoder-0.1.22
|
||||
lazy-regex-2.3.0
|
||||
lazy-regex-proc_macros-2.3.0
|
||||
lazy_static-1.4.0
|
||||
lfs-core-0.11.0
|
||||
libc-0.2.119
|
||||
libgit2-sys-0.12.26+1.3.0
|
||||
libsqlite3-sys-0.20.1
|
||||
libz-sys-1.1.5
|
||||
line-wrap-0.1.1
|
||||
linked-hash-map-0.5.4
|
||||
lock_api-0.4.6
|
||||
log-0.4.14
|
||||
matches-0.1.9
|
||||
memchr-2.4.1
|
||||
memmap-0.7.0
|
||||
memoffset-0.6.5
|
||||
minimad-0.7.1
|
||||
minimad-0.9.0
|
||||
miniz_oxide-0.3.7
|
||||
miniz_oxide-0.4.4
|
||||
mio-0.7.14
|
||||
miow-0.3.7
|
||||
nix-0.22.3
|
||||
ntapi-0.3.7
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.3.2
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.1
|
||||
num_threads-0.1.4
|
||||
once_cell-1.10.0
|
||||
onig-6.3.1
|
||||
onig_sys-69.7.1
|
||||
open-1.7.1
|
||||
opener-0.5.0
|
||||
parking_lot-0.11.2
|
||||
parking_lot_core-0.8.5
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.1.0
|
||||
phf-0.9.0
|
||||
phf_generator-0.9.1
|
||||
phf_macros-0.9.0
|
||||
phf_shared-0.9.0
|
||||
pkg-config-0.3.24
|
||||
plist-1.3.1
|
||||
png-0.16.8
|
||||
ppv-lite86-0.2.16
|
||||
proc-macro-hack-0.5.19
|
||||
proc-macro2-1.0.36
|
||||
proc-status-0.1.1
|
||||
quick-xml-0.22.0
|
||||
quote-1.0.15
|
||||
rand-0.8.5
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.3
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
redox_syscall-0.2.11
|
||||
redox_users-0.4.0
|
||||
regex-1.5.5
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
remove_dir_all-0.5.3
|
||||
rgb-0.8.32
|
||||
rusqlite-0.24.2
|
||||
ryu-1.0.9
|
||||
safemem-0.3.3
|
||||
same-file-1.0.6
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
secular-1.0.1
|
||||
serde-1.0.136
|
||||
serde_derive-1.0.136
|
||||
serde_json-1.0.79
|
||||
signal-hook-0.1.17
|
||||
signal-hook-0.3.13
|
||||
signal-hook-mio-0.2.1
|
||||
signal-hook-registry-1.4.0
|
||||
siphasher-0.3.10
|
||||
smallvec-1.8.0
|
||||
snafu-0.7.0
|
||||
snafu-derive-0.7.0
|
||||
splitty-0.1.0
|
||||
str-buf-1.0.5
|
||||
strict-0.1.4
|
||||
strsim-0.8.0
|
||||
svg-0.8.2
|
||||
syn-1.0.86
|
||||
syntect-no-panic-4.6.1
|
||||
tempfile-3.3.0
|
||||
termimad-0.10.3
|
||||
termimad-0.20.0
|
||||
terminal-clipboard-0.3.1
|
||||
termux-clipboard-0.1.0
|
||||
textwrap-0.11.0
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
tiff-0.6.1
|
||||
time-0.1.43
|
||||
time-0.3.7
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
toml-0.5.8
|
||||
umask-1.0.1
|
||||
unicode-bidi-0.3.7
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.9.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
users-0.11.0
|
||||
vcpkg-0.2.15
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.4
|
||||
walkdir-2.3.2
|
||||
wasi-0.10.2+wasi-snapshot-preview1
|
||||
weezl-0.1.5
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
x11-clipboard-0.5.3
|
||||
xcb-0.10.1
|
||||
xml-rs-0.8.4
|
||||
xterm-query-0.1.0
|
||||
yaml-rust-0.4.5
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A new way to see and navigate directory trees"
|
||||
HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
|
||||
SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=virtual/rust-1.58"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
local myfeatures=( $(usev X clipboard) )
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local mandate=$(date -r man/page +'%Y/%m/%d' || die)
|
||||
sed -e "s|#version|${PV}|" \
|
||||
-e "s|#date|${mandate}|" \
|
||||
man/page > "${T}"/${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doman "${T}"/${PN}.1
|
||||
|
||||
local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
|
||||
cd ${build_dir[0]} || die
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newbashcomp br.bash br
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _${PN}
|
||||
doins _br
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins ${PN}.fish
|
||||
doins br.fish
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST datovka-4.15.3.tar.xz 2827960 BLAKE2B 765b48f0608f3cbd947e5191778a0ae88e1fcb6679bc252160c8f5ed2b186f672fcfe2b55db67182d9a07676ebab01a272b70fced151e7f8ae027a632c6d9879 SHA512 e3791dae451ce7b42bd50cfdf0191430e3d1b5d8101a70e5c1466296b03d94e798dc080b663ff98bdf9dd80138f5d067ae5d493aeaf89285d66095b24ce15f1a
|
||||
DIST datovka-4.17.0.tar.xz 2942828 BLAKE2B 3ee1c9a02d8d5fe470cd59925f01ec8f420cceef36ddae951136c3b4191582da20c4ce35c64df2428034815ab2f6d498b2cf839e10ad33dcebaf86c919f2ecd1 SHA512 d5ab51c8eba611094bba113e51447d1964fe3833a9b842353168725afedb96aadef39d2f103ff344f0c28d989ec89f429415cb9f89bd5b6c2fbf5338374bbcb5
|
||||
DIST datovka-4.18.0.tar.xz 2966652 BLAKE2B 52210a7575ebff9744c8238c22f2270b22a207d210b09bb7cab4e90decab9bb2314e716abd667ed954c72010c38c939a2e3ae7b4f9b2d51079bda72035c47b1a SHA512 b27ae78734611824aaddd84b3a21c38649bbed8c11e5fb740b929df0bf2b5b28a7e9a98722424603127c98b845eec9882675e5326abf8214fccce676f1cca3bb
|
||||
EBUILD datovka-4.15.3.ebuild 1089 BLAKE2B 4c0bcf9c74adc67452e9f568a0ffd4b7a3f90db313fcb9fc33624a9b51a17b8303ddf6333d9854120c698342dfda60f3f5ec267381edcbb4e5325c3ba33d5bac SHA512 cccf1623c0127be3c5193693724bdbce09d8eafee481940c3dd40cca267ce45d8ab5a049bf314dba07752dc6ba1af23403f269df861147693aed10ef65789404
|
||||
EBUILD datovka-4.17.0.ebuild 1118 BLAKE2B df003f426a03119ca3ea4782e6b65f1d2a0a38530df7caeafb370e88622e26e5c5da32dc6ffecbd55744a235941a882defe843a7cda4391359f4a9698c29b383 SHA512 3ff562f3d2aa0cebdc1a6bb3e342f2ab12610a1f57d31a2c7c95db534d951f47fdb7c6a8fbed6cb0c80b8c05c4061cb63fdc22554cfe3c355b177af31466b582
|
||||
EBUILD datovka-4.18.0.ebuild 1118 BLAKE2B 8a2cc37ebe58d289708adc8443bd571a658d05446bcb8bfd5bbe7a53b0e7ddce930914d1e7834559de08d4fbaa6ee72d2069c94754ed508097eb973353b2dae2 SHA512 777a965441b562f18c52d11d3e12a17114226ca1391ce02d6ab3b0ab974da084d00eb342ff3329247138b19e8a8cb6b23f9446288384eed6ef0e1cb202b6c812
|
||||
EBUILD datovka-4.18.0-r1.ebuild 1151 BLAKE2B 3028ae1b2cb443eab0c29d05ee272feab43cfdb79c71dfe0859cd024c49b058c361d994aff9a477b47f563186eac27e96537336eb06031293c262a4f36efe5b2 SHA512 b488267ac93f3450a6170af6f95fd0a9600270ad525857253025db474d3efd5dd30516bec502385339f1fb7b99e78fa89ddd3afae97a2a26fbad593f667e9cb7
|
||||
MISC metadata.xml 446 BLAKE2B 44b5b1a612879e7159269411acbcbbe6993c0d80bf765d3eed6aeccccae8c1cbccf7223c4073f0a7d57a09605fff0e5c11ba0673f99ce5aa14aeecd4c2e66450 SHA512 012ad05c78078e2f6f055526971d080b370dcbf90d9ce1a3eec90336c8dbedd5140d8a96af67829c22d4fddd9c7e522701d12d99724e13fabb102573464e034e
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils xdg-utils
|
||||
|
||||
DESCRIPTION="GUI to access the Czech data box e-government system"
|
||||
HOMEPAGE="https://www.datovka.cz/"
|
||||
SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="5.14.0:5"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/openssl-1.0.2:0=
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qtnetwork-${QT_PV}
|
||||
>=dev-qt/qtprintsupport-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}[sqlite]
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
>=dev-qt/qtwidgets-${QT_PV}
|
||||
>=net-libs/libisds-0.11
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-qt/linguist-tools-${QT_PV}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DOCS=( ChangeLog README )
|
||||
|
||||
src_configure() {
|
||||
lrelease datovka.pro || die
|
||||
eqmake5 PREFIX="/usr" DISABLE_VERSION_NOTIFICATION=1 TEXT_FILES_INST_DIR="/usr/share/${PN}/"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils xdg-utils
|
||||
|
||||
DESCRIPTION="GUI to access the Czech data box e-government system"
|
||||
HOMEPAGE="https://www.datovka.cz/"
|
||||
SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="5.14.0:5"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/openssl-1.0.2:0=
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qtnetwork-${QT_PV}
|
||||
>=dev-qt/qtprintsupport-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}[sqlite]
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
>=dev-qt/qtwidgets-${QT_PV}
|
||||
>=net-libs/libisds-0.11
|
||||
>=app-misc/libdatovka-0.1.2
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-qt/linguist-tools-${QT_PV}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DOCS=( ChangeLog README )
|
||||
|
||||
src_configure() {
|
||||
lrelease datovka.pro || die
|
||||
eqmake5 PREFIX="/usr" DISABLE_VERSION_NOTIFICATION=1 TEXT_FILES_INST_DIR="/usr/share/${PN}/"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
AUX mc-4.8.26-ncurses-mouse.patch 612 BLAKE2B ba3324dfee320a6c08c65ec8bf7784075f8a36c111ffa75129251674152cea68cde87844d5849c82111d4fad779c1d13992a7d765c4bc48b39d865ab1f89cbb6 SHA512 f97025ad7b3719b372368028ad9428e0cac67069d04e70b2e2923dd998a9f687f0807254bdc859218869e1666db80807fd53c19291e2921b420bc357e79d9406
|
||||
AUX mc-4.8.28-tests.patch 1308 BLAKE2B 37f2d2a3264386d558212741d95c68c9362676d727d4d2b47a690dd6ad97c15ff943b3950cc28456ffceda78e88645bd6f73958a592f425594e727cc383721cf SHA512 41499d5ee4a7d0bf3e08c6fad56c2d46e3761f4f7359db1351c4ca1358a9ba33be7979df55d19263214acb3ea01271278efccff72d32ea3cf8a3cfb84a964f47
|
||||
DIST mc-4.8.27.tar.xz 2510296 BLAKE2B efb0f3a8beb7285a793085a8e3b3a49619d0f8a4babff7de90f7a462cf6c013bbc08b92bc48e2c2e2204799332cd0160a86e201d9368cabde78e653b4306763f SHA512 c955d66cee06e3a0e0c795f2f6b98b184762363390a903cf8ef83dc5e98e6e94d5a9c06c4788d9ff4b3ae111541df8c7dc0b864a5c21c40421a81cd8690e9a69
|
||||
DIST mc-4.8.28.tar.xz 2333072 BLAKE2B f4218e6c166df85b7b3736f0fd1414c9507c72074f06001f12b114ce6c6fbbf3688ab850aa70f5063eb3920736f878e113eb39a5d261ccfc3ffa9dab473a8436 SHA512 ca3b3a57281e9387cb52bf1fcfc3f39a4d5f438aafc256dc492c192678824f67c983a852c759664efc5bc6d0de471c9b3929834f8301f6302ca1ebeee513fdfd
|
||||
EBUILD mc-4.8.27.ebuild 3277 BLAKE2B f0ad166643a2f22cac89583cb6793e47462a96a9d5acef7870fec3598403cd356e2bdedab092601371f3aa18a3e76596caaae3fa48a454051aa5af39c6bbe6c3 SHA512 282ac6d42a7de75cc3973ffa4259d33ce32eb0b7f1714f136f2dd349f09481fbe6aad7086d0f5bb4d6a0a24389bae4bd7b0962c5c573718bd5019750d676b605
|
||||
EBUILD mc-4.8.28.ebuild 3236 BLAKE2B 369d2786eb82bcbaf2151ef8c6ab3e4a8dfed8558f37b0ddc5839096d64c474a23f3b34495725b487830b6ea2355f171ea115687a0caee1e1ef3faf4e32d499d SHA512 66c24fddb327cc7c0e6ad317124f3ce169b9856706ce59e0172e3e4a50bcc35e1b4b15c88222c8839712f79b33f42d5977dab0f9a3b7e3a4f15904f3a48e4554
|
||||
EBUILD mc-4.8.28.ebuild 3276 BLAKE2B 465299020b14801c598da4fa1ec5ee33b07b4e0725ee17fd0a6f913072d8b638fe888fb45262fca3148261d0b0997f517ddcf58c750c0051ac22e7c5c42037af SHA512 013203b1821dc21d30a81c645d5f49cb3790f6644c55a16df68c765576ee482ac6d06a7a52dfe1f7bd59cd39fb0e2aaa9c03c68711eca7904194932e10dc18ad
|
||||
EBUILD mc-9999.ebuild 3561 BLAKE2B 4c7bd6ec644bfbccd2585244d683edfeb4c5bdf023c6eb866424ae11bd9138a99af2ce4dad7bd512853f6ebf18520319019c213b1036d9935563c29de24820c8 SHA512 93485a23e82d8584de49c2b8abbd8bf1ddbf3c2d722742d01b820b31befef9829c6f3de0eb69d3005109ea7f03d5ace7eee0eece5ad89862030faadb2bfbd908
|
||||
MISC metadata.xml 771 BLAKE2B 9680a9a9c9cdd9dd6c7972947f8d62eab08e14c8c1285009f4f55a90409bca51ea9bf72be913eb5812db7723230fa469acbc731a959b7caaa9473136b68115e4 SHA512 5c4dd207f8f3fc8c33bf571c78f50e51a4331ddddaa1b0cfdee93601b86d34a234482a1168ba021440fde04bcc4e034e223e89413a034ddf21faca08a112a9e9
|
||||
|
@ -0,0 +1,35 @@
|
||||
START_TEST uses the variable name _i, so GCC complains about redefining it with
|
||||
a different type here.
|
||||
|
||||
--- mc-4.8.28/tests/lib/strutil/filevercmp.c 2022-03-20 10:02:47.000000000 +0000
|
||||
+++ mc-4.8.28/tests/lib/strutil/filevercmp.c 2022-03-27 15:31:19.812120141 +0100
|
||||
@@ -353,20 +353,20 @@
|
||||
START_TEST (filevercmp_test5)
|
||||
/* *INDENT-ON* */
|
||||
{
|
||||
- size_t _i;
|
||||
+ size_t ii;
|
||||
|
||||
- for (_i = 0; _i < filevercmp_test_ds5_len; _i++)
|
||||
- for (; filevercmp_test_ds5[_i] != NULL; _i++)
|
||||
+ for (ii = 0; ii < filevercmp_test_ds5_len; ii++)
|
||||
+ for (; filevercmp_test_ds5[ii] != NULL; ii++)
|
||||
{
|
||||
- const char *i = filevercmp_test_ds5[_i];
|
||||
- size_t _j;
|
||||
+ const char *i = filevercmp_test_ds5[ii];
|
||||
+ size_t jj;
|
||||
|
||||
- for (_j = _i; filevercmp_test_ds5[_j] != NULL; _j++)
|
||||
+ for (jj = ii; filevercmp_test_ds5[jj] != NULL; jj++)
|
||||
{
|
||||
- const char *j = filevercmp_test_ds5[_j];
|
||||
+ const char *j = filevercmp_test_ds5[jj];
|
||||
|
||||
- ck_assert_int_eq (test_filevercmp (i, j), 0);
|
||||
- ck_assert_int_eq (test_filevercmp (j, i), 0);
|
||||
+ ck_assert_int_eq (test_filevercmp (i, j), 0);
|
||||
+ ck_assert_int_eq (test_filevercmp (j, i), 0);
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX highway-0.16.0-fix-AVX512-detection-on-IceLakeClient.patch 569 BLAKE2B 89915c3fc3e934415026bbc8e19bd8d50b6e3e438f1942b0345832ae6067f7ffaf714d3b99efd3876c6774966cb0cdee05f1dc87788b37c072199d5c714cb937 SHA512 99333059c069f09c59281a7f464805eb41cc6da627dd11ac7dcc565fd688532f162776897ebf506c50e58f17dc7a9486214cc1ec683cb8b2c7efa8b767574410
|
||||
DIST highway-0.16.0.tar.gz 1639388 BLAKE2B 660b0079b25a12a2e982b4ba16147b923d167989a7dc1c0cb65ebe5219577f2f02c8774a554fd3fe9e1c10ef7b1cf5db747500bd8acf454e26952722f7b5ac9e SHA512 c08e66f43d9d0b307737b016cfa6c3d3a1df9bd528de435d193388104f34c264866c5ff0da633fc0a6f8c50f21df1ac653e9dd3f6fbfaf227d636411ac14cd47
|
||||
EBUILD highway-0.16.0.ebuild 865 BLAKE2B bcfacafc475dd05cb21bc1f757cde7f83798be0e0836987ec5289aa8628c0588363de2117b4bd86c816bc5f948c416d767a1660b297e1b86c49c9f3de6b715c7 SHA512 b020595afa836c92fe12549746cbaed9952f6ee485f521d85bb7276088d651cc8d89acb8bcb6181077a0913329e6cc07560f3fb5dcfd1fc88c6fc44174d04b2d
|
||||
EBUILD highway-0.16.0-r1.ebuild 942 BLAKE2B 9fb7283832fd7064ecfd2737d2211788004763fb9ce97a70af64ca9867d50c42d2cd0f34e32608179cc3950aa59cd1a2e5f5d22a0eb5404a1b03355ceb5f41d0 SHA512 320e54fbba2da543642ea3d01c355bb2ece387aa5f96cfaffed33ef480285ab57fe89f1a96308d14dd4b73d1d35391f77e8700002b6733c6ac72f5589a5eb892
|
||||
EBUILD highway-9999.ebuild 834 BLAKE2B bb10c9e76cac9a5149824c3f7def1928cbb19db5f7612aa22b8d5aace561483cb7d391e95a21be12edb73c87b3ce5e2a0ae4bb652ea8cfc2f9976b9afecdad8c SHA512 68cf57994bbed31f0ecc10e876ab78edef1af6c1af5be91e2d6ee7758b962799104873795d7c6ce443a2b4cc68c2324823b4e0d8233ca95eeeeb61b042bb5487
|
||||
MISC metadata.xml 616 BLAKE2B d7aed88bf99a4e1370c0007e2eeb0d9e8a64c888cf1ef428f5096e40d75497a7255ceeeb73b68d7bb3afe44f65073811759dbb61f2270d4a8fdbc0721c7b27dd SHA512 855f548c51686530649f9eb1d5a8f4441f8dca8377622acc3cd32562b58556000dec77ba7c162e8f00443e85b75fde81d2cc900c1741ed76f815e3521d2602e4
|
||||
|
@ -0,0 +1,17 @@
|
||||
https://github.com/google/highway/commit/daf441c78191b3433410498d27a5bfdfdf93a142
|
||||
|
||||
diff --git a/hwy/targets.cc b/hwy/targets.cc
|
||||
index 2a0ab4ef..7e7e2d79 100644
|
||||
--- a/hwy/targets.cc
|
||||
+++ b/hwy/targets.cc
|
||||
@@ -328,8 +328,8 @@ uint32_t SupportedTargets() {
|
||||
if (!IsBitSet(xcr0, 2)) {
|
||||
bits &= ~uint32_t(HWY_AVX2 | HWY_AVX3 | HWY_AVX3_DL);
|
||||
}
|
||||
- // ZMM + opmask
|
||||
- if ((xcr0 & 0x70) != 0x70) {
|
||||
+ // opmask, ZMM lo/hi
|
||||
+ if (!IsBitSet(xcr0, 5) || !IsBitSet(xcr0, 6) || !IsBitSet(xcr0, 7)) {
|
||||
bits &= ~uint32_t(HWY_AVX3 | HWY_AVX3_DL);
|
||||
}
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST sqlcipher-3.4.2.tar.gz 14743960 BLAKE2B 88ee265b02bb9a42734c2ef93070c8fd8e13d546d7cc85e7fbfd6e6046ccbf2626d75e14b19cbba379c99784c7311d0100de06235b99b4908c60c99890d8d7a2 SHA512 c620bf2b175e404afd60ebe76b5476f5a447ff5fcdfa31bebc3f4bd7f1ebfcd507ee423cd582c9b3d6431d8b57320171492da2586e1a739adb4f440e7443dc03
|
||||
DIST sqlcipher-4.0.1.tar.gz 17006324 BLAKE2B 44e8eb4e1230c3625b4fe1b4af608cd8edc25f3c6adf7e11450c8f9ddb7970fea92ff0823f3a1e631d1b0acfbab6cf078c80e4645c535d66de57f1d73b55ff47 SHA512 0fb48326860a10e9849b2f56fae0c310deae124c7203b54d51f92d346782be795d505c29eafbdfb7206f5e7be54c0f7228fe50c45bd9d2b23cca976b263264fc
|
||||
EBUILD sqlcipher-3.4.2.ebuild 1365 BLAKE2B 933d675598bdb8012801b22ad767844968be7610513f4a5fc2aa32924c3ceb643b1ef4489ed93b8b279e4ba7016108ce85bc469b7fae5c6ab2db1ce4790d5720 SHA512 09ddf442ccb84e6be97d3a739fd96e9c41f2719339e73c2c61431e378ca841a0e460f18bb6a33a73141807b1cbd3118cab29024364d2886df84999062341b8de
|
||||
DIST sqlcipher-4.5.1.tar.gz 18132121 BLAKE2B 233ffbd9636eae78533553325f08fa3ceb1e01ce0d809be44ca8ed64d46478d6a70dd40f81c38a1f0524986932ebe8614e52fda9dfc1c2f20134692cac7d4b16 SHA512 157ab90e1b80ae9ae85c68c6b77008fe8ab5b526cbb2604297a5ba54279286b4cac1fecd0db552e0113a75ff61a198f649611b8bde4dec5156c443e7b7fbe0c3
|
||||
EBUILD sqlcipher-4.0.1.ebuild 1581 BLAKE2B 032a1f9743e926ac051241b27c24e762b7e7360aab7eef8f9f137a838f9ff4142eacae709adec0ed37d8b0ddc37a0dbd1556cb88dfba4491938a4d1ddb1a2e8c SHA512 c1ea4418e572a28e240a41e7649ffd84418d50c5943f4c49a8097fe5e7e52cfd25f56827bcaa932695fa800efcc5fd3ee927720247747811296c2991fce14c78
|
||||
EBUILD sqlcipher-4.5.1.ebuild 1583 BLAKE2B 14f83d16acd21dfc42de299afe5c97e780947f23156d74e04a402b802f02785d11ffe82328b9e4467595c2c6f78444719f3fad4316af4bb304fa54585632c743 SHA512 2b73dc38db811c2bcffb0f43aea883574a75120c695c57727a881124912b4c9f7670fd755d93d23acfb452cd9be67ee812a97797b128f23f89a63bbee7acad48
|
||||
MISC metadata.xml 342 BLAKE2B 8b5efdecc7c683933b65a9f82c8744d618f1550aa990b3c1d17a63bac32101cb6beba5506d587bd9f96105bb01f4967ffbd1a64255ed183a54749d28892c7e1f SHA512 9d8dd1a27aeba6f0c12a4665887eee68bbe4a5c53a9f8bff8c207e81e06aa9d50bd31177c1eae0b5e89170ee6f10951626bc72b28372dfafbe6271acd393635c
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
QT_VER=5.7.1
|
||||
inherit cmake-utils flag-o-matic xdg-utils
|
||||
|
||||
DESCRIPTION="Powerful GUI manager for the Sqlite3 database"
|
||||
HOMEPAGE="https://sourceforge.net/projects/sqliteman/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-${QT_VER}:5
|
||||
>=dev-qt/qtgui-${QT_VER}:5
|
||||
>=dev-qt/qtsql-${QT_VER}:5[sqlite]
|
||||
>=dev-qt/qtwidgets-${QT_VER}:5
|
||||
>=x11-libs/qscintilla-2.9.4:=[qt5(+)]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-lpthread.patch"
|
||||
"${FILESDIR}/${P}-qt5.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# remove bundled lib
|
||||
rm -rf "${S}"/${PN}/qscintilla2 || die
|
||||
|
||||
append-flags -fPIC
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST apache-ivy-2.5.0-src.tar.gz 2719181 BLAKE2B 71c47e3493beac8de1bc4e8c86ae18383938265dd2803a1c4b9ad466306227dab9eeca256516ff94064d902d0694b4f0b35ce152c5f64b95b876e47289b25833 SHA512 59d9458345e3a51e8f527258ba26ebe2cf5cf257401c52fb5f75aced0da5f7bf36f8aa0f202bbc0cf029d1d49bd6634f7cb8b65ccc828eb55ff7084430879268
|
||||
EBUILD ant-ivy-2.5.0-r1.ebuild 8558 BLAKE2B 76dc5420f88510014df56e19f113f5daa7cf438fab150ec84a5bb55c29c051ee0dec5e4b94992f001d456842672c92acbe2330f28934a4a25e1a5002b42dd7d3 SHA512 ebe13d31a2f096c9f2c88cfff1c048cb2a9ce35f60664fb2093faf1b2477d819f4775ef2a6ffed0e12c79c048fec9f3cc05f7102191a362db80a2746a42781dc
|
||||
EBUILD ant-ivy-2.5.0.ebuild 8495 BLAKE2B a78606e6844fe8c7c584695aec2f8c4d1a2d5a7d60fbba7e4e097a2715be9d1ec5cea5d282a0b95c3ae4fb0a06f5aea9768111c48d0d8e17f283c27db9efdc77 SHA512 95b72255d71bbb6e0d773f5d519f19ed8bcaaff2f907052f28d3cd7f7cd848e550c5b8d4c39537c61df14d5d51895f4dead1f4c9707c4629f45ad4970e1974e5
|
||||
MISC metadata.xml 853 BLAKE2B deb1f7bed1e2828ff976d7a325fdd193fd099d911849bb53320e2093dd9030056b71858ad24bad3308570bf8ef6cf9c4a1d542ce47417683d484327de3a76d0c SHA512 960bc190397b3b2264dbd62b6487c383d11bbe73460ba76791d720fe4f78713158917b45b7e437707ef63dd87c0863caa333b0a9089b66b521792748a52085a1
|
||||
|
@ -0,0 +1,184 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.apache.ivy:ivy:2.5.0"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple java-osgi
|
||||
|
||||
DESCRIPTION="Ivy is a free java based dependency manager"
|
||||
HOMEPAGE="https://ant.apache.org/ivy/"
|
||||
SRC_URI="mirror://apache/ant/ivy/${PV}/apache-ivy-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-java/ant-core:0
|
||||
dev-java/bcpg:0
|
||||
dev-java/bcprov:0
|
||||
dev-java/httpcomponents-client
|
||||
dev-java/commons-vfs:2
|
||||
dev-java/httpcore:0
|
||||
dev-java/jakarta-oro:2.0
|
||||
dev-java/jsch:0
|
||||
dev-java/jsch-agent-proxy:0
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
dev-java/ant-junit4:0
|
||||
dev-java/ant-junitlauncher:0
|
||||
dev-java/ant-testutil:0
|
||||
dev-java/hamcrest-core:1.3
|
||||
dev-java/hamcrest-library:1.3
|
||||
dev-java/xmlunit:1
|
||||
)"
|
||||
|
||||
# Restrict to jdk:1.8 since java.util.jar.Pack200 was removed.
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/jdk:1.8"
|
||||
RDEPEND="${CDEPEND}
|
||||
virtual/jre:1.8"
|
||||
|
||||
DOCS=( LICENSE NOTICE README.adoc )
|
||||
|
||||
S="${WORKDIR}/apache-ivy-${PV}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="ant-core,bcpg,bcprov,httpcomponents-client-4,commons-vfs-2,httpcore,jakarta-oro-2.0,jsch,jsch-agent-proxy"
|
||||
JAVA_MAIN_CLASS="org.apache.ivy.Main"
|
||||
JAVA_SRC_DIR="src/java"
|
||||
JAVA_RESOURCE_DIRS="resources/java"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="ant-junit,ant-junit4,ant-junitlauncher,ant-testutil,hamcrest-core-1.3,hamcrest-library-1.3,junit-4,xmlunit-1"
|
||||
JAVA_TEST_SRC_DIR="test-src/java"
|
||||
JAVA_TEST_RESOURCE_DIRS="test"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="ant-ivy.jar:test.jar:custom-resolver.jar"
|
||||
|
||||
# according to 57,60 build-release.xml
|
||||
# https://github.com/apache/ant-ivy/commit/c0c8df492d2312c983f50cfdc5841e18177f6f7b
|
||||
JAVA_TEST_EXTRA_ARGS="-Divy.cache.ttl.default=1s -Dskip.download=true -Divy.home=/tmp -D/offline=true"
|
||||
|
||||
# Several tests require a certain treatment to "generate-bundles":
|
||||
# https://github.com/apache/ant-ivy/blob/48234fc5ede85a865eb874a96c08472ce1751fd1/build.xml#L426-L428
|
||||
# <ant dir="${basedir}/test/test-repo" target="generate-bundles"/>
|
||||
#
|
||||
# The procedure is coded in https://github.com/apache/ant-ivy/blob/48234fc5ede85a865eb874a96c08472ce1751fd1/test/test-repo/build.xml#L19-L71
|
||||
# but appears too difficult to be reprodused with 'java-pkg-simple.eclass'.
|
||||
# So the failing tests will be excluded, saved for a later attempt.
|
||||
#
|
||||
# Not excluding any test classes results in "Tests run: 1109, Failures: 98"
|
||||
# Excluding those test classes listed below leads to "OK (812 tests)"
|
||||
JAVA_TEST_EXCLUDES=(
|
||||
# https://github.com/apache/ant-ivy/blob/083e3f685c1fe29092e59c63b87e81d31fc9babe/build.properties#L56
|
||||
# test.class.pattern = *Test
|
||||
"org.apache.ivy.ant.testutil.AntTaskTestCase" # not in scope
|
||||
"org.apache.ivy.core.TestPerformance" # not in scope
|
||||
"org.apache.ivy.util.TestXmlHelper" # not in scope
|
||||
"org.apache.ivy.TestFixture" # not in scope
|
||||
"org.apache.ivy.TestHelper" # not in scope
|
||||
# https://github.com/apache/ant-ivy/blob/48234fc5ede85a865eb874a96c08472ce1751fd1/build.xml#L412-L420
|
||||
# <exclude name="**/Abstract*Test.java"/>
|
||||
"org.apache.ivy.util.url.AbstractURLHandlerTest"
|
||||
"org.apache.ivy.plugins.resolver.AbstractDependencyResolverTest"
|
||||
"org.apache.ivy.plugins.matcher.AbstractPatternMatcherTest"
|
||||
# following excluded tests cause test failures
|
||||
"org.apache.ivy.ant.BuildOBRTaskTest" # Tests run: 3, Failures: 2
|
||||
"org.apache.ivy.core.deliver.DeliverTest" # Tests run: 1, Failures: 1
|
||||
"org.apache.ivy.core.module.descriptor.IvyMakePomTest" # Tests run: 1, Failures: 1
|
||||
"org.apache.ivy.core.settings.XmlSettingsParserTest" # Tests run: 29, Failures: 1
|
||||
"org.apache.ivy.osgi.core.AggregatedOSGiResolverTest" # Tests run: 3, Failures: 1
|
||||
"org.apache.ivy.osgi.obr.OBRResolverTest" # Tests run: 16, Failures: 16
|
||||
"org.apache.ivy.osgi.repo.BundleRepoTest" # Tests run: 4, Failures: 3
|
||||
"org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParserTest" # Tests run: 46, Failures: 1
|
||||
"org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParserTest" # Tests run: 44, Failures: 7
|
||||
"org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorWriterTest" # Tests run: 10, Failures: 1
|
||||
"org.apache.ivy.plugins.parser.xml.XmlModuleUpdaterTest" # Tests run: 14, Failures: 3
|
||||
"org.apache.ivy.plugins.resolver.JarResolverTest" # Tests run: 3, Failures: 3
|
||||
# following excluded tests can pass if run individually
|
||||
"org.apache.ivy.ant.IvyConfigureTest" # OK (14 tests)
|
||||
"org.apache.ivy.IvyTest" # OK (1 test)
|
||||
"org.apache.ivy.MainTest" # OK (12 tests)
|
||||
"org.apache.ivy.plugins.report.XmlReportWriterTest" # OK (3 tests)
|
||||
"org.apache.ivy.plugins.resolver.BintrayResolverTest" # OK (12 tests)
|
||||
"org.apache.ivy.plugins.resolver.ChainResolverTest" # OK (15 tests)
|
||||
"org.apache.ivy.plugins.resolver.FileSystemResolverTest" # OK (27 tests)
|
||||
"org.apache.ivy.plugins.resolver.IBiblioMavenSnapshotsResolutionTest" # OK (1 test)
|
||||
"org.apache.ivy.plugins.resolver.IvyRepResolverTest" # OK (3 tests)
|
||||
"org.apache.ivy.plugins.resolver.Maven2LocalTest" # OK (2 tests)
|
||||
"org.apache.ivy.plugins.resolver.PackagerResolverTest" # OK (3 tests)
|
||||
"org.apache.ivy.plugins.resolver.URLResolverTest" # OK (5 tests)
|
||||
"org.apache.ivy.plugins.trigger.LogTriggerTest" # OK (3 tests)
|
||||
# Without PROPERTIES="test_network", the following test cause additional failures.
|
||||
"org.apache.ivy.core.settings.OnlineXmlSettingsParserTest"
|
||||
# "org.apache.ivy.osgi.updatesite.UpdateSiteAndIbiblioResolverTest"
|
||||
"org.apache.ivy.osgi.updatesite.UpdateSiteLoaderTest"
|
||||
# "org.apache.ivy.plugins.resolver.IBiblioResolverTest"
|
||||
# "org.apache.ivy.plugins.resolver.MirroredURLResolverTest"
|
||||
"org.apache.ivy.util.url.ArtifactoryListingTest"
|
||||
# "org.apache.ivy.util.url.BasicURLHandlerTest"
|
||||
# "org.apache.ivy.util.url.HttpclientURLHandlerTest"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mkdir --parents "${JAVA_RESOURCE_DIRS}/META-INF" || die
|
||||
pushd "${JAVA_RESOURCE_DIRS}"
|
||||
cp "${S}"/{NOTICE,LICENSE} META-INF/ || die
|
||||
cp -r "${S}"/src/java/* . || die
|
||||
|
||||
# DEPRECATED: 'ivyconf' element is deprecated, use 'ivysettings' instead
|
||||
# according to 210,221 build.xml and still in the upstream .jar file
|
||||
cp org/apache/ivy/core/settings/ivy{settings,conf}-local.xml || die
|
||||
cp org/apache/ivy/core/settings/ivy{settings,conf}-default-chain.xml || die
|
||||
cp org/apache/ivy/core/settings/ivy{settings,conf}-main-chain.xml || die
|
||||
cp org/apache/ivy/core/settings/ivy{settings,conf}-public.xml || die
|
||||
cp org/apache/ivy/core/settings/ivy{settings,conf}-shared.xml || die
|
||||
cp org/apache/ivy/core/settings/ivy{settings,conf}.xml || die
|
||||
|
||||
find . -type f -name '*.java' -exec rm -rf {} + || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://github.com/apache/ant-ivy/blob/48234fc5ede85a865eb874a96c08472ce1751fd1/build.xml#L396-L407
|
||||
# name="build-custom-resolver-jar"
|
||||
JAVA_SRC_DIR="test/custom-classpath"
|
||||
JAVA_JAR_FILENAME="test/java/org/apache/ivy/core/settings/custom-resolver.jar"
|
||||
java-pkg-simple_src_compile
|
||||
|
||||
# Without "license.xml" the tests won't even start. "Tests run: 1109, Failures: 318"
|
||||
jar -cf test.jar \
|
||||
-C test/java org/apache/ivy/plugins/parser/xml/license.xml \
|
||||
-C test/java org/apache/ivy/plugins/parser/m2/license.xml || die
|
||||
|
||||
# Reduce number of failures to "Tests run: 1109, Failures: 98"
|
||||
jar -uf "test.jar" -C test/java . || die
|
||||
|
||||
# Separate *.java files from test resources
|
||||
# https://github.com/apache/ant-ivy/blob/48234fc5ede85a865eb874a96c08472ce1751fd1/build.xml#L389-L393
|
||||
mkdir test-src || die
|
||||
cp -r test/java test-src/ || die
|
||||
find test -type f -name '*.java' -exec rm -rf {} + || die
|
||||
|
||||
# https://github.com/apache/ant-ivy/blob/48234fc5ede85a865eb874a96c08472ce1751fd1/build.xml#L430-L438
|
||||
# name="prepare-test-jar-repositories"
|
||||
mkdir test/jar-repos || die
|
||||
jar -cfM "test/jar-repos/jarrepo1.jar" -C test/repositories/1 . || die
|
||||
# jar -cfM "test/jar-repos/jarrepo1_subdir.jar" -C test/repositories 1/**/*/ || die
|
||||
|
||||
java-pkg-simple_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
java-osgi_dojar-fromfile "ant-ivy.jar" "META-INF/MANIFEST.MF" "ant-ivy"
|
||||
use doc && java-pkg_dojavadoc target/api
|
||||
use source && java-pkg_dosrc src/*
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST apiguardian-api-1.1.2.tar.gz 67267 BLAKE2B 27bbe157f23c0904863d093930968854771f4c6b1bc6b6a6e6b86604383abd291348fa8b009d760b3bc739bbfbdb74e9429942ce1acf4bfc52e29e79386f2059 SHA512 7c56ee15e0aba07e95b6f2fe7cedd98e449e774958eb63b2467066c381e1e82ad67c982c2885e18154c62e55fda80a1c2e0f689253afe449db9f7e7563122db6
|
||||
EBUILD apiguardian-api-1.1.2.ebuild 740 BLAKE2B 6c3ec891656ec13c25843e6fba68235eb8db87018b2516aac44bfb899c8087d5e81db4097cb793b812741bbd52f1ebff8af93308c7014be39bfb5ec45905cf13 SHA512 8b6f3b156fa24ec789ebea1d783a300c3796c83465e66f64fb6e395d95e3a2ac62d25a8c76d20221802dc797ba64dd3d9ca19cb23ba55de89f2e55c0d03ea492
|
||||
MISC metadata.xml 629 BLAKE2B b4b1e0ab2868f0953bbd02fc2ce392f9cc8303a6ba838ac5db93ac1942cbc07c184f1acdce977ba68cf7a842eb9a69d3cb67c9d8ae2631f4f22ba246e514e1ee SHA512 5c8ed27778be5acc2cd4396b72d464d30245667de22183d375c25e1e7fae3a69711557688d22d82fb4876d781c73a50fc0dc5114fd39127446249024c553cb5d
|
@ -0,0 +1,36 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apiguardian:apiguardian-api:1.1.2"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="@org.apiguardian.api.API Java annotation provider"
|
||||
HOMEPAGE="https://github.com/apiguardian-team/apiguardian"
|
||||
SRC_URI="https://github.com/apiguardian-team/apiguardian/archive/r${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
S="${WORKDIR}/${PN%-api}-r${PV}"
|
||||
|
||||
JAVA_SRC_DIR=( src/{main,module}/java )
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">apiguardian-team/apiguardian</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
Library that provides the @API annotation that is used to annotate public types, methods, constructors, and fields within a framework or application in order to publish their status and level of stability and to indicate how they are intended to be used by consumers of the API.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,3 @@
|
||||
DIST opentest4j-1.2.0.tar.gz 77616 BLAKE2B a331cc5e97d1e50b3b57e6aac926278d16f4d75067b4e4b25acb5ee25d4d4cd9d1f75c115155303ec63f5cb22b09ad1cbaa01d62620b350dd2c1d61541657b78 SHA512 cd98d976935de97d259ec4c04510334f2b56f8a32db2c97e0f20a2e3b99f119ffeb390589eb42d4594808d96194067871d5eaad6a40dd58af30b9f995b13ef08
|
||||
EBUILD opentest4j-1.2.0.ebuild 746 BLAKE2B 7050e49a9b982258eb82304702bc78315e3d72d277effe3a586260ff67ddf3205441731fe37dc6d932a18006ea346a13724396aac9511885fddbe4dc33d6e6c6 SHA512 ee3394bfc5c99d87d19202e149eff2746613766ab6b17964e2b64550a8c849b1febe8e2106442ef235722ab2ce8d40510cdfd014aed29aa5f2b3f85596c82084
|
||||
MISC metadata.xml 302 BLAKE2B ea077bd25f3dc10129d182bad603f229905bea89332134c5a8792983bc5d338452087844adc12a7a0c1496ebd2df6c1fa0fb4c55198cf84885ab2f1ba99bfc72 SHA512 b88e1884b81818b405494ce7eff1790d3e726c66a6a04fa4caf510c8178893f5afd31d867893b118051db4a06954b73b783341b5eb2b7e8779e76ddc520d9636
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ota4j-team/opentest4j</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,34 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.opentest4j:opentest4j:1.2.0"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Open Test Alliance for the JVM"
|
||||
HOMEPAGE="https://github.com/ota4j-team/opentest4j"
|
||||
SRC_URI="https://github.com/ota4j-team/opentest4j/archive/r${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-r${PV}"
|
||||
|
||||
JAVA_SRC_DIR=( src/{main,module}/java )
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR=( src/test/java )
|
||||
JAVA_TEST_RESOURCE_DIRS=( src/test/resources )
|
@ -0,0 +1,4 @@
|
||||
AUX univocity-parsers-2.9.1-explicitly-import-Record.patch 7598 BLAKE2B dabf3f190ecedc9f8897418ffb03351c9dc2b6db2d0cece5325997ba7b6b99da5a52466fbef920a5c09785874f99422c0eaba70031159a5186a26109a8fbc275 SHA512 80a84722a81a97b3f799dc2962c19b7bed077170a436e09a4440d536ec78ab6a994df7dfe1e4e3ea30c9fdecfb61f5f78147fa0045b63cfc3d274952b4dffb47
|
||||
DIST univocity-parsers-2.9.1.tar.gz 486417 BLAKE2B 4da3d31a1e57613731a0e112dfedcb084e57a2d0b6568e14f49986c447a080cb2cf8c530a6bb0ed30026a3afe5c5c648de2b4559eeca9432c5e13b5eb9b92b67 SHA512 f22062a277015c5f7fdc10b192ff07576baa6a8b67116bdc8e9aed37a70b6f3268a8faf0e422620be63deff13e3d74d4606f7c972cd9b4afda553f88feb75887
|
||||
EBUILD univocity-parsers-2.9.1.ebuild 981 BLAKE2B cde807edd70b02ad0e71da6ba057da4b94effb8684795ff0d481418a7f8bb6fa6ac2bbe43b81abd922754b9c8c914adb3b7e0dab4f073232dee3b9d6f1857b84 SHA512 4994d40cf0d7a542935d63ab8132a1ae9064002703e8a07e46f781ef7e72210bae85637fabfa4d2e9da43f9f1ae6852d47cdb729e22b5f912b9a0f1c4f686f95
|
||||
MISC metadata.xml 562 BLAKE2B a15a9a3770842da39b54d159216f2aaa51d45034c85e88001a2be7132ba7d9723f15c0a4ff9a3a90aa1fd4748b36ed74ac51a4ef5d9bfcbaeb48f51d5c5fe06a SHA512 3999b470a7b5318086021ba8df7b47f545658b096e1151ef6b56a73623c43f3bf2a6da7a35dd4911de764068524b8bb9ee7d511ed3d5d8d44dd0a9e06129df06
|
@ -0,0 +1,159 @@
|
||||
From 6dffca791430639ca06dc6f2d9c309e085d8ba32 Mon Sep 17 00:00:00 2001
|
||||
From: Yuan Liao <liaoyuan@gmail.com>
|
||||
Date: Mon, 4 Apr 2022 09:36:20 -0700
|
||||
Subject: [PATCH] Fix "reference to Record is ambiguous" for JDK 16+
|
||||
|
||||
Since Java 16, a new java.lang.Record class has been added to the Java
|
||||
SE API. Classes under the java.lang package, including this Record
|
||||
class, are automatically imported in any Java source file. Because this
|
||||
project also has a com.univocity.parsers.common.record.Record interface,
|
||||
when it is being compiled on JDK 16 and above, there would be an
|
||||
ambiguity as to which class/interface to use for the 'Record' type:
|
||||
|
||||
src/main/java/com/univocity/parsers/common/Context.java:136: error: reference to Record is ambiguous
|
||||
Record toRecord(String[] row);
|
||||
^
|
||||
both interface com.univocity.parsers.common.record.Record in com.univocity.parsers.common.record and class java.lang.Record in java.lang match
|
||||
|
||||
The resolution to this issue is simply to import the Record interface
|
||||
under this project explicitly in every source file using it.
|
||||
|
||||
Bug: https://github.com/Leo3418/junit-5-ebuild-repo/issues/4
|
||||
Reported-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
|
||||
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
|
||||
---
|
||||
src/main/java/com/univocity/parsers/common/AbstractParser.java | 1 +
|
||||
src/main/java/com/univocity/parsers/common/AbstractWriter.java | 1 +
|
||||
src/main/java/com/univocity/parsers/common/Context.java | 1 +
|
||||
src/main/java/com/univocity/parsers/common/ContextWrapper.java | 1 +
|
||||
src/main/java/com/univocity/parsers/common/DefaultContext.java | 1 +
|
||||
.../java/com/univocity/parsers/common/NoopParsingContext.java | 1 +
|
||||
.../java/com/univocity/parsers/common/ParsingContextWrapper.java | 1 +
|
||||
.../com/univocity/parsers/common/iterators/RecordIterator.java | 1 +
|
||||
src/main/java/com/univocity/parsers/fixed/FixedWidthParser.java | 1 +
|
||||
src/main/java/com/univocity/parsers/fixed/Lookup.java | 1 +
|
||||
10 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/AbstractParser.java b/src/main/java/com/univocity/parsers/common/AbstractParser.java
|
||||
index 42191ad..6dd4dac 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/AbstractParser.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/AbstractParser.java
|
||||
@@ -20,6 +20,7 @@ import com.univocity.parsers.common.input.*;
|
||||
import com.univocity.parsers.common.iterators.*;
|
||||
import com.univocity.parsers.common.processor.*;
|
||||
import com.univocity.parsers.common.processor.core.*;
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
import java.io.*;
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/AbstractWriter.java b/src/main/java/com/univocity/parsers/common/AbstractWriter.java
|
||||
index 6a19562..d7a5207 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/AbstractWriter.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/AbstractWriter.java
|
||||
@@ -18,6 +18,7 @@ package com.univocity.parsers.common;
|
||||
import com.univocity.parsers.common.fields.*;
|
||||
import com.univocity.parsers.common.input.*;
|
||||
import com.univocity.parsers.common.processor.*;
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
import com.univocity.parsers.fixed.*;
|
||||
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/Context.java b/src/main/java/com/univocity/parsers/common/Context.java
|
||||
index d0adf5f..f3b28c9 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/Context.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/Context.java
|
||||
@@ -15,6 +15,7 @@
|
||||
******************************************************************************/
|
||||
package com.univocity.parsers.common;
|
||||
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/ContextWrapper.java b/src/main/java/com/univocity/parsers/common/ContextWrapper.java
|
||||
index bee87e8..c338895 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/ContextWrapper.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/ContextWrapper.java
|
||||
@@ -15,6 +15,7 @@
|
||||
******************************************************************************/
|
||||
package com.univocity.parsers.common;
|
||||
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/DefaultContext.java b/src/main/java/com/univocity/parsers/common/DefaultContext.java
|
||||
index 11ea961..7346e64 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/DefaultContext.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/DefaultContext.java
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.univocity.parsers.common;
|
||||
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/NoopParsingContext.java b/src/main/java/com/univocity/parsers/common/NoopParsingContext.java
|
||||
index fe1f07d..79d8787 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/NoopParsingContext.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/NoopParsingContext.java
|
||||
@@ -15,6 +15,7 @@
|
||||
******************************************************************************/
|
||||
package com.univocity.parsers.common;
|
||||
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
import java.util.*;
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/ParsingContextWrapper.java b/src/main/java/com/univocity/parsers/common/ParsingContextWrapper.java
|
||||
index 20a59d8..e8b4f9d 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/ParsingContextWrapper.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/ParsingContextWrapper.java
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.univocity.parsers.common;
|
||||
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
import java.util.*;
|
||||
diff --git a/src/main/java/com/univocity/parsers/common/iterators/RecordIterator.java b/src/main/java/com/univocity/parsers/common/iterators/RecordIterator.java
|
||||
index 01b22cb..1620205 100644
|
||||
--- a/src/main/java/com/univocity/parsers/common/iterators/RecordIterator.java
|
||||
+++ b/src/main/java/com/univocity/parsers/common/iterators/RecordIterator.java
|
||||
@@ -16,6 +16,7 @@
|
||||
package com.univocity.parsers.common.iterators;
|
||||
|
||||
import com.univocity.parsers.common.*;
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
import java.io.*;
|
||||
diff --git a/src/main/java/com/univocity/parsers/fixed/FixedWidthParser.java b/src/main/java/com/univocity/parsers/fixed/FixedWidthParser.java
|
||||
index b38bc99..25285eb 100644
|
||||
--- a/src/main/java/com/univocity/parsers/fixed/FixedWidthParser.java
|
||||
+++ b/src/main/java/com/univocity/parsers/fixed/FixedWidthParser.java
|
||||
@@ -17,6 +17,7 @@ package com.univocity.parsers.fixed;
|
||||
|
||||
import com.univocity.parsers.common.*;
|
||||
import com.univocity.parsers.common.input.*;
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
/**
|
||||
diff --git a/src/main/java/com/univocity/parsers/fixed/Lookup.java b/src/main/java/com/univocity/parsers/fixed/Lookup.java
|
||||
index 1aeff0d..bcf0f98 100644
|
||||
--- a/src/main/java/com/univocity/parsers/fixed/Lookup.java
|
||||
+++ b/src/main/java/com/univocity/parsers/fixed/Lookup.java
|
||||
@@ -16,6 +16,7 @@
|
||||
package com.univocity.parsers.fixed;
|
||||
|
||||
import com.univocity.parsers.common.*;
|
||||
+import com.univocity.parsers.common.record.Record;
|
||||
import com.univocity.parsers.common.record.*;
|
||||
|
||||
import java.util.*;
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">uniVocity/univocity-parsers</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
univocity-parsers is a collection of extremely fast and reliable parsers for Java. It provides a consistent interface for handling different file formats, and a solid framework for the development of new parsers.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,42 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Some test dependencies have not been packaged yet
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="com.univocity:univocity-parsers:2.9.1"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A collection of extremely fast and reliable parsers for Java"
|
||||
HOMEPAGE="https://www.univocity.com/"
|
||||
SRC_URI="https://github.com/uniVocity/univocity-parsers/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
|
||||
# Restore value of S overridden by java-pkg-simple.eclass to default
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
src_prepare() {
|
||||
# https://github.com/uniVocity/univocity-parsers/pull/502
|
||||
eapply "${FILESDIR}/${P}-explicitly-import-Record.patch"
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
einstalldocs # https://bugs.gentoo.org/789582
|
||||
}
|
Binary file not shown.
@ -1,233 +0,0 @@
|
||||
--- a/ext/gd/config.m4 2018-04-24 11:09:54.000000000 -0400
|
||||
+++ b/ext/gd/config.m4 2018-05-04 15:18:49.867283889 -0400
|
||||
@@ -186,21 +186,36 @@
|
||||
AC_DEFUN([PHP_GD_FREETYPE2],[
|
||||
if test "$PHP_FREETYPE_DIR" != "no"; then
|
||||
|
||||
- for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
||||
- if test -f "$i/bin/freetype-config"; then
|
||||
- FREETYPE2_DIR=$i
|
||||
- FREETYPE2_CONFIG="$i/bin/freetype-config"
|
||||
- break
|
||||
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
+ AC_MSG_CHECKING(for freetype2)
|
||||
+
|
||||
+ if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists freetype2 ; then
|
||||
+
|
||||
+ FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags freetype2`
|
||||
+ FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
|
||||
+ FREETYPE2_VERSION=`$PKG_CONFIG --modversion freetype2`
|
||||
+ FREETYPE2_DIR="found"
|
||||
+
|
||||
+ AC_MSG_RESULT(from pkgconfig: version $FREETYPE2_VERSION found)
|
||||
+ else
|
||||
+
|
||||
+ for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
||||
+ if test -f "$i/bin/freetype-config"; then
|
||||
+ FREETYPE2_DIR=$i
|
||||
+ FREETYPE2_CONFIG="$i/bin/freetype-config"
|
||||
+ break
|
||||
+ fi
|
||||
+ done
|
||||
+
|
||||
+ if test -z "$FREETYPE2_DIR"; then
|
||||
+ AC_MSG_ERROR([freetype-config not found.])
|
||||
fi
|
||||
- done
|
||||
|
||||
- if test -z "$FREETYPE2_DIR"; then
|
||||
- AC_MSG_ERROR([freetype-config not found.])
|
||||
+ FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
|
||||
+ FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
|
||||
+ AC_MSG_RESULT(found via freetype-config)
|
||||
fi
|
||||
|
||||
- FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
|
||||
- FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
|
||||
-
|
||||
PHP_EVAL_INCLINE($FREETYPE2_CFLAGS)
|
||||
PHP_EVAL_LIBLINE($FREETYPE2_LIBS, GD_SHARED_LIBADD)
|
||||
AC_DEFINE(HAVE_LIBFREETYPE,1,[ ])
|
||||
--- a/configure 2018-04-24 11:10:05.000000000 -0400
|
||||
+++ b/configure 2018-05-04 15:18:45.626367913 -0400
|
||||
@@ -34348,21 +34348,79 @@
|
||||
|
||||
if test "$PHP_FREETYPE_DIR" != "no"; then
|
||||
|
||||
- for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
||||
- if test -f "$i/bin/freetype-config"; then
|
||||
- FREETYPE2_DIR=$i
|
||||
- FREETYPE2_CONFIG="$i/bin/freetype-config"
|
||||
- break
|
||||
+ # Extract the first word of "pkg-config", so it can be a program name with args.
|
||||
+set dummy pkg-config; ac_word=$2
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
+$as_echo_n "checking for $ac_word... " >&6; }
|
||||
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
|
||||
+ $as_echo_n "(cached) " >&6
|
||||
+else
|
||||
+ case $PKG_CONFIG in
|
||||
+ [\\/]* | ?:[\\/]*)
|
||||
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
||||
+ ;;
|
||||
+ *)
|
||||
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
+for as_dir in $PATH
|
||||
+do
|
||||
+ IFS=$as_save_IFS
|
||||
+ test -z "$as_dir" && as_dir=.
|
||||
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
||||
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
+ break 2
|
||||
+ fi
|
||||
+done
|
||||
+ done
|
||||
+IFS=$as_save_IFS
|
||||
+
|
||||
+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
|
||||
+ ;;
|
||||
+esac
|
||||
+fi
|
||||
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
||||
+if test -n "$PKG_CONFIG"; then
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
||||
+$as_echo "$PKG_CONFIG" >&6; }
|
||||
+else
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
+$as_echo "no" >&6; }
|
||||
+fi
|
||||
+
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
|
||||
+$as_echo_n "checking for freetype2... " >&6; }
|
||||
+
|
||||
+
|
||||
+ if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists freetype2 ; then
|
||||
+
|
||||
+ FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags freetype2`
|
||||
+ FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
|
||||
+ FREETYPE2_VERSION=`$PKG_CONFIG --modversion freetype2`
|
||||
+ FREETYPE2_DIR="found"
|
||||
+
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: from pkgconfig: version $FREETYPE2_VERSION found" >&5
|
||||
+$as_echo "from pkgconfig: version $FREETYPE2_VERSION found" >&6; }
|
||||
+ else
|
||||
+
|
||||
+ for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
||||
+ if test -f "$i/bin/freetype-config"; then
|
||||
+ FREETYPE2_DIR=$i
|
||||
+ FREETYPE2_CONFIG="$i/bin/freetype-config"
|
||||
+ break
|
||||
+ fi
|
||||
+ done
|
||||
+
|
||||
+ if test -z "$FREETYPE2_DIR"; then
|
||||
+ as_fn_error $? "freetype-config not found." "$LINENO" 5
|
||||
fi
|
||||
- done
|
||||
|
||||
- if test -z "$FREETYPE2_DIR"; then
|
||||
- as_fn_error $? "freetype-config not found." "$LINENO" 5
|
||||
+ FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
|
||||
+ FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found via freetype-config" >&5
|
||||
+$as_echo "found via freetype-config" >&6; }
|
||||
fi
|
||||
|
||||
- FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
|
||||
- FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
|
||||
-
|
||||
|
||||
for ac_i in $FREETYPE2_CFLAGS; do
|
||||
case $ac_i in
|
||||
@@ -36019,21 +36076,78 @@
|
||||
|
||||
if test "$PHP_FREETYPE_DIR" != "no"; then
|
||||
|
||||
- for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
||||
- if test -f "$i/bin/freetype-config"; then
|
||||
- FREETYPE2_DIR=$i
|
||||
- FREETYPE2_CONFIG="$i/bin/freetype-config"
|
||||
- break
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
|
||||
+$as_echo_n "checking for freetype2... " >&6; }
|
||||
+ # Extract the first word of "pkg-config", so it can be a program name with args.
|
||||
+set dummy pkg-config; ac_word=$2
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
+$as_echo_n "checking for $ac_word... " >&6; }
|
||||
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
|
||||
+ $as_echo_n "(cached) " >&6
|
||||
+else
|
||||
+ case $PKG_CONFIG in
|
||||
+ [\\/]* | ?:[\\/]*)
|
||||
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
|
||||
+ ;;
|
||||
+ *)
|
||||
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
+for as_dir in $PATH
|
||||
+do
|
||||
+ IFS=$as_save_IFS
|
||||
+ test -z "$as_dir" && as_dir=.
|
||||
+ for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
||||
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
+ break 2
|
||||
+ fi
|
||||
+done
|
||||
+ done
|
||||
+IFS=$as_save_IFS
|
||||
+
|
||||
+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
|
||||
+ ;;
|
||||
+esac
|
||||
+fi
|
||||
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
||||
+if test -n "$PKG_CONFIG"; then
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
||||
+$as_echo "$PKG_CONFIG" >&6; }
|
||||
+else
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
+$as_echo "no" >&6; }
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+
|
||||
+ if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists freetype2 ; then
|
||||
+
|
||||
+ FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags freetype2`
|
||||
+ FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`
|
||||
+ FREETYPE2_VERSION=`$PKG_CONFIG --modversion freetype2`
|
||||
+
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: from pkgconfig: version $FREETYPE_VERSON found" >&5
|
||||
+$as_echo "from pkgconfig: version $FREETYPE_VERSON found" >&6; }
|
||||
+ else
|
||||
+
|
||||
+ for i in $PHP_FREETYPE_DIR /usr/local /usr; do
|
||||
+ if test -f "$i/bin/freetype-config"; then
|
||||
+ FREETYPE2_DIR=$i
|
||||
+ FREETYPE2_CONFIG="$i/bin/freetype-config"
|
||||
+ break
|
||||
+ fi
|
||||
+ done
|
||||
+
|
||||
+ if test -z "$FREETYPE2_DIR"; then
|
||||
+ as_fn_error $? "freetype-config not found." "$LINENO" 5
|
||||
fi
|
||||
- done
|
||||
|
||||
- if test -z "$FREETYPE2_DIR"; then
|
||||
- as_fn_error $? "freetype-config not found." "$LINENO" 5
|
||||
+ FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
|
||||
+ FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found via freetype-config" >&5
|
||||
+$as_echo "found via freetype-config" >&6; }
|
||||
fi
|
||||
|
||||
- FREETYPE2_CFLAGS=`$FREETYPE2_CONFIG --cflags`
|
||||
- FREETYPE2_LIBS=`$FREETYPE2_CONFIG --libs`
|
||||
-
|
||||
|
||||
for ac_i in $FREETYPE2_CFLAGS; do
|
||||
case $ac_i in
|
@ -1,45 +0,0 @@
|
||||
diff --git a/ext/intl/locale/locale_methods.c b/ext/intl/locale/locale_methods.c
|
||||
index 1c4ba327bd83..1bdfb27b7e2e 100644
|
||||
--- a/ext/intl/locale/locale_methods.c
|
||||
+++ b/ext/intl/locale/locale_methods.c
|
||||
@@ -1326,7 +1326,7 @@ PHP_FUNCTION(locale_filter_matches)
|
||||
if( token && (token==cur_lang_tag) ){
|
||||
/* check if the char. after match is SEPARATOR */
|
||||
chrcheck = token + (strlen(cur_loc_range));
|
||||
- if( isIDSeparator(*chrcheck) || isEndOfTag(*chrcheck) ){
|
||||
+ if( isIDSeparator(*chrcheck) || isKeywordSeparator(*chrcheck) || isEndOfTag(*chrcheck) ){
|
||||
efree( cur_lang_tag );
|
||||
efree( cur_loc_range );
|
||||
if( can_lang_tag){
|
||||
diff --git a/ext/intl/breakiterator/codepointiterator_internal.cpp b/ext/intl/breakiterator/codepointiterator_internal.cpp
|
||||
index bf44678efc06..143c181590e9 100644
|
||||
--- a/ext/intl/breakiterator/codepointiterator_internal.cpp
|
||||
+++ b/ext/intl/breakiterator/codepointiterator_internal.cpp
|
||||
@@ -75,7 +75,11 @@ CodePointBreakIterator::~CodePointBreakIterator()
|
||||
clearCurrentCharIter();
|
||||
}
|
||||
|
||||
+#if U_ICU_VERSION_MAJOR_NUM >= 70
|
||||
+bool CodePointBreakIterator::operator==(const BreakIterator& that) const
|
||||
+#else
|
||||
UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
|
||||
+#endif
|
||||
{
|
||||
if (typeid(*this) != typeid(that)) {
|
||||
return FALSE;
|
||||
diff --git a/ext/intl/breakiterator/codepointiterator_internal.h b/ext/intl/breakiterator/codepointiterator_internal.h
|
||||
index 7ecf12deb5ae..0baf607782d0 100644
|
||||
--- a/ext/intl/breakiterator/codepointiterator_internal.h
|
||||
+++ b/ext/intl/breakiterator/codepointiterator_internal.h
|
||||
@@ -39,7 +39,11 @@ namespace PHP {
|
||||
|
||||
virtual ~CodePointBreakIterator();
|
||||
|
||||
+#if U_ICU_VERSION_MAJOR_NUM >= 70
|
||||
+ virtual bool operator==(const BreakIterator& that) const;
|
||||
+#else
|
||||
virtual UBool operator==(const BreakIterator& that) const;
|
||||
+#endif
|
||||
|
||||
virtual CodePointBreakIterator* clone(void) const;
|
||||
|
@ -1,754 +0,0 @@
|
||||
# Copyright 1999-2022 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/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}/php-icu-70.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 || 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,754 +0,0 @@
|
||||
# Copyright 1999-2022 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/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}/php-icu-70.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 || 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
|
||||
}
|
@ -0,0 +1,403 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic multiprocessing pax-utils \
|
||||
python-utils-r1 toolchain-funcs verify-sig
|
||||
|
||||
MY_PV=${PV/_alpha/a}
|
||||
MY_P="Python-${MY_PV%_p*}"
|
||||
PYVER=$(ver_cut 1-2)
|
||||
PATCHSET="python-gentoo-patches-${MY_PV}"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="https://www.python.org/"
|
||||
SRC_URI="https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz
|
||||
verify-sig? (
|
||||
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
|
||||
)"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="bluetooth build examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk wininst"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
>=dev-libs/expat-2.1:=
|
||||
dev-libs/libffi:=
|
||||
sys-apps/util-linux:=
|
||||
>=sys-libs/zlib-1.1.3:=
|
||||
virtual/libcrypt:=
|
||||
virtual/libintl
|
||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
readline? (
|
||||
!libedit? ( >=sys-libs/readline-4.1:= )
|
||||
libedit? ( dev-libs/libedit:= )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? ( >=dev-libs/openssl-1.1.1:= )
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:=
|
||||
>=dev-lang/tk-8.0:=
|
||||
dev-tcltk/blt:=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
!!<sys-apps/sandbox-2.21"
|
||||
# bluetooth requires headers from bluez
|
||||
DEPEND="${RDEPEND}
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
test? ( app-arch/xz-utils[extra-filters(+)] )"
|
||||
# autoconf-archive needed to eautoreconf
|
||||
BDEPEND="
|
||||
sys-devel/autoconf-archive
|
||||
virtual/awk
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-python )
|
||||
!sys-devel/gcc[libffi(-)]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )"
|
||||
[[ ${PV} != *_alpha* ]] &&
|
||||
RDEPEND+=" dev-lang/python-exec[python_targets_python${PYVER/./_}(-)]"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/python.org.asc
|
||||
|
||||
# large file tests involve a 2.5G file being copied (duplicated)
|
||||
CHECKREQS_DISK_BUILD=5500M
|
||||
|
||||
pkg_pretend() {
|
||||
use test && check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat || die
|
||||
rm -fr Modules/_ctypes/libffi* || die
|
||||
rm -fr Modules/zlib || die
|
||||
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
# force correct number of jobs
|
||||
# https://bugs.gentoo.org/737660
|
||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||
sed -i -e "s:-j0:-j${jobs}:" Makefile.pre.in || die
|
||||
sed -i -e "/self\.parallel/s:True:${jobs}:" setup.py || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable
|
||||
# disable automagic bluetooth headers detection
|
||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# https://bugs.gentoo.org/700012
|
||||
if is-flagq -flto || is-flagq '-flto=*'; then
|
||||
append-cflags $(test-flags-CC -ffat-lto-objects)
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
|
||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
||||
use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
if use pgo; then
|
||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||
export PROFILE_TASK="-m test -j${jobs} --pgo-extended -x test_gdb -u-network"
|
||||
|
||||
# All of these seem to occasionally hang for PGO inconsistently
|
||||
# They'll even hang here but be fine in src_test sometimes.
|
||||
# bug #828535 (and related: bug #788022)
|
||||
PROFILE_TASK+=" -x test_socket -x test_asyncio -x test_httpservers -x test_logging -x test_multiprocessing_fork -x test_xmlrpc"
|
||||
|
||||
if has_version "app-arch/rpm" ; then
|
||||
# Avoid sandbox failure (attempts to write to /var/lib/rpm)
|
||||
PROFILE_TASK+=" -x test_distutils"
|
||||
fi
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
# glibc-2.30 removes it; since we can't cleanly force-rebuild
|
||||
# Python on glibc upgrade, remove it proactively to give
|
||||
# a chance for users rebuilding python before glibc
|
||||
ac_cv_header_stropts_h=no
|
||||
|
||||
--enable-shared
|
||||
--without-static-libpython
|
||||
--enable-ipv6
|
||||
--infodir='${prefix}/share/info'
|
||||
--mandir='${prefix}/share/man'
|
||||
--with-computed-gotos
|
||||
--with-dbmliborder="${dbmliborder}"
|
||||
--with-libc=
|
||||
--enable-loadable-sqlite-extensions
|
||||
--without-ensurepip
|
||||
--with-system-expat
|
||||
--with-system-ffi
|
||||
--with-platlibdir=lib
|
||||
|
||||
$(use_with lto)
|
||||
$(use_enable pgo optimizations)
|
||||
$(use_with readline readline "$(usex libedit editline readline)")
|
||||
)
|
||||
|
||||
# disable implicit optimization/debugging flags
|
||||
local -x OPT=
|
||||
# pass system CFLAGS & LDFLAGS as _NODIST, otherwise they'll get
|
||||
# propagated to sysconfig for built extensions
|
||||
local -x CFLAGS_NODIST=${CFLAGS}
|
||||
local -x LDFLAGS_NODIST=${LDFLAGS}
|
||||
local -x CFLAGS= LDFLAGS=
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
|
||||
# force-disable modules we don't want built
|
||||
local disable_modules=(
|
||||
NIS
|
||||
)
|
||||
use gdbm || disable_modules+=( _GDBM _DBM )
|
||||
use sqlite || disable_modules+=( _SQLITE3 )
|
||||
use ssl || disable_modules+=( _HASHLIB _SSL )
|
||||
use ncurses || disable_modules+=( _CURSES _CURSES_PANEL )
|
||||
use readline || disable_modules+=( READLINE )
|
||||
use tk || disable_modules+=( _TKINTER )
|
||||
|
||||
local mod
|
||||
for mod in "${disable_modules[@]}"; do
|
||||
echo "MODULE_${mod}=disabled"
|
||||
done >> Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Ensure sed works as expected
|
||||
# https://bugs.gentoo.org/594768
|
||||
local -x LC_ALL=C
|
||||
# Prevent using distutils bundled by setuptools.
|
||||
# https://bugs.gentoo.org/823728
|
||||
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
export PYTHONSTRICTEXTENSIONBUILD=1
|
||||
|
||||
# Save PYTHONDONTWRITEBYTECODE so that 'has_version' doesn't
|
||||
# end up writing bytecode & violating sandbox.
|
||||
# bug #831897
|
||||
local -x _PYTHONDONTWRITEBYTECODE=${PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
if use pgo ; then
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
addpredict /usr/lib/python3.11/site-packages
|
||||
fi
|
||||
|
||||
# also need to clear the flags explicitly here or they end up
|
||||
# in _sysconfigdata*
|
||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||
|
||||
# Restore saved value from above.
|
||||
local -x PYTHONDONTWRITEBYTECODE=${_PYTHONDONTWRITEBYTECODE}
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="gdb"
|
||||
|
||||
if use sparc ; then
|
||||
# bug #788022
|
||||
skipped_tests+=" multiprocessing_fork"
|
||||
skipped_tests+=" multiprocessing_forkserver"
|
||||
fi
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# Expects to find skipped tests and fails
|
||||
mv "${S}"/Lib/test/test_tools/test_freeze.py "${T}" || die
|
||||
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
# workaround https://bugs.gentoo.org/775416
|
||||
addwrite /usr/lib/python3.11/site-packages
|
||||
|
||||
local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
|
||||
|
||||
emake test EXTRATESTOPTS="-u-network -j${jobs}" \
|
||||
CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||
local result=$?
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
mv "${T}"/test_freeze.py "${S}"/Lib/test/test_tools/test_freeze.py || die
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/lib/python${PYVER}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ ${result} -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/lib/python${PYVER}
|
||||
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
||||
|
||||
# Cheap hack to get version with ABIFLAGS
|
||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
||||
if [[ ${abiver} != python${PYVER} ]]; then
|
||||
# Replace python3.X with a symlink to python3.Xm
|
||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||
# Create python3.X-config symlink
|
||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||
# Create python-3.5m.pc symlink
|
||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||
fi
|
||||
|
||||
# python seems to get rebuilt in src_install (bug 569908)
|
||||
# Work around it for now.
|
||||
if has_version dev-libs/libffi[pax-kernel]; then
|
||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
||||
else
|
||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
||||
fi
|
||||
|
||||
use sqlite || rm -r "${libdir}/"sqlite3 || die
|
||||
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
||||
dodoc -r Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
local -x EPYTHON=python${PYVER}
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local -x PYTHON=./python
|
||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
||||
else
|
||||
local -x PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
|
||||
fi
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_domodule epython.py
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${PYVER%.*}
|
||||
local scriptdir=${D}$(python_get_scriptdir)
|
||||
mkdir -p "${scriptdir}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/${abiver}" \
|
||||
"${scriptdir}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" "${scriptdir}/python" || die
|
||||
# python-config and pythonX-config
|
||||
# note: we need to create a wrapper rather than symlinking it due
|
||||
# to some random dirname(argv[0]) magic performed by python-config
|
||||
cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "${abiver}-config" "\${@}"
|
||||
EOF
|
||||
chmod +x "${scriptdir}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" \
|
||||
"${scriptdir}/python-config" || die
|
||||
# 2to3, pydoc
|
||||
ln -s "../../../bin/2to3-${PYVER}" \
|
||||
"${scriptdir}/2to3" || die
|
||||
ln -s "../../../bin/pydoc${PYVER}" \
|
||||
"${scriptdir}/pydoc" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${PYVER}" \
|
||||
"${scriptdir}/idle" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX appstream-0.14.3-disable-Werror-flags.patch 449 BLAKE2B e6513b3c64b5f99afe8aa231d1885c157a8fb1a0849ddd4e2c015a87df58965ec6ae9c36b536bfdd3969ead61215686021f5e39274e00d9179e7e00c1f975aad SHA512 2e9e2597df81015c2eb91dabd39d3cbb6bcf01b3732a35e68e08e52df40e80edfade620e525d480f46126b5c1080027516a13a524da11d71f5c63844ce714ba6
|
||||
DIST AppStream-0.14.6.tar.xz 2403088 BLAKE2B 1eb85601c1782fc47ff21983517f301dc9493fb60347cfe8072c277cc4415e80bf6c11a93db80b6d7fe1eeda7ff1fa414fd10ce7ef0d7379b415326407d805b8 SHA512 810aa7427df50793f4bed27cc3cb5b72c156f0c582f241e06131aa8eabe82d59c8ac0bcc37a22877f7a19ac4640a9a831f8b567ce3e2d26a41ce999515affdb0
|
||||
EBUILD appstream-0.14.6.ebuild 1788 BLAKE2B 6caa408ff4ce96c547fddae9396d6e92d9721febf16d73c32052a93bbfe47add052c4b49185d8616eee1aa79ad3f69a9cac2caa5c6f4ff807063746f3db4ddb6 SHA512 b615ef8dc0d8ea2f87cff9c7b98c3c14eb2dd08369f69ff0119e735a40344fac6b370dcddcf78dc6e74f7433b7c0c81d5868d544cb1450affd846c8e694a377c
|
||||
EBUILD appstream-0.14.6.ebuild 1793 BLAKE2B 89217e43939efb668bce81eca458000961027308fd9dd7d1af3ae22f38a8d8ac8e8faabc32be7b2612c20fcd519f8e04c44149288d6313dbf855e78a4b2c584b SHA512 6a42df221f26a033fc454e3e438795f86c42b9a19e278cf6bb7236ca81b483d632738f24b8ed1886205da8293cb34adb51a470cb693f94d012e1fb97c6413168
|
||||
MISC metadata.xml 400 BLAKE2B c9855a1e3650a66c8b42fb9055d6de0aa0575ed86bb1e8695d112f2e7cdfbd5f55d6805dfeb0ed19c3354ee3cda8208fd8a4adf4e8313e791493fa1730fb32d9 SHA512 9723ac7481f748429bddde7579b81c7db2dfad2ecd5150c1c4023843c5ef47e02ce41ff43508437ae60ba427a072d09e8d46a6e6b82fc946ea3af71dd71c52f2
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue