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