parent
48266b6a14
commit
c11cee70ac
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command=/bin/brltty
|
||||
pidfile=/var/run/brltty.pid
|
||||
command_args="-P ${pidfile} -q"
|
||||
|
||||
depend() {
|
||||
before *
|
||||
after clock
|
||||
}
|
@ -1 +0,0 @@
|
||||
d /run/brltty 0755 root root -
|
Binary file not shown.
@ -1,10 +1,5 @@
|
||||
DIST aws-cli-1.27.37.gh.tar.gz 2332965 BLAKE2B 9c855f02bc63f64e3d9bb706139305a6b3dad523bd2563c9d6ca4b39b340ea242bf8e85ee369ca92d327073d9eb0a4f0e3da59b4016eaa2ce4f48aa083cc9c51 SHA512 3f53d4c15244019d1773486e192bda4ca69a9afe8e32f2fcfd9f56affc3bcc84e15a1aa4b27563f404bc5471b868eabc74c8fb3884deb0372d61a038e101202a
|
||||
DIST aws-cli-1.27.41.gh.tar.gz 2333941 BLAKE2B ab39bd9acdf7d2d6f7ac6a8168b5959ede6799b4e06e04892fd49fae056b384c4fe9f7d721301b46be90f84fc0ead345968d1bc93399c8d8a374559e10c31519 SHA512 81d36eb1554386968924ea14c42e03fc21ab32ab97750f2d8fd20ac0deb6a6a7184b84b41e06ba0738ece233ff9dba08fe1f9f801bce1a2b38656c73f23e76e0
|
||||
DIST aws-cli-1.27.45.gh.tar.gz 2344942 BLAKE2B 02171244d074008721a5da4b9e640b0da3b77ed90ad8acda300b7256ef62eb663f0bee78a52f025e3f6315306602ba3cb8848e89dbfb6abec6342a0ae04b1009 SHA512 d3daa556c6b93c312dae8ff29941d938cfed7f27e62408f06c32abbeb7324d04a3b8997fd1db9feb78ef1ef1eb98ea2fa456fe179c037127558ecf786e5b69c5
|
||||
DIST aws-cli-1.27.46.gh.tar.gz 2345966 BLAKE2B e39f6feecad7d940f7cf64bc947f586e13c01c06c78181c2d04ade117797e4e0eae7eccf2823bb0a17f1e347aaafb6430687bcd5e10c932aeaea2430fca62f38 SHA512 5bb3554b7b4ece43c3f9ae0ac6c6dff92af501c34de16d71be9767b9a59740945504a6804be5985f1ee4ca1e328776aa65b80a5bce9d633dffb8066c3b5e65ce
|
||||
DIST aws-cli-1.27.47.gh.tar.gz 2346342 BLAKE2B d065367cca04ae199a177c5dd21ff49d634084b6a45d5fd0a2c8ff26a9e75fdac7b9735f62816d00cbe7232c53875760e1d528817f5826383ddf8a7c17eb04a0 SHA512 165219463747912ee16bd2de02a1045f96264865a2b253045ff0f5b3ba37a298d7cc07208f7ed3d501da595cb2bf7a3877fdb2137bc737f12a0a14ac0de43d80
|
||||
DIST aws-cli-1.27.48.gh.tar.gz 2346735 BLAKE2B 798de19b4c64f149b29d3f643c0e69b2cc9ee394eab82a2926251d64f43f5dbc47f5db5466accb2a51945c97d4c10edc64311304d01687f9c73eba1e446a98ee SHA512 fdd8980792505dac94562f1e152e9ba5c1645655a4ce6cd38ea9ca8066dc00ea066ca08b580b889953c82bb4522585d65808509055a98d319ffc65ceb6eb5e94
|
||||
DIST aws-cli-1.27.49.gh.tar.gz 2347127 BLAKE2B fb559784817e9d95578139f53d6ff6e8ee72c1f790b08472beb5de704233dbdf0f1c7c8738ddf45633f5ee034d4a0635eef859a57081d48dc6061ff762d8dce0 SHA512 39b27b8410702c28846cd0936736c24eb99757035888f0463ee048d18500a3259a1daa7a267b80891991e3246735f47cdc2db1c3098aa5e43ce2356a97f36e6d
|
||||
DIST aws-cli-1.27.50.gh.tar.gz 2347235 BLAKE2B cacfe2c8d4fce7de6452a02fa8bcbcde58dbf010328a161e5eecc7305b225264ae68d3e20c6107cfa3b817e2030ffb20dc09a938f8bff59036fab5969e3e6da0 SHA512 af95ad60f2537c12c1353ab0cee045b55834b92b51d0b2fb1bf48991d34f4aa3b61ab20ca438ecba5d8019009065f7993bab64b7e7e0edf89765351c3f4fa168
|
||||
DIST aws-cli-1.27.51.gh.tar.gz 2347795 BLAKE2B 5f49ebfe653a7973c5d8645bb0056fa79719c6b6550c208b683a932ede32d5a6f1b17d1549326ac099a770f9a08efb47d17774d6d5ff612e28e01d5e35c79734 SHA512 1cc024d034c36206d61f1553053054c0036097ce88e483402f43d468acc14c704c14bb6d639c7743fe7924deabe969c3cc593c10c1f12b68d11d81b6af725841
|
||||
DIST aws-cli-1.27.52.gh.tar.gz 2347819 BLAKE2B 1d6c26a9ede3c9cff28a66f7582a84a57dbacfaefce71b8465100abc4822a0fa1e01bf53068895901d5784fcbeb57f74fef9e872d3e145f56582edae920564ca SHA512 00b08ed90e2d67db3e091f49296f4d83b04c5a504373a613f5bf411fb17b5a1d2b7fc8612a8ff748c87dc3debe2b985c6ac2c3226683651a31d4f35d27b7c826
|
||||
DIST aws-cli-1.27.53.gh.tar.gz 2349368 BLAKE2B ddae75809b9eb2e8ff5f80cdb4d5730254866dc025c178ebcf76971e53fd5d5fecbf30e20717f4a126cb19624acd961e8c005a0ced118989b062666c8ab2d346 SHA512 8eddc6f801e7e7f8600f6cdde3db28e670fdc83e6266840b507f88e0b176d790450d18f84c921af15fa12408f2f2eb16fc2498668601c3164ef1f503275303a8
|
||||
DIST aws-cli-1.27.54.gh.tar.gz 2349811 BLAKE2B 08cb317ea4621273644c39c1152e1a3f8bd9f52ed8c30d7c37dfea9e986ca1597fda1dfbdea8c4043fa783f061609d6f24895997e9f9a3f27d5677c0f9e6c3de SHA512 af4783eef3c1c666b8b3c6d20f1c0177db6d4ce01645b092770cba535dad95609b4bece366355ce6d6a505ac7ab5a2e390d64fb84d6c00e402f9f8ab88db91d9
|
||||
|
@ -1,80 +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..11} )
|
||||
|
||||
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.6.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=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
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.6.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=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,80 +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..11} )
|
||||
|
||||
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.6.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=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,80 +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..11} )
|
||||
|
||||
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.6.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=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,80 +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..11} )
|
||||
|
||||
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.6.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=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST clustershell-1.8.4.gh.tar.gz 367622 BLAKE2B 1487697a49d37902f9763094da1a156f5e7cc2ab0487814207bb9da03b1109f1ce55034fc92e72262d4b9920d5c52b9f6de84ce1ff04b06d042b0a6d005f1049 SHA512 582393e56d94e62e126d91f8af074a7b57d0e781a5c929cfc374e61324c412c32fcf9a8e063a78cb805c2ff34641887a1adfc7ef9f377b881077f719dbc2adc3
|
||||
DIST clustershell-1.9.gh.tar.gz 382574 BLAKE2B 031eb9683db330f3b90ac06fa9a0409ea72c1be3d83c8d0519e0080ead715386043c925a6dbaeafdb38351c54f1508c050279603cd81bc2de60ba2df5733f636 SHA512 9eb4e9663a6381fa27311d1d70002ba64066ee6e2e08aaf772974d8097c6ca2d020563fc8478064e76bc6e56d37ed7eefc2919db99a2f5b26bd878fa7b764a15
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python framework for efficient cluster administration"
|
||||
HOMEPAGE="https://github.com/cea-hpc/clustershell/"
|
||||
SRC_URI="
|
||||
https://github.com/cea-hpc/clustershell/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-shells/pdsh
|
||||
net-misc/openssh
|
||||
sys-devel/bc
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
# python3.10 related fixes taken from upstream
|
||||
"${FILESDIR}/${P}-setrlimit-division.patch"
|
||||
"${FILESDIR}/${P}-current-thread.patch"
|
||||
|
||||
"${FILESDIR}/${P}-skip-tests.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove test sets that require working ssh connection
|
||||
rm tests/{CLIClush,TaskDistant*,TreeWorker}Test.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
# Automatic discovery does not work
|
||||
"${EPYTHON}" -m unittest_or_fail -v *.py || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
doman doc/man/man*/*
|
||||
|
||||
mv "${ED}/usr/etc" "${ED}/etc" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Some default system-wide config files have been installed into"
|
||||
einfo "/etc/${PN}"
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
Backported from upstream commit 314767d65c39 ("Fix for python-3.10") [1].
|
||||
|
||||
[1] https://github.com/cea-hpc/clustershell/commit/314767d65c397fadc5ce0ae205a35d7bb47a68a8
|
||||
|
||||
diff --git a/lib/ClusterShell/Task.py b/lib/ClusterShell/Task.py
|
||||
index b9142e6..8c9e1b9 100644
|
||||
--- a/lib/ClusterShell/Task.py
|
||||
+++ b/lib/ClusterShell/Task.py
|
||||
@@ -254,7 +254,7 @@ class Task(object):
|
||||
self._cond.acquire()
|
||||
try:
|
||||
self.suspend_count = min(self.suspend_count, 0)
|
||||
- self._cond.notifyAll()
|
||||
+ self._cond.notify_all()
|
||||
finally:
|
||||
self._cond.release()
|
||||
|
||||
@@ -347,7 +347,7 @@ class Task(object):
|
||||
def _is_task_self(self):
|
||||
"""Private method used by the library to check if the task is
|
||||
task_self(), but do not create any task_self() instance."""
|
||||
- return self.thread == threading.currentThread()
|
||||
+ return self.thread == threading.current_thread()
|
||||
|
||||
def default_excepthook(self, exc_type, exc_value, tb):
|
||||
"""Default excepthook for a newly Task. When an exception is
|
||||
@@ -765,7 +765,7 @@ class Task(object):
|
||||
|
||||
def _resume(self):
|
||||
"""Resume task - called from self thread."""
|
||||
- assert self.thread == threading.currentThread()
|
||||
+ assert self.thread == threading.current_thread()
|
||||
try:
|
||||
try:
|
||||
self._reset()
|
||||
@@ -780,7 +780,7 @@ class Task(object):
|
||||
# task becomes joinable
|
||||
self._join_cond.acquire()
|
||||
self._suspend_cond.atomic_inc()
|
||||
- self._join_cond.notifyAll()
|
||||
+ self._join_cond.notify_all()
|
||||
self._join_cond.release()
|
||||
|
||||
def resume(self, timeout=None):
|
||||
@@ -954,14 +954,14 @@ class Task(object):
|
||||
# termination (late join()s)
|
||||
# must be called after _terminated is set to True
|
||||
self._join_cond.acquire()
|
||||
- self._join_cond.notifyAll()
|
||||
+ self._join_cond.notify_all()
|
||||
self._join_cond.release()
|
||||
|
||||
# destroy task if needed
|
||||
if kill:
|
||||
Task._task_lock.acquire()
|
||||
try:
|
||||
- del Task._tasks[threading.currentThread()]
|
||||
+ del Task._tasks[threading.current_thread()]
|
||||
finally:
|
||||
Task._task_lock.release()
|
||||
|
||||
@@ -1376,7 +1376,7 @@ def task_self(defaults=None):
|
||||
provided as a convenience is available in the top-level ClusterShell.Task
|
||||
package namespace.
|
||||
"""
|
||||
- return Task(thread=threading.currentThread(), defaults=defaults)
|
||||
+ return Task(thread=threading.current_thread(), defaults=defaults)
|
||||
|
||||
def task_wait():
|
||||
"""
|
||||
@@ -1385,7 +1385,7 @@ def task_wait():
|
||||
convenience and is available in the top-level ClusterShell.Task package
|
||||
namespace.
|
||||
"""
|
||||
- Task.wait(threading.currentThread())
|
||||
+ Task.wait(threading.current_thread())
|
||||
|
||||
def task_terminate():
|
||||
"""
|
||||
diff --git a/tests/TaskPortTest.py b/tests/TaskPortTest.py
|
||||
index 697f144..4014a89 100644
|
||||
--- a/tests/TaskPortTest.py
|
||||
+++ b/tests/TaskPortTest.py
|
||||
@@ -28,7 +28,7 @@ class TaskPortTest(unittest.TestCase):
|
||||
def ev_msg(self, port, msg):
|
||||
# receive msg
|
||||
assert msg == "toto"
|
||||
- assert port.task.thread == threading.currentThread()
|
||||
+ assert port.task.thread == threading.current_thread()
|
||||
TaskPortTest.got_msg = True
|
||||
port.task.abort()
|
||||
|
||||
--
|
||||
2.35.1
|
||||
|
@ -1,21 +0,0 @@
|
||||
Python3.10 related fix taken from upstream [1,2].
|
||||
|
||||
[1] https://github.com/cea-hpc/clustershell/pull/487
|
||||
[2] https://github.com/cea-hpc/clustershell/commit/5ac85daf74056ec7e60778efec94c746a150142c
|
||||
|
||||
diff --git a/tests/CLIConfigTest.py b/tests/CLIConfigTest.py
|
||||
index 2853398..db6cec5 100644
|
||||
--- a/tests/CLIConfigTest.py
|
||||
+++ b/tests/CLIConfigTest.py
|
||||
@@ -229,7 +229,7 @@ class CLIClushConfigTest(unittest.TestCase):
|
||||
display = Display(options, config)
|
||||
|
||||
# force a lower soft limit
|
||||
- resource.setrlimit(resource.RLIMIT_NOFILE, (hard2/2, hard))
|
||||
+ resource.setrlimit(resource.RLIMIT_NOFILE, (hard2//2, hard))
|
||||
# max_fdlimit should increase soft limit again
|
||||
set_fdlimit(config.fd_max, display)
|
||||
# verify
|
||||
--
|
||||
2.35.1
|
||||
|
@ -1,63 +0,0 @@
|
||||
This is a Gentoo specific patch for skipping tests that do not work due
|
||||
to various reasons:
|
||||
1. hostname may be set to localhost
|
||||
2. test fails which are most probably caused by weird test interaction.
|
||||
The issue is reported to upstream in [1].
|
||||
|
||||
[1] https://github.com/cea-hpc/clustershell/issues/488
|
||||
|
||||
diff --git a/tests/TaskEventTest.py b/tests/TaskEventTest.py
|
||||
index f8a4048..900008b 100644
|
||||
--- a/tests/TaskEventTest.py
|
||||
+++ b/tests/TaskEventTest.py
|
||||
@@ -475,6 +475,7 @@ class TaskEventTest(unittest.TestCase):
|
||||
self.assertEqual(eh.cnt_pickup, 3)
|
||||
self.assertEqual(eh.cnt_hup, 3)
|
||||
|
||||
+ @unittest.skip("because of an issue https://github.com/cea-hpc/clustershell/issues/488")
|
||||
def test_ev_pickup_fanout_legacy(self):
|
||||
"""test ev_pickup event with fanout (legacy)"""
|
||||
task = task_self()
|
||||
@@ -498,6 +499,7 @@ class TaskEventTest(unittest.TestCase):
|
||||
finally:
|
||||
task.set_info("fanout", fanout)
|
||||
|
||||
+ @unittest.skip("because of an issue https://github.com/cea-hpc/clustershell/issues/488")
|
||||
def test_ev_pickup_fanout(self):
|
||||
"""test ev_pickup event with fanout"""
|
||||
task = task_self()
|
||||
diff --git a/tests/TreeWorkerTest.py b/tests/TreeWorkerTest.py
|
||||
index d5c221a..969d3c9 100644
|
||||
--- a/tests/TreeWorkerTest.py
|
||||
+++ b/tests/TreeWorkerTest.py
|
||||
@@ -99,6 +99,7 @@ class TEventHandler(TEventHandlerBase):
|
||||
self.ev_timedout_cnt += 1
|
||||
|
||||
|
||||
+@unittest.skipIf(HOSTNAME == 'localhost', "does not work with hostname set to 'localhost'")
|
||||
class TreeWorkerTest(unittest.TestCase):
|
||||
"""
|
||||
TreeWorkerTest: test TreeWorker
|
||||
diff --git a/tests/WorkerExecTest.py b/tests/WorkerExecTest.py
|
||||
index 6f99f10..0894f99 100644
|
||||
--- a/tests/WorkerExecTest.py
|
||||
+++ b/tests/WorkerExecTest.py
|
||||
@@ -45,6 +45,7 @@ class ExecTest(unittest.TestCase):
|
||||
self.assertEqual(task_self().max_retcode(), 1)
|
||||
self.assertEqual(task_self().node_buffer('localhost'), b'')
|
||||
|
||||
+ @unittest.skipIf(HOSTNAME == 'localhost', "does not work with hostname set to 'localhost'")
|
||||
def test_timeout(self):
|
||||
"""test ExecWorker with a timeout"""
|
||||
nodes = "localhost,%s" % HOSTNAME
|
||||
@@ -67,6 +68,7 @@ class ExecTest(unittest.TestCase):
|
||||
self.assertRaises(WorkerError, self.execw,
|
||||
nodes="localhost", handler=None, command="echo %")
|
||||
|
||||
+ @unittest.skipIf(HOSTNAME == 'localhost', "does not work with hostname set to 'localhost'")
|
||||
def test_rank_placeholder(self):
|
||||
"""test ExecWorker with several nodes and %n (rank)"""
|
||||
nodes = "localhost,%s" % HOSTNAME
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,141 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Single process stack of various system monitors"
|
||||
HOMEPAGE="http://www.gkrellm.net/"
|
||||
if [[ "${PV}" == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.srcbox.net/gkrellm/gkrellm.git"
|
||||
else
|
||||
SRC_URI="http://gkrellm.srcbox.net/releases/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="2"
|
||||
IUSE="gnutls hddtemp lm-sensors nls ntlm ssl X"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/gkrellmd
|
||||
acct-user/gkrellmd
|
||||
dev-libs/glib:2
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
ssl? (
|
||||
gnutls? ( net-libs/gnutls )
|
||||
!gnutls? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
lm-sensors? ( sys-apps/lm-sensors:= )
|
||||
nls? ( virtual/libintl )
|
||||
ntlm? ( net-libs/libntlm )
|
||||
X? (
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.3.5-config.patch"
|
||||
"${FILESDIR}/${PN}-2.3.5-width.patch"
|
||||
"${FILESDIR}/${PN}-2.3.5-sansfont.patch"
|
||||
)
|
||||
|
||||
DOCS=( Changelog CREDITS README )
|
||||
|
||||
pkg_pretend() {
|
||||
if use gnutls && ! use ssl ; then
|
||||
ewarn "You have enabled the \"gnutls\" USE flag but not the \"ssl\" USE flag."
|
||||
ewarn "No ssl backend will be built!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-O2 ::' \
|
||||
-e 's:override CC:CFLAGS:' \
|
||||
-e 's:-L/usr/X11R6/lib::' \
|
||||
-i */Makefile || die "sed Makefile(s) failed"
|
||||
|
||||
sed -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):" \
|
||||
-e "s:/usr/local/lib:${EPREFIX}/usr/local/$(get_libdir):" \
|
||||
-i src/${PN}.h || die "sed ${PN}.h failed"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
TARGET=
|
||||
|
||||
if use X ; then
|
||||
emake \
|
||||
${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
STRIP="" \
|
||||
INSTALLROOT="${EPREFIX}/usr" \
|
||||
INCLUDEDIR="${EPREFIX}/usr/include/gkrellm2" \
|
||||
LOCALEDIR="${EPREFIX}/usr/share/locale" \
|
||||
$(usex nls "" "enable_nls=0") \
|
||||
$(usex lm-sensors "" "without-libsensors=yes") \
|
||||
$(usex ntlm "" "without-ntlm=yes") \
|
||||
$(usex ssl $(usex gnutls 'without-ssl=yes' 'without-gnutls=yes') 'without-ssl=yes without-gnutls=yes')
|
||||
else
|
||||
cd server || die
|
||||
emake \
|
||||
${TARGET} \
|
||||
CC="$(tc-getCC)" \
|
||||
LINK_FLAGS="$LDFLAGS -Wl,-E" \
|
||||
STRIP="" \
|
||||
$(usex nls "" "enable_nls=0") \
|
||||
$(usex lm-sensors "" "without-libsensors=yes")
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X ; then
|
||||
emake \
|
||||
install${TARGET:+_}${TARGET} \
|
||||
$(usex nls "" "enable_nls=0") \
|
||||
STRIP="" \
|
||||
INSTALLDIR="${ED}/usr/bin" \
|
||||
INCLUDEDIR="${ED}/usr/include" \
|
||||
LOCALEDIR="${ED}/usr/share/locale" \
|
||||
PKGCONFIGDIR="${ED}/usr/$(get_libdir)/pkgconfig" \
|
||||
MANDIR="${ED}/usr/share/man/man1"
|
||||
|
||||
docinto html
|
||||
dodoc *.html
|
||||
|
||||
newicon src/icon.xpm ${PN}.xpm
|
||||
make_desktop_entry ${PN} GKrellM ${PN}
|
||||
else
|
||||
dobin server/gkrellmd
|
||||
|
||||
insinto /usr/include/gkrellm2
|
||||
doins server/gkrellmd.h
|
||||
doins shared/log.h
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/gkrellmd.initd gkrellmd
|
||||
newconfd "${FILESDIR}"/gkrellmd.conf gkrellmd
|
||||
|
||||
systemd_dounit "${FILESDIR}"/gkrellmd.service
|
||||
|
||||
insinto /etc
|
||||
doins server/gkrellmd.conf
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Classic compress & uncompress programs for .Z (LZW) files"
|
||||
HOMEPAGE="https://vapier.github.io/ncompress/"
|
||||
SRC_URI="https://github.com/vapier/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# First sed expression replaces hardlinking with
|
||||
# symlinking. Second sed expression fixes the symlink target
|
||||
# to use relative path to a file in the same directory as the
|
||||
# symlink (so point to compress instead of
|
||||
# $(DESTDIR)$(BINDIR)/compress).
|
||||
sed -i \
|
||||
-e 's:\bln :ln -s :' \
|
||||
-e 's:\(\bln [^$]*\)\$(DESTDIR)\$(BINDIR)/:\1:' \
|
||||
Makefile.def || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install_core DESTDIR="${ED}" PREFIX="/usr"
|
||||
dodoc Acknowleds Changes LZW.INFO README.md
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST upx-4.0.0-src.tar.xz 1159308 BLAKE2B d2626a63b626f9b4e913b822e699fa93b7080d322b19555d44d7cf4ce17b37f0d50ec1381d07d0e4f8827e8edcd29d525d497fa79acd18d520ac58e176fb2b72 SHA512 fe3e8c594e845a91338b1e11fe3cb6371430af40a567187d63835e27da8b2abf993a104b0693063f4db984234bada7b2bd16ad79e3ad90861a1f495d99de7de6
|
||||
DIST upx-4.0.1-src.tar.xz 1154032 BLAKE2B 0da23cedf73506e06e5dcf19ab0d194d8e578188bb4d75e760fe3f7dc7f24a9d42ff4b75fd9514162f48ae7cfad347b5bd65789805071354a74129960807843b SHA512 f2e42c83fd4a0d273a20c8b0f0d1eb201edcd1f10c779d2a6e8ac0812741c3af0c887382e54894190ecc4c7002a910524b2ed79ae7a7b595b8392598ad2e1235
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="https://upx.github.io/"
|
||||
SRC_URI="https://github.com/upx/upx/releases/download/v${PV}/${P}-src.tar.xz"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="!app-arch/upx-bin"
|
||||
BDEPEND="app-arch/xz-utils[extra-filters]"
|
||||
|
||||
src_test() {
|
||||
# Don't run tests in parallel, #878977
|
||||
cmake_src_test -j1
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="https://upx.github.io/"
|
||||
SRC_URI="https://github.com/upx/upx/releases/download/v${PV}/${P}-src.tar.xz"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
|
||||
|
||||
RDEPEND="!app-arch/upx-bin"
|
||||
BDEPEND="app-arch/xz-utils[extra-filters]"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUPX_CONFIG_DISABLE_WERROR=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Don't run tests in parallel, #878977
|
||||
cmake_src_test -j1
|
||||
}
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST lxc-5.0.1.tar.gz 973206 BLAKE2B 6d5cb1a03eb2612d0f8cb59783a64ec42bedd560cacfebf76383d9599dfc153e381f0e584a1c8c9a0b5b18a46bfb01863649dc5a019546e9ded6079b5ec69ddd SHA512 c87563b556aec83c93a7c62932217791e92da950cc76983f0d5e1d603fe1ae298a63fb5e88ec9ef5173846d579babb5acd0836679b915de00844bb9edf9c8d7e
|
||||
DIST lxc-5.0.1.tar.gz.asc 833 BLAKE2B f85df5fc5bd88a738042f622ee4191b99e0a8e07db7ceb5824d634bc451f4bf93c8b64d1c72d4899f639ad30bbc9ee82be292dbe310218fa20566ee00f9bb752 SHA512 09de4e74d174b54cf9240ca4ef4793b9f63355c65f610abffb40e6dc2dc9130380761a50725e4dcee39b421e4b51c874d141fe22d5ecfd7ad3af35f7ebec09a0
|
||||
DIST lxc-5.0.2.tar.gz 973977 BLAKE2B e6017406b96f53525b576528814922a017a7d65fb04724046236307f4e85219b3c8ac725678e57ae3f77a4e817f718748e8c61fbc8147160e4ac87d3146b6567 SHA512 2e8800875e9c91cc0cbfdfc33c43d84bad9471d8a1b8ccd52d7d9c6fe44f280f9f701b8ccc2e0f5319a3e4c50d8c4331722f0dd9c0347575eb4f7b4ed110bef3
|
||||
DIST lxc-5.0.2.tar.gz.asc 833 BLAKE2B 3d78f8a87b2f45d2b91a9a6595d286e2fc1dcfc7d28f3c1d86e968860a7e346506ab28d4dafffede8acf1f82e8b12f90eda2e6210cd6bdec702f59bad97295c6 SHA512 9bd1ef117cf256841b75d409e8f14b88ed54fdfc9c8c472b6baa5e9695e39cdb8c1f47ce612dc8263abb65511df0812554cc9a5820cdd6c1539a07283a4cd08f
|
||||
|
@ -0,0 +1,168 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 linux-info meson optfeature systemd toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="A userspace interface for the Linux kernel containment features"
|
||||
HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/lxc/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 LGPL-3"
|
||||
SLOT="0/1.502" # SONAME liblxc.so.1 + ${PV//./} _if_ breaking ABI change while bumping.
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="apparmor +caps examples io-uring lto man pam seccomp selinux ssl systemd test +tools"
|
||||
|
||||
RDEPEND="acct-group/lxc
|
||||
acct-user/lxc
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
caps? ( sys-libs/libcap[static-libs] )
|
||||
io-uring? ( >=sys-libs/liburing-2:= )
|
||||
pam? ( sys-libs/pam )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tools? ( sys-libs/libcap[static-libs] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
man? ( app-text/docbook2X )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CONFIG_CHECK="~!NETPRIO_CGROUP
|
||||
~CGROUPS
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
|
||||
~MEMCG
|
||||
~NAMESPACES
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
ERROR_MEMCG="CONFIG_MEMCG: needed for memory resource control in containers"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
DOCS=( AUTHORS CONTRIBUTING MAINTAINERS README.md doc/FAQ.txt )
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
--localstatedir "${EPREFIX}/var"
|
||||
|
||||
-Dcoverity-build=false
|
||||
-Doss-fuzz=false
|
||||
|
||||
-Dcommands=true
|
||||
-Dmemfd-rexec=true
|
||||
-Dthread-safety=true
|
||||
|
||||
$(meson_use apparmor)
|
||||
$(meson_use caps capabilities)
|
||||
$(meson_use examples)
|
||||
$(meson_use io-uring io-uring-event-loop)
|
||||
$(meson_use lto b_lto)
|
||||
$(meson_use man)
|
||||
$(meson_use pam pam-cgroup)
|
||||
$(meson_use seccomp)
|
||||
$(meson_use selinux)
|
||||
$(meson_use ssl openssl)
|
||||
$(meson_use test tests)
|
||||
$(meson_use tools)
|
||||
|
||||
-Ddata-path=/var/lib/lxc
|
||||
-Ddoc-path=/usr/share/doc/${PF}
|
||||
-Dlog-path=/var/log/lxc
|
||||
-Drootfs-mount-path=/var/lib/lxc/rootfs
|
||||
-Druntime-path=/run
|
||||
)
|
||||
|
||||
if use systemd; then
|
||||
local emesonargs+=( -Dinit-script="systemd" )
|
||||
local emesonargs+=( -Dsd-bus=enabled )
|
||||
else
|
||||
local emesonargs+=( -Dinit-script="sysvinit" )
|
||||
local emesonargs+=( -Dsd-bus=disabled )
|
||||
fi
|
||||
|
||||
use tools && local emesonargs+=( -Dcapabilities=true )
|
||||
|
||||
if $(tc-ld-is-gold) || $(tc-ld-is-lld); then
|
||||
local emesonargs+=( -Db_lto_mode=thin )
|
||||
else
|
||||
local emesonargs+=( -Db_lto_mode=default )
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
# The main bash-completion file will collide with lxd, need to relocate and update symlinks.
|
||||
mkdir -p "${ED}"/$(get_bashcompdir) || die "Failed to create bashcompdir."
|
||||
|
||||
if use tools; then
|
||||
bashcomp_alias lxc-start lxc-{attach,autostart,cgroup,checkpoint,config,console,copy,create,destroy,device,execute,freeze,info,ls,monitor,snapshot,stop,top,unfreeze,unshare,usernsexec,wait}
|
||||
else
|
||||
bashcomp_alias lxc-start lxc-usernsexec
|
||||
fi
|
||||
|
||||
keepdir /var/lib/cache/lxc /var/lib/lib/lxc
|
||||
|
||||
find "${ED}" -name '*.la' -delete -o -name '*.a' -delete || die
|
||||
|
||||
# Replace upstream sysvinit/systemd files.
|
||||
if use systemd; then
|
||||
rm -r "${D}$(systemd_get_systemunitdir)" || die "Failed to remove systemd lib dir"
|
||||
else
|
||||
rm "${ED}"/etc/init.d/lxc-{containers,net} || die "Failed to remove sysvinit scripts"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd.8" ${PN}
|
||||
systemd_newunit "${FILESDIR}"/lxc-monitord.service.5.0.0 lxc-monitord.service
|
||||
systemd_newunit "${FILESDIR}"/lxc-net.service.5.0.0 lxc-net.service
|
||||
systemd_newunit "${FILESDIR}"/lxc.service-5.0.0 lxc.service
|
||||
systemd_newunit "${FILESDIR}"/lxc_at.service.5.0.0 "lxc@.service"
|
||||
|
||||
if ! use apparmor; then
|
||||
sed -i '/lxc-apparmor-load/d' "${D}$(systemd_get_systemunitdir)/lxc.service" || die "Failed to remove apparmor references from lxc.service systemd unit."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please refer to "
|
||||
elog "https://wiki.gentoo.org/wiki/LXC for introduction and usage guide."
|
||||
elog
|
||||
elog "Run 'lxc-checkconfig' to see optional kernel features."
|
||||
elog
|
||||
|
||||
optfeature "automatic template scripts" app-containers/lxc-templates
|
||||
optfeature "Debian-based distribution container image support" dev-util/debootstrap
|
||||
optfeature "snapshot & restore functionality" sys-process/criu
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST lxd-5.0.1.tar.gz 14640923 BLAKE2B 81bdf3301c0eecc719864cd8e18fd886113f83d1980e13ee4d4ccb6641ee4a7e33f0b859a21abd8a0a9956d1c2f3dfa6e7eb1ae454fbb580c23b5558ef51168e SHA512 b04b7329bdeb17ca384cc2d931a1510d5f03521fd247eab93904bbcb6139cc0daf28f9aeb6416268ccf15affdd15b26598f3e280fb5eefe5c59be6918f092bed
|
||||
DIST lxd-5.0.1.tar.gz.asc 833 BLAKE2B d233c8ebfb5b71f66ff08b4d74861a42bf45ef3e9622d4f113603a7a6c1a29b5aa3422c075ad5250a7d5ab7526a49dd676672d0a73194024af477fa762e02b12 SHA512 bf22f26b6688420e843e9e24eb731a2068eae3d90c77787e0f4a279d4cb7a8a2df38b7e9c8ea79f604c1d54743238cb36474baf018ea6bf72e6f37838b252294
|
||||
DIST lxd-5.0.2-move-shellcheck-version-call-into-static-analysis.patch 882 BLAKE2B 4c4cb8b19709939c0c14ed87e5d9c917ac967471400de07c14ea049c0a8aae9a2ed0e3755d554cb1077ee7c607fcdc71431d57a55becd0a46c1f177bc9b33aed SHA512 266788186ca9aabda4ad0fe5fa47ef3acfa31bee64c742c011c58a39f4da833f768e8bb71ec81b57af8d4f124d733f2c22ab33f9ee1bc4ecbd21f5bbbae1f6e7
|
||||
DIST lxd-5.0.2.tar.gz 16258766 BLAKE2B a0d4e3108664724c064fb8c16031ff7dfa3f49735c81290c78fca1dd8c95774e8d8faf131a9de0961a51fb3f1fb1e3a1219d325e6c440dc42d077bfb6550df0b SHA512 e44b210828251ef2bbdcca332f605294a9258572a52a8e94f5c8dcf8d5c2b3d4cdaf46f85236d9c963de5654d3a0437b5f177ea908a6dac3b5b03fb721be6eaa
|
||||
DIST lxd-5.0.2.tar.gz.asc 833 BLAKE2B 606cae1439148060acd3fb04fdb108654a351ce2b7484081f7874ab2b0af8de2b5befc5a5409a94af0da25308622234db2e3b411edb20324df458fe85f46ac21 SHA512 884c921a263a8baf2d94958c72e232a0a47d0747f5a9d36ed8fc270edfa18dfc240d1e858e75dcc03eae921dae08d3ddfd34d9146d1510de6a09031da26aaccc
|
||||
DIST lxd-5.8-add-tcp-keepalives-to-exec-channels.patch 15702 BLAKE2B ee834b86284e36f87ad3e54df04eb2968dc0fefdf81b116bd640e611ac4ca2eb93763ed2c2f3cfd1e9473da1a3e66bd90858eb4bab08a47f86306a0903a19e6e SHA512 5e7c56f5ffbc8cecb27c6916abbbf4bb3d268c0936b9fdb2b80b4b306c911bdcf782059290243988feb49c9209e55de9ea168ea7041636bf9ae1b7d88ff541c9
|
||||
|
@ -0,0 +1,32 @@
|
||||
diff -Naur a/Makefile b/Makefile
|
||||
--- a/Makefile 2023-01-16 21:10:45.000000000 -0000
|
||||
+++ b/Makefile 2023-01-19 14:52:28.488204725 -0000
|
||||
@@ -248,28 +248,6 @@
|
||||
.PHONY: build-mo
|
||||
build-mo: $(MOFILES)
|
||||
|
||||
-.PHONY: static-analysis
|
||||
-static-analysis:
|
||||
-ifeq ($(shell command -v golangci-lint 2> /dev/null),)
|
||||
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2
|
||||
-endif
|
||||
-ifeq ($(shell command -v shellcheck 2> /dev/null),)
|
||||
- echo "Please install shellcheck"
|
||||
- exit 1
|
||||
-endif
|
||||
-ifneq "$(shell shellcheck --version | grep version: | cut -d ' ' -f2)" "0.8.0"
|
||||
- @echo "WARN: shellcheck version is not 0.8.0"
|
||||
-endif
|
||||
-ifeq ($(shell command -v flake8 2> /dev/null),)
|
||||
- echo "Please install flake8"
|
||||
- exit 1
|
||||
-endif
|
||||
- golangci-lint run --timeout 5m
|
||||
- flake8 test/deps/import-busybox
|
||||
- shellcheck --shell sh test/*.sh test/includes/*.sh test/suites/*.sh test/backends/*.sh test/lint/*.sh
|
||||
- shellcheck test/extras/*.sh
|
||||
- run-parts --regex '.sh' test/lint
|
||||
-
|
||||
.PHONY: tags
|
||||
tags: *.go lxd/*.go shared/*.go lxc/*.go
|
||||
find . -type f -name '*.go' | xargs gotags > tags
|
@ -0,0 +1,204 @@
|
||||
# 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/lxd/introduction/ https://github.com/lxc/lxd"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxd/${P}.tar.gz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/lxd/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/lxd
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dqlite-1.13.0:=
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp,ipv6(+)]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables[ipv6(+)]
|
||||
sys-apps/iproute2[ipv6(+)]
|
||||
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/fuidshift
|
||||
/usr/bin/lxc
|
||||
/usr/bin/lxc-to-lxd
|
||||
/usr/bin/lxd-agent
|
||||
/usr/bin/lxd-benchmark
|
||||
/usr/bin/lxd-migrate
|
||||
/usr/sbin/lxd"
|
||||
|
||||
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"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/lxd-5.0.2-remove-shellcheck-buildsystem-checks.patch )
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd: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 \
|
||||
lxd/apparmor/instance.go \
|
||||
lxd/apparmor/instance_qemu.go \
|
||||
lxd/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" \
|
||||
lxd/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/lxd-4.0.9-r1.service "${T}"/lxd.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/lxd.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"
|
||||
|
||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
||||
go install -v -x "${S}/${k}" || die "failed compiling ${k}"
|
||||
done
|
||||
|
||||
go install -v -x -tags libsqlite3 "${S}"/lxd || die "Failed to build the daemon"
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/lxd-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/lxd-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/lxd
|
||||
|
||||
for l in fuidshift lxd-agent lxd-benchmark lxd-migrate lxc lxc-to-lxd; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
newbashcomp scripts/bash/lxd-client lxc
|
||||
|
||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
||||
newinitd "${FILESDIR}"/lxd-5.0.2-r1.initd lxd
|
||||
|
||||
systemd_dounit "${T}"/lxd.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
elog "including a Quick Start."
|
||||
elog "For virtual machine support, see:"
|
||||
elog "https://wiki.gentoo.org/wiki/LXD#Virtual_machines"
|
||||
elog
|
||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
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 lxd group."
|
||||
|
||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
||||
ver_test ${REPLACING_VERSIONS} -lt 5.0.1 &&
|
||||
has_version app-emulation/qemu[spice,usbredir,virtfs]; then
|
||||
ewarn ""
|
||||
ewarn "You're updating from <5.0.1. Due to incompatible API updates in the lxd-agent"
|
||||
ewarn "product, you'll have to restart any running virtual machines before they work"
|
||||
ewarn "properly."
|
||||
ewarn ""
|
||||
ewarn "Run: 'lxc restart your-vm' after the update for your vm's managed by lxd."
|
||||
ewarn ""
|
||||
fi
|
||||
|
||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
||||
has_version "sys-apps/openrc"; then
|
||||
elog ""
|
||||
elog "The new init.d script will attempt to mount "
|
||||
elog " /sys/fs/cgroup/systemd"
|
||||
elog "by default, which is needed to run systemd containers with openrc host."
|
||||
elog "See the /etc/init.d/lxd file for requirements."
|
||||
elog ""
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST minisign-0.10.tar.gz 18242 BLAKE2B 8b71f01ced4be00c38937e7db5ace2c7e348410a9381f6cc27374827fa0a9da70cca96153af199880ccd5f2265e18a7f21d074f877e0e21ca797bbba2bf5cbf5 SHA512 6a38500ed896c17b100bca47443f9806debe6e44d3ce09189f5f8913a41d4913434397175d1caa770fb0cc0918078dfc71c01b82b9bf919fdfba00434f4ce100
|
||||
DIST minisign-0.9.tar.gz 15664 BLAKE2B f9f358a27b069e752894326932a8c5c51f308ade49ed7088a5f693b4e8327639fc5578607f348994a7ab7484091ed93190894c1965cadbbbf2a27e939ccc117b SHA512 7970f3e72ff759f3f02416de5d6035e1c8dd4e92ea718083cc5091c7e2355b59c4e178c60ca934985ba1e1afcd970967d4fb39a434ba54b140f3fc9be661253d
|
||||
DIST minisign-0.11.tar.gz 18410 BLAKE2B 503d73f53b9405f337865536d132e0de880cdefa9df2c08815b4cc9f7e2995a0d3032fe7b2ec48610c10b6023d998286ac705e0d10c6a475185b60405f69ec50 SHA512 a7445cb9646ae56fcba718f61f73486d5774d9cafe72ef051a3e60f94baf852b597261778bce50371ea5ee63395b0477bf1a33c7683fde32d003fab66029241f
|
||||
|
@ -1 +1 @@
|
||||
DIST tpm2-tss-engine-1.1.0.tar.gz 394448 BLAKE2B 0502907dc9ce872f31be3b980f975a02af2e3e4b369d188afa5327bd4475d93dbf43769dc7ddc11e8cbda8d1fde09f28a9aef9145e859a90225cd397f62c7a2c SHA512 5d2e08178be54350e8672245023d601a0d9d520f8c49e977af49d7c59b91d033c14b4a347b71e042fe7c5ff12af9fcc43b69fd1dc83a9f0db12d47d43e1107f4
|
||||
DIST tpm2-tss-engine-1.2.0.tar.gz 410605 BLAKE2B f6b88238ed780315cf23dc9caac4639220e76e8daeeb35a0e9bf2f23efb1b45497dd24f43f97d0f4018440b33e2e80de4f321254b9e58708d04a15a3bd922aae SHA512 cd0f1c3b5251ab2f21159099cdb9c0b1cc68d7ad334d4c5245bba9c07274ecea7c86a531afc9ce6250635a9d0929a5147f461cc3760b15cd6ad099342af87ad0
|
||||
|
@ -1,35 +0,0 @@
|
||||
https://bugs.gentoo.org/833531
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -174,6 +174,8 @@ AC_ARG_WITH([device],
|
||||
[with_device_set=no])
|
||||
AM_CONDITIONAL([TESTDEVICE],[test "x$with_device_set" = xyes])
|
||||
|
||||
+AC_CHECK_FUNC([backtrace_symbols_fd],[AC_DEFINE([HAVE_EXECINFO],[1], ['Define to 1 if you have the <execinfo.h> header file.'])])
|
||||
+
|
||||
# Integration test with simulator
|
||||
AS_IF([test "x$enable_integration" = xyes && test "x$with_device_set" = xno],
|
||||
[integration_args=""
|
||||
--- a/test/error_tpm2-tss-engine-common.c
|
||||
+++ b/test/error_tpm2-tss-engine-common.c
|
||||
@@ -7,7 +7,9 @@
|
||||
#include "tpm2-tss-engine.h"
|
||||
#include "tpm2-tss-engine-common.h"
|
||||
|
||||
+#ifdef HAVE_EXECINFO
|
||||
#include <execinfo.h>
|
||||
+#endif
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <setjmp.h>
|
||||
@@ -17,8 +19,10 @@ TSS2_RC
|
||||
__wrap_Esys_Initialize()
|
||||
{
|
||||
printf("Esys_Initialize called\n");
|
||||
+#ifdef HAVE_EXECINFO
|
||||
void* b[128];
|
||||
backtrace_symbols_fd(b, backtrace(b, sizeof(b)/sizeof(b[0])), STDOUT_FILENO);
|
||||
+#endif
|
||||
return -1;
|
||||
}
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools bash-completion-r1
|
||||
|
||||
DESCRIPTION="OpenSSL Engine for TPM2 devices"
|
||||
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss-engine"
|
||||
SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-crypt/tpm2-tss:=
|
||||
dev-libs/openssl:0="
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-util/cmocka )"
|
||||
BDEPEND="sys-devel/autoconf-archive
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable test unit) \
|
||||
--disable-defaultflags \
|
||||
--disable-static \
|
||||
--with-completionsdir="$(get_bashcompdir)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
dobashcomp bash-completion/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST tpm2-tss-3.2.0.tar.gz 1629211 BLAKE2B a89aa4d89a50bdfb5a9652874d30e2138747bd022049f2be2d0b56e296329d0c41254033ec3a062dbd64fde54a62e952f54446c551e5788231827cd53fae045a SHA512 cabb411f074dfa94919ba914849aac77a0ac2f50622e28a1406cf575369148774748e0e2b7a7c566ec83561a96d4b883bac5a3b1763f4cf48668a0c5d68c0a23
|
||||
DIST tpm2-tss-3.2.1.tar.gz 1638566 BLAKE2B bdf5eeca1e7269a639cefd8b4a38e16c5b7c08518411a22718dcd14bc9fe3b621eee77cdd98f9ece0f6d9a52319bce5e0a502ff9a6e4ba6716341bd01f5967a9 SHA512 dbe5e29349d78621fcd608d9c75fa58f5e6462264b9654ca85af9f9faafebe1107d9f735a1b6ad4956a089b0dd96cbda3f46364cabd846f9fb29a419b074c78f
|
||||
DIST tpm2-tss-4.0.0.tar.gz 1787084 BLAKE2B 9b9d466eab77ae71ec916c911f9e1321013fe49594e103610fcb03492a2f20e811a2faddc2237519b710a1931226d5664581cd671d2318319a92e16bcb5ccfb4 SHA512 1058aa74e2358bfb60a17b85291dc642d40b49bb076453810c5b2b0c37c72671c319d783c879f719ccbe7aaeb5f464e0144c6ee12d28242b477be5d579cb3f9c
|
||||
|
@ -0,0 +1,26 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 2c81cfa9..2673995c 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -767,13 +767,11 @@ define set_tss_permissions
|
||||
endef
|
||||
|
||||
define make_fapi_dirs
|
||||
- ($(call make_tss_dir,$(DESTDIR)$(runstatedir)/tpm2-tss/eventlog/) || true) && \
|
||||
($(call make_tss_dir,$(DESTDIR)$(localstatedir)/lib/tpm2-tss/system/keystore/))
|
||||
endef
|
||||
|
||||
define set_fapi_permissions
|
||||
if test -z "${DESTDIR}"; then \ e
|
||||
- ($(call set_tss_permissions,$(DESTDIR)$(runstatedir)/tpm2-tss)) && \
|
||||
($(call set_tss_permissions,$(DESTDIR)$(localstatedir)/lib/tpm2-tss)) \
|
||||
fi
|
||||
endef
|
||||
@@ -784,7 +782,6 @@ endef
|
||||
|
||||
define check_fapi_dirs
|
||||
if test -z "${DESTDIR}"; then \
|
||||
- ($(call check_dir,$(DESTDIR)$(runstatedir)/tpm2-tss/eventlog/)) && \
|
||||
($(call check_dir,$(DESTDIR)$(localstatedir)/lib/tpm2-tss/system/keystore/)) \
|
||||
fi;
|
||||
endef
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev
|
||||
|
||||
DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
|
||||
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
|
||||
SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0/4"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="doc +fapi +openssl mbedtls +policy static-libs test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="^^ ( mbedtls openssl )
|
||||
fapi? ( openssl !mbedtls )
|
||||
policy? ( openssl !mbedtls )"
|
||||
|
||||
RDEPEND="acct-group/tss
|
||||
acct-user/tss
|
||||
fapi? ( dev-libs/json-c:=[${MULTILIB_USEDEP}]
|
||||
>=net-misc/curl-7.80.0[${MULTILIB_USEDEP}] )
|
||||
mbedtls? ( net-libs/mbedtls:=[${MULTILIB_USEDEP}] )
|
||||
openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( app-crypt/swtpm
|
||||
dev-libs/uthash
|
||||
dev-util/cmocka
|
||||
fapi? ( >=net-misc/curl-7.80.0 ) )"
|
||||
BDEPEND="sys-apps/acl
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.0.0-Dont-install-files-into-run.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK=" \
|
||||
~TCG_TPM
|
||||
"
|
||||
linux-info_pkg_setup
|
||||
kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# tests fail with LTO enabbled. See bug 865275 and 865279
|
||||
filter-lto
|
||||
|
||||
ECONF_SOURCE=${S} econf \
|
||||
--localstatedir=/var \
|
||||
$(multilib_native_use_enable doc doxygen-doc) \
|
||||
$(use_enable fapi) \
|
||||
$(use_enable policy) \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_enable test unit) \
|
||||
$(multilib_native_use_enable test integration) \
|
||||
$(multilib_native_use_enable test self-generated-certificate) \
|
||||
--disable-tcti-libtpms \
|
||||
--disable-defaultflags \
|
||||
--disable-weakcrypto \
|
||||
--with-crypto="$(usex mbedtls mbed ossl)" \
|
||||
--with-runstatedir=/run \
|
||||
--with-udevrulesdir="$(get_udevdir)/rules.d" \
|
||||
--with-udevrulesprefix=60- \
|
||||
--without-sysusersdir \
|
||||
--with-tmpfilesdir="/usr/lib/tmpfiles.d"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
keepdir /var/lib/tpm2-tss/system/keystore
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process tpm2-tss-fapi.conf
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST yubikey-manager-4.0.8.tar.gz 147076 BLAKE2B efdefb15c3939bfb2171766aec195fb776668894d4439565840587d14387999e052aee6eb225b9332662f1ebdbf1db24fceb606393e23d591ff61b91c1ee96f5 SHA512 87352bbb133eead48d1588df2db5420687278a9f76ceb283a53af8eab3d29e30c86e01a588a6da2884e6dac6af192ad355a28745f2f8505ef6cd0e96dea3e9c7
|
||||
DIST yubikey_manager-5.0.0.tar.gz 158461 BLAKE2B 622c01883efcaa3db27e8ef9e52e2b4e941e627ae144b753b1b161ada5766578320b6bf748fb71c97c3ac9f2cd96993f6180d8e40563ac423df21a333dc3b06e SHA512 b529ab33712ebf2e88509dbceb19e4582e6a5b00890a0660f9409e3f8e4475ba1842fc1edcb515a1ca766b0e57b3ea323a19d8cd155c914d16cf67cfc693dfed
|
||||
DIST yubikey_manager-5.0.0.tar.gz.sig 310 BLAKE2B 9f561511320dca89c2d757e079ad7b22b783006214d538e03ee5721540a03f528dc8098922e2df191d013b3038e664e05eb12d017f130995c345aec613b7bd48 SHA512 98d13154863441b3d3b5e2a75806db3aed1a489635d4257e4249ded4eb393042c8371ce9ccb66ed35b9015c5f7baec36ceae07a64a48d2a12c3971e395de0173
|
||||
DIST yubikey_manager-5.0.1.tar.gz 158829 BLAKE2B 082b7405a6b8049c0086126c8287ab66f5028b121da4aeae81939683ed65cef1a7c59bf545b5e768b18643bd6c0ee759b2897673870344d8f7ab5217413c1a0d SHA512 2e798f8475e52c9091f5cd6ebbd5937eb3f14c49e9c2c9c7eda09c095ac3a1c80065e14f8e9c827c1eee8914ce3c3e21dbb2820a6ac8cefed1306d409cc6a0fc
|
||||
DIST yubikey_manager-5.0.1.tar.gz.sig 310 BLAKE2B c12b2c6f09be26a3df394cc296fbe28db560f31864a5b46d18021d672947c0d929b56be5cd10fd0347e4bcdeb988a242780b58565eb64163b125752756e5dda1 SHA512 876c47c2b22efd58f801f3bf7110c1896f425090d2454db4eb8214442b5a909b75f6fcf8e581c97806e488bfc6fb306e92274ce1b29be9e3240813944155478f
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
|
||||
inherit distutils-r1 verify-sig
|
||||
|
||||
MY_PN="${PN/-/_}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||
# According to https://github.com/Yubico/yubikey-manager/issues/518 the release
|
||||
# tarballs on Yubico Web site and on GitHub should be identical, and at least
|
||||
# for recent releases the latter are signed as well. Only the automatically
|
||||
# generated "Source code (tar.gz)" tarballs should not be used.
|
||||
# Still, prefer the former if available.
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz
|
||||
verify-sig? ( https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz.sig )"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="ssl"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/yubico.com.asc"
|
||||
|
||||
# app-crypt/ccid required for
|
||||
# - 'ykman oath'
|
||||
# - 'ykman openpgp'
|
||||
# - 'ykman piv'
|
||||
RDEPEND="
|
||||
app-crypt/ccid
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
<dev-python/cryptography-42[${PYTHON_USEDEP}]
|
||||
dev-python/fido2:0/1.0[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||
ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="
|
||||
test? ( dev-python/makefun[${PYTHON_USEDEP}] )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-yubico-20220824 )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman man/ykman.1
|
||||
}
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST doom-modeline-3.3.2.tar.gz 61363 BLAKE2B 2b80748265f911954e1726dc30e6bacf4ba7ffb6eb589e8f67c366b818e212376039eb025d380937b327f7d3d4a980ec6bfe0589ac38af1e0d678a8f6038b97f SHA512 ff0b41c5f8dc7e5a4a5bccaa710b445a1894948893cd7dea6c564d3a9b1be5cd7cd005e6a28613a6800526d5158faebfef51d21b9e911d97416821210954f0b3
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=25.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Fancy and fast mode-line for Emacs inspired by minimalism design"
|
||||
HOMEPAGE="https://seagle0128.github.io/doom-modeline/
|
||||
https://github.com/seagle0128/doom-modeline/"
|
||||
SRC_URI="https://github.com/seagle0128/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/all-the-icons
|
||||
app-emacs/compat
|
||||
app-emacs/shrink-path
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
||||
|
||||
src_test() {
|
||||
${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
|
||||
-L . -L test \
|
||||
-l test/${PN}-core-test.el \
|
||||
-l test/${PN}-env-test.el \
|
||||
-f ert-run-tests-batch-and-exit || die "tests failed"
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "doom-modeline-autoloads" nil t)
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/seagle0128/doom-modeline/issues/</bugs-to>
|
||||
<remote-id type="github">seagle0128/doom-modeline</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST shrink-path.el-v0.3.1.tar.bz2 15743 BLAKE2B 8f5db089737f2d31c9f5852265f1b33679de3cc72989bf04b8d50871b3b8fa356da6823177759561b99ee5b032fb10ba1c51f49cdd7d74daafb1d6cac44ba2b7 SHA512 f4cc191186c2a2e706ff08fbcd43f24dd67297a368c42da72626d70e3522d5b24ceba45a2e17821f6288576f10e0208e3d643946108edd6180502dd1bad019ed
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://gitlab.com/bennya/shrink-path.el/-/issues/</bugs-to>
|
||||
<remote-id type="gitlab">bennya/shrink-path.el</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Fish-style path truncation for GNU Emacs"
|
||||
HOMEPAGE="https://gitlab.com/bennya/shrink-path.el/"
|
||||
SRC_URI="https://gitlab.com/bennya/${PN}.el/-/archive/v${PV}/${PN}.el-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}"/${PN}.el-v${PV}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/s
|
||||
app-emacs/dash
|
||||
app-emacs/f
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? ( app-emacs/buttercup )
|
||||
"
|
||||
|
||||
DOCS=( README.org )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's|it "same as shrink-path"|xit "same as shrink-path"|' \
|
||||
"${S}"/test/shrink-path-test.el || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
buttercup -L . -L test --traceback full test || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST eselect-wxwidgets-20180529.tar.xz 2380 BLAKE2B 2f5d5e79b9cd85442b0aa0d1453d84651308d4c33711b919802b383bb98865b615a9afd0493b4d34232c3d986e68246e35943d96a31e25a3fb2778b6483ec764 SHA512 d91e87f23c7feb807ed75fcfd363b61fadd8c305e3aa82c5e3dfa3d9fbc2c18a8b7e6404bcac9ebd6c34269406712d453e5bd877509f26f3648cb864df36e281
|
||||
DIST eselect-wxwidgets-20230114.tar.xz 11328 BLAKE2B f417bd1549d12b9a0ec629d92a38863caafc000a6212560f1405930dab6149c106836d0d1e61d8dbfad14059c628775e85fbf0ecdcd909403e06f666aff5e684 SHA512 0da2713e61920792a89e82334b1561464a0afbc61aed7857b7029980370b7f023edcae0da8d7225f091e65dc207e6c346cd4bfddcbe06a71264f597ecffeea95
|
||||
DIST eselect-wxwidgets-files.tar.bz2 9126 BLAKE2B 47ec94aec721d325fc483ece28e84b48c35b103078415447b6e79e68ab44af9356955c960b9464713396f4cbbf663522e5a4493516414641aa5b99e7cdca0ac8 SHA512 c5aba3bf4bbb891534e0c7a444da6cb90a947dab407e436a1eccd13ddb33251816ce95b5fb6826aa9a64ec2b3d9be09c9852859597b0b8ce91cbaf0f6ed6da5e
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib
|
||||
|
||||
WXWRAP_VER=1.4
|
||||
|
||||
DESCRIPTION="Eselect module and wrappers for wxWidgets"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/eselect-wxwidgets.git/"
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/app-eselect/eselect-wxwidgets/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.4.13"
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "/^LIBDIR=/s:lib:$(get_libdir):" \
|
||||
-e "/^EPREFIX=/s:'':'${EPREFIX}':" \
|
||||
-i {wx-config,wxrc}-"${WXWRAP_VER}" || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins wxwidgets.eselect
|
||||
|
||||
insinto /usr/share/aclocal
|
||||
newins wxwin.m4-3.0 wxwin.m4
|
||||
|
||||
newbin "wx-config-${WXWRAP_VER}" wx-config
|
||||
newbin "wxrc-${WXWRAP_VER}" wxrc
|
||||
|
||||
keepdir /var/lib/wxwidgets
|
||||
keepdir /usr/share/bakefile/presets
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e ${EROOT}/var/lib/wxwidgets/current ]]; then
|
||||
echo 'WXCONFIG="none"' > "${EROOT}"/var/lib/wxwidgets/current
|
||||
fi
|
||||
|
||||
elog "This eselect module only controls the version of wxGTK used when"
|
||||
elog "building packages outside of portage. If you are not doing development"
|
||||
elog "with wxWidgets or bakefile you will never need to use it."
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST ibus-m17n-1.4.17.tar.gz 646856 BLAKE2B e2a1c93afa5adf76689a6883b5b2a08a8ebc4f122ae484797df9ae9fd220023c188a894789069f83ba598a321e3d6c89045f278f1b1f51988c34728e005ba5cd SHA512 794dfce969f447354a092758d20999637e3d0a1006f8e078845ae3e79b63b7a467f9f28a7bdeeac4f4709d6750e7156efbc3d341bfa574ac7002266d0dce2b95
|
||||
DIST ibus-m17n-1.4.18.tar.gz 639501 BLAKE2B 73881d77f08433052ef1c9dd6706febae6f351287ab0ea9beb47078292224ccaab51d930ca178db245870d0a3639a54cca0dc15bf59fd320f3ac9c39d433f2a5 SHA512 4960301ee2a4b10a8ca3c618df1a9f5acabce89da662c80bc39520d1b4b2a6e0b487f85c6e513ba174addc7b8ae349b3cb799f4925abfc20c8ac1ef1b8678540
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit gnome2-utils xdg
|
||||
|
||||
DESCRIPTION="M17N engine for IBus"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
SRC_URI="https://github.com/ibus/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="gtk nls"
|
||||
|
||||
DEPEND="app-i18n/ibus
|
||||
dev-libs/m17n-lib
|
||||
gtk? ( x11-libs/gtk+:3 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-db/m17n-db-1.7"
|
||||
BDEPEND="sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_with gtk gtk 3.0)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST ibus-table-others-1.3.13.tar.gz 676883 BLAKE2B 2486565f51781fc4d0a270f84c97d2525478392f165e4ebeda8c4b0d64405aa91e4568ebea1ec946fe57bcd9e1ddf08178ce1d46c3bf20571c71f94035df2f9c SHA512 1276139f3ce9e1d7a8e117be804e5ff0f4fba3f1d80600a10fb0fa25327a5c368e315bc87b68219091cdaa5927e536306111df0a4819503b2ec7002374cb2534
|
||||
DIST ibus-table-others-1.3.14.tar.gz 674955 BLAKE2B 77f94ae3f83e95eb53aaf3d78a28682261bfa63031dc74b1399b57194d68e2405df070f41af6a00d69dd9f9c9a106ffa730302847e01b2fc97988fe9bd42a1e2 SHA512 9c91db95ebbee3b6951cc179a46bbc3ee29409afa1e3229a6213447b90ebff288dc738046b0ea4f979c2241cf9563ca77a8b97b651a56e940563e9f25e0e238b
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
DESCRIPTION="Various tables for IBus-Table"
|
||||
HOMEPAGE="https://github.com/moebiuscurve/ibus-table-others"
|
||||
SRC_URI="https://github.com/moebiuscurve/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-i18n/ibus-table
|
||||
!app-i18n/ibus-table-code
|
||||
!app-i18n/ibus-table-cyrillic
|
||||
!app-i18n/ibus-table-latin
|
||||
!app-i18n/ibus-table-tv"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
@ -1,2 +1 @@
|
||||
DIST ibus-table-1.16.13.tar.gz 1532633 BLAKE2B c47b7c1b523554993a007e6b4701d7ee92a000503004bdbc3832a8b3540bb440e9c51eee61f83fd04eb921cd84fedac84cb6b77effd305531aa8d43f980f275a SHA512 d060619c81ff3d610140593a47fed6b430f32f0e5927d824d36bd082d394e473f6d534f7b9b0d0100f878001b7e8b4384e1770c5e1887976cfe248bba5bb6318
|
||||
DIST ibus-table-1.16.14.tar.gz 1534056 BLAKE2B 512c1610e4e7096d25c5ff8678e0e91a4cae96ca7036dae0b33ef8f3461e0e6c89cddb35bcd0bf50c48d308d1b0831c02957863419ccbfba64182290a9567acb SHA512 a865c8913bee5e462ed8f3ba74a720b3eb37062ae762e3909827b660dc62d3055e6b90fd3c583487fb23edd2d9572d9eae201d7fbde889ec5cd8e5848b83291f
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
PYTHON_REQ_USE="sqlite(+)"
|
||||
|
||||
inherit gnome2-utils python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Tables engines for IBus"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/libiconv
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST ibus-typing-booster-2.19.10.tar.gz 11174125 BLAKE2B e180a72dc59d89838696291e767e994a17794a7565cf08cbe547aafa75dc73c5e58b046b2312fe70cc682bd9fcc93db23679e62af5ecfe3bd391dee38b73a697 SHA512 af9952aac45906400fdbb8421165c91cc8ade898a20331cb7ba6f85d18a73a8a872f38c00e6ec35c4c6048541f56d4d3f43e8c222fda975efa28c1d6b86d99ee
|
||||
DIST ibus-typing-booster-2.19.7.tar.gz 11055420 BLAKE2B 7e303905d6417dcff67968311b287218d68ff94932f64b82fe224131f8c8f70254e679254bda2c372aeecab15042f51046d62de4887d197d30cb2478136a7cf8 SHA512 0dd7a5aeeed0791a7c5053f6a09abf04590664fc691b0ca11dea1a11ea4109f7cfe907995219b5974b72c21df58670bd1b7ee893acb7b72fd56b3ee23df4fcc4
|
||||
DIST ibus-typing-booster-2.19.8.tar.gz 11170176 BLAKE2B 0670aa4ed88c9e4807814e77b031197bccb84ad9d7cb036b96d22f84221f41731bdadf2632eb4c6726728d3491dd579a84f9beb5ec1b58ab752470c2b4f61910 SHA512 5e24ad5498fb91bbe2c669d85a38a1fc78dbde8a31e07aaa0506896b8e5c0ce78c4b961ac8953582bdbb808116e272a52c8eb721f7723a3f7afc743df9bb7d82
|
||||
DIST ibus-typing-booster-2.19.13.tar.gz 11175082 BLAKE2B 4f0925c38a272b056ec3e542059416d65d6bcdd26a1e5810ea8a6febbd9a3c7c0d8cd74b75826622e70fd04aeeb2282e166c3433f86233be0bf6929fac58dece SHA512 78a29efd5df8380db274b0e8f14aea83bb2841bae78b6c49cb28151b6dc011a5856bfc4f2347c4295dc2fbe058df150e06346fe4eee7ca331edf73e5fedebd2e
|
||||
DIST ibus-typing-booster-2.20.0.tar.gz 11175896 BLAKE2B 399b48617cd3d256e682b2d23d63c8931faecc4e83015d0be30040d516d3cd3a50e9366c460ebfe1f1ef2b2aa1363f4d2e2d2ac0ef9ad7016f6f2ecd6ee4f36b SHA512 8c7271d3029a28b045c9e9ffae9c9ac07adac3ac98749f30cd0959cfb91a50953372758c77c9820d713f2027d535d0752d1817281ce16be7e3594877b64177a5
|
||||
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST tuxedo-keyboard-3.0.10.tar.gz 50759 BLAKE2B 08fec486f6555ff5b8de6b1ea49ce504747238284fda31b05686fd5955bf3bb3fc48b49c40b50c1bbdfcbf4af2f206a99f645b294ebceafec4c87751fd460090 SHA512 a3c5b74fc5587763f131a66f507c0b33d462ed87c8e05391152c09d1425b5e1771bfb08cc2d1e3bb73b02074f503d866ea463fd44fb06d00b38c6ac4cfcd4e3b
|
||||
DIST tuxedo-keyboard-3.1.3.tar.gz 56532 BLAKE2B 06c2dec95e7888f765040bd41512c691cab9812fbea213b7766605aad6724adf3d5c6e5a3641621781f483e1ce249e71ea988b765e311d4bb4862997d8effb2c SHA512 dbad1ebc5d91d3306197012ce2fafa5e6063c9b8b62a14c3f1412c9340199c91500a6eeefbed73b1a5d15132dc4b4a73e11c86c15c1b2a3d44765b2664d2f331
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
CONFIG_CHECK="ACPI_WMI INPUT_SPARSEKMAP"
|
||||
|
||||
inherit linux-mod toolchain-funcs
|
||||
|
||||
DESCRIPTION="Kernel Module for Tuxedo Keyboard"
|
||||
HOMEPAGE="https://github.com/tuxedocomputers/tuxedo-keyboard"
|
||||
SRC_URI="https://github.com/tuxedocomputers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BUILD_TARGETS="all"
|
||||
MODULE_NAMES="clevo_acpi(tuxedo:${S}:src) clevo_wmi(tuxedo:${S}:src) uniwill_wmi(tuxedo:${S}:src) tuxedo_keyboard(tuxedo:${S}:src) tuxedo_io(tuxedo:${S}:src/tuxedo_io)"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
BUILD_PARAMS="CC=$(tc-getBUILD_CC) KDIR=${KV_DIR} V=1 KBUILD_VERBOSE=1"
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST golly-4.0-src.tar.gz 5579026 BLAKE2B fc6c9d4db80e92635ac466250ca65c5cbe496c668f2fbd583226a2ecd686ac022aa4d47f453628284bceeb16554b91340b442216eab8412506243e30085a3a32 SHA512 3a39e170ceddfa4f8c261a81f7b45039e9cc2aef901915d83d3227231514bf66e254d307802cb0afddd7458722b8cbf2ce527cb9ee84a2710b52bf5bdb15484d
|
||||
DIST golly-4.1-src.tar.gz 14877727 BLAKE2B d9cac1250901a39d6a360b527c6f4872fc78d0426ea255b9f9129136b938a6655ff59f8c5b0204fd44f4ac0ae76e307c763ddb24a1d8a00bd4e548e4ac2277c3 SHA512 bc050a216a36091f0df42e61a19c34353c6306dc1ae86c194693c85a4489b118435da238b25017bde4b3d31a79e12a6988f7b7da5ae90cfcc9ca0795e66d4a99
|
||||
DIST golly-4.2-src.tar.gz 15348982 BLAKE2B 21ebed4c282a77a3f61aafa98936c0bb39b39a7c97505e96fc43ac720bd2eea4cf20996ca28c801f79a46577a0cf99ff60614ce134081605d14ca5972c841d50 SHA512 b9f5cfdfe9b96590411695805dd8b875329c81027fef98dff3f16b832018be2ad3a06583bb64e12fb305268feba2347ef63c4586ff0e645721a8085f04ab382a
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
WX_GTK_VER=3.2-gtk3
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit desktop python-single-r1 toolchain-funcs wxwidgets xdg
|
||||
|
||||
DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
|
||||
HOMEPAGE="http://golly.sourceforge.net/
|
||||
https://sourceforge.net/projects/golly/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X,curl,opengl,sdl,tiff]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-4.0-CFLAGS.patch )
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
setup-wxwidgets
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local -a mymakeopts=(
|
||||
ENABLE_SOUND=yes
|
||||
GOLLYDIR="${EPREFIX}/usr/share/${PN}"
|
||||
PYTHON=${EPYTHON}
|
||||
WX_CONFIG=${WX_CONFIG}
|
||||
AR="$(tc-getAR)"
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXC="$(tc-getCXX)"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
)
|
||||
emake -C gui-wx -f makefile-gtk "${mymakeopts[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Has no 'make install', let's install files manually.
|
||||
exeinto /usr/bin
|
||||
doexe golly bgolly
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r Help Patterns Scripts Rules docs
|
||||
|
||||
newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
|
||||
make_desktop_entry ${PN} "Golly" ${PN} "Science"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -1,9 +1,18 @@
|
||||
DIST amd64-debug-libreoffice-7.3.7.2.tar.xz 1498172004 BLAKE2B 58d1f97b7e025139220990a5b5fb1ab46847dc15edf9c447ab3039d5214b45dbeff61441b34cda7f91a3df360f4ecfe869ed0905f69dbb51193531f0f4978cd3 SHA512 1cf5c136aae71968cdc1b21f8b27d0188148f887ac8ade1c4dfbc95dd35aedf58d8949f885787d7412548cc0e9a4e1963cfde2b6c89179a0e52597de3bb78f0f
|
||||
DIST amd64-debug-libreoffice-7.4.4.2.tar.xz 1543997216 BLAKE2B 5ef77d4d87c3a915969234b6109bec7c84855a3fa5c63918e91844bf45ea967575a94de6d46a65cadfbbf584aca17f81c5b55dfa86705d7eb14663a4b1938961 SHA512 a919ed675e784fe167f31af0cec017b28e2fd55900f008471d2644a7a3eb6391fec346c9b2031773269c01fd08d5bf5be7bd23a1b657e1b712fb0b14d5a42c0b
|
||||
DIST amd64-debug-libreoffice-gnome-7.3.7.2.xd3 1426468 BLAKE2B 751b22c4709e332253b93c3f03e4bee4ca5d7224480e1d9b9288c31ad84dd8030da3f9b0a0f1707ca37cea25e9986026e7cd0f890fdc6b015bc5f138f2a83832 SHA512 31c45ca6fc5a57c9ac03d6120f011562c472e757451e7ae637fd7ade514f0ff673e03acd8ebe70c666c145844126a81af6d3fcceb926f72b83f5ba313f9d9e69
|
||||
DIST amd64-debug-libreoffice-gnome-7.4.4.2.xd3 1434988 BLAKE2B 840d627e2e20c0c23c2b8209ce99070facf69c8b9b46c832d267331887027e65215b663ef5532c86c7d26e281da52301d488439eb6a4fa24c6ca71172c231452 SHA512 50073f71d591891f6bb684efee5fd9f58231d977967ee6e29c9ab915b4274c7b1272264c0ed0d944678c96f0115262f44481b4ca49795ec51dc82c094482ba0f
|
||||
DIST amd64-debug-libreoffice-gnome-java-7.3.7.2.xd3 780825509 BLAKE2B fb12cd7426f251d78d4e1f8109f8ce5acfa480ac412aee4306979ff0d4b43997c80c41529d112e369e890094b836790985401338103554500c6e8616cb220d94 SHA512 2760333d9cc2be7d8bcba22352ec510326624e35b9e50edc7ef3d2b9a0b8b43fe291670f4f9f20d1e6b5fb9fdfdc9733e1757523ca83a276268d08be5d36e4ed
|
||||
DIST amd64-debug-libreoffice-gnome-java-7.4.4.2.xd3 792580744 BLAKE2B 6866d4a076cf806240324e90368b479b714b8f2b1fb4eb7acca7b41b35c20513c078306d46de221e0428b8b924efaade7b24ad17e2a1682adc5f97d5bc809607 SHA512 214a8414595e22f8e11b4692bdcb33abd0ede20c3af28046353f303dc128269eba1b2f518fc17d78f63c232b1d2e72a4ae7ab0c90bc4ae322aede21ab47c3b56
|
||||
DIST amd64-debug-libreoffice-java-7.3.7.2.xd3 779398603 BLAKE2B 6a9c6e77dc0c23e8cbdd292ad3afbd8f979ce857ef0a719de35f5b4d7c336d106976320c9de3fe1163c5b148f6a137d3f17be9c851d04d342b6ec1a222d4fbb4 SHA512 2406ee0096fae44148d2c45a5840369a985e3994189c289fc8380b31ebd050581a4ba1f3c547b2a9c6fa84ab17804381aa89f202ee35fc295906ee5a04d53d9c
|
||||
DIST amd64-debug-libreoffice-java-7.4.4.2.xd3 791159008 BLAKE2B 6a26cbd26bf08c1c69c48071fce3f665d2e0b44fe7453aa412346a64ceea67b8d71efcd13c31d1b5364ccee6a380ec991a8d6210477cdd429fc0d3b2707ccd5f SHA512 395ff2e81abacf8dfb09b2f8e7d5b7cc12dd8cc3b8597b551f37bf0790f4c0bea60d4129df582ea8ff963a8007bbce365492179b28d1c8672daf9c79c79d8e4f
|
||||
DIST amd64-debug-libreoffice-kde-7.3.7.2.xd3 474830151 BLAKE2B 53981f15ee162fa00d91e2ecd421cbf612f0a0854819840418058c4c9d1f98468fa48f3038d1a1ab8590f3202d0b85891aba444331ca12231f9c6f8fcf5d72b9 SHA512 81331b35d9c09b5605e5c03042c43f54cc642301efb0d6cbb368dfa38558b1021c381da122b3a424f535e8e1bbb7f3697364968d58a59764abc081d1b7e81b2c
|
||||
DIST amd64-debug-libreoffice-kde-7.4.4.2.xd3 485460207 BLAKE2B 550541bd8902bc96431f7e53f1e31c60b69120b90e7d099aa7ef72300d56d30367040a129400074fdc020d4510b3a98a6637e95c4852797b14c094a9c2a8ed65 SHA512 02789d8c41b5ef007020ff8740d6b7f6acd52e84171831719f772c0b46176a37d554c51511eb4ab6603f62e4c65c4c9d43c6f637add7802cac275fd1c93163f1
|
||||
DIST amd64-debug-libreoffice-kde-java-7.3.7.2.xd3 783741877 BLAKE2B 097b7977705382c7091a2d17781ca80cb16fb854053967a87b903073a09d5d8215f19b3f04836f409a57f54cc60574d467a31aeaaf8a1efab5787313e3e6664a SHA512 95960b2a87797ba5ddc58970f07b4a2aacf29c2d857b3e94b5cb9d8b321ab094680e8cc0d2e7cb7db7ee28933d1619dd7ffdf9b96d749c0a14496cef2149f975
|
||||
DIST amd64-debug-libreoffice-kde-java-7.4.4.2.xd3 800201865 BLAKE2B 85810abd0df5fd6058f83e2aeed2b500c7aa295b7f1f69a525aafc881bbb2c351a0c791ba4eb231493aa641d6118881939deb33830f125cec7f6735006bc2d60 SHA512 b65f7bb9108628eb799ca5d34134b84fba63639f6141f3fe8a5e1e491b28872b49e96b72f9637ddf67b8e141e246fe6439297c49118e1ca074a7e071c9554387
|
||||
DIST x86-debug-libreoffice-7.3.7.2.tar.xz 7936548 BLAKE2B 002d67f4e2feb9e4ef0ce751fedfacb98af06ac35e14a850a7b9ceb13cdaf4946a29503d9ce4b558514f450b5a7d054a1a993e9f0c10b66795960fff94d3eb57 SHA512 8523d5ac5a7857f0cf781cb6af7c9016bebff65905420f0f127efa2b4274bffbd54109e2c4bdf8cbb6d31ef0601258de55eb0659d498bc1561b8ddccc7e828d6
|
||||
DIST x86-debug-libreoffice-7.4.4.2.tar.xz 8020824 BLAKE2B c8153a38e0add724ba216e9d2564150c21cb20a0563f891e6a653d233218c4c0dc37ec80aa5d2998754691b807102c9df0f946d7cb3785a4992172b7f5228de0 SHA512 38cdeef14be06ea88aa96e18038962828cc09bd0793bd45a80db76c394dab7ebc95e5f58cdb313697805f144f28de4948bddd8fd74de841f91f96b0b2fbf5c68
|
||||
DIST x86-debug-libreoffice-gnome-7.3.7.2.xd3 38802 BLAKE2B 1c941389e4d4ec06b879aed252bc633b938d96a49576125ca5a476d7e013d708a8deef8b36e0c16c36c718a39762ec45325ef73f07cbaa4214b42d2142c69428 SHA512 f0e6bdc4ba84057401b14ad10682764c946ec60fd48805bd9530768e766a769aa3df28a1f5d6e551bf8324e137a151af31f855a5d583f30519ab4fa6b307a735
|
||||
DIST x86-debug-libreoffice-gnome-7.4.4.2.xd3 38792 BLAKE2B c472ccb9d881bddabd0e4d9f7f646e6a65e6f2bfd2c8ebf2fce1ad9dd64a4b2fa16647e0a15c78696b315eda06a17404bc06a12b03be506e5238cc5eb6700d1b SHA512 095afc1718e512e4b71fbcf9f81ab20fd0f377d763b3e02bc502f25077874d03e1d6a8098beee018a799eb015a17afa5025b1374246e43146c7d21f8af1e62b0
|
||||
DIST x86-debug-libreoffice-kde-7.3.7.2.xd3 2623628 BLAKE2B f97474378a730ef1a9e91b43300754ac7e498c0f0f5357a7806eac5a665b82b57094d9fa25661bfe82c0082cac90fcd2f082f39e0377f43f55a0d809b439219f SHA512 453537a2086b4c4fb18fc98f792692c2e7503862346ad68a4a1f1acbf0fe72fb00a42a9ddbecf2acca10723d32654f8c824937782bd73be1d68ad7f53c112c1b
|
||||
DIST x86-debug-libreoffice-kde-7.4.4.2.xd3 2732307 BLAKE2B 4d81555f02139ec09b5e7c4b06803ccd96c13e78adf52a55d5510f5c2aa267ae56ae08ccf7c476634adbaa29becbdc9192b3c41917a59ad3b102bc6749c5fb32 SHA512 c37b7d0802815812ab7952f1d5d2b9603d72fba81a9955c75c086cb71e920ff1fa14185a7c94411de0f6b259f3f475aee79564f8613c4409d63297f647820e1c
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
BASE_PACKAGENAME="debug"
|
||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
||||
)
|
||||
gnome? (
|
||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
|
||||
)
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
|
||||
# the = is correct, the debug info needs to fit the exact binary
|
||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
use x86 && use java && die "There is no build for x86 with Java support."
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [[ -n "${patchname}" ]]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/ || die
|
||||
}
|
@ -1,9 +1,18 @@
|
||||
DIST amd64-bin-libreoffice-7.3.7.2.tar.xz 142495244 BLAKE2B a892855ec3540c282374eae90b7ed56692be90748d8bc225f4232df7c6687a9e3127303ce99d314a672c06327c7128b07958d4cfa4fb3ef1766186ec170ae79f SHA512 1607f598d325993f9baeaf97a01c806d2cb3ff66fc71585637c654a4d4a3ed276ce9d969bfbe5c70809e8fafea77fea9c2eb6c9b7701191459565591ae9314ee
|
||||
DIST amd64-bin-libreoffice-7.4.4.2.tar.xz 145626304 BLAKE2B 9e8ab7c1f96312af4472a5ca5b0bd721c94349f65e330ecce026d56491206b5efd0104479a16428d5dcaa1227c097e9568ea6d95a2e77f38fab3529c7216c75d SHA512 ec002b35daee07d46a3a2bbb114f974a8714b77e2c8c9c2b575610b7df542900e59d47d7b5bc6a8727aaabfc6715bc6ca26854ba32f83bcd6e4d23f80d5a58ea
|
||||
DIST amd64-bin-libreoffice-gnome-7.3.7.2.xd3 1498352 BLAKE2B 8354e0a403736995f52814f6df22c4b986c36d42e976dd880b4b577685b24eddd027069cf4b1bdafa4cfdfbdc80fa419539d8553642a573883840230815b1dca SHA512 2deac92459f60e09f16f51f2bbb03ffd3fb38d27cf9c726e29d18d76384740e70cc85eebc286407474cc8e730eb3fc321dc4377bd2cd46d1675cbe5395647f88
|
||||
DIST amd64-bin-libreoffice-gnome-7.4.4.2.xd3 1531953 BLAKE2B 06ba5a48f7eab8b8d7bd3d848e505a311a71cab257efd25cfaf1042bd35b2b5150a39e2d603a5fce73cdac5debf83e13275cf17e8f96a058f91d0ca4a4225c02 SHA512 850a512d0839cac291a1989e7873075683eece0048e17b54e6ff267127c3eb7b165cadd8aed2089772861951defa9eb01bb77a850a0841919e33ef01bad9ac34
|
||||
DIST amd64-bin-libreoffice-gnome-java-7.3.7.2.xd3 31373347 BLAKE2B 44e415eb35d8a20d429929b5d436f7eaf79eba72fabe3eab35b464797ef2024982ec0787dca8b764f77c52eb1a9c42c1a55bd15aca33d79d60cdf87a2aec739c SHA512 a23d0a61856e166dc982d25a9c839caefb86230bb1e539d16accfc777082180f0d9580c0d6c3615829d4ec8b3b5d1d144ea0f9896155b884ee13f47450aeab59
|
||||
DIST amd64-bin-libreoffice-gnome-java-7.4.4.2.xd3 30608088 BLAKE2B 4c89d3f6fa74e2bd8806f9942ac21d9cb9f0c666fcf9d62e7f942fe99a3121082cd178ef8bf3d76c818872796949a6404f6a15aeff9d2770cec695ac80e7680d SHA512 67cf20c38b1772e7e3b7b55c7c2d5a719e18f2f952c5f4d7e1ea39194fa3808639ccbf565286653fa5938a063d54d0fc58a0c9664a5f28ba6fac77995160624b
|
||||
DIST amd64-bin-libreoffice-java-7.3.7.2.xd3 31273687 BLAKE2B a7e3bb1142c2cc1b27d076df0485eed37c8e0ef19ae16d770bf7a0ae6a3d5a976042433f38febe316faf13b2ce71a749ec2edd068d118ac6c32ea0afd8e1e4ce SHA512 493516032f75e26434c6945cb333c3898a97dad0f09fb6b5074f5af6ebd499ad06ee7c2bd3d1843fdb0a06c4ce04115cad254f2d2f04f949c1cec7b5fce6c618
|
||||
DIST amd64-bin-libreoffice-java-7.4.4.2.xd3 30481203 BLAKE2B c5dba3b37dbb44bf917b83b1ed9720a6a70370206aa8a2e4635b358f9d77027e104c513407a9f4ecfd5c200be2ce3121a9070aa1e90d7614d8489b54e9cff2b1 SHA512 ab930d1c31083ca1bfa51a6b9cb588958a1c969ad148b094b5fb76eaa464bedecc3ec173c7362c780a861206b4ad2f8c2061d84a4183180c3a928f296cb57b51
|
||||
DIST amd64-bin-libreoffice-kde-7.3.7.2.xd3 20893232 BLAKE2B d3cade3e8b76ad9ea596621ac15474b29a89e31865e29fe4eccca436f0b15b68ac5a8e8ad03006f13cf322bf9f47a90e6daa05090785203346307d5fa153ceec SHA512 6c23729526897377e3a4df865163abf4539664a06dbe59d8ddd6951ea1c274ecfa3679ecb290af76e328a8d6537f3525ea25831a9777233e6471d74556509e52
|
||||
DIST amd64-bin-libreoffice-kde-7.4.4.2.xd3 20956522 BLAKE2B 9c23235a02bda752dde7fbca652d31ae5acdd7e1e54ab06a2c5d18ee292bde5666acc88ec6dbd026eca2ecc19a7bdcfa267569e59921f98c05b86343dfd7f08f SHA512 43e42f514b3fba0fcc198250ac9fa03d849a0888fdf9122d0d240a46c92e5b56044d9f72a222ccec881fca41c34f7e89182686d5d80d0822b04cc7c0b3843b91
|
||||
DIST amd64-bin-libreoffice-kde-java-7.3.7.2.xd3 31361419 BLAKE2B 77f2ca6932f6a22280998530209024d844b940085f2d528d514bba680500e52fd2fae7b2a94a2798091dbfcf38b498b152e6aa199847410f5581ef1e902fcad2 SHA512 f53e2ee610db310e30719d1b2b8736f35320beda89fd620f1e63eb60c371b9551e3dca8403faa5831df13d3392c4d0ae69f61576e294642148215160c4b60724
|
||||
DIST amd64-bin-libreoffice-kde-java-7.4.4.2.xd3 31384850 BLAKE2B d0f0afad427cbafbf0cf6f59095c036fc853fb26ef5a4ad99b951ae6b6a42b9d0a0f0741cb4562487ab9ad271b625d4195aaf7d59e6dbc9330f29f2a388438ad SHA512 5d493efca42d03e027a254f4919eac8d3c0799d3b1f49727b2963b0e309e334f1fb84c84ad0958c85fedf0b23c459f288ac07bfdb460222185f656e51617dd46
|
||||
DIST x86-bin-libreoffice-7.3.7.2.tar.xz 144274524 BLAKE2B f166805e3aa28a2894dc6715f08c5d23e6450aacd9b9231922ce128538b6bd38971c07d5cd8c20489c043f519ca7f084b7921eddb6ece5aedbd73cd07eff6005 SHA512 f2aabeab69bbf7187adc7b211aade726b0077a5667de9b2be237d16b14219129115b53bbb6668b876c5279ef0b29ad098d99a13e9a35f01f5fc5ae875101e75c
|
||||
DIST x86-bin-libreoffice-7.4.4.2.tar.xz 147409920 BLAKE2B 9e1f174c65b8a049f2ddeaa449a5de608a40d810b82d2571e0b47ca883c5f282bd7ea346f02c96e97c46277730f47ae21029bab7c176466e24fb860b9c197688 SHA512 0a7e54eadb1ddc25081e1d23343edcc44aaca7584665fedff9af156f3881c6e1ad89c7905ad8c3c1a7483095ce552b0a7dca930a749d3e6a075d7dc81ac76838
|
||||
DIST x86-bin-libreoffice-gnome-7.3.7.2.xd3 1452406 BLAKE2B d4f0ec6ed7f7d561ba86698ef9bd6e0d0f59074555d3d488ad292334f925ed0726d583d8fd1a71c9a5b4b324f0dcc63235b529fee5f143a8c7917e6278325d74 SHA512 1db9047559c93469e4622b4730cdd14f9bc93e80bbcf0c119d67b74df95741dd3e46b336109d55ace595ee0f802f48bd8b32299ebfc6c0889914f120aca70397
|
||||
DIST x86-bin-libreoffice-gnome-7.4.4.2.xd3 1527808 BLAKE2B 42d3de3a02e0f6381c314815cf57e3c567c01c0365345132ba1d560ba8e27598e0ca81c88c230bbbaa401f9d1cf3a1210d7a85605a2239b02a6c24b30eca506b SHA512 ff9daa79ade2f5ff9c1c1fbbf4b0c9c3356a6b6231511eabc48105490b7dbc5913e2c708ccb47d376eb452f45b87a0a9079130aa98d8271f94f3cf081c8e68cb
|
||||
DIST x86-bin-libreoffice-kde-7.3.7.2.xd3 19826615 BLAKE2B c40c3abd9f0eb7a3c67c66bc8f2591200f33e97a14bc0fad148f330b213fff851c40d356c066d0465dc734f2603d13cf9d8c8cb269c6be797d719b17bb1c84d9 SHA512 7c88bf70d6739f4553e68ab889b7dbd259f4bf47198797a0517f1ad0020ee8f71c745c915bd8b8870d03298f0bba6ec2bd4462800c2e4d11e6813a2a9ca478ac
|
||||
DIST x86-bin-libreoffice-kde-7.4.4.2.xd3 19001856 BLAKE2B 6d1ecb9a8341177764577205a786e4c685747743c4e0959abc7a1475ae486b32210ba5c049fd98564931a90b4cf42a5a02fc3af5cb24c1acca4cd97861ecd254 SHA512 617cf0019a106d044b850a9e5ba8a32123acb092b6e4eeeab3934893594fab33f15d39253a3ead35a0f0b52a77372775e485602a751829d06d25b5cee353af2e
|
||||
|
@ -0,0 +1,260 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
BASE_PACKAGENAME="bin"
|
||||
BASE_AMD64_URI="https://tamiko.43-1.org/distfiles/amd64-${BASE_PACKAGENAME}-"
|
||||
BASE_X86_URI="https://tamiko.43-1.org/distfiles/x86-${BASE_PACKAGENAME}-"
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit java-pkg-opt-2 python-single-r1 prefix toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A full office productivity suite. Binary package"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
${BASE_AMD64_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-kde-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-kde-java-${PVR}.xd3 )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}libreoffice-gnome-${PVR}.xd3 )
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-gnome-java-${PVR}.xd3 )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
java? ( ${BASE_AMD64_URI}libreoffice-java-${PVR}.xd3 )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
${BASE_X86_URI}libreoffice-${PVR}.tar.xz
|
||||
kde? (
|
||||
${BASE_X86_URI}libreoffice-kde-${PVR}.xd3
|
||||
)
|
||||
gnome? (
|
||||
${BASE_X86_URI}libreoffice-gnome-${PVR}.xd3
|
||||
)
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_URI_AMD64} )
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
|
||||
BIN_COMMON_DEPEND="
|
||||
app-text/hunspell:0/1.7
|
||||
=app-text/libexttextcat-3.4*
|
||||
=app-text/libmwaw-0.3*
|
||||
dev-cpp/abseil-cpp:0/20220623
|
||||
dev-libs/boost:0/1.81.0
|
||||
dev-libs/icu:0/72.1
|
||||
dev-libs/liborcus:0/0.17
|
||||
>=media-gfx/graphite2-1.3.10
|
||||
media-libs/harfbuzz:0/6.0.0[icu]
|
||||
media-libs/libjpeg-turbo:0/0.2
|
||||
media-libs/libpng:0/16
|
||||
media-libs/openjpeg:2/7
|
||||
media-libs/zxing-cpp:0/3
|
||||
>=sys-devel/gcc-11.3.0
|
||||
>=sys-libs/glibc-2.36
|
||||
"
|
||||
|
||||
# PLEASE place any restrictions that are specific to the binary builds
|
||||
# into the BIN_COMMON_DEPEND block above.
|
||||
# All dependencies below this point should remain identical to those in
|
||||
# the source ebuilds.
|
||||
|
||||
COMMON_DEPEND="
|
||||
${BIN_COMMON_DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
app-text/libepubgen
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.21
|
||||
>=app-text/libnumbertext-1.0.6
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libqxp
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
dev-cpp/abseil-cpp:=
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
>=dev-cpp/libcmis-0.5.2-r2
|
||||
dev-db/unixODBC
|
||||
>=games-engines/box2d-2.4.1:0
|
||||
dev-lang/perl
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
>=dev-libs/liborcus-0.17.2:0/0.17
|
||||
dev-libs/librevenge
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.28[nss]
|
||||
media-gfx/fontforge
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.11.0-r1:2
|
||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1[X]
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libwebp:=
|
||||
media-libs/libzmf
|
||||
media-libs/openjpeg:=
|
||||
media-libs/tiff:=
|
||||
media-libs/zxing-cpp:=
|
||||
>=net-libs/neon-0.31.1:=
|
||||
net-misc/curl
|
||||
sci-mathematics/lpsolve
|
||||
sys-libs/zlib
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
net-print/cups
|
||||
sys-apps/dbus[X]
|
||||
gnome? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
!kde? (
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
gnome-base/dconf
|
||||
media-libs/mesa[egl(+)]
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/pango
|
||||
)
|
||||
kde? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
kde-frameworks/kconfig:5
|
||||
kde-frameworks/kcoreaddons:5
|
||||
kde-frameworks/ki18n:5
|
||||
kde-frameworks/kio:5
|
||||
kde-frameworks/kwindowsystem:5
|
||||
)
|
||||
dev-db/mariadb-connector-c
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
acct-group/libreoffice
|
||||
acct-user/libreoffice
|
||||
!app-office/libreoffice
|
||||
!app-office/openoffice
|
||||
media-fonts/liberation-fonts
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( virtual/jre:11 )
|
||||
kde? ( kde-frameworks/breeze-icons:* )
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
=app-office/libreoffice-l10n-$(ver_cut 1-4)*
|
||||
"
|
||||
|
||||
DEPEND="dev-util/xdelta:3"
|
||||
|
||||
# only one flavor at a time
|
||||
REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
QA_PREBUILT="/usr/*"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
einfo "Uncompressing distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
|
||||
xz -cd "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" > "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
|
||||
use x86 && use java && die "There is no build for x86 with Java support."
|
||||
|
||||
local patchname
|
||||
use kde && patchname="-kde"
|
||||
use gnome && patchname="-gnome"
|
||||
use java && patchname="${patchname}-java"
|
||||
|
||||
if [[ -n "${patchname}" ]]; then
|
||||
einfo "Patching distfile ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using ${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
|
||||
xdelta3 -d -s "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" "${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3" "${WORKDIR}/tmpdist.tar" || die
|
||||
mv "${WORKDIR}/tmpdist.tar" "${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
|
||||
fi
|
||||
|
||||
einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/50-${PN} "${T}"
|
||||
eprefixify "${T}"/50-${PN}
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
||||
|
||||
# prevent revdep-rebuild from attempting to rebuild all the time
|
||||
insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
ewarn 'If you plan to use the Base application you should use a source build and enable java and firebird.'
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST flaggie-0.2.1.tar.bz2 16767 BLAKE2B fea0fbc505bfa97e7bee2c05f0cc19077b9b23a021b01aafa2c4b064466677f9dd4ae95c36f6de65b4ad07c5046d539ceb0cb667dcb791b60410d7a5e688813f SHA512 3f273ebeceaaedce7a3807126fb3f450e420338a883440066d06a4d6a95b63bd538bb5da882fea23e0d390b28a83f50375dbda2624f656327775b2b700f2b2e4
|
||||
DIST flaggie-0.99.0.gh.tar.gz 15210 BLAKE2B 59d8d877ed98580b8631f72be531c21cb8ba9bf482ed3c4ceca6bb8f10fb9873124258eb3aad51b56f2e4f3d8c54fc192c9909bf5f48cbf6127aa74a9f23b377 SHA512 41fcac02b1eb0588802d364da468c5fd9d223e9d21dcbb17a1802953ca74704bfe9d2b764e7be8a8748a8dfcc5172d8395f801c4f36ab836c5b75a08886e1971
|
||||
DIST flaggie-0.99.1.gh.tar.gz 16703 BLAKE2B f0f5cfef0a05ab30cdf2f6822c1d447b3977b7230881b96b01d8c6692d89b49bd6f30272d42c9546db0b164957cb76ba2b89d63c8c4a944d54d5d89bd075131c SHA512 757f3528a4c90ab90fbc61b33eeaff15631ee196e3933d11b181b00d4abcde9fa6d84a349286b05b270a68ebd64c618932c140fe0263d509ad90b9246db20dfd
|
||||
DIST flaggie-0.99.2.gh.tar.gz 17279 BLAKE2B c9015647f5a67e0a5d87e3f9af95784ca2e1eee67c4740d292594a9fc8b259c6485066d3111393b4774d24436b4779f2759b5cefdbc03b02d28e433dce121dfc SHA512 3fc705935f9b14d8f87152516a23a0fb7825ee57063d2916d5336fa9522cf830e2c2adf00d5eb4a906845ef6c3b955ce46592ced09607ebe7c7de591496df876
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue