parent
8c8781e6f3
commit
5aebe5cac8
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29604 BLAKE2B 440e6a5105d5ddf3da351374c5763575a197c3dde0bc78579bb971e1beeb7941c529ec2cf4982ccd420617b4623632f9e1b31fba0ca34c2d175b90a2c3bd8a4d SHA512 3d04117283e2b7df2eb2d18bf5658c5b34c8ca6b79bb91d20ce801a387fe673eca18f1f2e938174811d1cca97ebe85e9645f068ee2cdda5cabc67d474dff8be5
|
||||
TIMESTAMP 2022-06-18T08:09:56Z
|
||||
MANIFEST Manifest.files.gz 29600 BLAKE2B ee1ab1e87c909fbeea6c3ddea2b11d1af0a597e9530e44a1805e78636fc26fb8f3d66806c7d90ebaa175f915d5466602696fddd6082dd54899358e9cd0b7bef5 SHA512 8990f8896f53c781d3e6911ec7413d6cc23196a790ac4df6592c80fde9396a2be138a3c0c80dd9046567b94074a4b97d41cdaabea86141dc96c4b6c95430770e
|
||||
TIMESTAMP 2022-06-19T12:10:01Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmKtiFRfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmKvEhlfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klB55w//b+HHsy24gniOu/acfiXbDrw+Q4C8AffL74LS05WuIhAST0fJwmKI334u
|
||||
3Nq3uwVMl2T3UqYeCyT0/tws8ZY/Jz2HcG46UmckY2+0QQ0olUtyu4GKp/M3mBRT
|
||||
AJ73l9sGnbHAvqk/ciFfuPbS5f9dksc4EJl7LMbxw3ei3/BF9ElWqorgnarvP4SC
|
||||
tbzAhtYmBFDXbH8dxMpHayKNIlL6P9phVkpjIvDVRFmnlkwPNzbEvPbbYk+eGpgi
|
||||
dTt1M3yBx+tAPe5T9ZZOuOb38BbxusQ5qJiLqtHHA8+lCk3CVP4Qozdw9dd2vgVR
|
||||
s/FFgx1jQlymIfnHilQs6r0fjYwhuGWgI7L8glIxg1NpujCHDTz0uBndzhVRwhuY
|
||||
KC8lVT6SPYiG6c2ixmGckuVDEg9XG92l7NiP61msWjfhfUg3YpViNWcvNvlBe2C5
|
||||
tBTRcHdyQhRlNj1b03a+RtVfiSfzz9WD9pngfrIgauqJhmRbfDF4frqnQJ/mMAPU
|
||||
RprJTSSeAiLRNSsD73UFAxagrMNVAl/Sx25msEtuHpCZNhQnyaiKx71bntDMYBFW
|
||||
Yvf+UOknfbUFv0iI91B1hrT8xSlUN7wTuhypsNMwSJOrI2Jm6l2esZFFdtZHSKMo
|
||||
5UaymTFNIxvF47hy65JPVg0MalYOcFsIp7ZvWBo4KyVM70oBS/M=
|
||||
=dES6
|
||||
klBp6w//SfEBMRmKlfd/bNdvAVPeL0jqImtu8mGO9LAU/W/GmC6dj3Z10GWDp3Cl
|
||||
B65DTGXfwnYYA5uXmcc8U/aRRT+fh/hYt33lHOZC+Hmvq+cHRi6GeCSyHvdOl092
|
||||
ze9dIWGYdoo1SE4K679SpQg4ftzbVcmRX5pWATaTTp3QpWomEwtQY2R+i3MWuXHk
|
||||
EATerapiMjJUWnaBIj7Ej2txFk1DBRKbgU1+dpslunWOQ0cZ5AHlNE/nNBRukNCs
|
||||
0uUryDSD77mI+sicz2GCBsq3IWPTMGwsEjiPoiQrPMDgSQqOGMUEGoujmVZLdgTm
|
||||
WwnwMYta0FMa0frw7iqz8peSZKFlLXVIQnTCRygjYsbe4QvXo4lRRV/zBjDu2rVP
|
||||
3PCijsTTQam5z9ikyf9+xE2iELRyza7bBcLONx3bfPitEL5tQZP0uufr8NCdwIrX
|
||||
LrXvmr6DbsdRbjHanCCisZB3t6TH2OjemI/39QdRJ4laDGezbYYCqjOwwDZbZzAK
|
||||
HByfzvuU6igIIuTGunG115JF1VdOPH/FZMf/1c0Jqz6V0+eN0nvOveSgQ+gdPLHE
|
||||
AS8d9xe+QvL7A4Ku5RQ6rfrRXHRpSRykrKQ+bkoGsiONFfM0YsDBu7t6ZRj42v0f
|
||||
/0jUzuEpv/zvi6JunBY6aCOL39sC5EA+Ie5nDRf0nYkeb7m9CJc=
|
||||
=8c9T
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,25 +1,5 @@
|
||||
DIST aws-cli-1.24.10.gh.tar.gz 2219050 BLAKE2B 9655429a65c81b5c6436f0bafb293243d8f6d2160573902bbd3f2b10ab69ef24796ac0c1bd112000afc3d15cc4d8560fc95f774c38739cf8e2d3303a4512e3ec SHA512 592564ff501ff52572655973c518366928a20371333ccf4f7234d414070343a38287a8870a5652bbbe6a8c35c8cd8731439f1520c0988100ade22d842f11ad2d
|
||||
DIST aws-cli-1.25.10.gh.tar.gz 2223709 BLAKE2B 95f7cca86f86617ff2f3ce91b745ef365300b3ea550b1260a1dd44f09f823ad8c46c03947365a0c98c54f099c4a22d0128f11fb677c1b3c315a065a8cb4945aa SHA512 efebf65901216b1e1f1e2ed5d956744d804d0a62e7384163afad65ec0837567d6002de84611feb1b0a05bbd6ca6c04cac8318424720ae020941a1402b6b796a3
|
||||
DIST aws-cli-1.25.11.gh.tar.gz 2223769 BLAKE2B 684bcf050a96d4485f144aa50df5a25e0d52477782e3e28dc498bd9ff9a4c77de388cfb455678ef3d31771c0e1cae6466126fc28c2c8c473892c986b256ef4aa SHA512 30a62b197255707f444a31c4fccd3a320422351dc0015488eec8158a6c65bed811c25c563b5b3db2046c9deb12e19c543c65aed693369e4b6435902c981cddcb
|
||||
DIST aws-cli-1.25.12.gh.tar.gz 2224456 BLAKE2B d6425983b09fc3942727108e188e184f48399388704ada03df1d65ddb9adffc9597a217b863766a862e96b59c03fdb3202e694289b54ee9298fe7e547639ecc3 SHA512 a77e0d082a8dacecadbd2fa6cc1143fa5148e075894565fe9a552e9d1a27fd068c72ae57eb5c628129bb024267111b76722cf2c40dc9f719db8d96232302b918
|
||||
DIST aws-cli-1.25.2.gh.tar.gz 2220304 BLAKE2B 370137db21688db07a1367a1b82b906d5e7f16939fb9a10f8f8e60d986b68cd7cf3fcaca89baa097b351ce1552a9b35c143a5328972577cc08b2369a0ff35407 SHA512 4278be5b73865854a736ae447b729670310d557d019fe483376d8bb6317cc557f1567d8cbd77c4fc658d5593bdf8ddb2765696b144694c7df3d3447156ac14b0
|
||||
DIST aws-cli-1.25.3.gh.tar.gz 2221419 BLAKE2B ecc3e16985426b9b6cf6a6fc5cd3cf58d0641f57927ee533bfd5c63f1a02e7accf325f44f5f6e3289c7f0ce984be8f23428bf3d99dacc5a317b49fe2cfc2bb19 SHA512 a80088c8864d48c922734ab0d4f367d14b86470735dbb818640d0aaa2c957a30b1abcfbce441e33bccae388ce9df7869d0d7e82a519055c8aa192e2c74147f5e
|
||||
DIST aws-cli-1.25.4.gh.tar.gz 2222045 BLAKE2B 3d8496b997e80b9504c8810a256d6886a7dee239ed0eba74d42d23955d1596d5b7690a20ac31b8f57e004ff27889e8e204b335996d2f629e9ed11b3bfd033641 SHA512 e053529c9e5429e5782e6c3afe26c212599825c78691d8c58a4c5dcd373385c1111afb2f75e09b5c1831d30ce6c890db0e4888fa4d9d874a5fc68994a8c3c5fd
|
||||
DIST aws-cli-1.25.5.gh.tar.gz 2222976 BLAKE2B a726ed1ca6eb8172972c53c1418e342fa8b1f1920a3a023f63cef9a0c96e2a6e882246b8bc3caa3ff39fe0e55d66ce6993d395b7817dd1b666251f9c54d44b45 SHA512 e621237d198d15d6be662e22e7e07103969822d6324e8f63737db35c4e7b75c51d12409e1732b5a948ff2c468b7ab904f1f53903a578f04e750e426558979d68
|
||||
DIST aws-cli-1.25.6.gh.tar.gz 2223055 BLAKE2B e6e16b3b67110ed185bb94e2d56cef9445b32373e92136bde53f63bb94ff7b1e8749f33b022203ba113fde676aa086ab96b409dde7e4c48cbe5512cd9f3bd65e SHA512 c0f7b27583ce774a34467f6af0796ec4c7252d9babfda6e7a484252d2de417686194b1e7b4dffc6d8545b2126f1b55288703473153f3339656e9e7a350d143d0
|
||||
DIST aws-cli-1.25.7.gh.tar.gz 2223153 BLAKE2B fcadda94fd721135f94b1538c4b27e41108064f6fd32f324d5436138e3d1b0ffcab53fcc545b01c461365d55c4bfa2a05d90e94c875c929a3227efae76452415 SHA512 194adacab0df87d8e4f0cdc71bb956bef6dc8b2de2e7e4416c9c079ff2b7c2bce7584ac1049428d0bcb134368b39c37c04bc5e6a8fc7540c44c64f3934ccaf21
|
||||
DIST aws-cli-1.25.8.gh.tar.gz 2223378 BLAKE2B 0b7db8cf2e59f8e39929d3257e1008be082f0b5c0e5968c3a5ac8bacbfbe891fd65b1e9fe72e2058b6780b20839e9713636577c77f0efef47aeee187d30bdea7 SHA512 280018f5549c2f6240f8ebd06c82df47fd700b54075a57b21ec09403a0efc2ef039f9bacd3b3035405d29d3c4259a55ad2b8a5761e291abb3768eea6c1f8e3aa
|
||||
DIST aws-cli-1.25.9.gh.tar.gz 2223335 BLAKE2B 995c4474bde347593b61b6f8b11ed39a71e63789b2d061e08bbabcf1c1645c9ec46e73b2c58124642fa6bd194d68e81ac43eeb013b27d297d5dbbbcf34ee1cf9 SHA512 5afdabfb5a479e84c7bf302b3b93a3350100afd371270f9884848c57e7f3e48ddf8aa810db217160835d8594cbd6e2c929c86eead213bedb0246aa2145ba3806
|
||||
EBUILD awscli-1.24.10.ebuild 1811 BLAKE2B 5c7a4c3e43e396098987682075dbe1e49ef6d15d826b99276a0c12202200935251d9e2ef93c98db98a24a62672696c4a17ebb4bab667337b308ae2d8dd64f474 SHA512 5fee61d8edc58cac265d84d893cb557a032d22f6e132c63eb5061ce0c3afac0f14eb1fded3cef03533137e4fcc43f7668cccb93e0e450b151fafd54852c24d11
|
||||
EBUILD awscli-1.25.10.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.11.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.12.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.2.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.3.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.4.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.5.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.6.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.7.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.8.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.9.ebuild 1813 BLAKE2B 090772347728a30e7f77a51c1e8e7bb56e5cb87aa1a74dc95330effeae079f0631ae9be24bc1698d7f87f736125e9691e56b6a75519c6bf4cd9e2a0ee1bf6f02 SHA512 26133ab5c30348efd23e1d55f4db4f703512a05e8260eaf3e49171afd3a194649d400d7a49b67b6aaf1d6ebf1fd4d8e743ca650c9a7561e13b0d827aaa13e0db
|
||||
EBUILD awscli-1.25.7.ebuild 1811 BLAKE2B c35b439798c718974574befd5d1bd327aec0c8f3747e7de256d735738975d5e90ec0eb05fc97258bbffdfbc9c337f700cda71fed90383ac0bbad0661c8ecf8d3 SHA512 2821cefd21e2d9860ae0a87fa8ef4b5f50a24649b0a319af10e890155f11af13f75be1dd18729a800153e8d0a4610baf2c8d33b91c89b889843983e0599d39cc
|
||||
MISC metadata.xml 334 BLAKE2B 84c9f50e6c0d015aad36a7f625cddf90cf1137a8c2d445cc641cd4890d64261187c10fde59ee1a6c19b98cfdb6ff534c66ae7a7a48a00ec62d6984c9a1891750 SHA512 a845de531df2cd75abf23cdbfa613e586855b95ac4e96566ef193708d7ecf2ec7f7db72fd31b8af0ac4ccd57e51da9c6d129d426bfdc6c4feb57d7df8647f160
|
||||
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,71 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST r10k-3.15.0.gem 257536 BLAKE2B 50ddb734bef782d9b061f17338d05c8fd824d0cc1e6005c538c4ef91c584bfe9ecbfb5bc5dc033317344bad7b14825cea6a56e136efec5081778582b8c714b18 SHA512 97cbb0a3e6f23591370de339e3320d9cbff726968b3b73d2bb00ebca7637406a371d1464d3ac955b7aacc4f5cfa898b828095aebaebe24bffd7d90be462457a9
|
||||
DIST r10k-3.7.0.gem 217600 BLAKE2B 03af5829d027cf4e84c6a04a3977a4fe97c030c1668f6b77792553fbb23265684232215b4fad1b48282bf55fcc14afe65906ca745722bf14436d27a294b47cc6 SHA512 31d96b69db34e79439a25b83bae73011b81b0e2eb412f944fc68ef4d087f4715ba30e3821c2a12b79fadf01b95a6922bc7cb5c0ed1c3f6ae8e29785d180925ad
|
||||
EBUILD r10k-3.15.0.ebuild 1280 BLAKE2B b483ff6f05ed67b73a00fb3d07498ab5c2b80bc5fbb2e629cf6d34639a30193d11e73901dc46f0de0f670df80916dcdfe87f250ebba4d0875fa272cfc35c82e5 SHA512 109992515ff70be171656c91ff135c33afad7c14d696e66e67e3e0ea5afa1cebf4a2b7f8ac0032e325775bb0f95ac9379ee32b4fbbe00594b020a3d6b270175c
|
||||
EBUILD r10k-3.7.0-r2.ebuild 1089 BLAKE2B 901a5b11a1fbe624686de01eb2378425c62c298792fa79c66526c63be22f45171e1e3953a3059bbd69a386688202b913f554e036740b22a1bbf81fd2420abdf6 SHA512 c509c0c1fc108f4a702e4386917389c4d0f6b8e82d5911e8bbf1a927681f312f1caec1acaaffbc631b7e1fbafce337c2930d4ce26c9f37c2417f9c4962b89c7e
|
||||
MISC metadata.xml 583 BLAKE2B ba9d1aa2afa56933206aac7d21a4d68eba309714a20ceebdd93d3e2ec96a08af0b6ca67a0badc24065cf3422e0cf3ec8538fe4574e099715cfb0c923ad4b318c SHA512 609f9a84804a73f28fcebe1081296735b34cd54927b770fd10ef82113ffeceb2f04c3e8dd100d5c018659f11227d6807d138de318e65c8e5f6fe1dd800a2c207
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL=locales
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Puppet environment and module deployment"
|
||||
HOMEPAGE="https://github.com/puppetlabs/r10k"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+git"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/colored2-3.1.2
|
||||
>=dev-ruby/cri-2.15.10:0
|
||||
>=dev-ruby/gettext-setup-0.24:0
|
||||
|| ( dev-ruby/fast_gettext:2 >=dev-ruby/fast_gettext-1.1:0 )
|
||||
=dev-ruby/jwt-2.2* >=dev-ruby/jwt-2.2.3
|
||||
>=dev-ruby/ruby-gettext-3.0.2:0
|
||||
~dev-ruby/log4r-1.1.10
|
||||
>=dev-ruby/multi_json-1.10:0
|
||||
>=dev-ruby/puppet_forge-2.3
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/minitar-0.9
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND} git? ( >=dev-vcs/git-1.6.6 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '/s.files/d' \
|
||||
-e '/fast_gettext/ s/1.1.0/1.1/' \
|
||||
-e "/gettext/ s/'< 3.3.0'//" \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Avoid specs for unpackaged rugget git provider
|
||||
rm -rf spec/unit/git_spec.rb spec/unit/git/rugged || die
|
||||
|
||||
# Avoid spec making assumptions on availability of relative symlinks
|
||||
rm -f spec/integration/util/purageable_spec.rb || die
|
||||
}
|
@ -1,482 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit autotools linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp"
|
||||
IUSE+=" impcap jemalloc kafka kerberos kubernetes mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl"
|
||||
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl"
|
||||
IUSE+=" systemd test usertools +uuid xxhash zeromq"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-archive-2015.02.24
|
||||
virtual/pkgconfig
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
imhttp? ( www-servers/civetweb )
|
||||
impcap? ( net-libs/libpcap )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
normalize? (
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
clickhouse? ( >=net-misc/curl-7.35.0 )
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
>=dev-libs/openssl-0.9.8y:0=
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-4:=[drafts]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-libs/liblogging-1.0.1[stdlog]
|
||||
)"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
BDEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
BDEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
BDEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
BDEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/rsyslog/rsyslog/issues/3626
|
||||
sed -i \
|
||||
-e '\|^#!/bin/bash$|a exit 77' \
|
||||
tests/mmkubernetes-cache-expir*.sh \
|
||||
|| die "Failed to disabled known test failure mmkubernetes-cache-expir*.sh"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without dependencies
|
||||
--enable-imbatchreport
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-improg
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without dependencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmtaghostname
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmdb2diag
|
||||
--enable-pmlastmsg
|
||||
$(use_enable normalize pmnormalize)
|
||||
--enable-pmnull
|
||||
--enable-pmpanngfw
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis imhiredis)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable clickhouse)
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable imhttp)
|
||||
$(use_enable impcap)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/${PN}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/${PN}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! hash certtool &>/dev/null; then
|
||||
die "certtool not found! Is net-libs/gnutls[tools] is installed?"
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -0,0 +1,491 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit autotools linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp"
|
||||
IUSE+=" impcap jemalloc kafka kerberos kubernetes mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl"
|
||||
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl"
|
||||
IUSE+=" systemd test usertools +uuid xxhash zeromq"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-archive-2015.02.24
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
imhttp? (
|
||||
dev-libs/apr-util
|
||||
www-servers/civetweb
|
||||
virtual/libcrypt:=
|
||||
)
|
||||
impcap? ( net-libs/libpcap )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
normalize? (
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
clickhouse? ( >=net-misc/curl-7.35.0 )
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? (
|
||||
>=dev-libs/hiredis-0.11.0:=
|
||||
dev-libs/libevent[threads]
|
||||
)
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
>=dev-libs/openssl-0.9.8y:0=
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-4:=[drafts]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
BDEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
BDEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
BDEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
BDEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/rsyslog/rsyslog/issues/3626
|
||||
sed -i \
|
||||
-e '\|^#!/bin/bash$|a exit 77' \
|
||||
tests/mmkubernetes-cache-expir*.sh \
|
||||
|| die "Failed to disabled known test failure mmkubernetes-cache-expir*.sh"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without dependencies
|
||||
--enable-imbatchreport
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-improg
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without dependencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmtaghostname
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
--enable-fmunflatten
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmdb2diag
|
||||
--enable-pmlastmsg
|
||||
$(use_enable normalize pmnormalize)
|
||||
--enable-pmnull
|
||||
--enable-pmpanngfw
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis imhiredis)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable clickhouse)
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable imhttp)
|
||||
$(use_enable impcap)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/${PN}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/${PN}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! hash certtool &>/dev/null; then
|
||||
die "certtool not found! Is net-libs/gnutls[tools] is installed?"
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib-minimal toolchain-funcs usr-ldscript
|
||||
|
||||
DESCRIPTION="zstd fast compression library"
|
||||
HOMEPAGE="https://facebook.github.io/zstd/"
|
||||
SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-2 )"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="lz4 static-libs +threads"
|
||||
|
||||
RDEPEND="app-arch/xz-utils
|
||||
lz4? ( app-arch/lz4 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
mymake() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
AR="$(tc-getAR)" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
V=1 \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
local libzstd_targets=( libzstd{,.a}$(usex threads '-mt' '') )
|
||||
|
||||
mymake -C lib ${libzstd_targets[@]} libzstd.pc
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake HAVE_LZ4="$(usex lz4 1 0)" zstd
|
||||
|
||||
mymake -C contrib/pzstd
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
mymake -C lib DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
mymake -C programs DESTDIR="${D}" install
|
||||
gen_usr_ldscript -a zstd
|
||||
|
||||
mymake -C contrib/pzstd DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
DIST nerdctl-0.17.1-vendor.tar.gz 7762770 BLAKE2B 399a99047cb3a3ab31806529e2502f3446e3df717950f1db05d8a449e5c931719717a35e420791232b19338c9d81c8443f0cd2520c38509aedbbaddc8b6d2893 SHA512 ec2967abee1ff44dcd44dd21d079a9d1e9bb254d0a5b150f57a2668cdd26e7f6dd5de99bc1fff3a94b4fb1c4546785e78245ed4e4e5f026b81b909f8dbf318c6
|
||||
DIST nerdctl-0.18.0-vendor.tar.gz 7757873 BLAKE2B dfc77baee4649cf5a4ffa2ae196460d34eea531f930f04b894cc715b68a4295d1bcf98c89702032aaf6c5fc0b1a7f8b885f6c4b0bd61afd044b67fe4510c6967 SHA512 b542abafbd1dfe4213646b66b69d7bb286b8fda152870846cd350ad0362cbd16ca5f2d8fe23ae056f0c18f5674eb984f2993cf2937d7aff7b67668d65d9e1488
|
||||
DIST nerdctl-0.19.0-vendor.tar.gz 7798588 BLAKE2B 1bf17d09de13e5d2160cca500e8d9dc2eb666f5639e12353e1153bbf201f48d376c7b369a97bd851082c32276c6ba280d8f8e1add7b56206d3f07a0dfc725393 SHA512 9f84d829c2c40589f930345bb7073e6ca868e9e840f74c9176b049b63b2983dca55168eb54113b7b74e7651f1c902f84c9fca8d0f5d948ba7510db91f3a52e74
|
||||
DIST nerdctl-0.21.0-vendor.tar.gz 7984755 BLAKE2B e28b260667109604edb8b0f0c090fcb9769dd4a7411843f2d6180a3bb6f3165ca8feb3c4798c78f2eb2134bc9a205e263e8098e80a6fe0f0de5641b13158d7f8 SHA512 174f8dc8be631eef84d7c461bf4a797fc6d47b20385286cedbbb769c764a97a64937fb2a104c45f42459c4b2217b6fe2bb534f07153a6761f59798d2a08490e0
|
||||
EBUILD nerdctl-0.17.1.ebuild 989 BLAKE2B a6fcbb62d09d948200679bc0be906eaae18ac7875a9eec42bb262a1076a2c051d701ee82978445f534b14e160878dbf347fbe81902c52cc3536cd599729a281b SHA512 0e53088fc1b6764b230bd2657e99dd432dc025d721b1efac53e3b84383890c0344057a71746c7f955a41838728fee92758544f82932fa9b270d2a6e306542a3e
|
||||
EBUILD nerdctl-0.18.0.ebuild 989 BLAKE2B 6c7750f0daf4839bdc3f67400f9fc343d1b7d410ad97b05bc8055133709c3137415799d4b0ed4c4be5645914407b11a9a3b04c68ca6d8c0a51249d3b602980ee SHA512 1d9f94fc8a9b2d62d975f11641da5b4d5b5715f73f123104384abb0e588889200f1345f6491d5e03cf38c62143794fd8f142be56038406a4a71fb7426e517842
|
||||
EBUILD nerdctl-0.19.0.ebuild 989 BLAKE2B 6c7750f0daf4839bdc3f67400f9fc343d1b7d410ad97b05bc8055133709c3137415799d4b0ed4c4be5645914407b11a9a3b04c68ca6d8c0a51249d3b602980ee SHA512 1d9f94fc8a9b2d62d975f11641da5b4d5b5715f73f123104384abb0e588889200f1345f6491d5e03cf38c62143794fd8f142be56038406a4a71fb7426e517842
|
||||
EBUILD nerdctl-0.21.0.ebuild 989 BLAKE2B cb3a2ea31a333183062094d2c65e8d0868a77569191f7a5f6e9f5f62b5b7788cdc0a1754cd1dcd0beab0d90ab16af9226277bf70159e4cd9bf48bc5ec3def07e SHA512 74409f3826d0e82d9ac1ead966ad0fdeea9b1247234373a907578e9df86d5bdeda886b746e6cc82ae01ad0eda00daa9a128c3dea9dda3c7a795cd7a7fa3a72af
|
||||
MISC metadata.xml 328 BLAKE2B e1284388fe40d8aa709a783d583fc6116eafc276e6d3e65741a03dea3cfb007549c1dadfdc2eea8ee92e430c22b734ad76944efb9c00082b4dc84e003c684763 SHA512 27f4323cda23315264bc5ea386e19b3faea4fc4808835c7105b2827cb98ed62bbbc49fa9676bd8e897d66e1b2d1cc338eebfff4c7ed01b769c13f1b72e3d5252
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose"
|
||||
HOMEPAGE="https://github.com/containerd/nerdctl"
|
||||
|
||||
EGIT_COMMIT="9ddf5226eabcbb7b4b43987f3b0f8d53d86d3bca"
|
||||
# There are too many vendor dependencies to distribute via EGO_SUM (see https://bugs.gentoo.org/721088),
|
||||
# so they are instead distributed via a combined tarball.
|
||||
SRC_URI="https://github.com/zmedico/nerdctl/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
|
||||
BDEPEND=">=dev-lang/go-1.16"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:/usr/local/bin:/usr/bin:' \
|
||||
-e "s|^VERSION[[:space:]]*=.*|VERSION := v${PV}|" \
|
||||
-e "s|^REVISION[[:space:]]*=.*|REVISION := ${EGIT_COMMIT}|" \
|
||||
-i Makefile || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS=(README.md docs examples)
|
||||
default_src_install
|
||||
}
|
@ -0,0 +1,164 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGIT_COMMIT="f73d8f8875c2be7cd2049094c29aff90b1150241"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic go-module tmpfiles
|
||||
|
||||
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||
HOMEPAGE="https://github.com/containers/podman/"
|
||||
MY_PN=podman
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="apparmor btrfs cgroup-hybrid +fuse +init +rootless selinux"
|
||||
RESTRICT+=" test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/conmon-2.0.0
|
||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||
!cgroup-hybrid? ( app-containers/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
>=net-misc/cni-plugins-0.8.6
|
||||
sys-fs/lvm2
|
||||
sys-libs/libseccomp:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
init? ( app-containers/catatonit )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
selinux? ( sec-policy/selinux-podman )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
-e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local git_commit=${EGIT_COMMIT}
|
||||
|
||||
# Filter unsupported linker flags
|
||||
filter-flags '-Wl,*'
|
||||
|
||||
[[ -f hack/apparmor_tag.sh ]] || die
|
||||
if use apparmor; then
|
||||
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
if use btrfs; then
|
||||
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
if use selinux; then
|
||||
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||
fi
|
||||
|
||||
# Avoid this error when generating pkg/varlink/iopodman.go:
|
||||
# cannot find package "github.com/varlink/go/varlink/idl"
|
||||
mkdir -p _output || die
|
||||
ln -snf ../vendor _output/src || die
|
||||
GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die
|
||||
rm _output/src || die
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${git_commit}" \
|
||||
GIT_COMMIT="${git_commit}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
insinto /etc/containers
|
||||
newins test/registries.conf registries.conf.example
|
||||
newins test/policy.json policy.json.example
|
||||
|
||||
insinto /usr/share/containers
|
||||
doins vendor/github.com/containers/common/pkg/seccomp/seccomp.json
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins completions/zsh/*
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins completions/fish/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf
|
||||
|
||||
local want_newline=false
|
||||
if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then
|
||||
elog "You need to create the following config files:"
|
||||
elog "/etc/containers/registries.conf"
|
||||
elog "/etc/containers/policy.json"
|
||||
elog "To copy over default examples, use:"
|
||||
elog "cp /etc/containers/registries.conf{.example,}"
|
||||
elog "cp /etc/containers/policy.json{.example,}"
|
||||
want_newline=true
|
||||
fi
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX README.gentoo 1941 BLAKE2B dd25269f2aaaea693701d74511d632bc45f2c99954ae683cb81d4df41c4c1f8007bb6c337234e46bfc5973aa7e8356cd12ac510e9109eca09890cbc42bd184bb SHA512 5b522e6c29bdad84a71245fa1f0289e9cfed0501d936b433829f66ef9d655f3cc13d6bca29beeae2c00e1b68f9fa30058608b9c4cde86ba66eab67bd011c9d00
|
||||
DIST snapd-2.56.2.tar.xz 6740504 BLAKE2B e8bf0ab85038b5127fd81f434ef369ac53ec7915a454f8fd24046b6e3a5303bf3924fce04fb2400b0ccdc1a8939809ca20e091ac99a04fe6899dfacdfd3cf299 SHA512 16a57ea828ea875ebe5073cca0975ef74562f095823e980be7096ea6b9e83f6a3f434373065781d6342e805c18ee5adadaab29074440759ed3891691441472b0
|
||||
DIST snapd-2.56.tar.xz 6737568 BLAKE2B 662fa682895501df71396095e22fb4587a97cfe4e156b998118ff524ef3a22bf4e60420111167c263c2815ff34a05b026180e41e926324756450e22a1571fc92 SHA512 d2e9949b449ff65122f1202b2048ed63e3ff404aebd71d9877030c7b23130b6be2f1ef62f47b8b0044344fb4826b2b0c81dbcf5cd464ca16f5b3b170735b6039
|
||||
EBUILD snapd-2.56.2.ebuild 5139 BLAKE2B 20516cbcae2220067ff8a8c344d92896d3fced3b857938c4742673663ecddf9aac2131da305bcaee57e954073da7d17dc7df286147882409d9f5299134dc6cf7 SHA512 8f188d7671940c9dd2af180e6bdd08430111641255a7a4c44cd2221dcd5878d3a8c7846372be091a9ef65282e486ea94e8a17447bb764aec93b563efcf8020fe
|
||||
EBUILD snapd-2.56.ebuild 5139 BLAKE2B 20516cbcae2220067ff8a8c344d92896d3fced3b857938c4742673663ecddf9aac2131da305bcaee57e954073da7d17dc7df286147882409d9f5299134dc6cf7 SHA512 8f188d7671940c9dd2af180e6bdd08430111641255a7a4c44cd2221dcd5878d3a8c7846372be091a9ef65282e486ea94e8a17447bb764aec93b563efcf8020fe
|
||||
MISC metadata.xml 520 BLAKE2B cdca3f5b58c81ddf5796b174756e1497382390ea4f7411b2aa7a3c794fcafd7fbd919cae00c7cf5ff2251f4c837f5188026d0f5f61986834aee661724afb050d SHA512 2c26112a8808cd73c5575b525eb33129ab5fab8a5fdefba5de3760e568659264a864bf80c2397cf70bb2f9b0e6709e953185af9048cddde9082b040e4a0ee00f
|
||||
|
@ -0,0 +1,178 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools bash-completion-r1 flag-o-matic go-module linux-info readme.gentoo-r1 systemd xdg-utils
|
||||
|
||||
DESCRIPTION="Service and tools for management of snap packages"
|
||||
HOMEPAGE="http://snapcraft.io/"
|
||||
|
||||
SRC_URI="https://github.com/snapcore/${PN}/releases/download/${PV}/${PN}_${PV}.vendor.tar.xz -> ${P}.tar.xz"
|
||||
MY_PV=${PV}
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="GPL-3 Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT"
|
||||
SLOT="0"
|
||||
IUSE="apparmor +forced-devmode gtk kde systemd"
|
||||
REQUIRED_USE="!forced-devmode? ( apparmor ) systemd"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~NAMESPACES
|
||||
~SQUASHFS
|
||||
~SQUASHFS_ZLIB
|
||||
~SQUASHFS_LZO
|
||||
~SQUASHFS_XZ
|
||||
~BLK_DEV_LOOP
|
||||
~SECCOMP
|
||||
~SECCOMP_FILTER"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/libseccomp:=
|
||||
apparmor? (
|
||||
sec-policy/apparmor-profiles
|
||||
sys-apps/apparmor:=
|
||||
)
|
||||
dev-libs/glib
|
||||
virtual/libudev
|
||||
systemd? ( sys-apps/systemd )
|
||||
sys-libs/libcap:=
|
||||
sys-fs/squashfs-tools[lzma]"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.9
|
||||
dev-python/docutils
|
||||
sys-devel/gettext
|
||||
sys-fs/xfsprogs"
|
||||
|
||||
PDEPEND="sys-auth/polkit[gtk?,kde?]"
|
||||
|
||||
README_GENTOO_SUFFIX=""
|
||||
|
||||
pkg_setup() {
|
||||
if use apparmor; then
|
||||
CONFIG_CHECK+=" ~SECURITY_APPARMOR"
|
||||
fi
|
||||
linux-info_pkg_setup
|
||||
|
||||
# Seems to have issues building with -O3, switch to -O2
|
||||
replace-flags -O3 -O2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Update apparmor profile to allow libtinfow.so*
|
||||
sed -i 's/libtinfo/libtinfo{,w}/' \
|
||||
"cmd/snap-confine/snap-confine.apparmor.in" || die
|
||||
|
||||
if ! use forced-devmode; then
|
||||
sed -e 's#return !apparmorFull#if !apparmorFull {\n\t\tpanic("USE=forced-devmode is disabled")\n\t}\n\treturn false#' \
|
||||
-i "sandbox/forcedevmode.go" || die
|
||||
grep -q 'panic("USE=forced-devmode is disabled")' "sandbox/forcedevmode.go" || die "failed to disable forced-devmode"
|
||||
fi
|
||||
|
||||
sed -i 's:command -v git >/dev/null:false:' -i "mkversion.sh" || die
|
||||
|
||||
./mkversion.sh "${PV}"
|
||||
pushd "cmd" >/dev/null || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
SNAPD_MAKEARGS=(
|
||||
"BINDIR=${EPREFIX}/usr/bin"
|
||||
"DBUSSERVICESDIR=${EPREFIX}/usr/share/dbus-1/services"
|
||||
"LIBEXECDIR=${EPREFIX}/usr/lib"
|
||||
"SNAP_MOUNT_DIR=${EPREFIX}/var/lib/snapd/snap"
|
||||
"SYSTEMDSYSTEMUNITDIR=$(systemd_get_systemunitdir)"
|
||||
)
|
||||
export CGO_ENABLED="1"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
pushd "${S}/cmd" >/dev/null || die
|
||||
econf --libdir="${EPREFIX}/usr/lib" \
|
||||
--libexecdir="${EPREFIX}/usr/lib/snapd" \
|
||||
$(use_enable apparmor) \
|
||||
--enable-nvidia-biarch \
|
||||
--with-snap-mount-dir="${EPREFIX}/var/lib/snapd/snap"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export -n GOCACHE XDG_CACHE_HOME
|
||||
export GOBIN="${S}/bin"
|
||||
|
||||
local file
|
||||
for file in "${S}/po/"*.po; do
|
||||
msgfmt "${file}" -o "${file%.po}.mo" || die
|
||||
done
|
||||
|
||||
emake -C "${S}/data" "${SNAPD_MAKEARGS[@]}"
|
||||
|
||||
local -a flags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS}'" -trimpath)
|
||||
local -a staticflags=(-buildmode=pie -ldflags "-s -linkmode external -extldflags '${LDFLAGS} -static'" -trimpath)
|
||||
|
||||
local cmd
|
||||
for cmd in snap snapd snap-bootstrap snap-failure snap-preseed snap-recovery-chooser snap-repair snap-seccomp; do
|
||||
go build ${GOFLAGS} -mod=vendor -o "${GOBIN}/${cmd}" "${flags[@]}" \
|
||||
-v -x "github.com/snapcore/${PN}/cmd/${cmd}"
|
||||
[[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}"
|
||||
done
|
||||
for cmd in snapctl snap-exec snap-update-ns; do
|
||||
go build ${GOFLAGS} -mod=vendor -o "${GOBIN}/${cmd}" "${staticflags[@]}" \
|
||||
-v -x "github.com/snapcore/${PN}/cmd/${cmd}"
|
||||
[[ -e "${GOBIN}/${cmd}" ]] || die "failed to build ${cmd}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C "${S}/data" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}"
|
||||
emake -C "${S}/cmd" install "${SNAPD_MAKEARGS[@]}" DESTDIR="${D}"
|
||||
|
||||
if use apparmor; then
|
||||
mv "${ED}/etc/apparmor.d/usr.lib.snapd.snap-confine"{,.real} || die
|
||||
keepdir /var/lib/snapd/apparmor/profiles
|
||||
fi
|
||||
keepdir /var/lib/snapd/{apparmor/snap-confine,cache,cookie,snap,void}
|
||||
fperms 700 /var/lib/snapd/{cache,cookie}
|
||||
|
||||
dobin "${GOBIN}/"{snap,snapctl}
|
||||
ln "${ED}/usr/bin/snapctl" "${ED}/usr/lib/snapd/snapctl" || die
|
||||
|
||||
exeinto /usr/lib/snapd
|
||||
doexe "${GOBIN}/"{snapd,snap-bootstrap,snap-failure,snap-exec,snap-preseed,snap-recovery-chooser,snap-repair,snap-seccomp,snap-update-ns} \
|
||||
"${S}/"{cmd/snap-discard-ns/snap-discard-ns,cmd/snap-gdb-shim/snap-gdb-shim,cmd/snap-mgmt/snap-mgmt} \
|
||||
"${S}/data/completion/bash/"{complete.sh,etelpmoc.sh,}
|
||||
|
||||
dobashcomp "${S}/data/completion/bash/snap"
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins "${S}/data/completion/zsh/_snap"
|
||||
|
||||
insinto "/usr/share/polkit-1/actions"
|
||||
doins "${S}/data/polkit/io.snapcraft.snapd.policy"
|
||||
|
||||
dodoc "${S}/packaging/ubuntu-16.04/changelog"
|
||||
domo "${S}/po/"*.mo
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
xdg_desktop_database_update
|
||||
|
||||
if use apparmor && [[ -z ${ROOT} && -e /sys/kernel/security/apparmor/profiles &&
|
||||
$(wc -l < /sys/kernel/security/apparmor/profiles) -gt 0 ]]; then
|
||||
apparmor_parser -r "${EPREFIX}/etc/apparmor.d/usr.lib.snapd.snap-confine.real"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX rhash-1.4.2-clang.patch 2775 BLAKE2B 0160a245931d58eb4809e95b5ab8a515fadf1459714378f254c597d56f3c4336ee59b17152c3fc23ae4ca39a4cc076eb78783e609b847b0c276c8f8c37fdd940 SHA512 3b28f8234d42f7dc46a8b890e5ba6f49e61f3db26019e81bfe8d4318b28d71ca781c49f0ee09c387a1cbef626ad016fc3177037f2d504be7572d56ed836ff954
|
||||
DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25
|
||||
DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea888885175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7
|
||||
EBUILD rhash-1.4.2.ebuild 2067 BLAKE2B 4e11b3ed29cc0741ae3c1fab950343df0f605e4d7c204262a687acc476f9694366ab659b59b4ecb9ed25bbbf8c1e61dd732df3510db0519aad9e665291b96cea SHA512 cb08d598b66308dfa20adcdb66d4b8f090f496efe77caf8de3e8692ea06a396e46810e9ac68157fcb54861a1948fd17ccd37d45bca5cfff2a77b823baf4075f6
|
||||
EBUILD rhash-1.4.3.ebuild 1919 BLAKE2B 106b22c08dd9f12eb55ff0e60b83a446970a99e18f7f4525325074c53b9544d16830eebb4a1556dbc3ca999a985be985cfdfe156527686bc920a41a24ace9239 SHA512 91738fc523d69c51486bc9b3d24304316250850b31a9282f2ab0c02781f7b9f5985af95368555aa2a15cc1a04b3ed0a75d65eee17089f7de244ed7a0165bf601
|
||||
MISC metadata.xml 817 BLAKE2B eeb15cde9e06507f73330759d44dca59dea3bbcb972cb25af71d91f065eb64dbd1ddc61e43f8fad50c264c269542f92efdace36d3397647c3c53972e695da22f SHA512 3e2f688b57c74e051fcfb90d34685346c459c5e9f425266fd3d8e099f586037b14c2bfdac76f135a046c77cc850bb49954c0e7d8dc9ded1db47bf0919ab3ea93
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="Console utility and library for computing and verifying file hash sums"
|
||||
HOMEPAGE="http://rhash.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug nls ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/RHash-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then
|
||||
# we lack posix_memalign
|
||||
sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \
|
||||
librhash/util.h || die
|
||||
fi
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
set -- \
|
||||
./configure \
|
||||
--target="${CHOST}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--disable-openssl-runtime \
|
||||
--disable-static \
|
||||
--enable-lib-shared \
|
||||
$(use_enable debug) \
|
||||
$(use_enable nls gettext) \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable static-libs lib-static)
|
||||
|
||||
echo "${@}"
|
||||
"${@}" || die "configure failed"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake all \
|
||||
$(multilib_is_native_abi && use nls && echo compile-gmo)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# -j1 needed due to race condition.
|
||||
emake DESTDIR="${D}" -j1 \
|
||||
install{,-lib-headers,-pkg-config} \
|
||||
$(multilib_is_native_abi && use nls && echo install-gmo) \
|
||||
$(use kernel_Winnt || echo install-lib-so-link)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake test
|
||||
}
|
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
AUX 50corfu-gentoo.el 80 BLAKE2B 030035947690cded0580337466f06e7561c996ef27d6dce32cacf28249e71f3a99083e1dcd68e8fb1e2d0bcff75a70881ca88c7f41128123876e6f34230235fa SHA512 cde0d90e0b8bafffafd8d79c6fb4bc7957d1c7e5a6eb86b2c2cdeb73910bfddb6b8b2985bd46af406e5d3f3d1e1205b37ac2bf8cb26aa3d052b06054ae7ba00e
|
||||
DIST corfu-0.25.tar.gz 38366 BLAKE2B 297c8c556d32ee9f0a42265bbcd9b7cdd19881b8d85a9c92b6be84cb52e5558996cb16da596d13349fd1c9c72c7b6247e003ab48fcc41fd4acbe2d151b8e2e90 SHA512 602a9072cfa6a75672e1879e8da95b59355cc720482c8946311446c5722d13d0db6171eab8d899b689a689fe306d11f9b063e6bdc07dc710d9ee8f6f15b5aeee
|
||||
EBUILD corfu-0.25.ebuild 521 BLAKE2B a4caf9986c9ee8edf59147fd748765f18c3dce07b6b573c6c8f9b79147449216aeba2ea33578789a10cdb491bd3714cdcd5ed6e0bfa82a2e956952ee821d113b SHA512 4efb8703c33148f8b9c508f5787594c6519e8dbed90cc4e3389d12d7ce3ad4fdae4687f19eead535183a791605fb2b55ef4202a82ac7e73cea34daa94a902d5f
|
||||
MISC metadata.xml 357 BLAKE2B 4a324f2913cf600a98085a72ffc69263205068f54b191101ed2825d3e3c84f951e58af8ebcab481bd50908685dc3603cdba3156772f153bf5a565ab43831b201 SHA512 038f5605bc71c57700f5d34539c8474c667f4434261cdb7dacb28c1dd80a64e656c395dfc2c84329d36e6cee28aaa9986d3cceb25f46d887bf8fdc1cbb348b8c
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
NEED_EMACS=27
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Completion Overlay Region FUnction"
|
||||
HOMEPAGE="https://github.com/minad/corfu"
|
||||
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv extensions/*.el . || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "@SITELISP@/corfu-autoloads" nil t)
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp readme.gentoo-r1
|
||||
|
||||
MY_P="${PN}-release_${PV}"
|
||||
DESCRIPTION="An Emacs mode for notes and project planning"
|
||||
HOMEPAGE="https://www.orgmode.org/"
|
||||
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc odt-schema"
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="doc? ( virtual/texi2dvi )"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
ORGVERSION=${PV} \
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}"
|
||||
use doc && emake pdf card
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
ORGVERSION=${PV} \
|
||||
DESTDIR="${D}" \
|
||||
ETCDIRS="styles csl $(use odt-schema && echo schema)" \
|
||||
lispdir="${EPREFIX}${SITELISP}/${PN}" \
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}" \
|
||||
infodir="${EPREFIX}/usr/share/info" \
|
||||
install
|
||||
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
dodoc README CONTRIBUTE etc/ORG-NEWS
|
||||
use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
|
||||
|
||||
local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
|
||||
so you may have to install one or more additional packages.
|
||||
A non-exhaustive list of these dependencies may be found at
|
||||
<http://orgmode.org/worg/org-dependencies.html>."
|
||||
readme.gentoo_create_doc
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX 50setup-gentoo.el 80 BLAKE2B 4885f94dbe81e40813b5df07e06145f637c4ca784dd587ba67e0d3cb3d50e19dd05220fe2767a73dd839df3c7d391a6ed574d225ec845472a0b0b0116d1b0bd1 SHA512 21ac6b35bbc3dd4a0b82c91747b03c789853a9e398f8b8d5833e9310d151d4afa1833b54ad7b9b0768ec77e7381501bc00ed9544e1d026124f4e82e4d3df5346
|
||||
DIST setup-1.2.0.tar.gz 19709 BLAKE2B 704340f9ab8a3e10fdeafed88365fb3151fe8c9600960defcce0021850a1846ffc5e7a3c02a4567371c18b4bdf5b81c80544fe82c22a150ca4d4505818ba8148 SHA512 705e188876316eb76938229395676a9068e735074d63865dd9a2a21d83face2768f958f76cf9c88b6cb3d4668e271ee043d7aa81a40d3b384fb1bc75bb1f0af5
|
||||
DIST setup-1.3.0.tar.gz 20112 BLAKE2B 7e8b29c6a2be68572ede8845bc1cdfc8e00acdaf1db972124ab18f2ec6ab216a481dc4c40ff256e7bdefd2558cafb686af8a51728e0b1c093ca369fa4a093c09 SHA512 cd088dba4f258a3440ec78e5742b6a2f5d1dba46e3382ea3b40967b640c80fd292b7edc1421f07561c270c4404d95c0fd55bd166265c79c131e0037f2181cb66
|
||||
EBUILD setup-1.2.0.ebuild 610 BLAKE2B ce3b07655764c4bb26cedf48233b306e52c2922ae07a41e3ffaf5b30ed951be6088ef8eeb6cafe528da431208dd381f3318277919c15b98533d73b6b67cb90f0 SHA512 709c163d3d3e4af2a92c7aff0a749852042e0db2316d8fee2f337f4b2be7cf1b109f1fa4b9e89ce224799e3352692a8d770b9b63d231e1c966cb5ca812040dfd
|
||||
EBUILD setup-1.3.0.ebuild 610 BLAKE2B 371a96b22537ab8333ad68a67b601aff25536983de29c0d10cfbd9d8e3c7aceb5a23fb5532ee120a013a29570ac61b2209d017211763183383d1029b2e0155ee SHA512 9796019267164c79532958d138ec74d6f83e31f24c99d1ce72a1534c5ac3f7eb192b8cb55de91d6cb2e22d69976e4b7e7d172dd20adefa2f23eabf2e670e9539
|
||||
MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
NEED_EMACS=26
|
||||
|
||||
# The upstream does not create git tags for releases.
|
||||
MY_HASH=eece09d1151fd641f31d738b8c62742918993e95
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Macro to simplify repetitive configuration patterns"
|
||||
HOMEPAGE="https://git.sr.ht/~pkal/setup"
|
||||
SRC_URI="https://git.sr.ht/~pkal/${PN}/archive/${MY_HASH}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${MY_HASH}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
Binary file not shown.
@ -1,507 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
adler32-1.2.0
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
alsa-0.6.0
|
||||
alsa-sys-0.3.1
|
||||
ansi_term-0.12.1
|
||||
approx-0.5.1
|
||||
arrayvec-0.5.2
|
||||
arrayvec-0.7.2
|
||||
ash-0.34.0+1.2.203
|
||||
async-channel-1.6.1
|
||||
atk-sys-0.15.1
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
base64-0.13.0
|
||||
bindgen-0.56.0
|
||||
bit-set-0.5.2
|
||||
bit-vec-0.6.3
|
||||
bit_field-0.10.1
|
||||
bitflags-1.3.2
|
||||
bitflags_serde_shim-0.2.2
|
||||
bitstream-io-1.3.0
|
||||
bitvec-0.19.6
|
||||
block-0.1.6
|
||||
block-buffer-0.10.2
|
||||
bstr-0.2.17
|
||||
build_const-0.2.2
|
||||
bumpalo-3.9.1
|
||||
bytemuck-1.9.1
|
||||
bytemuck_derive-1.1.0
|
||||
byteorder-1.4.3
|
||||
bytes-1.1.0
|
||||
cache-padded-1.2.0
|
||||
cairo-sys-rs-0.15.1
|
||||
calloop-0.9.3
|
||||
castaway-0.1.2
|
||||
cc-1.0.73
|
||||
cesu8-1.1.0
|
||||
cexpr-0.4.0
|
||||
cfg-expr-0.10.2
|
||||
cfg-if-0.1.10
|
||||
cfg-if-1.0.0
|
||||
cfg_aliases-0.1.1
|
||||
chrono-0.4.19
|
||||
clang-sys-1.3.1
|
||||
clap-3.1.18
|
||||
clap_derive-3.1.18
|
||||
clap_lex-0.2.0
|
||||
clipboard-0.5.0
|
||||
clipboard-win-2.2.0
|
||||
cocoa-0.24.0
|
||||
cocoa-foundation-0.1.0
|
||||
codespan-reporting-0.11.1
|
||||
color_quant-1.1.0
|
||||
combine-4.6.3
|
||||
concurrent-queue-1.2.2
|
||||
console-0.15.0
|
||||
console_error_panic_hook-0.1.7
|
||||
console_log-0.2.0
|
||||
cookie-factory-0.3.2
|
||||
copyless-0.1.5
|
||||
core-foundation-0.7.0
|
||||
core-foundation-0.9.3
|
||||
core-foundation-sys-0.7.0
|
||||
core-foundation-sys-0.8.3
|
||||
core-graphics-0.19.2
|
||||
core-graphics-0.22.3
|
||||
core-graphics-types-0.1.1
|
||||
core-video-sys-0.1.4
|
||||
coreaudio-rs-0.10.0
|
||||
coreaudio-sys-0.2.9
|
||||
cpal-0.13.5
|
||||
cpufeatures-0.2.1
|
||||
crc-1.8.1
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.4
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.8
|
||||
crossbeam-utils-0.8.8
|
||||
crypto-common-0.1.3
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
ctor-0.1.21
|
||||
cty-0.2.2
|
||||
curl-0.4.43
|
||||
curl-sys-0.4.55+curl-7.83.1
|
||||
d3d12-0.4.1
|
||||
darling-0.13.1
|
||||
darling_core-0.13.1
|
||||
darling_macro-0.13.1
|
||||
deflate-1.0.0
|
||||
derive-try-from-primitive-1.0.0
|
||||
diff-0.1.12
|
||||
digest-0.10.3
|
||||
dirs-4.0.0
|
||||
dirs-sys-0.3.6
|
||||
dispatch-0.2.0
|
||||
dlib-0.5.0
|
||||
downcast-rs-1.2.0
|
||||
either-1.6.1
|
||||
embed-resource-1.7.2
|
||||
encode_unicode-0.3.6
|
||||
encoding_rs-0.8.31
|
||||
enum-map-2.3.0
|
||||
enum-map-derive-0.9.0
|
||||
enumset-1.0.8
|
||||
enumset_derive-0.5.5
|
||||
env_logger-0.9.0
|
||||
euclid-0.22.6
|
||||
event-listener-2.5.2
|
||||
exr-1.4.2
|
||||
fastrand-1.7.0
|
||||
flate2-1.0.24
|
||||
float_next_after-0.1.5
|
||||
flume-0.10.12
|
||||
fnv-1.0.7
|
||||
foreign-types-0.3.2
|
||||
foreign-types-shared-0.1.1
|
||||
form_urlencoded-1.0.1
|
||||
funty-1.1.0
|
||||
futures-0.3.21
|
||||
futures-channel-0.3.21
|
||||
futures-core-0.3.21
|
||||
futures-executor-0.3.21
|
||||
futures-io-0.3.21
|
||||
futures-lite-1.12.0
|
||||
futures-macro-0.3.21
|
||||
futures-sink-0.3.21
|
||||
futures-task-0.3.21
|
||||
futures-util-0.3.21
|
||||
fxhash-0.2.1
|
||||
gdk-pixbuf-sys-0.15.1
|
||||
gdk-sys-0.15.1
|
||||
generational-arena-0.2.8
|
||||
generic-array-0.14.5
|
||||
getrandom-0.2.6
|
||||
gif-0.11.3
|
||||
gio-sys-0.15.7
|
||||
glib-sys-0.15.7
|
||||
glob-0.3.0
|
||||
glow-0.11.2
|
||||
gobject-sys-0.15.9
|
||||
gpu-alloc-0.5.3
|
||||
gpu-alloc-types-0.2.0
|
||||
gpu-descriptor-0.2.2
|
||||
gpu-descriptor-types-0.1.1
|
||||
gtk-sys-0.15.3
|
||||
half-1.8.2
|
||||
hashbrown-0.11.2
|
||||
hashbrown-0.9.1
|
||||
heck-0.4.0
|
||||
hermit-abi-0.1.19
|
||||
hexf-parse-0.2.1
|
||||
http-0.2.6
|
||||
humantime-2.1.0
|
||||
ident_case-1.0.1
|
||||
idna-0.2.3
|
||||
image-0.24.2
|
||||
indexmap-1.6.2
|
||||
indicatif-0.16.2
|
||||
inflate-0.4.5
|
||||
inplace_it-0.3.3
|
||||
instant-0.1.12
|
||||
isahc-1.7.2
|
||||
itoa-0.4.8
|
||||
itoa-1.0.1
|
||||
jni-0.19.0
|
||||
jni-sys-0.3.0
|
||||
jobserver-0.1.24
|
||||
jpeg-decoder-0.1.22
|
||||
jpeg-decoder-0.2.6
|
||||
js-sys-0.3.57
|
||||
khronos-egl-4.1.0
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lebe-0.5.1
|
||||
lexical-core-0.7.6
|
||||
libc-0.2.120
|
||||
libflate-1.2.0
|
||||
libflate_lz77-1.1.0
|
||||
libloading-0.7.3
|
||||
libnghttp2-sys-0.1.7+1.45.0
|
||||
libz-sys-1.1.5
|
||||
lock_api-0.4.6
|
||||
log-0.4.17
|
||||
lyon-0.17.10
|
||||
lyon_algorithms-0.17.7
|
||||
lyon_geom-0.17.6
|
||||
lyon_path-0.17.7
|
||||
lyon_tessellation-0.17.10
|
||||
lzma-rs-0.2.0
|
||||
mach-0.3.2
|
||||
malloc_buf-0.0.6
|
||||
matches-0.1.9
|
||||
memchr-2.4.1
|
||||
memmap2-0.3.1
|
||||
memoffset-0.6.5
|
||||
metal-0.23.1
|
||||
mime-0.3.16
|
||||
minimal-lexical-0.2.1
|
||||
minimp3-0.5.1
|
||||
minimp3-sys-0.3.2
|
||||
miniz_oxide-0.5.1
|
||||
mio-0.8.1
|
||||
miow-0.3.7
|
||||
naga-0.8.5
|
||||
nanorand-0.7.0
|
||||
ndk-0.5.0
|
||||
ndk-0.6.0
|
||||
ndk-context-0.1.0
|
||||
ndk-glue-0.5.1
|
||||
ndk-glue-0.6.1
|
||||
ndk-macro-0.3.0
|
||||
ndk-sys-0.2.2
|
||||
ndk-sys-0.3.0
|
||||
nix-0.22.3
|
||||
nix-0.23.1
|
||||
nom-5.1.2
|
||||
nom-6.1.2
|
||||
nom-7.1.1
|
||||
ntapi-0.3.7
|
||||
num-complex-0.4.0
|
||||
num-derive-0.3.3
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.4.0
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.13.1
|
||||
num_enum-0.5.7
|
||||
num_enum_derive-0.5.7
|
||||
number_prefix-0.4.0
|
||||
objc-0.2.7
|
||||
objc-foundation-0.1.1
|
||||
objc_exception-0.1.2
|
||||
objc_id-0.1.1
|
||||
oboe-0.4.5
|
||||
oboe-sys-0.4.5
|
||||
once_cell-1.10.0
|
||||
openssl-probe-0.1.5
|
||||
openssl-sys-0.9.72
|
||||
os_str_bytes-6.0.0
|
||||
output_vt100-0.1.3
|
||||
pango-sys-0.15.1
|
||||
parking-2.0.0
|
||||
parking_lot-0.11.2
|
||||
parking_lot_core-0.8.5
|
||||
path-slash-0.1.4
|
||||
peeking_take_while-0.1.2
|
||||
percent-encoding-2.1.0
|
||||
pin-project-1.0.10
|
||||
pin-project-internal-1.0.10
|
||||
pin-project-lite-0.2.8
|
||||
pin-utils-0.1.0
|
||||
pkg-config-0.3.24
|
||||
png-0.17.5
|
||||
polling-2.2.0
|
||||
ppv-lite86-0.2.16
|
||||
pretty_assertions-1.2.1
|
||||
primal-check-0.3.1
|
||||
proc-macro-crate-1.1.3
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro2-1.0.39
|
||||
profiling-1.0.5
|
||||
quote-1.0.18
|
||||
radium-0.5.3
|
||||
rand-0.8.5
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.3
|
||||
range-alloc-0.1.2
|
||||
raw-window-handle-0.4.2
|
||||
rayon-1.5.3
|
||||
rayon-core-1.9.2
|
||||
redox_syscall-0.2.11
|
||||
redox_users-0.4.0
|
||||
regex-1.5.5
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
regress-0.4.1
|
||||
renderdoc-sys-0.7.1
|
||||
rfd-0.8.2
|
||||
rle-decode-fast-1.0.3
|
||||
ron-0.7.0
|
||||
rustc-hash-1.1.0
|
||||
rustc_version-0.4.0
|
||||
rustdct-0.7.0
|
||||
rustfft-6.0.1
|
||||
ryu-1.0.9
|
||||
safe_arch-0.6.0
|
||||
same-file-1.0.6
|
||||
schannel-0.1.19
|
||||
scoped-tls-1.0.0
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
semver-1.0.6
|
||||
serde-1.0.137
|
||||
serde_derive-1.0.137
|
||||
serde_json-1.0.81
|
||||
sha2-0.10.2
|
||||
shlex-0.1.1
|
||||
sid-0.6.1
|
||||
slab-0.4.5
|
||||
slice-deque-0.3.0
|
||||
slotmap-1.0.6
|
||||
sluice-0.5.5
|
||||
smallvec-1.8.0
|
||||
smithay-client-toolkit-0.15.3
|
||||
socket2-0.4.4
|
||||
spin-0.9.2
|
||||
spirv-0.2.0+1.5.4
|
||||
static_assertions-1.1.0
|
||||
stdweb-0.1.3
|
||||
strength_reduce-0.2.3
|
||||
strsim-0.10.0
|
||||
symphonia-0.5.0
|
||||
symphonia-bundle-mp3-0.5.0
|
||||
symphonia-core-0.5.0
|
||||
symphonia-metadata-0.5.0
|
||||
syn-1.0.95
|
||||
synstructure-0.12.6
|
||||
system-deps-6.0.2
|
||||
tap-1.0.1
|
||||
termcolor-1.1.3
|
||||
terminal_size-0.1.17
|
||||
textwrap-0.15.0
|
||||
thiserror-1.0.31
|
||||
thiserror-impl-1.0.31
|
||||
threadpool-1.8.1
|
||||
tiff-0.7.1
|
||||
time-0.1.43
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
toml-0.5.8
|
||||
tracing-0.1.32
|
||||
tracing-attributes-0.1.20
|
||||
tracing-core-0.1.23
|
||||
tracing-futures-0.2.5
|
||||
transpose-0.2.1
|
||||
typenum-1.15.0
|
||||
unicode-bidi-0.3.7
|
||||
unicode-ident-1.0.0
|
||||
unicode-normalization-0.1.19
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
vcpkg-0.2.15
|
||||
version-compare-0.1.0
|
||||
version_check-0.9.4
|
||||
vswhom-0.1.0
|
||||
vswhom-sys-0.1.1
|
||||
waker-fn-1.1.0
|
||||
walkdir-2.3.2
|
||||
wasi-0.10.2+wasi-snapshot-preview1
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.80
|
||||
wasm-bindgen-backend-0.2.80
|
||||
wasm-bindgen-futures-0.4.30
|
||||
wasm-bindgen-macro-0.2.80
|
||||
wasm-bindgen-macro-support-0.2.80
|
||||
wasm-bindgen-shared-0.2.80
|
||||
wayland-client-0.29.4
|
||||
wayland-commons-0.29.4
|
||||
wayland-cursor-0.29.4
|
||||
wayland-protocols-0.29.4
|
||||
wayland-scanner-0.29.4
|
||||
wayland-sys-0.29.4
|
||||
weak-table-0.3.2
|
||||
web-sys-0.3.57
|
||||
webbrowser-0.7.1
|
||||
weezl-0.1.5
|
||||
wepoll-ffi-0.1.2
|
||||
wgpu-0.12.0
|
||||
wgpu-core-0.12.2
|
||||
wgpu-hal-0.12.4
|
||||
wgpu-types-0.12.0
|
||||
wide-0.7.4
|
||||
widestring-0.5.1
|
||||
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
|
||||
windows-0.35.0
|
||||
windows_aarch64_msvc-0.35.0
|
||||
windows_i686_gnu-0.35.0
|
||||
windows_i686_msvc-0.35.0
|
||||
windows_x86_64_gnu-0.35.0
|
||||
windows_x86_64_msvc-0.35.0
|
||||
winit-0.26.1
|
||||
winreg-0.10.1
|
||||
wyz-0.2.0
|
||||
x11-clipboard-0.3.3
|
||||
x11-dl-2.19.1
|
||||
xcb-0.8.2
|
||||
xcursor-0.3.4
|
||||
xml-rs-0.8.4"
|
||||
# python is needed by xcb-0.8.2 until update to >=0.10
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
inherit cargo desktop flag-o-matic python-any-r1 xdg
|
||||
|
||||
# 0(github) 1(repo) 2(commit hash) 3(crate:workspace,...) [see core/Cargo.toml]
|
||||
RUFFLE_GIT=(
|
||||
"RustAudio dasp f05a703d247bb504d7e812b51e95f3765d9c5e94 dasp"
|
||||
"ruffle-rs gc-arena 4931b3bc25b2b74174ff5eb9c34ae0dda732778b gc-arena:src/gc-arena"
|
||||
"ruffle-rs h263-rs 023e14c73e565c4c778d41f66cfbac5ece6419b2 h263-rs:h263,h263-rs-yuv:yuv"
|
||||
"ruffle-rs nellymoser 4a33521c29a918950df8ae9fe07e527ac65553f5 nellymoser-rs:."
|
||||
"ruffle-rs nihav-vp6 9416fcc9fc8aab8f4681aa9093b42922214abbd3 nihav_codec_support:nihav-codec-support,nihav_core:nihav-core,nihav_duck:nihav-duck"
|
||||
"ruffle-rs quick-xml 8496365ec1412eb5ba5de350937b6bce352fa0ba quick-xml:."
|
||||
"ruffle-rs rust-flash-lso 19fecd07b9888c4bdaa66771c468095783b52bed flash-lso"
|
||||
)
|
||||
ruffle_uris() {
|
||||
cargo_crate_uris
|
||||
|
||||
local g
|
||||
for g in "${RUFFLE_GIT[@]}"; do
|
||||
g=(${g})
|
||||
echo "https://github.com/${g[0]}/${g[1]}/archive/${g[2]}.tar.gz -> ${g[1]}-${g[2]}.tar.gz"
|
||||
done
|
||||
}
|
||||
|
||||
# using _pYYYYMMDD over YYYY.MM.DD given ruffle has an underlaying version
|
||||
# (0.1.0) which could get a non-nightly release eventually (YYYY. > 0.1.0)
|
||||
MY_PV="nightly-${PV:3:4}-${PV:7:2}-${PV:9:2}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Flash Player emulator written in Rust"
|
||||
HOMEPAGE="https://ruffle.rs/"
|
||||
SRC_URI="
|
||||
https://github.com/ruffle-rs/ruffle/archive/refs/tags/${MY_PV}.tar.gz -> ${MY_P}.tar.gz
|
||||
$(ruffle_uris)"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 ZLIB curl"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/openssl:=
|
||||
media-libs/alsa-lib
|
||||
sys-libs/zlib:=
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libxcb:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.61"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/bin/${PN}
|
||||
usr/bin/${PN}_exporter
|
||||
usr/bin/${PN}_scanner"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# use [patch] directive to register git snapshots of needed crates
|
||||
local crate g
|
||||
for g in "${RUFFLE_GIT[@]}"; do
|
||||
g=(${g})
|
||||
echo "[patch.\"https://github.com/${g[0]}/${g[1]}\"]"
|
||||
for crate in ${g[3]//,/ }; do
|
||||
echo "${crate%:*} = { path = \"../${g[1]}-${g[2]}/${crate#*:}\" }"
|
||||
done
|
||||
done >> Cargo.toml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
filter-flags '-flto*' # undefined references with ring crate and more
|
||||
|
||||
cargo_src_compile --bins # note: configure --bins would skip tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
|
||||
newicon web/packages/extension/assets/images/icon180.png ${PN}.png
|
||||
make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \
|
||||
"MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;"
|
||||
|
||||
cd target/$(usex debug{,} release) || die
|
||||
|
||||
newbin ${PN}_desktop ${PN}
|
||||
newbin exporter ${PN}_exporter
|
||||
dobin ${PN}_scanner
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog "${PN} is experimental software that is still under heavy development"
|
||||
elog "and only receiving nightly releases. Plans in Gentoo is to update"
|
||||
elog "roughly every two weeks if no known major regressions."
|
||||
elog
|
||||
elog "There is currently no plans to support wasm builds / browser"
|
||||
elog "extensions, this provides the desktop viewer and other tools."
|
||||
fi
|
||||
}
|
@ -1,15 +1,15 @@
|
||||
DIST gentoo-wine-patches-20211122.tar.xz 59796 BLAKE2B 21460e6adf4934a52f8841f76f234a764c2dc1ac77eeed1cee10adafec3aa723640ebd4b51559e9ef433070ac731c4648620bd9e75e99f31b2e2f494cf01f02d SHA512 a18cb320617e2157977032c38c322177a2d248f14e43051d38de595af171495546c93d5e71e0dbe1a4f326a2dc819bb03dcfd04454ac85bbcd6b1975ae5d9d96
|
||||
DIST wine-7.10.tar.xz 27915328 BLAKE2B fc778285cce52317d77461f0bce11d6e3214a536ecd42364d6cd31f609a23116fa582a7cb85873a99c61eb5cf5e1e3036e4d4d1887b87f75f501109ac3eb4625 SHA512 be460be6c3f6f54c20220287a7c4c9d41d27bd14fabb97b1f9824a4be361e38b2e2e51a621e0332d6c48934b1af425efaec92132f73e6d1270337ffbfcac2576
|
||||
DIST wine-7.7.tar.xz 27716124 BLAKE2B 13df0de6b65ec96d99d14f43e5250a105d07414f90388fec6b19ee1a4ac4ba98fde66ed9d1eb966a07c0a2ad37e744d87eb7047b48b92ccee3e3db197730a7f9 SHA512 b0185176a1074ff7331a937a2a5a1f0b865f3e38abbe2fdca841b9f14540497bf941a2aa3bf8dc52d19eb848c68974f3ab47b6d0031cbf4eebc8a76b0b1484be
|
||||
DIST wine-7.11.tar.xz 27975308 BLAKE2B 7031c950de4ee6d00c1006841a2d6fe55cebce644d354eb05cb963207b491a717c6ba7ce8f19c337167ec8bd6c1480427112a32b4363db745e99461be5917c77 SHA512 aff6a5996ba7336d97c59a1402688b109e6cca123c60fa6f03813d81ad6478f4ed4a62fb7813dc6952cca7ec1250182730873f3ac17f0855bbf000bf3c1d86fe
|
||||
DIST wine-7.8.tar.xz 27728116 BLAKE2B 3c878de8377906a687026bf1d5f9167bdce6b13a3d750d2a92fdcf70aed8e3da01560d26e4b075b6564b741996fc2168bb98c409f95618ab9fbb8e8b583a5384 SHA512 5e63edabc7dcdce62a1ce683c9ef387a2d801af3a0f99c32daacfea566a3813086f4f5977279c7b7526574f5cd95d052805bd5c145b82221d321d8aa638bfe1d
|
||||
DIST wine-7.9.tar.xz 27783272 BLAKE2B 3265402b90913670b6a81a1f0d91d84d536734883749d31af572953e3b244ba721c15bb851e0e0e868c402d9add2e2007e49225bdaaa02a8dedee575d4e69602 SHA512 47ecbb8bc31a06d0f40a63469ffe3df4a1e05c9476a8926ec7f20c2230de8afecb5e0df9f3c5dd238ce3d0323d7cf9c9f48c41ef6ca149822458a4e605a2e029
|
||||
DIST wine-staging-7.10.tar.gz 9646352 BLAKE2B acb68df0b79c5912ecfc400ac7b40fd0205908ce7edb06f69fa4c8e7a3c94d33551b98c7ae2aadded65c012aaf1b7990ac7aeefb37e7c07779aaeceb7d74397e SHA512 7c2aa5ec78f12ef3415f7e3615775f8a0a727f6e5bb0173f5746934166dbec5d4edfaa572d3fe26ef62fe933772346495a6c618d58ee0a6374028a158beb05c8
|
||||
DIST wine-staging-7.7.tar.gz 9669097 BLAKE2B 343c361d622ca5bee41d26b353ec9cbcc78105231e0e99d52419b560570a92bfcbc6fd0f8630d929d15dc2c3c09c302e74f5661dc84b867eaf3b6050d277b893 SHA512 9047a432a932474a2de3c808015b2466f6c8acea3ac3201b4b9b496f49667c7716245724b05ba98e03e1c2825d83c226f441ba1de917814dbb61959cdf98ff27
|
||||
DIST wine-staging-7.11.tar.gz 9643832 BLAKE2B d215353a0163011b964d24d6e0cb3011286ce8d9ad6b42ad2bd389cb65c214db01a67a6f37db3eedd36d34995d7423112bbddbd06abbcbc5bb5f0d565d06a157 SHA512 5985f7536f7d0a8bedcfcdf095861a06589ea6ad9896c87043ca88f9ef3c4bc9854931b51b64471e361378f332cea70adc58ef9303e9e5d1a6dcc9789761c187
|
||||
DIST wine-staging-7.8.tar.gz 9658435 BLAKE2B 0c089cd1498a5d8d90bbcabf8c3b55552176bc1f0c4717c6f7d1f6dcadfdaa0d52b0fdfd3c150de0da3626085e05fdb49343739950558bf47eff96f77f6a1464 SHA512 86f514a60d6f7ed612189a6834a18265a7551f3358903a3d67413d81d134c98f2aa7e4f79682be1a75d7bec194c4ca0bbf5d10c6e10277d451cd4aa332cc20ed
|
||||
DIST wine-staging-7.9.tar.gz 9657482 BLAKE2B 2b7f30fde6a73d1012f31e83ca9fd7bd20d87a0edcf1f175115139e47d8aecdfeea5e432cd8cc4253773755856fff00e36aab25098a9a59ed44a2f0c572e7ba5 SHA512 6c856eeaa18bad56b5302939968995221277f80eb380510762535063929b7d95e58df11ad01459ab4e6a7f97efada8c09034457a58ad637620d3a296c93ace6d
|
||||
EBUILD wine-staging-7.10.ebuild 16988 BLAKE2B e8c363f35b8bd578dda2d1d79f31d93d845bddcf35c8ab977479ddd0ef3da83303a3772b37c183d61f3c3be5272d992ac6e069cd79fec965e33db19de7dff0f6 SHA512 6e952e136e8872c95fdf6478e40c5bff53f93a02f859696febddbc1f7279a0ec498eb98d3e15d713c20d3392332ba5c4413d25c56c0e05024c979ba38a8814ab
|
||||
EBUILD wine-staging-7.7.ebuild 17092 BLAKE2B 002c6d45e7f7313fc1c1dce77b0c501b2832d74ed9bbd100f9fcab8a71de08ae9cd54d18313ef4fd37de07155e321984494c8bdbd9bbad17413ffab30f4bb9fa SHA512 6bd72d4e07250458020899e97d8652fe72cf879dcee692da3c28531279b2e08d3e96c13d854885f06fc425eb18e5faa1fd0e71c05debe0e88461e0c7328d390c
|
||||
EBUILD wine-staging-7.11.ebuild 16988 BLAKE2B e8c363f35b8bd578dda2d1d79f31d93d845bddcf35c8ab977479ddd0ef3da83303a3772b37c183d61f3c3be5272d992ac6e069cd79fec965e33db19de7dff0f6 SHA512 6e952e136e8872c95fdf6478e40c5bff53f93a02f859696febddbc1f7279a0ec498eb98d3e15d713c20d3392332ba5c4413d25c56c0e05024c979ba38a8814ab
|
||||
EBUILD wine-staging-7.8.ebuild 16986 BLAKE2B 96ddbfe126315deca01943943eaaaa8d6bb99ace3bf7ee1f4591ea1c5f22edd989ea135b1f6f04f1c7359fa473b96dca4e8b6d9c715fde5a2efceb6d67e080d0 SHA512 d7fb6d6c173e462930b0d4ccf54e9e880da210669356cba8c7629766b0121c7a28dbc0f0ab83c18f502cf62d732cfacf3aa61e966547d4403b617b83a2641dee
|
||||
EBUILD wine-staging-7.9.ebuild 16986 BLAKE2B 96ddbfe126315deca01943943eaaaa8d6bb99ace3bf7ee1f4591ea1c5f22edd989ea135b1f6f04f1c7359fa473b96dca4e8b6d9c715fde5a2efceb6d67e080d0 SHA512 d7fb6d6c173e462930b0d4ccf54e9e880da210669356cba8c7629766b0121c7a28dbc0f0ab83c18f502cf62d732cfacf3aa61e966547d4403b617b83a2641dee
|
||||
EBUILD wine-staging-9999.ebuild 16988 BLAKE2B e8c363f35b8bd578dda2d1d79f31d93d845bddcf35c8ab977479ddd0ef3da83303a3772b37c183d61f3c3be5272d992ac6e069cd79fec965e33db19de7dff0f6 SHA512 6e952e136e8872c95fdf6478e40c5bff53f93a02f859696febddbc1f7279a0ec498eb98d3e15d713c20d3392332ba5c4413d25c56c0e05024c979ba38a8814ab
|
||||
MISC metadata.xml 3485 BLAKE2B 8d5adf8569f4d400e992c11bc00999d7c55c4592240788af7fbda71ab4d63fd2ed26ebbdb9de72bc5bf9d33afd6709910d4dc0683f80dc8a4fb288eccebe84f1 SHA512 06269182f30a881054cc83a46a6069d5b33f450447dc451ce7e820208b0706c763958e8e4b1ad8b6074d9e923350d009ea320c97e34482200d70c12ebbcbb330
|
||||
MISC metadata.xml 3391 BLAKE2B d6da53830248d3f66ba4cc850f7d879f2d7ba636f51a657ff8078349ca5bbb0e1f20693792f56fdb2739e0d4cd85345f7ee7da06d11c4e573767dd2fb508a0c1 SHA512 e344bd026808190ffab209cc7deeeb32659be30a41a5f81ddbf23e95773ffa831c0534b7184bd6e9cee0d8ea79ec7985188d1ca066d9af493f9ec3da461d81e7
|
||||
|
Binary file not shown.
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module systemd
|
||||
EGIT_COMMIT=63f16013979bfd55ed3abf8def365187fde6eaaf
|
||||
|
||||
DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x and 4.x"
|
||||
HOMEPAGE="https://github.com/oliver006/redis_exporter"
|
||||
SRC_URI="https://github.com/oliver006/redis_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT Apache-2.0 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RDEPEND="
|
||||
acct-user/redis_exporter
|
||||
acct-group/redis_exporter"
|
||||
DEPEND="${RDEPEND}"
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s|\(^[[:space:]]*VERSION[[:space:]]*=[[:space:]]*\).*|\1\"${PV}\"|" \
|
||||
-e "s|\(^[[:space:]]*BUILD_DATE[[:space:]]*=[[:space:]]*\).*|\1\"$(LC_ALL=C date -u)\"|" \
|
||||
-e "s|\(^[[:space:]]*COMMIT_SHA1[[:space:]]*=[[:space:]]*\).*|\1\"${EGIT_COMMIT}\"|" \
|
||||
-i main.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOBIN="${S}/bin"
|
||||
go install \
|
||||
-ldflags="-X main.BuildVersion=${PV} -X main.BuildCommitSha=${EGIT_COMMIT} -X main.BuildDate=$(date +%F-%T)" \
|
||||
./... || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
go test -work ./... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${GOBIN}/redis_exporter"
|
||||
dodoc README.md
|
||||
local dir
|
||||
for dir in /var/{lib,log}/${PN}; do
|
||||
keepdir "${dir}"
|
||||
fowners ${PN}:${PN} "${dir}"
|
||||
done
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
AUX barry-0.18.4-shared_ptr.patch 746 BLAKE2B c45dbda427c25807e1cdb9d3d54a5695a92623230eaaabe41cff71236715c816f1d2de6e8c29f71d993288803010803fe046a3a96e39d9f0b6da3a7f452d793c SHA512 b376e3553aa22d3aa8a04cee766d34aae3d03ad3677174d5f02118653fbfe8391175238727cf0c21c0caf33a850cc10fa0fcf077266815e891bf5efbb3d0d745
|
||||
DIST barry-0.18.3.tar.bz2 3457451 BLAKE2B ba7f49e95ac85d764c1275f6dc06f4a7be080d8d725466e1bb8d23977437879f2f7bf7581d9f5bc1262a07f8d1478992ce3c62c9893504f1094dcfb16d944ebd SHA512 4944d22bd5f5a76201ca10ccaf9d12ecf21b298e5b9c8d3d503441e0ad0386a94699c48ae683004992508bb385e75ec137859509663148f2f148933fa508e7fd
|
||||
EBUILD barry-0.18.3.ebuild 2080 BLAKE2B 60ea66f66b1cbf4fa19c89412dba9c3c7d648830d8d1dc27101e91e93dcd1afecef3db903f0e24ef3c718f3338b660d2c9f151eb48f2f07478a5cc32a2dd58bf SHA512 fdcf8657f7a3ef53d3739d8e7aee01e591190627754a92ec13687e7f40d23eda0efe23c0b0974ce67b0a9873f4bb111864af06f33838e5c44910ebbd2089745d
|
||||
MISC metadata.xml 525 BLAKE2B a79c309aceb6e75a8b9128f201f7fcbd16c57819b9c792ce971cae25305f79fc51ddb2497befab2395ecb88c20ea03529d591960a2a10ff74996fecc2ba0e76d SHA512 9d15cd593eef39c67b230926522e2f59efa11663517b292bbc947d16c3be1a9e173e1b1f75a580e8d5cb951a7c6dd5e4800cd0fcd9e3bade16a12d94a1656477
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 desktop udev xdg
|
||||
|
||||
DESCRIPTION="Sync, backup, program management, and charging for BlackBerry devices"
|
||||
HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
|
||||
SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0 GPL-2" #See logo/README for CCPL
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boost doc gui nls"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/libxmlpp-2.6:2.6
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libtar-1.2.11-r2
|
||||
>=media-libs/libsdl-1.2
|
||||
>=sys-fs/fuse-2.5:=
|
||||
sys-libs/zlib
|
||||
virtual/libusb:1
|
||||
boost? ( dev-libs/boost:= )
|
||||
gui? (
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
dev-cpp/libglademm:2.4
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( >=app-doc/doxygen-1.5.6 )
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.18.4-shared_ptr.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e 's:plugdev:usb:g' -i udev/99-blackberry-perms.rules || die
|
||||
sed -e '/Icon/s:=.*:=barry:' -i menu/*.desktop || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable boost) \
|
||||
$(use_enable gui) \
|
||||
--disable-desktop \
|
||||
--disable-rpath \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
doxygen || die
|
||||
# clean out cruft
|
||||
find doc/www/doxygen/html/ \( \
|
||||
-iname '*.map*' -o \
|
||||
-iname '*.md5' -o \
|
||||
-iname '*.php' -o \
|
||||
-iname '*.sh' \) -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# docs
|
||||
dodoc KnownBugs
|
||||
use doc && dodoc -r doc/www/doxygen/html
|
||||
rm -rf doc/www || die
|
||||
dodoc -r doc/.
|
||||
|
||||
# Skipping different (old Fedora) rules 69-blackberry.rules in purpose
|
||||
udev_dorules udev/10-blackberry.rules udev/99-blackberry-perms.rules
|
||||
|
||||
# blacklist for BERRY_CHARGE kernel module
|
||||
insinto /lib/modprobe.d
|
||||
doins modprobe/blacklist-berry_charge.conf
|
||||
|
||||
# pppd options files
|
||||
docinto ppp
|
||||
dodoc -r ppp/.
|
||||
|
||||
dobashcomp bash/btool bash/bjavaloader
|
||||
|
||||
newicon -s scalable logo/${PN}_logo_icon.svg ${PN}.svg
|
||||
use gui && domenu menu/barrybackup.desktop
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
With -std=c++-11 shared_ptr is available in the standard library so pulling in
|
||||
the std::tr1 namespace creates an ambiguous reference. Simple fix is to stop
|
||||
doing that but isn't backwards compatible. We don't care in Gentoo since we'll
|
||||
always be building barry with -std=c++11 due to libsigc++ abi compatibility.
|
||||
|
||||
--- a/tools/bio.cc
|
||||
+++ b/tools/bio.cc
|
||||
@@ -42,7 +42,6 @@
|
||||
#include "i18n.h"
|
||||
|
||||
using namespace std;
|
||||
-using namespace std::tr1;
|
||||
using namespace Barry;
|
||||
|
||||
// keeping a record of all the -i device / -o device pin numbers, so
|
||||
--- a/tools/btool.cc
|
||||
+++ b/tools/btool.cc
|
||||
@@ -59,7 +59,6 @@
|
||||
#include "barrygetopt.h"
|
||||
|
||||
using namespace std;
|
||||
-using namespace std::tr1;
|
||||
using namespace Barry;
|
||||
|
||||
std::map<std::string, std::string> SortKeys;
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!--maintainer-needed-->
|
||||
<longdescription lang="en">
|
||||
Barry is a utility for synchronization, backup, restore,
|
||||
program management, and charging of BlackBerry devices.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="boost">Enable boost support</flag>
|
||||
<flag name="gui">Install the GUI backup tool</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">barry</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,589 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CRATES="
|
||||
addr2line-0.17.0
|
||||
adler32-1.2.0
|
||||
adler-1.0.2
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
alloc-no-stdlib-2.0.3
|
||||
alloc-stdlib-0.2.1
|
||||
ansi_colours-1.0.4
|
||||
ansi_term-0.12.1
|
||||
anyhow-1.0.51
|
||||
arrayvec-0.4.12
|
||||
arrayvec-0.5.2
|
||||
arrow2-0.7.0
|
||||
arrow-format-0.3.0
|
||||
async-stream-0.3.2
|
||||
async-stream-impl-0.3.2
|
||||
async-trait-0.1.51
|
||||
atty-0.2.14
|
||||
autocfg-1.0.1
|
||||
backtrace-0.3.63
|
||||
base64-0.13.0
|
||||
bat-0.18.3
|
||||
bigdecimal-0.3.0
|
||||
bincode-1.3.3
|
||||
bitflags-1.2.1
|
||||
bitpacking-0.8.4
|
||||
block-buffer-0.9.0
|
||||
brotli-3.3.2
|
||||
brotli-decompressor-2.3.2
|
||||
bson-2.0.1
|
||||
bstr-0.2.17
|
||||
bugreport-0.4.1
|
||||
bumpalo-3.8.0
|
||||
bytemuck-1.7.2
|
||||
byteorder-1.4.3
|
||||
bytes-0.4.12
|
||||
bytes-0.5.6
|
||||
bytes-1.1.0
|
||||
byte-unit-4.0.13
|
||||
bzip2-0.4.3
|
||||
bzip2-sys-0.1.11+1.0.8
|
||||
calamine-0.18.0
|
||||
cassowary-0.3.0
|
||||
cc-1.0.72
|
||||
cfg-if-0.1.10
|
||||
cfg-if-1.0.0
|
||||
chrono-0.4.19
|
||||
chrono-humanize-0.2.1
|
||||
chrono-tz-0.5.3
|
||||
clipboard-win-4.2.2
|
||||
clircle-0.3.0
|
||||
codepage-0.1.1
|
||||
codespan-reporting-0.11.1
|
||||
color_quant-1.1.0
|
||||
comfy-table-1.6.0
|
||||
common-path-1.0.0
|
||||
console-0.14.1
|
||||
const-sha1-0.2.0
|
||||
content_inspector-0.2.4
|
||||
convert_case-0.4.0
|
||||
core-foundation-0.9.2
|
||||
core-foundation-sys-0.8.3
|
||||
cpufeatures-0.2.1
|
||||
crc32fast-1.3.0
|
||||
crossbeam-channel-0.5.1
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.5
|
||||
crossbeam-utils-0.8.5
|
||||
crossterm-0.19.0
|
||||
crossterm_winapi-0.7.0
|
||||
crunchy-0.2.2
|
||||
crypto-mac-0.11.1
|
||||
cssparser-0.27.2
|
||||
cssparser-macros-0.6.0
|
||||
cstr_core-0.2.4
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
ctrlc-3.2.0
|
||||
cty-0.2.2
|
||||
deflate-0.8.6
|
||||
derive-new-0.5.9
|
||||
derive_more-0.99.17
|
||||
digest-0.9.0
|
||||
directories-next-2.0.0
|
||||
dirs-3.0.2
|
||||
dirs-next-2.0.0
|
||||
dirs-sys-0.3.6
|
||||
dirs-sys-next-0.1.2
|
||||
doc-comment-0.3.3
|
||||
dtoa-0.4.8
|
||||
dtoa-short-0.3.3
|
||||
dtparse-1.2.0
|
||||
dunce-1.0.2
|
||||
dyn-clone-1.0.4
|
||||
ego-tree-0.6.2
|
||||
either-1.6.1
|
||||
eml-parser-0.1.2
|
||||
encode_unicode-0.3.6
|
||||
encoding-0.2.33
|
||||
encoding-index-japanese-1.20141219.5
|
||||
encoding-index-korean-1.20141219.5
|
||||
encoding-index-simpchinese-1.20141219.5
|
||||
encoding-index-singlebyte-1.20141219.5
|
||||
encoding-index-tradchinese-1.20141219.5
|
||||
encoding_index_tests-0.1.4
|
||||
encoding_rs-0.8.29
|
||||
endian-type-0.1.2
|
||||
env_logger-0.7.1
|
||||
env_logger-0.8.4
|
||||
error-chain-0.12.4
|
||||
error-code-2.3.0
|
||||
failure-0.1.8
|
||||
failure_derive-0.1.8
|
||||
fallible-iterator-0.2.0
|
||||
fallible-streaming-iterator-0.1.9
|
||||
fd-lock-3.0.1
|
||||
filesize-0.2.0
|
||||
flatbuffers-2.0.0
|
||||
flate2-1.0.22
|
||||
fnv-1.0.7
|
||||
foreign-types-0.3.2
|
||||
foreign-types-shared-0.1.1
|
||||
form_urlencoded-1.0.1
|
||||
fs_extra-1.2.0
|
||||
futf-0.1.4
|
||||
futures-0.1.31
|
||||
futures-0.3.18
|
||||
futures-channel-0.3.18
|
||||
futures-core-0.3.18
|
||||
futures-executor-0.3.18
|
||||
futures-io-0.3.18
|
||||
futures-macro-0.3.18
|
||||
futures-sink-0.3.18
|
||||
futures-task-0.3.18
|
||||
futures-util-0.3.18
|
||||
fxhash-0.2.1
|
||||
generic-array-0.14.4
|
||||
getopts-0.2.21
|
||||
getrandom-0.1.16
|
||||
getrandom-0.2.3
|
||||
getset-0.1.2
|
||||
gimli-0.26.1
|
||||
git2-0.13.25
|
||||
git-version-0.3.5
|
||||
git-version-macro-0.3.5
|
||||
gjson-0.8.0
|
||||
globset-0.4.8
|
||||
glob-0.3.0
|
||||
grep-cli-0.1.6
|
||||
h2-0.3.7
|
||||
hamcrest2-0.3.0
|
||||
hash32-0.2.1
|
||||
hashbrown-0.11.2
|
||||
hashlink-0.7.0
|
||||
hash_hasher-2.0.3
|
||||
heapless-0.7.8
|
||||
heck-0.3.3
|
||||
heck-0.4.0
|
||||
hermit-abi-0.1.19
|
||||
hex-0.4.3
|
||||
hmac-0.11.0
|
||||
hmac-sha1-0.1.3
|
||||
html5ever-0.25.1
|
||||
htmlescape-0.3.1
|
||||
httparse-1.5.1
|
||||
httpdate-1.0.2
|
||||
http-0.2.5
|
||||
http-body-0.4.4
|
||||
humantime-1.3.0
|
||||
hyper-0.14.15
|
||||
hyper-tls-0.5.0
|
||||
ical-0.7.0
|
||||
idna-0.2.3
|
||||
image-0.23.14
|
||||
indexmap-1.7.0
|
||||
instant-0.1.12
|
||||
insta-1.8.0
|
||||
integer-encoding-3.0.2
|
||||
iovec-0.1.4
|
||||
ipnet-2.3.1
|
||||
is_debug-1.0.1
|
||||
is_executable-1.0.1
|
||||
itertools-0.10.1
|
||||
itoa-0.4.8
|
||||
jobserver-0.1.24
|
||||
jpeg-decoder-0.1.22
|
||||
js-sys-0.3.55
|
||||
lazycell-1.3.0
|
||||
lazy_static-1.4.0
|
||||
lexical-6.0.1
|
||||
lexical-core-0.8.2
|
||||
lexical-parse-float-0.8.2
|
||||
lexical-parse-integer-0.8.0
|
||||
lexical-util-0.8.1
|
||||
lexical-write-float-0.8.2
|
||||
lexical-write-integer-0.8.0
|
||||
libc-0.2.112
|
||||
libgit2-sys-0.12.26+1.3.0
|
||||
libm-0.2.1
|
||||
libsqlite3-sys-0.23.1
|
||||
libz-sys-1.1.3
|
||||
line-wrap-0.1.1
|
||||
linked-hash-map-0.5.4
|
||||
lock_api-0.4.5
|
||||
log-0.4.14
|
||||
lz4-1.23.2
|
||||
lz4-sys-1.9.2
|
||||
mac-0.1.1
|
||||
malloc_buf-0.0.6
|
||||
markup5ever-0.10.1
|
||||
matches-0.1.9
|
||||
md5-0.7.0
|
||||
md-5-0.9.1
|
||||
memchr-2.4.1
|
||||
memmap2-0.5.0
|
||||
memoffset-0.6.4
|
||||
meval-0.2.0
|
||||
mime-0.3.16
|
||||
mime_guess-2.0.3
|
||||
miniz_oxide-0.3.7
|
||||
miniz_oxide-0.4.4
|
||||
miow-0.3.7
|
||||
mio-0.7.14
|
||||
mp4-0.9.0
|
||||
multiversion-0.6.1
|
||||
multiversion-macros-0.6.1
|
||||
native-tls-0.2.8
|
||||
neso-0.5.0
|
||||
new_debug_unreachable-1.0.4
|
||||
nibble_vec-0.1.0
|
||||
nix-0.22.2
|
||||
nodrop-0.1.14
|
||||
nom-1.2.4
|
||||
ntapi-0.3.6
|
||||
num-0.2.1
|
||||
num-0.4.0
|
||||
num-bigint-0.2.6
|
||||
num-bigint-0.3.3
|
||||
num-bigint-0.4.3
|
||||
num-complex-0.2.4
|
||||
num-complex-0.4.0
|
||||
num-format-0.4.0
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.2.4
|
||||
num-rational-0.3.2
|
||||
num-rational-0.4.0
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.0
|
||||
nu-0.43.0
|
||||
nu-ansi-term-0.43.0
|
||||
nu-cli-0.43.0
|
||||
nu-command-0.43.0
|
||||
nu-completion-0.43.0
|
||||
nu-data-0.43.0
|
||||
nu-engine-0.43.0
|
||||
nu-errors-0.43.0
|
||||
nu-json-0.43.0
|
||||
nu-parser-0.43.0
|
||||
nu-path-0.43.0
|
||||
nu-plugin-0.43.0
|
||||
nu-pretty-hex-0.43.0
|
||||
nu-protocol-0.43.0
|
||||
nu-serde-0.43.0
|
||||
nu-source-0.43.0
|
||||
nu-stream-0.43.0
|
||||
nu-table-0.43.0
|
||||
nu-test-support-0.43.0
|
||||
nu-value-ext-0.43.0
|
||||
nu_plugin_binaryview-0.43.0
|
||||
nu_plugin_chart-0.43.0
|
||||
nu_plugin_from_bson-0.43.0
|
||||
nu_plugin_from_mp4-0.43.0
|
||||
nu_plugin_from_sqlite-0.43.0
|
||||
nu_plugin_inc-0.43.0
|
||||
nu_plugin_match-0.43.0
|
||||
nu_plugin_query_json-0.43.0
|
||||
nu_plugin_s3-0.43.0
|
||||
nu_plugin_selector-0.43.0
|
||||
nu_plugin_start-0.43.0
|
||||
nu_plugin_textview-0.43.0
|
||||
nu_plugin_to_bson-0.43.0
|
||||
nu_plugin_to_sqlite-0.43.0
|
||||
nu_plugin_tree-0.43.0
|
||||
nu_plugin_xpath-0.43.0
|
||||
objc-0.2.7
|
||||
object-0.27.1
|
||||
once_cell-1.8.0
|
||||
onig-6.3.1
|
||||
onig_sys-69.7.1
|
||||
opaque-debug-0.3.0
|
||||
openssl-0.10.38
|
||||
openssl-probe-0.1.4
|
||||
openssl-sys-0.9.71
|
||||
open-1.7.1
|
||||
ordered-float-1.1.1
|
||||
overload-0.1.1
|
||||
parking_lot-0.11.2
|
||||
parking_lot_core-0.8.5
|
||||
parquet2-0.6.0
|
||||
parquet-format-async-temp-0.2.0
|
||||
parse-zoneinfo-0.3.0
|
||||
pathdiff-0.2.1
|
||||
path_abs-0.5.1
|
||||
percent-encoding-2.1.0
|
||||
peresil-0.3.0
|
||||
pest-2.1.3
|
||||
phf-0.8.0
|
||||
phf_codegen-0.8.0
|
||||
phf_generator-0.8.0
|
||||
phf_macros-0.8.0
|
||||
phf_shared-0.8.0
|
||||
pin-project-lite-0.2.7
|
||||
pin-utils-0.1.0
|
||||
pkg-config-0.3.22
|
||||
plist-1.3.1
|
||||
png-0.16.8
|
||||
polars-0.17.0
|
||||
polars-arrow-0.17.0
|
||||
polars-core-0.17.0
|
||||
polars-io-0.17.0
|
||||
polars-lazy-0.17.0
|
||||
ppv-lite86-0.2.15
|
||||
precomputed-hash-0.1.1
|
||||
pretty-0.5.2
|
||||
pretty_env_logger-0.4.0
|
||||
proc-macro2-1.0.32
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro-hack-0.5.19
|
||||
ptree-0.4.0
|
||||
quickcheck-1.0.3
|
||||
quickcheck_macros-1.0.0
|
||||
quick-error-1.2.3
|
||||
quick-xml-0.19.0
|
||||
quick-xml-0.22.0
|
||||
quote-1.0.10
|
||||
radix_trie-0.2.1
|
||||
rand-0.7.3
|
||||
rand-0.8.4
|
||||
rand_chacha-0.2.2
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.5.1
|
||||
rand_core-0.6.3
|
||||
rand_distr-0.3.0
|
||||
rand_hc-0.2.0
|
||||
rand_hc-0.3.1
|
||||
rand_pcg-0.2.1
|
||||
rawkey-0.1.3
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
readkey-0.1.7
|
||||
redox_syscall-0.2.10
|
||||
redox_users-0.4.0
|
||||
regex-1.5.4
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
remove_dir_all-0.5.3
|
||||
reqwest-0.11.7
|
||||
result-1.0.0
|
||||
roxmltree-0.14.1
|
||||
rstest-0.10.0
|
||||
rusqlite-0.26.1
|
||||
rustc-demangle-0.1.21
|
||||
rustc-serialize-0.3.24
|
||||
rustc_version-0.3.3
|
||||
rustc_version-0.4.0
|
||||
rustversion-1.0.5
|
||||
rustyline-9.0.0
|
||||
rust-embed-5.9.0
|
||||
rust-embed-impl-5.9.0
|
||||
rust-embed-utils-5.1.0
|
||||
rust_decimal-0.10.2
|
||||
ryu-1.0.6
|
||||
s3handler-0.7.5
|
||||
safemem-0.3.3
|
||||
same-file-1.0.6
|
||||
schannel-0.1.19
|
||||
scopeguard-1.1.0
|
||||
scraper-0.12.0
|
||||
security-framework-2.3.1
|
||||
security-framework-sys-2.4.2
|
||||
selectors-0.22.0
|
||||
semver-0.11.0
|
||||
semver-1.0.4
|
||||
semver-parser-0.10.2
|
||||
serde-1.0.130
|
||||
serde_bytes-0.11.5
|
||||
serde_derive-1.0.130
|
||||
serde_ini-0.2.0
|
||||
serde_json-1.0.72
|
||||
serde_test-1.0.130
|
||||
serde_urlencoded-0.7.0
|
||||
serde_yaml-0.8.21
|
||||
serial_test-0.5.1
|
||||
serial_test_derive-0.5.1
|
||||
servo_arc-0.1.1
|
||||
sha1-0.2.0
|
||||
sha2-0.9.8
|
||||
shadow-rs-0.8.1
|
||||
shell-escape-0.1.5
|
||||
shell-words-1.0.0
|
||||
signal-hook-0.1.17
|
||||
signal-hook-registry-1.4.0
|
||||
simdutf8-0.1.3
|
||||
similar-1.3.0
|
||||
siphasher-0.3.7
|
||||
slab-0.4.5
|
||||
smallvec-1.7.0
|
||||
smart-default-0.6.0
|
||||
snap-1.0.5
|
||||
socket2-0.4.2
|
||||
spin-0.9.2
|
||||
stable_deref_trait-1.2.0
|
||||
static_assertions-1.1.0
|
||||
std_prelude-0.2.12
|
||||
streaming-decompression-0.1.0
|
||||
streaming-iterator-0.1.5
|
||||
strength_reduce-0.2.3
|
||||
string_cache-0.8.2
|
||||
string_cache_codegen-0.5.1
|
||||
strip-ansi-escapes-0.1.1
|
||||
strum-0.20.0
|
||||
strum_macros-0.20.1
|
||||
str-buf-1.0.5
|
||||
subtle-2.4.1
|
||||
sxd-document-0.3.2
|
||||
sxd-xpath-0.4.2
|
||||
synstructure-0.12.6
|
||||
syntect-4.6.0
|
||||
syn-1.0.82
|
||||
sysinfo-0.23.0
|
||||
sys-info-0.9.1
|
||||
sys-locale-0.1.0
|
||||
tempfile-3.2.0
|
||||
tendril-0.4.2
|
||||
termcolor-1.1.2
|
||||
terminal_size-0.1.17
|
||||
term-0.7.0
|
||||
term_size-0.3.2
|
||||
thin-slice-0.1.1
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
time-0.1.44
|
||||
time-0.3.5
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
titlecase-1.1.0
|
||||
tokio-1.14.0
|
||||
tokio-io-0.1.13
|
||||
tokio-macros-1.6.0
|
||||
tokio-native-tls-0.3.0
|
||||
tokio-util-0.6.9
|
||||
toml-0.5.8
|
||||
tower-service-0.3.1
|
||||
tracing-0.1.29
|
||||
tracing-core-0.1.21
|
||||
trash-2.0.2
|
||||
try-lock-0.2.3
|
||||
tui-0.15.0
|
||||
typed-arena-1.7.0
|
||||
typenum-1.14.0
|
||||
ucd-trie-0.1.3
|
||||
umask-1.0.0
|
||||
unicase-2.6.0
|
||||
unicode-bidi-0.3.7
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.8.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
unsafe_unwrap-0.1.0
|
||||
url-2.2.2
|
||||
user32-sys-0.2.0
|
||||
users-0.11.0
|
||||
utf8parse-0.2.0
|
||||
utf8-width-0.1.5
|
||||
utf-8-0.7.6
|
||||
uuid-0.8.2
|
||||
vcpkg-0.2.15
|
||||
version_check-0.9.3
|
||||
void-1.0.2
|
||||
vte-0.10.1
|
||||
vte_generate_state_changes-0.1.1
|
||||
walkdir-2.3.2
|
||||
want-0.3.0
|
||||
wasi-0.9.0+wasi-snapshot-preview1
|
||||
wasi-0.10.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.78
|
||||
wasm-bindgen-backend-0.2.78
|
||||
wasm-bindgen-futures-0.4.28
|
||||
wasm-bindgen-macro-0.2.78
|
||||
wasm-bindgen-macro-support-0.2.78
|
||||
wasm-bindgen-shared-0.2.78
|
||||
webbrowser-0.5.5
|
||||
web-sys-0.3.55
|
||||
which-4.2.2
|
||||
widestring-0.4.3
|
||||
winapi-0.2.8
|
||||
winapi-0.3.9
|
||||
winapi-build-0.1.1
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
windows-0.9.1
|
||||
windows-sys-0.28.0
|
||||
windows_aarch64_msvc-0.28.0
|
||||
windows_gen-0.9.1
|
||||
windows_i686_gnu-0.28.0
|
||||
windows_i686_msvc-0.28.0
|
||||
windows_macros-0.9.1
|
||||
windows_x86_64_gnu-0.28.0
|
||||
windows_x86_64_msvc-0.28.0
|
||||
winreg-0.7.0
|
||||
x11-2.19.1
|
||||
xmlparser-0.13.3
|
||||
xml-rs-0.8.4
|
||||
yaml-rust-0.4.5
|
||||
zip-0.5.13
|
||||
zstd-0.9.0+zstd.1.5.0
|
||||
zstd-safe-4.1.1+zstd.1.5.0
|
||||
zstd-sys-1.6.1+zstd.1.5.0
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A new type of shell, written in Rust"
|
||||
HOMEPAGE="https://www.nushell.sh"
|
||||
SRC_URI="https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris ${CRATES})"
|
||||
|
||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 CC0-1.0 ISC LGPL-3+ MIT MPL-2.0 Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="+extra"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libgit2-0.99:=
|
||||
dev-libs/oniguruma:=
|
||||
dev-libs/openssl:0=
|
||||
net-libs/libssh2:=
|
||||
net-libs/nghttp2:=
|
||||
net-misc/curl
|
||||
extra? (
|
||||
dev-db/sqlite:3=
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
>=virtual/rust-1.51
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/nu.*"
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export OPENSSL_NO_VENDOR=true
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local myfeatures=(
|
||||
stable
|
||||
$(usev extra)
|
||||
)
|
||||
|
||||
cargo_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --workspace
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
local DOCS=( README.md docs/. )
|
||||
einstalldocs
|
||||
}
|
@ -1,563 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
Inflector-0.11.4
|
||||
addr2line-0.17.0
|
||||
adler-1.0.2
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
alloc-no-stdlib-2.0.3
|
||||
alloc-stdlib-0.2.1
|
||||
ansi-cut-0.2.0
|
||||
ansi-parser-0.8.0
|
||||
ansi_term-0.12.1
|
||||
anyhow-1.0.56
|
||||
arrayvec-0.4.12
|
||||
arrayvec-0.5.2
|
||||
array-init-cursor-0.2.0
|
||||
arrow2-0.10.1
|
||||
arrow-format-0.4.0
|
||||
assert_cmd-2.0.4
|
||||
async-stream-0.3.2
|
||||
async-stream-impl-0.3.2
|
||||
async-trait-0.1.52
|
||||
as-slice-0.1.5
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
backtrace-0.3.64
|
||||
base64-0.13.0
|
||||
bigdecimal-0.3.0
|
||||
bitflags-1.3.2
|
||||
bitmaps-2.1.0
|
||||
bitpacking-0.8.4
|
||||
block-buffer-0.9.0
|
||||
block-buffer-0.10.2
|
||||
brotli-3.3.3
|
||||
brotli-decompressor-2.3.2
|
||||
bstr-0.2.17
|
||||
bumpalo-3.9.1
|
||||
bytemuck-1.8.0
|
||||
bytemuck_derive-1.0.1
|
||||
byteorder-1.4.3
|
||||
bytesize-1.1.0
|
||||
bytes-1.1.0
|
||||
byte-unit-4.0.14
|
||||
bzip2-0.4.3
|
||||
bzip2-sys-0.1.11+1.0.8
|
||||
calamine-0.18.0
|
||||
capnp-0.14.5
|
||||
cc-1.0.73
|
||||
cfg-if-1.0.0
|
||||
chrono-0.4.19
|
||||
chrono-humanize-0.2.1
|
||||
chrono-tz-0.5.3
|
||||
chrono-tz-0.6.1
|
||||
chrono-tz-build-0.0.2
|
||||
codepage-0.1.1
|
||||
comfy-table-5.0.1
|
||||
console-0.15.0
|
||||
const-sha1-0.2.0
|
||||
convert_case-0.4.0
|
||||
core-foundation-0.9.3
|
||||
core-foundation-sys-0.8.3
|
||||
cpufeatures-0.2.1
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.2
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.7
|
||||
crossbeam-utils-0.8.7
|
||||
crossterm-0.23.0
|
||||
crossterm_winapi-0.9.0
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.3
|
||||
cssparser-0.27.2
|
||||
cssparser-macros-0.6.0
|
||||
cstr_core-0.2.5
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
ctor-0.1.21
|
||||
ctrlc-3.2.1
|
||||
cty-0.2.2
|
||||
derive_more-0.99.17
|
||||
dialoguer-0.9.0
|
||||
difflib-0.4.0
|
||||
diff-0.1.12
|
||||
digest-0.9.0
|
||||
digest-0.10.3
|
||||
dirs-4.0.0
|
||||
dirs-next-2.0.0
|
||||
dirs-sys-0.3.6
|
||||
dirs-sys-next-0.1.2
|
||||
doc-comment-0.3.3
|
||||
dtoa-0.4.8
|
||||
dtoa-short-0.3.3
|
||||
dtparse-1.2.0
|
||||
dunce-1.0.2
|
||||
ego-tree-0.6.2
|
||||
either-1.6.1
|
||||
embed-resource-1.7.1
|
||||
eml-parser-0.1.2
|
||||
encode_unicode-0.3.6
|
||||
encoding_rs-0.8.30
|
||||
env_logger-0.7.1
|
||||
env_logger-0.8.4
|
||||
erased-serde-0.3.18
|
||||
errno-0.2.8
|
||||
errno-dragonfly-0.1.2
|
||||
fallible-streaming-iterator-0.1.9
|
||||
fastrand-1.7.0
|
||||
fd-lock-3.0.4
|
||||
filesize-0.2.0
|
||||
flate2-1.0.22
|
||||
fnv-1.0.7
|
||||
foreign-types-0.3.2
|
||||
foreign-types-shared-0.1.1
|
||||
form_urlencoded-1.0.1
|
||||
fs_extra-1.2.0
|
||||
fuchsia-cprng-0.1.1
|
||||
futf-0.1.5
|
||||
futures-0.3.21
|
||||
futures-channel-0.3.21
|
||||
futures-core-0.3.21
|
||||
futures-executor-0.3.21
|
||||
futures-io-0.3.21
|
||||
futures-macro-0.3.21
|
||||
futures-sink-0.3.21
|
||||
futures-task-0.3.21
|
||||
futures-util-0.3.21
|
||||
fxhash-0.2.1
|
||||
generic-array-0.12.4
|
||||
generic-array-0.13.3
|
||||
generic-array-0.14.5
|
||||
getopts-0.2.21
|
||||
getrandom-0.1.16
|
||||
getrandom-0.2.5
|
||||
getset-0.1.2
|
||||
ghost-0.1.2
|
||||
gimli-0.26.1
|
||||
git2-0.13.25
|
||||
gjson-0.8.0
|
||||
glob-0.3.0
|
||||
h2-0.3.12
|
||||
hamcrest2-0.3.0
|
||||
hash32-0.1.1
|
||||
hash32-0.2.1
|
||||
hashbrown-0.11.2
|
||||
hashbrown-0.12.0
|
||||
hash_hasher-2.0.3
|
||||
heapless-0.5.6
|
||||
heapless-0.7.10
|
||||
heck-0.3.3
|
||||
heck-0.4.0
|
||||
hermit-abi-0.1.19
|
||||
hex-0.4.3
|
||||
html5ever-0.25.1
|
||||
htmlescape-0.3.1
|
||||
httparse-1.6.0
|
||||
httpdate-1.0.2
|
||||
http-0.2.6
|
||||
http-body-0.4.4
|
||||
humantime-1.3.0
|
||||
hyper-0.14.17
|
||||
hyper-tls-0.5.0
|
||||
ical-0.7.0
|
||||
idna-0.2.3
|
||||
im-15.0.0
|
||||
indexmap-1.8.0
|
||||
instant-0.1.12
|
||||
integer-encoding-3.0.3
|
||||
inventory-0.2.2
|
||||
io-lifetimes-0.5.3
|
||||
ipnet-2.4.0
|
||||
is_ci-1.1.1
|
||||
is_debug-1.0.1
|
||||
is_executable-1.0.1
|
||||
itertools-0.10.3
|
||||
itoa-0.4.8
|
||||
itoa-1.0.1
|
||||
jobserver-0.1.24
|
||||
js-sys-0.3.56
|
||||
lazy_static-1.4.0
|
||||
lexical-6.1.0
|
||||
lexical-core-0.8.3
|
||||
lexical-parse-float-0.8.3
|
||||
lexical-parse-integer-0.8.3
|
||||
lexical-util-0.8.3
|
||||
lexical-write-float-0.8.3
|
||||
lexical-write-integer-0.8.3
|
||||
libc-0.2.119
|
||||
libgit2-sys-0.12.26+1.3.0
|
||||
libm-0.2.2
|
||||
libproc-0.10.0
|
||||
libssh2-sys-0.2.23
|
||||
libz-sys-1.1.5
|
||||
linked-hash-map-0.5.4
|
||||
linux-raw-sys-0.0.42
|
||||
lock_api-0.4.6
|
||||
log-0.4.14
|
||||
lscolors-0.9.0
|
||||
lz4-1.23.3
|
||||
lz4-sys-1.9.3
|
||||
mac-0.1.1
|
||||
malloc_buf-0.0.6
|
||||
markup5ever-0.10.1
|
||||
matches-0.1.9
|
||||
md-5-0.10.1
|
||||
memchr-2.4.1
|
||||
memmap2-0.5.3
|
||||
memoffset-0.6.5
|
||||
meval-0.2.0
|
||||
miette-4.2.1
|
||||
miette-derive-4.2.1
|
||||
mime-0.3.16
|
||||
miniz_oxide-0.4.4
|
||||
miow-0.3.7
|
||||
mio-0.7.14
|
||||
mio-0.8.0
|
||||
multiversion-0.6.1
|
||||
multiversion-macros-0.6.1
|
||||
native-tls-0.2.8
|
||||
new_debug_unreachable-1.0.4
|
||||
nix-0.23.1
|
||||
nodrop-0.1.14
|
||||
nom-1.2.4
|
||||
nom-4.2.3
|
||||
ntapi-0.3.7
|
||||
num-0.2.1
|
||||
num-0.4.0
|
||||
num-bigint-0.2.6
|
||||
num-bigint-0.4.3
|
||||
num-complex-0.2.4
|
||||
num-complex-0.4.0
|
||||
num-format-0.4.0
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.2.4
|
||||
num-rational-0.4.0
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.1
|
||||
nu-ansi-term-0.45.0
|
||||
objc-0.2.7
|
||||
object-0.27.1
|
||||
once_cell-1.10.0
|
||||
opaque-debug-0.3.0
|
||||
openssl-0.10.38
|
||||
openssl-probe-0.1.5
|
||||
openssl-sys-0.9.72
|
||||
ordered-float-1.1.1
|
||||
output_vt100-0.1.3
|
||||
overload-0.1.1
|
||||
owo-colors-3.2.0
|
||||
parking_lot-0.11.2
|
||||
parking_lot-0.12.0
|
||||
parking_lot_core-0.8.5
|
||||
parking_lot_core-0.9.1
|
||||
parquet2-0.10.3
|
||||
parquet-format-async-temp-0.2.0
|
||||
parse-zoneinfo-0.3.0
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.1.0
|
||||
peresil-0.3.0
|
||||
pest-2.1.3
|
||||
phf-0.8.0
|
||||
phf-0.10.1
|
||||
phf_codegen-0.8.0
|
||||
phf_codegen-0.10.0
|
||||
phf_generator-0.8.0
|
||||
phf_generator-0.10.0
|
||||
phf_macros-0.8.0
|
||||
phf_shared-0.8.0
|
||||
phf_shared-0.10.0
|
||||
pin-project-lite-0.2.8
|
||||
pin-utils-0.1.0
|
||||
pkg-config-0.3.24
|
||||
planus-0.2.0
|
||||
polars-0.20.0
|
||||
polars-arrow-0.20.0
|
||||
polars-core-0.20.0
|
||||
polars-io-0.20.0
|
||||
polars-lazy-0.20.0
|
||||
polars-time-0.20.0
|
||||
polars-utils-0.20.0
|
||||
ppv-lite86-0.2.16
|
||||
precomputed-hash-0.1.1
|
||||
predicates-2.1.1
|
||||
predicates-core-1.0.3
|
||||
predicates-tree-1.0.5
|
||||
pretty_assertions-1.1.0
|
||||
pretty_env_logger-0.4.0
|
||||
procfs-0.12.0
|
||||
proc-macro2-1.0.36
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro-hack-0.5.19
|
||||
quickcheck-1.0.3
|
||||
quickcheck_macros-1.0.0
|
||||
quick-error-1.2.3
|
||||
quick-xml-0.19.0
|
||||
quick-xml-0.22.0
|
||||
quote-1.0.15
|
||||
rand-0.4.6
|
||||
rand-0.7.3
|
||||
rand-0.8.5
|
||||
rand_chacha-0.2.2
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.3.1
|
||||
rand_core-0.4.2
|
||||
rand_core-0.5.1
|
||||
rand_core-0.6.3
|
||||
rand_distr-0.4.3
|
||||
rand_hc-0.2.0
|
||||
rand_pcg-0.2.1
|
||||
rand_xoshiro-0.4.0
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
rdrand-0.4.0
|
||||
redox_syscall-0.2.11
|
||||
redox_users-0.4.0
|
||||
reedline-0.3.0
|
||||
regex-1.5.5
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
remove_dir_all-0.5.3
|
||||
reqwest-0.11.9
|
||||
result-1.0.0
|
||||
roxmltree-0.14.1
|
||||
rstest-0.12.0
|
||||
rustc-demangle-0.1.21
|
||||
rustc_version-0.4.0
|
||||
rustix-0.33.4
|
||||
rustversion-1.0.6
|
||||
rust-embed-6.3.0
|
||||
rust-embed-impl-6.2.0
|
||||
rust-embed-utils-7.1.0
|
||||
rust_decimal-0.10.2
|
||||
ryu-1.0.9
|
||||
same-file-1.0.6
|
||||
schannel-0.1.19
|
||||
scopeguard-1.1.0
|
||||
scraper-0.12.0
|
||||
security-framework-2.6.1
|
||||
security-framework-sys-2.6.1
|
||||
selectors-0.22.0
|
||||
semver-0.11.0
|
||||
semver-1.0.6
|
||||
semver-parser-0.10.2
|
||||
serde-1.0.136
|
||||
serde_derive-1.0.136
|
||||
serde_ini-0.2.0
|
||||
serde_json-1.0.79
|
||||
serde_test-1.0.136
|
||||
serde_urlencoded-0.7.1
|
||||
serde_yaml-0.8.23
|
||||
serial_test-0.5.1
|
||||
serial_test_derive-0.5.1
|
||||
servo_arc-0.1.1
|
||||
sha2-0.9.9
|
||||
sha2-0.10.2
|
||||
shadow-rs-0.8.1
|
||||
signal-hook-0.3.13
|
||||
signal-hook-mio-0.2.1
|
||||
signal-hook-registry-1.4.0
|
||||
simdutf8-0.1.3
|
||||
siphasher-0.3.10
|
||||
sized-chunks-0.6.5
|
||||
slab-0.4.5
|
||||
smallvec-1.8.0
|
||||
smawk-0.3.1
|
||||
snap-1.0.5
|
||||
socket2-0.4.4
|
||||
spin-0.9.2
|
||||
stable_deref_trait-1.2.0
|
||||
static_assertions-1.1.0
|
||||
streaming-decompression-0.1.0
|
||||
streaming-iterator-0.1.5
|
||||
strength_reduce-0.2.3
|
||||
string_cache-0.8.3
|
||||
string_cache_codegen-0.5.1
|
||||
strip-ansi-escapes-0.1.1
|
||||
strum-0.23.0
|
||||
strum-0.24.0
|
||||
strum_macros-0.23.1
|
||||
strum_macros-0.24.0
|
||||
supports-color-1.3.0
|
||||
supports-hyperlinks-1.2.0
|
||||
supports-unicode-1.0.2
|
||||
sxd-document-0.3.2
|
||||
sxd-xpath-0.4.2
|
||||
syn-1.0.86
|
||||
sysinfo-0.23.5
|
||||
sys-locale-0.1.0
|
||||
tempdir-0.3.7
|
||||
tempfile-3.3.0
|
||||
tendril-0.4.2
|
||||
termcolor-1.1.3
|
||||
terminal_size-0.1.17
|
||||
termtree-0.2.4
|
||||
textwrap-0.14.2
|
||||
thin-slice-0.1.1
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
time-0.1.44
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
titlecase-1.1.0
|
||||
tokio-1.17.0
|
||||
tokio-native-tls-0.3.0
|
||||
tokio-util-0.6.9
|
||||
toml-0.5.8
|
||||
tower-service-0.3.1
|
||||
tracing-0.1.32
|
||||
tracing-core-0.1.23
|
||||
trash-2.0.4
|
||||
try-lock-0.2.3
|
||||
typed-arena-1.7.0
|
||||
typenum-1.15.0
|
||||
typetag-0.1.8
|
||||
typetag-impl-0.1.8
|
||||
ucd-trie-0.1.3
|
||||
umask-1.0.1
|
||||
uncased-0.9.6
|
||||
unicode-bidi-0.3.7
|
||||
unicode-linebreak-0.1.2
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.9.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
users-0.11.0
|
||||
utf8parse-0.2.0
|
||||
utf8-width-0.1.5
|
||||
utf-8-0.7.6
|
||||
uuid-0.8.2
|
||||
vcpkg-0.2.15
|
||||
version_check-0.1.5
|
||||
version_check-0.9.4
|
||||
void-1.0.2
|
||||
vswhom-0.1.0
|
||||
vswhom-sys-0.1.1
|
||||
vte-0.10.1
|
||||
vte_generate_state_changes-0.1.1
|
||||
wait-timeout-0.2.0
|
||||
walkdir-2.3.2
|
||||
want-0.3.0
|
||||
wasi-0.9.0+wasi-snapshot-preview1
|
||||
wasi-0.10.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.79
|
||||
wasm-bindgen-backend-0.2.79
|
||||
wasm-bindgen-futures-0.4.29
|
||||
wasm-bindgen-macro-0.2.79
|
||||
wasm-bindgen-macro-support-0.2.79
|
||||
wasm-bindgen-shared-0.2.79
|
||||
web-sys-0.3.56
|
||||
which-4.2.4
|
||||
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
|
||||
windows-0.9.1
|
||||
windows-sys-0.30.0
|
||||
windows-sys-0.32.0
|
||||
windows_aarch64_msvc-0.30.0
|
||||
windows_aarch64_msvc-0.32.0
|
||||
windows_gen-0.9.1
|
||||
windows_i686_gnu-0.30.0
|
||||
windows_i686_gnu-0.32.0
|
||||
windows_i686_msvc-0.30.0
|
||||
windows_i686_msvc-0.32.0
|
||||
windows_macros-0.9.1
|
||||
windows_x86_64_gnu-0.30.0
|
||||
windows_x86_64_gnu-0.32.0
|
||||
windows_x86_64_msvc-0.30.0
|
||||
windows_x86_64_msvc-0.32.0
|
||||
winreg-0.7.0
|
||||
winreg-0.10.1
|
||||
xmlparser-0.13.3
|
||||
yaml-rust-0.4.5
|
||||
zeroize-1.5.3
|
||||
zip-0.5.13
|
||||
zstd-0.10.0+zstd.1.5.2
|
||||
zstd-safe-4.1.4+zstd.1.5.2
|
||||
zstd-sys-1.6.3+zstd.1.5.2
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A new type of shell, written in Rust"
|
||||
HOMEPAGE="https://www.nushell.sh"
|
||||
SRC_URI="https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="+extra"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libgit2-0.99:=
|
||||
dev-libs/oniguruma:=
|
||||
dev-libs/openssl:0=
|
||||
net-libs/libssh2:=
|
||||
net-libs/nghttp2:=
|
||||
net-misc/curl
|
||||
extra? (
|
||||
dev-db/sqlite:3=
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
>=virtual/rust-1.51
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/nu.*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if has_version -b '<virtual/rust-1.59.0'; then
|
||||
# This can be dropped once Rust 1.59.0 is stable, but when we drop this we should update the
|
||||
# BDEPEND to require 1.59.0 as well.
|
||||
sed -i '/^strip = .*/d' Cargo.toml || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export OPENSSL_NO_VENDOR=true
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local myfeatures=(
|
||||
stable
|
||||
$(usev extra)
|
||||
)
|
||||
|
||||
cargo_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --workspace
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://github.com/nushell/nushell/issues/4900
|
||||
export -n PORTAGE_COLORMAP
|
||||
|
||||
cargo_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
local DOCS=( README.md docs/. )
|
||||
einstalldocs
|
||||
}
|
@ -1,573 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
Inflector-0.11.4
|
||||
addr2line-0.17.0
|
||||
adler-1.0.2
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
alloc-no-stdlib-2.0.3
|
||||
alloc-stdlib-0.2.1
|
||||
ansi-cut-0.2.0
|
||||
ansi-parser-0.8.0
|
||||
ansi_term-0.12.1
|
||||
anyhow-1.0.56
|
||||
arrayvec-0.4.12
|
||||
arrayvec-0.5.2
|
||||
arrayvec-0.7.2
|
||||
array-init-cursor-0.2.0
|
||||
arrow2-0.10.1
|
||||
arrow-format-0.4.0
|
||||
assert_cmd-2.0.4
|
||||
async-stream-0.3.3
|
||||
async-stream-impl-0.3.3
|
||||
async-trait-0.1.53
|
||||
as-slice-0.1.5
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
backtrace-0.3.64
|
||||
base64-0.13.0
|
||||
bitflags-1.3.2
|
||||
bitpacking-0.8.4
|
||||
block-buffer-0.9.0
|
||||
block-buffer-0.10.2
|
||||
brotli-3.3.3
|
||||
brotli-decompressor-2.3.2
|
||||
brownstone-1.1.0
|
||||
bstr-0.2.17
|
||||
bumpalo-3.9.1
|
||||
bytemuck-1.8.0
|
||||
bytemuck_derive-1.0.1
|
||||
byteorder-1.4.3
|
||||
bytesize-1.1.0
|
||||
bytes-1.1.0
|
||||
byte-unit-4.0.14
|
||||
bzip2-0.4.3
|
||||
bzip2-sys-0.1.11+1.0.8
|
||||
calamine-0.18.0
|
||||
capnp-0.14.6
|
||||
cc-1.0.73
|
||||
cfg-if-1.0.0
|
||||
chrono-0.4.19
|
||||
chrono-humanize-0.2.1
|
||||
chrono-tz-0.5.3
|
||||
chrono-tz-0.6.1
|
||||
chrono-tz-build-0.0.2
|
||||
codepage-0.1.1
|
||||
comfy-table-5.0.1
|
||||
console-0.15.0
|
||||
const-sha1-0.2.0
|
||||
const_format-0.2.22
|
||||
const_format_proc_macros-0.2.22
|
||||
convert_case-0.4.0
|
||||
core-foundation-0.9.3
|
||||
core-foundation-sys-0.8.3
|
||||
cpufeatures-0.2.2
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.4
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.8
|
||||
crossbeam-utils-0.8.8
|
||||
crossterm-0.23.1
|
||||
crossterm_winapi-0.9.0
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.3
|
||||
cssparser-0.27.2
|
||||
cssparser-macros-0.6.0
|
||||
cstr_core-0.2.5
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
ctor-0.1.22
|
||||
ctrlc-3.2.1
|
||||
cty-0.2.2
|
||||
derive_more-0.99.17
|
||||
dialoguer-0.9.0
|
||||
difflib-0.4.0
|
||||
diff-0.1.12
|
||||
digest-0.9.0
|
||||
digest-0.10.3
|
||||
dirs-4.0.0
|
||||
dirs-next-2.0.0
|
||||
dirs-sys-0.3.7
|
||||
dirs-sys-next-0.1.2
|
||||
doc-comment-0.3.3
|
||||
dtoa-0.4.8
|
||||
dtoa-short-0.3.3
|
||||
dtparse-1.2.0
|
||||
dunce-1.0.2
|
||||
ego-tree-0.6.2
|
||||
either-1.6.1
|
||||
embed-resource-1.7.1
|
||||
eml-parser-0.1.3
|
||||
encode_unicode-0.3.6
|
||||
encoding_rs-0.8.30
|
||||
env_logger-0.7.1
|
||||
env_logger-0.8.4
|
||||
erased-serde-0.3.20
|
||||
errno-0.2.8
|
||||
errno-dragonfly-0.1.2
|
||||
fallible-streaming-iterator-0.1.9
|
||||
fastrand-1.7.0
|
||||
fd-lock-3.0.5
|
||||
filesize-0.2.0
|
||||
filetime-0.2.15
|
||||
flate2-1.0.22
|
||||
fnv-1.0.7
|
||||
foreign-types-0.3.2
|
||||
foreign-types-shared-0.1.1
|
||||
form_urlencoded-1.0.1
|
||||
fs_extra-1.2.0
|
||||
fuchsia-cprng-0.1.1
|
||||
futf-0.1.5
|
||||
futures-0.3.21
|
||||
futures-channel-0.3.21
|
||||
futures-core-0.3.21
|
||||
futures-executor-0.3.21
|
||||
futures-io-0.3.21
|
||||
futures-macro-0.3.21
|
||||
futures-sink-0.3.21
|
||||
futures-task-0.3.21
|
||||
futures-util-0.3.21
|
||||
fxhash-0.2.1
|
||||
generic-array-0.12.4
|
||||
generic-array-0.13.3
|
||||
generic-array-0.14.5
|
||||
getopts-0.2.21
|
||||
getrandom-0.1.16
|
||||
getrandom-0.2.5
|
||||
getset-0.1.2
|
||||
ghost-0.1.2
|
||||
gimli-0.26.1
|
||||
git2-0.14.2
|
||||
gjson-0.8.0
|
||||
glob-0.3.0
|
||||
h2-0.3.12
|
||||
hamcrest2-0.3.0
|
||||
hash32-0.1.1
|
||||
hash32-0.2.1
|
||||
hashbrown-0.11.2
|
||||
hashbrown-0.12.0
|
||||
hash_hasher-2.0.3
|
||||
heapless-0.5.6
|
||||
heapless-0.7.10
|
||||
heck-0.3.3
|
||||
heck-0.4.0
|
||||
hermit-abi-0.1.19
|
||||
hex-0.4.3
|
||||
html5ever-0.25.2
|
||||
htmlescape-0.3.1
|
||||
httparse-1.6.0
|
||||
httpdate-1.0.2
|
||||
http-0.2.6
|
||||
http-body-0.4.4
|
||||
humantime-1.3.0
|
||||
hyper-0.14.18
|
||||
hyper-tls-0.5.0
|
||||
ical-0.7.0
|
||||
idna-0.2.3
|
||||
indent_write-2.2.0
|
||||
indexmap-1.8.0
|
||||
instant-0.1.12
|
||||
integer-encoding-3.0.3
|
||||
inventory-0.2.2
|
||||
io-lifetimes-0.6.1
|
||||
ipnet-2.4.0
|
||||
is_ci-1.1.1
|
||||
is_debug-1.0.1
|
||||
is_executable-1.0.1
|
||||
itertools-0.10.3
|
||||
itoa-0.4.8
|
||||
itoa-1.0.1
|
||||
jobserver-0.1.24
|
||||
joinery-2.1.0
|
||||
js-sys-0.3.56
|
||||
lazy_static-1.4.0
|
||||
lexical-6.1.0
|
||||
lexical-core-0.8.3
|
||||
lexical-parse-float-0.8.3
|
||||
lexical-parse-integer-0.8.3
|
||||
lexical-util-0.8.3
|
||||
lexical-write-float-0.8.4
|
||||
lexical-write-integer-0.8.3
|
||||
libc-0.2.121
|
||||
libgit2-sys-0.13.2+1.4.2
|
||||
libm-0.2.2
|
||||
libproc-0.10.0
|
||||
libssh2-sys-0.2.23
|
||||
libz-sys-1.1.5
|
||||
linked-hash-map-0.5.4
|
||||
linux-raw-sys-0.0.42
|
||||
lock_api-0.4.6
|
||||
log-0.4.16
|
||||
lscolors-0.9.0
|
||||
lz4-1.23.3
|
||||
lz4-sys-1.9.3
|
||||
mac-0.1.1
|
||||
malloc_buf-0.0.6
|
||||
markup5ever-0.10.1
|
||||
matches-0.1.9
|
||||
md-5-0.10.1
|
||||
memchr-2.4.1
|
||||
memmap2-0.5.3
|
||||
memoffset-0.6.5
|
||||
meval-0.2.0
|
||||
miette-3.3.0
|
||||
miette-4.4.0
|
||||
miette-derive-3.3.0
|
||||
miette-derive-4.4.0
|
||||
mime-0.3.16
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.4.4
|
||||
miow-0.3.7
|
||||
mio-0.7.14
|
||||
mio-0.8.2
|
||||
multiversion-0.6.1
|
||||
multiversion-macros-0.6.1
|
||||
native-tls-0.2.8
|
||||
new_debug_unreachable-1.0.4
|
||||
nix-0.23.1
|
||||
nodrop-0.1.14
|
||||
nom-1.2.4
|
||||
nom-4.2.3
|
||||
nom-7.1.1
|
||||
nom-supreme-0.6.0
|
||||
ntapi-0.3.7
|
||||
num-0.2.1
|
||||
num-0.4.0
|
||||
num-bigint-0.2.6
|
||||
num-bigint-0.4.3
|
||||
num-complex-0.2.4
|
||||
num-complex-0.4.0
|
||||
num-format-0.4.0
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.2.4
|
||||
num-rational-0.4.0
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.1
|
||||
nu-ansi-term-0.45.1
|
||||
objc-0.2.7
|
||||
object-0.27.1
|
||||
once_cell-1.10.0
|
||||
opaque-debug-0.3.0
|
||||
openssl-0.10.38
|
||||
openssl-probe-0.1.5
|
||||
openssl-sys-0.9.72
|
||||
ordered-float-1.1.1
|
||||
output_vt100-0.1.3
|
||||
overload-0.1.1
|
||||
owo-colors-3.3.0
|
||||
parking_lot-0.11.2
|
||||
parking_lot-0.12.0
|
||||
parking_lot_core-0.8.5
|
||||
parking_lot_core-0.9.1
|
||||
parquet2-0.10.3
|
||||
parquet-format-async-temp-0.2.0
|
||||
parse-zoneinfo-0.3.0
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.1.0
|
||||
peresil-0.3.0
|
||||
pest-2.1.3
|
||||
phf-0.8.0
|
||||
phf-0.10.1
|
||||
phf_codegen-0.8.0
|
||||
phf_codegen-0.10.0
|
||||
phf_generator-0.8.0
|
||||
phf_generator-0.10.0
|
||||
phf_macros-0.8.0
|
||||
phf_shared-0.8.0
|
||||
phf_shared-0.10.0
|
||||
pin-project-lite-0.2.8
|
||||
pin-utils-0.1.0
|
||||
pkg-config-0.3.24
|
||||
planus-0.2.0
|
||||
polars-0.20.0
|
||||
polars-arrow-0.20.0
|
||||
polars-core-0.20.0
|
||||
polars-io-0.20.0
|
||||
polars-lazy-0.20.0
|
||||
polars-time-0.20.0
|
||||
polars-utils-0.20.0
|
||||
pori-0.0.0
|
||||
ppv-lite86-0.2.16
|
||||
precomputed-hash-0.1.1
|
||||
predicates-2.1.1
|
||||
predicates-core-1.0.3
|
||||
predicates-tree-1.0.5
|
||||
pretty_assertions-1.2.0
|
||||
pretty_env_logger-0.4.0
|
||||
procfs-0.12.0
|
||||
proc-macro2-1.0.36
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro-hack-0.5.19
|
||||
quickcheck-1.0.3
|
||||
quickcheck_macros-1.0.0
|
||||
quick-error-1.2.3
|
||||
quick-xml-0.19.0
|
||||
quick-xml-0.22.0
|
||||
quote-1.0.17
|
||||
rand-0.4.6
|
||||
rand-0.7.3
|
||||
rand-0.8.5
|
||||
rand_chacha-0.2.2
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.3.1
|
||||
rand_core-0.4.2
|
||||
rand_core-0.5.1
|
||||
rand_core-0.6.3
|
||||
rand_distr-0.4.3
|
||||
rand_hc-0.2.0
|
||||
rand_pcg-0.2.1
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
rdrand-0.4.0
|
||||
redox_syscall-0.2.12
|
||||
redox_users-0.4.2
|
||||
reedline-0.4.0
|
||||
regex-1.5.5
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
remove_dir_all-0.5.3
|
||||
reqwest-0.11.10
|
||||
result-1.0.0
|
||||
roxmltree-0.14.1
|
||||
rstest-0.12.0
|
||||
rustc-demangle-0.1.21
|
||||
rustc_version-0.4.0
|
||||
rustix-0.34.1
|
||||
rustversion-1.0.6
|
||||
rust-embed-6.3.0
|
||||
rust-embed-impl-6.2.0
|
||||
rust-embed-utils-7.1.0
|
||||
rust_decimal-0.10.2
|
||||
ryu-1.0.9
|
||||
same-file-1.0.6
|
||||
schannel-0.1.19
|
||||
scopeguard-1.1.0
|
||||
scraper-0.12.0
|
||||
security-framework-2.6.1
|
||||
security-framework-sys-2.6.1
|
||||
selectors-0.22.0
|
||||
semver-0.11.0
|
||||
semver-1.0.6
|
||||
semver-parser-0.10.2
|
||||
serde-1.0.136
|
||||
serde_derive-1.0.136
|
||||
serde_ini-0.2.0
|
||||
serde_json-1.0.79
|
||||
serde_test-1.0.136
|
||||
serde_urlencoded-0.7.1
|
||||
serde_yaml-0.8.23
|
||||
serial_test-0.5.1
|
||||
serial_test_derive-0.5.1
|
||||
servo_arc-0.1.1
|
||||
sha2-0.9.9
|
||||
sha2-0.10.2
|
||||
shadow-rs-0.11.0
|
||||
signal-hook-0.3.13
|
||||
signal-hook-mio-0.2.1
|
||||
signal-hook-registry-1.4.0
|
||||
simdutf8-0.1.3
|
||||
siphasher-0.3.10
|
||||
slab-0.4.5
|
||||
smallvec-1.8.0
|
||||
smawk-0.3.1
|
||||
snap-1.0.5
|
||||
socket2-0.4.4
|
||||
spin-0.9.2
|
||||
stable_deref_trait-1.2.0
|
||||
static_assertions-1.1.0
|
||||
streaming-decompression-0.1.0
|
||||
streaming-iterator-0.1.5
|
||||
strength_reduce-0.2.3
|
||||
string_cache-0.8.3
|
||||
string_cache_codegen-0.5.1
|
||||
strip-ansi-escapes-0.1.1
|
||||
strum-0.23.0
|
||||
strum-0.24.0
|
||||
strum_macros-0.23.1
|
||||
strum_macros-0.24.0
|
||||
supports-color-1.3.0
|
||||
supports-hyperlinks-1.2.0
|
||||
supports-unicode-1.0.2
|
||||
sxd-document-0.3.2
|
||||
sxd-xpath-0.4.2
|
||||
syn-1.0.89
|
||||
sysinfo-0.23.5
|
||||
sys-locale-0.2.0
|
||||
tempdir-0.3.7
|
||||
tempfile-3.3.0
|
||||
tendril-0.4.2
|
||||
termcolor-1.1.3
|
||||
terminal_size-0.1.17
|
||||
termtree-0.2.4
|
||||
textwrap-0.15.0
|
||||
thin-slice-0.1.1
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
time-0.1.44
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
titlecase-1.1.0
|
||||
tokio-1.17.0
|
||||
tokio-native-tls-0.3.0
|
||||
tokio-util-0.6.9
|
||||
toml-0.5.8
|
||||
tower-service-0.3.1
|
||||
tracing-0.1.32
|
||||
tracing-core-0.1.23
|
||||
trash-2.0.4
|
||||
try-lock-0.2.3
|
||||
typed-arena-1.7.0
|
||||
typenum-1.15.0
|
||||
typetag-0.1.8
|
||||
typetag-impl-0.1.8
|
||||
ucd-trie-0.1.3
|
||||
umask-1.0.1
|
||||
uncased-0.9.6
|
||||
unicode-bidi-0.3.7
|
||||
unicode-linebreak-0.1.2
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.9.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
users-0.11.0
|
||||
utf8parse-0.2.0
|
||||
utf8-width-0.1.6
|
||||
utf-8-0.7.6
|
||||
uuid-0.8.2
|
||||
vcpkg-0.2.15
|
||||
vec1-1.8.0
|
||||
version_check-0.1.5
|
||||
version_check-0.9.4
|
||||
void-1.0.2
|
||||
vswhom-0.1.0
|
||||
vswhom-sys-0.1.1
|
||||
vte-0.10.1
|
||||
vte_generate_state_changes-0.1.1
|
||||
wait-timeout-0.2.0
|
||||
walkdir-2.3.2
|
||||
want-0.3.0
|
||||
wasi-0.9.0+wasi-snapshot-preview1
|
||||
wasi-0.10.0+wasi-snapshot-preview1
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.79
|
||||
wasm-bindgen-backend-0.2.79
|
||||
wasm-bindgen-futures-0.4.29
|
||||
wasm-bindgen-macro-0.2.79
|
||||
wasm-bindgen-macro-support-0.2.79
|
||||
wasm-bindgen-shared-0.2.79
|
||||
wax-0.4.0
|
||||
web-sys-0.3.56
|
||||
which-4.2.5
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
windows-0.9.1
|
||||
windows-sys-0.30.0
|
||||
windows-sys-0.32.0
|
||||
windows_aarch64_msvc-0.30.0
|
||||
windows_aarch64_msvc-0.32.0
|
||||
windows_gen-0.9.1
|
||||
windows_i686_gnu-0.30.0
|
||||
windows_i686_gnu-0.32.0
|
||||
windows_i686_msvc-0.30.0
|
||||
windows_i686_msvc-0.32.0
|
||||
windows_macros-0.9.1
|
||||
windows_x86_64_gnu-0.30.0
|
||||
windows_x86_64_gnu-0.32.0
|
||||
windows_x86_64_msvc-0.30.0
|
||||
windows_x86_64_msvc-0.32.0
|
||||
winreg-0.10.1
|
||||
xmlparser-0.13.3
|
||||
yaml-rust-0.4.5
|
||||
zeroize-1.5.4
|
||||
zip-0.5.13
|
||||
zstd-0.10.0+zstd.1.5.2
|
||||
zstd-safe-4.1.4+zstd.1.5.2
|
||||
zstd-sys-1.6.3+zstd.1.5.2
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A new type of shell, written in Rust"
|
||||
HOMEPAGE="https://www.nushell.sh"
|
||||
SRC_URI="https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="+extra"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libgit2-0.99:=
|
||||
dev-libs/oniguruma:=
|
||||
dev-libs/openssl:0=
|
||||
net-libs/libssh2:=
|
||||
net-libs/nghttp2:=
|
||||
net-misc/curl
|
||||
extra? (
|
||||
dev-db/sqlite:3=
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
>=virtual/rust-1.51
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/nu.*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if has_version -b '<virtual/rust-1.59.0'; then
|
||||
# This can be dropped once Rust 1.59.0 is stable, but when we drop this we should update the
|
||||
# BDEPEND to require 1.59.0 as well.
|
||||
sed -i '/^strip = .*/d' Cargo.toml || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export OPENSSL_NO_VENDOR=true
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local myfeatures=(
|
||||
stable
|
||||
$(usev extra)
|
||||
)
|
||||
|
||||
cargo_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --workspace
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://github.com/nushell/nushell/issues/4900
|
||||
export -n PORTAGE_COLORMAP
|
||||
|
||||
cargo_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
local DOCS=( README.md docs/. )
|
||||
einstalldocs
|
||||
}
|
@ -1,603 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
Inflector-0.11.4
|
||||
addr2line-0.17.0
|
||||
adler-1.0.2
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
alloc-no-stdlib-2.0.3
|
||||
alloc-stdlib-0.2.1
|
||||
ansi-parser-0.8.0
|
||||
ansi-str-0.1.1
|
||||
ansi_term-0.12.1
|
||||
anyhow-1.0.56
|
||||
arrayvec-0.4.12
|
||||
arrayvec-0.5.2
|
||||
arrayvec-0.7.2
|
||||
array-init-cursor-0.2.0
|
||||
arrow2-0.10.1
|
||||
arrow-format-0.4.0
|
||||
assert_cmd-2.0.4
|
||||
async-stream-0.3.3
|
||||
async-stream-impl-0.3.3
|
||||
async-trait-0.1.53
|
||||
as-slice-0.1.5
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
backtrace-0.3.64
|
||||
base64-0.13.0
|
||||
bitflags-1.3.2
|
||||
bitpacking-0.8.4
|
||||
block-buffer-0.9.0
|
||||
block-buffer-0.10.2
|
||||
brotli-3.3.4
|
||||
brotli-decompressor-2.3.2
|
||||
brownstone-1.1.0
|
||||
bstr-0.2.17
|
||||
bumpalo-3.9.1
|
||||
bytemuck-1.9.1
|
||||
bytemuck_derive-1.1.0
|
||||
byteorder-1.4.3
|
||||
bytesize-1.1.0
|
||||
bytes-1.1.0
|
||||
byte-unit-4.0.14
|
||||
calamine-0.18.0
|
||||
capnp-0.14.6
|
||||
cc-1.0.73
|
||||
cfg-if-0.1.10
|
||||
cfg-if-1.0.0
|
||||
chrono-0.4.19
|
||||
chrono-humanize-0.2.1
|
||||
chrono-tz-0.5.3
|
||||
chrono-tz-0.6.1
|
||||
chrono-tz-build-0.0.2
|
||||
codepage-0.1.1
|
||||
comfy-table-5.0.1
|
||||
console-0.15.0
|
||||
const-sha1-0.2.0
|
||||
const_format-0.2.22
|
||||
const_format_proc_macros-0.2.22
|
||||
convert_case-0.4.0
|
||||
core-foundation-0.9.3
|
||||
core-foundation-sys-0.8.3
|
||||
cpufeatures-0.2.2
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.4
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.8
|
||||
crossbeam-utils-0.8.8
|
||||
crossterm-0.23.2
|
||||
crossterm_winapi-0.9.0
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.3
|
||||
cssparser-0.27.2
|
||||
cssparser-macros-0.6.0
|
||||
cstr_core-0.2.5
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
ctor-0.1.22
|
||||
ctrlc-3.2.1
|
||||
cty-0.2.2
|
||||
derive_more-0.99.17
|
||||
dialoguer-0.9.0
|
||||
difflib-0.4.0
|
||||
diff-0.1.12
|
||||
digest-0.9.0
|
||||
digest-0.10.3
|
||||
dirs-4.0.0
|
||||
dirs-next-2.0.0
|
||||
dirs-sys-0.3.7
|
||||
dirs-sys-next-0.1.2
|
||||
doc-comment-0.3.3
|
||||
dtoa-0.4.8
|
||||
dtoa-short-0.3.3
|
||||
dtparse-1.2.0
|
||||
dunce-1.0.2
|
||||
ego-tree-0.6.2
|
||||
either-1.6.1
|
||||
embed-resource-1.7.2
|
||||
eml-parser-0.1.3
|
||||
encode_unicode-0.3.6
|
||||
encoding_rs-0.8.31
|
||||
env_logger-0.7.1
|
||||
env_logger-0.8.4
|
||||
erased-serde-0.3.20
|
||||
errno-0.2.8
|
||||
errno-dragonfly-0.1.2
|
||||
failure-0.1.8
|
||||
failure_derive-0.1.8
|
||||
fallible-iterator-0.2.0
|
||||
fallible-streaming-iterator-0.1.9
|
||||
fastrand-1.7.0
|
||||
fd-lock-3.0.5
|
||||
filesize-0.2.0
|
||||
filetime-0.2.15
|
||||
flate2-1.0.23
|
||||
fnv-1.0.7
|
||||
foreign-types-0.3.2
|
||||
foreign-types-shared-0.1.1
|
||||
form_urlencoded-1.0.1
|
||||
fsevent-0.4.0
|
||||
fsevent-sys-2.0.1
|
||||
fs_extra-1.2.0
|
||||
fuchsia-cprng-0.1.1
|
||||
fuchsia-zircon-0.3.3
|
||||
fuchsia-zircon-sys-0.3.3
|
||||
futf-0.1.5
|
||||
futures-0.3.21
|
||||
futures-channel-0.3.21
|
||||
futures-core-0.3.21
|
||||
futures-executor-0.3.21
|
||||
futures-io-0.3.21
|
||||
futures-macro-0.3.21
|
||||
futures-sink-0.3.21
|
||||
futures-task-0.3.21
|
||||
futures-util-0.3.21
|
||||
fuzzy-matcher-0.3.7
|
||||
fxhash-0.2.1
|
||||
generic-array-0.12.4
|
||||
generic-array-0.13.3
|
||||
generic-array-0.14.5
|
||||
getopts-0.2.21
|
||||
getrandom-0.1.16
|
||||
getrandom-0.2.6
|
||||
getset-0.1.2
|
||||
ghost-0.1.2
|
||||
gimli-0.26.1
|
||||
git2-0.14.2
|
||||
gjson-0.8.1
|
||||
glob-0.3.0
|
||||
h2-0.3.13
|
||||
hamcrest2-0.3.0
|
||||
hash32-0.1.1
|
||||
hash32-0.2.1
|
||||
hashbrown-0.11.2
|
||||
hashbrown-0.12.0
|
||||
hashlink-0.7.0
|
||||
hash_hasher-2.0.3
|
||||
heapless-0.5.6
|
||||
heapless-0.7.10
|
||||
heck-0.3.3
|
||||
heck-0.4.0
|
||||
hermit-abi-0.1.19
|
||||
hex-0.4.3
|
||||
html5ever-0.25.2
|
||||
htmlescape-0.3.1
|
||||
httparse-1.7.0
|
||||
httpdate-1.0.2
|
||||
http-0.2.6
|
||||
http-body-0.4.4
|
||||
humantime-1.3.0
|
||||
hyper-0.14.18
|
||||
hyper-tls-0.5.0
|
||||
ical-0.7.0
|
||||
idna-0.2.3
|
||||
indent_write-2.2.0
|
||||
indexmap-1.8.1
|
||||
inotify-0.7.1
|
||||
inotify-sys-0.1.5
|
||||
instant-0.1.12
|
||||
integer-encoding-3.0.3
|
||||
inventory-0.2.2
|
||||
iovec-0.1.4
|
||||
io-lifetimes-0.6.1
|
||||
ipnet-2.4.0
|
||||
is_ci-1.1.1
|
||||
is_debug-1.0.1
|
||||
is_executable-1.0.1
|
||||
itertools-0.10.3
|
||||
itoa-0.4.8
|
||||
itoa-1.0.1
|
||||
jobserver-0.1.24
|
||||
joinery-2.1.0
|
||||
js-sys-0.3.57
|
||||
kernel32-sys-0.2.2
|
||||
lazycell-1.3.0
|
||||
lazy_static-1.4.0
|
||||
lexical-6.1.0
|
||||
lexical-core-0.8.3
|
||||
lexical-parse-float-0.8.3
|
||||
lexical-parse-integer-0.8.3
|
||||
lexical-util-0.8.3
|
||||
lexical-write-float-0.8.4
|
||||
lexical-write-integer-0.8.3
|
||||
libc-0.2.123
|
||||
libgit2-sys-0.13.2+1.4.2
|
||||
libm-0.2.2
|
||||
libproc-0.10.0
|
||||
libsqlite3-sys-0.24.2
|
||||
libssh2-sys-0.2.23
|
||||
libz-sys-1.1.5
|
||||
linked-hash-map-0.5.4
|
||||
linux-raw-sys-0.0.42
|
||||
lock_api-0.4.7
|
||||
log-0.4.16
|
||||
lscolors-0.9.0
|
||||
lz4-1.23.3
|
||||
lz4-sys-1.9.3
|
||||
mac-0.1.1
|
||||
malloc_buf-0.0.6
|
||||
markup5ever-0.10.1
|
||||
matches-0.1.9
|
||||
md-5-0.10.1
|
||||
memchr-2.4.1
|
||||
memmap2-0.5.3
|
||||
memoffset-0.6.5
|
||||
meval-0.2.0
|
||||
miette-3.3.0
|
||||
miette-4.5.0
|
||||
miette-derive-3.3.0
|
||||
miette-derive-4.5.0
|
||||
mime-0.3.16
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.4.4
|
||||
miniz_oxide-0.5.1
|
||||
miow-0.2.2
|
||||
miow-0.3.7
|
||||
mio-0.6.23
|
||||
mio-0.8.2
|
||||
mio-extras-2.0.6
|
||||
multiversion-0.6.1
|
||||
multiversion-macros-0.6.1
|
||||
native-tls-0.2.10
|
||||
net2-0.2.37
|
||||
new_debug_unreachable-1.0.4
|
||||
nix-0.23.1
|
||||
nodrop-0.1.14
|
||||
nom-1.2.4
|
||||
nom-4.2.3
|
||||
nom-7.1.1
|
||||
nom-supreme-0.6.0
|
||||
notify-4.0.17
|
||||
ntapi-0.3.7
|
||||
num-0.2.1
|
||||
num-0.4.0
|
||||
num-bigint-0.2.6
|
||||
num-bigint-0.4.3
|
||||
num-complex-0.2.4
|
||||
num-complex-0.4.0
|
||||
num-format-0.4.0
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.2.4
|
||||
num-rational-0.4.0
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.1
|
||||
nu-0.62.0
|
||||
nu-ansi-term-0.45.1
|
||||
objc-0.2.7
|
||||
object-0.27.1
|
||||
once_cell-1.10.0
|
||||
opaque-debug-0.3.0
|
||||
openssl-0.10.38
|
||||
openssl-probe-0.1.5
|
||||
openssl-src-111.18.0+1.1.1n
|
||||
openssl-sys-0.9.72
|
||||
ordered-float-1.1.1
|
||||
output_vt100-0.1.3
|
||||
overload-0.1.1
|
||||
owo-colors-3.3.0
|
||||
parking_lot-0.11.2
|
||||
parking_lot-0.12.0
|
||||
parking_lot_core-0.8.5
|
||||
parking_lot_core-0.9.2
|
||||
parquet2-0.10.3
|
||||
parquet-format-async-temp-0.2.0
|
||||
parse-zoneinfo-0.3.0
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.1.0
|
||||
peresil-0.3.0
|
||||
pest-2.1.3
|
||||
phf-0.8.0
|
||||
phf-0.10.1
|
||||
phf_codegen-0.8.0
|
||||
phf_codegen-0.10.0
|
||||
phf_generator-0.8.0
|
||||
phf_generator-0.10.0
|
||||
phf_macros-0.8.0
|
||||
phf_shared-0.8.0
|
||||
phf_shared-0.10.0
|
||||
pin-project-lite-0.2.8
|
||||
pin-utils-0.1.0
|
||||
pkg-config-0.3.25
|
||||
planus-0.2.0
|
||||
polars-0.20.0
|
||||
polars-arrow-0.20.0
|
||||
polars-core-0.20.0
|
||||
polars-io-0.20.0
|
||||
polars-lazy-0.20.0
|
||||
polars-time-0.20.0
|
||||
polars-utils-0.20.0
|
||||
pori-0.0.0
|
||||
ppv-lite86-0.2.16
|
||||
precomputed-hash-0.1.1
|
||||
predicates-2.1.1
|
||||
predicates-core-1.0.3
|
||||
predicates-tree-1.0.5
|
||||
pretty_assertions-1.2.1
|
||||
pretty_env_logger-0.4.0
|
||||
procfs-0.12.0
|
||||
proc-macro2-1.0.37
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro-hack-0.5.19
|
||||
pwd-1.3.1
|
||||
quickcheck-1.0.3
|
||||
quickcheck_macros-1.0.0
|
||||
quick-error-1.2.3
|
||||
quick-xml-0.19.0
|
||||
quick-xml-0.22.0
|
||||
quote-1.0.18
|
||||
rand-0.4.6
|
||||
rand-0.7.3
|
||||
rand-0.8.5
|
||||
rand_chacha-0.2.2
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.3.1
|
||||
rand_core-0.4.2
|
||||
rand_core-0.5.1
|
||||
rand_core-0.6.3
|
||||
rand_distr-0.4.3
|
||||
rand_hc-0.2.0
|
||||
rand_pcg-0.2.1
|
||||
rayon-1.5.2
|
||||
rayon-core-1.9.2
|
||||
rdrand-0.4.0
|
||||
redox_syscall-0.2.13
|
||||
redox_users-0.4.3
|
||||
reedline-0.5.0
|
||||
regex-1.5.5
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
remove_dir_all-0.5.3
|
||||
reqwest-0.11.10
|
||||
result-1.0.0
|
||||
roxmltree-0.14.1
|
||||
rstest-0.12.0
|
||||
rusqlite-0.27.0
|
||||
rustc-demangle-0.1.21
|
||||
rustc_version-0.4.0
|
||||
rustix-0.34.3
|
||||
rustversion-1.0.6
|
||||
rust-embed-6.4.0
|
||||
rust-embed-impl-6.2.0
|
||||
rust-embed-utils-7.2.0
|
||||
rust_decimal-0.10.2
|
||||
ryu-1.0.9
|
||||
same-file-1.0.6
|
||||
schannel-0.1.19
|
||||
scopeguard-1.1.0
|
||||
scraper-0.12.0
|
||||
security-framework-2.6.1
|
||||
security-framework-sys-2.6.1
|
||||
selectors-0.22.0
|
||||
semver-0.11.0
|
||||
semver-1.0.7
|
||||
semver-parser-0.10.2
|
||||
serde-1.0.136
|
||||
serde_derive-1.0.136
|
||||
serde_ini-0.2.0
|
||||
serde_json-1.0.79
|
||||
serde_test-1.0.136
|
||||
serde_urlencoded-0.7.1
|
||||
serde_yaml-0.8.23
|
||||
serial_test-0.5.1
|
||||
serial_test_derive-0.5.1
|
||||
servo_arc-0.1.1
|
||||
sha2-0.9.9
|
||||
sha2-0.10.2
|
||||
shadow-rs-0.11.0
|
||||
signal-hook-0.3.13
|
||||
signal-hook-mio-0.2.3
|
||||
signal-hook-registry-1.4.0
|
||||
simdutf8-0.1.4
|
||||
siphasher-0.3.10
|
||||
slab-0.4.6
|
||||
smallvec-1.8.0
|
||||
smawk-0.3.1
|
||||
snap-1.0.5
|
||||
socket2-0.4.4
|
||||
spin-0.9.2
|
||||
sqlparser-0.16.0
|
||||
stable_deref_trait-1.2.0
|
||||
static_assertions-1.1.0
|
||||
streaming-decompression-0.1.0
|
||||
streaming-iterator-0.1.5
|
||||
strength_reduce-0.2.3
|
||||
string_cache-0.8.4
|
||||
string_cache_codegen-0.5.2
|
||||
strip-ansi-escapes-0.1.1
|
||||
strum-0.23.0
|
||||
strum-0.24.0
|
||||
strum_macros-0.23.1
|
||||
strum_macros-0.24.0
|
||||
supports-color-1.3.0
|
||||
supports-hyperlinks-1.2.0
|
||||
supports-unicode-1.0.2
|
||||
sxd-document-0.3.2
|
||||
sxd-xpath-0.4.2
|
||||
synstructure-0.12.6
|
||||
syn-1.0.91
|
||||
sysinfo-0.23.10
|
||||
sys-locale-0.2.0
|
||||
tempdir-0.3.7
|
||||
tempfile-3.3.0
|
||||
tendril-0.4.3
|
||||
termcolor-1.1.3
|
||||
terminal_size-0.1.17
|
||||
termtree-0.2.4
|
||||
textwrap-0.15.0
|
||||
thin-slice-0.1.1
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
thread_local-1.1.4
|
||||
time-0.1.44
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
titlecase-1.1.0
|
||||
tokio-1.17.0
|
||||
tokio-native-tls-0.3.0
|
||||
tokio-util-0.7.1
|
||||
toml-0.5.9
|
||||
tower-service-0.3.1
|
||||
tracing-0.1.34
|
||||
tracing-attributes-0.1.20
|
||||
tracing-core-0.1.26
|
||||
trash-2.0.4
|
||||
try-lock-0.2.3
|
||||
typed-arena-1.7.0
|
||||
typenum-1.15.0
|
||||
typetag-0.1.8
|
||||
typetag-impl-0.1.8
|
||||
ucd-trie-0.1.3
|
||||
umask-1.0.1
|
||||
uncased-0.9.6
|
||||
unicode-bidi-0.3.7
|
||||
unicode-linebreak-0.1.2
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.9.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
users-0.11.0
|
||||
utf8parse-0.2.0
|
||||
utf8-width-0.1.6
|
||||
utf-8-0.7.6
|
||||
uuid-0.8.2
|
||||
vcpkg-0.2.15
|
||||
vec1-1.8.0
|
||||
version_check-0.1.5
|
||||
version_check-0.9.4
|
||||
void-1.0.2
|
||||
vswhom-0.1.0
|
||||
vswhom-sys-0.1.1
|
||||
vte-0.10.1
|
||||
vte_generate_state_changes-0.1.1
|
||||
wait-timeout-0.2.0
|
||||
walkdir-2.3.2
|
||||
want-0.3.0
|
||||
wasi-0.9.0+wasi-snapshot-preview1
|
||||
wasi-0.10.0+wasi-snapshot-preview1
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.80
|
||||
wasm-bindgen-backend-0.2.80
|
||||
wasm-bindgen-futures-0.4.30
|
||||
wasm-bindgen-macro-0.2.80
|
||||
wasm-bindgen-macro-support-0.2.80
|
||||
wasm-bindgen-shared-0.2.80
|
||||
wax-0.4.0
|
||||
web-sys-0.3.57
|
||||
which-4.2.5
|
||||
winapi-0.2.8
|
||||
winapi-0.3.9
|
||||
winapi-build-0.1.1
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
windows-0.9.1
|
||||
windows-sys-0.30.0
|
||||
windows-sys-0.34.0
|
||||
windows_aarch64_msvc-0.30.0
|
||||
windows_aarch64_msvc-0.34.0
|
||||
windows_gen-0.9.1
|
||||
windows_i686_gnu-0.30.0
|
||||
windows_i686_gnu-0.34.0
|
||||
windows_i686_msvc-0.30.0
|
||||
windows_i686_msvc-0.34.0
|
||||
windows_macros-0.9.1
|
||||
windows_x86_64_gnu-0.30.0
|
||||
windows_x86_64_gnu-0.34.0
|
||||
windows_x86_64_msvc-0.30.0
|
||||
windows_x86_64_msvc-0.34.0
|
||||
winreg-0.10.1
|
||||
ws2_32-sys-0.2.1
|
||||
xmlparser-0.13.3
|
||||
yaml-rust-0.4.5
|
||||
zeroize-1.5.4
|
||||
zip-0.5.13
|
||||
zstd-0.10.0+zstd.1.5.2
|
||||
zstd-safe-4.1.4+zstd.1.5.2
|
||||
zstd-sys-1.6.3+zstd.1.5.2
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A new type of shell, written in Rust"
|
||||
HOMEPAGE="https://www.nushell.sh"
|
||||
SRC_URI="https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unlicense ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="+extra"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libgit2-0.99:=
|
||||
dev-libs/oniguruma:=
|
||||
dev-libs/openssl:0=
|
||||
net-libs/libssh2:=
|
||||
net-libs/nghttp2:=
|
||||
net-misc/curl
|
||||
extra? (
|
||||
dev-db/sqlite:3=
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-lang/rust-1.59[nightly]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/nu.*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if has_version -b '<virtual/rust-1.59.0'; then
|
||||
# This can be dropped once Rust 1.59.0 is stable, but when we drop this we should update the
|
||||
# BDEPEND to require 1.59.0 as well.
|
||||
sed -i '/^strip = .*/d' Cargo.toml || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export OPENSSL_NO_VENDOR=true
|
||||
export RUSTONIG_SYSTEM_LIBONIG=1
|
||||
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local myfeatures=(
|
||||
stable
|
||||
$(usev extra)
|
||||
)
|
||||
|
||||
cargo_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --workspace -Z namespaced-features
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# https://github.com/nushell/nushell/issues/4900
|
||||
export -n PORTAGE_COLORMAP
|
||||
|
||||
cargo_src_test -Z namespaced-features
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install -Z namespaced-features
|
||||
local DOCS=( README.md docs/. )
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -0,0 +1,28 @@
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Sat, 18 Jun 2022 09:10:18 -0700
|
||||
Subject: [PATCH] build: Fix implicit function declarations
|
||||
|
||||
--- a/clientparse.y
|
||||
+++ b/clientparse.y
|
||||
@@ -24,6 +24,9 @@
|
||||
#define YYERROR_VERBOSE
|
||||
|
||||
static dictServer *s;
|
||||
+
|
||||
+int yylex();
|
||||
+void yyerror(const char *s);
|
||||
%}
|
||||
|
||||
%union {
|
||||
--- a/servparse.y
|
||||
+++ b/servparse.y
|
||||
@@ -30,6 +30,9 @@
|
||||
|
||||
static dictDatabase *db;
|
||||
|
||||
+int yylex();
|
||||
+void yyerror(const char *s);
|
||||
+
|
||||
static int string2bool (const char *str)
|
||||
{
|
||||
if (
|
@ -0,0 +1,65 @@
|
||||
https://bugs.gentoo.org/852884
|
||||
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Sat, 18 Jun 2022 10:00:21 -0700
|
||||
Subject: [PATCH] configure: Set version directly in AC_INIT
|
||||
|
||||
This avoids a command not found error in config.status.
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
# Add a _letter_ if you change the version number and release your own version.
|
||||
# Numbers are for the original author(s) only.
|
||||
-DICT_VERSION=@DICT_VERSION@
|
||||
+DICT_VERSION=@PACKAGE_VERSION@
|
||||
|
||||
ifneq (,)
|
||||
This makefile requires GNU Make.
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -23,14 +23,10 @@ dnl CFLAGS and LDFLAGS should be settable on the make commandline
|
||||
dnl for optimization and stripping.
|
||||
dnl LIBOBJS is an automatically-generated list of extra objects we need
|
||||
|
||||
-
|
||||
-define(VERSION, 1.13.0)
|
||||
-
|
||||
-
|
||||
AC_PREREQ(2.53)
|
||||
AC_REVISION($Revision: 1.144 $)
|
||||
|
||||
-AC_INIT([dict],[VERSION],[dict-beta@dict.org])
|
||||
+AC_INIT([dict],[1.13.0],[dict-beta@dict.org])
|
||||
|
||||
AC_CONFIG_SRCDIR([dictd.c])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
@@ -40,8 +36,6 @@ LT_INIT
|
||||
echo Configuring for dict
|
||||
echo .
|
||||
|
||||
-DICT_VERSION=VERSION
|
||||
-
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
AC_PROG_CC
|
||||
@@ -183,7 +177,6 @@ SBINDIR=`eval3 $sbindir`
|
||||
LIBEXECDIR=`eval3 $libexecdir`
|
||||
DATADIR=`eval3 $datadir`
|
||||
|
||||
-AC_SUBST(DICT_VERSION)
|
||||
AC_SUBST(USE_PLUGIN)
|
||||
AC_SUBST(EXEEXT)
|
||||
AC_SUBST(allsubdirs)
|
||||
--- a/dictdplugin-config.in
|
||||
+++ b/dictdplugin-config.in
|
||||
@@ -24,7 +24,7 @@ while test $# -ne 0; do
|
||||
usage
|
||||
exit;;
|
||||
--version)
|
||||
- echo @DICT_VERSION@
|
||||
+ echo @PACKAGE_VERSION@
|
||||
exit;;
|
||||
--libs)
|
||||
echo -L@libdir@
|
@ -1,126 +0,0 @@
|
||||
# Copyright 2005-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs xdg-utils
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/119" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="boost cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
nss? ( >=dev-libs/nss-3.19:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
cjk? ( app-text/poppler-data )
|
||||
"
|
||||
DEPEND+="
|
||||
boost? ( dev-libs/boost )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS NEWS README.md README-XPDF )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-20.12.1-qt5-deps.patch"
|
||||
"${FILESDIR}/${PN}-21.09.0-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
||||
# cmake just uses it, so remove it if we use clang
|
||||
if tc-is-clang ; then
|
||||
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
||||
fi
|
||||
|
||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
||||
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
||||
-i CMakeLists.txt || die
|
||||
else
|
||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DBUILD_MANUAL_TESTS=OFF
|
||||
-DRUN_GPERF_IF_PRESENT=OFF
|
||||
-DENABLE_BOOST="$(usex boost)"
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
||||
-DUSE_FLOAT=OFF
|
||||
-DWITH_Cairo=$(usex cairo)
|
||||
-DENABLE_LIBCURL=$(usex curl)
|
||||
-DENABLE_CPP=$(usex cxx)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
||||
-DWITH_NSS3=$(usex nss)
|
||||
-DWITH_PNG=$(usex png)
|
||||
$(cmake_use_find_package qt5 Qt5Core)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DENABLE_UTILS=$(usex utils)
|
||||
-DENABLE_QT6=OFF
|
||||
)
|
||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# live version doesn't provide html documentation
|
||||
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
AUX gconfmm-2.28.3-no-extern-c-glib-includes.patch 1337 BLAKE2B ed3ff729cf81f04ec4b3615b376a8750c1c321ef05ee8560eae9ef4e3fd6974285060d9b11714a0325b0dfa51f976a725c59adb0919fa46ab6cca1cff6d9abde SHA512 993f3856fbe1dd69f8329aa7277f98d421433c6d9bdcaed3257a8f8639001c83c61ce9fb8184964802aefbba974ea02b70abfdf06504372794750b9e8b7d657b
|
||||
DIST gconfmm-2.28.3.tar.bz2 471125 BLAKE2B 834d63ee91ee6849970ce612c387957607bb3e723afb06b0ee8dad0336ae81c3a4c40a81846d6abbb425b5f3f0cbad026189d563a814d8acd1010f3b1dbdfa93 SHA512 0fd3a43373dfdf514eca61537c19dafd4ad582d2ec6bb325652766fba90ed723feff6daf93effcdf20f917c573131d58c16f1a826194f653864a701bb8a57097
|
||||
EBUILD gconfmm-2.28.3-r1.ebuild 630 BLAKE2B 77d40d7a4eff4c1a872c6e2b991e3814d06ab43c1b734a1de8a3ba890d7c60447b7752ff08dffbaa2dab470f304287a2dd54a43980e7506e149462d6f8f423d5 SHA512 f9a3100656e717200ad16a5f94a1892f0f86bf00432155dcb595d2c80b4a15f44f615ab74020d61ecd3258574a2e5910f230d859c688203da14edb62a32f5872
|
||||
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
|
@ -1,44 +0,0 @@
|
||||
diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/callback.h gconfmm-2.28.3/gconf/gconfmm/callback.h
|
||||
--- gconfmm-2.28.3-original/gconf/gconfmm/callback.h 2011-10-18 11:33:49.000000000 -0400
|
||||
+++ gconfmm-2.28.3/gconf/gconfmm/callback.h 2021-02-13 09:21:06.167235506 -0500
|
||||
@@ -22,10 +22,7 @@
|
||||
#ifndef GCONFMM_CALLBACK_H
|
||||
#define GCONFMM_CALLBACK_H
|
||||
|
||||
-extern "C"
|
||||
-{
|
||||
#include <gconf/gconf-client.h>
|
||||
-}
|
||||
|
||||
#include <glibmm/object.h>
|
||||
#include <gconfmm/entry.h>
|
||||
diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/schema.h gconfmm-2.28.3/gconf/gconfmm/schema.h
|
||||
--- gconfmm-2.28.3-original/gconf/gconfmm/schema.h 2011-10-21 04:51:27.000000000 -0400
|
||||
+++ gconfmm-2.28.3/gconf/gconfmm/schema.h 2021-02-13 09:21:24.616354041 -0500
|
||||
@@ -31,10 +31,8 @@
|
||||
#include <gconfmm/value.h>
|
||||
|
||||
|
||||
-extern "C" {
|
||||
- // TODO: do not include this.
|
||||
+// TODO: do not include this.
|
||||
#include <gconf/gconf-schema.h>
|
||||
-}
|
||||
|
||||
namespace Gnome
|
||||
{
|
||||
diff -Naur gconfmm-2.28.3-original/gconf/src/schema.hg gconfmm-2.28.3/gconf/src/schema.hg
|
||||
--- gconfmm-2.28.3-original/gconf/src/schema.hg 2011-10-18 11:33:49.000000000 -0400
|
||||
+++ gconfmm-2.28.3/gconf/src/schema.hg 2021-02-13 09:21:58.002568546 -0500
|
||||
@@ -24,10 +24,8 @@
|
||||
|
||||
_DEFS(gconfmm,gconf)
|
||||
|
||||
-extern "C" {
|
||||
- // TODO: do not include this.
|
||||
+// TODO: do not include this.
|
||||
#include <gconf/gconf-schema.h>
|
||||
-}
|
||||
|
||||
namespace Gnome
|
||||
{
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit flag-o-matic gnome2
|
||||
|
||||
DESCRIPTION="C++ bindings for GConf"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 sparc x86"
|
||||
|
||||
DEPEND="
|
||||
>=gnome-base/gconf-2.4:2
|
||||
>=dev-cpp/glibmm-2.12:2
|
||||
>=dev-cpp/gtkmm-2.4:2.4
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-no-extern-c-glib-includes.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
append-cxxflags -std=c++11 #568580
|
||||
gnome2_src_configure \
|
||||
--disable-documentation
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +0,0 @@
|
||||
DIST libglademm-2.6.7.tar.bz2 326385 BLAKE2B b79bd099f7eba02585921cd88331cd3c2f0a362396efded2996b149689f1869146a81ef174e9f983f348fe231866e4dcc719eeef62f5f3a2b0ba5dbaf1375504 SHA512 d7042d0549df9322d3202d5c0733d65b153a8ff451bb9e401b9d93a915ec4c2c086428e4febcbae2ecec5936955b7afbc59beff93d492f23b7b8e2b19fe806b0
|
||||
EBUILD libglademm-2.6.7-r3.ebuild 1439 BLAKE2B 9ee636ba67514c11b82d02e074fc5c4ad2d736360dc9adfe76786c661e8447d60e2ce60eefae6e8907400d6a2acd517da8b9544399e0607c5db9c2bb2d390850 SHA512 3033b4f869020707b1b4be3ad707c14402fdda9746e2baf010c57cd87032c47c9c17f73df1bc7eec9f6f44b54d2a7dd0a455905920674e357dd4db2a74f7d6fc
|
||||
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2 multilib-minimal
|
||||
|
||||
DESCRIPTION="C++ bindings for libglade"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="2.4"
|
||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/libglade-2.6.4-r1:2.0[${MULTILIB_USEDEP}]
|
||||
>=dev-cpp/gtkmm-2.24.3:2.4[${MULTILIB_USEDEP}]
|
||||
>=dev-cpp/glibmm-2.34.1:2[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# we will control install manually in install
|
||||
sed -i 's/^\(SUBDIRS =.*\)docs\(.*\)$/\1\2/' Makefile.am Makefile.in || \
|
||||
die "sed Makefile.{am,in} failed (1)"
|
||||
|
||||
# don't waste time building the examples
|
||||
sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
|
||||
Makefile.am Makefile.in || die "sed Makefile.{am,in} failed (2)"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" gnome2_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
gnome2_src_compile
|
||||
|
||||
multilib_is_native_abi && use doc && emake -C docs/reference all
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
use examples && emake -C examples distclean
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use doc && HTML_DOCS=( docs/reference/html/. )
|
||||
einstalldocs
|
||||
|
||||
if use examples; then
|
||||
find examples/ -name 'Makefile*' -delete \
|
||||
|| die "examples cleanup failed"
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,4 +0,0 @@
|
||||
AUX libgnomecanvasmm-2.26.0-disable-building-examples.patch 412 BLAKE2B e3b8e817a89d0991a0fc9db5ed3c0e478362a36afca566d59e36310f2cdd5822c099183d0260b6c125d483cd10284f504b5c14ee467e553ebfa9dc288198a834 SHA512 562aeefa89bf0028dc42cabe07a7ffcc6cdeacb72bb7cd550e868dbd2936b7912834c60458ead4936a90881c2129df6344d7b80b44559d2cda71cfd528342ba8
|
||||
DIST libgnomecanvasmm-2.26.0.tar.bz2 327215 BLAKE2B 87cfc59d0825ad2b345bbeff7ba6ce74744228a359d61c8c6b86cef308827c78410b4633737ab9040f6dbdf7f37ed0ea376d28ab4194266f9c784b8b07d1f76d SHA512 23795c856674b79f82d2e5cffdfdbf67a387fe6a21081fef1d96d0f614a121710c7f1e175612a286f5946a60cea4e8506aef7833a7bdf73084d6266c09aad66b
|
||||
EBUILD libgnomecanvasmm-2.26.0-r2.ebuild 829 BLAKE2B 3afed8d013369055d9e813f066b2b953d706f444ea368857986922add47514101ca29282b8082f843f8fa849d5e7292da04b5dd73e34d5743cfb5476f9519a59 SHA512 acc53f7f6bf047525cc6ef1cbe545503af87266ad47ed83da6c41b77518a2a982a637a504e0660f7cd5bcb9cbe1a8879f0584a1ed3af53b8633a2526cd87d441
|
||||
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
|
@ -1,13 +0,0 @@
|
||||
don't waste time building the examples
|
||||
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -195,7 +195,7 @@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
-SUBDIRS = tools libgnomecanvas docs examples demos
|
||||
+SUBDIRS = tools libgnomecanvas docs demos
|
||||
DIST_SUBDIRS = $(SUBDIRS) scripts
|
||||
EXTRA_DIST = libgnomecanvasmm.spec.in \
|
||||
build_shared/Makefile_build.am_fragment \
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="C++ bindings for libgnomecanvas"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2.6"
|
||||
KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
>=gnome-base/libgnomecanvas-2.6
|
||||
>=dev-cpp/gtkmm-2.4:2.4
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-disable-building-examples.patch )
|
||||
|
||||
src_compile() {
|
||||
gnome2_src_compile
|
||||
|
||||
if use doc; then
|
||||
emake -C docs/reference all
|
||||
HTML_DOCS=( docs/reference/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
rm examples/Makefile* examples/*/Makefile* || die
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue