parent
c97fdd3275
commit
5dd4759b9b
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29307 BLAKE2B dfa2c5e8771c3b97121c6c1f8f4b4551ec04d04893c01e26586318dbb094f8ea944a5efe7ef045156c40652b4e5e486b8205a5283b16c0d01a9668af6f3cf659 SHA512 8d2b13c77a20618a3a9ea31bb2530b9a45b5a096d222fdb0d5a47025d0f9d9d4ab0b28db6371cf103271d08178002760e5fe66534bb8d9d03b142963034e2e31
|
||||
TIMESTAMP 2023-10-27T12:39:57Z
|
||||
MANIFEST Manifest.files.gz 29284 BLAKE2B c47fbd78c6eb0ef5f1449548639aec547d7681f9b775742ef3bb5636f539215ce4d81e27f04094c8b96a7b871a8d49bdb189cbf067147698f219ecbecb012ddb SHA512 f190a56dce6d64f05b7524a84740acbe652da1cf0bc6f1f5f2a489be45688396e964731495d5b7eb0c549547fd8ad919efdc0e3454e167789acb5a80eeec76d4
|
||||
TIMESTAMP 2023-10-29T21:09:57Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmU7r51fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmU+yiVfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDudA//dMhFktK6+SW6Y2ZNFpJ26lgnXEDSjVIXHNsEQXz6WdowFdgEGNXh9k51
|
||||
RTOPXKg3iIGs862mterKO+Nq0T3sn/8eWAsKKLRKkN+XjHG1dWkvlYWBNgA7hL8J
|
||||
28kcGng6rFdyhc6mD/kUR102yqhsyLD2AJtl2zTCFz3y2qYNVqpapiptPyrZQ/ht
|
||||
eJupVNeyS/26N+sivbrEXudAWc5jHFlMkxUQTFLX7Db/xJ9YR1le6TW9EFLIb9nF
|
||||
nZoWkHdQMI/NblBfBN5+S3hNXll8lrrvreBnTGSk4cJtXtGnN/SNm5XNK8ttW+xs
|
||||
Ky+70Cpa7YRB4ruCPK/STi7pwevGmrMThaby1Wcb++qR5QmVbnKOhb7GqAkbr75Q
|
||||
rZaOs4rC3yzwxzwHoU4ihpdChPmJVpsKcVR1CO0NIqYXstAwBanCm63SgjS1C0A1
|
||||
nUr+88WTIH5czoGywRu0plLa3jTuwIOuzQ5ZTWjn7iH1o+9XOW9AEd9pT6WpiZyA
|
||||
xUDGNMz3+TdfVqMgbIt1Qa97nXsLJ4OkAi8PfCsvga8TEew+DZ+j1nrvt3i06iul
|
||||
a24erH9teUltl8YXaZ0jMbgyUVv0EWeOqpYcGSJ+L75zcygdder4jD38LHoEFAIH
|
||||
pB7lwkr0nJ1ocbJNnxQLcFwDSszaSKStE7ODnFaYaV123tLXevI=
|
||||
=dgp6
|
||||
klA/jQ/+IFchuhh//bCLVbUD9jLmsdNJWtF8rtlN31oX1qgwixQPuqi1Gu+LzQ4R
|
||||
1qpTPgcAYQU952iydgTYDRpAOfli9xAUkkcOKveOet8pWylQXOK8u+J1zpFJ7HFZ
|
||||
uf9rm8kdqGsKU2360zxuDvXOC8z3gCdGgmV4tqfPrZ6Q8gyR/O2UtY9CFe/W1vYF
|
||||
/kZq0RkonrkTmmtOZkKkm/J9JYyJpqmUEvk0kvgxAleHeEDyRPYMR0VJ22IL5Gg4
|
||||
h+CBzQ56REa10IwN3enS5y4xI2GNF1qyHWAKyQLek2eclfjVG+cldbetnqKPscdo
|
||||
Omc+bCNEFNrGBAvz1KVCf3GBQw0baYQqyGMT9Tfo/HXRVqyeXMX9EFN8gDqWViM1
|
||||
O01ZFmguF/ESCEnEVRIGeGFMBHP1qbTiPyb0FzPp8nJMbAyy5DzpYWc0Jm1LhOq3
|
||||
yJuwUKfyEn8UB+xhT0sv04Qmw+O/4jtZaXBSps9aJtqZ9GlThpOvw3wV924/mU6r
|
||||
/4K1W2GEUxOSRDO02WTN/tXzNe4SHt7ThhvJyQaa/CugXgDJuJM2BFINUilx8Ww5
|
||||
fMasDAxTJ9nY35b4tiWdQX3/JP/4gsDoiQ/7BKwiTiKQb5/rEAKUKeN9qRZPOFj4
|
||||
v4kzMkTcLIX/hMMvQJqCQe3jNQzhMBdUbKf+KbPLiAY8x5FVdio=
|
||||
=VdaV
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,15 +1,7 @@
|
||||
DIST aws-cli-1.29.62.gh.tar.gz 2560151 BLAKE2B 0aa6dba4dcee72e0d3cbddb62ebcd9405682facfee4ad1348a53a5c09811a7583d7177814265158de0306518b62ae66eade301311c72cd7ddc380201d16ff30f SHA512 cda4bcc0ac535eb007b44e517d22b17cda6518d6db25162cdd0f7b506de449c72add8221d17c6cd145e0029f17c0e183928061e04b7b27274a58d157142ead7c
|
||||
DIST aws-cli-1.29.63.gh.tar.gz 2561207 BLAKE2B 83d1bf59c565ae5035eea0bfff91b2ac41e09cd250916db3bdb52b3cd336c869ca023acddf31418ca4ae81162d6cafb1cb915372d17988a4e616c018fceeb47b SHA512 2f6a699a8e1b3526adc49e88079cf19c7ddb18c6a3653ddb622ef5bc2d00dcbd4b490324e3d30f0911a236d692970072f999216876108fa6967450bc42cb1072
|
||||
DIST aws-cli-1.29.68.gh.tar.gz 2565226 BLAKE2B b1f2209738c3a54beac322b14ceb54d31a4288b85038c2778d56d8dcafbabe7a307aa228c96e73faabc0ad2495edb65f701a35eddc506c70f0873f9084177c36 SHA512 d8cafa7560ab0f824b190301d9889d0cfe5d746a9a7edd3b19ad003ee70c5f6cc9a26403ec961826462f5e5509a2e12f8a6a99d851fc97b1e46f44e59294aca2
|
||||
DIST aws-cli-1.29.69.gh.tar.gz 2565597 BLAKE2B 121ad22fe37968dc2f4b3f7fbe9af7af2bd578fa340b1caf44d089b2b12cc019a9b7734a42f64569483411a2849bc67a32ee59910e00988571d6ec480f6988d9 SHA512 1f3f4d6ba1d5302b6b9080a696fb496b405279610377ba4c87a146b60b3bfbebe2c68855704835eb99c6eb2a2e8de33086bb5632a2954a8bbc4f3e7d18d8ee41
|
||||
DIST aws-cli-1.29.70.gh.tar.gz 2567544 BLAKE2B 2ca8db4f53d414dce916ab1cbfe997c3477c67005f83654b61cbc61be5626ab681fb2ebc69070842aff2562560bc24d38d2a80322a0267fd1b8fca8a5ce1598e SHA512 cffc5d31b618fb4c728356c282251ac220029e25006bd43e7fb0ea16f3c4c8bb637c69208bfbd82da2a1d3e449ece2298811408f68d94c9f584b9749af176310
|
||||
DIST aws-cli-1.29.71.gh.tar.gz 2567815 BLAKE2B de39bf456d2933a5b652acd700b561ded9866b3cdbaa15a00439f4af40e0b00ef1acaac03316c542a34ba72f18e2b72b4345cd4824e46f1e6370ad7c254e203b SHA512 cca46c16470352df72216f6620cd58d243eeb038842149c92726d641107707c263c6aeec49fb09cef5bf273eed179ce74f0a20377c6f3b49a731c7bdcee305dd
|
||||
DIST aws-cli-1.29.72.gh.tar.gz 2568335 BLAKE2B 6919744a90e77e14e143d94cba5e666eb50c6768cd2237920f737777f9487bb0b1284bc1d028d17b00f2fe9c38fcc294e42a6fa3f7aaab88b2ef52e16e118341 SHA512 ffca4a27896033be4672c0054b272dc7c88b73eb724a291fce61a4b267c22b23218b834c7b0baecdee6fe275cfd732ac24d779475dfd60f0d799e7cfed370570
|
||||
EBUILD awscli-1.29.62.ebuild 2854 BLAKE2B b471b1f5758613e807ae70018b4066b8998db8dfb251b8cbc31dde9535a2d3f4d66e1ba2f01a4c36e5d3bd1b3dcc77a233c2791e8a290379dfeaa461c845a382 SHA512 7aea2225079104faa2ab0ed6607533e5b7e4ca737b14a8adfd54442c1bcbca4d671ac12ce24f6436048a65f7de78b312b86bd8b891dbb272b8af63949e0ef2b9
|
||||
EBUILD awscli-1.29.63.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6
|
||||
DIST aws-cli-1.29.73.gh.tar.gz 2569425 BLAKE2B 14950fd5c67726779f621dd039bfb7d3c24ab083530b3923aec52f1433a9110455e7ef5aa529ddad3b576e30d6cdd3d40fc94a14f06638756c7347475d8b8e7e SHA512 2a85489d8052b968a083dbff7f9e31d9ffbfce60617ffdacaa65d5d7a9d4c05e70785f230e2e8b2f92c47be9a0b86147ea76a9ffa588b768818e5e64ef4aa280
|
||||
EBUILD awscli-1.29.63.ebuild 2854 BLAKE2B b471b1f5758613e807ae70018b4066b8998db8dfb251b8cbc31dde9535a2d3f4d66e1ba2f01a4c36e5d3bd1b3dcc77a233c2791e8a290379dfeaa461c845a382 SHA512 7aea2225079104faa2ab0ed6607533e5b7e4ca737b14a8adfd54442c1bcbca4d671ac12ce24f6436048a65f7de78b312b86bd8b891dbb272b8af63949e0ef2b9
|
||||
EBUILD awscli-1.29.68.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6
|
||||
EBUILD awscli-1.29.69.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6
|
||||
EBUILD awscli-1.29.70.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6
|
||||
EBUILD awscli-1.29.71.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6
|
||||
EBUILD awscli-1.29.72.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6
|
||||
EBUILD awscli-1.29.73.ebuild 2861 BLAKE2B b402d0b73740cce2ba9d44bc9b43de521795ce199aff4c95ce7935a76cbef1f6d4abd7dff8bda03f30b6b6f4dfb5c3e61522effcdd50b9fd96ab8bd430f7f5b7 SHA512 1be69189388b8d4627dc996829adb365ed0724f60ef9424d54b849857ae6649ab265c0d04d8ac6ff56f60fca5937f6b42c8c65b6effb07874f96b85585cad9f6
|
||||
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
|
||||
|
@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
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 arm arm64 ppc ppc64 ~riscv sparc 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.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken xdist (signal() works only in main thread)
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
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,85 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~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.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken xdist (signal() works only in main thread)
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
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,85 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~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.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken xdist (signal() works only in main thread)
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
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,85 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~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.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# broken xdist (signal() works only in main thread)
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
DIST eselect-1.4.26.tar.xz 184332 BLAKE2B ee1e8890802fc50646c8d1d5219f1ab0ec5cfc0138c758f73ad6baccf673992bbf3e763d8e84491f33e724ba4e1cf3bed6971ba7fa4373e0f06464ff4a5fa1e6 SHA512 397ae2f15d90d722eb84225b08f1afaaf6f89758bfae5d93b0a1c3eddc997c21e74ab62e09ee5e71941d3a8587b3372b64336d12054c3bbf0e56e1ba398a26f9
|
||||
DIST eselect-1.4.27.tar.xz 184464 BLAKE2B 718874f4d0651194f361ca3202e5140982812bf486c8efe82354944d55206b0113fa135992203e8baa00019c3fd773a90ddaf67157c16f4ac2d69965d9822fbd SHA512 f534785fc1f79869840f420b4ab2b2bf35593c504cce878a6d3d07f75012cf32288009ea9ac2a5607dba216a794110a64c5f2c54d5d8a3c641328489cecc024b
|
||||
EBUILD eselect-1.4.26.ebuild 1635 BLAKE2B 5769f9cd67a29ca73a50d4306b15cda0e7c096c8bd800153d54f197b65a39ffeb5aa66402834563bd9a110b076fc8697d6fc44bb0d96e67964eb376d62c68bbe SHA512 c624a47e225516253c7274f268a18c977e6d1b96b8a2ed617dd29c212b6f146a5a8c8173e5ac8ab11f82435d3fddfe51c7e364821bec55880dd86286838bc059
|
||||
EBUILD eselect-1.4.27.ebuild 1635 BLAKE2B 5043aad7e669cae230baa90cdba8ddd061b07402fe5cb1feeb55c1f1d014023732e7abbac3c4ea88744157650f0cc26371fa14b050a5193e2d9c8bf8ed53d69b SHA512 f02f72d9cf093842d3ba44d78e1fff705b1d3c15fc4f3ed8d3d8639cafe8aa1c0393f807330aa27ebb5ff940c1dbe0d3a891f57734f588dec7adb5c2b5b4932d
|
||||
EBUILD eselect-1.4.27.ebuild 1634 BLAKE2B df9dcdabdacb583059591bd117ef048078eacf497e50e2a2051bba732e8de912abff8b6ea77d83d7ef7fede103ec2c7cbf605543ec4de8be7f355820b1aa409c SHA512 91ad34b8dc9fbc41ed9137ab1d38ccb5973f34d9c6e7b4f9a4a893ed24d8955a50e70c394223867e9e1a339c5c30307e3fc98f572263b183b089c7fb70dd78e7
|
||||
EBUILD eselect-9999.ebuild 1394 BLAKE2B fb62991371b697680959344974f4d7d4cdedba39337b12d004588d118632be5cd26c2026024fd6a2cc1e448f196c3367b82ba3fe347617149602c4730f8083d1 SHA512 78c75a30e9a8bfb370620b25cd200be9c6a8724858548cd1ab76926194f9d96a25c7441463d1dcb7a2aa3a6c947b1a656d6a0b455eb95e9ad9a1535f8cb349ce
|
||||
MISC metadata.xml 347 BLAKE2B 58c9ec8100f46cbb91dfcc6fc6f223e4d45553f401fe7312e36c0260c433a5842b07f894cef7dfd6c518ee5b664d86e3a4d434892ad3ea9c78c26c6f621e3063 SHA512 1963bcefd43ff52163c81a03bac522ca792688ff5317691ac30ec4375c6da4ebbf07f96da7bc1ecaa9554cee18c9f51f8b867e7e15bb652bdc7eee542f4a8d2b
|
||||
|
@ -1,21 +0,0 @@
|
||||
https://github.com/andikleen/mcelog/pull/115
|
||||
From: Brahmajit Das <brahmajit.xyz@gmail.com>
|
||||
Date: Mon, 12 Jun 2023 10:56:44 +0000
|
||||
Subject: [PATCH] client: Fix build w/ musl libc
|
||||
|
||||
Refer: https://github.com/andikleen/mcelog/pull/115
|
||||
Bug: https://bugs.gentoo.org/894316
|
||||
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
|
||||
--- a/client.c
|
||||
+++ b/client.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
+#include <string.h>
|
||||
#include "mcelog.h"
|
||||
#include "client.h"
|
||||
#include "paths.h"
|
||||
--
|
||||
2.41.0
|
||||
|
@ -1,11 +1,8 @@
|
||||
AUX puppet.initd2 758 BLAKE2B caf8c2e3563f24d9d313e790498dc362fcd14467ca2b6329cf454a5163bae5cfa2b7af1a212b2e5bfcb4693c7291d5306e47e574d3c937aaedd02625dc954a9e SHA512 df93f7dbcf61eee9f42f4a0c2fa0e2dfc806ac737ba98329cee158e04150c9bf346abd9364b2a6824df4bb862e676be7b2c23f5947ef5aa589df745ac5c5cd03
|
||||
DIST puppet-agent_7.24.0-1focal_amd64.deb 31418478 BLAKE2B 201c0a5adbeca2b6f572d3f8b89df06314171e5c7bb95f574311cee5af1910bdf7f5574eaa5f514bcf0c1ceb5c04c30a2079069183c4b37dd90581596a70092e SHA512 7912360597c21abf048d578783262821210d6568dc41f79b2d21cdb08851f8bd4cbe5a6114aa8af302c9046de424b8b15fe34be1fc51b529f36ccb99445bc7dc
|
||||
DIST puppet-agent_7.24.0-1focal_arm64.deb 31160744 BLAKE2B 22dfc3f0855c2e88c7202f2a9d98efd4ad9ef3a191ab9b5b8c37a6869306a47d1225d568fec9f0fc52cdf236f8258b5ca206a360049cc39e1825f1f8afc5d4af SHA512 db1b7cb25a04d6aeedd7f3bb125fe0fcac420c2881f9f3aba729143e253908376cd118073753de018d8fd1a6d7f38139766b4ec4bfb23f840ca7ee32143a8a48
|
||||
DIST puppet-agent_8.1.0-1focal_amd64.deb 35868180 BLAKE2B 9c3c952a35670883aae31e05a47b5d23e79c3e53cf54760444a8d0dbf7d7ca6385b043ec82eb748d0b6e9573fcb79de457323ec46441f3dd5a60c14cc51aeaae SHA512 450b37c556f39d02d124009d276c70e8b8f46f75ff14df4ab13656a54ace2612441202e8fcf5a266ec25998ad05271eda2f1088580091009b8f2c98b1b8462d8
|
||||
DIST puppet-agent_8.1.0-1focal_arm64.deb 35364600 BLAKE2B 25965e453f13b936962bf8a786171dc7fce3fe4868f856352a6a46c463f8e84d32d44f3a7ca7f4d9ce21880a9d38a623b7dffe1c0dbcff5c4e48971776dce960 SHA512 1d77cb14600d38547deac90a57218d0559797f011b9acae708d745946a20299c6a802276aac9e06eba2b8e5ae631e2f9da030b11fdfa26ab656ed7c2db631d7b
|
||||
DIST puppet-agent_8.2.0-1focal_amd64.deb 35899030 BLAKE2B 67af546a361c5ff2284eacac49c395baf693fe16a185f63a1e656fc47a6420395f0d26ab27fa2c944e9cb3e520fae32168ba35ff46e8b8d4239bd8fe322154db SHA512 b5f869cfb39e23e401eb1d8ddde0e2d4c07660e4fd8753e53ccfa08c82c51d6d525637e7fbfdf01ee98d776781837fe7dc6e10d2d5a6dcc635479468194e2900
|
||||
DIST puppet-agent_8.2.0-1focal_arm64.deb 35390104 BLAKE2B a4dad98dfb0779ebece815f17174fe119c22ccd06d19a678b2cca2ecd46330b609eb6d6ce834c5cad57f1a81417914f9bd98a3bdd8697b1dc7eb6ef115834865 SHA512 24b458205f8420a2a4168c9eb397d2c8a871a2837b34d10ffc3d43e5e3bf6c94c87856c396ea86826b107daa6aafa4b37b1524bd32f98b11f17627a60a69068d
|
||||
EBUILD puppet-agent-7.24.0.ebuild 2593 BLAKE2B a73b46e5e5bd8f3d8bbd45478bcb311a80d0f2b6ca84c23e13b70ca82820be978912ee1e0019c5efc05bcc2c1f30590117ff1d28e789238adbf085e6fd0709fc SHA512 b5e3e76e28d1abaed04fd2749333d465272aacef931531e29041dc19e6206dbf66bb468e64deaa861348bb36d7d45ddd236d9bc2be84df41dbba54c7f3c3e857
|
||||
EBUILD puppet-agent-8.1.0.ebuild 2595 BLAKE2B 0f775b39ea28e424db14aab962e1f502a01e086cabd065bff638e08dece28ae18b01f56f35e44730eac8ba356038ebf057abb20bcc4f3c6cbdd3bfeebc6fdd29 SHA512 047349be58b6d724e56696f604233ba488354d39cfb301431b6fdb971c91c92fd6ff48993a7b8403dac28cb43be2021ec9599dba79668e81355e7d3985f6d5a0
|
||||
EBUILD puppet-agent-8.2.0.ebuild 2595 BLAKE2B 0f775b39ea28e424db14aab962e1f502a01e086cabd065bff638e08dece28ae18b01f56f35e44730eac8ba356038ebf057abb20bcc4f3c6cbdd3bfeebc6fdd29 SHA512 047349be58b6d724e56696f604233ba488354d39cfb301431b6fdb971c91c92fd6ff48993a7b8403dac28cb43be2021ec9599dba79668e81355e7d3985f6d5a0
|
||||
MISC metadata.xml 1032 BLAKE2B 35156eb59a786ad7dab4ac5c281796af6a8f3dcad2b7ebc2c6af926aee6fcbffaef39f0f7119f1aefed42a1e8148f323ee4d3d5f77dfb4d3671317af6fd078cc SHA512 b624438f825e288802e516637dd38f775a63b4a4aabaa53c5adfd1f71f694018dbf3d47f1622a90d5da25a00aac696f9203c085190e574a586f3a3e4fe14f9d1
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit systemd unpacker tmpfiles
|
||||
|
||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_URI="amd64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb )
|
||||
arm64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_arm64.deb )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
# virtual/libcrypt:= is in here despite being a pre-built package
|
||||
# to ensure that the has_version logic for the symlink doesn't become stale
|
||||
CDEPEND="!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
app-emulation/virt-what
|
||||
acct-user/puppet
|
||||
acct-group/puppet
|
||||
virtual/libcrypt:="
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-admin/augeas"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/libselinux
|
||||
sys-libs/glibc
|
||||
sys-libs/readline:0/8
|
||||
sys-libs/libxcrypt[compat]
|
||||
sys-libs/ncurses:0[tinfo]
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
keepdir var/log/puppetlabs/puppet/
|
||||
chmod 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd2" puppet
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
|
||||
# Handling of the path to the crypt library during the ongoing migration
|
||||
# from glibc[crypt] to libxcrypt
|
||||
# https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html
|
||||
if has_version "sys-libs/glibc[crypt]"; then
|
||||
local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1'
|
||||
else
|
||||
local crypt_target='../../../../usr/lib/libcrypt.so.1'
|
||||
fi
|
||||
dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet-agent.conf
|
||||
}
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_RUBY="ruby31"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit ruby-fakegem systemd tmpfiles
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="https://puppet.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86"
|
||||
IUSE="augeas diff doc emacs hiera ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
# <dev-ruby/concurrent-ruby-1.2 for bug #900206
|
||||
# - https://tickets.puppetlabs.com/browse/PUP-11722 (workaround, pinning)
|
||||
# - https://tickets.puppetlabs.com/browse/PUP-11723 (bug for fixing the pinning)
|
||||
ruby_add_rdepend "
|
||||
hiera? ( dev-ruby/hiera )
|
||||
dev-ruby/json:=
|
||||
dev-ruby/semantic_puppet
|
||||
>=dev-ruby/facter-3.0.0
|
||||
dev-ruby/deep_merge
|
||||
<dev-ruby/concurrent-ruby-1.2
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# fix systemd path
|
||||
eapply -p0 "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" \
|
||||
# "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
newtmpfiles "${FILESDIR}/tmpfiles.d-2" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"
|
||||
dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet.conf
|
||||
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
AUX puppetdb.initd 1824 BLAKE2B 76d8252b2fee61270f440734d91735fa002df1583126de60befd3cc756cc0f5368ce49461cee85ffca4c6893b1e1859bff9af86e75d73171d15ae344a9fb4149 SHA512 0d0f67b7eaf7d10474e73eb77174a51e0f891bf664706e11c7a5ef1f918d7967c67251bab797e1d117b0f2b08f4b634ad06a81f6022ef04e6394c15e36a73961
|
||||
AUX puppetdb.initd-r2 1896 BLAKE2B 04f47dd0406c1f67d4f72a911b0db8b482e37673ec9a0d14d73fb868aaae97f756e03fa39c2c7a9d69a217b5924dafa23c6f3e276a0626f06bf5c143b588a2c8 SHA512 58c248710c6eb39ec13e6f55a8bca686386e79eb048c4927925a2e2e75bce742d6a5e84001c231ea2b74fd4eed0ead81b9a4fc5672fdfbbd59f90677e4490675
|
||||
DIST puppetdb-7.13.0.tar.gz 49917440 BLAKE2B 7cb01b2dbd6b6b22aad11a7fbcabff1c8452d51437bd0b3db3c8afe9d72bb853b66a9c8056c4c7c33f284efc4a90c788a05411fe6f80ae081ef817bb7f609bf3 SHA512 ba94031b3c15d38a2719390145e034be453a5f8368b5c53420bf3b371cc36a49f0b416447ec4d9de41ef0618b32ec806b9bae996ec3c4ca0ce05fb152940c2f2
|
||||
DIST puppetdb-8.0.0.tar.gz 50152833 BLAKE2B 89ed62b107f97252aaaffe6124e6f6627b19092fd161b51c8e27d703896d4c7f0c86c0f8ca79f26995abcb29e756f3670f82aa1c6c9b84c6c411451399c6f2de SHA512 7beeaed5b26361c306d8e6319747fc1eb809a82aac503f17b5ca1caebb1972a718e19c118da4b6717914e25aa7bdf410925865bad6a34deba411e1032538b19a
|
||||
DIST puppetdb-8.1.0.tar.gz 56647151 BLAKE2B ba1fa54db6413ab45780546a33039799e2e1fbb16f99c5e3e54a382d2f6d1c2a2b8a65d0dbfe881284b9218f4b0f0b105e6c2d8ade12a7d2c25c3505bb9f4d07 SHA512 76ee2b616373c60496d4bc1f90a01b6d30fa6254ce8788a8438e28cabe55358a10653cfcb78ceda00c90c499c77cf2f77138a3f49daf9b4ebe77255fd134e017
|
||||
EBUILD puppetdb-7.13.0.ebuild 2705 BLAKE2B 7328385eb13d39f37a2affa82b49ed2fac94e68db460ff735fd4a78d26bed884b6047b4d6c5a91b7fd7f93a955e261f9f97cf0833b1d6fa67d06b65fa7eb7080 SHA512 2fccfbbab1518ca3bc804844948547f489a69b908ce04ac93ed88f2b5f241203bfe623e87a0900fddfc2b2ffe5636768bf0ef1258f1dd27d233fbfcbbbbef74b
|
||||
EBUILD puppetdb-8.0.0.ebuild 2702 BLAKE2B 41d534e1642cefba515a29e4528ba3645273b99b7eb8009035a7b51a8bc119faf9e40fdee84ae00afbb9a605c198b5b357b5195a7490ab31e3da0936165089d1 SHA512 8c68b1186a7b1b35711a78b802acf38e1bace13e2f334ec38f30c54dfc8ff6b8608f86f2b195f1aabb96e0f6bf2ef16df005aed32c98b1e2693b07f57ae6c103
|
||||
EBUILD puppetdb-8.1.0.ebuild 2702 BLAKE2B 41d534e1642cefba515a29e4528ba3645273b99b7eb8009035a7b51a8bc119faf9e40fdee84ae00afbb9a605c198b5b357b5195a7490ab31e3da0936165089d1 SHA512 8c68b1186a7b1b35711a78b802acf38e1bace13e2f334ec38f30c54dfc8ff6b8608f86f2b195f1aabb96e0f6bf2ef16df005aed32c98b1e2693b07f57ae6c103
|
||||
MISC metadata.xml 486 BLAKE2B e74960c88243252794d20dd51c071147de88663d4e610e8358013b77ffaeb13b35edb7a48575932a8a30e0916782063459fe14b57ffcb2962e16b5d73c66f9d9 SHA512 e87f0d39aa659c53cb9798929c08a853247870f9c9b7dc85c9610f7b2b9c2f10a226ffeadc738e263c6bbcde495c438fbfd7dd951c2cff18b66646da9475c7c6
|
||||
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd tmpfiles
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet"
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-11"
|
||||
DEPEND+="acct-user/puppetdb
|
||||
acct-group/puppetdb"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
doins ext/config/conf.d/auth.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
newtmpfiles ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppetdb.conf
|
||||
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST drpm-0.5.2.tar.gz 138930 BLAKE2B b2d57e35bf62e94ba23212518a57c22a5638c270a38b07e77799e4c054e82391a08bd40a34adb78e5e5a9cf6c895895146b3619c953a1f0d312a8790652fda55 SHA512 591ffb6b28b1d4c6dda25746a76563c0fa15f48368e2593dbd00a2652dea78b635c8e28f6e50cf824450d9938652ddf3712c877135d66a7b762f1223b38e9ab4
|
||||
EBUILD drpm-0.5.2.ebuild 983 BLAKE2B cf193fb24acb680f4e127c104cebfa457ff766ba8b5c9cd025c737e3ecce937366976196ebc207d7fe09be618ce1edd9f3a8248c8e85ef1fe6081160afe84a3b SHA512 edb0a74a9c2df3fca3d03bbe4927c0e7723670892900b6023d448ee2ac754a40025cfaae4a2136ee63edbed6a443dc378f9c5cb28e8999d78772fb5c7688bbe8
|
||||
EBUILD drpm-9999.ebuild 983 BLAKE2B cf193fb24acb680f4e127c104cebfa457ff766ba8b5c9cd025c737e3ecce937366976196ebc207d7fe09be618ce1edd9f3a8248c8e85ef1fe6081160afe84a3b SHA512 edb0a74a9c2df3fca3d03bbe4927c0e7723670892900b6023d448ee2ac754a40025cfaae4a2136ee63edbed6a443dc378f9c5cb28e8999d78772fb5c7688bbe8
|
||||
MISC metadata.xml 623 BLAKE2B e76fda9b7e7e5e63fef82fcb80872ef84ed4adc68c07e812db5d5b460a55b467f525bdf0f1e8ab86b1de1b192067cf47ea0e2cc2e1cec8c814f01d20d7237216 SHA512 e55feb7f5b8c63a0bacfc4aca64d4684e196fb41f850e8c3fb64449ce8ce91603dc8bbdb5c916b47ac2d1cf78148d16b3fd8cd789cd4afea320ac9f8f9d019d3
|
||||
MISC metadata.xml 496 BLAKE2B 0e582bb0260e0eb298146047400bc732e2d1232eaf647d253af3b7d283f36611bdac27535d8865f88b7ec08ce1edf3870a9d8e88868c8aa8cd91acacebc1c949 SHA512 a9cd9f0fa8101774a46a3498c07297397398ffa2e19d946b62c0b8385912d7d794e24e8653938d75858a4f98c6c23efa307f435353d5b282bec50988818298c9
|
||||
|
Binary file not shown.
@ -1,8 +1,10 @@
|
||||
DIST buildah-1.29.1.tar.gz 15594930 BLAKE2B 71b87352062b3a5df67389897fd0d82c2491c48cffbda808b30e2767a1e290eccfd726be26dbd57fd8d08cfacb74f313058179c40600225d863a9340b772df1e SHA512 ea78aacee9b5cc10e299789d739e7086579e67719ab72b84f6ea5acbaf31d443284387ac92e7c5c1c3da9bd6523f43e2d9c7e2ea5698c251cb5458a384f41b04
|
||||
DIST buildah-1.30.0.tar.gz 15623786 BLAKE2B e0b2f6d26827cfe40f88a9915f12b6acb385fbd576fa227d4fee02c162077e9c6fe0591c7171405f5645cd06e4068f26e17c2cb963898e38cfbdd61abe68dae2 SHA512 185fd98a59fa8d86fe9f1eadc9b7591e5053674464be10538a7581d8e1f6a25e5032a354c821c32a167e2864acea010243efbbe4f5a4205d8eaa2894f062a25b
|
||||
DIST buildah-1.32.0.tar.gz 18445843 BLAKE2B d7471e3f0733bc626f665c592701666ba41732eb53bf4679da7e9e28dad388532ab8c88e86db553790ced7822168fd6388dc08121e1456404f18a5d96017da60 SHA512 7c61141e43ea2f968a50b4c5ae6b69c2b9734a19774c7ca48bc942b900ca55ec381ac93fdf04f08061640a457551a9e03a45a37d22cb94b34cecded192dced8f
|
||||
DIST buildah-1.32.1.tar.gz 18452695 BLAKE2B b4f3644a046d0dd96555b810e488ea78dc396692e539978856fbc2b22010bce3ed9f578949e8de02579325fa59e00fba59908724952b8c323889c816ae4f1af6 SHA512 e5c59f158b786809c89465361a662211bbef6bb4c27c79490604923d924c2030398a0878b122b246b02ae246bd977b7ccffdc6de4f06e80f096c2921c34bf04a
|
||||
EBUILD buildah-1.29.1.ebuild 1194 BLAKE2B 585ad9104367142c5e3ade8d9418c23cafd752be0c000ca4079ac912d2f42b462e2ffba14c422362fee09146b73eacb409ad942cdba54751a21a31ed3e54ab89 SHA512 1ee657db211bfe245dd94fdb297d2f09bc03a70a35a460b3dabe77f0aa098bf9e5597387d2ff7125515e4610979f7587b7634c8d0f776c9ec25d676c4332e6a8
|
||||
EBUILD buildah-1.30.0.ebuild 1196 BLAKE2B eefce023ce7e2662b1598fb3f6d5b885816d54a6397a788e10851b7ccc174ae6d9e4fa4ec387d3a21a7fdff4670ee68bfb59e9171e76032c3c28882d164cc446 SHA512 3c139484015e3e85c8f891babb375c560c3fc3e1827a44862eb262f95b8654a2c8d2a3c4102d3081c3a3677f20c0c5371a6579e9c0e1adfa339e5198475c357b
|
||||
EBUILD buildah-1.32.0.ebuild 1958 BLAKE2B 20b9c0182b44e0a96891dc95f3ecb36a1a0bfc217c41eac2d8e613e35d54533ee3aa3bfc6314998350d5460f3a924282fab0b537dcc1fa3c9bef43be3a687819 SHA512 26cb4c1a9545c53a4c29021f672d844dd4ca6861aa0fc25b57b128798b2d19b72739ba77c6cc13c89a63f9089a7e56833dfb407e28de44b4cd0b19b9e70f4bdf
|
||||
EBUILD buildah-9999.ebuild 2938 BLAKE2B 0fd87b31771c1c2cfd2e9fc7e23eac32847edb52813f2d3c3110c624fb14536cb998376b6fd239a1bded8910e930cb0dfa467f05cfe24e9cc5579ac795c8fbd3 SHA512 083f0a8a64b2817c18d983ad28bb85aa47afb91e4722b23f902d3dded6ee2ad854e6c80b34500e73a5cad78ec3780ad4b998d934c589a2d0a42abb40df8f9079
|
||||
EBUILD buildah-1.32.1.ebuild 2734 BLAKE2B 4b6d0c38e38efeb505f56e3e4b59a770d1d068d01021aa27b4b968d857ae18e8f052dd28e8369cd2d44f5e1e1c5f7256f554aec723ae322152b46bac9a950169 SHA512 0480b51867415728f852e3f3714f037361f54d1a98ebd5be60d2d69b0ba652aee63538ec648f833679394f96c3e02cdcf914b77e094e2773e7cd18f3eed1658a
|
||||
EBUILD buildah-9999.ebuild 2644 BLAKE2B 01da3ffcabeb85bb21ed6289010f9f71a26f6210baf95e6b6e6798fb1e73dd0b44e09ba0114ee2d067c93625ed0a5758914e41ec0c044583a0939e98a7bd9f9e SHA512 e3dacf5eb4f657401dd1f33b11373cfa8e9c45569b54b355ee696418d48588b725eff17af9915677289f4a528ae74134b1a9c6439bffb53115ab3309adcb233e
|
||||
MISC metadata.xml 721 BLAKE2B 3ad3d8a1726282f73f0fdae72e1f970dfbfbc9fcbde5f589fb7285273312682af51ea04e49c70ccf83434640e9acd68ca8d1352ea28a41ce67134d4d8c5de304 SHA512 0a88ddaee2b20b157e2ab5a584a2f265f45aab2807e10dfc46a79cf1573cf7e2db56611dad8de425650d042606dc7ddfa52e758b08b710199c72986aa93e9dbd
|
||||
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module linux-info
|
||||
|
||||
DESCRIPTION="A tool that facilitates building OCI images"
|
||||
HOMEPAGE="https://github.com/containers/buildah"
|
||||
# main pkg
|
||||
LICENSE="Apache-2.0"
|
||||
# deps
|
||||
LICENSE+=" BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="apparmor btrfs +seccomp systemd doc test"
|
||||
RESTRICT="test"
|
||||
EXTRA_DOCS=(
|
||||
"CHANGELOG.md"
|
||||
"CONTRIBUTING.md"
|
||||
"install.md"
|
||||
"troubleshooting.md"
|
||||
"docs/tutorials"
|
||||
)
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/containers/buildah.git"
|
||||
else
|
||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
systemd? ( sys-apps/systemd )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
seccomp? ( sys-libs/libseccomp:= )
|
||||
apparmor? ( sys-libs/libapparmor:= )
|
||||
app-crypt/gpgme:=
|
||||
dev-libs/libgpg-error:=
|
||||
dev-libs/libassuan:=
|
||||
sys-apps/shadow:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
export COMMIT_NO=bfd436d159059b45d770a0fc62386c9e0b9bdbb1
|
||||
export GIT_COMMIT=${COMMIT_NO}
|
||||
|
||||
pkg_pretend() {
|
||||
local CONFIG_CHECK=""
|
||||
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
||||
check_extra_config
|
||||
|
||||
linux_config_exists || ewarn "Cannot determine configuration of your kernel."
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# ensure all necessary files are there
|
||||
local file
|
||||
for file in docs/Makefile hack/libsubid_tag.sh hack/apparmor_tag.sh \
|
||||
hack/systemd_tag.sh btrfs_installed_tag.sh btrfs_tag.sh; do
|
||||
[[ -f "${file}" ]] || die
|
||||
done
|
||||
|
||||
sed -i -e "s|/usr/local|${EPREFIX}/usr|g" Makefile docs/Makefile || die
|
||||
echo -e '#!/usr/bin/env bash\necho libsubid' > hack/libsubid_tag.sh || die
|
||||
|
||||
cat <<-EOF > hack/apparmor_tag.sh || die
|
||||
#!/usr/bin/env bash
|
||||
$(usex apparmor 'echo apparmor' echo)
|
||||
EOF
|
||||
|
||||
use seccomp || {
|
||||
cat <<-'EOF' > "${T}/disable_seccomp.patch"
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -5 +5 @@
|
||||
-SECURITYTAGS ?= seccomp $(APPARMORTAG)
|
||||
+SECURITYTAGS ?= $(APPARMORTAG)
|
||||
EOF
|
||||
eapply "${T}/disable_seccomp.patch" || die
|
||||
}
|
||||
|
||||
cat <<-EOF > hack/systemd_tag.sh || die
|
||||
#!/usr/bin/env bash
|
||||
$(usex systemd 'echo systemd' echo)
|
||||
EOF
|
||||
|
||||
echo -e "#!/usr/bin/env bash\n echo" > btrfs_installed_tag.sh || die
|
||||
cat <<-EOF > btrfs_tag.sh || die
|
||||
#!/usr/bin/env bash
|
||||
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
||||
EOF
|
||||
|
||||
use test || {
|
||||
cat <<-'EOF' > "${T}/disable_tests.patch"
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -54 +54 @@
|
||||
-all: bin/buildah bin/imgtype bin/copy bin/tutorial docs
|
||||
+all: bin/buildah docs
|
||||
EOF
|
||||
eapply "${T}/disable_tests.patch" || die
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test-unit
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install.completions
|
||||
einstalldocs
|
||||
use doc && dodoc -r "${EXTRA_DOCS[@]}"
|
||||
}
|
@ -0,0 +1,191 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/incus
|
||||
acct-group/incus-admin
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
dev-libs/cowsql
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:*
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND="dev-lang/go
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/incus
|
||||
/usr/bin/lxc-to-incus
|
||||
/usr/bin/incus-agent
|
||||
/usr/bin/incus-benchmark
|
||||
/usr/bin/incus-migrate
|
||||
/usr/sbin/lxd-to-incus
|
||||
/usr/sbin/incusd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
internal/server/apparmor/instance.go \
|
||||
internal/server/apparmor/instance_qemu.go \
|
||||
internal/server/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
internal/server/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/incus-0.1.service "${T}"/incus.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/incus.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
# fuidshift should be packaged for incus-lts, making it conflict with lxd.
|
||||
for k in incus-benchmark incus-user incus lxc-to-incus ; do
|
||||
ego install -v -x "${S}/cmd/${k}"
|
||||
done
|
||||
|
||||
ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/cmd/incus-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/cmd/incus-agent
|
||||
|
||||
cd "${S}"/cmd/lxd-to-incus || die
|
||||
ego build -v -x ./
|
||||
cd "${S}" || die
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/incusd
|
||||
dosbin cmd/lxd-to-incus/lxd-to-incus
|
||||
|
||||
for l in incus-agent incus-benchmark incus-migrate incus-user incus lxc-to-incus ; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
dobashcomp scripts/bash/incus
|
||||
|
||||
newconfd "${FILESDIR}"/incus-0.1.confd incus
|
||||
newinitd "${FILESDIR}"/incus-0.1.initd incus
|
||||
|
||||
systemd_dounit "${T}"/incus.service
|
||||
systemd_newunit "${FILESDIR}"/incus-containers-0.1.service incus-containers.service
|
||||
systemd_newunit "${FILESDIR}"/incus-0.1.socket incus.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please see"
|
||||
elog " https://linuxcontainers.org/incus/introduction/"
|
||||
elog " https://linuxcontainers.org/incus/docs/main/tutorial/first_steps/"
|
||||
elog " https://github.com/lxc/incus/blob/main/doc/howto/server_migrate_lxd.md"
|
||||
elog "before a Gentoo Wiki page is made."
|
||||
elog "Note that lxd-to-incus doesn't currently fully work on Gentoo, and doesn't"
|
||||
elog "work at all on OpenRC systems."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "full incus-migrate support" net-misc/rsync
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the incus group."
|
||||
elog
|
||||
}
|
Binary file not shown.
@ -1,8 +1,12 @@
|
||||
AUX gpgme-1.18.0-tests-start-stop-agent-use-command-v.patch 771 BLAKE2B c0ab8ad60cbeda32910fe79ada37dab798b6d38d997516ae5d4c0b9acdad8bd1c98fda5e82769e6475ebce770661666e474ab8fad467338f919edcfebd5a2bc9 SHA512 b0bf27bcbf7973638345b8b526ec8b77df8257455a8b716715b62f16bc1b445238086ac54e3fc026277bed95b5f1fcae1e73e566a63bf5b2e5c51ecb52b023d9
|
||||
AUX gpgme-1.23.1-tests-gnupg-no-tofu.patch 828 BLAKE2B a46a844bc2e44ceb2c647486eb108dc43b0b517ab2171317a936e9a3f8f4d5f0e1c0e3cbd4881540c4f48940975d72a8199e0554d93918be121585223f83032c SHA512 533ed3810736d5cbea3a9cc30cd1b8b3f02051853afab80f564e860afc70097fc0cc6d1d269664b68d58eca78601f90c399a9dcd995c16d65f9bd29e85724b8f
|
||||
DIST gpgme-1.21.0.tar.bz2 1830113 BLAKE2B 77000567fde5b78bf46352b25c81e7223506c00703360c87d3bd05afde29ef33d7f9f82e2dbe20f4e64bb6d99a0d8f442d88762d14a72b7ddabf5b38be62e130 SHA512 eb70813d22920d6d54459a4271259edf55d5833edfdd053551ca245521e06a8c19ed02dc93e0c53132a699e6d8c82499f50caf8e390af28468e3549470595b7d
|
||||
DIST gpgme-1.21.0.tar.bz2.sig 119 BLAKE2B ac19a5694e139be36ee9c6e28501d4a695166cfbc8f1561de7c7741a274f35cb0a67f779b5fc1ff58b5a11eeaa5e575c06233be65d01c40504efe16a759740ea SHA512 8a471333fd0fc6da50990c3aed67900a6b183cde0fcc449d37435289d8f309c68555c741281c06af9740ac088ae0b4747263da1dfd23d90b050185706948b227
|
||||
DIST gpgme-1.22.0.tar.bz2 1717836 BLAKE2B 6c03f4252391a114233fed284bf9eba03fa7b67328b506c01554fbd4239e0f3ede0bc79d82e9f21718084ca17945d628707d4451ac765a8f36d282e7e2d75f8e SHA512 17053053fa885f01416433e43072ac716b5d5db0c3edf45b2d6e90e6384d127626e6ae3ce421abba8f449f5ca7e8963f3d62f3565d295847170bc998d1ec1a70
|
||||
DIST gpgme-1.22.0.tar.bz2.sig 119 BLAKE2B fde8892743e7658004d73d89dcb3899fd003ad9222fa47ec0beb29c507917936cd34ade58609cb44c8ed2d2dc0c8e4aba6ac73ed4789d2a375f79055d23c2349 SHA512 20468946e8247dd12991b25a599ee815b2627931fd3886c41b310eea51f058a51cd1584de2292241a225144bf9a1f18b70bb495cb34304879fc294fc95b220ea
|
||||
DIST gpgme-1.23.1.tar.bz2 1716825 BLAKE2B 5810bafb2bbea0a44078fdd587fdeae5a2705dac381d6873dd1cdff017a0be7213125846201cdfef510a5802fdc6d86fd2216b17c380ef5f9e30add5edeaa70c SHA512 a82d5de29a38e5cee4042b3891d0a2c265001832e8578ba17b26c48c6d2a4d5919ac9655b4bfb5235dc8c7cea8d3254054da270d287133b9161e7c6ef93b2d58
|
||||
DIST gpgme-1.23.1.tar.bz2.sig 119 BLAKE2B bc31079a0632aee4f84347114f3705d8e5068282000057cd8f332b541ee9f0d82eda246ed9b0fb156bb5fbb887156df8ba28518b184ce71b4c66c80e02efc154 SHA512 c3546bc69f8f083d6ebf146336860af263810224a7e9a42c233bfa1210eb0f6f82c26bf134d261ca823eef170549c2642ea2d689610446df91805c5d3c02528f
|
||||
EBUILD gpgme-1.21.0.ebuild 4206 BLAKE2B 37e9cf4b62626a59d34dd19a5fe4b08b45e2e6597f16b7027de8ffc1e1816564c7e9d5b3da1fc4eed3e9270e1d6c22749c1a98060e22058c5e98e6bc3d1cf7b4 SHA512 63f254e37f79408868a60c26fff08724f69a549a1c17500c672b7225be672bb85d24ab961263db9db9ad49e395cee11fed10e836aaebef08373ffa5b950dc9b9
|
||||
EBUILD gpgme-1.22.0.ebuild 4397 BLAKE2B ef06a1ded6942aafb35d5d1c2754101fbbd4c4ce668be5c170df7cd93398c523ce4f361d775a46c7f3fb4347fe8622396dae5c1a56f0b469ea4ee86e174de2e5 SHA512 05e77d43219d447784fa542edb64b025eabd3b69554d412456c7454c6b1021f9d6c1ee211362670d2e77d150279b012c1640d29444e9bf939e8f70ed8700cb58
|
||||
EBUILD gpgme-1.23.1.ebuild 4425 BLAKE2B e189c9019c91ab24c1797c63740414f001528597b69821472a13961d63f314b77cfbbc62ebedd2e06b4b5bcdd65a22b36b40eefb96d41743d78ce6091f7e3716 SHA512 68da3ff808f324914b1dcb0c5e05c34dec845a0a44dc859959846e3f989c5bec3cde050c046ca80694c62147b9a7156cdcbb59f4f6ef8174d34ddf8fb788e3f1
|
||||
MISC metadata.xml 333 BLAKE2B 6dd18b63ec1f7656ab8bd705242bec45d7820db8be31f326172cad400711e6d7268c156d6b81facfdfa79118c04728ac910a8f8de36a11454227a1399235a582 SHA512 21b8d7bf3f14b5ab7e2ea587027395cdd881ecddd5a4f70237cafc70dc904b396a33f70dd7ef37519df5a204f4e3a89d9ea6ffc221df41bd9cbf23e69863f12f
|
||||
|
@ -0,0 +1,26 @@
|
||||
https://dev.gnupg.org/T6778
|
||||
--- a/lang/python/tests/support.py
|
||||
+++ b/lang/python/tests/support.py
|
||||
@@ -46,13 +46,15 @@ def is_gpg_version(version):
|
||||
|
||||
|
||||
def have_tofu_support(ctx, some_uid):
|
||||
- keys = list(
|
||||
- ctx.keylist(
|
||||
- some_uid,
|
||||
- mode=(gpg.constants.keylist.mode.LOCAL |
|
||||
- gpg.constants.keylist.mode.WITH_TOFU)))
|
||||
- return len(keys) > 0
|
||||
-
|
||||
+ try:
|
||||
+ keys = list(
|
||||
+ ctx.keylist(
|
||||
+ some_uid,
|
||||
+ mode=(gpg.constants.keylist.mode.LOCAL |
|
||||
+ gpg.constants.keylist.mode.WITH_TOFU)))
|
||||
+ return len(keys) > 0
|
||||
+ except gpg.errors.GPGMEError:
|
||||
+ return False
|
||||
|
||||
# Skip the Python tests for GnuPG < 2.1.12. Prior versions do not
|
||||
# understand the command line flags that we assume exist. C.f. issue
|
@ -0,0 +1,166 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Maintainers should:
|
||||
# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/
|
||||
# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159
|
||||
# (find the one for the current release then subscribe to it +
|
||||
# any subsequent ones linked within so you're covered for a while.)
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_OPTIONAL=1
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
|
||||
|
||||
# in-source builds are not supported:
|
||||
# * https://dev.gnupg.org/T6313#166339
|
||||
# * https://dev.gnupg.org/T6673#174545
|
||||
inherit distutils-r1 libtool flag-o-matic out-of-source qmake-utils toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
|
||||
HOMEPAGE="https://www.gnupg.org/related_software/gpgme"
|
||||
SRC_URI="
|
||||
mirror://gnupg/gpgme/${P}.tar.bz2
|
||||
verify-sig? ( mirror://gnupg/gpgme/${P}.tar.bz2.sig )
|
||||
"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
# Please check ABI on each bump, even if SONAMEs didn't change: bug #833355
|
||||
# Use e.g. app-portage/iwdevtools integration with dev-libs/libabigail's abidiff.
|
||||
# Subslot: SONAME of each: <libgpgme.libgpgmepp.libqgpgme.FUDGE>
|
||||
# Bump FUDGE if a release is made which breaks ABI without changing SONAME.
|
||||
# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.)
|
||||
SLOT="1/11.6.15.2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="common-lisp static-libs +cxx python qt5 test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# - On each bump, update dep bounds on each version from configure.ac!
|
||||
RDEPEND="
|
||||
>=app-crypt/gnupg-2
|
||||
>=dev-libs/libassuan-2.5.3:=
|
||||
>=dev-libs/libgpg-error-1.46-r1:=
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
qt5? ( dev-qt/qtcore:5 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
qt5? ( dev-qt/qttest:5 )
|
||||
)
|
||||
"
|
||||
#doc? ( app-doc/doxygen[dot] )
|
||||
BDEPEND="
|
||||
python? ( dev-lang/swig )
|
||||
verify-sig? ( sec-keys/openpgp-keys-gnupg )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.18.0-tests-start-stop-agent-use-command-v.patch
|
||||
"${FILESDIR}"/${PN}-1.23.1-tests-gnupg-no-tofu.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
elibtoolize
|
||||
|
||||
# bug #697456
|
||||
addpredict /run/user/$(id -u)/gnupg
|
||||
|
||||
local MAX_WORKDIR=66
|
||||
if use test && [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then
|
||||
eerror "Unable to run tests as WORKDIR='${WORKDIR}' is longer than ${MAX_WORKDIR} which causes failure!"
|
||||
die "Could not run tests as requested with too-long WORKDIR."
|
||||
fi
|
||||
|
||||
# Make best effort to allow longer PORTAGE_TMPDIR
|
||||
# as usock limitation fails build/tests
|
||||
ln -s "${P}" "${WORKDIR}/b" || die
|
||||
S="${WORKDIR}/b"
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
local languages=()
|
||||
|
||||
# bug #847955
|
||||
append-lfs-flags
|
||||
|
||||
if use common-lisp ; then
|
||||
languages+=( "cl" )
|
||||
fi
|
||||
|
||||
if use cxx ; then
|
||||
languages+=( "cpp" )
|
||||
fi
|
||||
|
||||
# TODO: qt6? but qt5 and qt5 are mutually exclusive :(
|
||||
if use qt5; then
|
||||
languages+=( "qt5" )
|
||||
|
||||
#use doc ||
|
||||
export DOXYGEN=true
|
||||
export MOC="$(qt5_get_bindir)/moc"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
$(use test || echo "--disable-gpgconf-test --disable-gpg-test --disable-gpgsm-test --disable-g13-test")
|
||||
--enable-languages="${languages[*]}"
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if use python ; then
|
||||
emake -C lang/python prepare
|
||||
|
||||
pushd lang/python > /dev/null || die
|
||||
top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_configure
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
my_src_compile() {
|
||||
default
|
||||
|
||||
if use python ; then
|
||||
pushd lang/python > /dev/null || die
|
||||
top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_compile
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
my_src_test() {
|
||||
default
|
||||
|
||||
if use python ; then
|
||||
distutils-r1_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake -C lang/python/tests check \
|
||||
PYTHON=${EPYTHON} \
|
||||
PYTHONS=${EPYTHON} \
|
||||
TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
|
||||
}
|
||||
|
||||
my_src_install() {
|
||||
default
|
||||
|
||||
if use python ; then
|
||||
pushd lang/python > /dev/null || die
|
||||
top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_install
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
|
||||
# Backward compatibility for gentoo
|
||||
# (in the past, we had slots)
|
||||
dodir /usr/include/gpgme
|
||||
dosym ../gpgme.h /usr/include/gpgme/gpgme.h
|
||||
}
|
@ -1,4 +1,7 @@
|
||||
AUX p11-kit-0.25.0-fix-C_GetInterface.patch 1410 BLAKE2B c15a8950a73cd9b0a656df2e00c8068abacb14dc9c9b30e67fb777b9987a4419a215904828554a0269699319725d90aab4996895231d325be825a431e99ad4e4 SHA512 69c31b5f2c5dbfb5504281c2518a1cb555973e0a80c5317dc8605d793740c8f2fca0506c2f9baa88de181bab9455a16efdf9649a5a08c35214f2bc46e9dc265a
|
||||
AUX p11-kit-0.25.1-fix-tty-comparison.patch 753 BLAKE2B 0ee0fd52076526853394c1f2a353c95d60c2166645da3bdeefbe1ea878fff7c125ffa76eae4e8949440ccd8aaabde035331a32b1dc7b040c56d41fc26f74eac7 SHA512 1f7b3730aa157dc113ee98c82ab2ce06beed0c5745454857246249f8f15c35fd2c90b5368f966cd4b155cff3e44bdb59d7942ea71689b5eb7bd9efb97df9021e
|
||||
DIST p11-kit-0.25.0.tar.xz 958940 BLAKE2B 6ffce977f86c516a327afe50f4cc5a36e86ba7f43c6cb555db419d9e4ba7543a9f1847ba83da348cd6d7bbebe55dfa26cfe3a3aaa3e1d5420a4b8dc6cbbff088 SHA512 e6df3cb224f6ff5671bd3c0557503b5f20bbfded1b6ec340b1dafcbd1b1725ea2d41d0e920756716e0fe9cb28270d115fe77b23ec876a15007b22e3f30d015fe
|
||||
DIST p11-kit-0.25.1.tar.xz 990460 BLAKE2B 6704ef2ada20765bfbbbfc6f92ec2e934be34b482e1b6a94a7a15ab4718efcaecf943ce06b6c352b8c638fe2b1f0bc7c953c6b0dcf0590e5695c1d6724272ebb SHA512 e12e32148e0924ac7dca4c6a4399cff0934df4f002a31e7ffc5c3cfd14a4c0a47225eb84abd73b7f36c8dfcc32f92756e90699335b830414e8f5eddeaa42c532
|
||||
EBUILD p11-kit-0.25.0-r1.ebuild 1425 BLAKE2B 9e9b0b01a2befbfebb2e6c9bc3be306478b730174f42b9a057c497e45bc7944994b292ba6ccc2e4e3b7e62b7e081507ee7e578f708facd3de9d5d1c63a34943d SHA512 444036cc4a421b8567ec3a2b4d08484dd8484249d7c4bfda4fd567f261c6387a3ab87d32e7de4c1347cfea3c57d44d85c4387f25b9fce067eb053b5de0cd687f
|
||||
EBUILD p11-kit-0.25.1-r1.ebuild 1951 BLAKE2B 7f0443710afc200177288f6b0561d5515fe313bc95e6959c8658b219c133d8ac826ef01de1c176c67789ef598ee3cce92736ef1bd168affa08fb700be849b478 SHA512 d15f7538c09eeeb7e93a361322738b2f111da89583a8897ae40009a7a55b6431719195f61e50b826e40a8bc1e16428fea76c31d1b18c087288f31e8dad39f5cd
|
||||
MISC metadata.xml 249 BLAKE2B 689b2967578682135e3f7d619c2b733bb4e50cd74215a0fa17d3bae7b4f59495c7f8d316ef5340d14cf32de956162fa890186f19346d95f212d18a643b55bee1 SHA512 f3f0b79d325cd001c8cf1c9d6ca14d3c09149aefab7862bd04801cafdc2efad9fe7e456e4fac55c6233413f645188188643f6e8f8dfb54deffe5fa30768831b0
|
||||
|
@ -0,0 +1,22 @@
|
||||
https://github.com/p11-glue/p11-kit/commit/cdc4720d29466e717aa694a85a7aee86ebb94172
|
||||
|
||||
From cdc4720d29466e717aa694a85a7aee86ebb94172 Mon Sep 17 00:00:00 2001
|
||||
From: Erdem Meydanli <meydanli@amazon.com>
|
||||
Date: Thu, 26 Oct 2023 15:18:24 +0000
|
||||
Subject: [PATCH] fix: improper comparison
|
||||
|
||||
Compare the return value of the readpassphrase function to NULL.
|
||||
|
||||
Signed-off-by: Erdem Meydanli <meydanli@amazon.com>
|
||||
--- a/p11-kit/tty.c
|
||||
+++ b/p11-kit/tty.c
|
||||
@@ -66,7 +66,7 @@ p11_pin_tty_callback (const char *pin_source,
|
||||
if (asprintf (&prompt, "%s: ", pin_description) < 0)
|
||||
return NULL;
|
||||
|
||||
- if (readpassphrase (prompt, buf, sizeof(buf), 0) < 0)
|
||||
+ if (readpassphrase (prompt, buf, sizeof(buf), 0) == NULL)
|
||||
goto cleanup;
|
||||
|
||||
pin = p11_kit_pin_new_for_string (buf);
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit bash-completion-r1 meson-multilib python-any-r1
|
||||
|
||||
DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
|
||||
HOMEPAGE="https://p11-glue.github.io/p11-glue/p11-kit.html"
|
||||
SRC_URI="https://github.com/p11-glue/p11-kit/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~m68k ~mips ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="+libffi gtk-doc nls systemd test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/ca-certificates
|
||||
>=dev-libs/libtasn1-3.4:=[${MULTILIB_USEDEP}]
|
||||
libffi? ( dev-libs/libffi:=[${MULTILIB_USEDEP}] )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
virtual/pkgconfig
|
||||
gtk-doc? ( dev-util/gtk-doc )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-tty-comparison.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Relies on dlopen which won't work for multilib tests (bug #913971)
|
||||
cat <<-EOF > "${S}"/p11-kit/test-server.sh || die
|
||||
#!/bin/sh
|
||||
exit 77
|
||||
EOF
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Disable unsafe tests, bug#502088
|
||||
export FAKED_MODE=1
|
||||
|
||||
local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local
|
||||
|
||||
# p11-kit doesn't need this to build and castxml needs Clang. To get
|
||||
# a deterministic non-automagic build, always disable the search for
|
||||
# castxml.
|
||||
cat >> ${native_file} <<-EOF || die
|
||||
[binaries]
|
||||
castxml='castxml-falseified'
|
||||
EOF
|
||||
|
||||
local emesonargs=(
|
||||
--native-file "${native_file}"
|
||||
-Dbashcompdir="$(get_bashcompdir)"
|
||||
-Dtrust_module=enabled
|
||||
-Dtrust_paths="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
|
||||
$(meson_feature libffi)
|
||||
$(meson_use nls)
|
||||
$(meson_use test)
|
||||
$(meson_native_use_bool gtk-doc gtk_doc)
|
||||
$(meson_native_true man)
|
||||
$(meson_native_use_feature systemd)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX veracrypt.init 384 BLAKE2B 0325852e3bb9d8427298c46b0e7caefb1f62d957a158c8a6f898c6609c0363449ef5f48c9cd5a1092efbd9d2e1077a6218bdbebacebde936afc40ec3bfd0b3eb SHA512 574b18b7cbc5f4ea71bb35ec3343af5bdcc7848801decf3b93157bc4fde44ca5daec01847e3ff9f3a638b297f33023ea46a0ada5cc64bab0d14cbe12b93b66ed
|
||||
DIST veracrypt-1.25.9.tar.gz 26200897 BLAKE2B e48f060343f875a0660040dde35fa826ca87c3659d97a039c2b84193276075b4d3596119bde6727e51eead0c876c91a5a1a3ea77717e74061d5d20a4ea1a6fed SHA512 e83bf7ca52d3893347dd06295db0534931f6f388fc6b0f26dc80ffef77f13918bf9558ab8ac2e6225945415f3291646d7c1c8de382dbe8e468ab1e927251982c
|
||||
EBUILD veracrypt-1.25.9.ebuild 2577 BLAKE2B 18da6b6114152e215d7adbda334a33424e7f35ea0148d037c7ebece6ca589423811c422497b054077aeabab3f3b60bb69bc4d02fde8195090bbe87a1fe8a6def SHA512 cf56b42b7ef36170fb9c481113570f7d9aaf5f7ffc55979d6946ba1ac32c580a6edeaf3e3240915c1e5e8a233ce5dd96393c7c98e81aba42968b770e21b2f6f5
|
||||
DIST veracrypt-1.26.7.tar.gz 30322472 BLAKE2B a71adf9fa5a2aafb9694ccf7a7ac45e6e16cf8277a57f9f52e2fd0ddb2657bd1a28dd4b2c0bf9167298251b4a87ab3f0ca0a8a8424b612be0cd7a4bcc630a438 SHA512 1b0fae30e3a8eb20e1ddcf7697f5b1ce947ddc3555442a561e50fe10bd82183ff5b21dc1c06ce2024eecab869fe38616ac47931c880816f814b961bbd1dec8e2
|
||||
EBUILD veracrypt-1.25.9.ebuild 2856 BLAKE2B 34d91904dd2f02ba973256319ce40a906e737e36e6eea517f361c6df9d00227e264cf4de19d2e1d95ae6cbf80cd11536e522f3c19c4c6f87481385e0ba3325a8 SHA512 f826835ab6de6df6497e887c072a818584e6c7cbac21c09554d329bab734c838efa18c5cd093d6a8bcc9aca969d3e29c5ac7448cf84458d7a40b25e05886097f
|
||||
EBUILD veracrypt-1.26.7.ebuild 3052 BLAKE2B eb1fe847a722061234d69f3969a57dc5752a38336d3af1e555ae3812f9d271e678fc49f6d88dc6ccc995ea9ecd5b2e0d76f3d61277862299bba351195e8853b6 SHA512 045f0bb241020b51b9db1d7642aa2b7b60076ee4c4184d53468a614a0a351362f42366027298caf8ac0c3b5bf2c1188eca6738e4b7c44a35388e3510e6d3c8cf
|
||||
MISC metadata.xml 410 BLAKE2B db2f7b5477f9bfc3190069e1762f6af0ff585711a83a43c959918a4ea755b41a768ff44af7f2f3ffd6f3a75f3cbd3a7f71842e272e709de2cc4e05b01db063fc SHA512 a967137df23d239f00df8e0046886792bd6899f365189814cb47b4d03a3c83b69631d06997a57fa7c51fb33af8274140515a848c97e392c30131a26acab5bbdd
|
||||
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
WX_GTK_VER="3.2-gtk3"
|
||||
inherit desktop flag-o-matic linux-info pax-utils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
|
||||
HOMEPAGE="https://www.veracrypt.fr/en/Home.html"
|
||||
SRC_URI="https://github.com/${PN}/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src"
|
||||
|
||||
# The modules not linked against in Linux include (but not limited to):
|
||||
# libzip, chacha-xmm, chacha256, chachaRng, rdrand, t1ha2
|
||||
# Tested by actually removing the source files and performing a build
|
||||
# For this reason, we don't have to worry about their licenses
|
||||
LICENSE="Apache-2.0 BSD RSA truecrypt-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+asm cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc X"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/sudo
|
||||
sys-apps/pcsc-lite
|
||||
sys-fs/fuse:0
|
||||
sys-fs/lvm2
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
asm? ( dev-lang/yasm )
|
||||
virtual/pkgconfig"
|
||||
|
||||
CONFIG_CHECK="~BLK_DEV_DM ~CRYPTO ~CRYPTO_XTS ~DM_CRYPT ~FUSE_FS"
|
||||
|
||||
src_configure() {
|
||||
setup-wxwidgets
|
||||
|
||||
# https://bugs.gentoo.org/786741
|
||||
# std::byte clashes with src/Common/Tcdefs.h typedef
|
||||
append-cxxflags -std=c++14
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeargs=(
|
||||
NOSTRIP=1
|
||||
NOTEST=1
|
||||
VERBOSE=1
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
AR="$(tc-getAR)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
TC_EXTRA_CFLAGS="${CFLAGS}"
|
||||
TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
|
||||
TC_EXTRA_LFLAGS="${LDFLAGS}"
|
||||
WX_CONFIG="${WX_CONFIG}"
|
||||
$(usex X "" "NOGUI=1")
|
||||
$(usex asm "" "NOASM=1")
|
||||
$(usex cpu_flags_x86_sse2 "" "NOSSE2=1")
|
||||
$(usex cpu_flags_x86_sse4_1 "SSE41=1" "")
|
||||
$(usex cpu_flags_x86_ssse3 "SSSE3=1" "")
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./Main/veracrypt --text --test || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( Readme.txt )
|
||||
|
||||
dobin Main/veracrypt
|
||||
if use doc; then
|
||||
DOCS+=( "${S}"/../doc/EFI-DCS )
|
||||
docompress -x /usr/share/doc/${PF}/EFI-DCS
|
||||
HTML_DOCS=( "${S}"/../doc/html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
newinitd "${FILESDIR}"/veracrypt.init veracrypt
|
||||
|
||||
if use X; then
|
||||
local s
|
||||
for s in 16 48 128 256; do
|
||||
newicon -s ${s} Resources/Icons/VeraCrypt-${s}x${s}.xpm veracrypt.xpm
|
||||
done
|
||||
make_desktop_entry veracrypt "VeraCrypt" veracrypt "Utility;Security"
|
||||
fi
|
||||
|
||||
pax-mark -m "${ED}"/usr/bin/veracrypt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local version
|
||||
|
||||
ewarn "VeraCrypt has a very restrictive license. Please be explicitly aware"
|
||||
ewarn "of the limitations on redistribution of binaries or modified source."
|
||||
|
||||
# Remove this when we remove veracrypt-1.25.9.ebuild from the tree.
|
||||
for version in ${REPLACING_VERSIONS}; do
|
||||
if ver_test "${version}" -lt "1.26.7"; then
|
||||
ewarn "Starting with 1.26.7, TrueCrypt volumes are no longer supported."
|
||||
ewarn "Please explore alternatives such as dm-crypt to mount truecrypt volumes."
|
||||
ewarn "Moreover, support for RIPEMD160 and GOST89 is dropped."
|
||||
ewarn "Volumes using these algoritms will no longer mount."
|
||||
fi
|
||||
done
|
||||
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST kicad-doc-7.0.1.tar.bz2 104103280 BLAKE2B dbdcd82e65c9d3a2bff629f8fa4e3cc34c2adbfa3fe9a808e3802addc3d75f3875ad52c4f5e79cb2bfb7563a6288d0c2eb6f119adf4f7fd2f31360cea82d1ea7 SHA512 5274ef673db9e415d5b82522681acdd4ee2b2f615bb52abdd11ebd17b72f36852ee297fdb98f9cf1dee12671a23adc24a6a8a03be720b579bbee7a9ead167e41
|
||||
DIST kicad-doc-7.0.7.tar.bz2 104103652 BLAKE2B f5ce0ccde126c062dd877ce8023b0c22e33bc1df47e12494d6a41cb198e0100c690fb9325f6e8b74198af77af1c6afb92f6a6f8c417828527bfa8904c88f6432 SHA512 fd37e06dcac907d8fca6cdf8e3eaf2c5197a82572d92f2b2af8aca8ea3603e7dd4ffc1c77b1e28aee245b4d611dca2a3565eec1d23051925d9969582232862c1
|
||||
DIST kicad-doc-7.0.8.tar.bz2 107229731 BLAKE2B b8a190701ea3a4b065b8446a59837ec7f43cf1f6213e4f4d34da5467097d48c9825e4ee4caa5f9f2f889ff5b3120eba436545c83cae14143ad9fff7f07f0cb75 SHA512 0ddf90cdeccc686b98406875e6528e9dc046f8b0e0cc9a5903135af6d6e6a87d34fd102e1472d8347972b645e72d30659272f0d72febcf7766b43715dcff1b63
|
||||
EBUILD kicad-doc-7.0.1.ebuild 1810 BLAKE2B f37bc6841d8aa2c457341d56643ec14048af7c6c97b671a607f8a069750bb885439ba5d07c0dd677f73e1b5cfafe68062483e439cfee78f9b84ba73d48615892 SHA512 0e3674a86ab2b0bd61cf0505dde1e2910502ce992fac8f276b86738e0082860e1ff577f5d84412d60f085bea9443f9872540908a5e93b7afef47794ca84d8811
|
||||
EBUILD kicad-doc-7.0.7.ebuild 1811 BLAKE2B dd463832069201a6775846383f74bc0f3e04426307267153960e6d6248e862d53c0d87c93fc70672c1aefa3030f20997009fb8c5cd7d076a31960e75c1ed5e3f SHA512 b800a6f5befc4d0f293767ac85e56c11b136023f45186a13285d3629b100df55232d4d83188d02dc5af5fac55c9265b68bfad75d68ba94b1621dfb6d952321ba
|
||||
EBUILD kicad-doc-7.0.8.ebuild 1811 BLAKE2B dd463832069201a6775846383f74bc0f3e04426307267153960e6d6248e862d53c0d87c93fc70672c1aefa3030f20997009fb8c5cd7d076a31960e75c1ed5e3f SHA512 b800a6f5befc4d0f293767ac85e56c11b136023f45186a13285d3629b100df55232d4d83188d02dc5af5fac55c9265b68bfad75d68ba94b1621dfb6d952321ba
|
||||
MISC metadata.xml 861 BLAKE2B d1cfbf0b3a558b876cc446ffb27ac09d0bac29328d370b064f950117692a0582adc48cac4c8d887ac4151aae72c8cbeef20b521da166a77c7a787951da812f8c SHA512 3d12ebc29679fc7b7d2a75d5d33a053dfb21c96213aa98dd8350f4eb364a4149e35b0f18ca6d9e59f86e57df0abb59e182c7f8fdfda38e4bce8a5308009c85fa
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Electronic Schematic and PCB design tools manuals"
|
||||
HOMEPAGE="https://docs.kicad.org/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://gitlab.com/kicad/services/kicad-doc.git"
|
||||
inherit git-r3
|
||||
# x11-misc-util/macros only required on live ebuilds
|
||||
LIVE_DEPEND=">=x11-misc/util-macros-1.18"
|
||||
else
|
||||
SRC_URI="https://gitlab.com/kicad/services/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( GPL-3+ CC-BY-3.0 ) GPL-2"
|
||||
SLOT="0"
|
||||
# TODO: Change default back to +pdf once asciidoctor-pdf is packaged?
|
||||
IUSE="+html pdf"
|
||||
|
||||
LANG_USE=" l10n_ca l10n_de l10n_en l10n_es l10n_fr l10n_id l10n_it l10n_ja l10n_pl l10n_ru l10n_zh"
|
||||
IUSE+=${LANG_USE}
|
||||
REQUIRED_USE="|| ( html pdf ) ^^ ( ${LANG_USE} )"
|
||||
unset LANG_USE
|
||||
|
||||
# TODO: need asciidoctor-pdf for pdf
|
||||
# bug #697450
|
||||
BDEPEND="
|
||||
>=dev-ruby/asciidoctor-2.0.12
|
||||
>=app-text/dblatex-0.3.10
|
||||
>=app-text/po4a-0.45
|
||||
>=sys-devel/gettext-0.18
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-util/source-highlight
|
||||
l10n_ca? ( dev-texlive/texlive-langspanish )
|
||||
l10n_de? ( dev-texlive/texlive-langgerman )
|
||||
l10n_en? ( dev-texlive/texlive-langenglish )
|
||||
l10n_es? ( dev-texlive/texlive-langspanish )
|
||||
l10n_fr? ( dev-texlive/texlive-langfrench )
|
||||
l10n_it? ( dev-texlive/texlive-langitalian )
|
||||
l10n_ja? ( dev-texlive/texlive-langjapanese media-fonts/vlgothic )
|
||||
l10n_pl? ( dev-texlive/texlive-langpolish )
|
||||
l10n_ru? ( dev-texlive/texlive-langcyrillic )
|
||||
l10n_zh? ( dev-texlive/texlive-langchinese )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPDF_GENERATOR="DBLATEX"
|
||||
-DBUILD_FORMATS="$(usev html);$(usev pdf)"
|
||||
-DSINGLE_LANGUAGE="${L10N}"
|
||||
-DKICAD_DOC_PATH="${EPREFIX}"/usr/share/doc/${P}/help
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
AUX 50cider-gentoo.el 213 BLAKE2B 5dfecdc5467e5e359be87197388c33ad5d12f58772755ce41a7c9c43733a3c828f3e6a76a75f9af781e0bc0466f950c673159dbf404afd7f34f4b09105f7f3b3 SHA512 fda3962b2b215456d167453da5269034cae830e8938f10b0b3b5bcd830c3bf623351a13afa6364d4082ed763e3bd42447a4b625d51a7690263c74aae08cac794
|
||||
DIST cider-1.7.0.tar.gz 6731090 BLAKE2B f569491c3279f34f07abb84c76d81fe61917d0d438a94bd7e6a1d55a20194d38c85566a12d23d4255feef54c9df22fcd5a5946226f18051571354fae0ff9dd8a SHA512 f86cb5791c8949bf175dc27d59c324163d2d05c63d19b2e2a563b9a870bf78bf0832a895f28a30b6f76385e3d86142178820cde4b9dcd2c91c54e879b6b9cd19
|
||||
DIST cider-1.8.3.tar.gz 7282998 BLAKE2B a0c596decbed17fd7056d371cf68de1939d29256fc4e0180fb8bd8ed41f37803b3aa4ad533aedd6321ebc1547ee645bb6e503e0dba939c1ec694137e87d1ba65 SHA512 b703c0a35e27f7de4d87b0e4a58d5a6b3fcdae41262ca47dab22ad74ecce73510d57f3ab135e83edd7df447a91fbaaa994c60f5dbcec611feb3c7b5e8141b42f
|
||||
DIST cider-1.9.0.tar.gz 7285662 BLAKE2B ad26406cbcb7c63519cc0b46ca289acd50a07cbd56b33e7a555456dfebc4381ad4a25dcd2510f8c54437dcf1a4724e48883e271d8f5b52e4b1929dbfbb522906 SHA512 636e0eb82671e9e8e9eebd456a7ff5d4798a21e89127948a295d19853198d304b6b47fdb6c8f269ef77d0c3a9d89296e7a847d8ec6e32bf90e7978f1ae5d9d62
|
||||
EBUILD cider-1.7.0.ebuild 1014 BLAKE2B 94a5cf62797c7b76a33d799dcf6a507f98f0e31ba50c594ab3fe1cf2fb598e8754064025061d85e99233bdafb91f7bb934a7d7f2a71876d57b20324014c769d2 SHA512 3dc646ea3e2ddae4e76ac055057560b24db477abdf4f52ceceaec03b9599afc82ebc3040e848baf224817f77ed183468490ecf0678611b9777b3426be4e67e40
|
||||
EBUILD cider-1.8.3.ebuild 1178 BLAKE2B 42a47275acf35f7b652188e2fd3dc8f34f57c67a5d76d92614ad4609783956f46e851d49460d1986a7b5fd2bf33b48a5b0f1b84d26cd9fff5a09ac9f60024b1f SHA512 92d859855d6db0cf5a97871008b90de00c10dd33d64d985d30bbea38929bf2a26b53d7eb5799b3ff3cc77311e6d9e9c6de6c4f566a0035f687134c28d8f71f9c
|
||||
EBUILD cider-1.9.0.ebuild 1178 BLAKE2B 42a47275acf35f7b652188e2fd3dc8f34f57c67a5d76d92614ad4609783956f46e851d49460d1986a7b5fd2bf33b48a5b0f1b84d26cd9fff5a09ac9f60024b1f SHA512 92d859855d6db0cf5a97871008b90de00c10dd33d64d985d30bbea38929bf2a26b53d7eb5799b3ff3cc77311e6d9e9c6de6c4f566a0035f687134c28d8f71f9c
|
||||
MISC metadata.xml 935 BLAKE2B 866459527ea892f48cad2d9e72a5795360e541f5be6c805f0d4fe406244cb63bed93744630c0c4bc75fdd4bed3e2b86af2621deba1d6361787bcfba0b0217abb SHA512 76ed7275992cb1d0c9021ebb646768a76f60b5ffe303659c6f8579d86c4617c916ccacc0bd33a4582cd17bca941f5480d68a19879231622ac20af402f3d29458
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=26
|
||||
|
||||
inherit elisp optfeature
|
||||
|
||||
DESCRIPTION="Clojure Interactive Development Environment for GNU Emacs"
|
||||
HOMEPAGE="https://cider.mx/
|
||||
https://github.com/clojure-emacs/cider/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/clojure-emacs/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/clojure-emacs/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/clojure-mode
|
||||
app-emacs/parseedn
|
||||
app-emacs/queue
|
||||
app-emacs/sesman
|
||||
app-emacs/spinner
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? ( app-emacs/buttercup )
|
||||
"
|
||||
|
||||
ELISP_REMOVE="
|
||||
test/${PN}-jar-tests.el
|
||||
test/enrich/${PN}-docstring-tests.el
|
||||
test/integration/integration-tests.el
|
||||
"
|
||||
DOCS=( CHANGELOG.md README.md ROADMAP.md refcard )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
buttercup -L . -L test --traceback full || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
optfeature "Connecting to leiningen REPL" \
|
||||
dev-java/leiningen dev-java/leiningen-bin
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX 50counsel-gentoo.el 110 BLAKE2B 223dc0b9991156d3494e9e954624ec060515231f5ca979345864dad802ccaaaff02eb43e13a7af5eed581e4189005493bbda3d849ef8c7b9b877993f9e096a78 SHA512 be21f737978b64065af31df15320ddb06f255a258d05d75227f4762a35a6eb86b0012561a40f7f72f154af58c0ce240c50958a8020d3a0dc5054c6b5834b80c8
|
||||
DIST swiper-0.13.4.tar.gz 245190 BLAKE2B c4da021b92fcedfec39cc60f670c97e4a421b8d4aef8183f50c4872bed835db79884cff113f58cf21dfa7ce33158218aa0cf25d72fc0081dc1c24a3b4376c60e SHA512 bf096a13f675f87af6ea68c974455896b64921ca4d7880c9ccc444aa3cea7c7e04c61be5deb2fd57d0568ff4d86f96ffcf94494b55d84d7a9f647f49b69aec9a
|
||||
DIST swiper-0.14.0.tar.gz 249820 BLAKE2B 9184e66f910b9f7c401c9a5433b5915c393ece7711858c3f844d8afcbc13fa76039173b2ecd50bbaff586ff7596fd95e46e550a4282763e385f064d2e2103978 SHA512 e87fa2159d1541afdaa08e33584480cbeba75df15235bf57d4c8f6292b91be7e2a316e931c3f4d823da5fbf23d987ded293a433824af04357de231d26adfeeb1
|
||||
EBUILD counsel-0.13.4.ebuild 768 BLAKE2B e9ec9d5be3fcefb8d76b2a30a51586be3c97eeb180ff850383e6e778452964d5a2442fa76ceb00f1be5222d780af7f384f91346fe614b6e28ced2d5082b24908 SHA512 10c946c5738a21480032572f14e8248a52c4ecbc4a9b5ea11700d8f0c1f91fa250a5d1a3da87218254926307980ec4457feba0ab5f9d46018e3172c9c3e2ed31
|
||||
DIST swiper-0.14.2.tar.gz 250059 BLAKE2B 8a5437726c729398a689266d138f271f5f7329f9c58613c4e0cfabd16b99421035c4b522d0ea4c60c0369362cb076bcae05ff4155d33d186172fd0ac2258495d SHA512 e125a3747abc4e6ecc98f539cf5dde11851d6c8a58b8988e165300bce7822fc91257cae09c973bd43435fb08dc24af9a1bd4b3e51083b45654b1605d80973d74
|
||||
EBUILD counsel-0.14.0.ebuild 768 BLAKE2B e9ec9d5be3fcefb8d76b2a30a51586be3c97eeb180ff850383e6e778452964d5a2442fa76ceb00f1be5222d780af7f384f91346fe614b6e28ced2d5082b24908 SHA512 10c946c5738a21480032572f14e8248a52c4ecbc4a9b5ea11700d8f0c1f91fa250a5d1a3da87218254926307980ec4457feba0ab5f9d46018e3172c9c3e2ed31
|
||||
EBUILD counsel-0.14.2.ebuild 770 BLAKE2B 95b897e6fcbf71d7e6f7efd35406b66542bc55363ec1064a4451d2b29ef7e42b4a81853aa4f44e40c9327f99f2146a6875773c511d97924c6878736df09820f6 SHA512 369be835339666628fa91d7fa02de555b39af809b1db6d4cea2d036a6cfd90c344255183d0799b4ecd7e6ee5f9761491b7165c9858d2e6b32648d42648e01d5e
|
||||
MISC metadata.xml 571 BLAKE2B 26ca5a5dfb1bc67ad37086ddc2c2e5976d1b4c763789a27ee83fb08c4a106a21c33b4c9632a3f2858a6b6249c8c49da3e2eafa7efc5267b655c0c9b2066598e2 SHA512 1879881be5eaeb2a6bac023fd06476a2ccbd25909f7c2f722b4af3680db44b4d3a959e1ac864e86580813a0bc68a2120d936f1c2efd67a6738ee8d83a5adb6f4
|
||||
|
@ -1,7 +1,7 @@
|
||||
AUX 50ivy-gentoo.el 98 BLAKE2B 4d474a2c101b1cee20da1c56e5336b31df2a75cf5bf24251ba4c72c9d7cfb6cad9cac61923ca1d5ae83370e94cae545cb276cfa6df3f7bd528bd36fdb9e3156a SHA512 ccd9987b868c613535465b9c3041fb2a8c44561b678fe7bf40a276dff272deafb4bc14ce61228ed9cc27f2d0439652aa888e07c0120f6e2a246b0b5fa30a246e
|
||||
AUX ivy-0.13.4-ivy-test.el-skip.patch 1352 BLAKE2B b45c62f336e903d35514c00d8f3f1c922b4191c96c0ad4dfcaede594449f075909d77d012cd162e16d6e442c32101124af10db9e2e7d1dcb1a38270a581562a8 SHA512 f56b610d973b9aa62e5474012c1a3ef61a2be39f1d828e714576e15bb5e53d3e9ea8891915db5cee347b747be8b19c8849ab2912eb3a2f2e522160ee6573c1f2
|
||||
DIST swiper-0.13.4.tar.gz 245190 BLAKE2B c4da021b92fcedfec39cc60f670c97e4a421b8d4aef8183f50c4872bed835db79884cff113f58cf21dfa7ce33158218aa0cf25d72fc0081dc1c24a3b4376c60e SHA512 bf096a13f675f87af6ea68c974455896b64921ca4d7880c9ccc444aa3cea7c7e04c61be5deb2fd57d0568ff4d86f96ffcf94494b55d84d7a9f647f49b69aec9a
|
||||
DIST swiper-0.14.0.tar.gz 249820 BLAKE2B 9184e66f910b9f7c401c9a5433b5915c393ece7711858c3f844d8afcbc13fa76039173b2ecd50bbaff586ff7596fd95e46e550a4282763e385f064d2e2103978 SHA512 e87fa2159d1541afdaa08e33584480cbeba75df15235bf57d4c8f6292b91be7e2a316e931c3f4d823da5fbf23d987ded293a433824af04357de231d26adfeeb1
|
||||
EBUILD ivy-0.13.4.ebuild 1341 BLAKE2B 882febee4f004555918a5d7f38f809d1385417c46f6134589a18b5b6760a757e23594298aef7d47662173bbbefb3e6ed98b3cab78a680f0a9ae48cd13b30cbb3 SHA512 93ade7f2126191c9660e024fd3bc887955dd3aa2c9f57e5b5d42f2168538e416089aa9db7b1e6b57594ad98489d4503c4e4628c9e8dc61012a9a86e38708e027
|
||||
DIST swiper-0.14.2.tar.gz 250059 BLAKE2B 8a5437726c729398a689266d138f271f5f7329f9c58613c4e0cfabd16b99421035c4b522d0ea4c60c0369362cb076bcae05ff4155d33d186172fd0ac2258495d SHA512 e125a3747abc4e6ecc98f539cf5dde11851d6c8a58b8988e165300bce7822fc91257cae09c973bd43435fb08dc24af9a1bd4b3e51083b45654b1605d80973d74
|
||||
EBUILD ivy-0.14.0.ebuild 1166 BLAKE2B b05ebb90ebd7baa3d40eb610b2bf8d6d3574151d8be200ee47d44f8b92557c3b024558210f657050e2f4c6498e8728a751de8ada041cb76dd8a71efb92978ca3 SHA512 2390e00dbfe3da576c99f09b17807a83eb96a0b3e9d28a8c12e00202ae6df42304b73b3903286ab6f4306278d4abdca2a67fbe77937bfb7301bb450865f43fb7
|
||||
EBUILD ivy-0.14.2.ebuild 1168 BLAKE2B 81e68521d89a24d6061f032913ee07a1a854fb220414983db9234cf2bbf74cea06639639231902e88e27636404d8fdb15ec74858d1f0832188b46265c54a36a0 SHA512 3a48282e4a79a78c3185cf6b9f7a5444ab5e5bba91f7af33201af40dc51505171c57bade67cbb5788fcc74cb0016a52abc06a2999a5d72da56624371307331e7
|
||||
MISC metadata.xml 571 BLAKE2B 26ca5a5dfb1bc67ad37086ddc2c2e5976d1b4c763789a27ee83fb08c4a106a21c33b4c9632a3f2858a6b6249c8c49da3e2eafa7efc5267b655c0c9b2066598e2 SHA512 1879881be5eaeb2a6bac023fd06476a2ccbd25909f7c2f722b4af3680db44b4d3a959e1ac864e86580813a0bc68a2120d936f1c2efd67a6738ee8d83a5adb6f4
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX 50swiper-gentoo.el 108 BLAKE2B fae1fd6258927f672a77b42eb6c826fa246d77e6ce5984c923d272001a6e7f4b523c47fcdec7103845e9705b43cea7e9a91904f6ef0f56fae4de8aa507d57d75 SHA512 1fab726ea0f7288a3f8daee32f2b70f4ca59de0e31144bc88c405a3418f342eb56d96c09754b118831aa33c55e64db8ee9e0df18821d20c1bbf2df4a4034142f
|
||||
DIST swiper-0.13.4.tar.gz 245190 BLAKE2B c4da021b92fcedfec39cc60f670c97e4a421b8d4aef8183f50c4872bed835db79884cff113f58cf21dfa7ce33158218aa0cf25d72fc0081dc1c24a3b4376c60e SHA512 bf096a13f675f87af6ea68c974455896b64921ca4d7880c9ccc444aa3cea7c7e04c61be5deb2fd57d0568ff4d86f96ffcf94494b55d84d7a9f647f49b69aec9a
|
||||
DIST swiper-0.14.0.tar.gz 249820 BLAKE2B 9184e66f910b9f7c401c9a5433b5915c393ece7711858c3f844d8afcbc13fa76039173b2ecd50bbaff586ff7596fd95e46e550a4282763e385f064d2e2103978 SHA512 e87fa2159d1541afdaa08e33584480cbeba75df15235bf57d4c8f6292b91be7e2a316e931c3f4d823da5fbf23d987ded293a433824af04357de231d26adfeeb1
|
||||
EBUILD swiper-0.13.4.ebuild 695 BLAKE2B 6a12e3cf8c625e0c1a7302ab5326a94148901d99772c8b452cfcfb957395edc2688c96dcac787081888704706a37b211564288230ca3863b9c92c6348954109e SHA512 5f99175870cae2ccebbaf9732cbc104570b8488ab6fa0fb349132c4b42406de4a36925ae7225d56bd188c86efdda6bf832133094441c6dc0cad1167fcc98c958
|
||||
DIST swiper-0.14.2.tar.gz 250059 BLAKE2B 8a5437726c729398a689266d138f271f5f7329f9c58613c4e0cfabd16b99421035c4b522d0ea4c60c0369362cb076bcae05ff4155d33d186172fd0ac2258495d SHA512 e125a3747abc4e6ecc98f539cf5dde11851d6c8a58b8988e165300bce7822fc91257cae09c973bd43435fb08dc24af9a1bd4b3e51083b45654b1605d80973d74
|
||||
EBUILD swiper-0.14.0.ebuild 695 BLAKE2B 6a12e3cf8c625e0c1a7302ab5326a94148901d99772c8b452cfcfb957395edc2688c96dcac787081888704706a37b211564288230ca3863b9c92c6348954109e SHA512 5f99175870cae2ccebbaf9732cbc104570b8488ab6fa0fb349132c4b42406de4a36925ae7225d56bd188c86efdda6bf832133094441c6dc0cad1167fcc98c958
|
||||
EBUILD swiper-0.14.2.ebuild 697 BLAKE2B 94e8df0c7166578ae09fd9fc4b83aef2614d62d91b605439e757b6883e08e50693ab4d58b26fb76850c5411b0fd7fce2cf121587a9dbac0db0e1cc9c67c19e56 SHA512 8c95999c4207d22d1f165cf60a5f1fde127ca9fa27a6dc501a9ae0a583a36d9ecf5ac195316b6cbfbf8e84119a1895454764e79bfa96cdfbdfcba22287a9135d
|
||||
MISC metadata.xml 571 BLAKE2B 26ca5a5dfb1bc67ad37086ddc2c2e5976d1b4c763789a27ee83fb08c4a106a21c33b4c9632a3f2858a6b6249c8c49da3e2eafa7efc5267b655c0c9b2066598e2 SHA512 1879881be5eaeb2a6bac023fd06476a2ccbd25909f7c2f722b4af3680db44b4d3a959e1ac864e86580813a0bc68a2120d936f1c2efd67a6738ee8d83a5adb6f4
|
||||
|
Binary file not shown.
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit fcaps go-module systemd
|
||||
GIT_COMMIT=0dd0455
|
||||
MY_PV="v${PV/_rc/-rc.}"
|
||||
|
||||
DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, TCP and ICMP"
|
||||
HOMEPAGE="https://github.com/prometheus/blackbox_exporter"
|
||||
SRC_URI="https://github.com/prometheus/blackbox_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~ajak/dist/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
COMMON_DEPEND="acct-group/blackbox_exporter
|
||||
acct-user/blackbox_exporter"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND="dev-util/promu"
|
||||
|
||||
FILECAPS=(
|
||||
cap_net_raw usr/bin/blackbox_exporter
|
||||
)
|
||||
|
||||
# tests require the network
|
||||
RESTRICT+=" test "
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e "s/{{.Branch}}/Head/" \
|
||||
-e "s/{{.Revision}}/${GIT_COMMIT}/" \
|
||||
-e "s/{{.Version}}/${PV}/" .promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
promu build -v --prefix bin || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin bin/${P} ${PN}
|
||||
dodoc {README,CHANGELOG,CONFIGURATION}.md blackbox.yml
|
||||
insinto /etc/blackbox_exporter
|
||||
newins example.yml blackbox.yml
|
||||
keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
|
||||
systemd_dounit "${FILESDIR}"/blackbox_exporter.service
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
fowners ${PN}:${PN} /var/lib/blackbox_exporter /var/log/blackbox_exporter
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
SNMP_EXPORTER_COMMIT=f8826bcf
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Prometheus exporter for snmp metrics"
|
||||
HOMEPAGE="https://github.com/prometheus/snmp_exporter"
|
||||
SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~ajak/dist/${CATEGORY}/${PN}/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
COMMON_DEPEND="acct-group/snmp_exporter
|
||||
acct-user/snmp_exporter
|
||||
net-analyzer/net-snmp"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
BDEPEND="dev-util/promu"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
promu build --prefix bin || die
|
||||
pushd generator || die
|
||||
ego build -o ../bin/generator
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test-flags= test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/generator
|
||||
newbin bin/${PN}-${PV} ${PN}
|
||||
dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
|
||||
insinto /etc/snmp_exporter
|
||||
newins snmp.yml snmp.yml.example
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
|
||||
fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST trash-cli-0.22.8.27.tar.gz 80344 BLAKE2B 309a1c429b6e052d622f5cd0f4eb211e1dcf8f5fcbe0834d359cd568527843e6a3c4cd1d61f1d1102b6e7f5b7a55fdde396b2500ca94f9410111705cdbff339b SHA512 909a521f40e2252012ed9ebafe8baff50cd2f743c9ab49df0abb41ecc177e551bde07289505f37e8dc86a0d20cdc8b521c35dd2383d17d4f9e962aa431368fe8
|
||||
DIST trash-cli-0.23.2.13.2.gh.tar.gz 104006 BLAKE2B c4187faff6618c54be3fcda2fca799d16ff614e5db2a47912aa796d72385bac8dab188977f635372372eae3f6e7d0faaea9405ac93edcd06962f6ffc2bd4694d SHA512 3894d852c01f5e3096bc5bf95220c35cfaa28e2fa555716983ad8203ce7d2206127394cdfbf3f08f0922abdbbfdb4f1a6c1db3fb0bcbda9d936612a2c7d6a7e8
|
||||
EBUILD trash-cli-0.22.8.27.ebuild 631 BLAKE2B 8a9a549f9e1ff702c0b1e37cc3a9cefc212de732a0a9a32c5ac72593556d7f4dfe73a7acc9cb6103da36e1e73aa7be9f1dc5ca94db2b0c9bf14d2a833861f551 SHA512 4b83f84e8560635f148a89f07e3ce28d22b3067cccc93581b73b4a3067b458408f959c62b206ac311153deb33c2c1a9bf68b3bba9aaf9fd9ec515adf99454077
|
||||
EBUILD trash-cli-0.23.2.13.2.ebuild 790 BLAKE2B 01317cc30676accd42b7cef1d3ff64d79c07ebffb1169dd8df1e87c7a051ef11fa111e69ef0b821dfc52383e9bae04820f1fc0676ba515050fabf4d8ccd41e32 SHA512 5f757e9536806f8ae149714a44f2a43b6ac472634254d82de32a5e4ecf80524143e4bbdd73c32ee5daabb093b06689f3f46f8b200ae499944ca2aa51f1f4af8a
|
||||
DIST trash-cli-0.23.9.23.gh.tar.gz 119568 BLAKE2B 58329ccde4ec8bbe1577b13949964766ea49ce943d6e80f7d97c6c54d38ca87297dba5197599cf52d0dd3cd02b00a6e5ddf6b3aab525b9e47bde1473c5550acd SHA512 9af243b1c7a7caa2ac303f343b425b8437f72c5b4d461badde56f46940f2c2c997fad622fa7d44dfc16c97e09044837544f2295d5df3adc96e4eb2b50efdd9c9
|
||||
EBUILD trash-cli-0.23.2.13.2.ebuild 785 BLAKE2B 1b4c4dc60b349dc446f5a2b1a0a2259c829d54c15f9c4fa1e549e873a809968d3e622750aef808425c7501359db1dd35c007679f6222fdc713fce47de95884d3 SHA512 03ae05fd43f0f50500f6812507b916d72afa0aaac2e8fb97d0be52de7419a0dcc4ac51a13e0842b394bc6f537a530f9452fd899824df16636428ea568ba46544
|
||||
EBUILD trash-cli-0.23.9.23.ebuild 787 BLAKE2B ed3450c71dfadc07c81c92501237929d740c9cc1b2edddcfed4ce6fc3ef3eb90e469c2844d09c521e1ffb6eb8220baa4004634313053189f9df9b8faaea33170 SHA512 3d6dc962a00415882a93f3b6b6f57e6ba7bd2ddca3265866c42794841f1d8ae39f978d730b6a8dd12cc0f79674608d25c2c1c16c7d0be16d8fc4c0198d0f532e
|
||||
MISC metadata.xml 1095 BLAKE2B 47ecff4dfa92c0750b4743988d715e828ce8a8d07140df5eec50ad41f0f1aae22efcdf7c7f743c5f6a58c572da9faa8fae4017fde65909e1f8e2ea3b4750b40e SHA512 b935e7c812982d7aabc6cbbcf39ae62404f04f2c8e6055adfdb710bf9502da907b61806425d270b87c14206e7e4caf3e3baea6ab8f86f0b16b9cf3171954b652
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST vit-2.3.1.tar.gz 72143 BLAKE2B 288e21083fc39d47aa1df6d3adf5b5973a50ab0463ad53a40ad70c1dbc627821ed4e567cd269749cca470fb7705f0f1792dca9db58cd16b504d5e0a0c2471097 SHA512 930c02ab2f399a0338a1a7f328a99452c1448bd9352c1f0535c720b6d4437ff29345a23a73af107aeac1091ad33829a563ce69daae53a44b684cf71a54d70d4b
|
||||
DIST vit-2.3.2.tar.gz 72321 BLAKE2B 45fb6725547f2a6703dd0862df522781f5a5fa7d7264a1c1dd95d28fcca688661c971abec789e93fa40b4c40b2c1991ca5b951b4d0439baeeb7ef7f82aed6e7a SHA512 f24a3bd238b390acb437b1a7bdd888f468196ddbf179d1aee9578ce1c83e6f973703d779c231c07024f81600066431661e312419ad5a4c81bcb1125a9f714f42
|
||||
EBUILD vit-2.3.1.ebuild 608 BLAKE2B 4869abe8585917099b69ed19d8a58a4a384acd819b388b65286e994eb6ca9eab6e737af6863dfd1a978c597f12dd7d1ec9a73a24bdc440ec7a5d4437187657e1 SHA512 83ef4590367988240e24ea114c6da47d30b68ad0e41b7e5c0fd51f3483e1c7040096306623e37086345e8d1d09b2305cbab79f39af6bbf545e3679a2ab9db4f2
|
||||
EBUILD vit-2.3.2.ebuild 609 BLAKE2B 958121ee57fe31e48da50b86f433f2003e6579145d1caf93568288c82fa0abe10ee274669d322af257934bc4ac879f02cb8f2b1d9db2cff06bc192ca776f2d97 SHA512 5085c7e0141d7e9e5d553e38edb506be508ed5f36b6e6f41a1d3d440afc74994ec1474c7950a8487aa537c37ffc773e141c8664de6415487d5ebc798693aa57d
|
||||
MISC metadata.xml 380 BLAKE2B f51041aedacd22c0004363cdf14a43c71991317d7b5779d15ab5d3356f66e1102d4b646639a821aa697265073946af94f23e10eaee9417450c97967225c5e1d9 SHA512 0d8c9b04a3a351c674398072bf33a2c50e7902c97b3011d4c0b3ac65f42b4190f13121b2b4a49e01315e2112ebefd05359a3ec010b4ab03a8ce4e33079f64c40
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=yes
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A lightweight, fast, curses-based front end to Taskwarrior"
|
||||
HOMEPAGE="
|
||||
https://github.com/vit-project/vit
|
||||
https://pypi.org/project/vit/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/task
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/tasklib-2.4.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/urwid-2.1.2[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit wrapper
|
||||
|
||||
DESCRIPTION="Cross-platform automation and configuration tool (binary package)"
|
||||
HOMEPAGE="https://microsoft.com/powershell/
|
||||
https://github.com/PowerShell/PowerShell/"
|
||||
|
||||
BASE_URI="https://github.com/PowerShell/PowerShell/releases/download/"
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-x64.tar.gz )
|
||||
arm64? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
|
||||
arm? ( ${BASE_URI}/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
REQUIRED_USE="elibc_glibc"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/mit-krb5:0/0
|
||||
dev-libs/icu
|
||||
dev-util/lttng-ust:0/2.12
|
||||
sys-libs/pam:0/0
|
||||
sys-libs/zlib:0/1
|
||||
|| (
|
||||
dev-libs/openssl-compat:1.0.0
|
||||
=dev-libs/openssl-1.0*:0/0
|
||||
)
|
||||
"
|
||||
IDEPEND="app-eselect/eselect-pwsh"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
local -a broken_symlinks
|
||||
broken_symlinks=( libcrypto.so.1.0.0 libssl.so.1.0.0 )
|
||||
|
||||
local symlink
|
||||
for symlink in "${broken_symlinks[@]}" ; do
|
||||
if [[ -L "${symlink}" ]] ; then
|
||||
rm "${symlink}" || die "failed to remove ${symlink}"
|
||||
fi
|
||||
done
|
||||
|
||||
local dest="opt/${PN}-${SLOT}"
|
||||
local dest_root="/${dest}"
|
||||
|
||||
insinto "${dest_root}"
|
||||
doins -r .
|
||||
|
||||
fperms 0755 "${dest_root}/pwsh"
|
||||
|
||||
local gentoo_path='PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"'
|
||||
make_wrapper "${PN}-${SLOT}" "env ${gentoo_path} ${dest_root}/pwsh"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect pwsh update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pwsh update ifunset
|
||||
}
|
@ -0,0 +1,427 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTICE: Before packaging we have to run "ResGen" and "GetDependencies".
|
||||
# See: https://git.alpinelinux.org/aports/tree/community/powershell/APKBUILD
|
||||
# The repackaged tarball contains the C# code generated by that subproject.
|
||||
|
||||
EAPI=8
|
||||
|
||||
DOTNET_PKG_COMPAT=7.0
|
||||
NUGET_APIS=(
|
||||
"https://api.nuget.org/v3-flatcontainer"
|
||||
"https://www.powershellgallery.com/api/v2"
|
||||
)
|
||||
NUGETS="
|
||||
dotnetanalyzers.documentationanalyzers.unstable@1.0.0.59
|
||||
dotnetanalyzers.documentationanalyzers@1.0.0-beta.59
|
||||
markdig.signed@0.31.0
|
||||
microsoft.applicationinsights@2.21.0
|
||||
microsoft.aspnetcore.app.runtime.linux-arm64@7.0.5
|
||||
microsoft.aspnetcore.app.runtime.linux-arm@7.0.5
|
||||
microsoft.aspnetcore.app.runtime.linux-musl-arm64@7.0.5
|
||||
microsoft.aspnetcore.app.runtime.linux-musl-arm@7.0.5
|
||||
microsoft.aspnetcore.app.runtime.linux-musl-x64@7.0.5
|
||||
microsoft.aspnetcore.app.runtime.linux-x64@7.0.5
|
||||
microsoft.bcl.asyncinterfaces@7.0.0
|
||||
microsoft.codeanalysis.analyzers@3.3.3
|
||||
microsoft.codeanalysis.common@4.4.0
|
||||
microsoft.codeanalysis.csharp@4.4.0
|
||||
microsoft.codeanalysis.netanalyzers@7.0.4
|
||||
microsoft.codecoverage@17.3.3
|
||||
microsoft.csharp@4.0.1
|
||||
microsoft.csharp@4.3.0
|
||||
microsoft.csharp@4.7.0
|
||||
microsoft.extensions.objectpool@7.0.13
|
||||
microsoft.management.infrastructure.runtime.unix@2.0.0
|
||||
microsoft.management.infrastructure.runtime.win@2.0.0
|
||||
microsoft.management.infrastructure@2.0.0
|
||||
microsoft.net.test.sdk@17.3.3
|
||||
microsoft.netcore.app.host.linux-arm64@7.0.5
|
||||
microsoft.netcore.app.host.linux-arm@7.0.5
|
||||
microsoft.netcore.app.host.linux-musl-arm64@7.0.5
|
||||
microsoft.netcore.app.host.linux-musl-arm@7.0.5
|
||||
microsoft.netcore.app.host.linux-musl-x64@7.0.5
|
||||
microsoft.netcore.app.host.linux-x64@7.0.5
|
||||
microsoft.netcore.app.runtime.linux-arm64@7.0.5
|
||||
microsoft.netcore.app.runtime.linux-arm@7.0.5
|
||||
microsoft.netcore.app.runtime.linux-musl-arm64@7.0.5
|
||||
microsoft.netcore.app.runtime.linux-musl-arm@7.0.5
|
||||
microsoft.netcore.app.runtime.linux-musl-x64@7.0.5
|
||||
microsoft.netcore.app.runtime.linux-x64@7.0.5
|
||||
microsoft.netcore.platforms@1.0.1
|
||||
microsoft.netcore.platforms@1.1.0
|
||||
microsoft.netcore.platforms@5.0.0
|
||||
microsoft.netcore.targets@1.0.1
|
||||
microsoft.netcore.targets@1.1.0
|
||||
microsoft.powershell.markdownrender@7.2.1
|
||||
microsoft.powershell.native@7.3.2
|
||||
microsoft.security.extensions@1.2.0
|
||||
microsoft.testplatform.objectmodel@17.3.3
|
||||
microsoft.testplatform.testhost@17.3.3
|
||||
microsoft.win32.primitives@4.3.0
|
||||
microsoft.win32.registry.accesscontrol@7.0.0
|
||||
microsoft.win32.registry@5.0.0
|
||||
microsoft.win32.systemevents@7.0.0
|
||||
microsoft.windows.compatibility@7.0.5
|
||||
namotion.reflection@2.1.2
|
||||
netstandard.library@1.6.1
|
||||
newtonsoft.json@13.0.1
|
||||
newtonsoft.json@13.0.3
|
||||
newtonsoft.json@9.0.1
|
||||
njsonschema@10.8.0
|
||||
nuget.frameworks@5.11.0
|
||||
runtime.any.system.collections@4.3.0
|
||||
runtime.any.system.diagnostics.tools@4.3.0
|
||||
runtime.any.system.diagnostics.tracing@4.3.0
|
||||
runtime.any.system.globalization.calendars@4.3.0
|
||||
runtime.any.system.globalization@4.3.0
|
||||
runtime.any.system.io@4.3.0
|
||||
runtime.any.system.reflection.extensions@4.3.0
|
||||
runtime.any.system.reflection.primitives@4.3.0
|
||||
runtime.any.system.reflection@4.3.0
|
||||
runtime.any.system.resources.resourcemanager@4.3.0
|
||||
runtime.any.system.runtime.handles@4.3.0
|
||||
runtime.any.system.runtime.interopservices@4.3.0
|
||||
runtime.any.system.runtime@4.3.0
|
||||
runtime.any.system.text.encoding.extensions@4.3.0
|
||||
runtime.any.system.text.encoding@4.3.0
|
||||
runtime.any.system.threading.tasks@4.3.0
|
||||
runtime.any.system.threading.timer@4.3.0
|
||||
runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.linux-arm.runtime.native.system.io.ports@7.0.0
|
||||
runtime.linux-arm64.runtime.native.system.io.ports@7.0.0
|
||||
runtime.linux-x64.runtime.native.system.io.ports@7.0.0
|
||||
runtime.native.system.data.sqlclient.sni@4.7.0
|
||||
runtime.native.system.io.compression@4.3.0
|
||||
runtime.native.system.io.ports@7.0.0
|
||||
runtime.native.system.net.http@4.3.0
|
||||
runtime.native.system.security.cryptography.apple@4.3.0
|
||||
runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.native.system@4.3.0
|
||||
runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.osx-arm64.runtime.native.system.io.ports@7.0.0
|
||||
runtime.osx-x64.runtime.native.system.io.ports@7.0.0
|
||||
runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0
|
||||
runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.unix.microsoft.win32.primitives@4.3.0
|
||||
runtime.unix.system.console@4.3.0
|
||||
runtime.unix.system.diagnostics.debug@4.3.0
|
||||
runtime.unix.system.io.filesystem@4.3.0
|
||||
runtime.unix.system.net.primitives@4.3.0
|
||||
runtime.unix.system.net.sockets@4.3.0
|
||||
runtime.unix.system.private.uri@4.3.0
|
||||
runtime.unix.system.runtime.extensions@4.3.0
|
||||
runtime.win-arm64.runtime.native.system.data.sqlclient.sni@4.4.0
|
||||
runtime.win-x64.runtime.native.system.data.sqlclient.sni@4.4.0
|
||||
runtime.win-x86.runtime.native.system.data.sqlclient.sni@4.4.0
|
||||
stylecop.analyzers.unstable@1.2.0.507
|
||||
stylecop.analyzers@1.2.0-beta.507
|
||||
system.appcontext@4.3.0
|
||||
system.buffers@4.3.0
|
||||
system.codedom@7.0.0
|
||||
system.collections.concurrent@4.3.0
|
||||
system.collections.immutable@6.0.0
|
||||
system.collections@4.0.11
|
||||
system.collections@4.3.0
|
||||
system.componentmodel.composition.registration@7.0.0
|
||||
system.componentmodel.composition@7.0.0
|
||||
system.configuration.configurationmanager@7.0.0
|
||||
system.console@4.3.0
|
||||
system.data.odbc@7.0.0
|
||||
system.data.oledb@7.0.0
|
||||
system.data.sqlclient@4.8.5
|
||||
system.diagnostics.debug@4.0.11
|
||||
system.diagnostics.debug@4.3.0
|
||||
system.diagnostics.diagnosticsource@4.3.0
|
||||
system.diagnostics.diagnosticsource@7.0.2
|
||||
system.diagnostics.eventlog@7.0.0
|
||||
system.diagnostics.performancecounter@7.0.0
|
||||
system.diagnostics.tools@4.0.1
|
||||
system.diagnostics.tools@4.3.0
|
||||
system.diagnostics.tracing@4.3.0
|
||||
system.directoryservices.accountmanagement@7.0.1
|
||||
system.directoryservices.protocols@7.0.1
|
||||
system.directoryservices@7.0.1
|
||||
system.drawing.common@7.0.0
|
||||
system.dynamic.runtime@4.0.11
|
||||
system.dynamic.runtime@4.3.0
|
||||
system.formats.asn1@7.0.0
|
||||
system.globalization.calendars@4.3.0
|
||||
system.globalization.extensions@4.3.0
|
||||
system.globalization@4.0.11
|
||||
system.globalization@4.3.0
|
||||
system.io.compression.zipfile@4.3.0
|
||||
system.io.compression@4.3.0
|
||||
system.io.filesystem.primitives@4.0.1
|
||||
system.io.filesystem.primitives@4.3.0
|
||||
system.io.filesystem@4.0.1
|
||||
system.io.filesystem@4.3.0
|
||||
system.io.packaging@7.0.0
|
||||
system.io.ports@7.0.0
|
||||
system.io@4.1.0
|
||||
system.io@4.3.0
|
||||
system.linq.expressions@4.1.0
|
||||
system.linq.expressions@4.3.0
|
||||
system.linq@4.1.0
|
||||
system.linq@4.3.0
|
||||
system.management@7.0.2
|
||||
system.memory@4.5.5
|
||||
system.net.http.winhttphandler@7.0.0
|
||||
system.net.http@4.3.0
|
||||
system.net.nameresolution@4.3.0
|
||||
system.net.primitives@4.3.0
|
||||
system.net.sockets@4.3.0
|
||||
system.numerics.vectors@4.5.0
|
||||
system.objectmodel@4.0.12
|
||||
system.objectmodel@4.3.0
|
||||
system.private.servicemodel@4.10.3
|
||||
system.private.uri@4.3.0
|
||||
system.reflection.context@7.0.0
|
||||
system.reflection.dispatchproxy@4.7.1
|
||||
system.reflection.emit.ilgeneration@4.0.1
|
||||
system.reflection.emit.ilgeneration@4.3.0
|
||||
system.reflection.emit.lightweight@4.0.1
|
||||
system.reflection.emit.lightweight@4.3.0
|
||||
system.reflection.emit@4.0.1
|
||||
system.reflection.emit@4.3.0
|
||||
system.reflection.extensions@4.0.1
|
||||
system.reflection.extensions@4.3.0
|
||||
system.reflection.metadata@1.6.0
|
||||
system.reflection.metadata@5.0.0
|
||||
system.reflection.primitives@4.0.1
|
||||
system.reflection.primitives@4.3.0
|
||||
system.reflection.typeextensions@4.1.0
|
||||
system.reflection.typeextensions@4.3.0
|
||||
system.reflection@4.1.0
|
||||
system.reflection@4.3.0
|
||||
system.resources.resourcemanager@4.0.1
|
||||
system.resources.resourcemanager@4.3.0
|
||||
system.runtime.caching@7.0.0
|
||||
system.runtime.compilerservices.unsafe@6.0.0
|
||||
system.runtime.extensions@4.1.0
|
||||
system.runtime.extensions@4.3.0
|
||||
system.runtime.handles@4.0.1
|
||||
system.runtime.handles@4.3.0
|
||||
system.runtime.interopservices.runtimeinformation@4.3.0
|
||||
system.runtime.interopservices@4.1.0
|
||||
system.runtime.interopservices@4.3.0
|
||||
system.runtime.numerics@4.3.0
|
||||
system.runtime.serialization.primitives@4.1.1
|
||||
system.runtime@4.1.0
|
||||
system.runtime@4.3.0
|
||||
system.security.accesscontrol@5.0.0
|
||||
system.security.accesscontrol@6.0.0
|
||||
system.security.claims@4.3.0
|
||||
system.security.cryptography.algorithms@4.3.0
|
||||
system.security.cryptography.cng@4.3.0
|
||||
system.security.cryptography.csp@4.3.0
|
||||
system.security.cryptography.encoding@4.3.0
|
||||
system.security.cryptography.openssl@4.3.0
|
||||
system.security.cryptography.pkcs@7.0.0
|
||||
system.security.cryptography.pkcs@7.0.2
|
||||
system.security.cryptography.pkcs@7.0.3
|
||||
system.security.cryptography.primitives@4.3.0
|
||||
system.security.cryptography.protecteddata@7.0.1
|
||||
system.security.cryptography.x509certificates@4.3.0
|
||||
system.security.cryptography.xml@7.0.1
|
||||
system.security.permissions@7.0.0
|
||||
system.security.principal.windows@4.3.0
|
||||
system.security.principal.windows@4.7.0
|
||||
system.security.principal.windows@5.0.0
|
||||
system.security.principal@4.3.0
|
||||
system.servicemodel.duplex@4.10.3
|
||||
system.servicemodel.http@4.10.3
|
||||
system.servicemodel.nettcp@4.10.3
|
||||
system.servicemodel.primitives@4.10.3
|
||||
system.servicemodel.security@4.10.3
|
||||
system.servicemodel.syndication@7.0.0
|
||||
system.serviceprocess.servicecontroller@7.0.1
|
||||
system.speech@7.0.0
|
||||
system.text.encoding.codepages@6.0.0
|
||||
system.text.encoding.codepages@7.0.0
|
||||
system.text.encoding.extensions@4.0.11
|
||||
system.text.encoding.extensions@4.3.0
|
||||
system.text.encoding@4.0.11
|
||||
system.text.encoding@4.3.0
|
||||
system.text.encodings.web@7.0.0
|
||||
system.text.regularexpressions@4.1.0
|
||||
system.text.regularexpressions@4.3.0
|
||||
system.threading.accesscontrol@7.0.1
|
||||
system.threading.tasks.extensions@4.0.0
|
||||
system.threading.tasks.extensions@4.3.0
|
||||
system.threading.tasks.extensions@4.5.4
|
||||
system.threading.tasks@4.0.11
|
||||
system.threading.tasks@4.3.0
|
||||
system.threading.threadpool@4.3.0
|
||||
system.threading.timer@4.3.0
|
||||
system.threading@4.0.11
|
||||
system.threading@4.3.0
|
||||
system.web.services.description@4.10.3
|
||||
system.windows.extensions@7.0.0
|
||||
system.xml.readerwriter@4.0.11
|
||||
system.xml.readerwriter@4.3.0
|
||||
system.xml.xdocument@4.0.11
|
||||
system.xml.xdocument@4.3.0
|
||||
validation@2.4.22
|
||||
xunit.abstractions@2.0.2
|
||||
xunit.abstractions@2.0.3
|
||||
xunit.analyzers@1.0.0
|
||||
xunit.assert@2.4.2
|
||||
xunit.core@2.4.2
|
||||
xunit.extensibility.core@2.4.0
|
||||
xunit.extensibility.core@2.4.2
|
||||
xunit.extensibility.execution@2.4.0
|
||||
xunit.extensibility.execution@2.4.2
|
||||
xunit.runner.visualstudio@2.4.5
|
||||
xunit.skippablefact@1.4.13
|
||||
xunit@2.4.2
|
||||
xunitxml.testlogger@3.0.78
|
||||
"
|
||||
|
||||
# Additional PowerShell Gallery modules.
|
||||
NUGETS+="
|
||||
microsoft.powershell.archive@1.2.5
|
||||
packagemanagement@1.4.8.1
|
||||
powershellget@2.2.5
|
||||
psreadline@2.2.6
|
||||
threadjob@2.0.3
|
||||
"
|
||||
|
||||
inherit check-reqs desktop dotnet-pkg xdg
|
||||
|
||||
DESCRIPTION="Cross-platform automation and configuration tool"
|
||||
HOMEPAGE="https://microsoft.com/powershell/
|
||||
https://github.com/PowerShell/PowerShell/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/PowerShell/PowerShell.git"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
fi
|
||||
|
||||
SRC_URI+=" ${NUGET_URIS} "
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libpsl-native:=
|
||||
sys-libs/pam:0/0
|
||||
|| (
|
||||
dev-libs/openssl-compat:1.0.0
|
||||
=dev-libs/openssl-1.0*:0/0
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
IDEPEND="
|
||||
app-eselect/eselect-pwsh
|
||||
"
|
||||
|
||||
CHECKREQS_DISK_BUILD="2G"
|
||||
DOTNET_PKG_PROJECTS=(
|
||||
src/powershell-unix/powershell-unix.csproj
|
||||
src/Modules/PSGalleryModules.csproj
|
||||
)
|
||||
# Lower warning level to skip CS0162 error for the "disable-telemetry" patch.
|
||||
DOTNET_PKG_BUILD_EXTRA_ARGS=(
|
||||
-p:WarningLevel=1
|
||||
)
|
||||
PATCHES=(
|
||||
"${FILESDIR}/pwsh-7.3.3-disable-telemetry.patch"
|
||||
"${FILESDIR}/pwsh-7.3.3-disable-update-check.patch"
|
||||
)
|
||||
|
||||
DOCS=( CHANGELOG CHANGELOG.md CODE_OF_CONDUCT.md README.md docs )
|
||||
|
||||
pkg_setup() {
|
||||
check-reqs_pkg_setup
|
||||
dotnet-pkg_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
dotnet-pkg_src_unpack
|
||||
|
||||
if [[ -n "${EGIT_REPO_URI}" ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
dotnet-pkg_src_prepare
|
||||
|
||||
# This is guarded by "RegexGitVersion" in "PowerShell.Common.props".
|
||||
local fake_describe="v${PV}-0-g0"
|
||||
sed -i "s|git describe --abbrev=60 --long|echo ${fake_describe}|" \
|
||||
PowerShell.Common.props || die
|
||||
|
||||
echo "v${PV}" > powershell.version || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo 'Copying DLL files for the missing "ref" directory'
|
||||
edotnet fsi "${FILESDIR}/pwsh-7.3.3-copy-ref.fsx" "${WORKDIR}/${P}_ref"
|
||||
|
||||
dotnet-pkg_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest_root="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
# Install additional PowerShell Gallery modules.
|
||||
local -a psg_modules=(
|
||||
Microsoft.PowerShell.Archive
|
||||
PackageManagement
|
||||
PowerShellGet
|
||||
PSReadLine
|
||||
ThreadJob
|
||||
)
|
||||
local psg_module
|
||||
for psg_module in "${psg_modules[@]}" ; do
|
||||
insinto "${dest_root}/Modules/${psg_module}"
|
||||
doins -r "${NUGET_PACKAGES}/${psg_module,,}"/*
|
||||
done
|
||||
|
||||
dotnet-pkg-base_append_launchervar \
|
||||
'PSModulePath="${PSModulePath}:${EPREFIX}/usr/share/GentooPowerShell/Modules:"'
|
||||
dotnet-pkg-base_install "${dest_root}"
|
||||
dotnet-pkg-base_dolauncher "${dest_root}/pwsh" "pwsh-${SLOT}"
|
||||
|
||||
insinto "${dest_root}/ref"
|
||||
doins "${WORKDIR}/${P}_ref"/*
|
||||
|
||||
# Remove "libpsl-native.so" provided by "microsoft.powershell.native".
|
||||
rm "${ED}/${dest_root}/libpsl-native.so" || die
|
||||
dosym -r "/usr/$(get_libdir)/libpsl-native.so" "${dest_root}/libpsl-native.so"
|
||||
|
||||
newicon assets/ps_black_128.svg powershell.svg
|
||||
make_desktop_entry "pwsh-${SLOT} -l" \
|
||||
"PowerShell ${SLOT}" powershell "ConsoleOnly;System;" "Terminal=true"
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
eselect pwsh update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
|
||||
eselect pwsh update ifunset
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST lcdf-typetools-2.108.tar.gz 651350 BLAKE2B c60986672a31bcf47b876fa75d04a976be761442b04b1541f7f9082521d716708542b8708fd3da558f9df6b459cca1043a7e1ee2eb006f94054611dd4ef348d5 SHA512 2c7afe1c6838f432ddd5bbd5fa86a58743242d5a2203220d3cd0153c0c69f23ca734e8d4352ed3c8a6bffc1c61bb93c19d00c6483545a09d6f8363f870bf2fd0
|
||||
EBUILD lcdf-typetools-2.108-r1.ebuild 836 BLAKE2B 2e212b377045322d3e51075535107f24409ea2b6e11ea823868d5caf5dfbc536ef2ed07977894afc9ec47a9dc46d69371f69979bda21803c6a770610fb03bc2c SHA512 4c324efc7106634f6818246cf6c0af4f02a41b8b5930208c1816a39ff903d6248fbb9bb5a80f9cd98da2296d24a82e1c35762dc41d80d882feedb31444b08e02
|
||||
EBUILD lcdf-typetools-2.108-r1.ebuild 926 BLAKE2B 5a410f9a5b22b8b062e248a278288b538a6fe90fcda4cde6817525f11239bde0def5e93f3b6cb23b1d2c01797489d6b827e20f6bef854bbc32e6d7498cf73e18 SHA512 ec14abfbd153052a9458953603e09041a95a768a84b8b561a423d4d43d91df842c5ebe82f291bf02e688f3c93a39d56378cebbfb2d8e4bb30394265628bd86f4
|
||||
MISC metadata.xml 795 BLAKE2B 0fe34057b644c8df7952739791c9f86ded3139f42cea4a81c9395720acb4ae75f98dbc15a632ca1f95cbac9c91ebc68bca59d30205d0d08d08fa51c9ae9d6791 SHA512 164fc5d8c8919b7620c56b78ad349885103e9beda04cf3f4393dc0d45981ac23ec0f4ab56d14b15a845e212c7bfc89fcb6de76e5cdcde2b121ee8453e123f540
|
||||
|
@ -1,4 +1,7 @@
|
||||
DIST pandoc-3.1.8-linux-amd64.tar.gz 31184131 BLAKE2B e19054ec10d1ccbe11706ac79784af6079c71c5a2fac1c839402a0b45f0bda300df6e70f77aea5858e38912b023483fc0fb24d7fa4f3c8fecf1985c079df2d63 SHA512 d09fac84c6bba940cc9a57e70c72cce107032d404a33a284687d607baf862bfadae58e8888c326fafb330e1e22a14cdc120d015a17a5dc8dbf795603af0436bf
|
||||
DIST pandoc-3.1.8-linux-arm64.tar.gz 33855568 BLAKE2B c27a847d6631503e90c7f6c121286374599f98f716e72be66fcc7d680895f751ecf6988b383ae1c37fc7060f5aa2568468972894790ea714ee45fa15dcf1cb3a SHA512 4f5d4c643e859d3a77faf48992aa64bef898da76312c4cbbb6cab5f772e5ab8085767938cfa50cb778078dfb4a4cdcf5073fbba6c3941305563b61e920c21a35
|
||||
DIST pandoc-3.1.9-linux-amd64.tar.gz 31178384 BLAKE2B e9062911de705081d1f8929c8e8d77ab7637351310f9fea8d392561d78943634d8d277b93e91c31d36a5d0b8589d7f989bff0717bda601a0e7e7e2c277b52a63 SHA512 de9b3b496a2816f55dac46c2ff3b5aefc6eced9f73377e4d43783e7d78eaa5893ea0f56c47b5c56e2c8f2561c67024d7f5eaeccb8ab7e87edb7bc8f36312cd36
|
||||
DIST pandoc-3.1.9-linux-arm64.tar.gz 33852012 BLAKE2B e00997e422057f247385128624d26c9e1134a90147fdaad33fd7586716149ecee6e3f00768eb19fb9898b895d6eabb75924002033dda5958803ec3f3125e40b5 SHA512 406cae4cea2c24bea46bfc479d07094a225208a02bfeefdc1ceaa1f4a7d0c100ab2acb06f2190fe259cadd6cc07efe9b1387044e4e5312ba31025553364c4f3f
|
||||
EBUILD pandoc-bin-3.1.8-r1.ebuild 1450 BLAKE2B 71877591c278a11e945342dbc7eba6f48749870c9b592a0790faf9173359c8c29bd5f80dead70cc01a738495a1e552a9aa887799e52f2f978cb00455c61b1ccc SHA512 3731cc20bde9103f9c05edaf4c4d617808432d7509abf5232a332cb719a4b6ea48082942817cb65e56acc75c5f5a45d211dc0562c5c36443475aef4ac10f7acc
|
||||
EBUILD pandoc-bin-3.1.9.ebuild 1452 BLAKE2B 81bba990dfa625ed7100d8f74f98d80f818c90a93a69a68a8723cfb5142cb220207815b918281d54e721ef16a7011462d6bb28d90399f682c2c9e444a76dc7e2 SHA512 dcbbf171a74bf0f7cd6bdbacf302639b90d79805286fe25cb8a28449542e1d1a97414e60ea7b38bda2ac88b16f1dfc0a4fc7b317d2af8c780c9cbf7916be7d28
|
||||
MISC metadata.xml 986 BLAKE2B 10ab442c2f7892545054ba2747c0cde115d9d875673c077d2cefcd035e2ecd6d04f2aef05ef9ca58a2150a983079ad8fbdc6910ca93fc14977409041e5f20201 SHA512 c8e241d4d7bba0a6f36320517d18fbb99922e32970d7771d5bbc80a8ecf5086f8f7d1eadd0188d457412a66db898d044074b4d4f0301aab1e19cd1213e562375
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN=${PN//-bin/}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Conversion between markup formats (binary package)"
|
||||
HOMEPAGE="https://pandoc.org/
|
||||
https://github.com/jgm/pandoc/"
|
||||
|
||||
BASE_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}"
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_URI}-linux-amd64.tar.gz )
|
||||
arm64? ( ${BASE_URI}-linux-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
IUSE="+pandoc-symlink"
|
||||
|
||||
RDEPEND="
|
||||
pandoc-symlink? (
|
||||
!${CATEGORY}/${MY_PN}
|
||||
!app-text/pandoc-cli
|
||||
!dev-haskell/pandoc
|
||||
)
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
QA_PRESTRIPPED="${QA_FLAGS_IGNORED}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# Manpages are gzipped.
|
||||
unpack "${S}"/share/man/man1/*.1.gz
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
newexe bin/${MY_PN} ${PN}
|
||||
dosym ${PN} /usr/bin/pandoc-lua-bin
|
||||
dosym ${PN} /usr/bin/pandoc-server-bin
|
||||
|
||||
newman "${WORKDIR}"/${MY_PN}-lua.1 pandoc-lua-bin.1
|
||||
newman "${WORKDIR}"/${MY_PN}-server.1 pandoc-server-bin.1
|
||||
newman "${WORKDIR}"/${MY_PN}.1 ${PN}.1
|
||||
|
||||
if use pandoc-symlink ; then
|
||||
dosym ${PN} /usr/bin/${MY_PN}
|
||||
dosym pandoc-lua-bin /usr/bin/${MY_PN}-lua
|
||||
dosym pandoc-server-bin /usr/bin/${MY_PN}-server
|
||||
|
||||
dosym ${PN}.1 /usr/share/man/man1/${MY_PN}.1
|
||||
dosym pandoc-lua-bin.1 /usr/share/man/man1/${MY_PN}-lua.1
|
||||
dosym pandoc-server-bin.1 /usr/share/man/man1/${MY_PN}-server.1
|
||||
fi
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
AUX 0001-FIX-ColorTest-Fixed-test-under-linux-when-compiled-w.patch 1476 BLAKE2B b4f014bc690768a97c6e2d2d21f24a2539a2b7429aaa3a778987226610929751226f87829d15a843158cdee243dee27dbc98a538f3150fa77e950121d68263c8 SHA512 513848767ab848f7e913c36cc9d4fe8f1fd157c4ff86df1eba97524cf88d6bee775ab4ae39bece86dc6d38898e3a4ef5900ba842603b88517424986ec04585cf
|
||||
AUX podofo-0.9.6_p20190928-cmake_lua_version.patch 522 BLAKE2B b911b2ab2b35f5eccb58b32e575a775fe43cac1576831bb4e47d10c666a1e7040d8c01c865ee63ef1c3ff3c1a1feb2059dc25c71924b61995302dad21c32c868 SHA512 953f41b44468918aa96af42ecf3de8e3dd0d7721ed7c6283d8a6d44941caf70d9ef63d7d59ee1d94081fdc91a915ba8770bc335f8af5d60b24cd1f6c04698f6f
|
||||
DIST podofo-0.10.1-test-resources.tar.gz 4228392 BLAKE2B 95526d145a18976d5b9f782dfcac15e17bc4ef20a22ca5892905a19193ad88c2855cb8551886754c334f6ca666b9b74fe9a3b5c89ce774fa24e579f563be57c6 SHA512 4cb33e5a6050ef745cda42b7fdf53fee9f45d4d488555b79c9cdd6680c5265065aac92ad3d72ea0b75eee9a73098f920a3dd61b7728db6d2171888cbc83c6d55
|
||||
DIST podofo-0.10.1.tar.gz 1690279 BLAKE2B 0fc161c467ffce07c1b2cb1a2124ffddc6c18189b5c8b31dc1212921637601a667cd2b0d6f1269214bd0fe47e8853367283e3053813d45aed01589f0dfb1c29b SHA512 cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9
|
||||
DIST podofo-0.9.8-bug-888463.patch 1269 BLAKE2B 632e9326112eecb484a15a532fc218263eab081acaf2af2bc1cc3d1020347846ce9ce82147d9d2fa9b42d690270b01b68eaf621cfbbdcfce041b8d651754c08e SHA512 9b0764d8697fad57107647a620f6dbe5d8025628faf02b1d6839d3f975216b16a58ccc115f58809aa4e31fb6b4b487b1490eedf468ddc8b90e494f68d8e50dc6
|
||||
DIST podofo-0.9.8.tar.gz 1012918 BLAKE2B 5d343128bcf06dbb8ef1d70b32f580a800726c33e4c14c86a6c7df0278a34b2d96cba7975c00d32e792596ca3cb54fa66fee262b49a240cd52e31646947b943e SHA512 b220322114450f1656c73d325f5172bc4cec0b1913e98b4eb2455f8ed7394bcaa47438d41003c9678937ef44d411e135431ddd6784f83d3663337d471baa02b1
|
||||
EBUILD podofo-0.10.1-r1.ebuild 2271 BLAKE2B 88adc6154ecfd642475e0b77ad9ccbf2f3c13d617ff3679ea32b95c435c78fedd0da80341f620f9b655b14995e26a42eaa2b3083db4d3b40065c17a3f2b095d5 SHA512 9a3ad3f91f9ce0b0c0716360fb242b51ab6789c45d617de51d28a2cd528e5e26056978cf38ea2794ae607aadd8b78213c01c9c782254f1481501e444c37517b7
|
||||
EBUILD podofo-0.10.1-r1.ebuild 2295 BLAKE2B 728502897366ad068ac4c150ce3891b0528049c2e90b97167dec0888c1472dd62dee466cce680cab9732462145506e6d5099575695fb4a1ebc47fcc94ade19b8 SHA512 945e3d2b351e5d8a3495054931ed668282f9c80eec7d7510e48c1ff1f17f0883ddb56d93a49fdc4a8c84bd07a06bf59d52cee1b095bae12982a6ad3fca62a595
|
||||
EBUILD podofo-0.9.8-r1.ebuild 3304 BLAKE2B 9914548743904ca027878a0c8584786e427700744bd6e56bc8f4c4b21de837a85d66cf74c56072b7ae39a918202a2f2955c521439f8aa4699327229d430026c1 SHA512 dd67345ef90972668c896cbb81f3a8bb31289da2a008f8b2b896d9f80cc5c0bb2df24348cbc9a92e753a072f7630ee474567194eb723990186d248667cbd8470
|
||||
MISC metadata.xml 485 BLAKE2B 80da5271943f738cfbc6076d00e93ea404208f8d24604beab0f2cfd339efc535e1b217f87f9d2a87908db0c9c1b77759b66355d5c0a3f61aef128b44990c9969 SHA512 4ea145783ae9f42702dcf2936d2f5bed576f0222675f481d7a2118d44ab7eecfa12d889707942a5c60482f37e1e36e2476657fd401d523022cc1b2d9c76e56ca
|
||||
|
@ -0,0 +1,37 @@
|
||||
https://github.com/podofo/podofo/commit/da91101b7afafa958669e11d0cabaeee3ff50b39
|
||||
|
||||
From da91101b7afafa958669e11d0cabaeee3ff50b39 Mon Sep 17 00:00:00 2001
|
||||
From: Francesco Pretto <ceztko@gmail.com>
|
||||
Date: Fri, 27 Oct 2023 23:41:22 +0200
|
||||
Subject: [PATCH] [FIX] ColorTest: Fixed test under linux when compiled with
|
||||
-march=x86-64-v3
|
||||
|
||||
Floating point contractions may cause some level of non determinsm when comparing the result of fp operations . See
|
||||
https://stackoverflow.com/questions/62353629/does-the-same-floating-point-calculation-producing-different-results-when-perfor
|
||||
|
||||
Fixes #103
|
||||
---
|
||||
test/unit/ColorTest.cpp | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/unit/ColorTest.cpp b/test/unit/ColorTest.cpp
|
||||
index 419052a7..81f99c5b 100644
|
||||
--- a/test/unit/ColorTest.cpp
|
||||
+++ b/test/unit/ColorTest.cpp
|
||||
@@ -426,7 +426,12 @@ TEST_CASE("testCMYKConstructor")
|
||||
double dGreen = M_VALUE * (1.0 - B_VALUE) + B_VALUE;
|
||||
double dBlue = Y_VALUE * (1.0 - B_VALUE) + B_VALUE;
|
||||
|
||||
- REQUIRE(color.ConvertToRGB() == PdfColor(1.0 - dRed, 1.0 - dGreen, 1.0 - dBlue));
|
||||
+ auto rgb1 = color.ConvertToRGB();
|
||||
+ PdfColor rgb2(1.0 - dRed, 1.0 - dGreen, 1.0 - dBlue);
|
||||
+
|
||||
+ ASSERT_EQUAL(rgb1.GetRed(), rgb2.GetRed());
|
||||
+ ASSERT_EQUAL(rgb1.GetGreen(), rgb2.GetGreen());
|
||||
+ ASSERT_EQUAL(rgb1.GetBlue(), rgb2.GetBlue());
|
||||
}
|
||||
|
||||
REQUIRE(color.ConvertToCMYK() == PdfColor(C_VALUE, M_VALUE, Y_VALUE, B_VALUE));
|
||||
--
|
||||
2.41.0
|
||||
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX xsimd-11.1.0-c++17.patch 1429 BLAKE2B 23be29fdd74ed37632bd1fba0ffdedf08af48f14985494f5befac4afb34622bb44e294e954d9d4e57a07ee6e9d988a48a93dd1b66a6f6206b79bd7c0cb600cc8 SHA512 41a474a6d768aec39e6760d4ff60017a5e3d5c4349bf244d3de1464bd9b06022d6cadcd4f91cc17a6630f38f1b0fe0e3aa4fa5a6810b8c57d649f5a8da28c217
|
||||
AUX xsimd-11.1.0-no-march.patch 3720 BLAKE2B 21adb3c35d8161db849c90363781642fa9c1051686e6dba00e55396adc905d1276540c663d34ab7bd124daa3fe6e367c5c41c17d7e0f31d55b82b1488fbdee0f SHA512 567f535a2a0dcdb02f05b53beba48e9704ef40d63df9531014257e0773a8df09854245ec5d22e6b7cffdf7541e8f48e55e2ea8faa513ca93f952aa177757bb3a
|
||||
DIST xsimd-11.1.0.tar.gz 219350 BLAKE2B 2bbbc4f7dbe489a407fe798b146c008aba44664efc943c2e1507d5c6e7da2a03ed91abf0d872e5abf9bd94be3e76bef276ec5b47d4e356b42a7b4c680bd6f3d9 SHA512 3a6141dfa4d95a977f4222880dfd06197613d153a78a84653022423279eec037ea9def08ae225aba7231c0b2c434ab7c907c965f8367fb0db9b96113980b51f3
|
||||
EBUILD xsimd-11.1.0.ebuild 964 BLAKE2B 089ae95d084889681e4f7fb1c109909df4470c764c720da715f8fe1c7faf0bd7a393b1159e10a254ac9891929b68eda1d4576afe533b60f4b4fd8296c3e1daab SHA512 fef0deeff92dfeb2b359bb0d6621cd739e896e8c101ebd5f140fc70d814a41c3b2c2a2d37b0b42b169df96fe9565cf038f82cfd9df91b262d30ff98d74192218
|
||||
EBUILD xsimd-11.1.0-r1.ebuild 1015 BLAKE2B 114ffe8b172aeff1000e55d5bd13f8afd6be6e1881a73d3a273f1671dcbfa9cf2d3d8c831a38addde4920a97b9a0932caa1b1c492975ece4f417992a30060103 SHA512 bd8085c37d7045984c06e9ef0621ded427e51d018fa12647bbef9945f54cf59fc945c5c17e1837dfdb01f53ca73f7e9a64ddfb08ca22c3c94ed6e792f46a3f6b
|
||||
EBUILD xsimd-11.1.0.ebuild 971 BLAKE2B eac1966e1309d91318f895e1a329bd0b2d15be9b934b4a7226840268f895f1f8970bc26f6d3537053bab6ff3cc941c82cff2909b3388bd2fe8aa2ee801055296 SHA512 ab2a1ff69571ea8b9027fb5a9549020ca52234563aba1559d08df98964be050332e3fe756daa6081de7c180536df1211b7e9eed2e0de14dffa4bc854762c109f
|
||||
MISC metadata.xml 385 BLAKE2B e22c7622c338c277eee7dd048463a2d3244fffcd255b1a9dd9652a1295c3c1f0043e67fab28b084b3f10b03b5fd5e36b4f713c040ddc168ac6be9287af14e031 SHA512 5826eb1e62fa79c1e355668ad83a9e4e113b3cf154535537181597062f952ad436c56c8d9dd9f3599815307e33f4e1366b2a9b109d27c53bc112fe0a4c62d885
|
||||
|
@ -0,0 +1,71 @@
|
||||
We both want to respect the user's CFLAGS, but also, not all of our arches support
|
||||
-march or -mtune.
|
||||
--- a/benchmark/CMakeLists.txt
|
||||
+++ b/benchmark/CMakeLists.txt
|
||||
@@ -30,10 +30,6 @@ include(CheckCXXCompilerFlag)
|
||||
string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||
- if(NOT CMAKE_CXX_FLAGS MATCHES "-march" AND NOT CMAKE_CXX_FLAGS MATCHES "-arch" AND NOT CMAKE_OSX_ARCHITECTURES)
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
|
||||
- endif()
|
||||
-
|
||||
if(NOT MSVC)
|
||||
CHECK_CXX_COMPILER_FLAG("-std=c++11" HAS_CPP11_FLAG)
|
||||
if (ENABLE_XTL_COMPLEX)
|
||||
--- a/examples/CMakeLists.txt
|
||||
+++ b/examples/CMakeLists.txt
|
||||
@@ -26,15 +26,6 @@ else()
|
||||
message(STATUS "Tests build type is ${CMAKE_BUILD_TYPE}")
|
||||
endif()
|
||||
|
||||
-if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||
- if (NOT CMAKE_CXX_FLAGS MATCHES "-march" AND NOT CMAKE_CXX_FLAGS MATCHES "-arch" AND NOT CMAKE_OSX_ARCHITECTURES)
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -mtune=native")
|
||||
- endif()
|
||||
- if(NOT CMAKE_CXX_COMPILER_ID MATCHES Clang) # We are using clang-cl
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
|
||||
- endif()
|
||||
-endif()
|
||||
-
|
||||
add_executable(mandelbrot mandelbrot.cpp ${XSIMD_HEADERS})
|
||||
set_property(TARGET mandelbrot PROPERTY CXX_STANDARD 14)
|
||||
if(ENABLE_XTL_COMPLEX)
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -41,10 +41,6 @@ OPTION(XSIMD_ENABLE_WERROR "Turn on -Werror" OFF)
|
||||
|
||||
OPTION(CROSS_COMPILE_ARM "cross compile for ARM targets" OFF)
|
||||
|
||||
-# Note: to compile on ARM (or cross compile), you may need to add the following:
|
||||
-# -DTARGET_ARCH="armv8-a -mfpu=neon -mfloat-abi=softfp -target arm-linux-gnueabi"
|
||||
-set(TARGET_ARCH "native" CACHE STRING "Target architecture arguments")
|
||||
-
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||
if (NOT WIN32 AND NOT ANDROID)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter -Wextra -Wreorder")
|
||||
@@ -79,10 +75,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU"
|
||||
include_directories(/usr/${ARM_ARCH_DIRECTORY}/include/c++/${ARM_GCC_VER}/${ARM_ARCH_DIRECTORY}/)
|
||||
include_directories(/usr/${ARM_ARCH_DIRECTORY}/include/c++/${ARM_GCC_VER}/)
|
||||
include_directories(/usr/${ARM_ARCH_DIRECTORY}/include/)
|
||||
- if(NOT CMAKE_CXX_FLAGS MATCHES "-march")
|
||||
- message(STATUS "SETTING ARCH TO ${TARGET_ARCH}")
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${TARGET_ARCH}")
|
||||
- endif()
|
||||
if(ARM_ARCH_DIRECTORY MATCHES "arm-linux-gnueabi")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon -mfloat-abi=softfp -target arm-linux-gnueabi")
|
||||
else ()
|
||||
@@ -91,13 +83,9 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU"
|
||||
message(STATUS "CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
|
||||
message(STATUS "CMAKE_CXX_LINK_EXECUTABLE: ${CMAKE_CXX_LINK_EXECUTABLE}")
|
||||
elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc64" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=${TARGET_ARCH} -mtune=${TARGET_ARCH}")
|
||||
elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "riscv64")
|
||||
# Nothing specific
|
||||
elseif(NOT WIN32)
|
||||
- if(NOT CMAKE_CXX_FLAGS MATCHES "-march" AND NOT CMAKE_CXX_FLAGS MATCHES "-arch" AND NOT CMAKE_OSX_ARCHITECTURES)
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${TARGET_ARCH}")
|
||||
- endif()
|
||||
endif()
|
||||
endif()
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="C++ wrappers for SIMD intrinsics"
|
||||
HOMEPAGE="https://github.com/xtensor-stack/xsimd"
|
||||
SRC_URI="https://github.com/xtensor-stack/${PN}/archive/refs/tags/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-python/breathe
|
||||
dev-python/sphinx
|
||||
dev-python/sphinx-rtd-theme
|
||||
)
|
||||
test? ( dev-cpp/doctest )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-c++17.patch
|
||||
"${FILESDIR}"/${PN}-11.1.0-no-march.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/fPIC/d' \
|
||||
test/CMakeLists.txt \
|
||||
|| die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
if use doc; then
|
||||
dodoc -r docs/build/html
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
AUX mycli-1.21.1-fix-test-install.patch 456 BLAKE2B 3f4eafe405a2151b1b2897ac60347a5fdce45747f927a40367943ad78ef96753ad106bdefe516b76946fa509b17a31d9423cf0b5cf311e79174ce5e4f6320428 SHA512 90c53b12baee1339cdc629615a021ff0290e6350f3358491cd163c4405d49be02340a56a73475623a6b49877cef53e3c5bd9aa93897aa91769a402e8f4c0b88a
|
||||
DIST mycli-1.26.1.gh.tar.gz 279221 BLAKE2B 2bb178110b5aba3e381541a7892cc1d8bed8e41c499d1dc36fa39435805a118536de44bf21b2ca2652afefcd15f8bc86ed77de876f703740e796444ff8cea6b0 SHA512 bce9def37718444f2445ed3a7ad91c54df4cc3dc5d207a4a2e0fc72eb27b75fca687958241fc40f5494efcdf9e4bae251f3cf94c13b967dd922d5ff653348c77
|
||||
DIST mycli-1.27.0.gh.tar.gz 285739 BLAKE2B 9b3ba8b98289721774d7bf06465402440d70772ee4f456f1a14a02a0f0cf90e6c4e6fe2abe36436ea051042bed208868dc469e9ef7c4499a9fdacd519b119199 SHA512 ae6fa9ed9151a39988ea64c5d551a68c92014cbaae4ec6695a727cd008882298d3373d1992768eff0781e881738f72f00dfe4756196c0ba82009758b1ea16b51
|
||||
EBUILD mycli-1.26.1-r2.ebuild 2257 BLAKE2B e25f160132d4717d1ef2a8b09dbfdefaac429d9beeb0a2bc1ef87b643b9a35fac3434232200f19def3ccdf67fa2b2214e541c15b156fb9ee720015fab1a4a13e SHA512 ca69e9d2ad458efb7d013cfd8d6678a21db881a5662b97ca12e572e2ec1af0528ebf6c8039b5eb15fb02c78eed0be34a4e2996d99cf83bd41afc945b726ce24f
|
||||
EBUILD mycli-1.27.0.ebuild 2257 BLAKE2B e25f160132d4717d1ef2a8b09dbfdefaac429d9beeb0a2bc1ef87b643b9a35fac3434232200f19def3ccdf67fa2b2214e541c15b156fb9ee720015fab1a4a13e SHA512 ca69e9d2ad458efb7d013cfd8d6678a21db881a5662b97ca12e572e2ec1af0528ebf6c8039b5eb15fb02c78eed0be34a4e2996d99cf83bd41afc945b726ce24f
|
||||
EBUILD mycli-1.26.1-r2.ebuild 2257 BLAKE2B 3feca536cd18a32fa8df880eea2d3848b3ab0fcdd9446a3e1e6bbcf88052d4a6065b19dbc1d79986350beb7cf541153b4f124c61ee3b065d411433c0b493f6c7 SHA512 7a2d5d2cbc8da67a1c1380cedb00c168b6e6f4cbd6285cee305aaefcac3e228c7bd14c5cf3289fba97d0b58ac62efe4ea9d5b9ba8ff6154f69e030fe975bfd0b
|
||||
EBUILD mycli-1.27.0.ebuild 2257 BLAKE2B 3feca536cd18a32fa8df880eea2d3848b3ab0fcdd9446a3e1e6bbcf88052d4a6065b19dbc1d79986350beb7cf541153b4f124c61ee3b065d411433c0b493f6c7 SHA512 7a2d5d2cbc8da67a1c1380cedb00c168b6e6f4cbd6285cee305aaefcac3e228c7bd14c5cf3289fba97d0b58ac62efe4ea9d5b9ba8ff6154f69e030fe975bfd0b
|
||||
MISC metadata.xml 626 BLAKE2B 754538c528392717c6f22b1988d8d901458eaa053d90fdcc6a96c30408a6f9e661bbd8da4dfd57e8edc71e715028e493d7c3b3994ae7b337556881294c771095 SHA512 1d08dd18cdc6e1ab95e80b5234ed6f64c6b9f69346c86bde183c8bbee1940fd54c6a958b03e9b142dceb6d7e61eae2d47c3c5012a9e368a4ec6617c7539729d5
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST pgcli-3.3.1.tar.gz 446637 BLAKE2B c7c946b905f72e18b06100012c32b332c278fcf6dab2bdd304972b5bd4936a2d3d2c1b2be23a9fd5f986afa14ed8a8f3b6a0a08703ec6142ee3bc3d1a2ece68d SHA512 01286ce62919a8845ca55b40851ad8c3832dba58d523ce2d953d555a60d2785b0129b76361e854574340cb1c0933c7b83eb03d7c2a7df81fbc4231dc42e45357
|
||||
EBUILD pgcli-3.3.1-r2.ebuild 1002 BLAKE2B ae0b35cbc1e119f85752fee610b57f96eb8c98de46e289562d93cf7b0a285c872841197896fd271135ca67716fada9f51d0be02253955148aa2d8c1f5cc9b3ef SHA512 2f83dba7149914eb29b0572ede37046e2d6169fd1278cd6d0be573ff9a42089963ca69c19d1304ce752af76cf544a28e1a96a0b270554e61e0c5f96d0899a977
|
||||
EBUILD pgcli-3.3.1-r2.ebuild 1002 BLAKE2B 45610597fdaf76521c8fd03a3bc8f118dd45163a7969bc29cf20e8b4807e63f5fc9987eb7fdac37564a8464ec9830bda81ed4123370167168e45365bc712f9ad SHA512 582146aad3dc2210475a5cddc6e0965255b5d044fb01f8d86b3a295d9c64a687c4520bf9007949457d18c32e74a674491b207887d898d763c4c9620276af4086
|
||||
MISC metadata.xml 359 BLAKE2B c8107f0af400492e5365311f645a91c0a56448f3f2983c470c8e8eb08126202f2b5895978971f5f77eec87bbe29e4f198d954dcd87b14b2cfa019fb98dbfe272 SHA512 bca1ac9cb841c4b17c07b6a581d54f860fe384ce139b9894fcdb442024f75ef7996ea55535be177472dc5149e1dd1cf4859181210bbcd637f6b82b8816334cc4
|
||||
|
@ -0,0 +1,195 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Redis does NOT build with Lua 5.2 or newer at this time:
|
||||
# - 5.3 and 5.4 give:
|
||||
# lua_bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
|
||||
# - 5.2 fails with:
|
||||
# scripting.c:(.text+0x1f9b): undefined reference to `lua_open'
|
||||
# because lua_open became lua_newstate in 5.2
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
|
||||
# Upstream have deviated too far from vanilla Lua, adding their own APIs
|
||||
# like lua_enablereadonlytable, but we still need the eclass and such
|
||||
# for bug #841422.
|
||||
inherit autotools edo flag-o-matic lua-single multiprocessing systemd tmpfiles toolchain-funcs
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value, and data structures database"
|
||||
HOMEPAGE="https://redis.io"
|
||||
SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+jemalloc selinux ssl systemd tcmalloc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${LUA_DEPS}
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis
|
||||
selinux? ( sec-policy/selinux-redis )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-lang/tcl:0=
|
||||
ssl? ( dev-tcltk/tls )
|
||||
)"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )
|
||||
${LUA_REQUIRED_USE}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.2.1-config.patch
|
||||
"${FILESDIR}"/${PN}-5.0-shared.patch
|
||||
"${FILESDIR}"/${PN}-6.2.3-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Copy lua modules into build dir
|
||||
#cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||
#cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-3.2 configure.ac || die
|
||||
|
||||
# Use the correct pkgconfig name for Lua.
|
||||
# The upstream configure script handles luajit specially, and is not
|
||||
# affected by these changes.
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, [0-9].+, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
-e "/PKG_CHECK_MODULES.*\<LUA\>/s,lua5.1,${ELUA},g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf #$(use_with lua_single_target_luajit luajit)
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
if use jemalloc; then
|
||||
myconf+="MALLOC=jemalloc"
|
||||
elif use tcmalloc; then
|
||||
myconf+="MALLOC=tcmalloc"
|
||||
else
|
||||
myconf+="MALLOC=libc"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf+=" BUILD_TLS=yes"
|
||||
fi
|
||||
|
||||
export USE_SYSTEMD=$(usex systemd)
|
||||
|
||||
tc-export AR CC RANLIB
|
||||
emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local runtestargs=(
|
||||
--clients "$(makeopts_jobs)" # see bug #649868
|
||||
)
|
||||
|
||||
if has usersandbox ${FEATURES} || ! has userpriv ${FEATURES}; then
|
||||
ewarn "unit/oom-score-adj test will be skipped." \
|
||||
"It is known to fail with FEATURES usersandbox or -userpriv. See bug #756382."
|
||||
|
||||
# unit/oom-score-adj was introduced in version 6.2.0
|
||||
runtestargs+=( --skipunit unit/oom-score-adj ) # see bug #756382
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
edo ./utils/gen-test-certs.sh
|
||||
runtestargs+=( --tls )
|
||||
fi
|
||||
|
||||
edo ./runtest "${runtestargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/redis
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
|
||||
fperms 0750 /etc/redis
|
||||
fperms 0644 /etc/redis/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r2" redis
|
||||
newinitd "${FILESDIR}/redis.initd-6" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-4" redis.service
|
||||
newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process redis.conf
|
||||
|
||||
ewarn "The default redis configuration file location changed to:"
|
||||
ewarn " /etc/redis/{redis,sentinel}.conf"
|
||||
ewarn "Please apply your changes to the new configuration files."
|
||||
}
|
@ -0,0 +1,187 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# N.B.: It is no clue in porting to Lua eclasses, as upstream have deviated
|
||||
# too far from vanilla Lua, adding their own APIs like lua_enablereadonlytable
|
||||
|
||||
inherit autotools edo flag-o-matic multiprocessing systemd tmpfiles toolchain-funcs
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value, and data structures database"
|
||||
HOMEPAGE="https://redis.io"
|
||||
SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+jemalloc selinux ssl systemd tcmalloc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis
|
||||
selinux? ( sec-policy/selinux-redis )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-lang/tcl:0=
|
||||
ssl? ( dev-tcltk/tls )
|
||||
)"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.2.1-config.patch
|
||||
"${FILESDIR}"/${PN}-5.0-shared.patch
|
||||
"${FILESDIR}"/${PN}-6.2.3-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-5.0-config.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-no-which.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Append cflag for lua_cjson
|
||||
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i -e 's:$(CC):@CC@:g' \
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||
-e 's: $(DEBUG)::g' \
|
||||
-e 's:$(OBJARCH)::g' \
|
||||
-e 's:ARCH:TARCH:g' \
|
||||
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||
"${MKF}.in" \
|
||||
|| die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-7.0 configure.ac || die
|
||||
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, __PV__, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
if use jemalloc; then
|
||||
myconf+="MALLOC=jemalloc"
|
||||
elif use tcmalloc; then
|
||||
myconf+="MALLOC=tcmalloc"
|
||||
else
|
||||
myconf+="MALLOC=libc"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf+=" BUILD_TLS=yes"
|
||||
fi
|
||||
|
||||
export USE_SYSTEMD=$(usex systemd)
|
||||
|
||||
tc-export AR CC RANLIB
|
||||
emake V=1 ${myconf} AR="${AR}" CC="${CC}" RANLIB="${RANLIB}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local runtestargs=(
|
||||
--clients "$(makeopts_jobs)" # see bug #649868
|
||||
|
||||
--skiptest "Active defrag eval scripts" # see bug #851654
|
||||
)
|
||||
|
||||
if has usersandbox ${FEATURES} || ! has userpriv ${FEATURES}; then
|
||||
ewarn "oom-score-adj related tests will be skipped." \
|
||||
"They are known to fail with FEATURES usersandbox or -userpriv. See bug #756382."
|
||||
|
||||
runtestargs+=(
|
||||
# unit/oom-score-adj was introduced in version 6.2.0
|
||||
--skipunit unit/oom-score-adj # see bug #756382
|
||||
|
||||
# Following test was added in version 7.0.0 to unit/introspection.
|
||||
# It also tries to adjust OOM score.
|
||||
--skiptest "CONFIG SET rollback on apply error"
|
||||
)
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
edo ./utils/gen-test-certs.sh
|
||||
runtestargs+=( --tls )
|
||||
fi
|
||||
|
||||
edo ./runtest "${runtestargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/redis
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
|
||||
fperms 0750 /etc/redis
|
||||
fperms 0644 /etc/redis/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r2" redis
|
||||
newinitd "${FILESDIR}/redis.initd-6" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-4" redis.service
|
||||
newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING.md MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process redis.conf
|
||||
|
||||
ewarn "The default redis configuration file location changed to:"
|
||||
ewarn " /etc/redis/{redis,sentinel}.conf"
|
||||
ewarn "Please apply your changes to the new configuration files."
|
||||
}
|
@ -0,0 +1,200 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# N.B.: It is no clue in porting to Lua eclasses, as upstream have deviated
|
||||
# too far from vanilla Lua, adding their own APIs like lua_enablereadonlytable
|
||||
|
||||
inherit autotools edo multiprocessing systemd tmpfiles toolchain-funcs
|
||||
|
||||
DESCRIPTION="A persistent caching system, key-value, and data structures database"
|
||||
HOMEPAGE="
|
||||
https://redis.io
|
||||
https://github.com/redis/redis
|
||||
"
|
||||
SRC_URI="https://download.redis.io/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+jemalloc selinux ssl systemd tcmalloc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
jemalloc? ( >=dev-libs/jemalloc-5.1:= )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tcmalloc? ( dev-util/google-perftools )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/redis
|
||||
acct-user/redis
|
||||
selinux? ( sec-policy/selinux-redis )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# Tcl is only needed in the CHOST test env
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-lang/tcl:0=
|
||||
ssl? ( dev-tcltk/tls )
|
||||
)"
|
||||
|
||||
REQUIRED_USE="?? ( jemalloc tcmalloc )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.2.1-config.patch
|
||||
"${FILESDIR}"/${PN}-7.2.0-system-jemalloc.patch
|
||||
"${FILESDIR}"/${PN}-6.2.3-ppc-atomic.patch
|
||||
"${FILESDIR}"/${PN}-sentinel-7.2.0-config.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-no-which.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Respect user CFLAGS in bundled lua
|
||||
sed -i '/LUA_CFLAGS/s: -O2::g' deps/Makefile || die
|
||||
|
||||
# now we will rewrite present Makefiles
|
||||
local makefiles="" MKF
|
||||
local mysedconf=(
|
||||
-e 's:$(CC):@CC@:g'
|
||||
-e 's:$(CFLAGS):@AM_CFLAGS@:g'
|
||||
-e 's: $(DEBUG)::g'
|
||||
|
||||
-e 's:-Werror ::g'
|
||||
-e 's:-Werror=deprecated-declarations ::g'
|
||||
)
|
||||
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||
mv "${MKF}" "${MKF}.in"
|
||||
sed -i "${mysedconf[@]}" "${MKF}.in" || die "Sed failed for ${MKF}"
|
||||
makefiles+=" ${MKF}"
|
||||
done
|
||||
# autodetection of compiler and settings; generates the modified Makefiles
|
||||
cp "${FILESDIR}"/configure.ac-7.0 configure.ac || die
|
||||
|
||||
sed -i \
|
||||
-e "/^AC_INIT/s|, __PV__, |, $PV, |" \
|
||||
-e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||
configure.ac || die "Sed failed for configure.ac"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf
|
||||
|
||||
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||
# also, don't define ANSI/c99 for lua twice
|
||||
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC RANLIB
|
||||
|
||||
local myconf=(
|
||||
AR="${AR}"
|
||||
CC="${CC}"
|
||||
RANLIB="${RANLIB}"
|
||||
|
||||
V=1 # verbose
|
||||
|
||||
# OPTIMIZATION defaults to -O3. Let's respect user CFLAGS by setting it
|
||||
# to empty value.
|
||||
OPTIMIZATION=''
|
||||
# Disable debug flags in bundled hiredis
|
||||
DEBUG_FLAGS=''
|
||||
|
||||
BUILD_TLS=$(usex ssl)
|
||||
USE_SYSTEMD=$(usex systemd)
|
||||
)
|
||||
|
||||
if use jemalloc; then
|
||||
myconf+=( MALLOC=jemalloc )
|
||||
elif use tcmalloc; then
|
||||
myconf+=( MALLOC=tcmalloc )
|
||||
else
|
||||
myconf+=( MALLOC=libc )
|
||||
fi
|
||||
|
||||
emake "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local runtestargs=(
|
||||
--clients "$(makeopts_jobs)" # see bug #649868
|
||||
|
||||
--skiptest "Active defrag eval scripts" # see bug #851654
|
||||
)
|
||||
|
||||
if has usersandbox ${FEATURES} || ! has userpriv ${FEATURES}; then
|
||||
ewarn "oom-score-adj related tests will be skipped." \
|
||||
"They are known to fail with FEATURES usersandbox or -userpriv. See bug #756382."
|
||||
|
||||
runtestargs+=(
|
||||
# unit/oom-score-adj was introduced in version 6.2.0
|
||||
--skipunit unit/oom-score-adj # see bug #756382
|
||||
|
||||
# Following test was added in version 7.0.0 to unit/introspection.
|
||||
# It also tries to adjust OOM score.
|
||||
--skiptest "CONFIG SET rollback on apply error"
|
||||
)
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
edo ./utils/gen-test-certs.sh
|
||||
runtestargs+=( --tls )
|
||||
fi
|
||||
|
||||
edo ./runtest "${runtestargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/redis
|
||||
doins redis.conf sentinel.conf
|
||||
use prefix || fowners -R redis:redis /etc/redis /etc/redis/{redis,sentinel}.conf
|
||||
fperms 0750 /etc/redis
|
||||
fperms 0644 /etc/redis/{redis,sentinel}.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis.confd-r2" redis
|
||||
newinitd "${FILESDIR}/redis.initd-6" redis
|
||||
|
||||
systemd_newunit "${FILESDIR}/redis.service-4" redis.service
|
||||
newtmpfiles "${FILESDIR}/redis.tmpfiles-2" redis.conf
|
||||
|
||||
newconfd "${FILESDIR}/redis-sentinel.confd-r1" redis-sentinel
|
||||
newinitd "${FILESDIR}/redis-sentinel.initd-r1" redis-sentinel
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
dodoc 00-RELEASENOTES BUGS CONTRIBUTING.md MANIFESTO README.md
|
||||
|
||||
dobin src/redis-cli
|
||||
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-rdb
|
||||
fperms 0750 /usr/sbin/redis-benchmark
|
||||
dosym redis-server /usr/sbin/redis-sentinel
|
||||
|
||||
if use prefix; then
|
||||
diropts -m0750
|
||||
else
|
||||
diropts -m0750 -o redis -g redis
|
||||
fi
|
||||
keepdir /var/{log,lib}/redis
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process redis.conf
|
||||
|
||||
ewarn "The default redis configuration file location changed to:"
|
||||
ewarn " /etc/redis/{redis,sentinel}.conf"
|
||||
ewarn "Please apply your changes to the new configuration files."
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue