parent
2166d32304
commit
aede2371b2
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29778 BLAKE2B 82c6e04a4db2c314206eaa792028ee36d8fe6d903cb49623cff2f9d80f2cc43066f5557e35ee05295b987a8972cc272f6c3e2e6dd73a743b06312e8c7ffa0f7b SHA512 6b7b3bdee3eecf2a638f9d11f22c5937baed726746467ef414e98c8bfd8aa84f0d9af4827ad0124464f039dfc2035531d122fee4ecbf6b91da6b43ee41d79dbe
|
||||
TIMESTAMP 2024-03-12T11:10:04Z
|
||||
MANIFEST Manifest.files.gz 29771 BLAKE2B dd1d41fbab6e254496c013380ba4db45050b4591d57c93f792b8c2d86702f6b970ae72707e5cfe235670cf616db083a818cc1f07af4ebfb423460d11ef73ee27 SHA512 39ad08a1383e7040928ff47c19f2c5cb56859f3d68afee9fab4968070a902d7ad08cfde0f0e162ae00ddae6a0dc4b8af45ce19a2228534df2dd7fe1cab3e5d2c
|
||||
TIMESTAMP 2024-03-14T17:40:18Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmXwOAxfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmXzNoJfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klA4Iw/8DI7TbuhJaPyb49ZCM9fqi+CQEYm+a/5lnQpFmSsvsUMIX/xmRGgZjB6G
|
||||
tzBShIfuFNRm1ziwGbPk+fLW6vr8RIrNqbzTN9SAKh2Im7n6LsXMEAk1hl5u3x1A
|
||||
IN1TZq8nUD0K17gkcSCX9/VOfphG5mPXDwFzd4VgRLwKqs9MeSxuw+bwmRPJDxiO
|
||||
tS/r9+vMHzfYwjxnSQ1v7VoRW3BWs7JUXSmO0T6O+ZF6vblY8GG+7XFIUO8XztXd
|
||||
F8Ai15ZDcDXbsIUKiW8ledwGZc8AjnFHYnNbA60btG6MS8SBA6l/UkGw0AgKXYRf
|
||||
mODMpqTvG6vvbdQxqYdM6AcZ13/0JkVLjcdg/N6shen/b5vrL7lO7wWARRlqGFlO
|
||||
8JcepXl+lKhinn27Fadsp6G/8ULDKVVwdP085POL35yNbglSq5qTFDDNdbGBGoeS
|
||||
N5xk6fK9yR7WSCBjQWf7b5KeY9A1VlSBNlnMVy3q9vu4kdYCyzOikK9B/KNCZAhz
|
||||
vvvMq1L0tgGp/nzJmkBzxUgdSPW/IaHi4jaPbmYJhQJ1tcRPoF4ET6A/YV6jqoym
|
||||
DGkAm8a9aisfUjft1fA1mA23cwx2kF1K4ZC9iXPG2DRmEe3rHZNfwTkEvyikNeJY
|
||||
tk0FY5fwEuqJBneQuM8CiUN5AUgY8TYOWRZqPe7ak3HjHepkCoc=
|
||||
=nNIT
|
||||
klAZARAAqrhwZyQ+th59SQCuiLb45MWgZQzc/DzxpkrUN/b1DW8cR89GNAt7Xx1g
|
||||
0NZHgQ4NweZhn6BQ8Li+08bLFMeVqwygdVHF86/HttV5QExgwPZlSsOTKNyvMcoT
|
||||
RsnR7tF7He4A8pvIiRXIrkpdsx1TvetP45WzfIh4nk61Ujt5wsB7RDrtfkAysuPf
|
||||
mtTlQUweBN3MbNU6ySLDb6H7WHMzYpg6GMnA7tEL6HkZiaVkRmBWLcnLkJ/41vHT
|
||||
8tlYw2RF+jc0pBUbsISuTykrPnf4T4Bif5SKxuosoJGoZvmFpoCDBAKEogic/y6H
|
||||
jXRepwRv6G8ZRVxX3vsX2e2qJm5r4H5aALwGJscJnZacKYR1X6Gl6H/1Rwnk+3d0
|
||||
xG3NiD51vpki1jZjyZQMPRxLyb6dpZ5hlSXTC/IeTYRXFKyNaOyHOKuEmbDtTcG+
|
||||
SC9PvcSYUpcq1sKNccoPUdbBqiUHYDUSVskk+xlvmzxwMdUmjqTxtI+4BQozCBtq
|
||||
VjLeEdmHYQMQFpLZwA+1dfukoUN5faXBLNITxMPUILgAEOHgh3PY3sopRMwMMLZY
|
||||
8syvAqQmDwp1bezkThXpEFd431MWMZb2g1iOYlU0TlAbJk67aul2QXw+vh51YxAY
|
||||
HuLHR9b5whgfRYQx963NbnNJswc2c/w811Ho3W1xebl/kXvmWcs=
|
||||
=3BLh
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST fifo-cronolog-1.1.1.tar.bz2 3124 BLAKE2B 6e9cb35e0ed1b54c3baed4451742840dc1144294fc675822c1260d4d7d885a52f8835e60dcbed57c714e40e94e6d51b3ba78af9b9892883f5f520a7c57d30df8 SHA512 3ac809d5cfc951764aaf31d50ee394b0dde9ced16f53daa91c81bdb218af2bab410ff945ebfdeb8307a55bda3292c0a55eb500c3cb73595e17228ef739455d90
|
||||
EBUILD fifo-cronolog-1.1.1-r2.ebuild 795 BLAKE2B 7c1137f5d42e6b331d1452de028958f193b7973870bb94e86cb81ba11e672605efeb60ceb75ab8f8dc2595d0c6fbea7c8b1f3debcae4be3a592c32bfe43c18b8 SHA512 0075cbb50a9513ff4540a979b8eecd37d0d2570fb75a5f878011101f9bfb7a453a307745510efdef8847c580f60eb506a668ef8faf4ef82f8b83590735cb735a
|
||||
DIST fifo-cronolog-1.2.3.tar.gz 4518 BLAKE2B c227304d98b2467a1ed7352399b1e53aba4dc005fa30a1be73b8cc96d61ee49d5f6a3703ccddd1ffef652c4090e9b5dfed9cce3f1254b959a1ccc07aac78b3f6 SHA512 557be1a663c5754a293092078b8a3710474bb1939c1ee65e4c560056238ca646e941e4ad82c0a90c02834fc90ddb2aae9047a4e73d42cf8c2c013f2a5d2c839c
|
||||
EBUILD fifo-cronolog-1.1.1-r2.ebuild 820 BLAKE2B b5b92b6b2e49d854d20114d592d0d3336bcee3d6b57666e0899bbe57f4c9f794194ad3adcba79f2cb52156ce35392506702e235a7130e17043d01181ddc101f2 SHA512 61d21251eaf1936d7210ebefb0ce10213b1b932e7f141d549cbcece291efa7bcf68651ec93c4614f05ccbadad3d00a136dca650d2bc3a61427ce0b4679ce1e2a
|
||||
EBUILD fifo-cronolog-1.2.3.ebuild 1020 BLAKE2B 8ac2f6058cb4102aeb3b5051cc2784fa82a7c68cc0d2c10b6ce4a517aba70a3b096acec95e18f4e51ba465d9d0197c076923a6f21824f2806fa31d2360bed560 SHA512 7bcdf3157a1b8758de161a4fddb985850a2b4a4c379230ffdd6130e640ceee4fbe6efd9bb9471bf857db54b50eee7d4b00c5a9d86fb77a81f8c10cb94d56c397
|
||||
MISC metadata.xml 498 BLAKE2B 57ae35e61276c4e4b3fe5c05fbd8bb3bb1c7107b34d1575e49862cb1dea43857c3a34e216c90d77b5ee56f80699757924af1e4d5f36b1d5de41bbe6d58147e2c SHA512 c5dd305bfcdaec5407f1a2d611988701310b232630da863dd062ec32c9a82f733959424a95697d04acbacf8faf147d4d6904b7bff9b3dce4a48356e7a296eb9e
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="cronolog wrapper for use with dumb daemons like squid, varnish and so on"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/fifo-cronolog.git"
|
||||
SRC_URI="http://dev.gentoo.org/~robbat2/distfiles/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-admin/cronolog"
|
||||
|
||||
src_compile() {
|
||||
emake all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin fifo-cronolog
|
||||
dosym fifo-cronolog /usr/sbin/squid-cronolog
|
||||
dosbin fifo-cronolog-setup
|
||||
|
||||
newinitd openrc/fifo-cronolog.initd fifo-cronolog
|
||||
newconfd openrc/fifo-cronolog.confd fifo-cronolog
|
||||
|
||||
systemd_douserunit systemd/fifo-cronolog@.service
|
||||
dodoc README.md systemd/fifo-cronolog@example.service.env
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Warning: app-admin/squid-cronolog has been renamed to app-admin/fifo-cronolog."
|
||||
elog "This also applies to the binary 'squid-cronolog' but there is a symlink for now"
|
||||
elog "Please fix your scripts/configs."
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="The open source infrastructure as code tool"
|
||||
HOMEPAGE="https://www.opentofu.org/"
|
||||
SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="dev-go/gox"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( {README,CHANGELOG}.md )
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED=0
|
||||
gox \
|
||||
-os=$(go env GOOS) \
|
||||
-arch=$(go env GOARCH) \
|
||||
-output bin/tofu \
|
||||
-verbose \
|
||||
./cmd/tofu || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like to install shell completions please run:"
|
||||
elog " tofu -install-autocomplete"
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST restart-services-0.17.0.tgz 25643 BLAKE2B 5999e12e38207d00266928504da05c00482c8297b7fee634f302f09cfa09e206bcf9d5a558d2a91e5de1d97318025fa995fbc3a61f0d0e74b8dfb1af3db8670b SHA512 c11ca431fbbc6899ab268e8979049144448479d953ed7373cc7483cca2c03cd4041a1ca1e47c0e810f91a18a43aa32cc305a4ea791e8b992246f972e0fbb19ab
|
||||
DIST restart-services-1.0.tgz 25872 BLAKE2B 912c3e2c3cd49732369a5a4452be1f171c33cd3364cf3224b4443f6f21ef0fccd4c533edd79214cc2dae00cea558409eacbcef4b1566bef402f1850537432c63 SHA512 9c4e269ac6db8bf13c512cc3556a9356b4b44960dd562cf633df6e03db57677c05738edc46010b01976a6b0ee2152ac1e8d410a6c9d98142295ff0cbd3f93df2
|
||||
DIST restart-services-1.1.tgz 26227 BLAKE2B 7893aa01c965fca24b42312f6b01cac46b0bbd3d8304865539adb00cc6f7cdcf8cff1a912cce98534eb4f3bd0af0e01df3387dab87b8e53193152b3966ff3c9b SHA512 165e4b07fa9a15a749f8e50064da83e9e1749f465248259de5b0dc97c2ef249131e1e993d8e34975628ed69b35e194b3d75a578f6279188f76236d02a970ac4b
|
||||
EBUILD restart-services-0.17.0-r1.ebuild 1913 BLAKE2B 4fec8b61fff3ce3661404933ec9e5b7a07e175509967d5b88c2c174027452cbd503429d4b1c6e10922001993f12c6626b614f3d167ca241efdc46e66e3a913fe SHA512 7aba7904058a5cc54d03908276e5d1dd816d7827705bc74435d69c2670e3e1855a140930573f588252b4da3a56185da95c540b25121e67f39daea45fc9a43591
|
||||
EBUILD restart-services-1.0.ebuild 1038 BLAKE2B 54da245a86dc480fdfd5590e7288613a3626166f12af5248332c62abf32b5c3172461cb687385a9549614b5f5252c73e1f78ced071be683c646124153dc930a6 SHA512 c1b999a234fdcbfe08af6819a602bfa9c8a4961630e3471d8a5458e8722564d36c4fecd48adcfa9af08d596a2690e6298641c9cf16c950775a96a5b9d2bc7b0e
|
||||
EBUILD restart-services-1.1.ebuild 1038 BLAKE2B 3c61d53e443370167d8f2a289159225fb531c644ed232c44f456e6eae9879519ee917b328aded6f975fc09aaeeea1690bfe83b182901c6f0e3505aa3680e7cec SHA512 ace076bdd68e3e9301d69966a16ec00446d952ccef180cfd2537371d8613acffb7e08ffe4fed71168b4b74ab600ee912218042981bfcfd56a3e1b7a8a496fa07
|
||||
MISC metadata.xml 251 BLAKE2B c4b2c58fbe476fa27226d01a46b74c9506d938c1e14fe68ccbee1383f683d357ff87a3c1aacee177b7f3908333cd58540e446bc73ed8258359481c4b507c155e SHA512 f113d652bc4a2cded17c6fc788d425f8a5d1fac17709b4f0583c7d530cbba5093c4309d2539d169f733d8e8bff3c0e71e24ffe4ba6a81ebd5bab23191c0e4278
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Tool to manage OpenRC and systemd services that need to be restarted"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mschiff/restart-services/"
|
||||
SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/lib_users
|
||||
app-portage/portage-utils
|
||||
|| ( sys-apps/openrc sys-apps/systemd )
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dosbin restart-services
|
||||
doman restart-services.1
|
||||
keepdir /etc/restart-services.d
|
||||
insinto /etc
|
||||
doins restart-services.conf
|
||||
dodoc README CHANGES
|
||||
|
||||
sed -i -e 's/^#include/include/' "${ED}"/etc/restart-services.conf || die
|
||||
cat > "${ED}"/etc/restart-services.d/00-local.conf <<- EOF || die
|
||||
# You may put your local changes here or in any other *.conf file
|
||||
# in this directory so you can leave /etc/restart-services.conf as is.
|
||||
# Example:
|
||||
# *extend* SV_ALWAYS to match 'myservice'
|
||||
# SV_ALWAYS+=( myservice )
|
||||
EOF
|
||||
}
|
@ -0,0 +1,611 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_1{0..2} )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||
https://github.com/saltstack"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||
mongodb neutron nova portage profile redis selinux test raet
|
||||
+zeromq vim-syntax
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pciutils
|
||||
dev-libs/openssl:0=[-bindist(-)]
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
>=dev-python/cherrypy-18.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-42.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.5[${PYTHON_USEDEP}]
|
||||
dev-python/importlib-metadata[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.1.3[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
dev-python/looseversion[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.19.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-24.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
|
||||
dev-python/python-gnupg[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
dev-python/tornado[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? (
|
||||
>=dev-python/aiohttp-3.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/aiosignal[${PYTHON_USEDEP}]
|
||||
>=dev-python/apache-libcloud-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
dev-python/libvirt-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
cheetah? ( >=dev-python/cheetah3-3.2.2[${PYTHON_USEDEP}] )
|
||||
genshi? ( dev-python/genshi[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]' python3.1{0..1})
|
||||
)
|
||||
neutron? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]' python3.1{0..1})
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-19.0.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-apps/findutils
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
app-arch/zip
|
||||
dev-python/apache-libcloud[${PYTHON_USEDEP}]
|
||||
dev-python/boto3[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2023.07.22[${PYTHON_USEDEP}]
|
||||
dev-python/cherrypy[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-2.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/moto-5[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/pygit2[${PYTHON_USEDEP}]
|
||||
dev-python/pyinotify[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-7.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-salt-factories-1.0.0_rc29[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-shell-utilities[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-system-statistics[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-custom-exit-code[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
net-dns/bind-tools
|
||||
>=dev-python/virtualenv-20.3.0[${PYTHON_USEDEP}]
|
||||
dev-util/yamllint[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.21.46[${PYTHON_USEDEP}] )
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst AUTHORS )
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( raet zeromq )
|
||||
test? ( cheetah genshi )
|
||||
nova? ( || ( python_targets_python3_10 python_targets_python3_11 ) )
|
||||
neutron? ( || ( python_targets_python3_10 python_targets_python3_11 ) )
|
||||
"
|
||||
RESTRICT="
|
||||
!test? ( test )
|
||||
x86? ( test )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/salt-3003-gentoolkit-revdep.patch"
|
||||
"${FILESDIR}/salt-3005.1-no-entry-points.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
local -a remove_test_files=(
|
||||
# remove tests with external dependencies that may not be available, and
|
||||
# tests that don't work in sandbox
|
||||
tests/integration/externalapi/test_venafiapi.py
|
||||
tests/integration/modules/test_rabbitmq.py
|
||||
tests/integration/modules/test_supervisord.py
|
||||
tests/integration/states/test_match.py
|
||||
tests/pytests/functional/fileserver/hgfs/test_hgfs.py
|
||||
tests/pytests/functional/loader/test_loader.py
|
||||
tests/pytests/functional/modules/file/test_readlink.py
|
||||
tests/pytests/functional/modules/file/test_symlink.py
|
||||
tests/pytests/functional/modules/state/test_jinja_filters.py
|
||||
tests/pytests/functional/modules/state/test_jinja_renderer.py
|
||||
tests/pytests/functional/modules/state/test_mako_renderer.py
|
||||
tests/pytests/functional/modules/state/test_pyobjects_renderer.py
|
||||
tests/pytests/functional/modules/test_aptpkg.py
|
||||
tests/pytests/functional/modules/test_dockermod.py
|
||||
tests/pytests/functional/modules/test_etcd_mod.py
|
||||
tests/pytests/functional/modules/test_grains.py
|
||||
tests/pytests/functional/modules/test_mac_service.py
|
||||
tests/pytests/functional/modules/test_saltcheck.py
|
||||
tests/pytests/functional/modules/test_saltutil.py
|
||||
tests/pytests/functional/modules/test_test.py
|
||||
tests/pytests/functional/pillar/hg_pillar/test_hg_pillar.py
|
||||
tests/pytests/functional/pillar/test_git_pillar.py
|
||||
tests/pytests/functional/pillar/test_gpg.py
|
||||
tests/pytests/functional/returners/test_etcd_return.py
|
||||
tests/pytests/functional/runners/test_winrepo.py
|
||||
tests/pytests/functional/sdb/test_etcd_db.py
|
||||
tests/pytests/functional/state/test_masterless_tops.py
|
||||
tests/pytests/functional/states/file/test_keyvalue.py
|
||||
tests/pytests/functional/states/file/test_patch.py
|
||||
tests/pytests/functional/states/file/test_rename.py
|
||||
tests/pytests/functional/states/rabbitmq
|
||||
tests/pytests/functional/states/test_docker_container.py
|
||||
tests/pytests/functional/states/test_docker_network.py
|
||||
tests/pytests/functional/states/test_etcd_mod.py
|
||||
tests/pytests/functional/states/test_module.py
|
||||
tests/pytests/functional/states/test_mysql.py
|
||||
tests/pytests/functional/states/test_svn.py
|
||||
tests/pytests/functional/states/test_virtualenv_mod.py
|
||||
tests/pytests/functional/test_version.py
|
||||
tests/pytests/functional/utils/test_vault.py
|
||||
tests/pytests/integration/cli/test_syndic_eauth.py
|
||||
tests/pytests/integration/daemons/test_memory_leak.py
|
||||
tests/pytests/integration/grains/test_grains.py
|
||||
tests/pytests/integration/master/test_clear_funcs.py
|
||||
tests/pytests/integration/minion/test_reauth.py
|
||||
tests/pytests/integration/modules/grains/test_append.py
|
||||
tests/pytests/integration/modules/grains/test_module.py
|
||||
tests/pytests/integration/modules/saltutil/test_grains.py
|
||||
tests/pytests/integration/modules/saltutil/test_modules.py
|
||||
tests/pytests/integration/modules/saltutil/test_wheel.py
|
||||
tests/pytests/integration/modules/state/test_state_pillar_errors.py
|
||||
tests/pytests/integration/modules/state/test_state_test.py
|
||||
tests/pytests/integration/modules/test_cmdmod.py
|
||||
tests/pytests/integration/modules/test_event.py
|
||||
tests/pytests/integration/modules/test_file.py
|
||||
tests/pytests/integration/modules/test_jinja.py
|
||||
tests/pytests/integration/modules/test_pillar.py
|
||||
tests/pytests/integration/modules/test_pip.py
|
||||
tests/pytests/integration/modules/test_vault.py
|
||||
tests/pytests/integration/modules/test_virt.py
|
||||
tests/pytests/integration/modules/test_x509_v2.py
|
||||
tests/pytests/integration/proxy/test_deltaproxy.py
|
||||
tests/pytests/integration/proxy/test_shell.py
|
||||
tests/pytests/integration/reactor/test_reactor.py
|
||||
tests/pytests/integration/returners/test_noop_return.py
|
||||
tests/pytests/integration/runners/state/orchestrate/test_orchestrate.py
|
||||
tests/pytests/integration/runners/test_cache.py
|
||||
tests/pytests/integration/runners/test_jobs.py
|
||||
tests/pytests/integration/runners/test_manage.py
|
||||
tests/pytests/integration/runners/test_saltutil.py
|
||||
tests/pytests/integration/runners/test_vault.py
|
||||
tests/pytests/integration/sdb/test_vault.py
|
||||
tests/pytests/integration/ssh/state/test_pillar_override.py
|
||||
tests/pytests/integration/ssh/state/test_retcode_highstate_verification_requisite_fail.py
|
||||
tests/pytests/integration/ssh/state/test_retcode_pillar_render_exception.py
|
||||
tests/pytests/integration/ssh/state/test_retcode_render_exception.py
|
||||
tests/pytests/integration/ssh/state/test_retcode_render_module_exception.py
|
||||
tests/pytests/integration/ssh/state/test_retcode_run_fail.py
|
||||
tests/pytests/integration/ssh/state/test_retcode_state_run_remote_exception.py
|
||||
tests/pytests/integration/ssh/state/test_state.py
|
||||
tests/pytests/integration/ssh/state/test_with_import_dir.py
|
||||
tests/pytests/integration/ssh/test_cmdmod.py
|
||||
tests/pytests/integration/ssh/test_config.py
|
||||
tests/pytests/integration/ssh/test_cp.py
|
||||
tests/pytests/integration/ssh/test_deploy.py
|
||||
tests/pytests/integration/ssh/test_grains.py
|
||||
tests/pytests/integration/ssh/test_jinja_mods.py
|
||||
tests/pytests/integration/ssh/test_master.py
|
||||
tests/pytests/integration/ssh/test_mine.py
|
||||
tests/pytests/integration/ssh/test_pillar.py
|
||||
tests/pytests/integration/ssh/test_pillar_compilation.py
|
||||
tests/pytests/integration/ssh/test_pre_flight.py
|
||||
tests/pytests/integration/ssh/test_publish.py
|
||||
tests/pytests/integration/ssh/test_py_versions.py
|
||||
tests/pytests/integration/ssh/test_raw.py
|
||||
tests/pytests/integration/ssh/test_saltcheck.py
|
||||
tests/pytests/integration/ssh/test_slsutil.py
|
||||
tests/pytests/integration/states/test_beacon.py
|
||||
tests/pytests/integration/states/test_file.py
|
||||
tests/pytests/integration/states/test_include.py
|
||||
tests/pytests/integration/states/test_ini_manage.py
|
||||
tests/pytests/integration/states/test_state_test.py
|
||||
tests/pytests/integration/states/test_x509_v2.py
|
||||
tests/pytests/integration/utils/test_templates.py
|
||||
tests/pytests/integration/wheel/test_key.py
|
||||
tests/pytests/pkg/integration/test_check_imports.py
|
||||
tests/pytests/pkg/integration/test_clean_zmq_teardown.py
|
||||
tests/pytests/pkg/integration/test_enabled_disabled.py
|
||||
tests/pytests/pkg/integration/test_help.py
|
||||
tests/pytests/pkg/integration/test_logrotate_config.py
|
||||
tests/pytests/pkg/integration/test_pkg.py
|
||||
tests/pytests/pkg/integration/test_python.py
|
||||
tests/pytests/scenarios/compat/test_with_versions.py
|
||||
tests/pytests/unit/loader/test_lazy.py
|
||||
tests/pytests/unit/modules/test_mongodb.py
|
||||
tests/pytests/unit/modules/test_mysql.py
|
||||
tests/pytests/unit/modules/test_schedule.py
|
||||
tests/pytests/unit/pillar/test_consul_pillar.py
|
||||
tests/pytests/unit/pillar/test_mysql.py
|
||||
tests/pytests/unit/renderers/test_yamlex.py
|
||||
tests/pytests/unit/roster/test_ansible.py
|
||||
tests/pytests/unit/roster/test_dir.py
|
||||
tests/pytests/unit/runners/test_reactor.py
|
||||
tests/pytests/unit/states/file/test_keyvalue.py
|
||||
tests/pytests/unit/utils/jinja/test_get_template.py
|
||||
tests/pytests/unit/utils/jinja/test_salt_cache_loader.py
|
||||
tests/pytests/unit/utils/test_cache.py
|
||||
tests/pytests/unit/utils/test_etcd_util.py
|
||||
tests/pytests/unit/utils/test_package.py
|
||||
tests/pytests/unit/utils/test_versions.py
|
||||
tests/unit/ext/test_ipaddress.py
|
||||
tests/unit/modules/test_boto_elb.py
|
||||
tests/unit/modules/test_boto_secgroup.py
|
||||
tests/unit/modules/test_boto_vpc.py
|
||||
tests/unit/modules/test_elasticsearch.py
|
||||
tests/unit/modules/test_k8s.py
|
||||
tests/unit/modules/test_kubernetesmod.py
|
||||
tests/unit/modules/test_vsphere.py
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py
|
||||
tests/unit/states/test_boto_vpc.py
|
||||
tests/unit/states/test_module.py
|
||||
tests/unit/test_module_names.py
|
||||
tests/unit/test_zypp_plugins.py
|
||||
tests/unit/utils/test_extend.py
|
||||
tests/unit/utils/test_pbm.py
|
||||
tests/unit/utils/test_schema.py
|
||||
tests/unit/utils/test_vmware.py
|
||||
tests/unit/utils/test_vsan.py
|
||||
|
||||
# tests that require network access
|
||||
tests/integration/cloud
|
||||
tests/integration/netapi
|
||||
tests/kitchen/test_kitchen.py
|
||||
tests/kitchen/tests/wordpress/tests
|
||||
tests/pytests/functional/cli/test_salt_cloud.py
|
||||
tests/pytests/functional/cli/test_salt_run_.py
|
||||
tests/pytests/functional/modules/test_ansiblegate.py
|
||||
tests/pytests/functional/modules/test_http.py
|
||||
tests/pytests/functional/modules/test_pip.py
|
||||
tests/pytests/functional/netapi
|
||||
tests/pytests/functional/utils/test_etcd_util.py
|
||||
tests/pytests/functional/utils/test_http.py
|
||||
tests/pytests/integration/cli/test_salt_proxy.py
|
||||
tests/pytests/integration/daemons/test_masterapi.py
|
||||
tests/pytests/integration/modules/state/test_state.py
|
||||
tests/pytests/integration/modules/state/test_state_state_events.py
|
||||
tests/pytests/integration/netapi
|
||||
tests/pytests/integration/pillar/cache/test_pillar_cache.py
|
||||
tests/pytests/integration/pillar/test_fileclient.py
|
||||
tests/pytests/integration/pillar/test_pillar_include.py
|
||||
tests/pytests/integration/proxy/test_simple.py
|
||||
tests/pytests/integration/runners/state/orchestrate/test_events.py
|
||||
tests/pytests/integration/wheel/test_pillar_roots.py
|
||||
tests/pytests/pkg/downgrade/test_salt_downgrade.py
|
||||
tests/pytests/pkg/integration/test_pip.py
|
||||
tests/pytests/pkg/integration/test_pip_upgrade.py
|
||||
tests/pytests/pkg/integration/test_salt_api.py
|
||||
tests/pytests/pkg/integration/test_salt_call.py
|
||||
tests/pytests/pkg/integration/test_salt_exec.py
|
||||
tests/pytests/pkg/integration/test_salt_grains.py
|
||||
tests/pytests/pkg/integration/test_salt_key.py
|
||||
tests/pytests/pkg/integration/test_salt_minion.py
|
||||
tests/pytests/pkg/integration/test_salt_output.py
|
||||
tests/pytests/pkg/integration/test_salt_pillar.py
|
||||
tests/pytests/pkg/integration/test_salt_state_file.py
|
||||
tests/pytests/pkg/integration/test_salt_ufw.py
|
||||
tests/pytests/pkg/integration/test_salt_user.py
|
||||
tests/pytests/pkg/integration/test_systemd_config.py
|
||||
tests/pytests/pkg/integration/test_version.py
|
||||
tests/pytests/pkg/upgrade/test_salt_upgrade.py
|
||||
tests/pytests/scenarios/cluster/test_cluster.py
|
||||
tests/pytests/unit/client/ssh/test_ssh.py
|
||||
tests/pytests/unit/cloud/clouds/vmware
|
||||
tests/pytests/unit/loader/test_loading_modules.py
|
||||
tests/pytests/unit/runners/test_net.py
|
||||
tests/pytests/unit/states/file/test_mod_beacon.py
|
||||
tests/pytests/unit/test_client.py
|
||||
tests/pytests/unit/utils/test_aws.py
|
||||
tests/pytests/unit/utils/test_http.py
|
||||
tests/unit/modules/test_boto3_elasticsearch.py
|
||||
tests/unit/modules/test_boto3_route53.py
|
||||
tests/unit/modules/test_network.py
|
||||
tests/unit/modules/test_zcbuildout.py
|
||||
tests/unit/states/test_zcbuildout.py
|
||||
|
||||
# tests require root access
|
||||
tests/integration/pillar/test_git_pillar.py
|
||||
tests/integration/states/test_lxd_container.py
|
||||
tests/integration/states/test_lxd_image.py
|
||||
tests/integration/states/test_lxd_profile.py
|
||||
tests/integration/states/test_supervisord.py
|
||||
tests/pytests/functional/cache/test_mysql.py
|
||||
tests/pytests/functional/cli/test_salt.py
|
||||
tests/pytests/functional/modules/test_mysql.py
|
||||
tests/pytests/functional/modules/test_vault.py
|
||||
tests/pytests/functional/states/file/test_accumulated.py
|
||||
tests/pytests/functional/utils/test_gitfs.py
|
||||
tests/pytests/functional/utils/test_pillar.py
|
||||
tests/pytests/scenarios/performance/test_performance.py
|
||||
tests/pytests/unit/cloud/test_map.py
|
||||
tests/pytests/unit/engines/test_slack_bolt_engine.py
|
||||
tests/pytests/unit/modules/state/test_state.py
|
||||
tests/pytests/unit/modules/state/test_top_file_merge.py
|
||||
tests/pytests/unit/proxy/test_netmiko_px.py
|
||||
tests/pytests/unit/proxy/test_ssh_sample.py
|
||||
tests/pytests/unit/roster/test_sshknownhosts.py
|
||||
|
||||
# tests that require boto
|
||||
tests/pytests/unit/engines/test_sqs_events.py
|
||||
|
||||
# first test always fails
|
||||
tests/pytests/unit/utils/parsers/test_log_parsers.py
|
||||
)
|
||||
|
||||
rm -r "${remove_test_files[@]}" || die
|
||||
|
||||
# axe the boto dep (bug #888235)
|
||||
find "${S}/tests" -name 'test_boto_*.py' -delete || die
|
||||
|
||||
# removes contextvars, see bug: https://bugs.gentoo.org/799431
|
||||
sed -i '/^contextvars/d' requirements/base.txt || die
|
||||
|
||||
# called_once should be assert_called_once_with
|
||||
find "${S}/tests" -name '*.py' -print0 \
|
||||
| xargs -0 -- sed -i -e 's:[.]called_once:.assert_called_once:g' -- || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local -x USE_SETUPTOOLS=1
|
||||
distutils-r1_python_install_all
|
||||
|
||||
local svc
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-5 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -a EPYTEST_DESELECT=(
|
||||
# doesn't like the distutils warning
|
||||
tests/pytests/integration/cli/test_batch.py::test_batch_retcode
|
||||
tests/pytests/integration/cli/test_batch.py::test_multiple_modules_in_batch
|
||||
|
||||
# hangs indefinitely
|
||||
tests/pytests/unit/test_minion.py::test_master_type_disable
|
||||
|
||||
# needs root
|
||||
tests/pytests/unit/modules/test_cmdmod.py::test_runas_env_sudo_group
|
||||
tests/pytests/unit/modules/test_portage_config.py::test_enforce_nice_config
|
||||
tests/unit/modules/test_saltcheck.py::SaltcheckTestCase::test_run_test_muliassert
|
||||
tests/unit/modules/test_saltcheck.py::SaltcheckTestCase::test_run_test_muliassert_failure
|
||||
|
||||
# don't like sandbox
|
||||
tests/integration/modules/test_cp.py::CPModuleTest::test_get_file_str_https
|
||||
tests/integration/modules/test_cp.py::CPModuleTest::test_get_url_ftp
|
||||
tests/integration/modules/test_cp.py::CPModuleTest::test_get_url_https
|
||||
tests/integration/modules/test_cp.py::CPModuleTest::test_get_url_https_dest_empty
|
||||
tests/integration/modules/test_cp.py::CPModuleTest::test_get_url_https_no_dest
|
||||
tests/integration/states/test_git.py::LocalRepoGitTest::test_latest_force_reset_true_fast_forward
|
||||
tests/pytests/functional/fileserver/test_roots.py::test_symlink_list
|
||||
tests/pytests/functional/modules/file/test_replace.py::test_append_if_not_found_content
|
||||
tests/pytests/functional/modules/file/test_replace.py::test_append_if_not_found_empty_file
|
||||
tests/pytests/functional/modules/file/test_replace.py::test_append_if_not_found_no_append_on_match
|
||||
tests/pytests/functional/modules/file/test_replace.py::test_append_if_not_found_no_match_newline
|
||||
tests/pytests/functional/modules/file/test_replace.py::test_append_if_not_found_no_match_no_newline
|
||||
tests/pytests/functional/modules/test_defaults.py::test_defaults_get
|
||||
tests/pytests/functional/modules/test_system.py::test_get_system_date_time
|
||||
tests/pytests/functional/modules/test_system.py::test_get_system_date_time_utc
|
||||
tests/pytests/functional/pillar/test_top.py::test_pillar_top_compound_match
|
||||
tests/pytests/functional/states/file/test_append.py::test_file_append_check_cmd
|
||||
tests/pytests/functional/states/file/test_append.py::test_issue_1896_file_append_source
|
||||
tests/pytests/functional/states/file/test_blockreplace.py::test_issue_49043
|
||||
tests/pytests/functional/states/file/test_comment.py::test_issue_62121
|
||||
tests/pytests/functional/states/file/test_directory.py::test_directory_clean_require_in
|
||||
tests/pytests/functional/states/file/test_directory.py::test_directory_clean_require_in_with_id
|
||||
tests/pytests/functional/states/file/test_directory.py::test_directory_clean_require_with_name
|
||||
tests/pytests/functional/states/file/test_managed.py::test_file_managed_requisites
|
||||
tests/pytests/functional/states/file/test_managed.py::test_issue_8947_utf8_sls
|
||||
tests/pytests/functional/states/file/test_managed.py::test_managed_escaped_file_path
|
||||
tests/pytests/functional/states/file/test_managed.py::test_managed_file_issue_51208
|
||||
tests/pytests/functional/states/file/test_managed.py::test_managed_file_with_grains_data
|
||||
tests/pytests/functional/states/file/test_managed.py::test_managed_latin1_diff
|
||||
tests/pytests/functional/states/file/test_managed.py::test_managed_source_hash_indifferent_case
|
||||
tests/pytests/functional/states/file/test_managed.py::test_managed_unicode_jinja_with_tojson_filter
|
||||
tests/pytests/functional/states/file/test_recurse.py::test_issue_2726_mode_kwarg
|
||||
tests/pytests/functional/states/file/test_replace.py::test_file_replace_check_cmd
|
||||
tests/pytests/functional/states/file/test_replace.py::test_file_replace_prerequired_issues_55775
|
||||
tests/pytests/functional/states/test_pip_state.py::test_22359_pip_installed_unless_does_not_trigger_warnings
|
||||
tests/pytests/functional/states/test_pip_state.py::test_issue_2028_pip_installed_state
|
||||
tests/pytests/functional/states/test_pip_state.py::test_issue_54755
|
||||
tests/pytests/functional/states/test_pip_state.py::test_pip_installed_errors
|
||||
tests/pytests/functional/states/test_pip_state.py::test_pip_installed_removed
|
||||
tests/pytests/functional/states/test_pip_state.py::test_pip_installed_removed_venv
|
||||
tests/pytests/functional/states/test_pip_state.py::test_pip_installed_specific_env
|
||||
tests/pytests/functional/states/test_x509_v2.py::"test_private_key_managed_passphrase_changed_not_overwrite[existing_pk0]"
|
||||
tests/pytests/functional/utils/functools/test_namespaced_function.py::test_namespacing
|
||||
tests/pytests/functional/utils/test_pillar.py::test_gitpython_env
|
||||
tests/pytests/functional/utils/test_pillar.py::test_gitpython_fetch_request
|
||||
tests/pytests/functional/utils/test_pillar.py::test_gitpython_multiple_repos
|
||||
tests/pytests/functional/utils/test_pillar.py::test_pygit2_env
|
||||
tests/pytests/functional/utils/test_pillar.py::test_pygit2_multiple_repos
|
||||
tests/pytests/functional/utils/test_winrepo.py::test_gitpython_winrepo_simple
|
||||
tests/pytests/functional/utils/test_winrepo.py::test_pygit2_winrepo_simple
|
||||
tests/pytests/integration/minion/test_return_retries.py::test_pillar_timeout
|
||||
tests/pytests/integration/minion/test_return_retries.py::test_publish_retry
|
||||
tests/pytests/integration/modules/saltutil/test_pillar.py::"test_pillar_refresh[False]"
|
||||
tests/pytests/integration/modules/saltutil/test_pillar.py::"test_pillar_refresh[True]"
|
||||
tests/pytests/integration/modules/test_state.py::test_logging_and_state_output_order
|
||||
tests/pytests/integration/modules/test_test.py::test_deprecation_warning_emits_deprecation_warnings
|
||||
tests/pytests/integration/renderers/test_jinja.py::test_issue_54765_call
|
||||
tests/pytests/integration/renderers/test_jinja.py::test_issue_54765_salt
|
||||
tests/pytests/integration/ssh/state/test_pillar_override_template.py::"test_it[args0-kwargs0]"
|
||||
tests/pytests/integration/ssh/state/test_pillar_override_template.py::"test_it[args1-kwargs1]"
|
||||
tests/pytests/integration/ssh/state/test_pillar_override_template.py::"test_it[args2-kwargs2]"
|
||||
tests/pytests/integration/ssh/state/test_retcode_highstate_verification_structure_fail.py::"test_it[args0-20]"
|
||||
tests/pytests/integration/ssh/state/test_retcode_highstate_verification_structure_fail.py::"test_it[args1-20]"
|
||||
tests/pytests/integration/ssh/state/test_retcode_highstate_verification_structure_fail.py::"test_it[args2-20]"
|
||||
tests/pytests/integration/ssh/state/test_retcode_highstate_verification_structure_fail.py::"test_it[args3-20]"
|
||||
tests/pytests/integration/ssh/state/test_retcode_highstate_verification_structure_fail.py::"test_it[args4-0]"
|
||||
tests/pytests/integration/ssh/state/test_retcode_highstate_verification_structure_fail.py::"test_it[args5-20]"
|
||||
tests/pytests/integration/ssh/test_jinja_filters.py::test_dateutils_strftime
|
||||
tests/pytests/integration/ssh/test_terraform.py::test_terraform_roster
|
||||
tests/pytests/unit/config/schemas/test_ssh.py::test_config_validate
|
||||
tests/pytests/unit/grains/test_core.py::test_get_machine_id
|
||||
tests/pytests/unit/grains/test_package.py::test_grain_package_type
|
||||
tests/pytests/unit/loader/test_loader.py::test_named_loader_context_name_not_packed
|
||||
tests/pytests/unit/modules/test_beacons.py::test_add
|
||||
tests/pytests/unit/modules/test_beacons.py::test_add_beacon_module
|
||||
tests/pytests/unit/modules/test_beacons.py::test_delete
|
||||
tests/pytests/unit/modules/test_beacons.py::test_delete_beacon_module
|
||||
tests/pytests/unit/modules/test_beacons.py::test_disable
|
||||
tests/pytests/unit/modules/test_beacons.py::test_enable
|
||||
tests/pytests/unit/modules/test_beacons.py::test_enable_beacon_module
|
||||
tests/pytests/unit/modules/test_beacons.py::test_save
|
||||
tests/pytests/unit/modules/test_gpg.py::test_create_key_with_passphrase_with_gpg_passphrase_in_pillar
|
||||
tests/pytests/unit/modules/test_gpg.py::test_create_key_without_passphrase
|
||||
tests/pytests/unit/modules/test_saltutil.py::test_clear_job_cache
|
||||
tests/pytests/unit/modules/test_saltutil.py::test_list_extmods
|
||||
tests/pytests/unit/pillar/test_pillar.py::test_pillar_get_cache_disk
|
||||
tests/pytests/unit/state/test_state_compiler.py::test_verify_high_too_many_functions_declared_error_message
|
||||
tests/pytests/unit/states/test_pkg.py::test_mod_beacon
|
||||
tests/pytests/unit/states/test_service.py::test_mod_beacon
|
||||
tests/pytests/unit/test_ext_importers.py::test_tornado_import_override
|
||||
tests/pytests/unit/utils/test_rsax931.py::test_find_libcrypto_darwin_catalina
|
||||
tests/pytests/unit/utils/test_versions.py::test_warn_until_good_version_argument
|
||||
tests/unit/transport/test_ipc.py::IPCMessagePubSubCase::test_async_reading_streamclosederror
|
||||
tests/unit/utils/test_thin.py::SSHThinTestCase::test_thin_dir
|
||||
tests/unit/utils/test_vt.py::VTTestCase::test_split_multibyte_characters_shiftjis
|
||||
tests/unit/utils/test_vt.py::VTTestCase::test_split_multibyte_characters_unicode
|
||||
tests/unit/utils/test_vt.py::VTTestCase::test_vt_size
|
||||
|
||||
# tests that need network access
|
||||
tests/pytests/functional/states/file/test_managed.py::test_verify_ssl_https_source
|
||||
tests/pytests/unit/modules/test_aptpkg.py::test_sourceslist_architectures
|
||||
tests/pytests/unit/modules/test_aptpkg.py::test_sourceslist_multiple_comps
|
||||
tests/pytests/unit/modules/test_yumpkg.py::test_get_yum_config
|
||||
tests/pytests/unit/modules/test_yumpkg.py::test_get_yum_config_value_none
|
||||
tests/pytests/unit/test_ext_importers.py::test_tornado_import_override
|
||||
tests/pytests/unit/utils/test_http.py::test_backends_decode_body_false
|
||||
tests/pytests/unit/utils/test_http.py::test_backends_decode_body_true
|
||||
tests/pytests/unit/utils/test_http.py::test_query_proxy
|
||||
tests/pytests/unit/utils/test_network.py::test_isportopen
|
||||
|
||||
# tests that need root access
|
||||
tests/unit/modules/test_saltcheck.py::SaltcheckTestCase::test_call_salt_command
|
||||
tests/unit/modules/test_saltcheck.py::SaltcheckTestCase::test_call_salt_command2
|
||||
tests/unit/modules/test_saltcheck.py::SaltcheckTestCase::test_run_test_1
|
||||
)
|
||||
[[ ${EPYTHON#*.} -ge 11 ]] && EPYTEST_DESELECT+=(
|
||||
tests/unit/test_master.py::TransportMethodsTest::test_aes_funcs_black
|
||||
tests/unit/test_master.py::TransportMethodsTest::test_clear_funcs_black
|
||||
)
|
||||
[[ ${EPYTHON#*.} -ge 12 ]] && EPYTEST_DESELECT+=(
|
||||
tests/integration/modules/test_mine.py::MineTest::test_get_allow_tgt
|
||||
tests/integration/modules/test_mine.py::MineTest::test_mine_delete
|
||||
tests/integration/modules/test_mine.py::MineTest::test_send_allow_tgt
|
||||
tests/integration/modules/test_mine.py::MineTest::test_send_allow_tgt_compound
|
||||
tests/integration/modules/test_saltcheck.py::SaltcheckModuleTest::test_saltcheck_checkall
|
||||
tests/integration/modules/test_saltcheck.py::SaltcheckModuleTest::test_saltcheck_checkall_saltenv
|
||||
tests/integration/modules/test_saltcheck.py::SaltcheckModuleTest::test_saltcheck_run
|
||||
tests/integration/modules/test_saltcheck.py::SaltcheckModuleTest::test_saltcheck_saltenv
|
||||
tests/integration/modules/test_saltcheck.py::SaltcheckModuleTest::test_saltcheck_state
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_highstate
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_json
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_nested
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_pprint
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_raw
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_txt
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_yaml
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_output_yaml_namespaced_dict_wrapper
|
||||
tests/integration/output/test_output.py::OutputReturnTest::test_static_simple
|
||||
tests/integration/runners/test_manage.py::ManageTest::test_down
|
||||
tests/integration/runners/test_manage.py::ManageTest::test_up
|
||||
tests/integration/shell/test_master_tops.py::MasterTopsTest::test_custom_tops_gets_utilized
|
||||
tests/integration/states/test_archive.py::ArchiveTest::test_local_archive_extracted_with_skip_files_list_verify_and_keep_source_is_false
|
||||
tests/pytests/functional/states/test_pip_state.py::test_issue_2087_missing_pip
|
||||
tests/pytests/unit/modules/test_nilrt_ip.py::"test_when_default_value_is_not_a_string_and_option_is_missing_the_default_value_should_be_returned[-99.9]"
|
||||
tests/pytests/unit/modules/test_nilrt_ip.py::"test_when_default_value_is_not_a_string_and_option_is_missing_the_default_value_should_be_returned[42]"
|
||||
tests/pytests/unit/modules/test_nilrt_ip.py::"test_when_default_value_is_not_a_string_and_option_is_missing_the_default_value_should_be_returned[default_value2]"
|
||||
tests/pytests/unit/modules/test_nilrt_ip.py::"test_when_default_value_is_not_a_string_and_option_is_missing_the_default_value_should_be_returned[default_value3]"
|
||||
tests/pytests/unit/modules/test_nilrt_ip.py::"test_when_default_value_is_not_a_string_and_option_is_missing_the_default_value_should_be_returned[default_value4]"
|
||||
tests/pytests/unit/modules/test_nilrt_ip.py::test_when_config_has_no_quotes_around_string_it_should_be_returned_as_is
|
||||
tests/pytests/unit/modules/test_nilrt_ip.py::test_when_config_has_quotes_around_string_they_should_be_removed
|
||||
tests/pytests/unit/utils/vault/test_auth.py::"test_approle_auth_get_token_login[secret_id-approle]"
|
||||
tests/unit/modules/test_zypperpkg.py::ZypperTestCase::test_repo_value_info
|
||||
tests/unit/utils/test_color.py::ColorUtilsTestCase::test_get_colors
|
||||
)
|
||||
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 4096 || die
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
local TMPDIR
|
||||
TMPDIR="$(mktemp --directory --tmpdir=/tmp ${PN}-XXXX)" || die
|
||||
(
|
||||
test_exports=(
|
||||
TMPDIR
|
||||
SHELL="/bin/bash"
|
||||
USE_SETUPTOOLS=1
|
||||
NO_INTERNET=1
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
)
|
||||
export "${test_exports[@]}"
|
||||
|
||||
cleanup() { rm -rf "${TMPDIR}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${TMPDIR}"
|
||||
|
||||
epytest --run-slow
|
||||
)
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST usbview-3.0.tar.gz 375159 BLAKE2B 3c95e8c1e37c7209f086206305ab22ff7d26868e8b5eeae07111c82f5bc60eccf8d4ba4021cb57d2d299775f6a4ca7c006ebbf41b7ce24baa7b976cab976b565 SHA512 65cfc933eac44e83df48ebc79e9eb85db64f817b9c09b708ba06471d7845ac575cdec1a4a06a5792cb2b8d80b046dadc118200c455a350300b0285b80221aac5
|
||||
DIST usbview-3.1.tar.gz 374228 BLAKE2B a0836049c8075831a5fc2c19532870478ea610ba9616d9809a25f6ca39c53e40695f134e794d378d4259dc102fa50e7f730c9bdc00558db1342694e6cc117cad SHA512 edc60d9543e5ebb377d4d1e71b8ca83d055cee9c12270a4d189a19503c12c8574103637fd6b9a13741c6dc9375a80c7c57daf4d6ccf0520d55e843e07be09479
|
||||
EBUILD usbview-3.0.ebuild 626 BLAKE2B 5406d13ad3d124dc973945da71cbcf3d8094f70cef0ca7fb5919cb79b4d05eb744149bbf0fa0aff7b00166996cfb36b90fd2d4bf43d8d31b0c48fec6b6cbbf3b SHA512 3eb861bf4da311738791c73dda654c75978e374d1eb42828e1252f59ffefbade079166fd4062b29b146e15025789b4004c9b1df22987ba897e20c86f44afbd4e
|
||||
EBUILD usbview-3.1.ebuild 586 BLAKE2B de6e3024bd4bb0336c41d1b17d8cb77628a978d97d4fb7d9129b635f16e77f99235b9e7ba43bdb6c29998a5e195a5567a2a26699f11e36c5cba97f2aba8fe082 SHA512 160da016547afff23f23ccbea04b60fd0977febebec517ac860654d8bc570939cfbc9991fcff498c094779d4941a961dd7efdbf92bcb2c51e62b2e264f4b79c0
|
||||
EBUILD usbview-3.1.ebuild 585 BLAKE2B 304d7d54ea6076f8a0118cda62662cf0fb6331e74151c13a1e35ef3d2ffce2655316ce2041a610813f9f9b91585e0be8cd8902ae15c08f37481fa6c86042fb06 SHA512 fe5af83d30a75953d6212a2f3e7da24003c745c86c462ace0eab96424c42496fa7cbb62a15204ca84cc277be7f532b2763165d91ef31d314eac81d9ef94f014c
|
||||
MISC metadata.xml 324 BLAKE2B f3d8da70475aa495eb454cf7b3aa9a009c03d120001399d0e0ccd2ebe9caed3e0aa1b6a00bb1aeb078ac513950eaa6bf932bd9f7776c327529ecfd5775ba391d SHA512 137602091b0ce20dbac313377487638a32b608c8aa8066e6cdb9767298f76b0120191c0d5002d56fc4cddc7128f71978e6d8270441c3b01e7878d15108212c38
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST makeself-2.4.5.tar.gz 39012 BLAKE2B f79cf1c087e89c4fd09f328fb795a3f8a78ee38060dbbd1590e3dcdf22a346b0c12bf6837d1636efadb2a66f6a762308de7ee9dd2fc62a7c88d417d257c5f0f6 SHA512 1dae74586f6bd5afb526801b7ffa7fc7962ff74b0f190cdd51da93c21421864b72f5fe18090cb2ff6ad27f0907fbf3aeb5545f3f70e33dbc9e505a78505f5f90
|
||||
DIST makeself-2.5.0.tar.gz 43996 BLAKE2B 60e5b7a55bd03e45d25753600ddb4e0e15f05eabc95db18f1a9da10308d018bb913ba1e8bc264c3bd828c3d229aca34fae4ab1682bf6cf59c591a6fdef186061 SHA512 cd0ce98579f00a02f9559848b39e0a6efea9df1866073d419f0b6560034cc186ed8315f8b4589e03f626b040727d9ae646bc2abaebe4f4da556b87617bdd770f
|
||||
EBUILD makeself-2.4.5.ebuild 1155 BLAKE2B 25578f47579ccd101e31428439449f9e55c509c1e3268c794b80035f5a40a1dc05bf1a8f7575ddf28155216522db114b1da7f5e12b92103c552f788861440f5d SHA512 d165630a20a4feb643d6fe780f1933202621f01f9f50523e1f67421df71d075d8ce07ed308c4996ca7938b1bfd633222803f405c224a42eb2b2b35c53b2b19f3
|
||||
EBUILD makeself-2.5.0.ebuild 1186 BLAKE2B b493230b6d5129c68e60c721fd8040fbd2385a52e96370dfa64950e6ed30223caef78c9cfd0cdca1a4395a4bb5a2df4f9b8611cba66785358a5b2cacfc523bc1 SHA512 e67773b12293031c647ebe2ac08b79e9dbbf38e07d9f6314a4e710d62f4b5489b0045491a20688ea5770cfbf625f5609452bdaf8cf108f8076c73cce95cdf96c
|
||||
EBUILD makeself-2.5.0.ebuild 1183 BLAKE2B da1d80490ac7f1bb9c9326995f13d1e296eccd118dffd6cca76ce9b9cf714d6adc8339c2f86a8efd4669785e544b3e69e09a3ac9933af797db4857dba759b5ad SHA512 a2bd735cbc860374cad0ab0d665c6b5c5c27eb71b8362360569cf681079f6794029471c8a6f49ca2c1f03dcf72e85add3de91e18417cbec4911fc9fc584276fa
|
||||
MISC metadata.xml 365 BLAKE2B cc6a2d3abc5c2724d52a1c5f3f5ccffec988ed8d504231da0c7ee6f5fad3cc2379f27f65721d8c0b649a7989db70d647a63adbedd3a1c2b96ce380d31effd688 SHA512 1eebd8a8998499ff26f1f3f64dfbd5bce5d17ebec596bdae93c1f2b8a6f7ba6ab7ff3ba38a3a2e6477713b53d013c643fef040bb8b4824175ca1ceaa458c8bfc
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="Shell script that generates a self-extractible tar.gz"
|
||||
HOMEPAGE="https://makeself.io/"
|
||||
SRC_URI="https://github.com/megastep/makeself/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ppc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# NB: The test framework requires bashunit (which isn't a big deal), but the
|
||||
# tests themselves are not of great quality. You should avoid running them
|
||||
# yourself as they like to run commands like gpg against your own ~/ settings.
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}-release-${PV}"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dobin makeself-header.sh makeself.sh
|
||||
dosym makeself.sh /usr/bin/makeself
|
||||
doman makeself.1
|
||||
dodoc README.md makeself.lsm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "lz4 support" app-arch/lz4
|
||||
optfeature "lzop support" app-arch/lzop
|
||||
optfeature "pbzip2 support" app-arch/pbzip2
|
||||
optfeature "pigz support" app-arch/pigz
|
||||
optfeature "zstd support" app-arch/zstd
|
||||
|
||||
# Also bzip2 and xz are supported but they are in @system.
|
||||
}
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
DIST distrobox-1.6.0.1.tar.gz 6751373 BLAKE2B 9d82f33e15be8a2c17b7716ddbecf4fc533f971924c36ba8fa009dac7a87fbc26075ca98d6c58c5974fa1a02657419f26b415925d71f6577a8897a9e199950fc SHA512 cc7bd42b1c7e198eb255b6bdd90a76fa25700edc274b14379ffe3199c8a8cadc9ab27c94f43ee4a92d270b65df7b04e6c11441eb68456fe7ec3d56b2879534f2
|
||||
DIST distrobox-1.7.0.1.tar.gz 6756031 BLAKE2B 320dde2bdf005c5bd66954f212547adb6bbd6d06611272c6a1b1859eef7ad47dbbbf300baaef555e2bf9a750def117ec69418affb75514652aa0e366314fbaf2 SHA512 971a3f15216d2dfa2829a1ea085c7579c4f0bf0e57678474f83df05ae8c897db8a8cd477a429d0126cad11ac0379029b9c759944cea8649971e67f20a3e18328
|
||||
DIST distrobox-1.7.0.tar.gz 6755733 BLAKE2B 27bd75046d0b221543c4870bc49305c62da03343f4a602a87a50fac9a1d5b428a040099fbea8730fe2eba0b96eb90b966bc15d5ad46d62d79157047a2048f23c SHA512 5e29a5bb4a9fca4e54df979b304c2c23af93a5326383245183fee9bc7fbf6265128e1690c653410cb3063fabc522cf38bfa041dba7b921146010f7e43630613c
|
||||
EBUILD distrobox-1.6.0.1.ebuild 741 BLAKE2B 25aa6f441a2134f6e2a83f2ead6083c328a4f167e8a2efe7ee4e93f35d6babb1dce8aa4b8dfdace9e681d0e0efa01f2a2fa46513fd93562f2385e0822a85013c SHA512 2a891b624fd3c6ba7e802a81d0b400ab3b00147ea62509997a0678ae6e5b52e467a33eb5a08ce0c12a376ab4be84a6ed2aabb6da8254f0ee1cb899e7bdebee34
|
||||
EBUILD distrobox-1.7.0.1.ebuild 747 BLAKE2B c0e47c0cd8b825792647ae6bc12f9771eb2527d62b1e779e652b0580103e5668f191ffa2fd9db3ccabdb078c48d68ce3054390ced200112202f9ee9c2c3c6bcd SHA512 8e7673d428025cf9515f8f93169464afeaec9d2cd9050774dcd8d09f47e933e69a6b0787b7ac9b56842a9e1490149a6ac51f5ffe6915aa345407c8ef5a948b2a
|
||||
EBUILD distrobox-1.7.0.ebuild 747 BLAKE2B c0e47c0cd8b825792647ae6bc12f9771eb2527d62b1e779e652b0580103e5668f191ffa2fd9db3ccabdb078c48d68ce3054390ced200112202f9ee9c2c3c6bcd SHA512 8e7673d428025cf9515f8f93169464afeaec9d2cd9050774dcd8d09f47e933e69a6b0787b7ac9b56842a9e1490149a6ac51f5ffe6915aa345407c8ef5a948b2a
|
||||
EBUILD distrobox-9999.ebuild 747 BLAKE2B c0e47c0cd8b825792647ae6bc12f9771eb2527d62b1e779e652b0580103e5668f191ffa2fd9db3ccabdb078c48d68ce3054390ced200112202f9ee9c2c3c6bcd SHA512 8e7673d428025cf9515f8f93169464afeaec9d2cd9050774dcd8d09f47e933e69a6b0787b7ac9b56842a9e1490149a6ac51f5ffe6915aa345407c8ef5a948b2a
|
||||
MISC metadata.xml 957 BLAKE2B a02f57f2c65a9241edbc6a1e99170712ceca000977c2271ba51c5311e7718471585ea791ed8c978a86a961d02450623c05b5f9006d4386be2130df08341b0e49 SHA512 65f455bcfd246a8de0084e1534dc85f09435f1fad2590ba87dda0bed90d8fa976d3fad2142b2006a596e713d3d91f0d3d3156017cebacf9dc7883596edb0740f
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Use any Linux distribution inside your terminal (powered by docker/podman)"
|
||||
HOMEPAGE="https://distrobox.privatedns.org/
|
||||
https://github.com/89luca89/distrobox/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/89luca89/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/89luca89/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3" # GPL-3.0-only !
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
app-containers/docker
|
||||
app-containers/podman
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
sh ./install --prefix "${ED}/usr" || die "${PN} install script failed"
|
||||
|
||||
dodoc *.md
|
||||
}
|
@ -1,13 +1,10 @@
|
||||
DIST earthly-0.7.23-deps.tar.xz 157140928 BLAKE2B 493c7dce3e79f94659e99501020c07232a2d6ff78a055209b1b42be8615e38e01dacef4ceb50a80ed26e597de4dbb892fee2d54f6721fd5af62c86a0a9197d45 SHA512 a278077be794a1085105271fc3e031c02079e2b4f45c7220b3114df72ba26758758d5c0f1171ff861feb1c305765952494bf1afe95dcc469d2b9c6aad13fe7b9
|
||||
DIST earthly-0.7.23.tar.gz 8023353 BLAKE2B 458850b26a2730eb10ae3912f249d6ba9fdf81ed0c734f568ebf2cbaf5da005d258d38a089d452d42628d071d0b07f73e4f73cb29e7a02c406c1ea394d22ae97 SHA512 be524a6ab86ad3cff307d990f3645007cde673383cbaf132ebc6ab9e7052e8d13e163e958353041151d9fe6dc987ab75372dbf061a8413a932408a844cfe1007
|
||||
DIST earthly-0.8.0-deps.tar.xz 158417236 BLAKE2B 998240c6065dd46eebc311975fa98e657a9568b6e26f0113d00e2f55b1cea8b017425fb6cafa7a7a5d7dd2ccdbaf711cee62b5a98d92322f9ff8a6458bb31a02 SHA512 1fd31f82acb7862a4deff611f088b73fd15e04a2bf56d91dff955ffb4c3c54425f6011b7a2bcf94fbb721ea820cc3728f8038870eb073c6d12d435406167dc8b
|
||||
DIST earthly-0.8.0.tar.gz 8029214 BLAKE2B 1ca0afa4e92a05fca47ada6a6b74d789fb9571b0e92cc7bbb0ccc88930a128db76382b3e5137073ebd82f74fb8d43b81f8e6d056a08e6fa73978f23b680b36e2 SHA512 661c1e15cf8943dfcd8d55c36191f4f9da6dc705bb894194ff0a31733038f7b74d2b187a066c6a6cc329a9a89f362299f1de3b370f273ce87e2e3cdd2b4c8163
|
||||
DIST earthly-0.8.3-deps.tar.xz 158480860 BLAKE2B 4b875ef1ab7a244e2b92f13bc3dc55772c8e74af77b8a9814b2e964da4547a84fd7fe94ce96f77d4793a41039857e45ed133e61b8798d03c94d9546668dbaccd SHA512 e0071fbb9d5e85a81322c1e8fa36d393916031b99ca8783ab70c15084e5dd60cedbed24b9e7fe1e7c7b2e79c6b5f554b0518524b63b4c5e6d25aa99e56bec404
|
||||
DIST earthly-0.8.3.tar.gz 8034636 BLAKE2B f61133eda18d81588d35a1b4916bdc72e3a037007d4872e093be035dc25f502a8947e2610af49f8339835cc2fd607ee2bc813ad19124625f0fa55aa3e183bed8 SHA512 a2880e0b1c8d2646b70ae21557f5e05f00b31667ae10fcd124d9519b1e9a75386b7f7be3867a2ac96b3381cefa6ea1ff560844df0ae098e7ae5acc11eaa93f97
|
||||
DIST earthly-0.8.4-deps.tar.xz 158470344 BLAKE2B c3ec6369f8b397abd9b76dc77461c628e14ecc5866c8b66d094c3fe3194b18330be78454b57f211a717785210da40dc3c83e7d9769c62d621ca42a9d70f7be7f SHA512 d9b0960e02cf288b933a8da954e597957b2e8dc0920e2dca208a17d41c84bc1bcff789ee1c02fa930d5d0a816cb03437b091375168e0f46f3d3cf330a643b308
|
||||
DIST earthly-0.8.4.tar.gz 8041021 BLAKE2B 66057e29d4b287a220d8799efb4a1c5c43ea7641029e3af59bf8556125df28f9eafddc20d515fd20fab8c09bbb6278af4ea525f4bbe38d0e24ee031fc65c7336 SHA512 b663a10feb255329dfca30d5d70cb5c36ad5f96ed2b0cd30c46dd1b4ad087ab15b941fe6d3be3e32b1eee8199b5ee8ae50d61739c290b8967b6fcfd4126327db
|
||||
EBUILD earthly-0.7.23.ebuild 1813 BLAKE2B f467ed655eb54b39dc41f50f95f293898779a5efd30892ffa243e48e5524e6e90ef76825906745541d5ca1e6f43dec46cf30c734deee64f2f2eb79e81641a098 SHA512 35c1754664cd08dd6c582909aec2a23e73d404d0d9bc003eba5c63b6e1ed230c1674cc71c64809182236a558481c7e05b224fe541a8b6eb4e9d81532037349b2
|
||||
EBUILD earthly-0.8.0.ebuild 1800 BLAKE2B c06dcd832279d384bce9223b065f5edf89c0344464a6e903a41613849f8ec00f8fc88989fd780f63b89a75b821836dcb21551b498959da0a62f18071248ad4b7 SHA512 da7534851b3d8e7eef39ba09ebc90dc4f785661879e7fa2cbfd7e65ab3ba9cb35ad753088e4e390bb3d93ab3003740c92403177e5f7dd9e40b83d2c47c3d9b26
|
||||
DIST earthly-0.8.5-deps.tar.xz 157843872 BLAKE2B aade314abdcd8aaf18737908df1a90d71c907f286df463c9f8ce9654d5e212387b7107070225bf85f54d6e4688a741b7838b5c70d9f1a09ac15e904b83d4d2b8 SHA512 557b3477c1773c27934429677a53efbdc104230fcbd536cb73e8cd631ccf2af488731acc5555484298fc579e08b8e52031191b49ef0610595b2b67cc987232e3
|
||||
DIST earthly-0.8.5.tar.gz 8051712 BLAKE2B b9310a28d79bec7a59525a541cdd51960762b0695ccf15fd33be8a9917a7e52b2251a4ebf202c4f02036b3c178b8d26fc9bc4802b9d6a73a5bfc39623c5075d7 SHA512 206dc95c2ef4b89ea7dd65b2b04f4ac7606d63891cea708f7d7dcdff8f3e9ed113b090b65c0285175412cd76fca18852bf77eeddc2e0f2782f390e5bce1f8b86
|
||||
EBUILD earthly-0.8.3.ebuild 1805 BLAKE2B 393b8ab9d4dbef4448f16b672dd83b99e20681ab2c3a6496ec208d88cda0282b9874e149a3ee125b4b85a4c288c7af5f479cc7f38576cacb13bb516d0c75a1e9 SHA512 9dc024fa2326ac983b0e18329f62c1a4d68dc03448485157b32facca57d4327650cbfb05e9304e36f077800439eb313804ed78a348cf5aaf93521cbb89ede887
|
||||
EBUILD earthly-0.8.4.ebuild 1806 BLAKE2B 76b450d95330496cc88850d080993a09fdfec4b3c9ddea23cfb0e11e376058d782e67adf713e6a042f939951cb40fcf9c5b6b97e47f3042ac90730079005b207 SHA512 08f376f6f2b2aca415881f4e34fd4b058020de98168bbf1341a245d36b9a5100487ca51fc1d1e2a297547817c6435196e2656b83f5ef2b8910502b19adaa977d
|
||||
EBUILD earthly-0.8.5.ebuild 1806 BLAKE2B 07a436cabd245f99cec1f90182f37810af90599383f59982cb8e6860b823f4dfd3287fa5b7cd2b8e8a3668609f903b94416b46f96555636b5708fc49c927a547 SHA512 3ba66ec7966dd1a73df700f97f7af3dfe9e5805ca3de2fd0318361bab702f2c3610d4c2f20ac48da56916f8736194c635694f617f670dd8c359dda5661c0018c
|
||||
MISC metadata.xml 927 BLAKE2B b7d5184df16f39603bf6df8b503e701d737fec188d1d97673e4ca59babd990c1b872784c91db04c74d9a08dbffa76f4e7530d8b021cbbe9ae51fd9966f709522 SHA512 f7f49eb583b2b5a9939c26e9eaff3917392525c3a94e5f8274c89b69e172547ad02fa4ed1b078e7d778f765659e1b9a7cf99d88042034cfbfbef54e685c8b6dd
|
||||
|
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Git commit SHA is needed at runtime by earthly to pull and bootstrap images.
|
||||
if [[ "${PV}" == 0.7.23 ]] ; then
|
||||
GIT_COMMIT_SHA=e77372274b09b5e5f8a42f1b6ac264f7149c4924
|
||||
else
|
||||
die 'Could not detect "GIT_COMMIT_SHA", please update the ebuild.'
|
||||
fi
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Build automation tool that executes in containers"
|
||||
HOMEPAGE="https://earthly.dev/
|
||||
https://github.com/earthly/earthly/"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
app-containers/docker
|
||||
app-containers/podman
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
|
||||
|
||||
src_compile() {
|
||||
mkdir -p bin || die
|
||||
|
||||
local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix"
|
||||
local go_ldflags="
|
||||
-X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV}
|
||||
-X main.GitSha=${GIT_COMMIT_SHA}
|
||||
-X main.Version=v${PV}
|
||||
"
|
||||
local -a go_buildargs=(
|
||||
-tags "${go_tags}"
|
||||
-ldflags "${go_ldflags}"
|
||||
-o bin
|
||||
)
|
||||
ego build "${go_buildargs[@]}" ./cmd/...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe bin/earthly
|
||||
newexe bin/debugger earthly-debugger
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "app-containers/podman" ; then
|
||||
ewarn "Podman is supported but not recommended."
|
||||
ewarn "If issues arise, then please try running earthly with docker."
|
||||
fi
|
||||
|
||||
if has_version "app-containers/podman[rootless]" ; then
|
||||
ewarn "Running podman in rootless mode is not supported because"
|
||||
ewarn "earthly/dind and earthly/buildkit require privileged access."
|
||||
ewarn "For more info see: https://docs.earthly.dev/docs/guides/podman/"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST libsecret-0.20.5.tar.xz 187340 BLAKE2B cde5094eaaf54f251c19afb015c39cc88435dafe6ee682ca8f9d1917dd5b3dc8cc1609cdbf2a3a42d2592c2a149bec5fe28b2f4ec179b92c0d0f07d2f14c1792 SHA512 61ca248aafd265e1f31d56c9084c68d880ebf03660ace3d4a6c6622ab306b56e921ac24647b6a60633bfa99c8a0407d4ae1aa6148511f289bf5ce2025b72692a
|
||||
DIST libsecret-0.21.1.tar.xz 190796 BLAKE2B 862c2aac0c519d2607c1c5b057d1e0d00d3d5bce06744ab8c6e074393ede2f154af9ab3ee988820c936c8c22dba205ee7bd570287aaa47e64fde21ae3a7dfc2b SHA512 e201b2292280c355d08f8bd2d90d6d785d7b618c82e731eb9c051599a24d8f6a0cc3e271b1876d738f4a15aab24c2b6607b6d15d4335a990e74bb0371fe941ae
|
||||
EBUILD libsecret-0.20.5-r3.ebuild 3623 BLAKE2B 195dc21ced14598be5f19c2ac51854fb8de611a0d105b60accca415ec9619dc7693579981161e88bb77be8666a02c452b8339dc2926613d8dfaaba2ea0f7e762 SHA512 1e56e015bc836813a6918d3645578a3a5bb509708eac50b9aca2696ad4555e88f5f27d47b2923300036a07412c4beb18eb1715594f44caaf1e24d789933cbd50
|
||||
EBUILD libsecret-0.21.1.ebuild 3641 BLAKE2B da2cded532a534379faf22f952c7e92dfb0c5a0d00752832b0d4b2493e1539a5a0f9643a9cbf10fba785c1e4547eea9dc25db82bf312fbdf57eb0b3170099dd0 SHA512 7e0bf99d6b3f7c6a4a14bd45c57bb3a178ec37517e3cb009620050bc9bef2a28203f3d44109f5c30b07528ae8743e610e2c376e5e6ae51dfd19416212f65ab12
|
||||
EBUILD libsecret-0.21.1.ebuild 3638 BLAKE2B b9e6f76dcc7f9ee4f59c48b259bd2fe7d6ca7a06ba77ef7f7039e65df6ce664d4ac3501d74312fe83db0e638c0904fc4181a16be4cdedd40185a35875ab2cdea SHA512 849594a5bc64ed4b3f56641fe684d735a98d395c59296175aa86b248f1d6ba265777f5d0840f0305b67fdc7fb691bedc53fcdd0f84bed6a3a39f166d63a9ddec
|
||||
MISC metadata.xml 468 BLAKE2B 21e70edb5acfc8b52a7d10f0c9e9452b04d8124b3d52bb7f816019cc2cf6f50275c7cb19c8853aec0c5fb2a6c93d56dfed3f4e5b8c41e9b2c08c2eff5efc5206 SHA512 7cc80dd7bbef252a09524ad511e12e621fdceca3482411f605e4c8aabb66e473c10e6a2b446df866644a4749b58dd3bb6f83cf118ff9949e17ca4a427a3ce3de
|
||||
|
@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit bash-completion-r1 gnome2 meson-multilib python-any-r1 vala virtualx
|
||||
|
||||
DESCRIPTION="GObject library for accessing the freedesktop.org Secret Service API"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Libsecret"
|
||||
|
||||
LICENSE="LGPL-2.1+ Apache-2.0" # Apache-2.0 license is used for tests only
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+crypt gtk-doc +introspection test test-rust tpm +vala"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="
|
||||
vala? ( introspection )
|
||||
gtk-doc? ( crypt )
|
||||
"
|
||||
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}]
|
||||
crypt? ( >=dev-libs/libgcrypt-1.2.2:0=[${MULTILIB_USEDEP}] )
|
||||
tpm? ( >=app-crypt/tpm2-tss-3.0.3:= )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
PDEPEND="virtual/secret-service"
|
||||
BDEPEND="
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
dev-libs/libxslt
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
gtk-doc? (
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/gi-docgen-2021.7
|
||||
)
|
||||
test? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
introspection? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )')
|
||||
test-rust? ( introspection? ( >=dev-libs/gjs-1.32 ) )
|
||||
tpm? (
|
||||
app-crypt/swtpm
|
||||
app-crypt/tpm2-abrmd
|
||||
>=app-crypt/tpm2-tss-3.2.0:=
|
||||
)
|
||||
)
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
dbus_run() {
|
||||
(
|
||||
# start isolated dbus session bus
|
||||
dbus_data=$(dbus-launch --sh-syntax) || exit
|
||||
eval "${dbus_data}"
|
||||
|
||||
$@
|
||||
ret=${?}
|
||||
|
||||
kill "${DBUS_SESSION_BUS_PID}"
|
||||
exit "${ret}"
|
||||
) || die
|
||||
}
|
||||
|
||||
tpm2_run_with_emulator() {
|
||||
export XDG_CONFIG_HOME=${T}/.config/swtpm
|
||||
"${BROOT}"/usr/share/swtpm/swtpm-create-user-config-files || die
|
||||
|
||||
mkdir -p ${XDG_CONFIG_HOME}/mytpm1 || die
|
||||
swtpm_setup_args=(
|
||||
--tpm2
|
||||
--tpmstate ${XDG_CONFIG_HOME}/mytpm1
|
||||
--createek
|
||||
--allow-signing
|
||||
--decryption
|
||||
--create-ek-cert
|
||||
--create-platform-cert
|
||||
--lock-nvram
|
||||
--overwrite
|
||||
--display
|
||||
)
|
||||
swtpm_setup "${swtpm_setup_args[@]}" || die
|
||||
|
||||
swtpm_socket_args=(
|
||||
--tpm2
|
||||
--tpmstate dir=${XDG_CONFIG_HOME}/mytpm1
|
||||
--flags startup-clear
|
||||
--ctrl type=unixio,path=${XDG_CONFIG_HOME}/mytpm1/swtpm.socket.ctrl
|
||||
--server type=unixio,path=${XDG_CONFIG_HOME}/mytpm1/swtpm.socket
|
||||
--pid file=${XDG_CONFIG_HOME}/mytpm1/swtpm.pid
|
||||
--daemon
|
||||
)
|
||||
swtpm socket "${swtpm_socket_args[@]}" || die
|
||||
|
||||
tpm2_abrmd_args=(
|
||||
--logger=stdout
|
||||
--tcti=swtpm:path=${XDG_CONFIG_HOME}/mytpm1/swtpm.socket
|
||||
--session
|
||||
--flush-all
|
||||
)
|
||||
tpm2-abrmd "${tpm2_abrmd_args[@]}" &
|
||||
export TCTI=tabrmd:bus_type=session
|
||||
|
||||
$@ || die
|
||||
|
||||
# When swtpm dies, tmp2-abrmd will exit
|
||||
kill $(< ${XDG_CONFIG_HOME}/mytpm1/swtpm.pid) || die
|
||||
}
|
||||
|
||||
python_check_deps() {
|
||||
if use introspection; then
|
||||
has_version -b "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return
|
||||
fi
|
||||
has_version -b "dev-python/dbus-python[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use vala && vala_src_prepare
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_native_true manpage)
|
||||
$(meson_use crypt gcrypt)
|
||||
$(meson_native_use_bool vala vapi)
|
||||
$(meson_native_use_bool gtk-doc gtk_doc)
|
||||
$(meson_native_use_bool introspection)
|
||||
-Dbashcompdir="$(get_bashcompdir)"
|
||||
$(meson_native_enabled bash_completion)
|
||||
$(meson_native_use_bool tpm tpm2)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if use tpm; then
|
||||
dbus_run tpm2_run_with_emulator virtx meson test -C "${BUILD_DIR}"
|
||||
else
|
||||
virtx dbus-run-session meson test -C "${BUILD_DIR}"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST mousepad-0.6.1.tar.bz2 1405279 BLAKE2B db94c433ba6dc697906258942abd0bcaa5a0a244c30c6e344e737944e84688045319551ebd1512aba541d87beafe5a8a26bb1265a06619aad64c7155140f33b3 SHA512 cf6ee9e32ecb1be9f1f54c587c4e8f653eb949f1103e378bf27959b88d8d6f268fb796285c8077bcef97926288cf941b9fb9426bfeb680ee728bddefa2d77d23
|
||||
DIST mousepad-0.6.2.tar.bz2 1402314 BLAKE2B c783ec58317ca3c0eaa0023ade3043f4aa4f020a12c0258fe0cf1e2303aa07dfbc67b9aa0178ca9282da98754103fda6c90ba034fa4057dd855b400c0d371085 SHA512 086f60f6f405290ed76366f4c5195e9c8f9c5058d1892200a73e48d6378428efe47f2038e3eddb81186e22dd87d57580559a556b1b22f202b6f056c7f90b64ea
|
||||
EBUILD mousepad-0.6.1.ebuild 1267 BLAKE2B 4df6ffa8d9f58f47060f3f797a905b16dce37ecc78f886e1f4079087d8eb418fb5baaf767061678b57d46044c87a5d768eb28f504edc1a33a39270983d4535f4 SHA512 71236a1a56926708dbcec93af35b83da697299a52790421ea730961c73960dfa4426a0decfbb1043d107a2d7c45be691e9eabed518c73f6e4bd3cd6e21e9db20
|
||||
EBUILD mousepad-0.6.2.ebuild 1268 BLAKE2B 6b3d4537ad61491a509bf8ea30193ec0961f9ac9525362e9faf4856bd9910873296c5fecc3d11d81904cf17c5ab3ece9c568e4f03f2bb87e2b5ca36b31295843 SHA512 a981485da4d7d32541c4a22c700c217643a5be4b55a4f4c1d7444c5915fb11b0adbb5acad06de31267c8b1a900bfb965aeebca31bbbb6df30a3ce6755ca184f5
|
||||
EBUILD mousepad-0.6.2.ebuild 1267 BLAKE2B 4df6ffa8d9f58f47060f3f797a905b16dce37ecc78f886e1f4079087d8eb418fb5baaf767061678b57d46044c87a5d768eb28f504edc1a33a39270983d4535f4 SHA512 71236a1a56926708dbcec93af35b83da697299a52790421ea730961c73960dfa4426a0decfbb1043d107a2d7c45be691e9eabed518c73f6e4bd3cd6e21e9db20
|
||||
MISC metadata.xml 318 BLAKE2B 53e8d0080a2643b6d5191012a6c86316d926678a85190371ce498705fc142f83d1a325a935a75f8f29c19c878a677ba96a35d5e8702a23c4f1e7ec210dbeef3e SHA512 89a0b309c4a205b97627be6c0d3fb1a280d9c4dfd2107c09854ef6a912e38e0dc2da39e0768d5103b81b72bf84eed7b1014084c52ff9482f4acc13e8d1a3def3
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome2-utils xdg-utils
|
||||
|
||||
DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
|
||||
HOMEPAGE="
|
||||
https://docs.xfce.org/apps/mousepad/start
|
||||
https://gitlab.xfce.org/apps/mousepad/
|
||||
"
|
||||
SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc ppc64 ~riscv x86"
|
||||
IUSE="policykit spell +shortcuts"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.56.2
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
>=x11-libs/gtksourceview-4.0.0:4
|
||||
policykit? ( sys-auth/polkit )
|
||||
spell? ( app-text/gspell )
|
||||
shortcuts? ( >=xfce-base/libxfce4ui-4.17.5:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-gtksourceview4
|
||||
$(use_enable policykit polkit)
|
||||
$(use_enable spell plugin-gspell)
|
||||
$(use_enable shortcuts plugin-shortcuts)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 ~arm ~arm64"
|
||||
IUSE="egl kerberos wayland"
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libcanberra[gtk3]
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-misc/curl
|
||||
sys-apps/dbus
|
||||
sys-libs/zlib
|
||||
sys-process/lsof
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/ThirdPartyNotices.txt || die
|
||||
|
||||
# Disable update server
|
||||
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -r ./resources/app/node_modules.asar.unpacked/kerberos || die
|
||||
fi
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -r . "${ED}/opt/${PN}" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
|
||||
|
||||
local EXEC_EXTRA_FLAGS=()
|
||||
if use wayland; then
|
||||
EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" )
|
||||
fi
|
||||
if use egl; then
|
||||
EXEC_EXTRA_FLAGS+=( "--use-gl=egl" )
|
||||
fi
|
||||
|
||||
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
|
||||
"${FILESDIR}/code-url-handler.desktop" \
|
||||
> "${T}/code-url-handler.desktop" || die
|
||||
|
||||
sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
|
||||
"${FILESDIR}/code.desktop" \
|
||||
> "${T}/code.desktop" || die
|
||||
|
||||
domenu "${T}/code.desktop"
|
||||
domenu "${T}/code-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "desktop notifications" x11-libs/libnotify
|
||||
optfeature "keyring support inside vscode" "virtual/secret-service"
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
diff -r 3761ed745bc6 configure.ac
|
||||
--- a/configure.ac Sat Mar 02 17:26:00 2024 +0100
|
||||
+++ b/configure.ac Fri Mar 08 22:25:23 2024 +0100
|
||||
@@ -2192,7 +2192,6 @@
|
||||
|
||||
compiler_version=""
|
||||
gcc_compiler_specs=""
|
||||
-libc_version=""
|
||||
|
||||
AC_MSG_CHECKING([for compiler version information])
|
||||
|
||||
@@ -2255,53 +2254,6 @@
|
||||
fi
|
||||
AC_MSG_RESULT([$compiler_version])
|
||||
|
||||
-AC_MSG_CHECKING(for standard C library version information)
|
||||
-
|
||||
-case "$ac_cv_build" in
|
||||
- *-*-linux*)
|
||||
- dnl #### who would ever _not_ be running the distro's libc?
|
||||
- dnl Maybe it would be better to get/augment this info with ldd?
|
||||
- if test -f /etc/redhat-release ; then
|
||||
- libc_version=`rpm -q glibc`
|
||||
- elif test -f /etc/debian_version ; then
|
||||
- libc_version=`dpkg-query --showformat='${version}' --show libc6`
|
||||
- libc_version="GNU libc $libc_version (Debian)"
|
||||
- dnl need SuSE et al checks here...
|
||||
- fi
|
||||
- dnl #### Tested on Debian, does this actually work elsewhere? ;-)
|
||||
- if test -z "$libc_version"; then
|
||||
- libc_version=`ls /lib/libc-*.so | sed -e 's,/lib/libc-\(.*\)\.so,\1,'`
|
||||
- fi
|
||||
- ;;
|
||||
-
|
||||
- *-*-aix*)
|
||||
- libc_version="bos.rte.libc `lslpp -Lqc bos.rte.libc | cut -f3 -d:`"
|
||||
- ;;
|
||||
-
|
||||
- *-*-solaris*)
|
||||
- libc=`pkginfo -l SUNWcsl | grep VERSION: | awk '{print $2}'`
|
||||
- libc_version="SUNWcsl $libc"
|
||||
-
|
||||
- ;;
|
||||
-
|
||||
- mips-sgi-irix*)
|
||||
- libc_version="IRIX libc `uname -sRm`"
|
||||
- ;;
|
||||
-
|
||||
- alpha*-dec-osf*)
|
||||
- dnl Another ugly case
|
||||
- (cd /usr/.smdb.;
|
||||
- libc_version=` grep -h libc.so *.inv | awk '$9 == "f" {print $12}' | tr '\n' ','`
|
||||
- )
|
||||
- ;;
|
||||
-esac
|
||||
-
|
||||
-dnl Awww, shucks.
|
||||
-if test -z "libc_version"; then
|
||||
- libc_version="detection failed (please report this)"
|
||||
-fi
|
||||
-AC_MSG_RESULT([$libc_version])
|
||||
-
|
||||
dnl ---------------------------------------------------------
|
||||
dnl These directories are used to search for include subdirs.
|
||||
dnl ---------------------------------------------------------
|
||||
@@ -6122,7 +6074,6 @@
|
||||
echo " WARNING: CC and XEMACS_CC mismatched; check CFLAGS carefully."
|
||||
fi
|
||||
fi
|
||||
-echo " libc version: $libc_version"
|
||||
echo " Relocating allocator for buffers: $with_rel_alloc"
|
||||
echo "
|
||||
Package Search (a 'root' contains '{xemacs,mule,site}-packages'):"
|
@ -0,0 +1,258 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: xemacs currently does not work with position independent code
|
||||
# so the build forces the use of the -no-pie option
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic xdg-utils desktop autotools
|
||||
|
||||
DESCRIPTION="highly customizable open source text editor and application development system"
|
||||
HOMEPAGE="https://www.xemacs.org/"
|
||||
|
||||
SRC_URI="http://ftp.xemacs.org/pub/xemacs/xemacs-$(ver_cut 1-2)/${P}.tar.gz
|
||||
neXt? ( http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz )"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="alsa debug gif gpm pop postgres ldap xface nas dnd X jpeg tiff png motif freewnn xft xim athena neXt Xaw3d gdbm berkdb +bignum"
|
||||
|
||||
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( >=sys-libs/db-4:= !!<sys-libs/db-4 )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3:=[berkdb(+)] )
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-libs/openssl-0.9.6:0=
|
||||
>=media-libs/audiofile-0.2.3
|
||||
gpm? ( >=sys-libs/gpm-1.19.6 )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
ldap? ( net-nds/openldap:= )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
nas? ( media-libs/nas )
|
||||
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
|
||||
dnd? ( x11-libs/dnd )
|
||||
motif? ( >=x11-libs/motif-2.3:0[xft=] )
|
||||
athena? ( x11-libs/libXaw )
|
||||
Xaw3d? ( x11-libs/libXaw3d[unicode(+)] )
|
||||
xft? ( media-libs/freetype:2 x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 )
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
xface? ( media-libs/compface )
|
||||
tiff? ( media-libs/tiff:= )
|
||||
png? ( >=media-libs/libpng-1.2:0 )
|
||||
jpeg? ( media-libs/libjpeg-turbo:= )
|
||||
freewnn? ( app-i18n/freewnn )
|
||||
>=sys-libs/ncurses-5.2:=
|
||||
>=app-eselect/eselect-emacs-1.15
|
||||
bignum? ( dev-libs/openssl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PDEPEND="app-xemacs/xemacs-base
|
||||
app-xemacs/mule-base"
|
||||
|
||||
src_unpack() {
|
||||
default_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
|
||||
find "${S}"/lisp -name '*.elc' -exec rm {} \; || die
|
||||
eapply "${FILESDIR}/${P}-configure.patch"
|
||||
eapply "${FILESDIR}/${P}-mule-tests.patch"
|
||||
eapply "${FILESDIR}/${P}-configure-libc-version.patch"
|
||||
|
||||
eapply_user
|
||||
|
||||
eautoconf
|
||||
|
||||
# Some binaries and man pages are installed under suffixed names
|
||||
# to avoid collions with their GNU Emacs counterparts (see below).
|
||||
# Fix internal filename references.
|
||||
sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die
|
||||
sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die
|
||||
sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# bug #639642
|
||||
test-flags -no-pie >/dev/null && append-flags -no-pie
|
||||
filter-flags -pie
|
||||
|
||||
if use X; then
|
||||
|
||||
myconf="${myconf} --with-widgets=athena"
|
||||
myconf="${myconf} --with-dialogs=athena"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
myconf="${myconf} --with-scrollbars=lucid"
|
||||
if use motif ; then
|
||||
myconf="--with-widgets=motif"
|
||||
myconf="${myconf} --with-dialogs=motif"
|
||||
myconf="${myconf} --with-scrollbars=motif"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
fi
|
||||
if use athena or use Xaw3d ; then
|
||||
myconf="--with-scrollbars=athena"
|
||||
fi
|
||||
|
||||
if use Xaw3d; then
|
||||
myconf="${myconf} --with-athena=3d"
|
||||
elif use neXt; then
|
||||
myconf="${myconf} --with-athena=next"
|
||||
else
|
||||
myconf="${myconf} --with-athena=xaw"
|
||||
fi
|
||||
|
||||
use dnd && myconf="${myconf} --with-dragndrop"
|
||||
|
||||
myconf="${myconf} $(use_with tiff )"
|
||||
myconf="${myconf} $(use_with png )"
|
||||
myconf="${myconf} $(use_with jpeg )"
|
||||
myconf="${myconf} $(use_with xface )"
|
||||
|
||||
use xft && myconf="${myconf} --with-xft=emacs,tabs,menubars,gauges" ||
|
||||
myconf="${myconf} --with-xft=no"
|
||||
|
||||
else
|
||||
myconf="${myconf}
|
||||
--without-x
|
||||
--without-xpm
|
||||
--without-dragndrop
|
||||
--with-xft=no
|
||||
--with-gif=no"
|
||||
fi
|
||||
|
||||
if use xim ; then
|
||||
if use motif ; then
|
||||
myconf="${myconf} --with-xim=motif"
|
||||
else
|
||||
myconf="${myconf} --with-xim=xlib"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --with-xim=no"
|
||||
fi
|
||||
|
||||
myconf="${myconf} $(use_with freewnn wnn )"
|
||||
|
||||
# This determines the type of sounds we are playing
|
||||
local soundconf="native"
|
||||
|
||||
# This determines how these sounds should be played
|
||||
use nas && soundconf="${soundconf},nas"
|
||||
use alsa && soundconf="${soundconf},alsa"
|
||||
|
||||
myconf="${myconf} --with-sound=${soundconf}"
|
||||
|
||||
if use gdbm || use berkdb ; then
|
||||
use gdbm && mydb="gdbm"
|
||||
use berkdb && mydb="${mydb},berkdb"
|
||||
|
||||
myconf="${myconf} --with-database=${mydb}"
|
||||
else
|
||||
myconf="${myconf} --without-database"
|
||||
fi
|
||||
|
||||
if use debug ; then
|
||||
myconf="${myconf} --with-debug"
|
||||
# bug #924339
|
||||
append-flags -fno-strict-aliasing
|
||||
else
|
||||
myconf="${myconf} --with-optimization --with-cflags-debugging="
|
||||
fi
|
||||
|
||||
use bignum && myconf="${myconf} --with-bignum=openssl" ||
|
||||
myconf="${myconf} --with-bignum=no"
|
||||
|
||||
use freewnn && append-cppflags "-I. -I${ESYSROOT}/usr/include/wnn"
|
||||
|
||||
econf ${myconf} \
|
||||
$(use_with gif ) \
|
||||
$(use_with gpm ) \
|
||||
$(use_with postgres postgresql ) \
|
||||
$(use_with ldap ) \
|
||||
$(use_with pop ) \
|
||||
--prefix=/usr \
|
||||
--with-mule \
|
||||
--with-unicode-internal \
|
||||
--without-canna \
|
||||
--with-ncurses \
|
||||
--with-msw=no \
|
||||
--with-mail-locking=flock \
|
||||
--with-site-lisp=yes \
|
||||
--with-site-modules=yes \
|
||||
--enable-option-checking=no \
|
||||
--with-last-packages=/usr/lib/xemacs
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake EMACSLOADPATH="${S}"/lisp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${ED}"/usr \
|
||||
mandir="${ED}"/usr/share/man/man1 \
|
||||
infodir="${ED}"/usr/share/info \
|
||||
libdir="${ED}"/usr/$(get_libdir) \
|
||||
datadir="${ED}"/usr/share \
|
||||
install
|
||||
|
||||
# Rename some applications installed in bin so that it is clear
|
||||
# which application installed them and so that conflicting
|
||||
# packages (emacs) can't clobber the actual applications.
|
||||
# Addresses bug #62991.
|
||||
for i in b2m ctags etags gnuclient gnudoit gnuattach; do
|
||||
mv "${ED}"/usr/bin/${i} "${ED}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
|
||||
done
|
||||
|
||||
# rename man pages
|
||||
for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do
|
||||
mv "${ED}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
|
||||
done
|
||||
|
||||
# install base packages directories
|
||||
dodir /usr/lib/xemacs/xemacs-packages/
|
||||
dodir /usr/lib/xemacs/site-packages/
|
||||
dodir /usr/lib/xemacs/site-modules/
|
||||
dodir /usr/lib/xemacs/site-lisp/
|
||||
dodir /usr/lib/xemacs/mule-packages
|
||||
|
||||
# remove extraneous info files
|
||||
cd "${ED}"/usr/share/info
|
||||
rm -f dir info.info texinfo* termcap* standards*
|
||||
|
||||
cd "${S}"
|
||||
dodoc CHANGES-* ChangeLog INSTALL Installation PROBLEMS README*
|
||||
|
||||
newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
|
||||
|
||||
domenu "${FILESDIR}"/${PN}.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect emacs update ifunset
|
||||
eselect gnuclient update ifunset
|
||||
xdg_desktop_database_update
|
||||
|
||||
einfo "If you are upgrading from XEmacs 21.4 you should note the following"
|
||||
einfo "incompatibilities:"
|
||||
einfo "- Mule-UCS is no longer supported due to proper UTF-8 support in XEmacs 21.5"
|
||||
einfo "- The X resource class has changed from Emacs to XEmacs,"
|
||||
einfo " settings in your .Xdefaults file should be updated accordingly."
|
||||
|
||||
if use xft;
|
||||
then
|
||||
einfo "You have enabled Xft font support. Xft requires font names to be provided"
|
||||
einfo "in a different way, so you may need to adjust your .Xdefaults accordingly."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect emacs update ifunset
|
||||
eselect gnuclient update ifunset
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
AUX 50cape-gentoo.el 149 BLAKE2B a0b1a06c1236d3469cb87a2289e111fcf906093d9301d44d66732aa42d26e66c5a99f5c33ea893943d76d4478e30331680bc60365675529a0bc21bf9ffeec4c5 SHA512 79f9cba6529c5749ee1c72beda4ee40396d9bd3decc8fe332ad821127f385bc46b13befd9f7cc458812d08ef784daf04464fc29fa65bf3d86795b33d39c22fce
|
||||
DIST cape-1.3.tar.gz 40141 BLAKE2B ab9ab2855eb2b38396e7479e7514e65065282e6bf7a04d35e0766c811976392ccb18f128e2ed608eafd9150099aa88203ddbe3d75b48c53f2748d076cfa7e2df SHA512 abe987c0f67fa497d958f20f9e674a90a2ff8493adc865f3f961eee39f5e8367a1e78948e29a2336e973a187fb7e2f60786bb278b07f95d23376aae314ab6aa1
|
||||
DIST cape-1.4.tar.gz 40299 BLAKE2B c1075551b2d1ba9555b41993067a4c96b122a3dd7147cb5378bfc2f41ac20e67606b4d0805adc35fe13d9cf70cb5b83ec86ae88471d2af9d6ceb8849b447938a SHA512 9890ec51b1202a1644767bf57d4174f388d90246a9d2b97e3f2c13c5a07371be3003b11275e2ba0cb41f0898f9185774e91db141947999ca4e8e31bc0e3efd22
|
||||
EBUILD cape-1.3.ebuild 734 BLAKE2B 122175fe3a86c21864a5b4f977ba3f75061fca8c03ada400c15842c0160d999adb2c348f16a95c17b713415d10f8092a7c2a0473aa1036c69acdf63deacd0467 SHA512 012b16f0df66d7c966dfecfd72e94e2521d8c3dcccc0df714f7686cd53c6ccabce2a9d4f2ea4784cd40422b06d3948671623d22450cffce3694cf1bbb455c3bc
|
||||
EBUILD cape-1.4.ebuild 734 BLAKE2B 122175fe3a86c21864a5b4f977ba3f75061fca8c03ada400c15842c0160d999adb2c348f16a95c17b713415d10f8092a7c2a0473aa1036c69acdf63deacd0467 SHA512 012b16f0df66d7c966dfecfd72e94e2521d8c3dcccc0df714f7686cd53c6ccabce2a9d4f2ea4784cd40422b06d3948671623d22450cffce3694cf1bbb455c3bc
|
||||
EBUILD cape-9999.ebuild 729 BLAKE2B c3917c595744de7312192a682f116af948a93e2d2313e42a8e071d3f8d856bf46b8eddf0840243bf6cc1ab0db8bacbbcf74181c4faae9fc31e648d934c949ed2 SHA512 32b6a7e385793123ffcb5d831d43345d742590ab3e5c424f184d3a414ca654edfc659855d233b37a2da7d299b43437f0af1eec728ebc2cba75212904a06badc8
|
||||
MISC metadata.xml 502 BLAKE2B cad411c82839d6b59232a2c4a79c7ffa864120fc2fcb57b6add2965ce503cb8bdcb6b5b37fdf888242c8aacc0c7e9ad1bd32ba0f8b7492bf0680c34429106b1d SHA512 964b8445350c307c06ac5d76d7f4dd433dfacf6e7c5991158fbd9caae8a42aabf75a03c5405385266a89126d2d704a45cde7b7463ab5b5745b20cad563ec838e
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=27.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Completion At Point Extensions"
|
||||
HOMEPAGE="https://github.com/minad/cape/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/minad/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=app-emacs/compat-29.1.4.0
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
DOCS=( CHANGELOG.org README.org )
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp-org-export-to texinfo README.org
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
AUX 50consult-gentoo.el 82 BLAKE2B 3443827f490db8caacfe842cc7f1d1315f3889dec007210f451909576a76139f70ac5795346a7a1b11befccd3152874fd3c86ad7a20c0fbf84f793f8deb595cd SHA512 dd2ba1149c847d95d6c54265bc03de36e198dfecedc10336f6879fb3a1fc9d92e2c6de190d4f9aaab6c3d15f268fb80e082b49b6e96165697ff786333a50a601
|
||||
DIST consult-1.1.tar.gz 103352 BLAKE2B 8ad8eff3d65013de40f9ee10abaa6ea39acb6b96543d533bc4a272139778445863d26d06a88a759215ee46a95cc68595e8b3eb4e91db911b6b6f104e97a47cce SHA512 687266605f2b8fa9260362aabacd8508acb5239fa72061efbc002d311cf5ebef6fce8795729ab3fc2915de3455e1744dc9980dba422495340349e8c426c44a28
|
||||
DIST consult-1.2.tar.gz 103598 BLAKE2B 684ac2c9aca7901ee7ad2d2601327ff57c9fe08b20c6314526b1166bec0276bdf129bd80d09a54b15a1cf91030ed7d2377d91ed49d8ba4e177e3438264587302 SHA512 f8c927bbe447b9337faa511bec59188198d2a6ee0acd142bd48603f09634b7219e183c509245fa7026145c3ca688a6ab152fc0ededc0bf81ee3fb019ef1d675f
|
||||
DIST consult-1.3.tar.gz 103808 BLAKE2B 180f775ac76a4e0c40b8bbeeb254a8eccc3afd01ed8de792f4847e3cdee85201384816fca54bbf29d8b5a4aa8f091e298710e10d8dc1b495b1517cdd91e4500c SHA512 fab8811d4a95ba947334c9098971f24071f0a86df16e44e92a3acaa1b05e4169d41f0d8c05251ed0053a5299f1e0db3b70ff51cfb9165be7a848872412235aee
|
||||
EBUILD consult-1.1.ebuild 630 BLAKE2B 7c30b2c13d15563093403bc4e5d2ba7710d16ad1ff9cbe1e4c76c2dd97b263b7e4d27780c0acdab36a509f31e4d1b91072f8923ab2788e2445c74012164b09b9 SHA512 eb40c440ce28a37a94b5da4059a671ea938811019d2cfec275841687f418e688aaa58e1777d025def5cb3fb1ffa0d16c020c6e08db58277077cb5bfc72dacc0b
|
||||
DIST consult-1.4.tar.gz 103709 BLAKE2B 5326856b6bafc0a52d525971d84bd2fd3e0450aa1e8060d9ad49dabc6620fb2b721e5a26ba8d219bd889723109af766ba7fb8faa510301031f9372c798a8853d SHA512 4721820d288a357ea3432a850556a85cb037c1ddc262cada62d75e80641f1b402dd6edfceabb89b8dc386ae391081e02d2550f8773f9760ae267f3af8e381cb6
|
||||
EBUILD consult-1.2.ebuild 630 BLAKE2B 7c30b2c13d15563093403bc4e5d2ba7710d16ad1ff9cbe1e4c76c2dd97b263b7e4d27780c0acdab36a509f31e4d1b91072f8923ab2788e2445c74012164b09b9 SHA512 eb40c440ce28a37a94b5da4059a671ea938811019d2cfec275841687f418e688aaa58e1777d025def5cb3fb1ffa0d16c020c6e08db58277077cb5bfc72dacc0b
|
||||
EBUILD consult-1.3.ebuild 631 BLAKE2B e0b5397e07a2598270dfb934b6af87d8ade6225c01b654e0650a771c9bfbdb467e59636490f8195ad049c2feb8e2829cfe98110bc6fa893df74646141fe0b2bf SHA512 4ad14156bc002c94ac3e91a9218886e24c7d69bd9c2c57ed056e9788477299fe5cf367ff42e32004cb83e0ae7b567d9aee4f9640fa07a93cbfefcac89bb59648
|
||||
EBUILD consult-1.4.ebuild 631 BLAKE2B e0b5397e07a2598270dfb934b6af87d8ade6225c01b654e0650a771c9bfbdb467e59636490f8195ad049c2feb8e2829cfe98110bc6fa893df74646141fe0b2bf SHA512 4ad14156bc002c94ac3e91a9218886e24c7d69bd9c2c57ed056e9788477299fe5cf367ff42e32004cb83e0ae7b567d9aee4f9640fa07a93cbfefcac89bb59648
|
||||
EBUILD consult-9999.ebuild 631 BLAKE2B b923f9b2a906c47f745c2d7370ca7b2005726e9b3c14bdafd1c062771739be98a117349ab7e2d9ada4de5d8d6cf24207e0191eb51d470b2bef5fa9b5c389d5b9 SHA512 763403456ea8eae4e00cc8d886184f74ae66401a302832b0fe1f6ef939349cf92100a9920783d6c43feffeb9df843600bab892eceef5656dd4021365a674c744
|
||||
MISC metadata.xml 359 BLAKE2B 569bd0c5fe81610f0b67c94e8c431edddb5060800a6e22d0833a4d5f120df34545dc49c879c12a6522ccbe791472df47be42af97fbb228498e79d9e0893697f3 SHA512 8e01b569f019ea43209f43c783fd41b9661a7235d300363a9441179058b10921629cf8b891874c706d2c1ec106248f6c1e0a3501df7bfcdd02000d08f7997c29
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST eldev-1.8.1.tar.gz 297931 BLAKE2B ac19db5284ee782aac5cc876b754cc0c7dec4c150787f34ccec6bf2953c4cca8bd10ace4be0c9817802e3813001db661704cb9c68935f3a344d03cba09dc73d8 SHA512 c1a0eff02f64508493a0271bf5321969f2e629d4ce4609a4ed4bc6fe7df32e093bc2f4ee6bd28667d845a65830f270165bb69737a045316b689e45b16c14cc45
|
||||
DIST eldev-1.8.2.tar.gz 298578 BLAKE2B 579c72d61e15863a81b8a060da0c78900785a2b58f6a4825d19eebb85467ff838f2777bab05dc4ff2b04367d3fe58e4e71cbce09c4bbcc1c0ad5700cc12edc6d SHA512 c5ae360311d4b23648ecfb86e40a23abd4575480b971d86579f61b2c5a2873a9db211fe044cc33a47cb31bc215890a1c0b73c54700a92fcd1eb299a22733f71a
|
||||
EBUILD eldev-1.8.1.ebuild 1265 BLAKE2B 1eee453d4c432c5ed283696dd6091c8eaf4e930648d9173b82efd298c37f73ad88268aa4dddd7193417595e2cfd6352dceb90be9241683985030865392414f5b SHA512 3560a6e18c1f0afefd064163a4000f14ac41dd0dc6db3490c3add4a094b27f0cafa48d42f28da39342342bfa6fabf72648b7b4638883544ed3a27135afe43fd5
|
||||
DIST eldev-1.9.tar.gz 300721 BLAKE2B dac07c0f7fba1a8637ca9c2e26ebef26fefa88bc6d709a313818233e8c00e2c53acdd2ba37baba2d8e07aa49634a590790faf58edcefafe910793125d7ab7aed SHA512 c3b64cf457ffc0aaa21c34c48379736c98a94773ffd830cd9d79e840638340201f08899f09363912985f54b248130946d4ce6175891fd298548e6538ca9ee142
|
||||
EBUILD eldev-1.8.2.ebuild 1344 BLAKE2B 175e22e3b62437d6ec5af0241f1545af201338980a4fff084c6ac6d292a70bb9f7a2c442a721fbb8d61f5f8503dca53d6fa541de24980b487f5b3b8685c80365 SHA512 94c06c8a8404f0990c28e6722a046a7633c73f91c26a43cd1d40b28ac4bf9664e41afadd2d3b3dec9189a1ddc68beb520c2f07c107ef36f13439ee0c6cd2893d
|
||||
EBUILD eldev-1.9.ebuild 1367 BLAKE2B 37cc3419305ccfe35ec0b849c3b40209df863b2e1b8013d09ee2864a4f172ced1fd00171a7b6a99ff5f23ff892b0949d5fb02079540f60c1aee8fa56f87cb470 SHA512 2ace4b2f987434eafc3901c3eb0227707e9c4369c5a08982849d5d03e2363fd81d2f3bde188d43ac085d42fc49834d09ba3a9dea7ebeafd18b4e9723dd4ca231
|
||||
EBUILD eldev-9999.ebuild 1266 BLAKE2B da46690b2345f74c543a5cd3fd94cfd2c072cdce13da71051c2f0ecfcd3a4fd82fa3b3976a08ff34b894b32104298964122a69ae94afe8741eae9dee2acbadc1 SHA512 01c6c2232244713f9533f4ef3e7b30df221c0fa42efb9fa15adeb68664ab20b823e296fbd24b2b5b1a6973969edc3e3d932366ce68dbe66ce34a405559f3a255
|
||||
MISC metadata.xml 982 BLAKE2B db2324ced8f4bc4ba579130677175a9de7a8dc7b8d937cd902edd69a20bc897bf4ee034acb6a9400b88de82c58c2b144e62ec4ac7b75d8dc63cdf56670cacc9e SHA512 3e4d2d7ea4fbada45b4d933d7711266bcd9ffd217ee3c3e3351e9f66145785dc11449b4f09f5ffa4853d2b475db45e501848d259f80fb5aa26429acadcb6da7d
|
||||
|
@ -1,8 +1,8 @@
|
||||
AUX 50jinx-gentoo.el 191 BLAKE2B a183a9485eea61590192547a8c99e8c974b1974851073a49a33304ec0d9d43158279669aa8dc2ca26d9521c61b229c9fd490dec81643126f678585974dea7483 SHA512 dc0378743253f61f1c94d7fbcf8e3fff767296eecb26e856bbb5f24409b879e3d1a4f52efe87ea0ce106281b216396e94a72a7842b0fe4a48a80b4c41cb05921
|
||||
DIST jinx-1.1.tar.gz 33820 BLAKE2B 457214768c7220376a8f1e5c05eedf855fdd560b265ca0431840aee05428d1cf3576e3ef0214cf64b164984adb0951e7932271dd80b6b0d06ed740172335c5fe SHA512 3bb1981557e35d3834834cbdc0fc1360b5a931f0e16cc68c2eb0739956db9e8e97d615236e575758cbb282087a7baad3c956fc9e628679a791ca744e8365355b
|
||||
DIST jinx-1.2.tar.gz 33991 BLAKE2B 37661f5d02bb3f1a1813bd5d4e78b6c6c115ef40fa1f346685956a02486870fbccb570490e05029550e281e0be02bde12f6cdd5b3bf6dc67041cab294759585d SHA512 bc5caa73a348c3a5aae6322290823c60f48127b915e173ae08385ee979e94d4d05c733ad0003c5ac4702828de5dffd2dfb88c7da720bafa4a85665657579e0d0
|
||||
DIST jinx-1.3.tar.gz 34055 BLAKE2B c91652d0791ace223013f0ac42d3b917d3fff6cd5920d27bcf48f65ead3a7d29bc7090af107619ceedc243f34c7984a2dadb8fa667d6a825c8a21107de5f186a SHA512 14f03352e16cbcdbfa4c0fe9c00a2a496d7086a0a7dee9c82c5673069e98b0d9b472722a8e90f03815770bf8f054349833e3e7d035deb53a4fa9d05fa54899da
|
||||
EBUILD jinx-1.1.ebuild 925 BLAKE2B e1faeb92a90f8b5925e7018b7a28fba753bfe01f3ecdb0769784951645f87f54dbba2d9476a75e12053777134e95b5dfa6873883fd4ff88b812735dcdad54113 SHA512 5b6ccc6f825a354103fa6dae049c8209712b19582a23aa183e957991e3ac9bc2fff0f48879220ecdb81e4e96e8d59852c5ff992d3e87c6fc78dd6cafcf4d34e7
|
||||
DIST jinx-1.4.tar.gz 34299 BLAKE2B c28a1535826a1b3a4541cae33ec5ac7badc4fec0188d5b269b0dfbb7fb8a12bf642ea9efb9f1b7289de0bbce5f60cc756ede878a36e1b2b3ec2a8ee26a2fb892 SHA512 fcf08e25d3429ae801006050b56cbc16b65eaa26694b0b20a3c475de716c1c7d4271838b4d553caae257cd82215dd8154c6feb277fb5a16e05c1d098567605a0
|
||||
EBUILD jinx-1.2.ebuild 925 BLAKE2B e1faeb92a90f8b5925e7018b7a28fba753bfe01f3ecdb0769784951645f87f54dbba2d9476a75e12053777134e95b5dfa6873883fd4ff88b812735dcdad54113 SHA512 5b6ccc6f825a354103fa6dae049c8209712b19582a23aa183e957991e3ac9bc2fff0f48879220ecdb81e4e96e8d59852c5ff992d3e87c6fc78dd6cafcf4d34e7
|
||||
EBUILD jinx-1.3.ebuild 926 BLAKE2B a64882d836ff6c3cc62dc9fd352a75799df9809b1b7286698b3bcb1abdca366f587c6ec6591c47bce738881f59f2bc909a760564fadfb86be52ecae489508f16 SHA512 4e9cb347df916168879998e0c1ac411c85e2fe29e58667eca4834d8c0f9e6ab22f96d8da260eb5352ae9e5edfbc5bd760383ae3b36d104b5107784d6a867cf70
|
||||
EBUILD jinx-1.4.ebuild 926 BLAKE2B a64882d836ff6c3cc62dc9fd352a75799df9809b1b7286698b3bcb1abdca366f587c6ec6591c47bce738881f59f2bc909a760564fadfb86be52ecae489508f16 SHA512 4e9cb347df916168879998e0c1ac411c85e2fe29e58667eca4834d8c0f9e6ab22f96d8da260eb5352ae9e5edfbc5bd760383ae3b36d104b5107784d6a867cf70
|
||||
MISC metadata.xml 596 BLAKE2B 637e6f9f170f3ce64857712ff8156e123e42fa1e3495291ca05fc260f69ba267df6536c08b2a1ba042d8cc13f86f499d1e5f8dd223b89efd2c62ca38a9f37d2d SHA512 1fd1a6b8ba360f7aa2c03e8c318482b564afcf2392c20fe0c70d96b181df9323706c3b81bd3aa98916b65cff29aafcf9c9a486bfbbd55b775ff7adee85886950
|
||||
|
@ -1,8 +1,6 @@
|
||||
AUX 50mastodon-gentoo.el 137 BLAKE2B 1a4d306658bc54fa3b69a6b250a9fc48d8013e79261afad49b71e01fa0096c6f81187eeb4a308d19888045be948c8cf3d726e9ee9865120cb803be2f35969892 SHA512 52bffd9a794108da342152e435aba1fb551e5f058e1ff02d0a094b221a6b1359e39d0bf629472d5e42fff43244303d78cc4bfd7052f5760b512a61d18300074b
|
||||
DIST mastodon-1.0.14.tar.gz 157815 BLAKE2B caf6d6fa19a2fe67398868a08ed1a3a8fce9f32b12e1bbb891206f9758716358039cf5653af8827e4d207bc7088196d8714ba3867f6afdad2b4c59108204e576 SHA512 cbd28abc78909a7dc83d7f59ecf12de1c158a4789943f41dbec8fe6f48e9b596cfbf3fadba9e5d5fdb1cdc210efd165157b63b146c768bce8924b7961224cf18
|
||||
DIST mastodon-1.0.16.tar.gz 158509 BLAKE2B 22c65062114355dcf3de7962f93658221b15dc2e0ebd028d7c90a5c127587a7e3b1881138be43b8fe59d6a31d7600e40f799289e7749509d9054e4b2c904c135 SHA512 dcdbacf54989937ed8de13d156630a64242181d1489014e0ba83044a30ff6d7ad8e9bf73041c0309a6f760429c49db6b8bf11c513889df8ebd1b1cdc8e871274
|
||||
DIST mastodon-1.0.17.tar.gz 158970 BLAKE2B 5896520ae881af514ac14272bddc1987664a013e437c67ff145378371466b102586c37417accdbedf3d3cf68973be158a9d3234ee247b4a590f8444992403a80 SHA512 c6f80351e49d5bb99b8681301bdf6f28ac17d2bbe624412602ae8bd2d11d435e9aa3f31ce5a4a5621bc803fa3f53a15e27d98886070150d9d34028443b375d4b
|
||||
EBUILD mastodon-1.0.14.ebuild 599 BLAKE2B f24d89ae89287d477998722e46bbfd3be7abea1d21137b4b6ad56f9d71c1e6f4ba056e60455445dd1337f4799c120c12392b6ea13c50c53233d7a524a903272b SHA512 36f1c250eacfe5a98dd71a3a6b8f92376e7ca21578dc52c7c75f2014d6ee6bb01c6d6d6290d40dfc84886c3d958351d9dd967afe7ae4b9038e9f0bd547278c9f
|
||||
EBUILD mastodon-1.0.16.ebuild 599 BLAKE2B f24d89ae89287d477998722e46bbfd3be7abea1d21137b4b6ad56f9d71c1e6f4ba056e60455445dd1337f4799c120c12392b6ea13c50c53233d7a524a903272b SHA512 36f1c250eacfe5a98dd71a3a6b8f92376e7ca21578dc52c7c75f2014d6ee6bb01c6d6d6290d40dfc84886c3d958351d9dd967afe7ae4b9038e9f0bd547278c9f
|
||||
DIST mastodon-1.0.18.tar.gz 160205 BLAKE2B 329d6192e129c6255bb212fe06061ff5623d16030b3f8b9b2aea33e1d0113fa09af934ead8b4695031a4dc0ddc734aa8674ca64bdad6216ee6e8006639f8131f SHA512 5e1162f30e2735a9a6d73b418369ba70476b2f45967c121e0ca9d741d029a8fc2e314fc8ea33cb09036b7b4e0f9d56b8002c4694fefbe0d6923ab8038ec7a192
|
||||
EBUILD mastodon-1.0.17.ebuild 599 BLAKE2B f24d89ae89287d477998722e46bbfd3be7abea1d21137b4b6ad56f9d71c1e6f4ba056e60455445dd1337f4799c120c12392b6ea13c50c53233d7a524a903272b SHA512 36f1c250eacfe5a98dd71a3a6b8f92376e7ca21578dc52c7c75f2014d6ee6bb01c6d6d6290d40dfc84886c3d958351d9dd967afe7ae4b9038e9f0bd547278c9f
|
||||
EBUILD mastodon-1.0.18.ebuild 599 BLAKE2B f24d89ae89287d477998722e46bbfd3be7abea1d21137b4b6ad56f9d71c1e6f4ba056e60455445dd1337f4799c120c12392b6ea13c50c53233d7a524a903272b SHA512 36f1c250eacfe5a98dd71a3a6b8f92376e7ca21578dc52c7c75f2014d6ee6bb01c6d6d6290d40dfc84886c3d958351d9dd967afe7ae4b9038e9f0bd547278c9f
|
||||
MISC metadata.xml 512 BLAKE2B d8a604d5c6c58e2851d87c5602398d8bbc654a537febc54faad53815db5f527e507e1d45d75b0326db05dd747e315003b82e220fd494ad89c85ff7e951dbc563 SHA512 12b0ab3aeee03e66c3eac83b7ce581eee6110bc469681f7b0979c45110d651c19c5362d780886d95e2eaffdaba3fca44a00991e99f155312ba51cd4726ac4464
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=27.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs client for Mastodon, federated microblogging social network"
|
||||
HOMEPAGE="https://codeberg.org/martianh/mastodon.el/"
|
||||
SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}.el/lisp"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/persist
|
||||
app-emacs/request
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( ../README.org )
|
||||
ELISP_TEXINFO="../${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1,9 +1,11 @@
|
||||
AUX 60nxml-libvirt-schemas-gentoo.el 206 BLAKE2B ae9d1fe1da9c86d14796c09597ca34b10dd0e28abb02fdeac4607b8d950bfdf636f5f3c1de49cd5b9cf1fa808513522ab43272f3c26361b871ad0d630a942ed6 SHA512 5592edb5663066fcccaf5b05c3df671b4069d4d259376a8a91ef3f7ae5990687b15dfdf40e6f7aa6cc7d62b7cdaa5090fd851de0ed2718d20ecfe3e3a78530ea
|
||||
AUX schemas.xml 560 BLAKE2B 32f01d2dd047aa7109112b47155a21825686385845fae2af0f6d052dbd36f3e1ca5027ec39d654735e390ef9aa8a31f7ae5c86b15b0cd9c4ef84128326e87ee9 SHA512 82ef6189610fc4e1a0d5546ae15f2f315e7c0d460fa141201c43a93e59d147613c7186302fdc3e6b2f0ec5c343e5566966892d4e9f55dc4957e4ad58793fc3ff
|
||||
DIST libvirt-10.0.0.tar.xz 9395076 BLAKE2B bfbea7805a949999481293a31e52a5511bcf86db2c96486cbc3b9cb776719ec973b1208cfcb4a8ae2c9220d1d68053980eaf68893f7919c3ef354efbd1abf642 SHA512 4ab28539ff0e9a78ac231b11b4ec88b91d76ff2607cabd0226f04aaece73b05cab4aa9cfcf05073cd257ea270a377cd5d2cb915971583dbec04dadf2cf7ad252
|
||||
DIST libvirt-10.1.0.tar.xz 9444244 BLAKE2B bfdce9d067e3a319b81d867d27f1a6b4e724ab6aaa25d19d7383c9be26ad7dc92b3c0aaa92894b772f09e20c3c2eb0ea0a8707feee4c63be58578fa22854305f SHA512 08e73ae15de5681430b62db85ec9901242dca5e9a4ca9685614f4a67092c6e28f27f9187144b3ceb18ad6b40e6eb1a90b1a4b056b0888724d04a62002ee2bc48
|
||||
DIST libvirt-9.8.0.tar.xz 9307064 BLAKE2B aae47e8d4eeaf97532a0356de23ed5a9eea71b369d025eda95b5fd74576779eb4b843d05df6c87b79a14f218c341953749e319ee7244846a2db410a74a746880 SHA512 0118725073de33eec3fa3e4616d3154707f9828fdb9ec973f503fe68f18eab72b9704da660f281152630ddc95e605c786673af9d23dc9bdfc0108422e0efbd41
|
||||
DIST libvirt-9.9.0.tar.xz 9321556 BLAKE2B 21eae5a95feaf7f5c6ba8dd48732c08212904882a11c48eccfa827d85ddc3df7e064503f21710dbe1b678670e02f003674de915a43a7403fbf85685c4832e21d SHA512 77cea28acf4f3e8c92fbd5bd72ad084be183c07f14e3a9ce35d6d9d62d36ee97a30cef55fb204b3e43f282890ecd7d5827a784a517e7f4ed8b22ee502c3f09d7
|
||||
EBUILD nxml-libvirt-schemas-10.0.0.ebuild 1124 BLAKE2B 35d6e09a131cca3d98c81d086c5661fb6e376163f1250de51bef5b33181f39f2cc68f33987370a3f7e9369ab879dc4ade5de24154f753fa3c6923bc1d11726c0 SHA512 2a25c27315ea4603f06bf0172c980d4c63e61550e3c3e89621feb8e881f86df62d5b9aaf4b084e7607f56de1dc97fc04af2d4e4aacf5a5d37ea7a9e4b95be8fb
|
||||
EBUILD nxml-libvirt-schemas-10.1.0.ebuild 1124 BLAKE2B 35d6e09a131cca3d98c81d086c5661fb6e376163f1250de51bef5b33181f39f2cc68f33987370a3f7e9369ab879dc4ade5de24154f753fa3c6923bc1d11726c0 SHA512 2a25c27315ea4603f06bf0172c980d4c63e61550e3c3e89621feb8e881f86df62d5b9aaf4b084e7607f56de1dc97fc04af2d4e4aacf5a5d37ea7a9e4b95be8fb
|
||||
EBUILD nxml-libvirt-schemas-9.8.0.ebuild 1124 BLAKE2B a8d91d66d5b01d499e1aaef716cfa67a3f8b2aa419b9dfa408137f8e5ac39ba0670d451ee9d481427ce872983931913be7f97b25e33c74a811992a29a575d108 SHA512 4569a431b324be94ffa10258e7dff17fcdc24571bc810c25cc1810e7c690a672786d66a7947c0bc4b8ca9a0801e7aa132ae266fab241f08ced5072faa477403b
|
||||
EBUILD nxml-libvirt-schemas-9.9.0.ebuild 1124 BLAKE2B a8d91d66d5b01d499e1aaef716cfa67a3f8b2aa419b9dfa408137f8e5ac39ba0670d451ee9d481427ce872983931913be7f97b25e33c74a811992a29a575d108 SHA512 4569a431b324be94ffa10258e7dff17fcdc24571bc810c25cc1810e7c690a672786d66a7947c0bc4b8ca9a0801e7aa132ae266fab241f08ced5072faa477403b
|
||||
MISC metadata.xml 390 BLAKE2B 05bd110c71244cf02d22bcf823d3285e73bdb03f3bb06b8c9e2c13cd346f2367380345747d5eb0861f37983be970dc6c9fe5e7d93b422205a7b447dc3330852e SHA512 bb803aed730418caf43baf132b989963e84f5e0e0d8db915a48cae407f20fb52e27c147725cac88fc94303db070f300a7ce3bf6c18e7dc66dec37bf9ccea5f5b
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Packages which get releases together:
|
||||
# app-emacs/nxml-libvirt-schemas
|
||||
# dev-python/libvirt-python
|
||||
# dev-perl/Sys-Virt
|
||||
# app-emulation/libvirt
|
||||
# Please bump them together!
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P="libvirt-${PV}"
|
||||
DESCRIPTION="Extension for nxml-mode with libvirt schemas"
|
||||
HOMEPAGE="https://www.libvirt.org/"
|
||||
SRC_URI="https://libvirt.org/sources/${MY_P}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P%-rc*}/src/conf/schemas"
|
||||
|
||||
# This is the license of the package, but the schema files are
|
||||
# provided without license, maybe it's bad.
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Yes this requires Java, but I'd rather not repackage this, if you
|
||||
# know something better in C, I'll be glad to use that.
|
||||
BDEPEND="app-text/trang"
|
||||
|
||||
SITEFILE="60${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
emake -f - <<'EOF'
|
||||
all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
|
||||
%.rnc: %.rng
|
||||
trang -I rng -O rnc $< $@
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins "${FILESDIR}"/schemas.xml *.rnc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,365 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Packages which get releases together:
|
||||
# app-emacs/nxml-libvirt-schemas
|
||||
# dev-python/libvirt-python
|
||||
# dev-perl/Sys-Virt
|
||||
# app-emulation/libvirt
|
||||
# Please bump them together!
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
|
||||
inherit meson linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git"
|
||||
EGIT_BRANCH="master"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz
|
||||
verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="
|
||||
apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
|
||||
iscsi iscsi-direct +libvirtd lvm libssh libssh2 lxc nbd nfs nls numa
|
||||
openvz parted pcap policykit +qemu rbd sasl selinux test +udev
|
||||
virtiofsd virtualbox +virt-network wireshark-plugins xen zfs
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
BDEPEND="
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
dev-python/docutils
|
||||
virtual/pkgconfig
|
||||
bash-completion? ( >=app-shells/bash-completion-2.0 )
|
||||
verify-sig? ( sec-keys/openpgp-keys-libvirt )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent.
|
||||
RDEPEND="
|
||||
acct-user/qemu
|
||||
app-misc/scrub
|
||||
>=dev-libs/glib-2.56.0
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.9.1
|
||||
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||
>=net-libs/gnutls-3.2.0:=
|
||||
net-libs/libtirpc:=
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dbus
|
||||
sys-apps/dmidecode
|
||||
sys-devel/gettext
|
||||
>=sys-libs/readline-7.0:=
|
||||
virtual/acl
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dtrace? ( dev-debug/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( sys-fs/fuse:= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( >=sys-block/open-iscsi-1.18.0 )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
libssh? ( >=net-libs/libssh-0.8.1:= )
|
||||
libssh2? ( >=net-libs/libssh2-1.3 )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[lvm] )
|
||||
lxc? ( !sys-apps/systemd[cgroup-hybrid(-)] )
|
||||
nbd? ( sys-block/nbdkit )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[lvm]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.8.0 )
|
||||
policykit? (
|
||||
acct-group/libvirt
|
||||
>=sys-auth/polkit-0.9
|
||||
)
|
||||
qemu? (
|
||||
>=app-emulation/qemu-4.2
|
||||
app-crypt/swtpm
|
||||
>=dev-libs/yajl-2.0.3:=
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( >=dev-libs/cyrus-sasl-2.1.26 )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[dhcp,ipv6(+),script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6(+)]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtiofsd? ( app-emulation/virtiofsd )
|
||||
wireshark-plugins? ( >=net-analyzer/wireshark-2.6.0:= )
|
||||
xen? (
|
||||
>=app-emulation/xen-4.9.0
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/libudev:=
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zfs? ( sys-fs/zfs )
|
||||
kernel_linux? ( sys-apps/util-linux )"
|
||||
DEPEND="
|
||||
${BDEPEND}
|
||||
${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
# The 'circular' dependency on dev-python/libvirt-python is because of
|
||||
# virt-qemu-qmp-proxy.
|
||||
PDEPEND="
|
||||
qemu? ( dev-python/libvirt-python )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-9.4.0-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-9.9.0-do-not-use-sysconfig.patch
|
||||
"${FILESDIR}"/${PN}-9.6.0-fix-paths-for-apparmor.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~IP_NF_FILTER
|
||||
~IP_NF_MANGLE
|
||||
~IP_NF_NAT
|
||||
~IP6_NF_FILTER
|
||||
~IP6_NF_MANGLE
|
||||
~IP6_NF_NAT"
|
||||
|
||||
# This was renamed in kernel commit v5.2-rc1~133^2~174^2~6
|
||||
if use virt-network ; then
|
||||
if kernel_is -lt 5 2 ; then
|
||||
CONFIG_CHECK+="
|
||||
~IP_NF_TARGET_MASQUERADE"
|
||||
else
|
||||
CONFIG_CHECK+="
|
||||
~NETFILTER_XT_TARGET_MASQUERADE"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~IP_NF_TARGET_REJECT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap" || die
|
||||
|
||||
default
|
||||
python_fix_shebang .
|
||||
|
||||
# Skip fragile tests which relies on pristine environment
|
||||
# (Breaks because of sandbox environment variables)
|
||||
# bug #802876
|
||||
sed -i -e "/commandtest/d" tests/meson.build || die
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature apparmor)
|
||||
$(meson_feature apparmor apparmor_profiles)
|
||||
$(meson_feature audit)
|
||||
$(meson_feature caps capng)
|
||||
$(meson_feature dtrace)
|
||||
$(meson_feature firewalld)
|
||||
$(meson_feature fuse)
|
||||
$(meson_feature glusterfs)
|
||||
$(meson_feature glusterfs storage_gluster)
|
||||
$(meson_feature iscsi storage_iscsi)
|
||||
$(meson_feature iscsi-direct storage_iscsi_direct)
|
||||
$(meson_feature libvirtd driver_libvirtd)
|
||||
$(meson_feature libssh)
|
||||
$(meson_feature libssh2)
|
||||
$(meson_feature lvm storage_lvm)
|
||||
$(meson_feature lvm storage_mpath)
|
||||
$(meson_feature lxc driver_lxc)
|
||||
$(meson_feature nbd nbdkit)
|
||||
$(meson_feature nls)
|
||||
$(meson_feature numa numactl)
|
||||
$(meson_feature numa numad)
|
||||
$(meson_feature openvz driver_openvz)
|
||||
$(meson_feature parted storage_disk)
|
||||
$(meson_feature pcap libpcap)
|
||||
$(meson_feature policykit polkit)
|
||||
$(meson_feature qemu driver_qemu)
|
||||
$(meson_feature qemu yajl)
|
||||
$(meson_feature rbd storage_rbd)
|
||||
$(meson_feature sasl)
|
||||
$(meson_feature selinux)
|
||||
$(meson_feature test tests)
|
||||
$(meson_feature udev)
|
||||
$(meson_feature virt-network driver_network)
|
||||
$(meson_feature virtualbox driver_vbox)
|
||||
$(meson_feature wireshark-plugins wireshark_dissector)
|
||||
$(meson_feature xen driver_libxl)
|
||||
$(meson_feature zfs storage_zfs)
|
||||
|
||||
-Dnetcf=disabled
|
||||
-Dsanlock=disabled
|
||||
-Dopenwsman=disabled
|
||||
|
||||
-Ddriver_esx=enabled
|
||||
-Dinit_script=systemd
|
||||
-Dqemu_user=$(usex caps qemu root)
|
||||
-Dqemu_group=$(usex caps qemu root)
|
||||
-Ddriver_remote=enabled
|
||||
-Dstorage_fs=enabled
|
||||
-Ddriver_vmware=enabled
|
||||
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
-Dinitconfdir="${EPREFIX}/etc/systemd"
|
||||
-Drunstatedir="${EPREFIX}/run"
|
||||
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export VIR_TEST_DEBUG=1
|
||||
# Don't run the syntax check tests, they're fragile and not relevant
|
||||
# to us downstream anyway.
|
||||
# We also crank up the timeout (as Fedora does) just to preempt failures
|
||||
# on slower arches.
|
||||
meson_src_test --no-suite syntax-check --timeout-multiplier 10
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
# Depending on configuration option, libvirt will create some bogus
|
||||
# directoreis. They are either not used, or libvirtd is able to create
|
||||
# them on demand, so let's remove them.
|
||||
#
|
||||
# Note, we are using -f here so that rm does not fail or warn if the
|
||||
# directory is nonexistent.
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var
|
||||
rm -rf "${D}"/run
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newtmpfiles "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r2" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r2" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml || die
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
tmpfiles_process libvirtd.conf
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST virt-firmware-24.2.tar.gz 110844 BLAKE2B db7ad7663678a313bdd0e23de7e374547e5dbc1a04b37a65e366ae042410a3a6c21ccfef3747a2534cb76906868caaf1364ac1ecd1443c1c1053a5b7687da50b SHA512 8583420acb31fb32e4c195c0c1816b36248ec2e486ded0795e51180e2690b2bcdc10eb8707f4fc9fa36da5b24082737c5c3b2e3988f6c5455e08a5d2a0ff92e7
|
||||
EBUILD virt-firmware-24.2.ebuild 972 BLAKE2B ccdd92c608c7f34a07f0e0c6bd5a44d4324aa2d1ca67f83325642da8cf548bf03e46c44f12e01236b6fe7186ee9ebff92c6093dee2f94dae25b25a7f21a8f580 SHA512 ebf768029c1073f45d12f7d3330ab3cc5fde85cc236a1419014a355f54b62f2dc51fe1c80cab8ad6a93bb98992e5fa67e520d9e5f882601e47734057f8b02728
|
||||
MISC metadata.xml 726 BLAKE2B 809ef093c67bf4c03ae99efa7112b92c3d6d24058ba8ae444045ae52adf9accf60e42a84966f8fd7ab793dfb3238660f4f422fbae2c36f6fd35bf0b02b42a1f1 SHA512 af58f69792dadd71c66022fb08f0f878c3f140114287000a16e96fd8b30bf410e595d373a5cd92b56bd28d5f9996ab5cdecac91ba1b743f2e807feeeaf6e9cbd
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<longdescription lang="en">
|
||||
This is a small collection of tools for edk2 firmware images. They
|
||||
support decoding and printing the content of firmware volumes.
|
||||
Variable stores (OVMF_VARS.fd) can be modified, for example to enroll
|
||||
secure boot certificates.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">virt-firmware</remote-id>
|
||||
<remote-id type="gitlab">kraxel/virt-firmware</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,47 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1 optfeature pypi systemd
|
||||
|
||||
DESCRIPTION="Tools for ovmf/armvirt firmware volumes"
|
||||
HOMEPAGE="
|
||||
https://gitlab.com/kraxel/virt-firmware
|
||||
https://pypi.org/project/virt-firmware/
|
||||
"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pefile[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
eunittest tests
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman man/*.1
|
||||
|
||||
systemd_dounit systemd/kernel-bootcfg-boot-successful.service
|
||||
|
||||
exeinto /usr/lib/kernel/install.d
|
||||
doexe systemd/99-uki-uefi-setup.install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "managing UEFI entries on Unified Kernel Image installation and removal" \
|
||||
"sys-boot/shim sys-kernel/installkernel[systemd]"
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST ddccontrol-0.6.0.tar.gz 180376 BLAKE2B d844f03ae4843a710a3a7143b1270656202c261b5e412822c49c2096c150052ddb6747b62f7c1d2404cffeb13af5ed604be915061b3fd339c8dcf66473bbd791 SHA512 49e857e8ef8f2ba87dc51056b9511ce55f3e6471222cd9171a324e2ee179b8c96a8f4d90c63bb379260ccc8e1d9653964f90748d6589d298ff2bbe6982efd3e2
|
||||
DIST ddccontrol-0.6.1.tar.gz 180407 BLAKE2B fba90502925320f3eb20e71498456e8b1135af9d67a78a74ec7b28d3d49a2841fcb77806a983c4231e8e97d07ef7fdf29b36145316f130ed8a529ef39ed4d104 SHA512 abc8940dcd651c25e1030bd4f5ae59774cfa08b22352a653140ec924cbcaa93855473385575636ec0cd51ea5f1871e2331ade592846eafddb7eae99f55ff1164
|
||||
EBUILD ddccontrol-0.6.0.ebuild 2026 BLAKE2B e2416b9badcb23f465e2be748b16ca6b3286a5ea62fd11d247f5961dcf91bcf4204e858f3fb0ee3228641c68f900d09cc4bfc3e625ed61864fbaba96e98eb442 SHA512 9b1d65b7f4dacc6e06c0e43b56e070d8d4886809ba370184118358826c6ce4b7124b146f020c0151bee12e23d55f68996666ee14363c0ef4e0a42d03a10b4bff
|
||||
DIST ddccontrol-1.0.3.tar.gz 175621 BLAKE2B f3a2f477f1e2553da0069da020fa49e06ab4be5d13f2c238fa0e4e800d7632490ed91e3f3fcb234b90bdff9ea03a0a8c32613153ae45ff450b4bac4ff568e96b SHA512 5e49217c8560245d53d5a2dc71cda5683698e798bd1f75ca69e445b68b33d2fb826ff05dced1c0a40f2baf8fd26396c78d1c1bf6f95f30287da6d5b149bb98e2
|
||||
EBUILD ddccontrol-0.6.1.ebuild 2026 BLAKE2B e2416b9badcb23f465e2be748b16ca6b3286a5ea62fd11d247f5961dcf91bcf4204e858f3fb0ee3228641c68f900d09cc4bfc3e625ed61864fbaba96e98eb442 SHA512 9b1d65b7f4dacc6e06c0e43b56e070d8d4886809ba370184118358826c6ce4b7124b146f020c0151bee12e23d55f68996666ee14363c0ef4e0a42d03a10b4bff
|
||||
EBUILD ddccontrol-1.0.3.ebuild 1960 BLAKE2B f83fea0eeab3b7e5cf29480f1b362249ded4bfee81653ec5f36d9a58d7ef61986eb1f0ac14aefeab8e8db8b99e865c58a9215a3df687b07ac0f8ff4fa0495421 SHA512 1b0f00503e6e0f1eb7740fb3fb644a0b168e7f2ed40744607716586f1cdaea83569fe90857c0426955adcc1959150cde76e4d95ed419f3bb598ae33228a63312
|
||||
MISC metadata.xml 361 BLAKE2B 7878bf4653e703c0043af5c6649635fe8592a882378e681e9394b2f076ca50090e47174030a61a0426039448ce6a71115d5b67387aacd8eb96977209c9661b23 SHA512 8cbbe272d36870715ef58f5277c1a9d041b543ef16dc1ec0a19faf4b6cf1fff37088f29e183c1916b3f3d584c4305ed7c2e3cc38dff8f7198a3e68ed06bc9a2e
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST geoclue-2.7.0.tar.bz2 105353 BLAKE2B b9bcf29bcdb5302d3df29f48ec235265582ec60badc4f71469faa0d100f860f943529c6a74aadec4b03cbc1474f5eab837b1b9b19ba5c7e0ab0fb6c868db727a SHA512 2314242f529b9011ee5da6e8cfc657568853769e4d38b8e7c604097a747dd5705d9f84dcd2763cdacb9f014e15b63fbb8356d6cb488ba91334cda87c11e4ee7d
|
||||
DIST geoclue-2.7.1.tar.bz2 106458 BLAKE2B a2fc44d4941936d8dcd495d77d11b0d948d7031ca048b97ff0940c7fcdd37ba604655f2e255c5e0dd5cc7a82a2d5a15b18aab4825b2446560e225c13df6da3b8 SHA512 972663a6f8c969d0e1a5f911af2b8afed486d5c0ba06dadc19bcfbe1ea22cef10243b2bd0084e5c45b70977cfa5650c8f15f760e4bc4e7dbd946745b67c9188b
|
||||
EBUILD geoclue-2.7.0.ebuild 2332 BLAKE2B bea32816851178e76b2199ba26b3c010a12c635296bb79e53d0ea34ff604c8647625921cf498fb0338ecd454b6f10c43d322c458486f4a7fecdf1e0a0efaa010 SHA512 953fc3864493f978fca4ee1463c424570b2d8b9b842f82e703f10295fdf0238496eb184d33a185797641bb9265a0e05fb781bb223f6f97a2f6dc613300372ad4
|
||||
EBUILD geoclue-2.7.1.ebuild 2335 BLAKE2B 74e7b009a74352b4e1f00f4784baf8e28e76e74932d5712761894afe9d345637c9d14bbfa762dda84f72649928416951473343aefb177416d8182c3c53a4eed0 SHA512 b4fffdf57f03216d6d2d9b3f510d7b2eb2eb723873fc4c7856b699ea1de8a3589daa9d73cbe4343edaf0b7c6171e57482ea4cef6a32f805e58a56e0a946b24e4
|
||||
EBUILD geoclue-2.7.1.ebuild 2333 BLAKE2B edb82202397d15f5019006fa297450dcca58b9ffedb4e95182568b3829d6a819444caa0ddd614be9eef8c85a5251a7a8335208df096b3da3b73ee651729abc1c SHA512 0152b260e6a124176ef1f1edbb482ae2eead5825324b037bef787f81429c271613c89ac1a537449cc41cd39769a6e1970bf43744fb14241bc4322a85346a38fd
|
||||
MISC metadata.xml 1006 BLAKE2B f61bb5fff6412551ad5377786b08e2e488adc53f18eea163e7d0351fcc7b9ba767dd7f456f123ff226a963464c401e99ad0b52264a034c044ae3f323b0e7c7a0 SHA512 a19a0d84fc21207ce16ca38b0b2db4faf554ba4237fc0aada39f58c2934c3f0a4fc20d6210887e2c107e30ccf509e0915469e669a82cfc35e1e85ff64c741eab
|
||||
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit meson python-any-r1 systemd vala xdg
|
||||
|
||||
DESCRIPTION="A location information D-Bus service"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/geoclue/geoclue/-/wikis/home"
|
||||
SRC_URI="https://gitlab.freedesktop.org/geoclue/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1+ GPL-2+"
|
||||
SLOT="2.0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||
IUSE="+introspection gtk-doc modemmanager vala zeroconf"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.44:2
|
||||
>=dev-libs/json-glib-0.14.0
|
||||
>=net-libs/libsoup-3.0.0:3.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
||||
modemmanager? ( >=net-misc/modemmanager-1.6 )
|
||||
zeroconf? ( >=net-dns/avahi-0.6.10[dbus] )
|
||||
x11-libs/libnotify
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-user/geoclue
|
||||
sys-apps/dbus
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
gtk-doc? (
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/gtk-doc-1 )
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dlibgeoclue=true
|
||||
$(meson_use introspection)
|
||||
$(meson_use vala vapi)
|
||||
$(meson_use gtk-doc)
|
||||
$(meson_use modemmanager 3g-source)
|
||||
$(meson_use modemmanager cdma-source)
|
||||
$(meson_use modemmanager modem-gps-source)
|
||||
$(meson_use zeroconf nmea-source)
|
||||
-Dcompass=true
|
||||
-Denable-backend=true
|
||||
-Ddemo-agent=true
|
||||
-Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)"
|
||||
-Ddbus-srv-user=geoclue
|
||||
|
||||
-Dmozilla-api-key=f57afde7-113f-4e8f-96d1-62be64a0273c
|
||||
)
|
||||
|
||||
DISTRO="$(awk -F= '/^NAME/ {print $2}' /etc/os-release | tr -d \" )"
|
||||
if [[ $DISTRO != Gentoo ]]; then
|
||||
eerror "The following API key has been allocated for Gentoo only."
|
||||
eerror "If you are a derivative, please request your own key as discussed here:"
|
||||
eerror "https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/136"
|
||||
eerror "See also: https://location.services.mozilla.com/api and"
|
||||
eerror "https://blog.mozilla.org/services/2019/09/03/a-new-policy-for-mozilla-location-service/"
|
||||
die "Please request an API key for your distribution."
|
||||
fi
|
||||
|
||||
meson_src_configure
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue