parent
93461b45c8
commit
b4c5644854
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 29294 BLAKE2B 8417e1f20dc32b5f26a6d931bf9f584bfa924cfe3282650fff87c8ce424002a1d44f2f3fe31759a575fbeaddb356ac0addb07278c41c97af6277e838e341432b SHA512 3c5a89a96c4aa4702623cdf24606766eb06afdae6cd8bb1ab41ca2df14e62720f9095dbbb6f997aa60b0fd9204158abffc6dec0e31667794f47bdb2f4deb8ec1
|
MANIFEST Manifest.files.gz 29330 BLAKE2B fe3c676045fa35bf8881105775447020a898a5067be241a992877affd0afbd388fe3d58c91edd15f8b36e345703c7571a73d61b6c7ab3e2163a944a024a2773e SHA512 d61f3af3544a8b4775674de17b2f4b5f50ee7664232476cdd751a8c1f40ad1a1373b860bcb7d3b11e469c2dddc82a2cdbdadf59f11701faad16b410881ae74f8
|
||||||
TIMESTAMP 2021-10-29T17:39:10Z
|
TIMESTAMP 2021-10-30T10:09:10Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmF8Mb5fFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmF9GcZfFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klBhtg//aIEoJcxKHuaQH5s77zlNZuozWDNYYFkbCYCOTRIeBRsJzy0+fiTB7sep
|
klBdqxAAj7nsD0AFo4J8cxAVuwaVig5c3wO9A1v68fgmTm3xq+IdEYeHaovaivvP
|
||||||
5DbzEtqEq2bNp7PX9bI0BVdQpBTQNfqZs9xezcK1xGsGo2+CjKA3UaGiQgwfLmjP
|
pCUzT4oYBIgg/v1GqXYg2LbEpm3LNCzpOa8q0DghjSpjZoPzWObpjdBGT05UEo/6
|
||||||
QZtTmPoan3gXFAmsU2JsCBrnT9AjPqG8SlljlkIjwo8xXxTviq1awTzXryB5sF8K
|
nIijgVC+ihW/QEJEMIvsOX4sPISp4lrXeib8bHdYgkpLT7C9YktG+P42FYmjgCSk
|
||||||
oqmiDdviC/Yo/7jSNqfOC2j6qsd5afKoqzQMLhVe2Cc/oh0Zr4tix0fdtrE9tXVX
|
Ao9iyJQ7/MTTTVNab2tS3efjHTaa7jEGJVll4HRPR7Wtto2kchXZ8Dnw6CVY5022
|
||||||
ftHUvusow/jE0aiJnJT6jGdTvgf09yf4gPTVytV+T+tN/6R1yfF5+XfmSeQaOi3V
|
3+qUIjDNzSAmRBFD9luv2U1ObkHcMopzkkf7fP8ULz2xqN58Mxqjvlv0gi27zH6R
|
||||||
0xfTThLyUUJFXM2+6/D299bLs1DZ5Q/g+Fij+ufD1t3edyi1iHvZ1ZVuU6ioYG/R
|
YOv7kjtuw+4rKY3b8/Iwsj4r1Se8PDD01iBWDXXzwMLVxSJP6iBhrYOlKCLhresi
|
||||||
NwRlxHjOup8yqZN3ymoNM/V6ESIOL0QWn3eI4OARo2VidO75yGz5cBFmdJDhnB8H
|
vHgtQqj9hACpd638GeyM0d44/fedo0O/WR1Z+Ydlx81u8lYltlWQe5PhveE9RoYn
|
||||||
KoPrB7LAhzky6ISCZPiQiuFAE3TLr5qFbFVw6FQXUH3ifjTKkCPk/6m/OwHVeZHZ
|
vAG8x3vU2IRR5KMzmHSFMVkY7ZhRRdoo8suH6OvkybqoPGuakwkZXhJLcj82CqBs
|
||||||
ZV2eRJsa7G4fF9yR56PngF3iHyXT5Y8FEJ7g4D9ynmw4J6mrMQLhmjH1t3ABfS63
|
QE6hsnh/gzFU2KayfUUtdK0BdlyuTzSEkXLLZxDEOwwCqGlQV4UXq615sYH27p3c
|
||||||
jaPQHHQOGtXaqBMVlyrUu4050Wl+EcCG17qPEgsdO7E6nyC6SdRSOGZ4gTErYxuB
|
z5Gm6dl5YpeDg65qDlR25sQ1ifWVeppfEgDgOudAlisFCsNvehljn8qEpTqS0WqR
|
||||||
M6i09PnJIDy6BGvsO7WDhwlbQ9RpKsTfq83SWwug3tMVedkNn/8=
|
T1QiZJ0Z2KVh2vO635gwicpe3VPfNBQe9/jWEeq3qQG7PVIQY/k=
|
||||||
=PAWS
|
=B05+
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,47 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
inherit bash-completion-r1 distutils-r1
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
# botocore is x.(y+1).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||||
|
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}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests --install pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
distutils_install_for_testing
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit}
|
||||||
|
}
|
||||||
|
|
||||||
|
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,6 +1,6 @@
|
|||||||
DIST sudo-1.9.6p1.tar.gz 4119888 BLAKE2B 02bdb551c46cff11ac56e64937c64e6a29ccd8e0af34ea2f6b33c223bee8f7ad958d0fc3d7ef8ef12bf5bc82565769b923ff112a3f3d6bf6999fa4f6ea55e38e SHA512 632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745
|
DIST sudo-1.9.6p1.tar.gz 4119888 BLAKE2B 02bdb551c46cff11ac56e64937c64e6a29ccd8e0af34ea2f6b33c223bee8f7ad958d0fc3d7ef8ef12bf5bc82565769b923ff112a3f3d6bf6999fa4f6ea55e38e SHA512 632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745
|
||||||
DIST sudo-1.9.8p2.tar.gz 4302256 BLAKE2B ba40df539b3466bebe0d876ef4f1809867125e83983609eae0447f933fbd499b2eda88d2f6c475779654e68af9580a2998eca3c3f7953129ff73c923e1c88ad9 SHA512 899b252e8c219226f658dff3dd34c97b07d42004998b45175b4c0c4de42a6bf9f909598e99b4056fa1171e63378e203854b0f8608b0f5c1b00e9d3677818f6d3
|
DIST sudo-1.9.8p2.tar.gz 4302256 BLAKE2B ba40df539b3466bebe0d876ef4f1809867125e83983609eae0447f933fbd499b2eda88d2f6c475779654e68af9580a2998eca3c3f7953129ff73c923e1c88ad9 SHA512 899b252e8c219226f658dff3dd34c97b07d42004998b45175b4c0c4de42a6bf9f909598e99b4056fa1171e63378e203854b0f8608b0f5c1b00e9d3677818f6d3
|
||||||
EBUILD sudo-1.9.6_p1-r2.ebuild 6725 BLAKE2B 620c20c144bb7fd723e3e46022dd3e6152084978091e2e3af0a95a961dc027defeb5d20dcee4b0e36959e04124586a2c53d65c8137af9d1f52a6044392c08aea SHA512 fc61898d795187d7ab0876001c725bdb2c5f0c98ab38adc8427f69abc1da8b33be6ef8ebe1353ead193f10f48ed042fe12a13f90c181bc3a0d3cceed352bc262
|
EBUILD sudo-1.9.6_p1-r2.ebuild 6725 BLAKE2B 620c20c144bb7fd723e3e46022dd3e6152084978091e2e3af0a95a961dc027defeb5d20dcee4b0e36959e04124586a2c53d65c8137af9d1f52a6044392c08aea SHA512 fc61898d795187d7ab0876001c725bdb2c5f0c98ab38adc8427f69abc1da8b33be6ef8ebe1353ead193f10f48ed042fe12a13f90c181bc3a0d3cceed352bc262
|
||||||
EBUILD sudo-1.9.8_p2.ebuild 6736 BLAKE2B aa8f48d8d8e0cc857ad0ec480bf4d24471bc2c20b3188e7858aa079df20289a7ebea829cd5ad05fc342176d503c498f0d82acafd6bd6725e3215772299eeeaf3 SHA512 b39e5802479f46e9a41cd690c6a49c0c7fa49ed9fa8c6681e9d9ad549131667e44e9a05d976d211e4c245fd1c0eab2903d0805961055b78ea8319746c2de5c2e
|
EBUILD sudo-1.9.8_p2.ebuild 6734 BLAKE2B 9cf20e5caea333854509f0ed7de71dfc234b32134cd622977c746775a3bffe9b50e431a93dc3ddbec1fbc97a61ee96794f9fd6994b5069047f6521031986ac02 SHA512 7b82e1357ae4297edc21fee37349e2531783174c4ff00a7425d69aceed5278c523f9bf6ec87d3cd7ae9d9bc8191fb25cd1c9ac9612b5b7df35768e01382bd4c7
|
||||||
EBUILD sudo-9999.ebuild 6738 BLAKE2B c01463d07ac685ef4b37f375793999fa88a8fd75a89ad98d01aa86f87d7c766f6d6298e369e7f1e212304ca1a8c8a1dec5c4d308577531d88cc6f8c634093876 SHA512 3f1124da310c815250ac216dc8f9999c23235faa76704793edced96a3825a91ed4ed3e6481fa10fd8c6695fcefdbd8e53cfa472bed7e5463a470ab9945df1b26
|
EBUILD sudo-9999.ebuild 6738 BLAKE2B c01463d07ac685ef4b37f375793999fa88a8fd75a89ad98d01aa86f87d7c766f6d6298e369e7f1e212304ca1a8c8a1dec5c4d308577531d88cc6f8c634093876 SHA512 3f1124da310c815250ac216dc8f9999c23235faa76704793edced96a3825a91ed4ed3e6481fa10fd8c6695fcefdbd8e53cfa472bed7e5463a470ab9945df1b26
|
||||||
MISC metadata.xml 1050 BLAKE2B 4027c8a5941e8e12bb6c9cd9950187965b01e236ddfc073ba0dd98be8e3e98225ffbca1c05b3153d72e5507484f966e01c7b44e9416bbedecd88ae8f4d52e359 SHA512 8033bd4649190c3c6bf0d07dab2dc99a708b81a74b0d154b1f4d56bdfbc115d4889b3a78e6b2f3eebaa91bf0252e8fd043bf2bc850b8f6b4199b38ea751b7174
|
MISC metadata.xml 1050 BLAKE2B 4027c8a5941e8e12bb6c9cd9950187965b01e236ddfc073ba0dd98be8e3e98225ffbca1c05b3153d72e5507484f966e01c7b44e9416bbedecd88ae8f4d52e359 SHA512 8033bd4649190c3c6bf0d07dab2dc99a708b81a74b0d154b1f4d56bdfbc115d4889b3a78e6b2f3eebaa91bf0252e8fd043bf2bc850b8f6b4199b38ea751b7174
|
||||||
|
Binary file not shown.
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
|
||||||
|
HOMEPAGE="https://www.geekbench.com/"
|
||||||
|
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
|
||||||
|
S="${WORKDIR}/Geekbench-${PV}-Linux"
|
||||||
|
|
||||||
|
KEYWORDS="-* ~amd64"
|
||||||
|
LICENSE="geekbench"
|
||||||
|
SLOT="5"
|
||||||
|
|
||||||
|
RESTRICT="bindist mirror"
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
opt/geekbench5/geekbench5
|
||||||
|
opt/geekbench5/geekbench_x86_64
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_nofetch() {
|
||||||
|
elog "Please download ${A} from ${HOMEPAGE}/download/linux"
|
||||||
|
elog "and place it in your DISTDIR directory."
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
exeinto /opt/geekbench5
|
||||||
|
doexe geekbench5 geekbench_x86_64
|
||||||
|
|
||||||
|
insinto /opt/geekbench5
|
||||||
|
doins geekbench.plar
|
||||||
|
|
||||||
|
dodir /opt/bin
|
||||||
|
dosym ../geekbench5/geekbench5 /opt/bin/geekbench5
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "If you have purchased a commercial license, you can enter"
|
||||||
|
elog "your email address and your license key with the following command:"
|
||||||
|
elog "geekbench5 -r <email address> <license key>"
|
||||||
|
}
|
@ -1,3 +1,3 @@
|
|||||||
DIST stress-ng-0.13.05.tar.xz 590340 BLAKE2B 214e98ef5db575a0835ccef15d9145bba6d25774bb26ce1ac2ffa3b29309a62416752b298ccb5b1ce91ad40a3c68dee7ada7c59fd85c06d8372e24c72a927480 SHA512 39a1622d63e88a1d0f535b36c57a01f734e686a3f4f2dc9dcf69154e7b0e4986c6bd654a42803cc3dc0e9a22151db9e2ae79a772758e9d80beb22bd39492d13a
|
DIST stress-ng-0.13.06.tar.gz 1014981 BLAKE2B a93ff571919707568cd0162479e47c6241b4081713cfa88b30594227d01f9af2a6e3ad759ba62f5f5485322d68768ba1ea19087d07281fa1c2b949bcac99f70e SHA512 7aefc794edaa5799f96dd4afe099b747d532e4367bd372b9ed29db03f8276322113509fdd4885500864d292beeb9f407dc3f2ef2a04f92b65f240ee73eb174bb
|
||||||
EBUILD stress-ng-0.13.05.ebuild 864 BLAKE2B a5fd3d9ba6d3e82ac303fef88418b915f0a883d8808d747e0d68434b2f2b17795e895babb46c0498d5c1c0a215c88ba43060b60626d218f80f17229601b72985 SHA512 7934595a8a43430c8ef6c24f895b476a7444ef0e04e5d0f29efcf0ac72f38ce0f7b472916aa6fd3af56d79f6b1299d2a48931a748376f436e2062823a5345fba
|
EBUILD stress-ng-0.13.06.ebuild 887 BLAKE2B 79e1a5abfefd3a3aae4aa62926d5ba7f8ed37936178a7918088271d55d3b25a74bd5d174c2d08db015d3294fd8f45ce868c1c132b041d8da9b048ac54ab196c4 SHA512 cc51cb4c9b0a623103b7f1a4b6ff0ddef61ba87d3ec28a81bbc21a3c3e6d7bfddbe09f5963d1c126e804c4cd9b84f4163dde6a03ccd80c0d37b23f52481468c0
|
||||||
MISC metadata.xml 835 BLAKE2B 88b503bcc225861dfd5a5e016bc0c6df87d13e758f9eb8d73103deb5f1d88163f260f24efcb4988a245b1ea2888e18da86d031d52c9dcdc702dbd9a7c510b691 SHA512 dfc8c9cb83e0960fd0881affc5cd12fe843743faa92e3af0edf0ba86ad8107de60669cd32e156be9ea645a817f38f7091be2b9c870902e7109f937e584feac99
|
MISC metadata.xml 835 BLAKE2B 88b503bcc225861dfd5a5e016bc0c6df87d13e758f9eb8d73103deb5f1d88163f260f24efcb4988a245b1ea2888e18da86d031d52c9dcdc702dbd9a7c510b691 SHA512 dfc8c9cb83e0960fd0881affc5cd12fe843743faa92e3af0edf0ba86ad8107de60669cd32e156be9ea645a817f38f7091be2b9c870902e7109f937e584feac99
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=8
|
||||||
|
|
||||||
inherit optfeature toolchain-funcs
|
inherit optfeature toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="Stress test for a computer system with various selectable ways"
|
DESCRIPTION="Stress test for a computer system with various selectable ways"
|
||||||
HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/"
|
HOMEPAGE="https://github.com/ColinIanKing/stress-ng"
|
||||||
SRC_URI="https://kernel.ubuntu.com/~cking/tarballs/${PN}/${P}.tar.xz"
|
SRC_URI="https://github.com/ColinIanKing/${PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
LICENSE="GPL-2+"
|
||||||
SLOT="0"
|
SLOT="0"
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,911 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9,10} )
|
||||||
|
PYTHON_REQ_USE="ncurses,readline"
|
||||||
|
|
||||||
|
FIRMWARE_ABI_VERSION="6.0.0-r50"
|
||||||
|
|
||||||
|
inherit eutils linux-info toolchain-funcs multilib python-r1
|
||||||
|
inherit udev fcaps readme.gentoo-r1 pax-utils xdg-utils
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://git.qemu.org/git/qemu.git"
|
||||||
|
EGIT_SUBMODULES=(
|
||||||
|
meson
|
||||||
|
tests/fp/berkeley-softfloat-3
|
||||||
|
tests/fp/berkeley-testfloat-3
|
||||||
|
ui/keycodemapdb
|
||||||
|
)
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.qemu.org/${P}.tar.xz"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||||
|
HOMEPAGE="https://www.qemu.org https://www.linux-kvm.org"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug +doc
|
||||||
|
+fdt fuse glusterfs gnutls gtk infiniband iscsi io-uring
|
||||||
|
jack jemalloc +jpeg kernel_linux
|
||||||
|
kernel_FreeBSD lzo multipath
|
||||||
|
ncurses nfs nls numa opengl +oss +pin-upstream-blobs
|
||||||
|
plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux
|
||||||
|
+slirp
|
||||||
|
smartcard snappy spice ssh static static-user systemtap test udev usb
|
||||||
|
usbredir vde +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen
|
||||||
|
xfs zstd"
|
||||||
|
|
||||||
|
COMMON_TARGETS="
|
||||||
|
aarch64
|
||||||
|
alpha
|
||||||
|
arm
|
||||||
|
cris
|
||||||
|
hppa
|
||||||
|
i386
|
||||||
|
m68k
|
||||||
|
microblaze
|
||||||
|
microblazeel
|
||||||
|
mips
|
||||||
|
mips64
|
||||||
|
mips64el
|
||||||
|
mipsel
|
||||||
|
nios2
|
||||||
|
or1k
|
||||||
|
ppc
|
||||||
|
ppc64
|
||||||
|
riscv32
|
||||||
|
riscv64
|
||||||
|
s390x
|
||||||
|
sh4
|
||||||
|
sh4eb
|
||||||
|
sparc
|
||||||
|
sparc64
|
||||||
|
x86_64
|
||||||
|
xtensa
|
||||||
|
xtensaeb
|
||||||
|
"
|
||||||
|
IUSE_SOFTMMU_TARGETS="
|
||||||
|
${COMMON_TARGETS}
|
||||||
|
avr
|
||||||
|
lm32
|
||||||
|
moxie
|
||||||
|
rx
|
||||||
|
tricore
|
||||||
|
unicore32
|
||||||
|
"
|
||||||
|
IUSE_USER_TARGETS="
|
||||||
|
${COMMON_TARGETS}
|
||||||
|
aarch64_be
|
||||||
|
armeb
|
||||||
|
hexagon
|
||||||
|
mipsn32
|
||||||
|
mipsn32el
|
||||||
|
ppc64abi32
|
||||||
|
ppc64le
|
||||||
|
sparc32plus
|
||||||
|
"
|
||||||
|
|
||||||
|
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||||
|
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||||
|
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
# Allow no targets to be built so that people can get a tools-only build.
|
||||||
|
# Block USE flag configurations known to not work.
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||||
|
qemu_softmmu_targets_arm? ( fdt )
|
||||||
|
qemu_softmmu_targets_microblaze? ( fdt )
|
||||||
|
qemu_softmmu_targets_mips64el? ( fdt )
|
||||||
|
qemu_softmmu_targets_ppc64? ( fdt )
|
||||||
|
qemu_softmmu_targets_ppc? ( fdt )
|
||||||
|
qemu_softmmu_targets_riscv32? ( fdt )
|
||||||
|
qemu_softmmu_targets_riscv64? ( fdt )
|
||||||
|
sdl-image? ( sdl )
|
||||||
|
static? ( static-user !alsa !gtk !jack !opengl !pulseaudio !plugins !rbd !snappy !udev )
|
||||||
|
static-user? ( !plugins )
|
||||||
|
vhost-user-fs? ( caps seccomp )
|
||||||
|
virgl? ( opengl )
|
||||||
|
virtfs? ( caps xattr )
|
||||||
|
vte? ( gtk )
|
||||||
|
multipath? ( udev )
|
||||||
|
plugins? ( !static !static-user )
|
||||||
|
"
|
||||||
|
|
||||||
|
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||||
|
# and user/softmmu targets (qemu-*, qemu-system-*).
|
||||||
|
#
|
||||||
|
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||||
|
#
|
||||||
|
# The attr lib isn't always linked in (although the USE flag is always
|
||||||
|
# respected). This is because qemu supports using the C library's API
|
||||||
|
# when available rather than always using the external library.
|
||||||
|
ALL_DEPEND="
|
||||||
|
>=dev-libs/glib-2.0[static-libs(+)]
|
||||||
|
sys-libs/zlib[static-libs(+)]
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
systemtap? ( dev-util/systemtap )
|
||||||
|
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||||
|
|
||||||
|
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||||
|
# softmmu targets (qemu-system-*).
|
||||||
|
SOFTMMU_TOOLS_DEPEND="
|
||||||
|
dev-libs/libxml2[static-libs(+)]
|
||||||
|
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||||
|
accessibility? (
|
||||||
|
app-accessibility/brltty[api]
|
||||||
|
app-accessibility/brltty[static-libs(+)]
|
||||||
|
)
|
||||||
|
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||||
|
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||||
|
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||||
|
capstone? ( dev-libs/capstone:= )
|
||||||
|
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||||
|
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||||
|
fdt? ( >=sys-apps/dtc-1.5.0[static-libs(+)] )
|
||||||
|
fuse? ( >=sys-fs/fuse-3.1:3[static-libs(+)] )
|
||||||
|
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||||
|
gnutls? (
|
||||||
|
dev-libs/nettle:=[static-libs(+)]
|
||||||
|
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||||
|
)
|
||||||
|
gtk? (
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
vte? ( x11-libs/vte:2.91 )
|
||||||
|
)
|
||||||
|
infiniband? (
|
||||||
|
sys-fabric/libibumad:=[static-libs(+)]
|
||||||
|
sys-fabric/libibverbs:=[static-libs(+)]
|
||||||
|
sys-fabric/librdmacm:=[static-libs(+)]
|
||||||
|
)
|
||||||
|
iscsi? ( net-libs/libiscsi )
|
||||||
|
io-uring? ( sys-libs/liburing:=[static-libs(+)] )
|
||||||
|
jack? ( virtual/jack )
|
||||||
|
jemalloc? ( dev-libs/jemalloc )
|
||||||
|
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||||
|
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||||
|
multipath? ( sys-fs/multipath-tools )
|
||||||
|
ncurses? (
|
||||||
|
sys-libs/ncurses:=[unicode(+)]
|
||||||
|
sys-libs/ncurses:=[static-libs(+)]
|
||||||
|
)
|
||||||
|
nfs? ( >=net-fs/libnfs-1.9.3:=[static-libs(+)] )
|
||||||
|
numa? ( sys-process/numactl[static-libs(+)] )
|
||||||
|
opengl? (
|
||||||
|
virtual/opengl
|
||||||
|
media-libs/libepoxy[static-libs(+)]
|
||||||
|
media-libs/mesa[static-libs(+)]
|
||||||
|
media-libs/mesa[egl,gbm]
|
||||||
|
)
|
||||||
|
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio )
|
||||||
|
rbd? ( sys-cluster/ceph )
|
||||||
|
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||||
|
sdl? (
|
||||||
|
media-libs/libsdl2[video]
|
||||||
|
media-libs/libsdl2[static-libs(+)]
|
||||||
|
)
|
||||||
|
sdl-image? ( media-libs/sdl2-image[static-libs(+)] )
|
||||||
|
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||||
|
slirp? ( net-libs/libslirp[static-libs(+)] )
|
||||||
|
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||||
|
snappy? ( app-arch/snappy:= )
|
||||||
|
spice? (
|
||||||
|
>=app-emulation/spice-protocol-0.12.3
|
||||||
|
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||||
|
)
|
||||||
|
ssh? ( >=net-libs/libssh-0.8.6[static-libs(+)] )
|
||||||
|
udev? ( virtual/libudev:= )
|
||||||
|
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||||
|
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||||
|
vde? ( net-misc/vde[static-libs(+)] )
|
||||||
|
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||||
|
virtfs? ( sys-libs/libcap )
|
||||||
|
xen? ( app-emulation/xen-tools:= )
|
||||||
|
xfs? ( sys-fs/xfsprogs[static-libs(+)] )
|
||||||
|
zstd? ( >=app-arch/zstd-1.4.0[static-libs(+)] )
|
||||||
|
"
|
||||||
|
|
||||||
|
EDK2_OVMF_VERSION="202105"
|
||||||
|
SEABIOS_VERSION="1.14.0"
|
||||||
|
|
||||||
|
X86_FIRMWARE_DEPEND="
|
||||||
|
pin-upstream-blobs? (
|
||||||
|
~sys-firmware/edk2-ovmf-${EDK2_OVMF_VERSION}[binary]
|
||||||
|
~sys-firmware/ipxe-1.21.1[binary,qemu]
|
||||||
|
~sys-firmware/seabios-${SEABIOS_VERSION}[binary,seavgabios]
|
||||||
|
~sys-firmware/sgabios-0.1_pre10[binary]
|
||||||
|
)
|
||||||
|
!pin-upstream-blobs? (
|
||||||
|
>=sys-firmware/edk2-ovmf-${EDK2_OVMF_VERSION}
|
||||||
|
sys-firmware/ipxe[qemu]
|
||||||
|
>=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios]
|
||||||
|
sys-firmware/sgabios
|
||||||
|
)"
|
||||||
|
PPC_FIRMWARE_DEPEND="
|
||||||
|
pin-upstream-blobs? (
|
||||||
|
~sys-firmware/seabios-${SEABIOS_VERSION}[binary,seavgabios]
|
||||||
|
)
|
||||||
|
!pin-upstream-blobs? (
|
||||||
|
>=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
$(python_gen_impl_dep)
|
||||||
|
dev-lang/perl
|
||||||
|
sys-apps/texinfo
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||||
|
gtk? ( nls? ( sys-devel/gettext ) )
|
||||||
|
test? (
|
||||||
|
dev-libs/glib[utils]
|
||||||
|
sys-devel/bc
|
||||||
|
)
|
||||||
|
"
|
||||||
|
CDEPEND="
|
||||||
|
!static? (
|
||||||
|
${ALL_DEPEND//\[static-libs(+)]}
|
||||||
|
${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]}
|
||||||
|
)
|
||||||
|
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||||
|
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
|
||||||
|
qemu_softmmu_targets_ppc? ( ${PPC_FIRMWARE_DEPEND} )
|
||||||
|
qemu_softmmu_targets_ppc64? ( ${PPC_FIRMWARE_DEPEND} )
|
||||||
|
"
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||||
|
static? (
|
||||||
|
${ALL_DEPEND}
|
||||||
|
${SOFTMMU_TOOLS_DEPEND}
|
||||||
|
)
|
||||||
|
static-user? ( ${ALL_DEPEND} )"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
acct-group/kvm
|
||||||
|
selinux? ( sec-policy/selinux-qemu )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.2.0-strings.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.2.0-cleaner-werror.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.2.0-disable-keymap.patch
|
||||||
|
"${FILESDIR}"/${PN}-5.2.0-dce-locks.patch
|
||||||
|
"${FILESDIR}"/${PN}-6.0.0-make.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
usr/share/qemu/hppa-firmware.img
|
||||||
|
usr/share/qemu/openbios-ppc
|
||||||
|
usr/share/qemu/openbios-sparc64
|
||||||
|
usr/share/qemu/openbios-sparc32
|
||||||
|
usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.elf
|
||||||
|
usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.elf
|
||||||
|
usr/share/qemu/palcode-clipper
|
||||||
|
usr/share/qemu/s390-ccw.img
|
||||||
|
usr/share/qemu/s390-netboot.img
|
||||||
|
usr/share/qemu/u-boot.e500
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_WX_LOAD="usr/bin/qemu-i386
|
||||||
|
usr/bin/qemu-x86_64
|
||||||
|
usr/bin/qemu-alpha
|
||||||
|
usr/bin/qemu-arm
|
||||||
|
usr/bin/qemu-cris
|
||||||
|
usr/bin/qemu-m68k
|
||||||
|
usr/bin/qemu-microblaze
|
||||||
|
usr/bin/qemu-microblazeel
|
||||||
|
usr/bin/qemu-mips
|
||||||
|
usr/bin/qemu-mipsel
|
||||||
|
usr/bin/qemu-or1k
|
||||||
|
usr/bin/qemu-ppc
|
||||||
|
usr/bin/qemu-ppc64
|
||||||
|
usr/bin/qemu-ppc64abi32
|
||||||
|
usr/bin/qemu-sh4
|
||||||
|
usr/bin/qemu-sh4eb
|
||||||
|
usr/bin/qemu-sparc
|
||||||
|
usr/bin/qemu-sparc64
|
||||||
|
usr/bin/qemu-armeb
|
||||||
|
usr/bin/qemu-sparc32plus
|
||||||
|
usr/bin/qemu-s390x
|
||||||
|
usr/bin/qemu-unicore32
|
||||||
|
"
|
||||||
|
|
||||||
|
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the
|
||||||
|
kernel module loaded before running kvm. The easiest way to ensure that the
|
||||||
|
kernel module is loaded is to load it on boot.
|
||||||
|
For AMD CPUs the module is called 'kvm-amd'.
|
||||||
|
For Intel CPUs the module is called 'kvm-intel'.
|
||||||
|
Please review /etc/conf.d/modules for how to load these.
|
||||||
|
|
||||||
|
Make sure your user is in the 'kvm' group. Just run
|
||||||
|
$ gpasswd -a <USER> kvm
|
||||||
|
then have <USER> re-login.
|
||||||
|
|
||||||
|
For brand new installs, the default permissions on /dev/kvm might not let
|
||||||
|
you access it. You can tell udev to reset ownership/perms:
|
||||||
|
$ udevadm trigger -c add /dev/kvm
|
||||||
|
|
||||||
|
If you want to register binfmt handlers for qemu user targets:
|
||||||
|
For openrc:
|
||||||
|
# rc-update add qemu-binfmt
|
||||||
|
For systemd:
|
||||||
|
# ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||||
|
eerror "This version of KVM requires a host kernel of 2.6.25 or higher."
|
||||||
|
elif use kernel_linux; then
|
||||||
|
if ! linux_config_exists; then
|
||||||
|
eerror "Unable to check your kernel for KVM support"
|
||||||
|
else
|
||||||
|
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||||
|
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||||
|
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||||
|
ERROR_KVM_AMD+=" your kernel configuration."
|
||||||
|
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||||
|
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||||
|
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||||
|
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||||
|
ERROR_TUN+=" virtual network device if using -net tap."
|
||||||
|
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||||
|
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||||
|
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||||
|
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||||
|
ERROR_VHOST_NET+=" support"
|
||||||
|
|
||||||
|
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||||
|
if grep -q AuthenticAMD /proc/cpuinfo; then
|
||||||
|
CONFIG_CHECK+=" ~KVM_AMD"
|
||||||
|
elif grep -q GenuineIntel /proc/cpuinfo; then
|
||||||
|
CONFIG_CHECK+=" ~KVM_INTEL"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||||
|
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||||
|
|
||||||
|
# Now do the actual checks setup above
|
||||||
|
check_extra_config
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||||
|
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||||
|
eerror "instances are still pointing to it. Please update your"
|
||||||
|
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||||
|
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||||
|
die "update your virt configs to not use qemu-kvm"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Sanity check to make sure target lists are kept up-to-date.
|
||||||
|
check_targets() {
|
||||||
|
local var=$1 mak=$2
|
||||||
|
local detected sorted
|
||||||
|
|
||||||
|
pushd "${S}"/default-configs/targets/ >/dev/null || die
|
||||||
|
|
||||||
|
# Force C locale until glibc is updated. #564936
|
||||||
|
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||||
|
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||||
|
if [[ ${sorted} != "${detected}" ]] ; then
|
||||||
|
eerror "The ebuild needs to be kept in sync."
|
||||||
|
eerror "${var}: ${sorted}"
|
||||||
|
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||||
|
die "sync ${var} to the list of targets"
|
||||||
|
fi
|
||||||
|
|
||||||
|
popd >/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||||
|
check_targets IUSE_USER_TARGETS linux-user
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
# Use correct toolchain to fix cross-compiling
|
||||||
|
tc-export AR AS LD NM OBJCOPY PKG_CONFIG RANLIB STRINGS
|
||||||
|
export WINDRES=${CHOST}-windres
|
||||||
|
|
||||||
|
# Verbose builds
|
||||||
|
MAKEOPTS+=" V=1"
|
||||||
|
|
||||||
|
# Remove bundled copy of libfdt
|
||||||
|
rm -r dtc || die
|
||||||
|
}
|
||||||
|
|
||||||
|
##
|
||||||
|
# configures qemu based on the build directory and the build type
|
||||||
|
# we are using.
|
||||||
|
#
|
||||||
|
qemu_src_configure() {
|
||||||
|
debug-print-function ${FUNCNAME} "$@"
|
||||||
|
|
||||||
|
local buildtype=$1
|
||||||
|
local builddir="${S}/${buildtype}-build"
|
||||||
|
|
||||||
|
mkdir "${builddir}"
|
||||||
|
|
||||||
|
local conf_opts=(
|
||||||
|
--prefix=/usr
|
||||||
|
--sysconfdir=/etc
|
||||||
|
--bindir=/usr/bin
|
||||||
|
--libdir=/usr/$(get_libdir)
|
||||||
|
--datadir=/usr/share
|
||||||
|
--docdir=/usr/share/doc/${PF}/html
|
||||||
|
--mandir=/usr/share/man
|
||||||
|
--localstatedir=/var
|
||||||
|
--disable-bsd-user
|
||||||
|
--disable-containers # bug #732972
|
||||||
|
--disable-guest-agent
|
||||||
|
--disable-strip
|
||||||
|
|
||||||
|
# bug #746752: TCG interpreter has a few limitations:
|
||||||
|
# - it does not support FPU
|
||||||
|
# - it's generally slower on non-self-modifying code
|
||||||
|
# It's advantage is support for host architectures
|
||||||
|
# where native codegeneration is not implemented.
|
||||||
|
# Gentoo has qemu keyworded only on targets with
|
||||||
|
# native code generation available. Avoid the interpreter.
|
||||||
|
--disable-tcg-interpreter
|
||||||
|
|
||||||
|
--disable-werror
|
||||||
|
# We support gnutls/nettle for crypto operations. It is possible
|
||||||
|
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||||
|
# are enabled), but it's not really worth the hassle. Disable it
|
||||||
|
# all the time to avoid automatically detecting it. #568856
|
||||||
|
--disable-gcrypt
|
||||||
|
--python="${PYTHON}"
|
||||||
|
--cc="$(tc-getCC)"
|
||||||
|
--cxx="$(tc-getCXX)"
|
||||||
|
--host-cc="$(tc-getBUILD_CC)"
|
||||||
|
$(use_enable debug debug-info)
|
||||||
|
$(use_enable debug debug-tcg)
|
||||||
|
$(use_enable doc docs)
|
||||||
|
$(use_enable nls gettext)
|
||||||
|
$(use_enable plugins)
|
||||||
|
$(use_enable xattr attr)
|
||||||
|
)
|
||||||
|
|
||||||
|
# Disable options not used by user targets. This simplifies building
|
||||||
|
# static user targets (USE=static-user) considerably.
|
||||||
|
conf_notuser() {
|
||||||
|
if [[ ${buildtype} == "user" ]] ; then
|
||||||
|
echo "--disable-${2:-$1}"
|
||||||
|
else
|
||||||
|
use_enable "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
# Enable option only for softmmu build, but not 'user' or 'tools'
|
||||||
|
conf_softmmu() {
|
||||||
|
if [[ ${buildtype} == "softmmu" ]] ; then
|
||||||
|
use_enable "$@"
|
||||||
|
else
|
||||||
|
echo "--disable-${2:-$1}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
# Enable option only for tools build, but not 'user' or 'softmmu'
|
||||||
|
conf_tools() {
|
||||||
|
if [[ ${buildtype} == "tools" ]] ; then
|
||||||
|
use_enable "$@"
|
||||||
|
else
|
||||||
|
echo "--disable-${2:-$1}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
conf_opts+=(
|
||||||
|
$(conf_notuser accessibility brlapi)
|
||||||
|
$(conf_notuser aio linux-aio)
|
||||||
|
$(conf_notuser bzip2)
|
||||||
|
$(conf_notuser capstone)
|
||||||
|
$(conf_notuser caps cap-ng)
|
||||||
|
$(conf_notuser curl)
|
||||||
|
$(conf_notuser fdt)
|
||||||
|
$(conf_notuser fuse)
|
||||||
|
$(conf_notuser glusterfs)
|
||||||
|
$(conf_notuser gnutls)
|
||||||
|
$(conf_notuser gnutls nettle)
|
||||||
|
$(conf_notuser gtk)
|
||||||
|
$(conf_notuser infiniband rdma)
|
||||||
|
$(conf_notuser iscsi libiscsi)
|
||||||
|
$(conf_notuser io-uring linux-io-uring)
|
||||||
|
$(conf_notuser jemalloc jemalloc)
|
||||||
|
$(conf_notuser jpeg vnc-jpeg)
|
||||||
|
$(conf_notuser kernel_linux kvm)
|
||||||
|
$(conf_notuser lzo)
|
||||||
|
$(conf_notuser multipath mpath)
|
||||||
|
$(conf_notuser ncurses curses)
|
||||||
|
$(conf_notuser nfs libnfs)
|
||||||
|
$(conf_notuser numa)
|
||||||
|
$(conf_notuser opengl)
|
||||||
|
$(conf_notuser png vnc-png)
|
||||||
|
$(conf_notuser rbd)
|
||||||
|
$(conf_notuser sasl vnc-sasl)
|
||||||
|
$(conf_notuser sdl)
|
||||||
|
$(conf_softmmu sdl-image)
|
||||||
|
$(conf_notuser seccomp)
|
||||||
|
$(conf_notuser slirp slirp system)
|
||||||
|
$(conf_notuser smartcard)
|
||||||
|
$(conf_notuser snappy)
|
||||||
|
$(conf_notuser spice)
|
||||||
|
$(conf_notuser ssh libssh)
|
||||||
|
$(conf_notuser udev libudev)
|
||||||
|
$(conf_notuser usb libusb)
|
||||||
|
$(conf_notuser usbredir usb-redir)
|
||||||
|
$(conf_notuser vde)
|
||||||
|
$(conf_notuser vhost-net)
|
||||||
|
$(conf_notuser vhost-user-fs)
|
||||||
|
$(conf_tools vhost-user-fs virtiofsd)
|
||||||
|
$(conf_notuser virgl virglrenderer)
|
||||||
|
$(conf_softmmu virtfs)
|
||||||
|
$(conf_notuser vnc)
|
||||||
|
$(conf_notuser vte)
|
||||||
|
$(conf_notuser xen)
|
||||||
|
$(conf_notuser xen xen-pci-passthrough)
|
||||||
|
$(conf_notuser xfs xfsctl)
|
||||||
|
# use prebuilt keymaps, bug #759604
|
||||||
|
--disable-xkbcommon
|
||||||
|
$(conf_notuser zstd)
|
||||||
|
)
|
||||||
|
|
||||||
|
if [[ ${buildtype} == "user" ]] ; then
|
||||||
|
conf_opts+=( --disable-libxml2 )
|
||||||
|
else
|
||||||
|
conf_opts+=( --enable-libxml2 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ! ${buildtype} == "user" ]] ; then
|
||||||
|
# audio options
|
||||||
|
local audio_opts=(
|
||||||
|
# Note: backend order matters here: #716202
|
||||||
|
# We iterate from higher-level to lower level.
|
||||||
|
$(usex pulseaudio pa "")
|
||||||
|
$(usev jack)
|
||||||
|
$(usev sdl)
|
||||||
|
$(usev alsa)
|
||||||
|
$(usev oss)
|
||||||
|
)
|
||||||
|
conf_opts+=(
|
||||||
|
--audio-drv-list=$(printf "%s," "${audio_opts[@]}")
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
case ${buildtype} in
|
||||||
|
user)
|
||||||
|
conf_opts+=(
|
||||||
|
--enable-linux-user
|
||||||
|
--disable-system
|
||||||
|
--disable-blobs
|
||||||
|
--disable-tools
|
||||||
|
)
|
||||||
|
local static_flag="static-user"
|
||||||
|
;;
|
||||||
|
softmmu)
|
||||||
|
conf_opts+=(
|
||||||
|
--disable-linux-user
|
||||||
|
--enable-system
|
||||||
|
--disable-tools
|
||||||
|
)
|
||||||
|
local static_flag="static"
|
||||||
|
;;
|
||||||
|
tools)
|
||||||
|
conf_opts+=(
|
||||||
|
--disable-linux-user
|
||||||
|
--disable-system
|
||||||
|
--disable-blobs
|
||||||
|
--enable-tools
|
||||||
|
)
|
||||||
|
local static_flag="static"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
local targets="${buildtype}_targets"
|
||||||
|
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||||
|
|
||||||
|
# Add support for SystemTAP
|
||||||
|
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||||
|
|
||||||
|
# We always want to attempt to build with PIE support as it results
|
||||||
|
# in a more secure binary. But it doesn't work with static or if
|
||||||
|
# the current GCC doesn't have PIE support.
|
||||||
|
if use ${static_flag}; then
|
||||||
|
conf_opts+=( --static --disable-pie )
|
||||||
|
else
|
||||||
|
tc-enables-pie && conf_opts+=( --enable-pie )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Meson will not use a cross-file unless cross_prefix is set.
|
||||||
|
tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" )
|
||||||
|
|
||||||
|
# Plumb through equivalent of EXTRA_ECONF to allow experiments
|
||||||
|
# like bug #747928.
|
||||||
|
conf_opts+=( ${EXTRA_CONF_QEMU} )
|
||||||
|
|
||||||
|
echo "../configure ${conf_opts[*]}"
|
||||||
|
cd "${builddir}"
|
||||||
|
../configure "${conf_opts[@]}" || die "configure failed"
|
||||||
|
|
||||||
|
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||||
|
# host USB devices yet
|
||||||
|
use kernel_FreeBSD && \
|
||||||
|
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local target
|
||||||
|
|
||||||
|
python_setup
|
||||||
|
|
||||||
|
softmmu_targets= softmmu_bins=()
|
||||||
|
user_targets= user_bins=()
|
||||||
|
|
||||||
|
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||||
|
if use "qemu_softmmu_targets_${target}"; then
|
||||||
|
softmmu_targets+=",${target}-softmmu"
|
||||||
|
softmmu_bins+=( "qemu-system-${target}" )
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for target in ${IUSE_USER_TARGETS} ; do
|
||||||
|
if use "qemu_user_targets_${target}"; then
|
||||||
|
user_targets+=",${target}-linux-user"
|
||||||
|
user_bins+=( "qemu-${target}" )
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
softmmu_targets=${softmmu_targets#,}
|
||||||
|
user_targets=${user_targets#,}
|
||||||
|
|
||||||
|
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||||
|
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||||
|
qemu_src_configure "tools"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if [[ -n ${user_targets} ]]; then
|
||||||
|
cd "${S}/user-build"
|
||||||
|
default
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n ${softmmu_targets} ]]; then
|
||||||
|
cd "${S}/softmmu-build"
|
||||||
|
default
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${S}/tools-build"
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if [[ -n ${softmmu_targets} ]]; then
|
||||||
|
cd "${S}/softmmu-build"
|
||||||
|
pax-mark m */qemu-system-* #515550
|
||||||
|
emake check
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
qemu_python_install() {
|
||||||
|
python_domodule "${S}/python/qemu"
|
||||||
|
|
||||||
|
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||||
|
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||||
|
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Generate binfmt support files.
|
||||||
|
# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc)
|
||||||
|
# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt)
|
||||||
|
generate_initd() {
|
||||||
|
local out="${T}/qemu-binfmt"
|
||||||
|
local out_systemd="${T}/qemu.conf"
|
||||||
|
local d="${T}/binfmt.d"
|
||||||
|
|
||||||
|
einfo "Generating qemu binfmt scripts and configuration files"
|
||||||
|
|
||||||
|
# Generate the debian fragments first.
|
||||||
|
mkdir -p "${d}"
|
||||||
|
"${S}"/scripts/qemu-binfmt-conf.sh \
|
||||||
|
--debian \
|
||||||
|
--exportdir "${d}" \
|
||||||
|
--qemu-path "${EPREFIX}/usr/bin" \
|
||||||
|
|| die
|
||||||
|
# Then turn the fragments into a shell script we can source.
|
||||||
|
sed -E -i \
|
||||||
|
-e 's:^([^ ]+) (.*)$:\1="\2":' \
|
||||||
|
"${d}"/* || die
|
||||||
|
|
||||||
|
# Generate the init.d script by assembling the fragments from above.
|
||||||
|
local f qcpu package interpreter magic mask
|
||||||
|
cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die
|
||||||
|
for f in "${d}"/qemu-* ; do
|
||||||
|
source "${f}"
|
||||||
|
|
||||||
|
# Normalize the cpu logic like we do in the init.d for the native cpu.
|
||||||
|
qcpu=${package#qemu-}
|
||||||
|
case ${qcpu} in
|
||||||
|
arm*) qcpu="arm";;
|
||||||
|
mips*) qcpu="mips";;
|
||||||
|
ppc*) qcpu="ppc";;
|
||||||
|
s390*) qcpu="s390";;
|
||||||
|
sh*) qcpu="sh";;
|
||||||
|
sparc*) qcpu="sparc";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# we use 'printf' here to be portable across 'sh'
|
||||||
|
# implementations: #679168
|
||||||
|
cat <<EOF >>"${out}"
|
||||||
|
if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
|
||||||
|
printf '%s\n' ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
|
||||||
|
fi
|
||||||
|
EOF
|
||||||
|
|
||||||
|
echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}"
|
||||||
|
|
||||||
|
done
|
||||||
|
cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if [[ -n ${user_targets} ]]; then
|
||||||
|
cd "${S}/user-build"
|
||||||
|
emake DESTDIR="${ED}" install
|
||||||
|
|
||||||
|
# Install binfmt handler init script for user targets.
|
||||||
|
generate_initd
|
||||||
|
doinitd "${T}/qemu-binfmt"
|
||||||
|
|
||||||
|
# Install binfmt/qemu.conf.
|
||||||
|
insinto "/usr/share/qemu/binfmt.d"
|
||||||
|
doins "${T}/qemu.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n ${softmmu_targets} ]]; then
|
||||||
|
cd "${S}/softmmu-build"
|
||||||
|
emake DESTDIR="${ED}" install
|
||||||
|
|
||||||
|
# This might not exist if the test failed. #512010
|
||||||
|
[[ -e check-report.html ]] && dodoc check-report.html
|
||||||
|
|
||||||
|
if use kernel_linux; then
|
||||||
|
udev_newrules "${FILESDIR}"/65-kvm.rules-r2 65-kvm.rules
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use python; then
|
||||||
|
python_foreach_impl qemu_python_install
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${S}/tools-build"
|
||||||
|
emake DESTDIR="${ED}" install
|
||||||
|
|
||||||
|
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||||
|
pushd "${ED}"/usr/bin >/dev/null
|
||||||
|
pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
|
||||||
|
popd >/dev/null
|
||||||
|
|
||||||
|
# Install config file example for qemu-bridge-helper
|
||||||
|
insinto "/etc/qemu"
|
||||||
|
doins "${FILESDIR}/bridge.conf"
|
||||||
|
|
||||||
|
cd "${S}"
|
||||||
|
dodoc MAINTAINERS docs/specs/pci-ids.txt
|
||||||
|
newdoc pc-bios/README README.pc-bios
|
||||||
|
|
||||||
|
# Disallow stripping of prebuilt firmware files.
|
||||||
|
dostrip -x ${QA_PREBUILT}
|
||||||
|
|
||||||
|
if [[ -n ${softmmu_targets} ]]; then
|
||||||
|
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||||
|
rm "${ED}/usr/share/qemu/bios.bin"
|
||||||
|
rm "${ED}/usr/share/qemu/bios-256k.bin"
|
||||||
|
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||||
|
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||||
|
dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove vgabios since we're using the seavgabios packaged one
|
||||||
|
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||||
|
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||||
|
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||||
|
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||||
|
rm "${ED}/usr/share/qemu/vgabios-virtio.bin"
|
||||||
|
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||||
|
# PPC/PPC64 loads vgabios-stdvga
|
||||||
|
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 || use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64; then
|
||||||
|
dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin
|
||||||
|
dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||||
|
dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||||
|
dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||||
|
dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin
|
||||||
|
dosym ../seavgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove sgabios since we're using the sgabios packaged one
|
||||||
|
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||||
|
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||||
|
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove iPXE since we're using the iPXE packaged one
|
||||||
|
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||||
|
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||||
|
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||||
|
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||||
|
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||||
|
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||||
|
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||||
|
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING=true
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
firmware_abi_change() {
|
||||||
|
local pv
|
||||||
|
for pv in ${REPLACING_VERSIONS}; do
|
||||||
|
if ver_test ${pv} -lt ${FIRMWARE_ABI_VERSION}; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||||
|
udev_reload
|
||||||
|
fi
|
||||||
|
|
||||||
|
xdg_icon_cache_update
|
||||||
|
|
||||||
|
[[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \
|
||||||
|
fcaps cap_net_admin ${EROOT}/usr/libexec/qemu-bridge-helper
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING=true
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
|
||||||
|
if use pin-upstream-blobs && firmware_abi_change; then
|
||||||
|
ewarn "This version of qemu pins new versions of firmware blobs:"
|
||||||
|
ewarn " $(best_version sys-firmware/edk2-ovmf)"
|
||||||
|
ewarn " $(best_version sys-firmware/ipxe)"
|
||||||
|
ewarn " $(best_version sys-firmware/seabios)"
|
||||||
|
ewarn " $(best_version sys-firmware/sgabios)"
|
||||||
|
ewarn "This might break resume of hibernated guests (started with a different"
|
||||||
|
ewarn "firmware version) and live migration to/from qemu versions with different"
|
||||||
|
ewarn "firmware. Please (cold) restart all running guests. For functional"
|
||||||
|
ewarn "guest migration ensure that all"
|
||||||
|
ewarn "hosts run at least"
|
||||||
|
ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_info() {
|
||||||
|
echo "Using:"
|
||||||
|
echo " $(best_version app-emulation/spice-protocol)"
|
||||||
|
echo " $(best_version sys-firmware/edk2-ovmf)"
|
||||||
|
if has_version 'sys-firmware/edk2-ovmf[binary]'; then
|
||||||
|
echo " USE=binary"
|
||||||
|
else
|
||||||
|
echo " USE=''"
|
||||||
|
fi
|
||||||
|
echo " $(best_version sys-firmware/ipxe)"
|
||||||
|
echo " $(best_version sys-firmware/seabios)"
|
||||||
|
if has_version 'sys-firmware/seabios[binary]'; then
|
||||||
|
echo " USE=binary"
|
||||||
|
else
|
||||||
|
echo " USE=''"
|
||||||
|
fi
|
||||||
|
echo " $(best_version sys-firmware/sgabios)"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
DIST eix-0.35.2.tar.xz 636616 BLAKE2B 22c9ce54bd612ff7b8a085d91727ee7b472b9c3ba71568f23b4cfc5e2c4d9b0a68e2df377d4c4101c53e193864418c11b0c76830b5b6044588dcf3882b164e3d SHA512 39ff4c4f31be3c40a17a77626c25550a3881d8c405ebd9e7a361252cb729f9c0fc40831bc41e503fdea9f05684ad0eaa1aceabba1c6e4067a33a8581bf5a9625
|
DIST eix-0.35.2.tar.xz 636616 BLAKE2B 22c9ce54bd612ff7b8a085d91727ee7b472b9c3ba71568f23b4cfc5e2c4d9b0a68e2df377d4c4101c53e193864418c11b0c76830b5b6044588dcf3882b164e3d SHA512 39ff4c4f31be3c40a17a77626c25550a3881d8c405ebd9e7a361252cb729f9c0fc40831bc41e503fdea9f05684ad0eaa1aceabba1c6e4067a33a8581bf5a9625
|
||||||
DIST eix-0.36.0.tar.xz 640820 BLAKE2B 952e6a354cc5fd1145ef36fed6047bc6f10dd7a51166028581e3b392be66b5df07eabb96cba362dc4f7a50fbe19e6ccb3744d30928c4763a91af21ad02cee38d SHA512 891e343b01d3887cbc7e61933b43e79949ff702dcd8ada2f15ff57a628dc6ebc9a4b6817d3aa3d814474db3131aefcbbf56cec2520868dcb2182cbee780125b5
|
DIST eix-0.36.0.tar.xz 640820 BLAKE2B 952e6a354cc5fd1145ef36fed6047bc6f10dd7a51166028581e3b392be66b5df07eabb96cba362dc4f7a50fbe19e6ccb3744d30928c4763a91af21ad02cee38d SHA512 891e343b01d3887cbc7e61933b43e79949ff702dcd8ada2f15ff57a628dc6ebc9a4b6817d3aa3d814474db3131aefcbbf56cec2520868dcb2182cbee780125b5
|
||||||
EBUILD eix-0.35.2.ebuild 2539 BLAKE2B 9df22e7365f6a7352edf3326d405135fb2e2ef0f2efbed1b90f0ce2e5c834a4868e30f5db1b2ff3219bdbda16ef9b557c616fce63b24d7d9379a128391982f25 SHA512 af74697e0c3da63302d117405b77b3d85cd4c27feceb1af72e3ee7d0bd7fa51e64ede71c9327de7abcdb3e32baeb54cd7c58b265d59554360d08bf378f38bddf
|
EBUILD eix-0.35.2.ebuild 2539 BLAKE2B 9df22e7365f6a7352edf3326d405135fb2e2ef0f2efbed1b90f0ce2e5c834a4868e30f5db1b2ff3219bdbda16ef9b557c616fce63b24d7d9379a128391982f25 SHA512 af74697e0c3da63302d117405b77b3d85cd4c27feceb1af72e3ee7d0bd7fa51e64ede71c9327de7abcdb3e32baeb54cd7c58b265d59554360d08bf378f38bddf
|
||||||
EBUILD eix-0.36.0.ebuild 2547 BLAKE2B 5e181c69cde90dca9c29816e3cbe630ca70434d09544b48269f7fe5dd743afb093b8259b00f284b7964b80275a1610d129e0d84f7d9f8f152955e0591e3398da SHA512 541beaba3647be36da2847e05e79631b671130fa281462f88e65e41eddf430b5b287de0f62580ee5ea962930ac695ea1c6e2fd7015128b705433bd9d223065d3
|
EBUILD eix-0.36.0.ebuild 2545 BLAKE2B 53e45c61b4e215bf634a7e7ce0ca070623f5222d535e9f11709024a6b9aab27a3615a16c217b1c083d3bcedfb411fabc7d89a3a16eb8753e363aea6156b1c85f SHA512 d46f0c6b8529a113d087a36a796e7eeb24de3c743c1dd8ea46d6e554464ab6a7694697a345732f3a76c5d89bfcdb6c4e3e77e5dff82664c559c1ceac2ca6f48a
|
||||||
MISC metadata.xml 1066 BLAKE2B d86d5ac2b57cb98b85fb31719d76cfa74d8ca4e18473d4bea8c4c9c63ce35e6b1e1c0e41b3a6dc20f5ba464e3273f51035929ae1d37d36d0da8a3e8a30ca7a68 SHA512 c161c1e63cc7e9ca25bea3902f5c5806e6cde1253d74b8f2fbb876667b9fb8502edc81a309b0bde4a5de033594927da6b12254784fceb8e9a7452ae914ee5373
|
MISC metadata.xml 1066 BLAKE2B d86d5ac2b57cb98b85fb31719d76cfa74d8ca4e18473d4bea8c4c9c63ce35e6b1e1c0e41b3a6dc20f5ba464e3273f51035929ae1d37d36d0da8a3e8a30ca7a68 SHA512 c161c1e63cc7e9ca25bea3902f5c5806e6cde1253d74b8f2fbb876667b9fb8502edc81a309b0bde4a5de033594927da6b12254784fceb8e9a7452ae914ee5373
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa
|
DIST kokkos-3.0.00.tar.gz 1923287 BLAKE2B 4a2935e9388b3d577d6ce8678cad37830970222e6ce8a9c3db67633cb521440f14fdb380f03d3c77cd5ade85abe94aef97e9cc4949cc3a140fae958e0c15fff8 SHA512 c9daf62a2c92462c815aa241934aca5720bac8f88195635ae5a3ff4111d289a48898d32358b91e120756d3412820050297a76f44828f4cbc0b2b837a736e84aa
|
||||||
DIST kokkos-3.1.01.tar.gz 1972707 BLAKE2B fe31556ecba6b01ed6e480f0cb4ca4d7dc487d6b2a7e52df94d0e93b864ed5269a752f4fcdbacb55383e9dee3b72236f121b67d2f5eed10f3351219b063e7099 SHA512 4fa428ec33ec207147b3fcc5e0d297bcff4ed772ba6baa24ccaf56b691b72b70c69bd48fdf134f4e78234bf755377fe01a31611a41539c2d211ba9caed24b1f2
|
DIST kokkos-3.1.01.tar.gz 1972707 BLAKE2B fe31556ecba6b01ed6e480f0cb4ca4d7dc487d6b2a7e52df94d0e93b864ed5269a752f4fcdbacb55383e9dee3b72236f121b67d2f5eed10f3351219b063e7099 SHA512 4fa428ec33ec207147b3fcc5e0d297bcff4ed772ba6baa24ccaf56b691b72b70c69bd48fdf134f4e78234bf755377fe01a31611a41539c2d211ba9caed24b1f2
|
||||||
EBUILD kokkos-3.0.00.ebuild 1023 BLAKE2B a1d9bca6bea7652c08ee22255df77af679984dc8373fef66ad3ee26043db976919a89b90305fcf2b2150fb50d5c449d5b42fa75489cac8c860a9f6c51722f43e SHA512 8964a283ea1e760085c0b9d5f9fd1427e9ba059f4fd1587685bafa96f06a2c98404104504a92fb224404336a0c92375a1ad4e55de9311044ebfd6725d7ba169c
|
EBUILD kokkos-3.0.00-r1.ebuild 1025 BLAKE2B 6de741ddaeedfe6d99e698b3c28c34c1bfba1e77f0cfe500f18f230c61c9931322348c5f70fc775d87f9643d12349e0da9374b61295ced1018a63fa433dd2981 SHA512 726aa350482c3688df355e65bf229c8949336b0308efbc76242c07fa71bd3e95548a8f9226c2d1c9d531ad18cf34aa5865f98087686dd86abd988a83914cbb09
|
||||||
EBUILD kokkos-3.1.01.ebuild 1001 BLAKE2B 953a51a0b3397e8e5d7560e9e9dff920bddb669b47e2f0832f78cb47cc721268682d5d04dbf186919f9c76f0994f6c041b8349753dc7a353ee94f8e0bcbb7a5a SHA512 67d6224e2e2ee9437d80650c00707cd0d77c21c6b8fdf868c16f39af065d711bdd29da862249ecc9aee29793c615f12a5e0de1e7cf5078faa748e80545db112c
|
EBUILD kokkos-3.1.01-r1.ebuild 1003 BLAKE2B b7fcc8c60a8b5b20370f3cdf72e8ad91e89d9fd996f4d2cbd992fd446852af15b5f7d051e61a031a29992d41922b2a03317dd2d70c2b5debba8bf224efe4ca33 SHA512 b88877578eda14961dd578a22e076d960fb95a3de5c6464429b2e4a6c4d46676776e16f0e18c8b8798a9412831977ef3d4ea2dd0d1daeabd5a56ee9b75642e59
|
||||||
MISC metadata.xml 254 BLAKE2B a78564cb4b2bc87f6bba710cf53a3cb19dbd43363361b936e2041b564a2840172c4bbf1e42a5fb1aff7adb5a4843c36cb4e53a75989137343cfea0655add5a19 SHA512 83ce2926ad7bdadbf376ce803de60225491e26c23739394f46787d443648f747b84c962193b85230d22e936534c0d5d2ca7a759f33a1fb22c2d0ceeb0ea1f2ab
|
MISC metadata.xml 254 BLAKE2B a78564cb4b2bc87f6bba710cf53a3cb19dbd43363361b936e2041b564a2840172c4bbf1e42a5fb1aff7adb5a4843c36cb4e53a75989137343cfea0655add5a19 SHA512 83ce2926ad7bdadbf376ce803de60225491e26c23739394f46787d443648f747b84c962193b85230d22e936534c0d5d2ca7a759f33a1fb22c2d0ceeb0ea1f2ab
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
AUX tbb-2020.1-makefile-debug.patch 2640 BLAKE2B 98e1d88f279452898be78fb53235427a5c45a0056429e07acd5bc273a48c7214dc8df29c72cba344688f650fce25bba06f6f9e4dfbf1091260544e95159cf33d SHA512 9a29ff67321b75efe10621bfe924e89a5c51d4e7327e20aa69018aaea590189ed297b9ab94bd3b48172d0b093e3d2aaebfc7088b480364f6f6c7802a27d3c1e4
|
AUX tbb-2020.1-makefile-debug.patch 2640 BLAKE2B 98e1d88f279452898be78fb53235427a5c45a0056429e07acd5bc273a48c7214dc8df29c72cba344688f650fce25bba06f6f9e4dfbf1091260544e95159cf33d SHA512 9a29ff67321b75efe10621bfe924e89a5c51d4e7327e20aa69018aaea590189ed297b9ab94bd3b48172d0b093e3d2aaebfc7088b480364f6f6c7802a27d3c1e4
|
||||||
|
AUX tbb-2021.4.0-lto.patch 9663 BLAKE2B c05245283427d6a715e835492c099bf106f1d0c3213750b4370a2ef951d90f3be00361e0f2f4632e787dd4ee78294fce3a7c3292ceaa76eb41a8597e4ce9d67b SHA512 4b6fbdfe56a5b1ee890891f9154c7d231d21619bb3260cce0a64d56d6f2f3cf7843dc62d553f36360e702a88d49a20f8fd775488800c2a5308237183535bb247
|
||||||
DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a SHA512 04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
|
DIST tbb-2020.3.tar.gz 2639788 BLAKE2B 3e92bccdc8179fc049379ccbb8ad7f615623177abc61d813b1a601020c345137bfd7d4c4600cf5b0d587e5ebef677635c3c8124d06b05fdd3325128ed8c9f84a SHA512 04c4b5501418792827190691d03d20d4dc1fd3cbbcf459a4d40c5c2281d964e658f31f133ad3907b78e17ed04f4ff16728ed89487ed0ce2cb239f23feb34bd87
|
||||||
|
DIST tbb-2021.4.0.tar.gz 2452533 BLAKE2B a635c6efa1894c33e2f75c1aa03b6c0f4a86ebef3b58fa42bd25b53d661ed7a9d21f49f121dd3679735f219fbfc35604600bcc72ba60d3602e6de77b0d62e37b SHA512 96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b
|
||||||
EBUILD tbb-2020.3.ebuild 3391 BLAKE2B 518fa0a1a5ffc1b572b9366880f2e6a204e46f1751c923a76bd5cc96c69ad9bbc673bc89e23b9d46ef0c94e271d12001d0398d7e641d80a60d03fdaefa0789a5 SHA512 727e6797c6afc06f55359974add2b0578bcafa10b276bd603a8d6dc39adfe175cf89ee6c080d8543b4919bb9349adc812a4e3f39a5dcba68730acae30cc7be32
|
EBUILD tbb-2020.3.ebuild 3391 BLAKE2B 518fa0a1a5ffc1b572b9366880f2e6a204e46f1751c923a76bd5cc96c69ad9bbc673bc89e23b9d46ef0c94e271d12001d0398d7e641d80a60d03fdaefa0789a5 SHA512 727e6797c6afc06f55359974add2b0578bcafa10b276bd603a8d6dc39adfe175cf89ee6c080d8543b4919bb9349adc812a4e3f39a5dcba68730acae30cc7be32
|
||||||
|
EBUILD tbb-2021.4.0.ebuild 962 BLAKE2B cc32202a9668bde65cfd7df4ca8ea4d163c06f6beabb90c9b78a16701edab523ac30c86b26d12903efb4b7cab545c6e07ac5bfeafb95fc1b671f4acd96d0390b SHA512 920f4f0af51bbb40efb74b966fcccf9d9550d38f17533deecef6fce6d57a464b1a8b44071de5e4eeb9e4c83781179ed61d6a2c04487868e3568621ab0a324c12
|
||||||
MISC metadata.xml 688 BLAKE2B 5bd4c0fa3ce3f055bd8265a2133ad2b4ea6de984ccf295544f3013851b02a1f1d577070c2ecc1e2748fa8356d3d25278e9a8649a2523763eba6bc7e6ba830f79 SHA512 93b90fc74511f35e02dd7f7c7b3aeb08d2e4c88e2af852fcce40bdb780a3828975955b751542b8a9d3aa0561155858b91842f3cf98c713dcb08c9ce2152f0fe3
|
MISC metadata.xml 688 BLAKE2B 5bd4c0fa3ce3f055bd8265a2133ad2b4ea6de984ccf295544f3013851b02a1f1d577070c2ecc1e2748fa8356d3d25278e9a8649a2523763eba6bc7e6ba830f79 SHA512 93b90fc74511f35e02dd7f7c7b3aeb08d2e4c88e2af852fcce40bdb780a3828975955b751542b8a9d3aa0561155858b91842f3cf98c713dcb08c9ce2152f0fe3
|
||||||
|
@ -0,0 +1,247 @@
|
|||||||
|
From 6feeba8035ea2bdf652d473a35730b19427752db Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ivan Kochin <kochin.ivan@intel.com>
|
||||||
|
Date: Wed, 27 Oct 2021 17:23:32 +0300
|
||||||
|
Subject: [PATCH] Use native CMake way to detect the IPO support (#608)
|
||||||
|
|
||||||
|
* Use native CMake way to detect the IPO support
|
||||||
|
|
||||||
|
Signed-off-by: Kochin Ivan <kochin.ivan@intel.com>
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 17 +++++++++++++++++
|
||||||
|
cmake/README.md | 1 +
|
||||||
|
cmake/compilers/Clang.cmake | 8 ++------
|
||||||
|
cmake/compilers/GNU.cmake | 8 +++-----
|
||||||
|
cmake/compilers/MSVC.cmake | 1 +
|
||||||
|
cmake/utils.cmake | 13 +++++++++++++
|
||||||
|
src/tbb/CMakeLists.txt | 5 ++---
|
||||||
|
src/tbbbind/CMakeLists.txt | 6 +++---
|
||||||
|
src/tbbmalloc/CMakeLists.txt | 5 ++---
|
||||||
|
9 files changed, 44 insertions(+), 20 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 13b1dbc2c..4dbdadb97 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -103,6 +103,7 @@ option(TBBMALLOC_BUILD "Enable tbbmalloc build" ON)
|
||||||
|
option(TBB_CPF "Enable preview features of the library" OFF)
|
||||||
|
option(TBB_FIND_PACKAGE "Enable search for external oneTBB using find_package instead of build from sources" OFF)
|
||||||
|
option(TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH "Disable HWLOC automatic search by pkg-config tool" OFF)
|
||||||
|
+option(TBB_ENABLE_IPO "Enable Interprocedural Optimization (IPO) during the compilation" ON)
|
||||||
|
|
||||||
|
if (NOT DEFINED BUILD_SHARED_LIBS)
|
||||||
|
set(BUILD_SHARED_LIBS ON)
|
||||||
|
@@ -181,6 +182,22 @@ foreach(FILE_WITH_EXTRA_TARGETS ${FILES_WITH_EXTRA_TARGETS})
|
||||||
|
include(${FILE_WITH_EXTRA_TARGETS})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
+# - Enabling LTO on Android causes the NDK bug.
|
||||||
|
+# NDK throws the warning: "argument unused during compilation: '-Wa,--noexecstack'"
|
||||||
|
+# - For some reason GCC does not instrument code with Thread Sanitizer when lto is enabled and C linker is used.
|
||||||
|
+if (TBB_ENABLE_IPO AND BUILD_SHARED_LIBS AND NOT ANDROID_PLATFORM AND NOT TBB_SANITIZE MATCHES "thread")
|
||||||
|
+ if (NOT CMAKE_VERSION VERSION_LESS 3.9)
|
||||||
|
+ cmake_policy(SET CMP0069 NEW)
|
||||||
|
+ include(CheckIPOSupported)
|
||||||
|
+ check_ipo_supported(RESULT TBB_IPO_PROPERTY)
|
||||||
|
+ else()
|
||||||
|
+ set(TBB_IPO_FLAGS TRUE)
|
||||||
|
+ endif()
|
||||||
|
+ if (TBB_IPO_PROPERTY OR TBB_IPO_FLAGS)
|
||||||
|
+ message(STATUS "IPO enabled")
|
||||||
|
+ endif()
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
set(TBB_COMPILER_SETTINGS_FILE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/compilers/${CMAKE_CXX_COMPILER_ID}.cmake)
|
||||||
|
if (EXISTS ${TBB_COMPILER_SETTINGS_FILE})
|
||||||
|
include(${TBB_COMPILER_SETTINGS_FILE})
|
||||||
|
diff --git a/cmake/README.md b/cmake/README.md
|
||||||
|
index ec56e423c..ed1631de3 100644
|
||||||
|
--- a/cmake/README.md
|
||||||
|
+++ b/cmake/README.md
|
||||||
|
@@ -16,6 +16,7 @@ TBB_CPF:BOOL - Enable preview features of the library (OFF by default)
|
||||||
|
TBB_INSTALL_VARS:BOOL - Enable auto-generated vars installation(packages generated by `cpack` and `make install` will also include the vars script)(OFF by default)
|
||||||
|
TBB_VALGRIND_MEMCHECK:BOOL - Enable scan for memory leaks using Valgrind (OFF by default)
|
||||||
|
TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH - Disable HWLOC automatic search by pkg-config tool (OFF by default)
|
||||||
|
+TBB_ENABLE_IPO - Enable Interprocedural Optimization (IPO) during the compilation (ON by default)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Configure, build and test
|
||||||
|
diff --git a/cmake/compilers/Clang.cmake b/cmake/compilers/Clang.cmake
|
||||||
|
index 183341fcc..69aa51932 100644
|
||||||
|
--- a/cmake/compilers/Clang.cmake
|
||||||
|
+++ b/cmake/compilers/Clang.cmake
|
||||||
|
@@ -58,12 +58,8 @@ if (MINGW)
|
||||||
|
list(APPEND TBB_COMMON_COMPILE_FLAGS -U__STRICT_ANSI__)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-# Enabling LTO on Android causes the NDK bug.
|
||||||
|
-# NDK throws the warning: "argument unused during compilation: '-Wa,--noexecstack'"
|
||||||
|
-if (NOT ANDROID_PLATFORM AND BUILD_SHARED_LIBS)
|
||||||
|
- set(TBB_IPO_COMPILE_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
- set(TBB_IPO_LINK_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
-endif()
|
||||||
|
+set(TBB_IPO_COMPILE_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
+set(TBB_IPO_LINK_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
|
||||||
|
# TBB malloc settings
|
||||||
|
set(TBBMALLOC_LIB_COMPILE_FLAGS -fno-rtti -fno-exceptions)
|
||||||
|
diff --git a/cmake/compilers/GNU.cmake b/cmake/compilers/GNU.cmake
|
||||||
|
index fa14c869e..a9cfa8927 100644
|
||||||
|
--- a/cmake/compilers/GNU.cmake
|
||||||
|
+++ b/cmake/compilers/GNU.cmake
|
||||||
|
@@ -63,11 +63,9 @@ if (MINGW)
|
||||||
|
list(APPEND TBB_COMMON_COMPILE_FLAGS -U__STRICT_ANSI__)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-# For some reason GCC does not instrument code with Thread Sanitizer when lto is enabled and C linker is used.
|
||||||
|
-if (NOT TBB_SANITIZE MATCHES "thread")
|
||||||
|
- set(TBB_IPO_COMPILE_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
- set(TBB_IPO_LINK_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
-endif()
|
||||||
|
+set(TBB_IPO_COMPILE_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
+set(TBB_IPO_LINK_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
+
|
||||||
|
|
||||||
|
# TBB malloc settings
|
||||||
|
set(TBBMALLOC_LIB_COMPILE_FLAGS -fno-rtti -fno-exceptions)
|
||||||
|
diff --git a/cmake/compilers/MSVC.cmake b/cmake/compilers/MSVC.cmake
|
||||||
|
index 3447418cc..5767235a0 100644
|
||||||
|
--- a/cmake/compilers/MSVC.cmake
|
||||||
|
+++ b/cmake/compilers/MSVC.cmake
|
||||||
|
@@ -77,6 +77,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "(Clang|IntelLLVM)")
|
||||||
|
endif()
|
||||||
|
set(TBB_OPENMP_NO_LINK_FLAG TRUE)
|
||||||
|
set(TBB_IPO_COMPILE_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
+ set(TBB_IPO_LINK_FLAGS $<$<NOT:$<CONFIG:Debug>>:-flto>)
|
||||||
|
else()
|
||||||
|
set(TBB_IPO_COMPILE_FLAGS $<$<NOT:$<CONFIG:Debug>>:/GL>)
|
||||||
|
set(TBB_IPO_LINK_FLAGS $<$<NOT:$<CONFIG:Debug>>:-LTCG> $<$<NOT:$<CONFIG:Debug>>:-INCREMENTAL:NO>)
|
||||||
|
diff --git a/cmake/utils.cmake b/cmake/utils.cmake
|
||||||
|
index 06d3a9aee..f74abfcf9 100644
|
||||||
|
--- a/cmake/utils.cmake
|
||||||
|
+++ b/cmake/utils.cmake
|
||||||
|
@@ -44,3 +44,16 @@ macro(tbb_install_target target)
|
||||||
|
COMPONENT devel)
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
+
|
||||||
|
+macro(tbb_handle_ipo target)
|
||||||
|
+ if (TBB_IPO_PROPERTY)
|
||||||
|
+ set_target_properties(${target} PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||||
|
+ elseif (TBB_IPO_FLAGS)
|
||||||
|
+ target_compile_options(${target} PRIVATE ${TBB_IPO_COMPILE_FLAGS})
|
||||||
|
+ if (COMMAND target_link_options)
|
||||||
|
+ target_link_options(${target} PRIVATE ${TBB_IPO_LINK_FLAGS})
|
||||||
|
+ else()
|
||||||
|
+ target_link_libraries(${target} PRIVATE ${TBB_IPO_LINK_FLAGS})
|
||||||
|
+ endif()
|
||||||
|
+ endif()
|
||||||
|
+endmacro()
|
||||||
|
diff --git a/src/tbb/CMakeLists.txt b/src/tbb/CMakeLists.txt
|
||||||
|
index 80fdcdcde..021392d89 100644
|
||||||
|
--- a/src/tbb/CMakeLists.txt
|
||||||
|
+++ b/src/tbb/CMakeLists.txt
|
||||||
|
@@ -79,7 +79,6 @@ target_compile_options(tbb
|
||||||
|
${TBB_WARNING_SUPPRESS}
|
||||||
|
${TBB_LIB_COMPILE_FLAGS}
|
||||||
|
${TBB_COMMON_COMPILE_FLAGS}
|
||||||
|
- ${TBB_IPO_COMPILE_FLAGS}
|
||||||
|
)
|
||||||
|
|
||||||
|
# Avoid use of target_link_libraries here as it changes /DEF option to \DEF on Windows.
|
||||||
|
@@ -89,6 +88,8 @@ set_target_properties(tbb PROPERTIES
|
||||||
|
SOVERSION ${TBB_BINARY_VERSION}
|
||||||
|
)
|
||||||
|
|
||||||
|
+tbb_handle_ipo(tbb)
|
||||||
|
+
|
||||||
|
if (TBB_DEF_FILE_PREFIX) # If there's no prefix, assume we're using export directives
|
||||||
|
set_target_properties(tbb PROPERTIES
|
||||||
|
LINK_FLAGS ${TBB_LINK_DEF_FILE_FLAG}${CMAKE_CURRENT_SOURCE_DIR}/def/${TBB_DEF_FILE_PREFIX}-tbb.def
|
||||||
|
@@ -103,14 +104,12 @@ if (COMMAND target_link_options)
|
||||||
|
PRIVATE
|
||||||
|
${TBB_LIB_LINK_FLAGS}
|
||||||
|
${TBB_COMMON_LINK_FLAGS}
|
||||||
|
- ${TBB_IPO_LINK_FLAGS}
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
target_link_libraries(tbb
|
||||||
|
PRIVATE
|
||||||
|
${TBB_LIB_LINK_FLAGS}
|
||||||
|
${TBB_COMMON_LINK_FLAGS}
|
||||||
|
- ${TBB_IPO_LINK_FLAGS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
diff --git a/src/tbbbind/CMakeLists.txt b/src/tbbbind/CMakeLists.txt
|
||||||
|
index 99b7ccaac..3233ec718 100644
|
||||||
|
--- a/src/tbbbind/CMakeLists.txt
|
||||||
|
+++ b/src/tbbbind/CMakeLists.txt
|
||||||
|
@@ -46,7 +46,6 @@ function(tbbbind_build TBBBIND_NAME REQUIRED_HWLOC_TARGET)
|
||||||
|
${TBB_WARNING_LEVEL}
|
||||||
|
${TBB_LIB_COMPILE_FLAGS}
|
||||||
|
${TBB_COMMON_COMPILE_FLAGS}
|
||||||
|
- ${TBB_IPO_COMPILE_FLAGS}
|
||||||
|
)
|
||||||
|
|
||||||
|
# Avoid use of target_link_libraries here as it changes /DEF option to \DEF on Windows.
|
||||||
|
@@ -55,6 +54,9 @@ function(tbbbind_build TBBBIND_NAME REQUIRED_HWLOC_TARGET)
|
||||||
|
VERSION ${TBBBIND_BINARY_VERSION}.${TBB_BINARY_MINOR_VERSION}
|
||||||
|
SOVERSION ${TBBBIND_BINARY_VERSION}
|
||||||
|
)
|
||||||
|
+
|
||||||
|
+ tbb_handle_ipo(${TBBBIND_NAME})
|
||||||
|
+
|
||||||
|
if (TBB_DEF_FILE_PREFIX) # If there's no prefix, assume we're using export directives
|
||||||
|
set_target_properties(${TBBBIND_NAME} PROPERTIES
|
||||||
|
LINK_FLAGS ${TBB_LINK_DEF_FILE_FLAG}${CMAKE_CURRENT_SOURCE_DIR}/def/${TBB_DEF_FILE_PREFIX}-tbbbind.def
|
||||||
|
@@ -69,14 +71,12 @@ function(tbbbind_build TBBBIND_NAME REQUIRED_HWLOC_TARGET)
|
||||||
|
PRIVATE
|
||||||
|
${TBB_LIB_LINK_FLAGS}
|
||||||
|
${TBB_COMMON_LINK_FLAGS}
|
||||||
|
- ${TBB_IPO_LINK_FLAGS}
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
target_link_libraries(${TBBBIND_NAME}
|
||||||
|
PRIVATE
|
||||||
|
${TBB_LIB_LINK_FLAGS}
|
||||||
|
${TBB_COMMON_LINK_FLAGS}
|
||||||
|
- ${TBB_IPO_LINK_FLAGS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
diff --git a/src/tbbmalloc/CMakeLists.txt b/src/tbbmalloc/CMakeLists.txt
|
||||||
|
index f77bc8f10..5a851851f 100644
|
||||||
|
--- a/src/tbbmalloc/CMakeLists.txt
|
||||||
|
+++ b/src/tbbmalloc/CMakeLists.txt
|
||||||
|
@@ -59,7 +59,6 @@ target_compile_options(tbbmalloc
|
||||||
|
${TBB_LIB_COMPILE_FLAGS}
|
||||||
|
${TBBMALLOC_LIB_COMPILE_FLAGS}
|
||||||
|
${TBB_COMMON_COMPILE_FLAGS}
|
||||||
|
- ${TBB_IPO_COMPILE_FLAGS}
|
||||||
|
)
|
||||||
|
|
||||||
|
enable_language(C)
|
||||||
|
@@ -72,6 +71,8 @@ set_target_properties(tbbmalloc PROPERTIES
|
||||||
|
LINKER_LANGUAGE C
|
||||||
|
)
|
||||||
|
|
||||||
|
+tbb_handle_ipo(tbbmalloc)
|
||||||
|
+
|
||||||
|
if (TBB_DEF_FILE_PREFIX) # If there's no prefix, assume we're using export directives
|
||||||
|
set_target_properties(tbbmalloc PROPERTIES
|
||||||
|
LINK_FLAGS ${TBB_LINK_DEF_FILE_FLAG}${CMAKE_CURRENT_SOURCE_DIR}/def/${TBB_DEF_FILE_PREFIX}-tbbmalloc.def
|
||||||
|
@@ -88,14 +89,12 @@ if (COMMAND target_link_options)
|
||||||
|
PRIVATE
|
||||||
|
${TBB_LIB_LINK_FLAGS}
|
||||||
|
${TBB_COMMON_LINK_FLAGS}
|
||||||
|
- ${TBB_IPO_LINK_FLAGS}
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
target_link_libraries(tbbmalloc
|
||||||
|
PRIVATE
|
||||||
|
${TBB_LIB_LINK_FLAGS}
|
||||||
|
${TBB_COMMON_LINK_FLAGS}
|
||||||
|
- ${TBB_IPO_LINK_FLAGS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake-multilib flag-o-matic toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="High level abstract threading library"
|
||||||
|
HOMEPAGE="https://www.threadingbuildingblocks.org"
|
||||||
|
SRC_URI="https://github.com/oneapi-src/oneTBB/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/oneTBB-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
# https://github.com/oneapi-src/oneTBB/blob/master/CMakeLists.txt#L53
|
||||||
|
# libtbb<SONAME>-libtbbmalloc<SONAME>-libtbbbind<SONAME>
|
||||||
|
SLOT="0/12-2-3"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="sys-apps/hwloc:="
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-lto.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DTBB_TEST=$(usex test)
|
||||||
|
-DTBB_ENABLE_IPO=OFF
|
||||||
|
-DTBB_STRICT=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake-multilib_src_configure
|
||||||
|
}
|
Binary file not shown.
@ -1,56 +0,0 @@
|
|||||||
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
|
|
||||||
index 8acf5469..737c31d4 100644
|
|
||||||
--- a/src/mongo/SConscript
|
|
||||||
+++ b/src/mongo/SConscript
|
|
||||||
@@ -834,43 +834,6 @@ for full_dir, archive_dir in list(env["ARCHIVE_ADDITION_DIR_MAP"].items()):
|
|
||||||
for target in env["DIST_BINARIES"]:
|
|
||||||
installBinary(env, "db/modules/" + target)
|
|
||||||
|
|
||||||
-compass_type = 'compass'
|
|
||||||
-
|
|
||||||
-compass_script = "install_compass.in"
|
|
||||||
-if env.TargetOSIs('windows'):
|
|
||||||
- compass_script = "Install-Compass.ps1.in"
|
|
||||||
-
|
|
||||||
-compass_python_interpreter = '/usr/bin/env python2'
|
|
||||||
-if env.TargetOSIs('darwin'):
|
|
||||||
- compass_python_interpreter = '/usr/bin/env python'
|
|
||||||
-
|
|
||||||
-compass_installer = env.Substfile(
|
|
||||||
- target="$BUILD_DIR/mongo/installer/compass/" + compass_script[:-3],
|
|
||||||
- source='installer/compass/' + compass_script,
|
|
||||||
- SUBST_DICT=[
|
|
||||||
- ('@compass_type@', compass_type),
|
|
||||||
- ('@python_interpreter@', compass_python_interpreter),
|
|
||||||
- ],
|
|
||||||
-)
|
|
||||||
-
|
|
||||||
-distBinaries.append(compass_installer)
|
|
||||||
-
|
|
||||||
-if not hygienic:
|
|
||||||
- compass_script_installer = env.Install("$DESTDIR/bin", compass_installer)
|
|
||||||
-else:
|
|
||||||
- compass_script_installer = env.AutoInstall(
|
|
||||||
- target='$PREFIX_BINDIR',
|
|
||||||
- source=[
|
|
||||||
- compass_installer,
|
|
||||||
- ],
|
|
||||||
- AIB_COMPONENT='dist',
|
|
||||||
- AIB_ROLE='runtime',
|
|
||||||
- )
|
|
||||||
-
|
|
||||||
-if env.TargetOSIs('posix'):
|
|
||||||
- env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' )
|
|
||||||
- env.AddPostAction( compass_installer, 'chmod 755 $TARGET' )
|
|
||||||
-
|
|
||||||
if not hygienic:
|
|
||||||
server_archive = env.Command(
|
|
||||||
target='#/${SERVER_ARCHIVE}',
|
|
||||||
@@ -884,7 +847,6 @@ if not hygienic:
|
|
||||||
'--transform $BUILD_DIR/mongo/stripped/db/modules/enterprise=$SERVER_DIST_BASENAME/bin',
|
|
||||||
'--transform $BUILD_DIR/mongo/stripped=$SERVER_DIST_BASENAME/bin',
|
|
||||||
'--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin',
|
|
||||||
- '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin',
|
|
||||||
'${TEMPFILE(SOURCES[1:])}'
|
|
||||||
],
|
|
||||||
),
|
|
@ -1,12 +0,0 @@
|
|||||||
diff --git a/src/third_party/unwind/SConscript b/src/third_party/unwind/SConscript
|
|
||||||
index ed947c8e..7308956f 100644
|
|
||||||
--- a/src/third_party/unwind/SConscript
|
|
||||||
+++ b/src/third_party/unwind/SConscript
|
|
||||||
@@ -90,6 +90,7 @@ if env['TARGET_ARCH'] == 'aarch64':
|
|
||||||
|
|
||||||
env.Append(
|
|
||||||
CCFLAGS=[
|
|
||||||
+ '-fcommon',
|
|
||||||
'-fexceptions',
|
|
||||||
'-Wno-unused-result',
|
|
||||||
'-Wno-unused-value',
|
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,85 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="The ABS programing language"
|
||||||
|
HOMEPAGE="https://github.com/abs-lang/abs https://www.abs-lang.org/"
|
||||||
|
|
||||||
|
EGO_SUM=(
|
||||||
|
"github.com/c-bata/go-prompt v0.2.4-0.20190826134812-0f95e1d1de2e"
|
||||||
|
"github.com/c-bata/go-prompt v0.2.4-0.20190826134812-0f95e1d1de2e/go.mod"
|
||||||
|
"github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334"
|
||||||
|
"github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334/go.mod"
|
||||||
|
"github.com/iancoleman/strcase v0.1.0"
|
||||||
|
"github.com/iancoleman/strcase v0.1.0/go.mod"
|
||||||
|
"github.com/jteeuwen/go-bindata v3.0.7+incompatible"
|
||||||
|
"github.com/jteeuwen/go-bindata v3.0.7+incompatible/go.mod"
|
||||||
|
"github.com/mattn/go-colorable v0.0.9/go.mod"
|
||||||
|
"github.com/mattn/go-colorable v0.1.4/go.mod"
|
||||||
|
"github.com/mattn/go-colorable v0.1.6"
|
||||||
|
"github.com/mattn/go-colorable v0.1.6/go.mod"
|
||||||
|
"github.com/mattn/go-colorable v0.1.7"
|
||||||
|
"github.com/mattn/go-colorable v0.1.7/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.3/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.8/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.10/go.mod"
|
||||||
|
"github.com/mattn/go-isatty v0.0.12"
|
||||||
|
"github.com/mattn/go-isatty v0.0.12/go.mod"
|
||||||
|
"github.com/mattn/go-runewidth v0.0.3/go.mod"
|
||||||
|
"github.com/mattn/go-runewidth v0.0.6/go.mod"
|
||||||
|
"github.com/mattn/go-runewidth v0.0.9"
|
||||||
|
"github.com/mattn/go-runewidth v0.0.9/go.mod"
|
||||||
|
"github.com/mattn/go-tty v0.0.0-20180219170247-931426f7535a/go.mod"
|
||||||
|
"github.com/mattn/go-tty v0.0.3"
|
||||||
|
"github.com/mattn/go-tty v0.0.3/go.mod"
|
||||||
|
"github.com/pkg/term v0.0.0-20180423043932-cda20d4ac917/go.mod"
|
||||||
|
"github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942"
|
||||||
|
"github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942/go.mod"
|
||||||
|
"github.com/pkg/term v0.0.0-20200520122047-c3ffed290a03"
|
||||||
|
"github.com/pkg/term v0.0.0-20200520122047-c3ffed290a03/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59"
|
||||||
|
"golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a"
|
||||||
|
"golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180620133508-ad87a3a340fa/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd"
|
||||||
|
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8"
|
||||||
|
"golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8/go.mod"
|
||||||
|
"golang.org/x/text v0.3.0/go.mod"
|
||||||
|
)
|
||||||
|
go-module_set_globals
|
||||||
|
SRC_URI="https://github.com/abs-lang/abs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
${EGO_SUM_SRC_URI}"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
RESTRICT+=" test"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -e "s:^var Version = \"dev\"\$:var Version = \"${PV}\":" -i main.go || die
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
CGO_ENABLED=0 emake build_simple || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin builds/abs
|
||||||
|
dodoc README.md
|
||||||
|
}
|
@ -1,5 +1,3 @@
|
|||||||
DIST bff-1.0.5.tar.gz 4833 BLAKE2B 9e3b44da9cd001552119e25764b171c86027755583f79a13b1d1035ecbab134df0aa31234c1479370599dd56a76a7f1c67eff61d2c1189430bab6a9a22f629d8 SHA512 78e481f6f371421ce6f046041fe6d48be2e11000ddda82f60244c0100665469c4aff4f151d297bb533140d723f68d5a3844e0c29a256b022ac93cafbd2abe9fd
|
|
||||||
DIST bff-1.0.7.tar.gz 5121 BLAKE2B 581cac5c20742811d9c848d59833256c2c72f08f256ad0b061723b7bb57efa64b0873ae8011323f53dbecd21e61d8d1610b393a4f0a3695508ee4b607fa541db SHA512 8ab43671ea02d59db291b338f4323aba2879318539efbd249883ef241295a12f3d3e55bcb4b0ad6e3f886a044eec0bfcecf526b70c81099afdf89320babfee6d
|
DIST bff-1.0.7.tar.gz 5121 BLAKE2B 581cac5c20742811d9c848d59833256c2c72f08f256ad0b061723b7bb57efa64b0873ae8011323f53dbecd21e61d8d1610b393a4f0a3695508ee4b607fa541db SHA512 8ab43671ea02d59db291b338f4323aba2879318539efbd249883ef241295a12f3d3e55bcb4b0ad6e3f886a044eec0bfcecf526b70c81099afdf89320babfee6d
|
||||||
EBUILD bff-1.0.5.ebuild 802 BLAKE2B 6a3c05a4497b5ce1fca5f6655438182907c65b8ec4addd25099fe374544d3b30ed7b1f4e41c3fe3d5aa66aff7a4bdac2120a35785e2ce784f6015aa3bb3792c3 SHA512 013a70e9a38a005ddc22c9ff109bbe84c0711da5f8057163c5916386b4bafc4e6fc1b1e23a2d4c4382cd15b55c31017feb7244222bf4c5cb4c8da2e0e1996920
|
|
||||||
EBUILD bff-1.0.7.ebuild 802 BLAKE2B c358eb85d8e9391cfc745d303beca716c2e59b4b2be2297cec65d924ef22f0b6ccdec56da595fe8f1006fef7bcb37ba0740dd91318da69fdf338de92a8fa52f5 SHA512 91dee385636dc8042217bbce5440662c4a131e31f09813dad21c9364684679d9950e320e53ca5605eb20c2280529a3ac0bfe5404048b802d22d71ac7ed2a0d28
|
EBUILD bff-1.0.7.ebuild 802 BLAKE2B c358eb85d8e9391cfc745d303beca716c2e59b4b2be2297cec65d924ef22f0b6ccdec56da595fe8f1006fef7bcb37ba0740dd91318da69fdf338de92a8fa52f5 SHA512 91dee385636dc8042217bbce5440662c4a131e31f09813dad21c9364684679d9950e320e53ca5605eb20c2280529a3ac0bfe5404048b802d22d71ac7ed2a0d28
|
||||||
MISC metadata.xml 215 BLAKE2B bd3e9cff41a4da939ae3eb3e019f0f63bf6732a9c939f0552e7031050398889fbc15a128a10c21968e63412302224007d7ff171af789896c4953d3e4e271b783 SHA512 c2a119f7b73be9e71496622369f843a654fd4f1742975649173594066a97a3571bce366a9c17fd183784582719d314a7e85c65b80fb54105958264c3699b94ab
|
MISC metadata.xml 215 BLAKE2B bd3e9cff41a4da939ae3eb3e019f0f63bf6732a9c939f0552e7031050398889fbc15a128a10c21968e63412302224007d7ff171af789896c4953d3e4e271b783 SHA512 c2a119f7b73be9e71496622369f843a654fd4f1742975649173594066a97a3571bce366a9c17fd183784582719d314a7e85c65b80fb54105958264c3699b94ab
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A brainfuck interpreter"
|
|
||||||
HOMEPAGE="https://github.com/apankrat/bff"
|
|
||||||
SRC_URI="https://github.com/apankrat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm ~ia64 ~m68k ppc ppc64 ~s390 x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Makefile is not nice
|
|
||||||
emake -f /dev/null CC="$(tc-getCC)" bff
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
ebegin "Running mandelbrot test"
|
|
||||||
./bff samples/mandelbrot.b > mandelbrot.out
|
|
||||||
eend $? || die
|
|
||||||
md5sum -c <<< '5024283fa65866ddd347b877798e84d8 mandelbrot.out' \
|
|
||||||
&& cat mandelbrot.out \
|
|
||||||
|| die "mandelbrot did not output correctly"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin bff
|
|
||||||
}
|
|
@ -0,0 +1,347 @@
|
|||||||
|
# Copyright 1999-2021 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 +ncurses +readline +sqlite +ssl test tk wininst +xml"
|
||||||
|
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/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? ( >=sys-libs/readline-4.1:= )
|
||||||
|
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
|
||||||
|
)
|
||||||
|
xml? ( >=dev-libs/expat-2.1:= )
|
||||||
|
!!<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? ( app-crypt/openpgp-keys-python )
|
||||||
|
!sys-devel/gcc[libffi(-)]"
|
||||||
|
RDEPEND+=" !build? ( app-misc/mime-types )"
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||||
|
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||||
|
|
||||||
|
# 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
|
||||||
|
use gdbm || disable+=" gdbm"
|
||||||
|
use ncurses || disable+=" _curses _curses_panel"
|
||||||
|
use readline || disable+=" readline"
|
||||||
|
use sqlite || disable+=" _sqlite3"
|
||||||
|
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||||
|
use tk || disable+=" _tkinter"
|
||||||
|
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||||
|
export PYTHON_DISABLE_MODULES="${disable}"
|
||||||
|
|
||||||
|
if ! use xml; then
|
||||||
|
ewarn "You have configured Python without XML support."
|
||||||
|
ewarn "This is NOT a recommended configuration as you"
|
||||||
|
ewarn "may face problems parsing any XML documents."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||||
|
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
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
|
||||||
|
)
|
||||||
|
|
||||||
|
OPT="" 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
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Ensure sed works as expected
|
||||||
|
# https://bugs.gentoo.org/594768
|
||||||
|
local -x LC_ALL=C
|
||||||
|
|
||||||
|
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
for test in ${skipped_tests}; do
|
||||||
|
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# bug 660358
|
||||||
|
local -x COLUMNS=80
|
||||||
|
local -x PYTHONDONTWRITEBYTECODE=
|
||||||
|
# workaround https://bugs.gentoo.org/775416
|
||||||
|
addwrite /usr/lib/python3.10/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
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
sed \
|
||||||
|
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
||||||
|
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
||||||
|
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
||||||
|
|
||||||
|
# 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,test/test_sqlite*} || 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
|
||||||
|
}
|
@ -0,0 +1,199 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
CRATES="
|
||||||
|
Inflector-0.11.4
|
||||||
|
ahash-0.7.6
|
||||||
|
aho-corasick-0.7.18
|
||||||
|
annotate-snippets-0.9.0
|
||||||
|
ansi_term-0.11.0
|
||||||
|
anyhow-1.0.41
|
||||||
|
ascii-canvas-3.0.0
|
||||||
|
atty-0.2.14
|
||||||
|
autocfg-1.0.1
|
||||||
|
base64-0.11.0
|
||||||
|
beef-0.4.4
|
||||||
|
bitflags-1.2.1
|
||||||
|
bit-set-0.5.2
|
||||||
|
bit-vec-0.6.3
|
||||||
|
bstr-0.2.16
|
||||||
|
bumpalo-3.7.0
|
||||||
|
cast-0.2.6
|
||||||
|
cc-1.0.68
|
||||||
|
cfg-if-0.1.10
|
||||||
|
cfg-if-1.0.0
|
||||||
|
clap-2.33.3
|
||||||
|
convert_case-0.4.0
|
||||||
|
criterion-0.3.4
|
||||||
|
criterion-plot-0.4.3
|
||||||
|
crossbeam-channel-0.4.4
|
||||||
|
crossbeam-channel-0.5.1
|
||||||
|
crossbeam-deque-0.8.0
|
||||||
|
crossbeam-epoch-0.9.5
|
||||||
|
crossbeam-utils-0.7.2
|
||||||
|
crossbeam-utils-0.8.5
|
||||||
|
crunchy-0.2.2
|
||||||
|
csv-1.1.6
|
||||||
|
csv-core-0.1.10
|
||||||
|
debugserver-types-0.5.0
|
||||||
|
derivative-2.2.0
|
||||||
|
derive_more-0.99.14
|
||||||
|
diff-0.1.12
|
||||||
|
dirs-next-2.0.0
|
||||||
|
dirs-sys-next-0.1.2
|
||||||
|
either-1.6.1
|
||||||
|
ena-0.14.0
|
||||||
|
fixedbitset-0.2.0
|
||||||
|
fnv-1.0.7
|
||||||
|
form_urlencoded-1.0.1
|
||||||
|
fs2-0.4.3
|
||||||
|
gazebo-0.2.1
|
||||||
|
gazebo-0.4.1
|
||||||
|
gazebo_derive-0.1.1
|
||||||
|
gazebo_derive-0.4.1
|
||||||
|
getrandom-0.2.3
|
||||||
|
half-1.7.1
|
||||||
|
hashbrown-0.9.1
|
||||||
|
hashbrown-0.11.2
|
||||||
|
heck-0.3.3
|
||||||
|
hermit-abi-0.1.18
|
||||||
|
idna-0.2.3
|
||||||
|
indexmap-1.6.2
|
||||||
|
itertools-0.9.0
|
||||||
|
itertools-0.10.1
|
||||||
|
itoa-0.4.7
|
||||||
|
js-sys-0.3.51
|
||||||
|
lalrpop-0.19.6
|
||||||
|
lalrpop-util-0.19.6
|
||||||
|
lazy_static-1.4.0
|
||||||
|
libc-0.2.97
|
||||||
|
logos-0.11.4
|
||||||
|
logos-derive-0.11.5
|
||||||
|
log-0.4.14
|
||||||
|
lsp-server-0.5.0
|
||||||
|
lsp-types-0.89.0
|
||||||
|
maplit-1.0.2
|
||||||
|
matches-0.1.8
|
||||||
|
maybe-uninit-2.0.0
|
||||||
|
memchr-2.4.0
|
||||||
|
memoffset-0.6.4
|
||||||
|
new_debug_unreachable-1.0.4
|
||||||
|
nix-0.19.1
|
||||||
|
num-traits-0.2.14
|
||||||
|
num_cpus-1.13.0
|
||||||
|
once_cell-1.8.0
|
||||||
|
oorandom-11.1.3
|
||||||
|
paste-1.0.5
|
||||||
|
percent-encoding-2.1.0
|
||||||
|
pest-2.1.3
|
||||||
|
petgraph-0.5.1
|
||||||
|
phf_shared-0.8.0
|
||||||
|
pico-args-0.4.2
|
||||||
|
plotters-0.3.1
|
||||||
|
plotters-backend-0.3.0
|
||||||
|
plotters-svg-0.3.0
|
||||||
|
precomputed-hash-0.1.1
|
||||||
|
proc-macro2-1.0.27
|
||||||
|
proc-macro-error-1.0.4
|
||||||
|
proc-macro-error-attr-1.0.4
|
||||||
|
quote-1.0.9
|
||||||
|
rayon-1.5.1
|
||||||
|
rayon-core-1.9.1
|
||||||
|
redox_syscall-0.2.9
|
||||||
|
redox_users-0.4.0
|
||||||
|
regex-1.5.4
|
||||||
|
regex-automata-0.1.10
|
||||||
|
regex-syntax-0.6.25
|
||||||
|
rustc_version-0.3.3
|
||||||
|
rustversion-1.0.5
|
||||||
|
rustyline-7.1.0
|
||||||
|
ryu-1.0.5
|
||||||
|
same-file-1.0.6
|
||||||
|
schemafy-0.5.2
|
||||||
|
schemafy_core-0.5.2
|
||||||
|
schemafy_lib-0.5.2
|
||||||
|
scopeguard-1.1.0
|
||||||
|
semver-0.11.0
|
||||||
|
semver-parser-0.10.2
|
||||||
|
serde-1.0.126
|
||||||
|
serde_cbor-0.11.1
|
||||||
|
serde_derive-1.0.126
|
||||||
|
serde_json-1.0.64
|
||||||
|
serde_repr-0.1.7
|
||||||
|
siphasher-0.3.5
|
||||||
|
smawk-0.3.1
|
||||||
|
starlark-0.4.0
|
||||||
|
starlark_module-0.4.0
|
||||||
|
static_assertions-1.1.0
|
||||||
|
string_cache-0.8.1
|
||||||
|
strsim-0.8.0
|
||||||
|
structopt-0.3.21
|
||||||
|
structopt-derive-0.4.14
|
||||||
|
syn-1.0.73
|
||||||
|
term-0.7.0
|
||||||
|
textwrap-0.11.0
|
||||||
|
textwrap-0.14.2
|
||||||
|
thiserror-1.0.25
|
||||||
|
thiserror-impl-1.0.25
|
||||||
|
tinytemplate-1.2.1
|
||||||
|
tinyvec-1.2.0
|
||||||
|
tinyvec_macros-0.1.0
|
||||||
|
tiny-keccak-2.0.2
|
||||||
|
ucd-trie-0.1.3
|
||||||
|
unicode-bidi-0.3.5
|
||||||
|
unicode-linebreak-0.1.2
|
||||||
|
unicode-normalization-0.1.19
|
||||||
|
unicode-segmentation-1.7.1
|
||||||
|
unicode-width-0.1.8
|
||||||
|
unicode-xid-0.2.2
|
||||||
|
url-2.2.2
|
||||||
|
utf8parse-0.2.0
|
||||||
|
utf8-ranges-1.0.4
|
||||||
|
vec_map-0.8.2
|
||||||
|
version_check-0.9.3
|
||||||
|
void-1.0.2
|
||||||
|
walkdir-2.3.2
|
||||||
|
wasi-0.10.2+wasi-snapshot-preview1
|
||||||
|
wasm-bindgen-0.2.74
|
||||||
|
wasm-bindgen-backend-0.2.74
|
||||||
|
wasm-bindgen-macro-0.2.74
|
||||||
|
wasm-bindgen-macro-support-0.2.74
|
||||||
|
wasm-bindgen-shared-0.2.74
|
||||||
|
web-sys-0.3.51
|
||||||
|
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
|
||||||
|
yansi-term-0.1.2
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit cargo
|
||||||
|
|
||||||
|
DESCRIPTION="A Rust implementation of the Starlark language"
|
||||||
|
HOMEPAGE="https://github.com/facebookexperimental/starlark-rust"
|
||||||
|
SRC_URI="$(cargo_crate_uris ${CRATES})
|
||||||
|
https://github.com/facebookexperimental/starlark-rust/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
# Nightly rust-1.53.0 required for https://bugs.gentoo.org/796824
|
||||||
|
BDEPEND="${RUST_DEPEND}
|
||||||
|
>=dev-lang/rust-1.53.0[nightly]"
|
||||||
|
|
||||||
|
# RUSTFLAGS support needed: https://bugs.gentoo.org/796887
|
||||||
|
QA_FLAGS_IGNORED=".*"
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
source "${FILESDIR}/test/features.bash" || die
|
||||||
|
test-features_main "${PWD}/target/release/starlark" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin target/release/starlark
|
||||||
|
ln "${ED}/usr/bin/starlark"{,-rust} || die
|
||||||
|
dodoc -r {docs,{CHANGELOG,README}.md}
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit flag-o-matic
|
||||||
|
|
||||||
|
DESCRIPTION="C++ library offering some basic functionality for platform-independent programs"
|
||||||
|
HOMEPAGE="https://lib.filezilla-project.org/"
|
||||||
|
SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0/22" # libfilezilla.so version
|
||||||
|
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/nettle:0=
|
||||||
|
>=net-libs/gnutls-3.5.7:=
|
||||||
|
virtual/libcrypt:=
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( dev-util/cppunit )"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||||
|
if ! test-flag-CXX -std=c++14; then
|
||||||
|
eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
|
||||||
|
eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
|
||||||
|
eerror "to gcc-4.9 or an equivalent version supporting C++14."
|
||||||
|
die "Currently active compiler does not support -std=c++14"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if use ppc || use arm || use hppa; then
|
||||||
|
# bug 727652
|
||||||
|
append-libs -latomic
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf --disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${ED}" -type f -name "*.la" -delete || die
|
||||||
|
}
|
@ -0,0 +1,95 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit libtool multilib-minimal usr-ldscript
|
||||||
|
|
||||||
|
PATCH_SET="${PN}-10.36-patchset-01.tar.xz"
|
||||||
|
|
||||||
|
DESCRIPTION="Perl-compatible regular expression library"
|
||||||
|
HOMEPAGE="https://www.pcre.org/"
|
||||||
|
MY_P="pcre2-${PV/_rc/-RC}"
|
||||||
|
if [[ ${PV} != *_rc* ]] ; then
|
||||||
|
# Only the final releases are available here.
|
||||||
|
SRC_URI="mirror://sourceforge/pcre/${MY_P}.tar.bz2
|
||||||
|
https://ftp.pcre.org/pub/pcre/${MY_P}.tar.bz2
|
||||||
|
https://github.com/PhilipHazel/pcre2/releases/download/${MY_P}/${MY_P}.tar.bz2"
|
||||||
|
else
|
||||||
|
SRC_URI="https://ftp.pcre.org/pub/pcre/Testing/${MY_P}.tar.bz2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${PATCH_SET}" ]] ; then
|
||||||
|
SRC_URI+=" https://dev.gentoo.org/~whissi/dist/${PN}/${PATCH_SET}
|
||||||
|
https://dev.gentoo.org/~polynomial-c/dist/${PATCH_SET}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0/3" # libpcre2-posix.so version
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="bzip2 +jit libedit +pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib"
|
||||||
|
REQUIRED_USE="?? ( libedit readline )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
libedit? ( dev-libs/libedit )
|
||||||
|
readline? ( sys-libs/readline:0= )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
MULTILIB_CHOST_TOOLS=(
|
||||||
|
/usr/bin/pcre2-config
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ -d "${WORKDIR}/patches" ]] ; then
|
||||||
|
rm "${WORKDIR}"/patches/pcre2-10.36-001-issue2698.patch || die
|
||||||
|
eapply "${WORKDIR}"/patches
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
elibtoolize
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
--enable-pcre2-8
|
||||||
|
--enable-shared
|
||||||
|
--with-match-limit-depth=$(usex recursion-limit 8192 MATCH_LIMIT)
|
||||||
|
$(multilib_native_use_enable bzip2 pcre2grep-libbz2)
|
||||||
|
$(multilib_native_use_enable libedit pcre2test-libedit)
|
||||||
|
$(multilib_native_use_enable readline pcre2test-libreadline)
|
||||||
|
$(multilib_native_use_enable zlib pcre2grep-libz)
|
||||||
|
$(use_enable jit)
|
||||||
|
$(use_enable jit pcre2grep-jit)
|
||||||
|
$(use_enable pcre16 pcre2-16)
|
||||||
|
$(use_enable pcre32 pcre2-32)
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
$(use_enable unicode)
|
||||||
|
)
|
||||||
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=")
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
emake \
|
||||||
|
DESTDIR="${D}" \
|
||||||
|
$(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") \
|
||||||
|
install
|
||||||
|
multilib_is_native_abi && gen_usr_ldscript -a pcre2-posix
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
find "${ED}" -type f -name "*.la" -delete || die
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
AUX mimalloc-1.7.2-GNUInstallDirs.patch 1230 BLAKE2B c5fea7af513b0db45be93861ee6f9eefaa8666645ece9c9112adcc34b17d7578503d7409cd6b4005e1c635d7db86755cf4de078966ced0eb0eb7cd29492f604f SHA512 a847164cbe7b64345b09a455bd6776249b697ec2b2222751f0dd96d87252b8bff0182626de1a4b96aa525861c181101f80950cafb18a782cd7af10d50c2d1db5
|
||||||
|
DIST mimalloc-1.7.2.tar.gz 903317 BLAKE2B 6983a575c8e3a9ee92acc0042bc229805b7090794de6e693ff1cc344cd50e333d46f23663fbd16647ae4442b28f24bdc2043b46ed2bc16e13c3f8def08b155bb SHA512 5d78c5cc00dfff3dd7eb4bb59e8eff32397f5110d1183b4656cb56c40b88e2e648e3b18338119412b95ba9526937b16fce3aa4732f241a61a546e2bcea1efc9d
|
||||||
|
EBUILD mimalloc-1.7.2.ebuild 693 BLAKE2B b6905afe48c8674e813f55027b3f68371a04d9106759167de2bf58324c4a28494155f2a1df904ce200c5f72a3e31f54b6436a3b9fd42c65756297e45834d91bb SHA512 974885203bc9374f10025401e3d47d709128000893de0f0164eac18fdc8149986af95e74617574b4fd4fa6d3859b3361d2668797504678f765755c79664479b9
|
||||||
|
MISC metadata.xml 322 BLAKE2B 811930d7bd9b6240b866a9a8e90ff6b4d48ba7e985c61cb475c8b8de67265d8f9b7317a84191cf5b5a9961e130e792b6cfbbdd3cbebe9e3d9128a7a5bcfaaf49 SHA512 b9b3bdc237c9a9f362f90ff72888f5bed80385d3acd27cc1a4c9bcd89939ce3a45593c51481a6529a9aac25a86726e1a0362ce2094e11dce555175e656c293d1
|
@ -0,0 +1,29 @@
|
|||||||
|
https://github.com/microsoft/mimalloc/pull/463
|
||||||
|
|
||||||
|
From: Yaroslav Syrytsia <me@ys.lc>
|
||||||
|
Date: Tue, 28 Sep 2021 20:34:56 +0300
|
||||||
|
Subject: [PATCH] cmake: removed hardcoded names for top level configuration
|
||||||
|
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -24,6 +24,7 @@ option(MI_DEBUG_UBSAN "Build with undefined-behavior sanitizer (needs clan
|
||||||
|
option(MI_CHECK_FULL "Use full internal invariant checking in DEBUG mode (deprecated, use MI_DEBUG_FULL instead)" OFF)
|
||||||
|
option(MI_INSTALL_TOPLEVEL "Install directly into $CMAKE_INSTALL_PREFIX instead of PREFIX/lib/mimalloc-version" OFF)
|
||||||
|
|
||||||
|
+include(GNUInstallDirs)
|
||||||
|
include("cmake/mimalloc-config-version.cmake")
|
||||||
|
|
||||||
|
set(mi_sources
|
||||||
|
@@ -208,9 +209,9 @@ endif()
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
if (MI_INSTALL_TOPLEVEL)
|
||||||
|
- set(mi_install_libdir "lib")
|
||||||
|
- set(mi_install_incdir "include")
|
||||||
|
- set(mi_install_cmakedir "cmake")
|
||||||
|
+ set(mi_install_libdir "${CMAKE_INSTALL_LIBDIR}")
|
||||||
|
+ set(mi_install_incdir "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||||
|
+ set(mi_install_cmakedir "${CMAKE_INSTALL_LIBDIR}/cmake/mimalloc")
|
||||||
|
else()
|
||||||
|
set(mi_install_libdir "lib/mimalloc-${mi_version}")
|
||||||
|
set(mi_install_incdir "include/mimalloc-${mi_version}")
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>sam@gentoo.org</email>
|
||||||
|
<name>Sam James</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">microsoft/mimalloc</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="mimalloc is a compact general purpose allocator with excellent performance"
|
||||||
|
HOMEPAGE="https://github.com/microsoft/mimalloc"
|
||||||
|
SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/1"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.7.2-GNUInstallDirs.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
# TODO: build hardened variant?
|
||||||
|
#-DMI_SECURE=$(usex hardened)
|
||||||
|
|
||||||
|
-DMI_INSTALL_TOPLEVEL=ON
|
||||||
|
-DMI_BUILD_TESTS=$(usex test)
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
AUX vendor_opencl_libs_location.patch 962 BLAKE2B 6d0e3f070fa2022d95d35fb1563f72f5dc1b544c7f83417dbb5e3d100dad07bdf3365a48ee92e856de4edc4b7c25674b45efd6d0ace1ac559273641ca175a269 SHA512 2ae144e7590049cc1eac8fa30e360cd511331abba0dfe683867d6a089742ea12cc3bc48dafe41a1c1c9b891fdf35aaac8b14cc1e10a78d2ab49b5e14635bb258
|
AUX vendor_opencl_libs_location.patch 962 BLAKE2B 6d0e3f070fa2022d95d35fb1563f72f5dc1b544c7f83417dbb5e3d100dad07bdf3365a48ee92e856de4edc4b7c25674b45efd6d0ace1ac559273641ca175a269 SHA512 2ae144e7590049cc1eac8fa30e360cd511331abba0dfe683867d6a089742ea12cc3bc48dafe41a1c1c9b891fdf35aaac8b14cc1e10a78d2ab49b5e14635bb258
|
||||||
DIST pocl-1.7.tar.gz 1577676 BLAKE2B 50d4f50236b1c81f319b5559ca2b1df529209f07899acf51c487820d97cc6766c5130a55afca910517c7db63d8041ac8306062880c3a821cbc1bf9108bf13d65 SHA512 23bb82b25a222186c001b2ed413f26253e1e0e16518e98c95173f51491e15d107e6ab1b334ffd490b41199743267d9ad64882a22fea327e17ec9604f9847fc38
|
DIST pocl-1.7.tar.gz 1577676 BLAKE2B 50d4f50236b1c81f319b5559ca2b1df529209f07899acf51c487820d97cc6766c5130a55afca910517c7db63d8041ac8306062880c3a821cbc1bf9108bf13d65 SHA512 23bb82b25a222186c001b2ed413f26253e1e0e16518e98c95173f51491e15d107e6ab1b334ffd490b41199743267d9ad64882a22fea327e17ec9604f9847fc38
|
||||||
DIST pocl-1.8.tar.gz 1614545 BLAKE2B b0ccc08d1f899719f5def731c61727440035a879ebeebae89dd406423eba6c12b866f34cd47dd0e0f944b7f0c4569c57c44a9a62bf02552de5c4c3b8c9fb3b48 SHA512 bcbb3fa3d2234d4c5b0c17863eba0bc4c8f13f863cc58cfd1de49e21fa7bf0aec82b81aec143c81885e3a39274c8ae783b2f03b9a12846e024204d6ed0e59a9d
|
DIST pocl-1.8.tar.gz 1614545 BLAKE2B b0ccc08d1f899719f5def731c61727440035a879ebeebae89dd406423eba6c12b866f34cd47dd0e0f944b7f0c4569c57c44a9a62bf02552de5c4c3b8c9fb3b48 SHA512 bcbb3fa3d2234d4c5b0c17863eba0bc4c8f13f863cc58cfd1de49e21fa7bf0aec82b81aec143c81885e3a39274c8ae783b2f03b9a12846e024204d6ed0e59a9d
|
||||||
EBUILD pocl-1.7-r2.ebuild 2862 BLAKE2B 23f201f50ac726297c8bfdc3408c3f1741989f78d8dfdccf566759fa3fd362127c28f524f6752f0f2fe882aeb431352af1f0fbc891a297c26fd66edfd44f04d4 SHA512 e7587d0f337b12e22e408b30f55b2a5ca887697529a1be5f734edf2ff37ea10c671002b7ef6e17569cd7deacfa8d37a097ff3b86f8538b47fab7f25446483d34
|
EBUILD pocl-1.7-r3.ebuild 2866 BLAKE2B a97ac72e8b80f981ef4f17d8b51012cae7304e5a1c81dbddd38f0c96675cf25e63bdc23a96d83ec2c1ee669da464c77b6e1b064005010e08b36bdd18da14ea4d SHA512 be4081ff151745fda690067e92259a4c1480336547cbef2b420704356332d95a884259995cd1ab583930a05b97b20cbec6115049b86734ce690168a4ba562e3e
|
||||||
EBUILD pocl-1.8.ebuild 3117 BLAKE2B 4b1cbf0f14995f0e7c77d1df60735cdd13b23d5b6b5cd60eedcd98fb9ed1fae892f860199da19706ce89b8830fecf45012876a33ecf132eb136fe4dac32f1761 SHA512 64f564f725f281d70ebf47309a1bb294877cce08028d2dab9f3f524ce8b2d6c7faca8670934a02ec1e7ec8fb8bc60858a4ec6ed4975a57f683a4c218160d8827
|
EBUILD pocl-1.8-r1.ebuild 3121 BLAKE2B 65a198fa783b4b3bd650e21427b88d26dcbb7c238212643ae51642ab8d520312a90a58331d3b3d9986a12e77cadaa94929eebede294363bb0eb63706fceecaa1 SHA512 015694a26e2c4bf8889fc14d7832d7bfad4ba7211cca876a4e87fac4864f17bfef769114a4ff21b44a541e2eabb2defde5594033da4213dc1b46c751150fa2b8
|
||||||
MISC metadata.xml 1199 BLAKE2B 90d31048bcc33a76837977547ba818b2d2a268c408e7ad40eb157864d7c561d0bbc8ad40a013e28c74092f27f7fc3d23ae52322a2ca2d681c109ace154e29214 SHA512 98341aa0795cf9439ed4c0b8e2575657eaa5898e21b64d7d73592badac0b2a82fe061005a6adcf4e9d3318a4f20b80c62bd379f587dd4fcf993a95017f8ce867
|
MISC metadata.xml 1199 BLAKE2B 90d31048bcc33a76837977547ba818b2d2a268c408e7ad40eb157864d7c561d0bbc8ad40a013e28c74092f27f7fc3d23ae52322a2ca2d681c109ace154e29214 SHA512 98341aa0795cf9439ed4c0b8e2575657eaa5898e21b64d7d73592badac0b2a82fe061005a6adcf4e9d3318a4f20b80c62bd379f587dd4fcf993a95017f8ce867
|
||||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
AUX lwt-5.3.0-ocaml-4.12.patch 652 BLAKE2B 743c149e53b45dca0797b4b6ceb7cdb9eda64b2233561ac11be492223ff94a5043703651899bf42051b9dfe6481e6f84c6ac968ecf708d9fda09e5dd911f0e2c SHA512 d3073948decaeb3888ee93b5a41fb7ef6db69390a08bf5e78752f85a5c7453a3c0abae0dae0fda9a950acc76560937f7e03dc4bc6c81cbcbbb9998d0282b7c79
|
AUX lwt-5.3.0-ocaml-4.12.patch 652 BLAKE2B 743c149e53b45dca0797b4b6ceb7cdb9eda64b2233561ac11be492223ff94a5043703651899bf42051b9dfe6481e6f84c6ac968ecf708d9fda09e5dd911f0e2c SHA512 d3073948decaeb3888ee93b5a41fb7ef6db69390a08bf5e78752f85a5c7453a3c0abae0dae0fda9a950acc76560937f7e03dc4bc6c81cbcbbb9998d0282b7c79
|
||||||
AUX lwt-5.3.0-ppxlib-0.18.0.patch 13548 BLAKE2B fa89411ea65421eb8f8b7f7f782817c27f21d88a12a95a6a8a9d858c6e6665d2a79432ec237daf77d594ba11e4ef1e71921779084055e8df695b696f81b6ce06 SHA512 cd5dc33e0b3366445ce491efda7ff55fcf7f628138fc8213dfa8a7d425d44fd7b312d9008ff1bad5216bb8179bc0e41e5844d1826237c3c26f657d7ec5410671
|
AUX lwt-5.3.0-ppxlib-0.18.0.patch 13548 BLAKE2B fa89411ea65421eb8f8b7f7f782817c27f21d88a12a95a6a8a9d858c6e6665d2a79432ec237daf77d594ba11e4ef1e71921779084055e8df695b696f81b6ce06 SHA512 cd5dc33e0b3366445ce491efda7ff55fcf7f628138fc8213dfa8a7d425d44fd7b312d9008ff1bad5216bb8179bc0e41e5844d1826237c3c26f657d7ec5410671
|
||||||
DIST lwt-5.3.0.tar.gz 298152 BLAKE2B a39494bf98fcca07bf4601a742f4bfdc1ea2a67e2babbab650c41d2df58296a859520509ddc080af9c4d55be76439b401174720765fb942586d7c866f80cc538 SHA512 9922c19944595b0c07da8e1bbdecb2cc7c5a7edcdc2224215efb819d9c735da8986388a2446bd0762e28533f5d9d386970f07a4f1b0d14255c6743f3a1d16cb6
|
DIST lwt-5.3.0.tar.gz 298152 BLAKE2B a39494bf98fcca07bf4601a742f4bfdc1ea2a67e2babbab650c41d2df58296a859520509ddc080af9c4d55be76439b401174720765fb942586d7c866f80cc538 SHA512 9922c19944595b0c07da8e1bbdecb2cc7c5a7edcdc2224215efb819d9c735da8986388a2446bd0762e28533f5d9d386970f07a4f1b0d14255c6743f3a1d16cb6
|
||||||
EBUILD lwt-5.3.0-r1.ebuild 835 BLAKE2B 05a4143a50d26354d5ccc3534c269702bb510ae665cc83b917bab3722adbeb43a5ca7498283f196d1f04b989849a4d7f9ca843dfd3e043f991c9580251d544d6 SHA512 5fd73aa06279d5460ee8ee1f960edbc8b7bb21a63b21324cbd563e5ce2e979394568c827f6f7e51d13c45d6f5e3bcfce699a86759b8bdf7d73894bc2dfafbce3
|
EBUILD lwt-5.3.0-r1.ebuild 808 BLAKE2B 517a171d8329a4ed2667afd775d02af21b37f49b9aa47d280ceda33fd36ba3d609e9d8a3ac9ae885bcafcb340957964f35f2ff1ebab4a9efe4c24ae7f159f702 SHA512 e0795a4c11cb8e83cf5b25eb0c2c6c62c8ca847dfadb9e8d4e9c61d9ae4b16332d55b41960b789d0c2061d7cdbf277a90b55274c0b8605b4f3bc3c1feafb5e57
|
||||||
MISC metadata.xml 414 BLAKE2B 34a1192334c52a4dfe3746119293c05cccc14f6a4b7b5faad4834ad33996a98be8c7854096eebe870a4a0bdc675d796f55788334503423a99632b1625d84b8d9 SHA512 09660f044d6132779e8e63fe6dbca02109317f70af905181b8b344348c72257df804022fedf884c84ddbfe2d60dbcb965e3cc273c30c593f70a083d80c2f92aa
|
MISC metadata.xml 414 BLAKE2B 34a1192334c52a4dfe3746119293c05cccc14f6a4b7b5faad4834ad33996a98be8c7854096eebe870a4a0bdc675d796f55788334503423a99632b1625d84b8d9 SHA512 09660f044d6132779e8e63fe6dbca02109317f70af905181b8b344348c72257df804022fedf884c84ddbfe2d60dbcb965e3cc273c30c593f70a083d80c2f92aa
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
AUX Crypt-Cracklib-1.7-CFLAGS-1.patch 615 BLAKE2B 411b7d0838c3572d2022d50eb9e9f5faa0620153463761ad31071462580631af23473cae72191741e494e824ce0e0aa8bfe969afe515a45b4b22a1c5bf2cd8da SHA512 1f74cbcbda0f968170fcd92a266503ec642e6c48e75c453e772dd724ef6b1d058de460b7fd3a0a7750d4ce94cce2d91499d82c7b9a57bfee2f286d08e92b9cf9
|
AUX Crypt-Cracklib-1.7-CFLAGS-1.patch 615 BLAKE2B 411b7d0838c3572d2022d50eb9e9f5faa0620153463761ad31071462580631af23473cae72191741e494e824ce0e0aa8bfe969afe515a45b4b22a1c5bf2cd8da SHA512 1f74cbcbda0f968170fcd92a266503ec642e6c48e75c453e772dd724ef6b1d058de460b7fd3a0a7750d4ce94cce2d91499d82c7b9a57bfee2f286d08e92b9cf9
|
||||||
AUX Crypt-Cracklib-1.7-no-dot-inc.patch 449 BLAKE2B 10f24e1cefbec04b92bf86ba223568b26882791e113549ea846257fd9af9a399e38ecbabebadf36fa4b71913824ce95dde863c6e440ca4efc77d3f2f8ab67239 SHA512 759811c9146ae4547c2f535a0297687683cf53766bfa8105c8dab550d85fa2908a117fd003bf74743a1a1d14bb49c66d79efe502f092cf0a6eeeeb51004216e6
|
AUX Crypt-Cracklib-1.7-no-dot-inc.patch 449 BLAKE2B 10f24e1cefbec04b92bf86ba223568b26882791e113549ea846257fd9af9a399e38ecbabebadf36fa4b71913824ce95dde863c6e440ca4efc77d3f2f8ab67239 SHA512 759811c9146ae4547c2f535a0297687683cf53766bfa8105c8dab550d85fa2908a117fd003bf74743a1a1d14bb49c66d79efe502f092cf0a6eeeeb51004216e6
|
||||||
AUX Crypt-Cracklib-1.700.0-CFLAGS.patch 365 BLAKE2B 810f920be8111b0371d529f005cbe3bc3f6c2b353efd7aac128182eda1f94f85c668f9d18caf432303eb6a344cf77557efb4ca9585df04bacd030f2250220422 SHA512 83ae51755f643f7069fffe82f9edf38378a987b087abb887d90a74a59997268d78d44e0f6c3c091e2f09eeba1f140d22c288ff2fb2b7fd1639fd1f92c1cbeb73
|
|
||||||
DIST Crypt-Cracklib-1.7.tar.gz 27529 BLAKE2B af59e82f36baea3871dcd9de501c5dcd44c652207d5e3df8cd001e48285965ca26bb5df81e50ebfd5c575629783f7ba8c0f225cacb13eaff5c2ca2c3bfd1a018 SHA512 1364fb75bf363d81d418c2f0590dbe6f889ffc5db2a467931d5ef9221c1c762244eae34016a0c0ad57a12aeaa108ad22b3ab67cb8b28beb2f486d13e497f8e13
|
DIST Crypt-Cracklib-1.7.tar.gz 27529 BLAKE2B af59e82f36baea3871dcd9de501c5dcd44c652207d5e3df8cd001e48285965ca26bb5df81e50ebfd5c575629783f7ba8c0f225cacb13eaff5c2ca2c3bfd1a018 SHA512 1364fb75bf363d81d418c2f0590dbe6f889ffc5db2a467931d5ef9221c1c762244eae34016a0c0ad57a12aeaa108ad22b3ab67cb8b28beb2f486d13e497f8e13
|
||||||
EBUILD Crypt-Cracklib-1.700.0-r3.ebuild 678 BLAKE2B 7b1e0722cb6e3749514869a99cfe1b6a36cf35e4afbbbab5e3fdb69b947e789b09f55cdd83b282ba8711e7b45bb657dcc218eca13843c81ea1d7592c28be5883 SHA512 8ae56cf25aaa3862e1ab2b706e7f67229e726c9d1bafc35a3e7cbf74ccf107b2f77de841333ccc5c7b4c00be8a49139176faf61a530f443293faed583b243974
|
EBUILD Crypt-Cracklib-1.700.0-r3.ebuild 678 BLAKE2B 7b1e0722cb6e3749514869a99cfe1b6a36cf35e4afbbbab5e3fdb69b947e789b09f55cdd83b282ba8711e7b45bb657dcc218eca13843c81ea1d7592c28be5883 SHA512 8ae56cf25aaa3862e1ab2b706e7f67229e726c9d1bafc35a3e7cbf74ccf107b2f77de841333ccc5c7b4c00be8a49139176faf61a530f443293faed583b243974
|
||||||
MISC metadata.xml 401 BLAKE2B d6f316dac4db065a2995e02952acf652d85794d3484468b89d8e5673b1aec0b9c789fad25e9352f7edc4f6bb238feb7a7b289d9299863d9a9d40a4c6cb7c4402 SHA512 55e01c18a40842a096f3a64a14b87b13481549328a03d79bbb4ac6f4bd17f00e36fd9843f485a62f3dda93a1681c63adac80e00c6d572c8a991b1cf3acabee3d
|
MISC metadata.xml 401 BLAKE2B d6f316dac4db065a2995e02952acf652d85794d3484468b89d8e5673b1aec0b9c789fad25e9352f7edc4f6bb238feb7a7b289d9299863d9a9d40a4c6cb7c4402 SHA512 55e01c18a40842a096f3a64a14b87b13481549328a03d79bbb4ac6f4bd17f00e36fd9843f485a62f3dda93a1681c63adac80e00c6d572c8a991b1cf3acabee3d
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
diff -ruN Crypt-Cracklib-1.7.orig/Makefile.PL Crypt-Cracklib-1.7/Makefile.PL
|
|
||||||
--- Crypt-Cracklib-1.7.orig/Makefile.PL 2019-10-16 05:55:37.321262001 +0200
|
|
||||||
+++ Crypt-Cracklib-1.7/Makefile.PL 2019-10-16 05:56:38.585611172 +0200
|
|
||||||
@@ -15,7 +15,6 @@
|
|
||||||
requires_external_cc();
|
|
||||||
|
|
||||||
cc_lib_links('crack');
|
|
||||||
-cc_optimize_flags('-g -Wall -Werror');
|
|
||||||
|
|
||||||
auto_install();
|
|
||||||
WriteAll();
|
|
@ -1,4 +1,3 @@
|
|||||||
AUX Crypt-OpenSSL-ECDSA-0.80.0-0002-Port-to-OpenSSL-1.1.0.patch 6988 BLAKE2B 5b40ec7a06b81e49271c304380fc227b105872328b1bc077cd7b10eaaeec8aacd4dcae9595aa2db189ae0ef612e87a302b8ec158a7f4442bf01e1deb8500b2d6 SHA512 c9ef31155af0b1fa247aa782909ebfd7af6ea2c1eb05aafd928f3ad04406faf80f460689d5097b5641e8018da81e690099d5f33885c87bc48f08f1bf32d31c67
|
|
||||||
DIST Crypt-OpenSSL-ECDSA-0.10.tar.gz 53607 BLAKE2B 814739a35713730202008a488df4658371769d12d3908c6750bca2f2aff65658a7efa3ae7d961ec2dd33bfa72627aa280b26da535d7988709dc275fec3cf532e SHA512 d1ec79c02b5f0c7c7ab140e1ab003683aa272c95c4418f3b8258b6504c3bc06adacf3e628e6160f5f0f271e06cd0b90f05c0609cf71bf950a3c87f3668990953
|
DIST Crypt-OpenSSL-ECDSA-0.10.tar.gz 53607 BLAKE2B 814739a35713730202008a488df4658371769d12d3908c6750bca2f2aff65658a7efa3ae7d961ec2dd33bfa72627aa280b26da535d7988709dc275fec3cf532e SHA512 d1ec79c02b5f0c7c7ab140e1ab003683aa272c95c4418f3b8258b6504c3bc06adacf3e628e6160f5f0f271e06cd0b90f05c0609cf71bf950a3c87f3668990953
|
||||||
EBUILD Crypt-OpenSSL-ECDSA-0.100.0.ebuild 527 BLAKE2B 945a7ff5d08fc8c6bf837ec15ac774160e7849b13d8891df13c752cecce9b41093bd1ed09122e156069beee07bfa902cf53fc3e2f5ea03af997760eb1ded71a8 SHA512 5060645fff3a3fb10201c8a8bec884ead891c6bc88b002ea77da91c53a88aa06b3fa70008b2c9dcde3f0e33bf543025f0c58a3beab73679d18e3d984aab25ad0
|
EBUILD Crypt-OpenSSL-ECDSA-0.100.0.ebuild 527 BLAKE2B 945a7ff5d08fc8c6bf837ec15ac774160e7849b13d8891df13c752cecce9b41093bd1ed09122e156069beee07bfa902cf53fc3e2f5ea03af997760eb1ded71a8 SHA512 5060645fff3a3fb10201c8a8bec884ead891c6bc88b002ea77da91c53a88aa06b3fa70008b2c9dcde3f0e33bf543025f0c58a3beab73679d18e3d984aab25ad0
|
||||||
MISC metadata.xml 412 BLAKE2B b3c44548cbf361d8496c3b0884fd07c30d9bb291e8289a91e8958d6920064cad610e7e96f3183e0e4b44e74f11fd89ba777e730cb2396374987126928a1c0c0f SHA512 c53c609076af1f067cf8c24f67c0b67c36a5c5790a858c03f5bbf73eb37f49abfb232c23fbed741cfa1cdd4dbd7a4b7a0c5e49c38e87b6167cd159b82de69a0c
|
MISC metadata.xml 412 BLAKE2B b3c44548cbf361d8496c3b0884fd07c30d9bb291e8289a91e8958d6920064cad610e7e96f3183e0e4b44e74f11fd89ba777e730cb2396374987126928a1c0c0f SHA512 c53c609076af1f067cf8c24f67c0b67c36a5c5790a858c03f5bbf73eb37f49abfb232c23fbed741cfa1cdd4dbd7a4b7a0c5e49c38e87b6167cd159b82de69a0c
|
||||||
|
@ -1,252 +0,0 @@
|
|||||||
From b110ec2277ba33e0935f3d465a5413f669d8aefc Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
||||||
Date: Tue, 11 Oct 2016 16:15:43 +0200
|
|
||||||
Subject: [PATCH] Port to OpenSSL 1.1.0
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
OpenSSL 1.1.0 hid ECDSA structure internals and provided methods
|
|
||||||
instead.
|
|
||||||
|
|
||||||
This patch uses the methods and provides their copies in the case of
|
|
||||||
older OpenSSL. Because the new OpenSSL API, ECDSA_SIG_set0(), cannot
|
|
||||||
set curve parameters individually and ECDSA_SIG_get0() returns yet
|
|
||||||
another reference, it's necessary to duplicate the other unchanged
|
|
||||||
paramater when calling set_r() or set_s().
|
|
||||||
|
|
||||||
This patch also stops exporting ECDSA_METHOD functions that were
|
|
||||||
removed from the new OpenSSL.
|
|
||||||
|
|
||||||
CPAN RT#118330
|
|
||||||
|
|
||||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
||||||
---
|
|
||||||
ECDSA.xs | 105 ++++++++++++++++++++++++++++++++++++++++--------
|
|
||||||
t/Crypt-OpenSSL-ECDSA.t | 13 +++++-
|
|
||||||
2 files changed, 100 insertions(+), 18 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/ECDSA.xs b/ECDSA.xs
|
|
||||||
index 4016368..3d6e2d1 100644
|
|
||||||
--- a/ECDSA.xs
|
|
||||||
+++ b/ECDSA.xs
|
|
||||||
@@ -7,9 +7,35 @@
|
|
||||||
|
|
||||||
#include <openssl/ecdsa.h>
|
|
||||||
#include <openssl/err.h>
|
|
||||||
+#include <openssl/bn.h>
|
|
||||||
|
|
||||||
#include "const-c.inc"
|
|
||||||
|
|
||||||
+
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
|
||||||
+#include <openssl/ec.h>
|
|
||||||
+#else
|
|
||||||
+/* ECDSA_SIG_get0() and ECDSA_SIG_set0() copied from OpenSSL 1.1.0b. */
|
|
||||||
+static void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr,
|
|
||||||
+ const BIGNUM **ps) {
|
|
||||||
+ if (pr != NULL)
|
|
||||||
+ *pr = sig->r;
|
|
||||||
+ if (ps != NULL)
|
|
||||||
+ *ps = sig->s;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+static int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s)
|
|
||||||
+{
|
|
||||||
+ if (r == NULL || s == NULL)
|
|
||||||
+ return 0;
|
|
||||||
+ BN_clear_free(sig->r);
|
|
||||||
+ BN_clear_free(sig->s);
|
|
||||||
+ sig->r = r;
|
|
||||||
+ sig->s = s;
|
|
||||||
+ return 1;
|
|
||||||
+}
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
MODULE = Crypt::OpenSSL::ECDSA PACKAGE = Crypt::OpenSSL::ECDSA
|
|
||||||
|
|
||||||
PROTOTYPES: ENABLE
|
|
||||||
@@ -17,7 +43,9 @@ INCLUDE: const-xs.inc
|
|
||||||
|
|
||||||
BOOT:
|
|
||||||
ERR_load_crypto_strings();
|
|
||||||
+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
||||||
ERR_load_ECDSA_strings();
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#ECDSA_SIG *
|
|
||||||
#ECDSA_SIG_new()
|
|
||||||
@@ -61,10 +89,16 @@ ECDSA_do_verify(const unsigned char *dgst, const ECDSA_SIG *sig, EC_KEY* eckey);
|
|
||||||
OUTPUT:
|
|
||||||
RETVAL
|
|
||||||
|
|
||||||
-# These ECDSA_METHOD functions only became available in 1.0.2
|
|
||||||
+# These ECDSA_METHOD functions only became available in 1.0.2,
|
|
||||||
+# but some of them removed again in 1.1.0.
|
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
|
|
||||||
|
|
||||||
+int
|
|
||||||
+ECDSA_size(const EC_KEY *eckey)
|
|
||||||
+
|
|
||||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
||||||
+
|
|
||||||
const ECDSA_METHOD *
|
|
||||||
ECDSA_OpenSSL()
|
|
||||||
|
|
||||||
@@ -77,9 +111,6 @@ ECDSA_get_default_method()
|
|
||||||
int
|
|
||||||
ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth)
|
|
||||||
|
|
||||||
-int
|
|
||||||
-ECDSA_size(const EC_KEY *eckey)
|
|
||||||
-
|
|
||||||
ECDSA_METHOD *
|
|
||||||
ECDSA_METHOD_new(ECDSA_METHOD *ecdsa_method=0)
|
|
||||||
|
|
||||||
@@ -95,7 +126,7 @@ ECDSA_METHOD_set_name(ECDSA_METHOD *ecdsa_method, char *name)
|
|
||||||
void
|
|
||||||
ERR_load_ECDSA_strings()
|
|
||||||
|
|
||||||
-
|
|
||||||
+#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
@@ -135,11 +166,13 @@ SV *
|
|
||||||
get_r(ecdsa_sig)
|
|
||||||
ECDSA_SIG *ecdsa_sig
|
|
||||||
PREINIT:
|
|
||||||
+ const BIGNUM *r;
|
|
||||||
unsigned char *to;
|
|
||||||
STRLEN len;
|
|
||||||
CODE:
|
|
||||||
to = malloc(sizeof(char) * 128);
|
|
||||||
- len = BN_bn2bin(ecdsa_sig->r, to);
|
|
||||||
+ ECDSA_SIG_get0(ecdsa_sig, &r, NULL);
|
|
||||||
+ len = BN_bn2bin(r, to);
|
|
||||||
RETVAL = newSVpvn((const char*)to, len);
|
|
||||||
free(to);
|
|
||||||
OUTPUT:
|
|
||||||
@@ -149,11 +182,13 @@ SV *
|
|
||||||
get_s(ecdsa_sig)
|
|
||||||
ECDSA_SIG *ecdsa_sig
|
|
||||||
PREINIT:
|
|
||||||
+ const BIGNUM *s;
|
|
||||||
unsigned char *to;
|
|
||||||
STRLEN len;
|
|
||||||
CODE:
|
|
||||||
to = malloc(sizeof(char) * 128);
|
|
||||||
- len = BN_bn2bin(ecdsa_sig->s, to);
|
|
||||||
+ ECDSA_SIG_get0(ecdsa_sig, NULL, &s);
|
|
||||||
+ len = BN_bn2bin(s, to);
|
|
||||||
RETVAL = newSVpvn((const char*)to, len);
|
|
||||||
free(to);
|
|
||||||
OUTPUT:
|
|
||||||
@@ -164,26 +199,62 @@ set_r(ecdsa_sig, r_SV)
|
|
||||||
ECDSA_SIG *ecdsa_sig
|
|
||||||
SV * r_SV
|
|
||||||
PREINIT:
|
|
||||||
- char *s;
|
|
||||||
+ char *string;
|
|
||||||
STRLEN len;
|
|
||||||
+ BIGNUM *r;
|
|
||||||
+ BIGNUM *s;
|
|
||||||
+ const BIGNUM *old_s;
|
|
||||||
CODE:
|
|
||||||
- s = SvPV(r_SV, len);
|
|
||||||
- if (ecdsa_sig->r)
|
|
||||||
- BN_free(ecdsa_sig->r);
|
|
||||||
- ecdsa_sig->r = BN_bin2bn((const unsigned char *)s, len, NULL);
|
|
||||||
+ string = SvPV(r_SV, len);
|
|
||||||
+ r = BN_bin2bn((const unsigned char *)string, len, NULL);
|
|
||||||
+ if (NULL == r)
|
|
||||||
+ croak("Could not convert ECDSA parameter string to big number");
|
|
||||||
+ ECDSA_SIG_get0(ecdsa_sig, NULL, &old_s);
|
|
||||||
+ if (NULL == old_s) {
|
|
||||||
+ s = BN_new();
|
|
||||||
+ } else {
|
|
||||||
+ s = BN_dup(old_s);
|
|
||||||
+ }
|
|
||||||
+ if (NULL == s) {
|
|
||||||
+ BN_free(r);
|
|
||||||
+ croak("Could not duplicate unchanged ECDSA parameter");
|
|
||||||
+ }
|
|
||||||
+ if (!ECDSA_SIG_set0(ecdsa_sig, r, s)) {
|
|
||||||
+ BN_free(r);
|
|
||||||
+ BN_free(s);
|
|
||||||
+ croak("Could not store ECDSA parameters");
|
|
||||||
+ }
|
|
||||||
|
|
||||||
void
|
|
||||||
set_s(ecdsa_sig, s_SV)
|
|
||||||
ECDSA_SIG *ecdsa_sig
|
|
||||||
SV * s_SV
|
|
||||||
PREINIT:
|
|
||||||
- char *s;
|
|
||||||
+ char *string;
|
|
||||||
STRLEN len;
|
|
||||||
+ BIGNUM *r;
|
|
||||||
+ BIGNUM *s;
|
|
||||||
+ const BIGNUM *old_r;
|
|
||||||
CODE:
|
|
||||||
- s = SvPV(s_SV, len);
|
|
||||||
- if (ecdsa_sig->s)
|
|
||||||
- BN_free(ecdsa_sig->s);
|
|
||||||
- ecdsa_sig->s = BN_bin2bn((const unsigned char *)s, len, NULL);
|
|
||||||
+ string = SvPV(s_SV, len);
|
|
||||||
+ s = BN_bin2bn((const unsigned char *)string, len, NULL);
|
|
||||||
+ if (NULL == s)
|
|
||||||
+ croak("Could not convert ECDSA parameter string to big number");
|
|
||||||
+ ECDSA_SIG_get0(ecdsa_sig, &old_r, NULL);
|
|
||||||
+ if (NULL == old_r) {
|
|
||||||
+ r = BN_new();
|
|
||||||
+ } else {
|
|
||||||
+ r = BN_dup(old_r);
|
|
||||||
+ }
|
|
||||||
+ if (NULL == r) {
|
|
||||||
+ BN_free(s);
|
|
||||||
+ croak("Could not duplicate unchanged ECDSA parameter");
|
|
||||||
+ }
|
|
||||||
+ if (!ECDSA_SIG_set0(ecdsa_sig, r, s)) {
|
|
||||||
+ BN_free(r);
|
|
||||||
+ BN_free(s);
|
|
||||||
+ croak("Could not store ECDSA parameters");
|
|
||||||
+ }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/t/Crypt-OpenSSL-ECDSA.t b/t/Crypt-OpenSSL-ECDSA.t
|
|
||||||
index 7ab584f..3c02025 100644
|
|
||||||
--- a/t/Crypt-OpenSSL-ECDSA.t
|
|
||||||
+++ b/t/Crypt-OpenSSL-ECDSA.t
|
|
||||||
@@ -6,7 +6,7 @@
|
|
||||||
use strict;
|
|
||||||
use warnings;
|
|
||||||
|
|
||||||
-use Test::More tests => 21;
|
|
||||||
+use Test::More tests => 25;
|
|
||||||
BEGIN { use_ok('Crypt::OpenSSL::ECDSA'); use_ok('Crypt::OpenSSL::EC'); };
|
|
||||||
|
|
||||||
|
|
||||||
@@ -77,6 +77,17 @@ $ret = Crypt::OpenSSL::ECDSA::ECDSA_do_verify($digest, $sig, $key);
|
|
||||||
ok($ret);
|
|
||||||
undef $sig;
|
|
||||||
|
|
||||||
+# Test a signature can be built from scratch
|
|
||||||
+$sig = Crypt::OpenSSL::ECDSA::ECDSA_SIG->new();
|
|
||||||
+ok($sig, 'Empty Crypt::OpenSSL::ECDSA::ECDSA_SIG object created');
|
|
||||||
+eval { $sig->set_r($r); };
|
|
||||||
+ok(!$@, 'R parameter set');
|
|
||||||
+eval { $sig->set_s($s); };
|
|
||||||
+ok(!$@, 'S parameter set');
|
|
||||||
+$ret = Crypt::OpenSSL::ECDSA::ECDSA_do_verify($digest, $sig, $key);
|
|
||||||
+ok($ret, 'built-from-scratch signature matches');
|
|
||||||
+undef $sig;
|
|
||||||
+
|
|
||||||
# Testing signing and verifying with the _ex version
|
|
||||||
my $dummy = 0;
|
|
||||||
$sig = Crypt::OpenSSL::ECDSA::ECDSA_do_sign_ex($digest, \$dummy, \$dummy, $key);
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
|||||||
AUX no-dot-inc.patch 790 BLAKE2B 71e83b789b58bb0aa3f92db78949f732e45b429b2d4a56b74461af719fa7ab7cd4eb47b5fe4c6150b1a215cb79624c6c56d3558bdd50c12d6d6303f1b13f40d8 SHA512 a5608179bdc33a98c6c070fda3281b7d5c6ceebca3798d26cfe5339e773e46a489dd2f8df02d059d7bea63c0e6d22098dd3f65a264b4e6e9e7575ebbdacb1203
|
|
||||||
DIST Crypt-Twofish-2.18.tar.gz 13904 BLAKE2B a153d4a7292ff11b97f8d53ea84b9c51d09ff1585f6bd5150c5ce047e5d515e14725672a0b637c11d1664b16b87fc950aae709d6be8f0e1f99112d562e8f69ee SHA512 e900b066e73237dbad8a9882c28509fcd8516c16478cdc2703883a1801d9ec387c4e43c38f6e50024c47f9fb2812c44f6096f2a2ce298f9d73303a84833b61a2
|
DIST Crypt-Twofish-2.18.tar.gz 13904 BLAKE2B a153d4a7292ff11b97f8d53ea84b9c51d09ff1585f6bd5150c5ce047e5d515e14725672a0b637c11d1664b16b87fc950aae709d6be8f0e1f99112d562e8f69ee SHA512 e900b066e73237dbad8a9882c28509fcd8516c16478cdc2703883a1801d9ec387c4e43c38f6e50024c47f9fb2812c44f6096f2a2ce298f9d73303a84833b61a2
|
||||||
EBUILD Crypt-Twofish-2.180.0.ebuild 391 BLAKE2B 2260cb3655d4adece2528f600e338d0498d609018ce4cc179e61dca3110f615456d2e7f2e341fc4a83eef7a8bc2a04d0f0d949dd3d0753dd907e63af59af19c3 SHA512 086aa38f36cd1bf815357dadee9bd2c0c91cf77ddfa6b1c621c51cb04f4d5d051b889cf4463a6c6acb62474e3aaf656ec60269e5df78a3e59614f57641d545e6
|
EBUILD Crypt-Twofish-2.180.0.ebuild 391 BLAKE2B 2260cb3655d4adece2528f600e338d0498d609018ce4cc179e61dca3110f615456d2e7f2e341fc4a83eef7a8bc2a04d0f0d949dd3d0753dd907e63af59af19c3 SHA512 086aa38f36cd1bf815357dadee9bd2c0c91cf77ddfa6b1c621c51cb04f4d5d051b889cf4463a6c6acb62474e3aaf656ec60269e5df78a3e59614f57641d545e6
|
||||||
MISC metadata.xml 399 BLAKE2B 61b8203de28c78e9376e8f012427e941845745c0a6a8a7d5df47ea8dd6f032d422f3b83492008d55a4d9b21af1889f73e9a60fdd26ba09c970f29391096ac5ae SHA512 ac673ccb9783e512d90b4b8a9376e2a110de0ecb3e7ec52e3383e9bb1643ec3c6c4ec365acad452ea7e6d1f25ea5b3a2c0f81eca6ed769333111ba0b5e55dffa
|
MISC metadata.xml 399 BLAKE2B 61b8203de28c78e9376e8f012427e941845745c0a6a8a7d5df47ea8dd6f032d422f3b83492008d55a4d9b21af1889f73e9a60fdd26ba09c970f29391096ac5ae SHA512 ac673ccb9783e512d90b4b8a9376e2a110de0ecb3e7ec52e3383e9bb1643ec3c6c4ec365acad452ea7e6d1f25ea5b3a2c0f81eca6ed769333111ba0b5e55dffa
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
From 0906d6c153b3bedad2a91a19e8441b9633070e10 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kent Fredric <kentfredric@gmail.com>
|
|
||||||
Date: Sun, 11 Jun 2017 15:29:53 +1200
|
|
||||||
Subject: [PATCH] Fix tab/tables.pl for Perl 5.26
|
|
||||||
|
|
||||||
Removal of "." from @INC means require $PATH no longer ever assumes
|
|
||||||
a path relative to ".", and instead must be explicitly stated with a
|
|
||||||
leading "./"
|
|
||||||
|
|
||||||
Fixes RT#120087
|
|
||||||
|
|
||||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=120087
|
|
||||||
---
|
|
||||||
tab/tables.pl | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tab/tables.pl b/tab/tables.pl
|
|
||||||
index 2aa0c66..7bed411 100644
|
|
||||||
--- a/tab/tables.pl
|
|
||||||
+++ b/tab/tables.pl
|
|
||||||
@@ -3,7 +3,7 @@
|
|
||||||
# Copyright 2001 Abhijit Menon-Sen <ams@wiw.org>
|
|
||||||
|
|
||||||
use strict;
|
|
||||||
-require 'tab/misc.pl';
|
|
||||||
+require './tab/misc.pl';
|
|
||||||
|
|
||||||
my ($qtab, $mtab) = ([], []);
|
|
||||||
|
|
||||||
--
|
|
||||||
2.13.1
|
|
||||||
|
|
@ -1,6 +1,3 @@
|
|||||||
AUX Data-HexDump-0.20.0-hexdump-pl.patch 1579 BLAKE2B fb1686f1abd599243393ccd001d683d324d90c2f834daf4959d5275a00d29800265e265f3191745896e15cffc694f95f3aaf1de21f114123c1d7708db8720ef7 SHA512 a46911db10f2d5facc86cc3efc110d5871ab7c6c50893de674b99b7b2c35efa5c699f8f490ed14b71b2d5ef27b6e2cbe4e1f43e0ea960d0f8b2516c1d6fb905c
|
|
||||||
AUX Data-HexDump-0.20.0-lib-pm.patch 677 BLAKE2B bd0ed0d2e7ed0ac6f2c79e4a4a568648a72dc2ecc9d8c1dea1c56eef85e1b983fc65ec88b3ee8192d810a25cb8ac81ca1668ecea4543599f2d44b90407da8f7f SHA512 79611868e7c265e18adc2a7169f9122f08318f19e27afcdd90eb8bde69f8c188f3f386ba25766e79deac204120c48c05bb03067ebc6e31ede01fa0a74a15d73a
|
|
||||||
AUX Data-HexDump-0.20.0-signed-c.patch 641 BLAKE2B 01b0b688e7a4231941ef742c55fda06a71ba8415c652055f3f913c8429b3553461c17a423bebce97f7f68f6c8dddcfc1b77b8196524b6bee9f586f134c7a2a03 SHA512 ab5939487cc7e3b16337875aed7e6fbb7592520f567bb082414d06562aeaa3a053be2261504ff3b5fc5100e082c13b0544e072c04c0bde6b5b05365c9f620fb4
|
|
||||||
DIST Data-HexDump-0.04.tar.gz 12434 BLAKE2B 22297d588c312e4719d26eaf2e6b9453f556b9f5924fd4475cb319784bb7c10d23c68b09cb114049675aaf26051c87a6bbbdd207728012a65f4da67811d1b120 SHA512 41f95f0a8ebf23372acd1af737785950663c597d9c76aa2342896967c9b5361a9c29e514c1ef9018461c276978b258649c516c33d3037083a2af0add37589b1f
|
DIST Data-HexDump-0.04.tar.gz 12434 BLAKE2B 22297d588c312e4719d26eaf2e6b9453f556b9f5924fd4475cb319784bb7c10d23c68b09cb114049675aaf26051c87a6bbbdd207728012a65f4da67811d1b120 SHA512 41f95f0a8ebf23372acd1af737785950663c597d9c76aa2342896967c9b5361a9c29e514c1ef9018461c276978b258649c516c33d3037083a2af0add37589b1f
|
||||||
EBUILD Data-HexDump-0.40.0.ebuild 267 BLAKE2B 5615cdc7dd5f8a184dc080f460a6923ceaa23d35f29535a08ed54101a07cd40b78b73fad21abdae1be19d4620edf0bed5a91e881bfd70f9cbe5e9f7ae8a6a3f1 SHA512 9272f4b3626e59780370ffcef38dc8ba7d53abd0f9e46b585f9880ec11ddeed45b7dbf0ec055cbbf6d4f387462aa01e03fa7328b2ec8a8c70ee5a1f29cb2aa74
|
EBUILD Data-HexDump-0.40.0.ebuild 267 BLAKE2B 5615cdc7dd5f8a184dc080f460a6923ceaa23d35f29535a08ed54101a07cd40b78b73fad21abdae1be19d4620edf0bed5a91e881bfd70f9cbe5e9f7ae8a6a3f1 SHA512 9272f4b3626e59780370ffcef38dc8ba7d53abd0f9e46b585f9880ec11ddeed45b7dbf0ec055cbbf6d4f387462aa01e03fa7328b2ec8a8c70ee5a1f29cb2aa74
|
||||||
MISC metadata.xml 397 BLAKE2B b3fbd848462d87beb5d64795b4f7d10335d6eacdabd67a9d5a4112fb81c65e2a7c7b5f82939ad7de996136c15b463aaf1f88a20314293ccf479b4c08bf8d4a34 SHA512 a4ad4a2506d1ae10079ce7d2ff067b68d7a85df94672bbafdf7d6b5fede816f24fb12b0de84d822815833e2e44f48b6598dff6833d2f90c1802ec53b1a6ea3b9
|
MISC metadata.xml 397 BLAKE2B b3fbd848462d87beb5d64795b4f7d10335d6eacdabd67a9d5a4112fb81c65e2a7c7b5f82939ad7de996136c15b463aaf1f88a20314293ccf479b4c08bf8d4a34 SHA512 a4ad4a2506d1ae10079ce7d2ff067b68d7a85df94672bbafdf7d6b5fede816f24fb12b0de84d822815833e2e44f48b6598dff6833d2f90c1802ec53b1a6ea3b9
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
From 7b70e4169faf4e2ec0fe570b02190e71bc168377 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kent Fredric <kentnl@gentoo.org>
|
|
||||||
Date: Tue, 10 Oct 2017 08:15:54 +1300
|
|
||||||
Subject: Rename installed script to '.pl'
|
|
||||||
|
|
||||||
Note: this must not happen in dist-root, or EUMM will also install this
|
|
||||||
as $INC[0]/Data/hexdump.pl
|
|
||||||
|
|
||||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=123224
|
|
||||||
---
|
|
||||||
MANIFEST | 2 +-
|
|
||||||
Makefile.PL | 2 +-
|
|
||||||
hexdump => bin/hexdump.pl | 2 +-
|
|
||||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
rename hexdump => bin/hexdump.pl (95%)
|
|
||||||
|
|
||||||
diff --git a/MANIFEST b/MANIFEST
|
|
||||||
index 2e0843a..2f0c98b 100644
|
|
||||||
--- a/MANIFEST
|
|
||||||
+++ b/MANIFEST
|
|
||||||
@@ -2,7 +2,7 @@ MANIFEST
|
|
||||||
MANIFEST.SKIP
|
|
||||||
Makefile.PL
|
|
||||||
README
|
|
||||||
-hexdump
|
|
||||||
+bin/hexdump.pl
|
|
||||||
lib/Data/HexDump.pm
|
|
||||||
t/compare.t
|
|
||||||
t/data.t
|
|
||||||
diff --git a/Makefile.PL b/Makefile.PL
|
|
||||||
index 0ee62bf..091fa9d 100644
|
|
||||||
--- a/Makefile.PL
|
|
||||||
+++ b/Makefile.PL
|
|
||||||
@@ -6,5 +6,5 @@ WriteMakefile(NAME => "Data::HexDump",
|
|
||||||
VERSION_FROM => "lib/Data/HexDump.pm",
|
|
||||||
dist => { COMPRESS => "gzip", SUFFIX => "gz" },
|
|
||||||
clean => { FILES => '*.bak *.old mibs/*.dump lib/*/*~' },
|
|
||||||
- EXE_FILES => [ qw(hexdump) ],
|
|
||||||
+ EXE_FILES => [ qw(bin/hexdump.pl) ],
|
|
||||||
);
|
|
||||||
diff --git a/hexdump b/bin/hexdump.pl
|
|
||||||
similarity index 95%
|
|
||||||
rename from hexdump
|
|
||||||
rename to bin/hexdump.pl
|
|
||||||
index a2e28a1..9f86cd8 100755
|
|
||||||
--- a/hexdump
|
|
||||||
+++ b/bin/hexdump.pl
|
|
||||||
@@ -5,7 +5,7 @@ use strict;
|
|
||||||
use Data::HexDump;
|
|
||||||
use FileHandle;
|
|
||||||
|
|
||||||
-my $prgname = "hexdump";
|
|
||||||
+my $prgname = "hexdump.pl";
|
|
||||||
my $file = shift;
|
|
||||||
my $fh;
|
|
||||||
|
|
||||||
--
|
|
||||||
2.14.1
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
|||||||
From 36f61caaa95340817098b8b9f6631c9f2060a292 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kent Fredric <kentnl@gentoo.org>
|
|
||||||
Date: Tue, 10 Oct 2017 08:17:01 +1300
|
|
||||||
Subject: Remove 'use lib lib'
|
|
||||||
|
|
||||||
There's no sense in blindly adding lib based on wherever you currently
|
|
||||||
are to an installed program, its just a security problem asking to be
|
|
||||||
invented.
|
|
||||||
|
|
||||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=123225
|
|
||||||
---
|
|
||||||
bin/hexdump.pl | 1 -
|
|
||||||
1 file changed, 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/bin/hexdump.pl b/bin/hexdump.pl
|
|
||||||
index 9f86cd8..1ce8962 100755
|
|
||||||
--- a/bin/hexdump.pl
|
|
||||||
+++ b/bin/hexdump.pl
|
|
||||||
@@ -1,6 +1,5 @@
|
|
||||||
#!/usr/bin/perl -w
|
|
||||||
|
|
||||||
-use lib "lib";
|
|
||||||
use strict;
|
|
||||||
use Data::HexDump;
|
|
||||||
use FileHandle;
|
|
||||||
--
|
|
||||||
2.14.1
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
|||||||
From 1eec10393fbf1123327858d127e1f6d9e50f5a85 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Kent Fredric <kentnl@gentoo.org>
|
|
||||||
Date: Tue, 10 Oct 2017 08:17:59 +1300
|
|
||||||
Subject: Don't use signed characters for 0-255
|
|
||||||
|
|
||||||
'c' == -127 to 127
|
|
||||||
|
|
||||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=123226
|
|
||||||
---
|
|
||||||
t/compare.t | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/t/compare.t b/t/compare.t
|
|
||||||
index f03d73d..3c25803 100644
|
|
||||||
--- a/t/compare.t
|
|
||||||
+++ b/t/compare.t
|
|
||||||
@@ -11,7 +11,7 @@ print "1..2\n";
|
|
||||||
# data
|
|
||||||
my $org = "";
|
|
||||||
for (my $i = 0; $i <= 255; $i++) {
|
|
||||||
- $org .= pack 'c', $i;
|
|
||||||
+ $org .= pack 'C', $i;
|
|
||||||
}
|
|
||||||
$org = $org x 17 . "more data";
|
|
||||||
|
|
||||||
--
|
|
||||||
2.14.1
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DIST_AUTHOR=TMTM
|
||||||
|
DIST_VERSION=1.41
|
||||||
|
inherit perl-module
|
||||||
|
|
||||||
|
DESCRIPTION="work with a range of dates"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-perl/Date-Simple-0.30.0
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}
|
||||||
|
"
|
@ -0,0 +1,3 @@
|
|||||||
|
DIST Date-Range-1.41.tar.gz 4779 BLAKE2B c2fe77acc3cfcff577bb4b139d24400b266e77afe905d3b63b4b3ea17c25074a5fa75421a959ad87a2ab51fe3469ecb7c498767aa3b2492d545a274327a7fc65 SHA512 452672d6050805c0a5743d49e278925df8d2d44b3f2ffc5c69dc6520ae4cbf54847baa905a35290375bb200bf3c74a2a862c54bcd57ee9ef0f513e3ccdc07f93
|
||||||
|
EBUILD Date-Range-1.410.0.ebuild 304 BLAKE2B eeeeb528324cbabb84a517ac229ba920ecb2cadc579439cd9444f47db6a2da8fc7978e754f070b043ca7c43a87ae4452f1b7bd8f795031f41867a32f4964e80f SHA512 1e07ef7b22b7fd95311cfe348be8e25ab72a83ca0846e9d8268bacefac9abf865d7bb0f939f7024cd28f5415f0999c2ec21b9697b794ad7eb5bcf92d6459543d
|
||||||
|
MISC metadata.xml 258 BLAKE2B 27875c94f7bc66379335a8c7aa58972855f92cf88390cc368e1fe86ef5af4f370e66725b314e99486428cdd9330b341a6821ed5d3eb19af1950326f252b3eb18 SHA512 496cdc360ed68aacbf268bcd9d904ec27e855e4f70a4c76f4fd99b29d8abc5a41f598144dfa550c8982b6cc57e900aad69a97e32ad363af83e06b50afcb54080
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>perl@gentoo.org</email>
|
||||||
|
<name>Gentoo Perl Project</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -1,37 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
DIST_AUTHOR=ETHER
|
|
||||||
DIST_VERSION=0.11
|
|
||||||
|
|
||||||
inherit perl-module
|
|
||||||
|
|
||||||
DESCRIPTION="Install shared files"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
PERL_RM_FILES=( "Build.PL" ) # Using MBTiny is stupid this high up
|
|
||||||
RDEPEND="
|
|
||||||
virtual/perl-Carp
|
|
||||||
virtual/perl-Exporter
|
|
||||||
virtual/perl-File-Spec
|
|
||||||
virtual/perl-IO
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/perl-ExtUtils-MakeMaker
|
|
||||||
test? (
|
|
||||||
virtual/perl-File-Path
|
|
||||||
virtual/perl-Module-Metadata
|
|
||||||
virtual/perl-Test-Simple
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DIST_TEST="do" # RT#111296
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl-module_src_prepare
|
|
||||||
}
|
|
@ -1,5 +1,3 @@
|
|||||||
DIST File-ShareDir-Install-0.11.tar.gz 31187 BLAKE2B 4be6bd829fc9b2784069ba3ee8f54fadd390e3bd003d43a7754f3469fc14c01a5587044f045abe806688ed4442088256264d983ccf4080caec8b8062912e2acf SHA512 6611f6c3221ec52db7582f30b2159dba22ca8d899666526c069298b3350ced9e3b46872baaceb30f7a27e3c744c929ca4967fa820d14bbfdb41e5ed5485a9f72
|
|
||||||
DIST File-ShareDir-Install-0.13.tar.gz 31191 BLAKE2B 53bde507e8fcd0c75030bd977bc6a55d6da810c99102269e46042ebe3873d8fbb224d967cafa87dee4bd02ca18b968f525129986bf7204f84251d7f86f0588b3 SHA512 a119e38491fad8ae0ebd95913e3b608e09a2b99376a5160e75083a28abe4f83c4f6a36df216365527ff87bf8ec095254b16a2f6d2515c69f34609df8672605ca
|
DIST File-ShareDir-Install-0.13.tar.gz 31191 BLAKE2B 53bde507e8fcd0c75030bd977bc6a55d6da810c99102269e46042ebe3873d8fbb224d967cafa87dee4bd02ca18b968f525129986bf7204f84251d7f86f0588b3 SHA512 a119e38491fad8ae0ebd95913e3b608e09a2b99376a5160e75083a28abe4f83c4f6a36df216365527ff87bf8ec095254b16a2f6d2515c69f34609df8672605ca
|
||||||
EBUILD File-ShareDir-Install-0.110.0.ebuild 867 BLAKE2B 0ba01b0efc73eda28fc16a1beb910272b2227bbd21c971cac32707fff6e0fb79e8d445c3db3eb1ed63367b4baa118ba00de7c0e6e80b3c39925740775fcb3ea9 SHA512 12342830cbd2a3d884073f47266030dbbfd4fbd2081d5e261ea446d5a570ff31243ba3540e0fd4d4e55a5d69038b3d61dbe923aadc3ed3046c978cc6a9ad0859
|
|
||||||
EBUILD File-ShareDir-Install-0.130.0.ebuild 664 BLAKE2B 8968c7e73fe46998357c0975aa9b8060d7c253de2026feb61c39ba7b4adea39ed16140a43ca5f2d9d662efcb6fbd718888bf6039f0e2026b2aef75291e706b1a SHA512 31ff3557787555f6ec8369eea1dd1c2fe68f92576f635941183852ea8f54dcafec6e3d2543335afb7f2111fbf1ec7fed42b0b382f7254c97603fdef55cfd8f5b
|
EBUILD File-ShareDir-Install-0.130.0.ebuild 664 BLAKE2B 8968c7e73fe46998357c0975aa9b8060d7c253de2026feb61c39ba7b4adea39ed16140a43ca5f2d9d662efcb6fbd718888bf6039f0e2026b2aef75291e706b1a SHA512 31ff3557787555f6ec8369eea1dd1c2fe68f92576f635941183852ea8f54dcafec6e3d2543335afb7f2111fbf1ec7fed42b0b382f7254c97603fdef55cfd8f5b
|
||||||
MISC metadata.xml 416 BLAKE2B 116536eefd08f5d9dfa146a96ce9fe1014f8b6abc8a959acd8ad4590b05b27f2ff48a61a8072e706840632cd844c23db19475239913eead00273d789ed646bcf SHA512 ecb33419ef6847dc4f3c93f32a0a37a185a8555d3f8861e34f37618c6b83d4665f3bd9f8c747c8d2ab1e7e2c1a73f28a8ea6d26abbeb447ef7c3c6b10fee430b
|
MISC metadata.xml 416 BLAKE2B 116536eefd08f5d9dfa146a96ce9fe1014f8b6abc8a959acd8ad4590b05b27f2ff48a61a8072e706840632cd844c23db19475239913eead00273d789ed646bcf SHA512 ecb33419ef6847dc4f3c93f32a0a37a185a8555d3f8861e34f37618c6b83d4665f3bd9f8c747c8d2ab1e7e2c1a73f28a8ea6d26abbeb447ef7c3c6b10fee430b
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue