parent
a58b1034a5
commit
2852c175bd
Binary file not shown.
Binary file not shown.
@ -1,5 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
|
<email>kumba@gentoo.org</email>
|
||||||
|
<name>Joshua Kinard</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<name>Florian Schmaus</name>
|
||||||
|
<email>flow@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=537
|
Binary file not shown.
@ -1,5 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
|
<email>kumba@gentoo.org</email>
|
||||||
|
<name>Joshua Kinard</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<name>Florian Schmaus</name>
|
||||||
|
<email>flow@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
ACCT_USER_ID=537
|
||||||
|
ACCT_USER_GROUPS=( ${PN} dialout )
|
||||||
|
ACCT_USER_HOME=/var/lib/${PN}
|
||||||
|
ACCT_USER_HOME_PERMS=0750
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
@ -1,5 +1,3 @@
|
|||||||
DIST aws-cli-1.32.34.gh.tar.gz 2647696 BLAKE2B e255f5fe68cd9571ea3389f7f9787b95eabd6eab9f9bf196b9e733afecd357e8e68838ae82641c2f41e79595906dda701eaa9f5a109c4a3f86564ec2fb78137b SHA512 9edbde2c2c7aa67d291e3de2046e840b5f90e282e01f8b72412a10ac222e4e916ae384144ddb139b4985d298916507584d60e16cc93df7c927e653423490eb66
|
|
||||||
DIST aws-cli-1.32.39.gh.tar.gz 2649055 BLAKE2B c3fa303dcb3762aced6322643822a09bcbeeb9dd5dac5b9bd1a7a772b413cf021b11831329057d9709c175a9251b11ee62884496ae84d25513aa27ae42d52b21 SHA512 667b61b122d69ceb284c933594508b9b95dfa0924cd771e881d139ddfde74f6fd41b20a8b9aae24cc22c0e9a5b0ec98c9d31a6d7ef125f08cee0b2fcbe41001e
|
DIST aws-cli-1.32.39.gh.tar.gz 2649055 BLAKE2B c3fa303dcb3762aced6322643822a09bcbeeb9dd5dac5b9bd1a7a772b413cf021b11831329057d9709c175a9251b11ee62884496ae84d25513aa27ae42d52b21 SHA512 667b61b122d69ceb284c933594508b9b95dfa0924cd771e881d139ddfde74f6fd41b20a8b9aae24cc22c0e9a5b0ec98c9d31a6d7ef125f08cee0b2fcbe41001e
|
||||||
DIST aws-cli-1.32.44.gh.tar.gz 2650447 BLAKE2B 880877517e3165f30fdcf9295ddc30dc7a127c1cba260fb2ff4c433311f7a7f1e5d221beb47cf008b68efe96a1b087720ae4de7868a90af76a35213eca2754f8 SHA512 9a0d702cf5a2e555118d6cd958c771de35e804add546de2e50bcd499744e43d37e273f543d6b2864635f79f82ce0e6ffc73b977c25304fe9d6aad063216261ee
|
DIST aws-cli-1.32.44.gh.tar.gz 2650447 BLAKE2B 880877517e3165f30fdcf9295ddc30dc7a127c1cba260fb2ff4c433311f7a7f1e5d221beb47cf008b68efe96a1b087720ae4de7868a90af76a35213eca2754f8 SHA512 9a0d702cf5a2e555118d6cd958c771de35e804add546de2e50bcd499744e43d37e273f543d6b2864635f79f82ce0e6ffc73b977c25304fe9d6aad063216261ee
|
||||||
DIST aws-cli-1.32.45.gh.tar.gz 2650722 BLAKE2B 0c797216e8005b03a0e017d1aec4bc56a94a960b9fa9144cb0556b5612bddd53989c028d4c4cd50222d67e788affe0ee4b645f43aaed5377bcc9724b82f9fcd3 SHA512 7a2620670c6cdab9417409c9468c6a3ba28dccfa8b40f3e4e2c727f4d322d97d91d56e126f5660e7f350c8a22107a56dffbef2596c8efb35de188ba71342be70
|
DIST aws-cli-1.32.49.gh.tar.gz 2654398 BLAKE2B fc2e9052b777e1e8bac60621993b55aa01bb0c0e66ad24008498d44b68ecffeaa903d8afd6e361768031c3954e061ed89e24d85fea23454fad8f6d7de4521cfa SHA512 4a5c1d9e92b7e615adb1d6afca0a01a62e55ac4ffd50b9d7634faf0a4e6108c035e78f9f60824bc9a53505ed4a376757ec4c9fc35fb26a2ba8850f7a206919bf
|
||||||
DIST aws-cli-1.32.46.gh.tar.gz 2652291 BLAKE2B 42e85e231c9cde0a0e3ff1083b86230d9c0db70f7a19aabe063251f58e7f18965615e4564fb80ff3319a489b2a53eff47d7c1ce1e2fa8a33affb909f3720cba5 SHA512 f450c2bbeaa8d5dae59a15ee0043451c82df620724787b3365a6680d23158c575083f3b6c8d2b167d5c2b039ecc3484b308d379a6947c84b4756b40aca31fe09
|
|
||||||
|
@ -1,90 +0,0 @@
|
|||||||
# 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,90 +0,0 @@
|
|||||||
# 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 @@
|
|||||||
DIST Bitwarden-2023.12.0-amd64.deb 74637392 BLAKE2B 8220f1ade6367dac71ae35c2610e6026c395af6f0d88437006fb087645aded68977d5627c9ee51a96bf2531b1be5c7f3b32b3af143bcce7fbbdbc2c15edb5b00 SHA512 ca6c242d7e94c929e8267b6e78fac7949d6ccfdc511f7ee7d47627be5d797541e4ff40757616c350ca34416dd0cb789aa95515c4191a0b8cf3824dd930ae7262
|
DIST Bitwarden-2024.2.0-amd64.deb 79917282 BLAKE2B 2066dc71bed9cddbcedccfd9129e3e81ac9f8a71217d2c651fb8a067b3e318574e26104b447a7ccd6734efded64ef3620cf4a7e36f0a577ed98f5468839540cb SHA512 c9394914fd6c82096fc5336e73b539e250727c6917af97961df0bd7de241f955b9eb87da154f32972c73ea1ce59bf0d79660658277185c89e099360ec4c3ea26
|
||||||
DIST Bitwarden-2023.2.0-amd64.deb 70836086 BLAKE2B 84c9bfd58a0b5e1647f8bf6af8e9c0070bb940896161c58bbcf43af03109e6623d741dfe303af84fd2ed98e8c16f95ef9eaa3936b6c39c851d4960ba29d4554e SHA512 19cc12e85c2b4fdff2c52747fcea9cd888040c2d20faa0eaf81237d4ccbe4a0c4ed0df792c6c193768e33329561759357dc333fd05018a00e82bc71a4e8082e8
|
|
||||||
DIST Bitwarden-2023.7.1-amd64.deb 74029276 BLAKE2B 1bf8dcd652271fe4ae794b9b86686de7af1edbb23279fe8ecb49dc409c62dffdf0c34bc9b49792e0a2fcf6dc887fae7c615fa30bbebba458a1cbf3d457b4eb75 SHA512 48a8301cf9824458fff39081b41bc7da208c877966eca4a00f51dd4fba6d0370370fa0edaf557d892533fc43ee2d27277465cb1203a00551428aa5032c6bd2c1
|
|
||||||
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit desktop unpacker xdg-utils
|
|
||||||
|
|
||||||
MY_PN="Bitwarden"
|
|
||||||
|
|
||||||
DESCRIPTION="Bitwarden password manager desktop client"
|
|
||||||
HOMEPAGE="https://bitwarden.com/"
|
|
||||||
SRC_URI="https://github.com/bitwarden/clients/releases/download/desktop-v${PV}/Bitwarden-${PV}-amd64.deb"
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
|| (
|
|
||||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
|
||||||
( app-accessibility/at-spi2-atk dev-libs/atk )
|
|
||||||
)
|
|
||||||
app-crypt/libsecret
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/glib
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
dev-libs/wayland
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/mesa
|
|
||||||
net-print/cups
|
|
||||||
sys-apps/dbus
|
|
||||||
sys-apps/util-linux
|
|
||||||
sys-libs/glibc
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libdrm
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXdamage
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libxkbcommon
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
x11-libs/libXScrnSaver
|
|
||||||
x11-libs/libxshmfence
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-libs/pango
|
|
||||||
"
|
|
||||||
IDEPEND="
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
"
|
|
||||||
|
|
||||||
QA_PREBUILT="
|
|
||||||
opt/Bitwarden/*.so*
|
|
||||||
opt/Bitwarden/bitwarden
|
|
||||||
opt/Bitwarden/chrome-sandbox
|
|
||||||
opt/Bitwarden/chrome_crashpad_handler
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /opt
|
|
||||||
doins -r opt/${MY_PN}
|
|
||||||
fperms 755 /opt/Bitwarden/bitwarden
|
|
||||||
fperms 4755 /opt/Bitwarden/chrome-sandbox
|
|
||||||
|
|
||||||
domenu usr/share/applications/bitwarden.desktop
|
|
||||||
|
|
||||||
local x
|
|
||||||
for x in 16 32 64 128 256 512; do
|
|
||||||
doicon -s ${x} usr/share/icons/hicolor/${x}*/*
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit desktop unpacker xdg-utils
|
|
||||||
|
|
||||||
MY_PN="Bitwarden"
|
|
||||||
|
|
||||||
DESCRIPTION="Bitwarden password manager desktop client"
|
|
||||||
HOMEPAGE="https://bitwarden.com/"
|
|
||||||
SRC_URI="https://github.com/bitwarden/clients/releases/download/desktop-v${PV}/Bitwarden-${PV}-amd64.deb"
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
|| (
|
|
||||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
|
||||||
( app-accessibility/at-spi2-atk dev-libs/atk )
|
|
||||||
)
|
|
||||||
app-crypt/libsecret
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/glib
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
dev-libs/wayland
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/mesa
|
|
||||||
net-print/cups
|
|
||||||
sys-apps/dbus
|
|
||||||
sys-apps/util-linux
|
|
||||||
sys-libs/glibc
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/gtk+:3
|
|
||||||
x11-libs/libdrm
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
x11-libs/libXcursor
|
|
||||||
x11-libs/libXdamage
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXi
|
|
||||||
x11-libs/libxkbcommon
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libXrender
|
|
||||||
x11-libs/libXScrnSaver
|
|
||||||
x11-libs/libxshmfence
|
|
||||||
x11-libs/libXtst
|
|
||||||
x11-libs/pango
|
|
||||||
"
|
|
||||||
IDEPEND="
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
"
|
|
||||||
|
|
||||||
QA_PREBUILT="
|
|
||||||
opt/Bitwarden/*.so*
|
|
||||||
opt/Bitwarden/bitwarden
|
|
||||||
opt/Bitwarden/chrome-sandbox
|
|
||||||
opt/Bitwarden/chrome_crashpad_handler
|
|
||||||
"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /opt
|
|
||||||
doins -r opt/${MY_PN}
|
|
||||||
fperms 755 /opt/Bitwarden/bitwarden
|
|
||||||
fperms 4755 /opt/Bitwarden/chrome-sandbox
|
|
||||||
|
|
||||||
domenu usr/share/applications/bitwarden.desktop
|
|
||||||
|
|
||||||
local x
|
|
||||||
for x in 16 32 64 128 256 512; do
|
|
||||||
doicon -s ${x} usr/share/icons/hicolor/${x}*/*
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
DIST conky-1.19.6.tar.gz 1727487 BLAKE2B 2ef2b0acd354559679b9d7d442de7a709e932418e27459b02bdf2f8b6dbdcf7911964932ab9851bab213e7f68d9a82034acab96892752544ab1a26d68c174c09 SHA512 9f1900f495125c668835334239b69fc098c30fe450a384786d873eb3d3e955ff0f06ca70c3a94f47a4b38a42d4510be77efd13873411f11ff84d8bfdc2869fde
|
DIST conky-1.19.6.tar.gz 1727487 BLAKE2B 2ef2b0acd354559679b9d7d442de7a709e932418e27459b02bdf2f8b6dbdcf7911964932ab9851bab213e7f68d9a82034acab96892752544ab1a26d68c174c09 SHA512 9f1900f495125c668835334239b69fc098c30fe450a384786d873eb3d3e955ff0f06ca70c3a94f47a4b38a42d4510be77efd13873411f11ff84d8bfdc2869fde
|
||||||
|
DIST conky-1.19.7.tar.gz 1725945 BLAKE2B f5e6eb1675a1db25d96f28e10e23b55a2c2560d8854145193d6472b958295ab47015061187f5c5ca2b24573ec0e8574fdd2eab1003ebdb3bd5b74b7b00f68571 SHA512 54041cfa5c1d135d751fe8852523e7ad55815ecc9d9af87251e26edd38801e1e36be2f67b390376015090052f21f6c28992edd551c0dab8ae3c22f8facd3542e
|
||||||
|
@ -0,0 +1,240 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
LUA_COMPAT=( lua5-4 )
|
||||||
|
PYTHON_COMPAT=( python3_{10,11,12} )
|
||||||
|
|
||||||
|
inherit cmake linux-info lua-single python-any-r1 readme.gentoo-r1 xdg
|
||||||
|
|
||||||
|
DESCRIPTION="An advanced, highly configurable system monitor for X"
|
||||||
|
HOMEPAGE="https://github.com/brndnmtthws/conky"
|
||||||
|
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
IUSE="apcupsd bundled-toluapp cmus curl doc extras hddtemp ical iconv imlib
|
||||||
|
intel-backlight iostats irc lua-cairo lua-imlib lua-rsvg math moc mpd
|
||||||
|
mysql ncurses nvidia +portmon pulseaudio rss systemd test thinkpad
|
||||||
|
truetype wayland webserver wifi X xinerama xmms2"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
# Note: toluapp is bundled in conky since 1.11.2
|
||||||
|
# Note: maintainer mode "-DMAINTAINER_MODE=yes" sets CMAKE_BUILD_TYPE Debug
|
||||||
|
# which creates debug symbols and enables "-DBUILD_TESTS" which also
|
||||||
|
# results in conky_core debug library getting installed
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
curl? ( net-misc/curl )
|
||||||
|
ical? ( dev-libs/libical:= )
|
||||||
|
iconv? ( virtual/libiconv )
|
||||||
|
imlib? ( media-libs/imlib2[X] )
|
||||||
|
irc? ( net-libs/libircclient )
|
||||||
|
lua-cairo? ( x11-libs/cairo[X] )
|
||||||
|
lua-imlib? ( media-libs/imlib2[X] )
|
||||||
|
lua-rsvg? ( gnome-base/librsvg )
|
||||||
|
mysql? ( dev-db/mysql-connector-c )
|
||||||
|
ncurses? ( sys-libs/ncurses:= )
|
||||||
|
nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )
|
||||||
|
pulseaudio? ( media-libs/libpulse )
|
||||||
|
rss? (
|
||||||
|
dev-libs/libxml2
|
||||||
|
net-misc/curl
|
||||||
|
dev-libs/glib:2
|
||||||
|
)
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
truetype? (
|
||||||
|
x11-libs/libXft
|
||||||
|
>=media-libs/freetype-2
|
||||||
|
)
|
||||||
|
wayland? (
|
||||||
|
dev-libs/wayland
|
||||||
|
x11-libs/pango
|
||||||
|
)
|
||||||
|
wifi? ( net-wireless/wireless-tools )
|
||||||
|
webserver? ( net-libs/libmicrohttpd:= )
|
||||||
|
X? (
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXdamage
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXext
|
||||||
|
)
|
||||||
|
xinerama? ( x11-libs/libXinerama )
|
||||||
|
xmms2? ( media-sound/xmms2 )
|
||||||
|
${LUA_DEPS}
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
apcupsd? ( sys-power/apcupsd )
|
||||||
|
cmus? ( media-sound/cmus )
|
||||||
|
hddtemp? ( app-admin/hddtemp )
|
||||||
|
moc? ( media-sound/moc )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
test? (
|
||||||
|
dev-cpp/catch
|
||||||
|
)
|
||||||
|
wayland? (
|
||||||
|
dev-libs/wayland-protocols
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
doc? (
|
||||||
|
virtual/pandoc
|
||||||
|
$(python_gen_any_dep '
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
extras? (
|
||||||
|
$(python_gen_any_dep '
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
wayland? ( dev-util/wayland-scanner )
|
||||||
|
"
|
||||||
|
|
||||||
|
python_check_deps() {
|
||||||
|
use doc || use extras || return 0
|
||||||
|
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
|
||||||
|
python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
|
||||||
|
}
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
${LUA_REQUIRED_USE}
|
||||||
|
imlib? ( X )
|
||||||
|
lua-cairo? ( X bundled-toluapp )
|
||||||
|
lua-imlib? ( X bundled-toluapp )
|
||||||
|
lua-rsvg? ( X bundled-toluapp )
|
||||||
|
nvidia? ( X )
|
||||||
|
truetype? ( X )
|
||||||
|
xinerama? ( X )
|
||||||
|
"
|
||||||
|
|
||||||
|
CONFIG_CHECK="~IPV6"
|
||||||
|
|
||||||
|
DOCS=( README.md AUTHORS )
|
||||||
|
|
||||||
|
DISABLE_AUTOFORMATTING="yes"
|
||||||
|
DOC_CONTENTS="You can find sample configurations at /usr/share/doc/${PF}.
|
||||||
|
To customize, copy to \${XDG_CONFIG_HOME}/conky/conky.conf and edit it to your liking.
|
||||||
|
|
||||||
|
There are pretty html docs available at https://conky.cc/.
|
||||||
|
|
||||||
|
Also see https://github.com/brndnmtthws/conky/wiki or https://wiki.gentoo.org/wiki/Conky"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
linux-info_pkg_setup
|
||||||
|
lua-single_pkg_setup
|
||||||
|
if use doc || use extras; then
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# pin lua 5.4
|
||||||
|
sed -i -e 's|Lua "5.3" REQUIRED|Lua "5.4" EXACT|g' \
|
||||||
|
cmake/ConkyPlatformChecks.cmake || die "ConkyPlatformChecks.cmake"
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
xdg_environment_reset
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=()
|
||||||
|
|
||||||
|
if use X; then
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DBUILD_ARGB=yes
|
||||||
|
-DBUILD_X11=yes
|
||||||
|
-DBUILD_XDAMAGE=yes
|
||||||
|
-DBUILD_XDBE=yes
|
||||||
|
-DBUILD_XFIXES=yes
|
||||||
|
-DBUILD_XSHAPE=yes
|
||||||
|
-DBUILD_XINPUT=yes
|
||||||
|
-DBUILD_MOUSE_EVENTS=yes
|
||||||
|
-DOWN_WINDOW=yes
|
||||||
|
)
|
||||||
|
else
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DBUILD_X11=no
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DBUILD_APCUPSD=$(usex apcupsd)
|
||||||
|
-DBUILD_AUDACIOUS=no
|
||||||
|
-DBUILD_BUILTIN_CONFIG=yes
|
||||||
|
-DBUILD_CMUS=$(usex cmus)
|
||||||
|
-DBUILD_CURL=$(usex curl)
|
||||||
|
-DBUILD_DOCS=$(usex doc)
|
||||||
|
-DBUILD_EXTRAS=$(usex extras)
|
||||||
|
-DBUILD_HDDTEMP=$(usex hddtemp)
|
||||||
|
-DBUILD_HTTP=$(usex webserver)
|
||||||
|
-DBUILD_I18N=yes
|
||||||
|
-DBUILD_IBM=$(usex thinkpad)
|
||||||
|
-DBUILD_ICAL=$(usex ical)
|
||||||
|
-DBUILD_ICONV=$(usex iconv)
|
||||||
|
-DBUILD_IMLIB2=$(usex imlib)
|
||||||
|
-DBUILD_INTEL_BACKLIGHT=$(usex intel-backlight)
|
||||||
|
-DBUILD_IOSTATS=$(usex iostats)
|
||||||
|
-DBUILD_IPV6=yes
|
||||||
|
-DBUILD_IRC=$(usex irc)
|
||||||
|
-DBUILD_JOURNAL=$(usex systemd)
|
||||||
|
-DBUILD_LUA_CAIRO=$(usex lua-cairo)
|
||||||
|
-DBUILD_LUA_IMLIB2=$(usex lua-imlib)
|
||||||
|
-DBUILD_LUA_RSVG=$(usex lua-rsvg)
|
||||||
|
-DBUILD_MATH=$(usex math)
|
||||||
|
-DBUILD_MOC=$(usex moc)
|
||||||
|
-DBUILD_MPD=$(usex mpd)
|
||||||
|
-DBUILD_MYSQL=$(usex mysql)
|
||||||
|
-DBUILD_NCURSES=$(usex ncurses)
|
||||||
|
-DBUILD_NVIDIA=$(usex nvidia)
|
||||||
|
-DBUILD_OLD_CONFIG=yes
|
||||||
|
-DBUILD_PORT_MONITORS=$(usex portmon)
|
||||||
|
-DBUILD_PULSEAUDIO=$(usex pulseaudio)
|
||||||
|
-DBUILD_RSS=$(usex rss)
|
||||||
|
-DBUILD_TESTS=$(usex test)
|
||||||
|
-DBUILD_WAYLAND=$(usex wayland)
|
||||||
|
-DBUILD_WLAN=$(usex wifi)
|
||||||
|
-DBUILD_XFT=$(usex truetype)
|
||||||
|
-DBUILD_XINERAMA=$(usex xinerama)
|
||||||
|
-DBUILD_XMMS2=$(usex xmms2)
|
||||||
|
-DDOC_PATH=/usr/share/doc/${PF}
|
||||||
|
-DMAINTAINER_MODE=no
|
||||||
|
-DRELEASE=yes
|
||||||
|
)
|
||||||
|
|
||||||
|
if use doc || use extras; then
|
||||||
|
mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
if use extras; then
|
||||||
|
insinto /usr/share/vim/vimfiles/ftdetect
|
||||||
|
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
|
||||||
|
|
||||||
|
insinto /usr/share/vim/vimfiles/syntax
|
||||||
|
doins "${BUILD_DIR}"/extras/vim/syntax/conkyrc.vim
|
||||||
|
|
||||||
|
insinto /usr/share/nano/
|
||||||
|
doins "${BUILD_DIR}"/extras/nano/conky.nanorc
|
||||||
|
fi
|
||||||
|
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
|
||||||
|
xdg_pkg_postinst
|
||||||
|
}
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="8"
|
|
||||||
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
|
|
||||||
HOMEPAGE="https://www.elastic.co/products/beats"
|
|
||||||
SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
SRC_URI+=" https://media.githubusercontent.com/media/hydrapolic/gentoo-dist/master/filebeat/${P}-deps.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD-2 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~x86"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
S="${WORKDIR}/beats-${PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# avoid Elastic license
|
|
||||||
rm -r x-pack || die
|
|
||||||
|
|
||||||
# use ${PV} instead of git commit id
|
|
||||||
sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -C "${S}/filebeat"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
keepdir /etc/${PN}
|
|
||||||
keepdir /var/{lib,log}/${PN}
|
|
||||||
|
|
||||||
fperms 0750 /var/{lib,log}/${PN}
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
|
|
||||||
|
|
||||||
docinto examples
|
|
||||||
dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
|
|
||||||
|
|
||||||
dobin filebeat/filebeat
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -n "${REPLACING_VERSIONS}" ]]; then
|
|
||||||
elog "Please read the migration guide at:"
|
|
||||||
elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
|
|
||||||
elog ""
|
|
||||||
fi
|
|
||||||
|
|
||||||
elog "Example configurations:"
|
|
||||||
elog "${EROOT}/usr/share/doc/${PF}/examples"
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
FILEBEAT_USER="${FILEBEAT_USER:-root}"
|
|
||||||
FILEBEAT_GROUP="${FILEBEAT_GROUP:-root}"
|
|
||||||
FILEBEAT_CONFIG="${FILEBEAT_CONFIG:-/etc/filebeat/filebeat.yml}"
|
|
||||||
FILEBEAT_DATADIR="${FILEBEAT_DATADIR:-/var/lib/filebeat}"
|
|
||||||
FILEBEAT_LOGDIR="${FILEBEAT_LOGDIR:-/var/log/filebeat}"
|
|
||||||
FILEBEAT_OPTS="${FILEBEAT_OPTS:-}"
|
|
||||||
|
|
||||||
command="/usr/bin/filebeat"
|
|
||||||
command_args="-c ${FILEBEAT_CONFIG} ${FILEBEAT_OPTS} -path.config $(dirname $FILEBEAT_CONFIG) \
|
|
||||||
-path.data ${FILEBEAT_DATADIR} -path.home ${FILEBEAT_DATADIR} -path.logs ${FILEBEAT_LOGDIR}"
|
|
||||||
command_background="true"
|
|
||||||
command_user="${FILEBEAT_USER}:${FILEBEAT_GROUP}"
|
|
||||||
extra_commands="checkconfig"
|
|
||||||
pidfile="/run/filebeat.pid"
|
|
||||||
retry="TERM/5/KILL/5"
|
|
||||||
start_stop_daemon_args="--chdir ${FILEBEAT_DATADIR}"
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
use net
|
|
||||||
after elasticsearch
|
|
||||||
}
|
|
||||||
|
|
||||||
checkconfig() {
|
|
||||||
if [ ! -e ${FILEBEAT_CONFIG} ]; then
|
|
||||||
eend "Please create a configuration file at ${FILEBEAT_CONFIG}"
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ebegin "Checking your configuration"
|
|
||||||
${command} ${command_args} -configtest
|
|
||||||
eend $? "Configuration error. Please fix your configuration files."
|
|
||||||
}
|
|
||||||
|
|
||||||
start_pre() {
|
|
||||||
checkconfig || return 1
|
|
||||||
|
|
||||||
checkpath -d -o "${FILEBEAT_USER}":"${FILEBEAT_GROUP}" -m750 "${FILEBEAT_DATADIR}"
|
|
||||||
checkpath -d -o "${FILEBEAT_USER}":"${FILEBEAT_GROUP}" -m750 "${FILEBEAT_LOGDIR}"
|
|
||||||
}
|
|
@ -1,5 +1 @@
|
|||||||
DIST mkosi-15.1.tar.gz 120606 BLAKE2B 36171c08c18dd3ba3c2e54c8a3374fad2a9b008f8253e6cd57cedf7b7e8216b6610b30f9f46aa634de62ebf257d1e8eff94a83b07c027708e4875e24bc0a8305 SHA512 3b65c6b964aa2bde12117b7b2c3e4be0ac72036a92a115f1e93e7be0b3b0aa0bd3adb753ee49865723a9bc677bc4492416caafff4fec3ffd942de78357c11608
|
|
||||||
DIST mkosi-17.1.tar.gz 133505 BLAKE2B 96824568dd53cd83a1f8b95072c750e1a0bbd06356df19c62ea9799a5d8f1b2e55f108a3ec3cf171f5dfdefcc1ac5bc86785a60d80def38a5e1817b91f1d9486 SHA512 59988a6a81c0456df6fa9673032d1e25c5cc382b45fd0299c974559d573279c4c38f5600b4e14a71ecdaa013d9b97b90cc815b3b601a7dd061924519cd8b76bf
|
|
||||||
DIST mkosi-19.tar.gz 163864 BLAKE2B c97a0a2139c036b727d0cdd6686a7fa5393f62357d87b988f0a1a473367eb552de1ed6f82c1ca99c697ef72acb2fdf6aef7981bfa8dd5c6230b82ba84cbcfb7e SHA512 8eb4e4af823299fdd6e9a077ec27be029656974ba0414b08ef226b5ccf7cd0a92d8bef4e475cdf05b86c3a0027c43be0f895af56a87df22502d2904cb0246ef4
|
|
||||||
DIST mkosi-20.1.tar.gz 195875 BLAKE2B 55a508849ef5c1ef60681635e8e4d396587c11d735c23ba8f1b3367c30d8cf8a9cc479959ec2c43d1697fe9d34da281b574a6cf11c786e6c7926e60537aab5d2 SHA512 5d5631bb062fc11593c450a9f5e4ece51a87daf37948b24410d6fdf8bf9e9366b7510c3512ba55ec72b280e8c92b2b36bf7d7f30e9357f7427cd9126fcec566f
|
|
||||||
DIST mkosi-20.2.tar.gz 198966 BLAKE2B 1ab2332427d205871adea24ddd50c41e716801dd320f17167dc2e990d449084d59fc58efb20de01a80d438ce85b900f9752f9acc2372a5d5e8ccead0d371b9ed SHA512 62095d81f21d18a1b7f25c73ea2989f9f5b8fe1e335185b3ce6774af2739df9124ca8f5860514a8f570d565ffbf07edf3abc53a0622059127f5c35ed23bd8f65
|
DIST mkosi-20.2.tar.gz 198966 BLAKE2B 1ab2332427d205871adea24ddd50c41e716801dd320f17167dc2e990d449084d59fc58efb20de01a80d438ce85b900f9752f9acc2372a5d5e8ccead0d371b9ed SHA512 62095d81f21d18a1b7f25c73ea2989f9f5b8fe1e335185b3ce6774af2739df9124ca8f5860514a8f570d565ffbf07edf3abc53a0622059127f5c35ed23bd8f65
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 2021-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="Build Bespoke OS Images"
|
|
||||||
HOMEPAGE="https://github.com/systemd/mkosi"
|
|
||||||
SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
RDEPEND="
|
|
||||||
app-emulation/qemu
|
|
||||||
sys-apps/bubblewrap
|
|
||||||
sys-apps/systemd
|
|
||||||
sys-firmware/edk2-ovmf"
|
|
||||||
BDEPEND="virtual/pandoc"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
distutils-r1_src_compile
|
|
||||||
|
|
||||||
./tools/make-man-page.sh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
|
|
||||||
doman mkosi/resources/mkosi.1
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "For debian support: " dev-util/debootstrap
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 2021-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="Build Bespoke OS Images"
|
|
||||||
HOMEPAGE="https://github.com/systemd/mkosi"
|
|
||||||
SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
RDEPEND="
|
|
||||||
app-emulation/qemu
|
|
||||||
sys-apps/bubblewrap
|
|
||||||
>=sys-apps/systemd-254
|
|
||||||
sys-firmware/edk2-ovmf"
|
|
||||||
BDEPEND="virtual/pandoc"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
distutils-r1_src_compile
|
|
||||||
|
|
||||||
./tools/make-man-page.sh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
|
|
||||||
doman mkosi/resources/mkosi.1
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "For debian support: " dev-util/debootstrap
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 2021-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="Build Bespoke OS Images"
|
|
||||||
HOMEPAGE="https://github.com/systemd/mkosi"
|
|
||||||
SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
RDEPEND="
|
|
||||||
app-emulation/qemu
|
|
||||||
sys-apps/bubblewrap
|
|
||||||
>=sys-apps/systemd-254
|
|
||||||
sys-firmware/edk2-ovmf"
|
|
||||||
BDEPEND="virtual/pandoc"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
distutils-r1_src_compile
|
|
||||||
|
|
||||||
./tools/make-man-page.sh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
|
|
||||||
doman mkosi/resources/mkosi.1
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "For debian support: " dev-util/debootstrap
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 2021-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="Build Bespoke OS Images"
|
|
||||||
HOMEPAGE="https://github.com/systemd/mkosi"
|
|
||||||
SRC_URI="https://github.com/systemd/mkosi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
RDEPEND="
|
|
||||||
app-emulation/qemu
|
|
||||||
sys-apps/bubblewrap
|
|
||||||
>=sys-apps/systemd-254
|
|
||||||
sys-firmware/edk2-ovmf"
|
|
||||||
BDEPEND="virtual/pandoc"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
distutils-r1_src_compile
|
|
||||||
|
|
||||||
./tools/make-man-page.sh || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
|
|
||||||
doman mkosi/resources/mkosi.1
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "For debian support: " dev-util/debootstrap
|
|
||||||
}
|
|
@ -0,0 +1,194 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..12} )
|
||||||
|
inherit autotools python-single-r1 systemd
|
||||||
|
|
||||||
|
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||||
|
HOMEPAGE="https://www.syslog-ng.com/products/open-source-log-management/"
|
||||||
|
SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
IUSE="amqp caps dbi geoip2 grpc http json kafka mongodb mqtt pacct python redis smtp snmp test spoof-source systemd tcpd"
|
||||||
|
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
test? ( python )"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.10.1:2
|
||||||
|
>=dev-libs/ivykis-0.42.4
|
||||||
|
>=dev-libs/libpcre2-10.0
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
!dev-libs/eventlog
|
||||||
|
amqp? ( >=net-libs/rabbitmq-c-0.8.0:=[ssl] )
|
||||||
|
caps? ( sys-libs/libcap )
|
||||||
|
dbi? ( >=dev-db/libdbi-0.9.0 )
|
||||||
|
geoip2? ( dev-libs/libmaxminddb:= )
|
||||||
|
grpc? (
|
||||||
|
dev-libs/protobuf:=
|
||||||
|
net-libs/grpc:=
|
||||||
|
)
|
||||||
|
http? ( net-misc/curl )
|
||||||
|
json? ( >=dev-libs/json-c-0.9:= )
|
||||||
|
kafka? ( >=dev-libs/librdkafka-1.0.0:= )
|
||||||
|
mongodb? ( >=dev-libs/mongo-c-driver-1.2.0 )
|
||||||
|
mqtt? ( net-libs/paho-mqtt-c:1.3 )
|
||||||
|
python? (
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||||
|
smtp? ( net-libs/libesmtp:= )
|
||||||
|
snmp? ( net-analyzer/net-snmp:0= )
|
||||||
|
spoof-source? ( net-libs/libnet:1.1 )
|
||||||
|
systemd? ( sys-apps/systemd:= )
|
||||||
|
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( dev-libs/criterion )"
|
||||||
|
BDEPEND="
|
||||||
|
>=sys-devel/bison-3.7.6
|
||||||
|
sys-devel/flex
|
||||||
|
virtual/pkgconfig
|
||||||
|
grpc? ( dev-libs/protobuf:= )"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf.{HP-UX,RedHat,SunOS,doc}
|
||||||
|
contrib/syslog2ng "${T}/syslog-ng.conf.gentoo.hardened"
|
||||||
|
"${T}/syslog-ng.logrotate.hardened" "${FILESDIR}/README.hardened" )
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-3.28.1-net-snmp.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local f
|
||||||
|
|
||||||
|
# disable python-modules test as it requires additional python modules not
|
||||||
|
# packaged in Gentoo
|
||||||
|
sed -i '/MAKE/s/.*/exit 0/g' modules/python-modules/test_pymodules.sh || die
|
||||||
|
|
||||||
|
use python && python_fix_shebang .
|
||||||
|
|
||||||
|
# remove bundled libs
|
||||||
|
rm -r lib/ivykis || die
|
||||||
|
|
||||||
|
# drop scl modules requiring json
|
||||||
|
if use !json; then
|
||||||
|
sed -i -r '/cim|elasticsearch|ewmm|graylog2|loggly|logmatic|netskope|nodejs|osquery|slack/d' scl/Makefile.am || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# drop scl modules requiring http
|
||||||
|
if use !http; then
|
||||||
|
sed -i -r '/slack|telegram/d' scl/Makefile.am || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# use gentoo default path
|
||||||
|
if use systemd; then
|
||||||
|
sed -e 's@/etc/syslog-ng.conf@/etc/syslog-ng/syslog-ng.conf@g;s@/var/run@/run@g' \
|
||||||
|
-i contrib/systemd/syslog-ng@default || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
for f in syslog-ng.logrotate.hardened.in syslog-ng.logrotate.in; do
|
||||||
|
sed \
|
||||||
|
-e "s#@GENTOO_RESTART@#$(usex systemd "systemctl kill -s HUP syslog-ng@default" \
|
||||||
|
"/etc/init.d/syslog-ng reload")#g" \
|
||||||
|
"${FILESDIR}/${f}" > "${T}/${f/.in/}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
for f in syslog-ng.conf.gentoo.hardened.in-r1 \
|
||||||
|
syslog-ng.conf.gentoo.in-r1; do
|
||||||
|
sed -e "s/@SYSLOGNG_VERSION@/$(ver_cut 1-2)/g" "${FILESDIR}/${f}" > "${T}/${f/.in-r1/}" || die
|
||||||
|
done
|
||||||
|
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Needs bison/flex.
|
||||||
|
unset YACC LEX
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--disable-docs
|
||||||
|
--disable-java
|
||||||
|
--disable-java-modules
|
||||||
|
--disable-riemann
|
||||||
|
--enable-ipv6
|
||||||
|
--enable-manpages
|
||||||
|
--localstatedir=/var/lib/syslog-ng
|
||||||
|
--sysconfdir=/etc/syslog-ng
|
||||||
|
--with-embedded-crypto
|
||||||
|
--with-ivykis=system
|
||||||
|
--with-module-dir=/usr/$(get_libdir)/syslog-ng
|
||||||
|
--with-pidfile-dir=/var/run
|
||||||
|
--with-python-packages=none
|
||||||
|
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
$(use_enable amqp)
|
||||||
|
$(use_with amqp librabbitmq-client system)
|
||||||
|
$(use_enable caps linux-caps)
|
||||||
|
$(use_enable dbi sql)
|
||||||
|
$(use_enable geoip2)
|
||||||
|
$(use_enable grpc)
|
||||||
|
$(use_enable grpc cpp)
|
||||||
|
$(use_enable http)
|
||||||
|
$(use_enable json)
|
||||||
|
$(use_enable kafka)
|
||||||
|
$(use_enable mongodb)
|
||||||
|
$(use_enable mqtt)
|
||||||
|
$(usex mongodb --with-mongoc=system "--without-mongoc --disable-legacy-mongodb-options")
|
||||||
|
$(use_enable pacct)
|
||||||
|
$(use_enable python)
|
||||||
|
$(use_enable redis)
|
||||||
|
$(use_enable smtp)
|
||||||
|
$(use_enable snmp afsnmp)
|
||||||
|
$(use_enable spoof-source)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(use_enable tcpd tcp-wrapper)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Install default configuration
|
||||||
|
insinto /etc/default
|
||||||
|
doins contrib/systemd/syslog-ng@default
|
||||||
|
|
||||||
|
insinto /etc/syslog-ng
|
||||||
|
newins "${T}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${T}/syslog-ng.logrotate" syslog-ng
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}/syslog-ng.rc" syslog-ng
|
||||||
|
newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng
|
||||||
|
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
use python && python_optimize
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# bug #355257
|
||||||
|
if ! has_version app-admin/logrotate ; then
|
||||||
|
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||||
|
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||||
|
elog "for logrotate to use."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use systemd; then
|
||||||
|
ewarn "The service file for systemd has changed to support multiple instances."
|
||||||
|
ewarn "To start the default instance issue:"
|
||||||
|
ewarn "# systemctl start syslog-ng@default"
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST lrzip-next-0.12.6.tar.gz 600081 BLAKE2B 952b3aefcf424b4626f14caaefc7b160a271330903227207cec249306750dfd24097abfdae159d82dc86e08711f51789ca72bcc66b6d7f4bdd9b892133759dae SHA512 768edaa4059e7a5561a738779cca5e5c46525c0a3f5888fc4e730fe6664f390fa8409060c86076b4b4cc327e317c37d59d557a55db67d97d39da6369788763c8
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="Fork of Con Kolivas' lrzip program for compressing large files"
|
||||||
|
HOMEPAGE="https://github.com/pete4abw/lrzip-next"
|
||||||
|
SRC_URI="https://github.com/pete4abw/lrzip-next/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="static-libs year2038"
|
||||||
|
|
||||||
|
RDEPEND="app-arch/bzip2
|
||||||
|
app-arch/bzip3
|
||||||
|
app-arch/lz4
|
||||||
|
app-arch/zstd
|
||||||
|
dev-libs/lzo
|
||||||
|
sys-libs/zlib"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="dev-perl/Pod-Parser
|
||||||
|
amd64? ( dev-lang/nasm )
|
||||||
|
x86? ( dev-lang/nasm )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# ASM optimizations are only available on amd64 and x86
|
||||||
|
local asm=no
|
||||||
|
if use amd64 || use x86; then
|
||||||
|
asm=yes
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf \
|
||||||
|
$(use_enable static-libs static) \
|
||||||
|
$(use_enable year2038) \
|
||||||
|
--enable-asm=${asm}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>kumba@gentoo.org</email>
|
||||||
|
<name>Joshua Kinard</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>
|
||||||
|
A fork of Con Kolivas' 'lrzip' program that is actively maintained. Lrzip
|
||||||
|
is a compression program optimised for large files. The larger the file and
|
||||||
|
the more memory you have, the better the compression advantage this will
|
||||||
|
provide, especially once the files are larger than 100MB. The advantage can
|
||||||
|
be chosen to be either size (much smaller than bzip2) or speed (much faster
|
||||||
|
than bzip2).
|
||||||
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">pete4abw/lrzip-next</remote-id>
|
||||||
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="year2038">Enables support for timestamps after the year 2038</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
@ -1,2 +1,2 @@
|
|||||||
DIST lxqt-archiver-0.8.0.tar.xz 181572 BLAKE2B 7bbd2b229cd8c546c86d742c13dac4bd00e24e85a146879290652a9ae41c9ced621738d06284fe285c81f2d5f8e43a5126b9bc61e286342cfb9d7fa935c330ee SHA512 70266581478e75505f708eccee4fd1680c1ff012dd4e99138d0c2d17fb8dfab24d9d5e5453d5d4a3f7a9b8437e8a980c3edf190f3e319400c46a655ba7db4898
|
|
||||||
DIST lxqt-archiver-0.9.0.tar.xz 183352 BLAKE2B 60443b7f4407b85bc1233f00ad2e46861c17281331d3b611021ca14be2e159befa0c8303d51b9021d35aa246d4fd9138ceb4f4b19cd6143438f8c3b976f9c40d SHA512 42ee097ae7fb17dbd00d9b94e8673664911c73bb5f353d08177c78d548eb24c39aa1daf57347eeefcb46ec63a8702c37f63ca2b42fd22bc85aed8f7a41585f3c
|
DIST lxqt-archiver-0.9.0.tar.xz 183352 BLAKE2B 60443b7f4407b85bc1233f00ad2e46861c17281331d3b611021ca14be2e159befa0c8303d51b9021d35aa246d4fd9138ceb4f4b19cd6143438f8c3b976f9c40d SHA512 42ee097ae7fb17dbd00d9b94e8673664911c73bb5f353d08177c78d548eb24c39aa1daf57347eeefcb46ec63a8702c37f63ca2b42fd22bc85aed8f7a41585f3c
|
||||||
|
DIST lxqt-archiver-0.9.1.tar.xz 186600 BLAKE2B 365b849578f9f663ed7628c52c4c7205af10ea255dd131a94a6960c581111e02fedee01be0bd674d1ef71c9648cc5a58de1b548c972eb415cfae990e7045cfb4 SHA512 fd7862c85f6f93c870a4b28d2ed3705fcc0431e9b4d887f4fab6d860eddc5fe99d8a4c2f7cd2957c34d72b74a11b8eec49bbcca40dfee11f20f6a39f37e9ee00
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
DIST lzlib-1.13.tar.gz 130005 BLAKE2B 88721890f111c2bb1901329e9cc39e7f581c220bb58bbc93098c34984b7557a80adff236f5755057099870ba20201f6b692925080b97965b4612d221d21cb33c SHA512 b9c4e5a9aca982984b497d1da2e1f0439b37b19acaf88a02f5af114b0a65a828c5ae235b3bd4f419ce001963de38a4d03445a6a1bd93f37e783e799abd75578d
|
|
||||||
DIST lzlib-1.13.tar.gz.sig 72 BLAKE2B 66d7a9939a5e23874a6927545f265cf315d634a166d7f22cbe4f09ab88dbae778aa9c6f77e6d5e51fbaadc9a503f735fb2bc834475089a6046782f9af22b472f SHA512 1db7a91b3a84d70874c0ec92b2764ab6805e20a351438b975f4e72dd6a1dbe5a4448d47af2bb6d056bde9c6102df375454724d536efbdaa90cd7dbf08eb01c81
|
|
||||||
DIST lzlib-1.14.tar.gz 131624 BLAKE2B d975fece48d92be354202581a5be5c709b8acdbb41b3782ec0a79939278ada42aa6765bcef7a1cb70bfb7808b8a88d5e6ed48924f13fcc291a4a0d2057f0f4bf SHA512 1582b99149af18ea119f015a9dbf224aa2ebc78240432415b2da20bd5a4e4dc3fdea2489789bc581bdccdba6f4eab13c69c5801e8a43ab9a829c2eb9b801797f
|
DIST lzlib-1.14.tar.gz 131624 BLAKE2B d975fece48d92be354202581a5be5c709b8acdbb41b3782ec0a79939278ada42aa6765bcef7a1cb70bfb7808b8a88d5e6ed48924f13fcc291a4a0d2057f0f4bf SHA512 1582b99149af18ea119f015a9dbf224aa2ebc78240432415b2da20bd5a4e4dc3fdea2489789bc581bdccdba6f4eab13c69c5801e8a43ab9a829c2eb9b801797f
|
||||||
DIST lzlib-1.14.tar.gz.sig 72 BLAKE2B 104d914d4b85bab0457017ab5663962ac1573dac421e11a94eaa9e77f6338501c96444d45e1e4101e9ea48409c2b30037a7b07c2a188cff6fcf47c6d067d1398 SHA512 852ebd4a460021e642a673a8c6d88b25a2b45dff4a45f7ccfc6bbb531be3c967b8e01308aa35088c843002561c1c4b813a47ff4b0fd4417ebf12f188af8d36be
|
DIST lzlib-1.14.tar.gz.sig 72 BLAKE2B 104d914d4b85bab0457017ab5663962ac1573dac421e11a94eaa9e77f6338501c96444d45e1e4101e9ea48409c2b30037a7b07c2a188cff6fcf47c6d067d1398 SHA512 852ebd4a460021e642a673a8c6d88b25a2b45dff4a45f7ccfc6bbb531be3c967b8e01308aa35088c843002561c1c4b813a47ff4b0fd4417ebf12f188af8d36be
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/antoniodiazdiaz.asc
|
|
||||||
inherit toolchain-funcs verify-sig
|
|
||||||
|
|
||||||
DESCRIPTION="Library for lzip compression"
|
|
||||||
HOMEPAGE="https://www.nongnu.org/lzip/lzlib.html"
|
|
||||||
SRC_URI="https://download.savannah.gnu.org/releases/lzip/${PN}/${P}.tar.gz"
|
|
||||||
SRC_URI+=" verify-sig? ( https://download.savannah.gnu.org/releases/lzip/${PN}/${P/_/-}.tar.gz.sig )"
|
|
||||||
|
|
||||||
LICENSE="libstdc++" # fancy form of GPL-2+ with library exception
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
||||||
|
|
||||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--enable-shared
|
|
||||||
--disable-static
|
|
||||||
--disable-ldconfig
|
|
||||||
--prefix="${EPREFIX}"/usr
|
|
||||||
--libdir='$(prefix)'/$(get_libdir)
|
|
||||||
AR="$(tc-getAR)"
|
|
||||||
CC="$(tc-getCC)"
|
|
||||||
CFLAGS="${CFLAGS}"
|
|
||||||
CPPFLAGS="${CPPFLAGS}"
|
|
||||||
LDFLAGS="${LDFLAGS}"
|
|
||||||
)
|
|
||||||
|
|
||||||
# not autotools-based
|
|
||||||
./configure "${myconf[@]}" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install install-man
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST torrentzip-0.9.tar.gz 59007 BLAKE2B eb5d7d8d9026115367afd88ef0cf33d2eed600e6eaa773f039a713c76a48a39e12cb5a8ac6faf2937d3563c9270029543bdb6361d2f22a39e2341953872f589c SHA512 691cd25f501de3de16b5b15b2afadfc34b833c3e93208c2c3497674936580ad2c3532a02e02531b89974302eee7b36f7579a412718914b1b38044b78a39a4d4d
|
DIST torrentzip-0.9.tar.gz 59007 BLAKE2B eb5d7d8d9026115367afd88ef0cf33d2eed600e6eaa773f039a713c76a48a39e12cb5a8ac6faf2937d3563c9270029543bdb6361d2f22a39e2341953872f589c SHA512 691cd25f501de3de16b5b15b2afadfc34b833c3e93208c2c3497674936580ad2c3532a02e02531b89974302eee7b36f7579a412718914b1b38044b78a39a4d4d
|
||||||
DIST trrntzip-1.0.tar.gz 57643 BLAKE2B 45d4df51f26538b64c70f7310851954995f5d30dcae85b15e702c7518f6a2c4dbebf13ff2746028357dfc9f4c49fd095affb59b893746a4e6bf9b5f9dcd1814a SHA512 4624697528385cb85c9688dbfe56e039ca2d87e28dfdc9b299cb88fb2c7c34c664b58e473a7519ee4ecd89baea5f1369cd719c289e884ad19569d4c69d9a40ab
|
DIST trrntzip-1.2.tar.gz 62707 BLAKE2B 289ddfe89b91c63b1a6902ea7a4055fa8e235e712d6ea911da2848cc8db15cbdf712967b9fcc1414513c1a18eef160108f5f7b03aefd8f8f18c4d04907a16c17 SHA512 90c853efde1d077c741206362bc14fe779627f1b20571246e99ed29980840e78c0377110431c59c35596a0d209e612f6fe77b385707eb4bdb1ea47bb797c9272
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
DIST unp_2.0.tar.xz 19252 BLAKE2B d807cdae6cccd846b3d138b7060b17f37f6f6962e2dd75400e86f0fd8f7f4721afbf29509dfce16beb5dac66996df45cc146d72312f859999f33d435f66890d5 SHA512 bdb2059aa3f1872efd49eb6c8e2fa3a09c05d9e1c26abdcfc4e728699c25a132ea610525461e94183263086756e9b60daeb5cecf69533578d01ab1a37b0af744
|
||||||
DIST unp_2.0~pre10.tar.xz 17992 BLAKE2B 63d8c995091a1342677b6aed5854293c582cb6d42c6748ef3d92347ca75e1d3e9e5b128309299ec0b6fc0361bc14dededcc8e290fe8721aecfe82665e07998e9 SHA512 3f8f9f20eef88658b4b00efd37208d859fb3220178f9446696f755a864fea3c3dd301100668bd9c97ca9312ebe961aaf9ec523d8817b8aacb5a1ee6a36213666
|
DIST unp_2.0~pre10.tar.xz 17992 BLAKE2B 63d8c995091a1342677b6aed5854293c582cb6d42c6748ef3d92347ca75e1d3e9e5b128309299ec0b6fc0361bc14dededcc8e290fe8721aecfe82665e07998e9 SHA512 3f8f9f20eef88658b4b00efd37208d859fb3220178f9446696f755a864fea3c3dd301100668bd9c97ca9312ebe961aaf9ec523d8817b8aacb5a1ee6a36213666
|
||||||
DIST unp_2.0~pre9.tar.xz 16424 BLAKE2B 9042f48be0f80d5e40a08161a35c282ba458dc98cf13992835bdeecebd5fbadd33b3af9165738332cb9f508550a234a48d314332f00ecdacc808a8051eb0740b SHA512 74c9a6e143c9023bdd456dacff5c3a6e30722e259f324c066fe3eed9e4a09c38b399b381719c8677c2fa84434c1e7720384d782d97c098fa6fbcbdbf4030986e
|
DIST unp_2.0~pre9.tar.xz 16424 BLAKE2B 9042f48be0f80d5e40a08161a35c282ba458dc98cf13992835bdeecebd5fbadd33b3af9165738332cb9f508550a234a48d314332f00ecdacc808a8051eb0740b SHA512 74c9a6e143c9023bdd456dacff5c3a6e30722e259f324c066fe3eed9e4a09c38b399b381719c8677c2fa84434c1e7720384d782d97c098fa6fbcbdbf4030986e
|
||||||
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit bash-completion-r1 strip-linguas
|
||||||
|
|
||||||
|
DESCRIPTION="Script for unpacking various file formats"
|
||||||
|
HOMEPAGE="https://packages.qa.debian.org/u/unp.html"
|
||||||
|
SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${PV}.tar.xz"
|
||||||
|
S="${WORKDIR}/${P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||||
|
IUSE="nls test"
|
||||||
|
|
||||||
|
DEPEND="nls? ( sys-devel/gettext )
|
||||||
|
test? ( app-arch/lzop
|
||||||
|
app-arch/lzip
|
||||||
|
app-arch/zstd )"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
dev-lang/perl"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if use nls; then
|
||||||
|
strip-linguas -i .
|
||||||
|
if [ -n "$LINGUAS" ]; then
|
||||||
|
emake -C po MOFILES="${LINGUAS// /.po }.po"
|
||||||
|
else
|
||||||
|
emake -C po
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin unp
|
||||||
|
dosym unp /usr/bin/ucat
|
||||||
|
doman debian/unp.1
|
||||||
|
dodoc debian/changelog debian/README.Debian
|
||||||
|
newbashcomp debian/unp.bash-completion unp
|
||||||
|
|
||||||
|
if use nls; then
|
||||||
|
if [ -n "$LINGUAS" ]; then
|
||||||
|
emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install
|
||||||
|
else
|
||||||
|
emake -C po DESTDIR="${D}" install
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
@ -1,140 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
# Remember: we cannot leverage autotools in this ebuild in order
|
|
||||||
# to avoid circular deps with autotools
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit flag-o-matic libtool multilib multilib-minimal preserve-libs toolchain-funcs
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
|
||||||
# Per tukaani.org, git.tukaani.org is a mirror of github and
|
|
||||||
# may be behind.
|
|
||||||
EGIT_REPO_URI="
|
|
||||||
https://github.com/tukaani-project/xz
|
|
||||||
https://git.tukaani.org/xz.git
|
|
||||||
"
|
|
||||||
inherit git-r3 autotools
|
|
||||||
|
|
||||||
# bug #272880 and bug #286068
|
|
||||||
BDEPEND="sys-devel/gettext >=dev-build/libtool-2"
|
|
||||||
else
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jiatan.asc
|
|
||||||
inherit verify-sig
|
|
||||||
|
|
||||||
MY_P="${PN/-utils}-${PV/_}"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz
|
|
||||||
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
|
|
||||||
https://tukaani.org/xz/${MY_P}.tar.gz
|
|
||||||
verify-sig? (
|
|
||||||
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz.sig
|
|
||||||
https://tukaani.org/xz/${MY_P}.tar.gz.sig
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Utils for managing LZMA compressed files"
|
|
||||||
HOMEPAGE="https://tukaani.org/xz/"
|
|
||||||
|
|
||||||
# See top-level COPYING file as it outlines the various pieces and their licenses.
|
|
||||||
LICENSE="public-domain LGPL-2.1+ GPL-2+ doc? ( CC-BY-SA-4.0 )"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc +extra-filters pgo nls static-libs"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]] ; then
|
|
||||||
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-jiatan )"
|
|
||||||
fi
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
|
||||||
eautopoint
|
|
||||||
eautoreconf
|
|
||||||
else
|
|
||||||
# Allow building shared libs on Solaris/x64
|
|
||||||
elibtoolize
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--enable-threads
|
|
||||||
$(multilib_native_use_enable doc)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! multilib_is_native_abi ; then
|
|
||||||
myconf+=(
|
|
||||||
--disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use extra-filters ; then
|
|
||||||
myconf+=(
|
|
||||||
# LZMA1 + LZMA2 for standard .lzma & .xz files
|
|
||||||
--enable-encoders=lzma1,lzma2
|
|
||||||
--enable-decoders=lzma1,lzma2
|
|
||||||
|
|
||||||
# those are used by default, depending on preset
|
|
||||||
--enable-match-finders=hc3,hc4,bt4
|
|
||||||
|
|
||||||
# CRC64 is used by default, though some (old?) files use CRC32
|
|
||||||
--enable-checks=crc32,crc64
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
|
||||||
export gl_cv_posix_shell="${EPREFIX}"/bin/sh
|
|
||||||
|
|
||||||
# Undo Solaris-based defaults pointing to /usr/xpg5/bin
|
|
||||||
myconf+=( --disable-path-for-script )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
# -fprofile-partial-training because upstream note the test suite isn't super comprehensive
|
|
||||||
# See https://documentation.suse.com/sbp/all/html/SBP-GCC-10/index.html#sec-gcc10-pgo
|
|
||||||
local pgo_generate_flags=$(usev pgo "-fprofile-update=atomic -fprofile-dir=${T}/${ABI}-pgo -fprofile-generate=${T}/${ABI}-pgo $(test-flags-CC -fprofile-partial-training)")
|
|
||||||
local pgo_use_flags=$(usev pgo "-fprofile-use=${T}/${ABI}-pgo -fprofile-dir=${T}/${ABI}-pgo $(test-flags-CC -fprofile-partial-training)")
|
|
||||||
|
|
||||||
emake CFLAGS="${CFLAGS} ${pgo_generate_flags}"
|
|
||||||
|
|
||||||
if use pgo ; then
|
|
||||||
emake CFLAGS="${CFLAGS} ${pgo_generate_flags}" -k check
|
|
||||||
|
|
||||||
if tc-is-clang; then
|
|
||||||
llvm-profdata merge "${T}"/${ABI}-pgo --output="${T}"/${ABI}-pgo/default.profdata || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake clean
|
|
||||||
emake CFLAGS="${CFLAGS} ${pgo_use_flags}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
find "${ED}" -type f -name '*.la' -delete || die
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
|
|
||||||
}
|
|
Binary file not shown.
@ -1,164 +0,0 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
CRATES="
|
|
||||||
aardvark-dns-1.6.0
|
|
||||||
android_system_properties-0.1.5
|
|
||||||
anyhow-1.0.70
|
|
||||||
async-broadcast-0.5.1
|
|
||||||
async-trait-0.1.56
|
|
||||||
atty-0.2.14
|
|
||||||
autocfg-1.1.0
|
|
||||||
bitflags-1.3.2
|
|
||||||
bumpalo-3.10.0
|
|
||||||
bytes-1.1.0
|
|
||||||
cc-1.0.76
|
|
||||||
cfg-if-1.0.0
|
|
||||||
chrono-0.4.24
|
|
||||||
clap-3.2.23
|
|
||||||
clap_derive-3.2.18
|
|
||||||
clap_lex-0.2.4
|
|
||||||
codespan-reporting-0.11.1
|
|
||||||
core-foundation-sys-0.8.3
|
|
||||||
cxx-1.0.81
|
|
||||||
cxx-build-1.0.81
|
|
||||||
cxxbridge-flags-1.0.81
|
|
||||||
cxxbridge-macro-1.0.81
|
|
||||||
data-encoding-2.3.2
|
|
||||||
endian-type-0.1.2
|
|
||||||
enum-as-inner-0.5.1
|
|
||||||
error-chain-0.12.4
|
|
||||||
event-listener-2.5.2
|
|
||||||
form_urlencoded-1.0.1
|
|
||||||
futures-channel-0.3.21
|
|
||||||
futures-core-0.3.28
|
|
||||||
futures-executor-0.3.21
|
|
||||||
futures-io-0.3.21
|
|
||||||
futures-task-0.3.28
|
|
||||||
futures-util-0.3.28
|
|
||||||
getrandom-0.2.7
|
|
||||||
hashbrown-0.12.2
|
|
||||||
heck-0.4.0
|
|
||||||
hermit-abi-0.1.19
|
|
||||||
hostname-0.3.1
|
|
||||||
iana-time-zone-0.1.53
|
|
||||||
iana-time-zone-haiku-0.1.1
|
|
||||||
idna-0.2.3
|
|
||||||
indexmap-1.9.1
|
|
||||||
ipnet-2.5.0
|
|
||||||
itoa-1.0.2
|
|
||||||
js-sys-0.3.59
|
|
||||||
lazy_static-1.4.0
|
|
||||||
libc-0.2.140
|
|
||||||
link-cplusplus-1.0.7
|
|
||||||
log-0.4.17
|
|
||||||
match_cfg-0.1.0
|
|
||||||
matches-0.1.9
|
|
||||||
memoffset-0.7.1
|
|
||||||
mio-0.8.4
|
|
||||||
nibble_vec-0.1.0
|
|
||||||
nix-0.26.2
|
|
||||||
num-integer-0.1.45
|
|
||||||
num-traits-0.2.15
|
|
||||||
num_cpus-1.13.1
|
|
||||||
num_threads-0.1.6
|
|
||||||
once_cell-1.13.0
|
|
||||||
os_str_bytes-6.1.0
|
|
||||||
percent-encoding-2.1.0
|
|
||||||
pin-project-lite-0.2.9
|
|
||||||
pin-utils-0.1.0
|
|
||||||
ppv-lite86-0.2.16
|
|
||||||
proc-macro-error-1.0.4
|
|
||||||
proc-macro-error-attr-1.0.4
|
|
||||||
proc-macro2-1.0.54
|
|
||||||
quick-error-1.2.3
|
|
||||||
quote-1.0.26
|
|
||||||
radix_trie-0.2.1
|
|
||||||
rand-0.8.5
|
|
||||||
rand_chacha-0.3.1
|
|
||||||
rand_core-0.6.3
|
|
||||||
resolv-conf-0.7.0
|
|
||||||
scratch-1.0.2
|
|
||||||
serde-1.0.139
|
|
||||||
serde_derive-1.0.139
|
|
||||||
signal-hook-0.3.15
|
|
||||||
signal-hook-registry-1.4.0
|
|
||||||
slab-0.4.6
|
|
||||||
smallvec-1.9.0
|
|
||||||
socket2-0.4.9
|
|
||||||
static_assertions-1.1.0
|
|
||||||
strsim-0.10.0
|
|
||||||
syn-1.0.98
|
|
||||||
syn-2.0.12
|
|
||||||
syslog-6.0.1
|
|
||||||
termcolor-1.1.3
|
|
||||||
textwrap-0.16.0
|
|
||||||
thiserror-1.0.31
|
|
||||||
thiserror-impl-1.0.31
|
|
||||||
time-0.1.44
|
|
||||||
time-0.3.11
|
|
||||||
tinyvec-1.6.0
|
|
||||||
tinyvec_macros-0.1.0
|
|
||||||
tokio-1.27.0
|
|
||||||
tokio-macros-2.0.0
|
|
||||||
toml-0.5.9
|
|
||||||
tracing-0.1.36
|
|
||||||
tracing-attributes-0.1.22
|
|
||||||
tracing-core-0.1.29
|
|
||||||
trust-dns-client-0.22.0
|
|
||||||
trust-dns-proto-0.22.0
|
|
||||||
trust-dns-server-0.22.0
|
|
||||||
unicode-bidi-0.3.8
|
|
||||||
unicode-ident-1.0.1
|
|
||||||
unicode-normalization-0.1.21
|
|
||||||
unicode-width-0.1.10
|
|
||||||
url-2.2.2
|
|
||||||
version_check-0.9.4
|
|
||||||
wasi-0.10.0+wasi-snapshot-preview1
|
|
||||||
wasi-0.11.0+wasi-snapshot-preview1
|
|
||||||
wasm-bindgen-0.2.82
|
|
||||||
wasm-bindgen-backend-0.2.82
|
|
||||||
wasm-bindgen-macro-0.2.82
|
|
||||||
wasm-bindgen-macro-support-0.2.82
|
|
||||||
wasm-bindgen-shared-0.2.82
|
|
||||||
winapi-0.3.9
|
|
||||||
winapi-i686-pc-windows-gnu-0.4.0
|
|
||||||
winapi-util-0.1.5
|
|
||||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
||||||
windows-sys-0.36.1
|
|
||||||
windows-sys-0.45.0
|
|
||||||
windows-targets-0.42.1
|
|
||||||
windows_aarch64_gnullvm-0.42.1
|
|
||||||
windows_aarch64_msvc-0.36.1
|
|
||||||
windows_aarch64_msvc-0.42.1
|
|
||||||
windows_i686_gnu-0.36.1
|
|
||||||
windows_i686_gnu-0.42.1
|
|
||||||
windows_i686_msvc-0.36.1
|
|
||||||
windows_i686_msvc-0.42.1
|
|
||||||
windows_x86_64_gnu-0.36.1
|
|
||||||
windows_x86_64_gnu-0.42.1
|
|
||||||
windows_x86_64_gnullvm-0.42.1
|
|
||||||
windows_x86_64_msvc-0.36.1
|
|
||||||
windows_x86_64_msvc-0.42.1
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit cargo
|
|
||||||
|
|
||||||
DESCRIPTION="A container-focused DNS server"
|
|
||||||
HOMEPAGE="https://github.com/containers/aardvark-dns"
|
|
||||||
SRC_URI="$(cargo_crate_uris)"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense ZLIB"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="usr/bin/${PN}
|
|
||||||
/usr/libexec/podman/${PN}"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cargo_src_install
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
ln "${ED}/usr/"{bin,libexec/podman}/${PN} || die
|
|
||||||
}
|
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
[[ ${PV} == *9999* ]] || CRATES="${PN}@${PV}"
|
|
||||||
inherit cargo
|
|
||||||
|
|
||||||
DESCRIPTION="A container-focused DNS server"
|
|
||||||
HOMEPAGE="https://github.com/containers/aardvark-dns"
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/aardvark-dns.git"
|
|
||||||
else
|
|
||||||
SRC_URI="${CARGO_CRATE_URIS}"
|
|
||||||
SRC_URI+="https://github.com/containers/aardvark-dns/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
|
|
||||||
fi
|
|
||||||
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB"
|
|
||||||
SLOT="0"
|
|
||||||
QA_FLAGS_IGNORED="usr/libexec/podman/${PN}"
|
|
||||||
QA_PRESTRIPPED="usr/libexec/podman/${PN}"
|
|
||||||
ECARGO_VENDOR="${WORKDIR}/vendor"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
git-r3_src_unpack
|
|
||||||
cargo_live_src_unpack
|
|
||||||
else
|
|
||||||
cargo_src_unpack
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -i -e "s|m0755 bin|m0755 target/$(usex debug debug release)|g;" Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
export PREFIX="${EPREFIX}"/usr
|
|
||||||
default
|
|
||||||
}
|
|
@ -1,176 +0,0 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
CRATES="
|
|
||||||
addr2line@0.21.0
|
|
||||||
adler@1.0.2
|
|
||||||
android-tzdata@0.1.1
|
|
||||||
android_system_properties@0.1.5
|
|
||||||
anstream@0.3.2
|
|
||||||
anstyle-parse@0.2.1
|
|
||||||
anstyle-query@1.0.0
|
|
||||||
anstyle-wincon@1.0.2
|
|
||||||
anstyle@1.0.2
|
|
||||||
anyhow@1.0.75
|
|
||||||
async-broadcast@0.5.1
|
|
||||||
async-trait@0.1.73
|
|
||||||
autocfg@1.1.0
|
|
||||||
backtrace@0.3.69
|
|
||||||
bitflags@2.4.0
|
|
||||||
bumpalo@3.14.0
|
|
||||||
bytes@1.5.0
|
|
||||||
cc@1.0.83
|
|
||||||
cfg-if@1.0.0
|
|
||||||
chrono@0.4.31
|
|
||||||
clap@4.3.24
|
|
||||||
clap_builder@4.3.24
|
|
||||||
clap_derive@4.3.12
|
|
||||||
clap_lex@0.5.0
|
|
||||||
colorchoice@1.0.0
|
|
||||||
core-foundation-sys@0.8.4
|
|
||||||
data-encoding@2.4.0
|
|
||||||
drain@0.1.1
|
|
||||||
endian-type@0.1.2
|
|
||||||
enum-as-inner@0.6.0
|
|
||||||
equivalent@1.0.1
|
|
||||||
errno-dragonfly@0.1.2
|
|
||||||
errno@0.3.3
|
|
||||||
error-chain@0.12.4
|
|
||||||
event-listener@2.5.3
|
|
||||||
form_urlencoded@1.2.0
|
|
||||||
futures-channel@0.3.28
|
|
||||||
futures-core@0.3.28
|
|
||||||
futures-executor@0.3.28
|
|
||||||
futures-io@0.3.28
|
|
||||||
futures-task@0.3.28
|
|
||||||
futures-util@0.3.28
|
|
||||||
getrandom@0.2.10
|
|
||||||
gimli@0.28.0
|
|
||||||
hashbrown@0.14.0
|
|
||||||
heck@0.4.1
|
|
||||||
hermit-abi@0.3.3
|
|
||||||
hostname@0.3.1
|
|
||||||
iana-time-zone-haiku@0.1.2
|
|
||||||
iana-time-zone@0.1.57
|
|
||||||
idna@0.4.0
|
|
||||||
indexmap@2.0.0
|
|
||||||
ipnet@2.8.0
|
|
||||||
is-terminal@0.4.9
|
|
||||||
itoa@1.0.9
|
|
||||||
js-sys@0.3.64
|
|
||||||
libc@0.2.148
|
|
||||||
linux-raw-sys@0.4.7
|
|
||||||
log@0.4.20
|
|
||||||
match_cfg@0.1.0
|
|
||||||
memchr@2.6.3
|
|
||||||
miniz_oxide@0.7.1
|
|
||||||
mio@0.8.8
|
|
||||||
nibble_vec@0.1.0
|
|
||||||
nix@0.27.1
|
|
||||||
num-traits@0.2.16
|
|
||||||
num_cpus@1.16.0
|
|
||||||
num_threads@0.1.6
|
|
||||||
object@0.32.1
|
|
||||||
once_cell@1.18.0
|
|
||||||
percent-encoding@2.3.0
|
|
||||||
pin-project-lite@0.2.13
|
|
||||||
pin-utils@0.1.0
|
|
||||||
ppv-lite86@0.2.17
|
|
||||||
proc-macro2@1.0.67
|
|
||||||
quick-error@1.2.3
|
|
||||||
quote@1.0.33
|
|
||||||
radix_trie@0.2.1
|
|
||||||
rand@0.8.5
|
|
||||||
rand_chacha@0.3.1
|
|
||||||
rand_core@0.6.4
|
|
||||||
resolv-conf@0.7.0
|
|
||||||
rustc-demangle@0.1.23
|
|
||||||
rustix@0.38.14
|
|
||||||
serde@1.0.188
|
|
||||||
serde_derive@1.0.188
|
|
||||||
serde_spanned@0.6.3
|
|
||||||
signal-hook-registry@1.4.1
|
|
||||||
signal-hook@0.3.17
|
|
||||||
slab@0.4.9
|
|
||||||
smallvec@1.11.1
|
|
||||||
socket2@0.5.4
|
|
||||||
strsim@0.10.0
|
|
||||||
syn@2.0.37
|
|
||||||
syslog@6.1.0
|
|
||||||
thiserror-impl@1.0.48
|
|
||||||
thiserror@1.0.48
|
|
||||||
time-core@0.1.1
|
|
||||||
time-macros@0.2.10
|
|
||||||
time@0.3.23
|
|
||||||
tinyvec@1.6.0
|
|
||||||
tinyvec_macros@0.1.1
|
|
||||||
tokio-macros@2.1.0
|
|
||||||
tokio@1.32.0
|
|
||||||
toml@0.7.8
|
|
||||||
toml_datetime@0.6.3
|
|
||||||
toml_edit@0.19.15
|
|
||||||
tracing-attributes@0.1.26
|
|
||||||
tracing-core@0.1.31
|
|
||||||
tracing@0.1.37
|
|
||||||
trust-dns-client@0.23.0
|
|
||||||
trust-dns-proto@0.23.0
|
|
||||||
trust-dns-server@0.23.0
|
|
||||||
unicode-bidi@0.3.13
|
|
||||||
unicode-ident@1.0.12
|
|
||||||
unicode-normalization@0.1.22
|
|
||||||
url@2.4.1
|
|
||||||
utf8parse@0.2.1
|
|
||||||
version_check@0.9.4
|
|
||||||
wasi@0.11.0+wasi-snapshot-preview1
|
|
||||||
wasm-bindgen-backend@0.2.87
|
|
||||||
wasm-bindgen-macro-support@0.2.87
|
|
||||||
wasm-bindgen-macro@0.2.87
|
|
||||||
wasm-bindgen-shared@0.2.87
|
|
||||||
wasm-bindgen@0.2.87
|
|
||||||
winapi-i686-pc-windows-gnu@0.4.0
|
|
||||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
|
||||||
winapi@0.3.9
|
|
||||||
windows-sys@0.48.0
|
|
||||||
windows-targets@0.48.5
|
|
||||||
windows@0.48.0
|
|
||||||
windows_aarch64_gnullvm@0.48.5
|
|
||||||
windows_aarch64_msvc@0.48.5
|
|
||||||
windows_i686_gnu@0.48.5
|
|
||||||
windows_i686_msvc@0.48.5
|
|
||||||
windows_x86_64_gnu@0.48.5
|
|
||||||
windows_x86_64_gnullvm@0.48.5
|
|
||||||
windows_x86_64_msvc@0.48.5
|
|
||||||
winnow@0.5.15
|
|
||||||
"
|
|
||||||
CRATES+="${PN}@1.8.0"
|
|
||||||
inherit cargo
|
|
||||||
|
|
||||||
DESCRIPTION="A container-focused DNS server"
|
|
||||||
HOMEPAGE="https://github.com/containers/aardvark-dns"
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/aardvark-dns.git"
|
|
||||||
else
|
|
||||||
SRC_URI="${CARGO_CRATE_URIS}"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
|
||||||
fi
|
|
||||||
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB"
|
|
||||||
SLOT="0"
|
|
||||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
git-r3_src_unpack
|
|
||||||
cargo_live_src_unpack
|
|
||||||
else
|
|
||||||
cargo_src_unpack
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cargo_src_install
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
dosym -r /usr/bin/"${PN}" /usr/libexec/podman/"${PN}"
|
|
||||||
}
|
|
@ -1,7 +1,3 @@
|
|||||||
DIST buildah-1.30.0.tar.gz 15623786 BLAKE2B e0b2f6d26827cfe40f88a9915f12b6acb385fbd576fa227d4fee02c162077e9c6fe0591c7171405f5645cd06e4068f26e17c2cb963898e38cfbdd61abe68dae2 SHA512 185fd98a59fa8d86fe9f1eadc9b7591e5053674464be10538a7581d8e1f6a25e5032a354c821c32a167e2864acea010243efbbe4f5a4205d8eaa2894f062a25b
|
|
||||||
DIST buildah-1.32.2.tar.gz 18451694 BLAKE2B 885b940e804394d18451e5dce3e3af4097a8adf01e59d7a288dda7063a888759abd9a5c18d8f4522709c7d296fc9a2b5d61229143f3545a786dc59ac837214e2 SHA512 3a50e53e047aa0e23643d8751af1fb51a83fd51e5440111432eb34bdb07e95f24676a917b54409c223df444fe123c8df4aa9af435737cfdd02d0eda0d3f5bba1
|
|
||||||
DIST buildah-1.33.1.tar.gz 18635429 BLAKE2B 93883b02e6b790c029b03dd3ebb5f0d7c8e184989c987034cd429ea804d17b275a2b81c9f37bbaff1a54367bb93a9b0870af86293aa0332c3ccac1bbb6a750fe SHA512 4abab105f6b242dc38e443b53b6c0c90fd7897bceb6b491fd067cd56767616a3df4005bc0bd0d10f217df2e6716cf950d8662788b110929a826660f29516703e
|
|
||||||
DIST buildah-1.33.2.tar.gz 18580150 BLAKE2B 523b75974a27695bbf818f4a1499d15e48e254934549f2ae191f462334aa4dd34a60c82b78b0d3351e05b297a40a8f8e2df94e75d22779a5c042dbd3dd307e4a SHA512 574c1a249d93edd5f89e106cd192da94235edcff097d9bce841e3b3b3a9588029deddaceb301505114b994e854016c72090cc0016a00ef027b25f3672a3fab32
|
|
||||||
DIST buildah-1.33.5.tar.gz 18579521 BLAKE2B a59bfda3dea1f588a2f77a26b942da6ae02a00f1169008f776a2d7699b6b14f38ab29b46b7d0651e9fff3f007e5f95caed99952cc7585c25ea2a3153402958e9 SHA512 82ddfacd69918fb4ca8110d7d5279f4075385e5db5b64b58cf41a90c47e16093f1e65d8ef20136a4cd8f5c23ea8da7f35fb72581cec6472497b9c5b458023e9c
|
DIST buildah-1.33.5.tar.gz 18579521 BLAKE2B a59bfda3dea1f588a2f77a26b942da6ae02a00f1169008f776a2d7699b6b14f38ab29b46b7d0651e9fff3f007e5f95caed99952cc7585c25ea2a3153402958e9 SHA512 82ddfacd69918fb4ca8110d7d5279f4075385e5db5b64b58cf41a90c47e16093f1e65d8ef20136a4cd8f5c23ea8da7f35fb72581cec6472497b9c5b458023e9c
|
||||||
DIST buildah-1.33.6.tar.gz 18585405 BLAKE2B 4a6f6ebfce7799a45b0984b6f9a319becfed87d5acf5f1f784249ff6e5397495ac72c00a22ff0bcc68fd94f1d0a591fa4ac5f0f88bcc9c0a6cdefe117166b4ec SHA512 86eab18af459b0b92361d6e9f56ebe9dab65527d829e7771c13b6c574ef45746a7f53520783ff52978b14aac0d6ee8de32cdabf807666a96dcf46e07e36157e2
|
DIST buildah-1.33.6.tar.gz 18585405 BLAKE2B 4a6f6ebfce7799a45b0984b6f9a319becfed87d5acf5f1f784249ff6e5397495ac72c00a22ff0bcc68fd94f1d0a591fa4ac5f0f88bcc9c0a6cdefe117166b4ec SHA512 86eab18af459b0b92361d6e9f56ebe9dab65527d829e7771c13b6c574ef45746a7f53520783ff52978b14aac0d6ee8de32cdabf807666a96dcf46e07e36157e2
|
||||||
DIST buildah-1.34.0.tar.gz 18751419 BLAKE2B 6584c5234e849f9b8cde5e4188791024c8ac5c0ba85859e289f3eb2ec32f97f722ebf25f1291f29e14edf4adc14e19d6a6a76630c820085e9f345736aeb3d4eb SHA512 a3836ce540058f418131969e157d548864727398535e4e99a693d883419b8d764da7166f9b9376c2b9686d8beac101687843c2e93198b16328ef333ad96d55db
|
DIST buildah-1.34.0.tar.gz 18751419 BLAKE2B 6584c5234e849f9b8cde5e4188791024c8ac5c0ba85859e289f3eb2ec32f97f722ebf25f1291f29e14edf4adc14e19d6a6a76630c820085e9f345736aeb3d4eb SHA512 a3836ce540058f418131969e157d548864727398535e4e99a693d883419b8d764da7166f9b9376c2b9686d8beac101687843c2e93198b16328ef333ad96d55db
|
||||||
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module
|
|
||||||
GIT_COMMIT=04965f11
|
|
||||||
|
|
||||||
DESCRIPTION="A tool that facilitates building OCI images"
|
|
||||||
HOMEPAGE="https://github.com/containers/buildah"
|
|
||||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm64"
|
|
||||||
IUSE="selinux"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
app-crypt/gpgme:=
|
|
||||||
app-containers/skopeo
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
dev-libs/libassuan:=
|
|
||||||
sys-apps/shadow:=
|
|
||||||
sys-fs/lvm2:=
|
|
||||||
sys-libs/libseccomp:=
|
|
||||||
selinux? ( sys-libs/libselinux:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
[[ -f selinux_tag.sh ]] || die
|
|
||||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
|
||||||
selinux_tag.sh || die; }
|
|
||||||
sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed'
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake GIT_COMMIT=${GIT_COMMIT} all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
|
|
||||||
doman docs/*.1
|
|
||||||
dodoc -r docs/tutorials
|
|
||||||
dobin bin/{${PN},imgtype}
|
|
||||||
dobashcomp contrib/completions/bash/buildah
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test-unit
|
|
||||||
}
|
|
@ -1,124 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="A tool that facilitates building OCI images"
|
|
||||||
HOMEPAGE="https://github.com/containers/buildah"
|
|
||||||
# main pkg
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
# deps
|
|
||||||
LICENSE+=" BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="apparmor btrfs +seccomp systemd doc test"
|
|
||||||
RESTRICT="test"
|
|
||||||
EXTRA_DOCS=(
|
|
||||||
"CHANGELOG.md"
|
|
||||||
"CONTRIBUTING.md"
|
|
||||||
"install.md"
|
|
||||||
"troubleshooting.md"
|
|
||||||
"docs/tutorials"
|
|
||||||
)
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/buildah.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 arm64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
btrfs? ( sys-fs/btrfs-progs )
|
|
||||||
seccomp? ( sys-libs/libseccomp:= )
|
|
||||||
apparmor? ( sys-libs/libapparmor:= )
|
|
||||||
app-containers/containers-common
|
|
||||||
app-crypt/gpgme:=
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
dev-libs/libassuan:=
|
|
||||||
sys-apps/shadow:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
local CONFIG_CHECK=""
|
|
||||||
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
|
||||||
check_extra_config
|
|
||||||
|
|
||||||
linux_config_exists || ewarn "Cannot determine configuration of your kernel."
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# ensure all necessary files are there
|
|
||||||
local file
|
|
||||||
for file in docs/Makefile hack/libsubid_tag.sh hack/apparmor_tag.sh \
|
|
||||||
hack/systemd_tag.sh btrfs_installed_tag.sh btrfs_tag.sh; do
|
|
||||||
[[ -f "${file}" ]] || die
|
|
||||||
done
|
|
||||||
|
|
||||||
sed -i -e "s|/usr/local|${EPREFIX}/usr|g" Makefile docs/Makefile || die
|
|
||||||
echo -e '#!/usr/bin/env bash\necho libsubid' > hack/libsubid_tag.sh || die
|
|
||||||
|
|
||||||
cat <<-EOF > hack/apparmor_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex apparmor 'echo apparmor' echo)
|
|
||||||
EOF
|
|
||||||
|
|
||||||
use seccomp || {
|
|
||||||
cat <<-'EOF' > "${T}/disable_seccomp.patch"
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -5 +5 @@
|
|
||||||
-SECURITYTAGS ?= seccomp $(APPARMORTAG)
|
|
||||||
+SECURITYTAGS ?= $(APPARMORTAG)
|
|
||||||
EOF
|
|
||||||
eapply "${T}/disable_seccomp.patch" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
cat <<-EOF > hack/systemd_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex systemd 'echo systemd' echo)
|
|
||||||
EOF
|
|
||||||
|
|
||||||
echo -e "#!/usr/bin/env bash\n echo" > btrfs_installed_tag.sh || die
|
|
||||||
cat <<-EOF > btrfs_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
|
||||||
EOF
|
|
||||||
|
|
||||||
use test || {
|
|
||||||
cat <<-'EOF' > "${T}/disable_tests.patch"
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -54 +54 @@
|
|
||||||
-all: bin/buildah bin/imgtype bin/copy bin/tutorial docs
|
|
||||||
+all: bin/buildah docs
|
|
||||||
EOF
|
|
||||||
eapply "${T}/disable_tests.patch" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# For non-live versions, prevent git operations which causes sandbox violations
|
|
||||||
# https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
|
|
||||||
[[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test-unit
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install install.completions
|
|
||||||
einstalldocs
|
|
||||||
use doc && dodoc -r "${EXTRA_DOCS[@]}"
|
|
||||||
}
|
|
@ -1,127 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="A tool that facilitates building OCI images"
|
|
||||||
HOMEPAGE="https://github.com/containers/buildah"
|
|
||||||
# main pkg
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
# deps
|
|
||||||
LICENSE+=" BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="apparmor btrfs +seccomp systemd doc test"
|
|
||||||
RESTRICT="test"
|
|
||||||
EXTRA_DOCS=(
|
|
||||||
"CHANGELOG.md"
|
|
||||||
"CONTRIBUTING.md"
|
|
||||||
"install.md"
|
|
||||||
"troubleshooting.md"
|
|
||||||
"docs/tutorials"
|
|
||||||
)
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/buildah.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
btrfs? ( sys-fs/btrfs-progs )
|
|
||||||
seccomp? ( sys-libs/libseccomp:= )
|
|
||||||
apparmor? ( sys-libs/libapparmor:= )
|
|
||||||
app-containers/containers-common
|
|
||||||
app-crypt/gpgme:=
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
dev-libs/libassuan:=
|
|
||||||
sys-apps/shadow:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/fix-non-amd64-build-1.33.2.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
local CONFIG_CHECK=""
|
|
||||||
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
|
||||||
check_extra_config
|
|
||||||
|
|
||||||
linux_config_exists || ewarn "Cannot determine configuration of your kernel."
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# ensure all necessary files are there
|
|
||||||
local file
|
|
||||||
for file in docs/Makefile hack/libsubid_tag.sh hack/apparmor_tag.sh \
|
|
||||||
hack/systemd_tag.sh btrfs_installed_tag.sh btrfs_tag.sh; do
|
|
||||||
[[ -f "${file}" ]] || die
|
|
||||||
done
|
|
||||||
|
|
||||||
sed -i -e "s|/usr/local|/usr|g" Makefile docs/Makefile || die
|
|
||||||
echo -e '#!/usr/bin/env bash\necho libsubid' > hack/libsubid_tag.sh || die
|
|
||||||
|
|
||||||
cat <<-EOF > hack/apparmor_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex apparmor 'echo apparmor' echo)
|
|
||||||
EOF
|
|
||||||
|
|
||||||
use seccomp || {
|
|
||||||
cat <<-'EOF' > "${T}/disable_seccomp.patch"
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -5 +5 @@
|
|
||||||
-SECURITYTAGS ?= seccomp $(APPARMORTAG)
|
|
||||||
+SECURITYTAGS ?= $(APPARMORTAG)
|
|
||||||
EOF
|
|
||||||
eapply "${T}/disable_seccomp.patch" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
cat <<-EOF > hack/systemd_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex systemd 'echo systemd' echo)
|
|
||||||
EOF
|
|
||||||
|
|
||||||
echo -e "#!/usr/bin/env bash\n echo" > btrfs_installed_tag.sh || die
|
|
||||||
cat <<-EOF > btrfs_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
|
||||||
EOF
|
|
||||||
|
|
||||||
use test || {
|
|
||||||
cat <<-'EOF' > "${T}/disable_tests.patch"
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -54 +54 @@
|
|
||||||
-all: bin/buildah bin/imgtype bin/copy bin/tutorial docs
|
|
||||||
+all: bin/buildah docs
|
|
||||||
EOF
|
|
||||||
eapply "${T}/disable_tests.patch" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# For non-live versions, prevent git operations which causes sandbox violations
|
|
||||||
# https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
|
|
||||||
[[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test-unit
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${ED}" install install.completions
|
|
||||||
einstalldocs
|
|
||||||
use doc && dodoc -r "${EXTRA_DOCS[@]}"
|
|
||||||
}
|
|
@ -1,128 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="A tool that facilitates building OCI images"
|
|
||||||
HOMEPAGE="https://github.com/containers/buildah"
|
|
||||||
|
|
||||||
# main pkg
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
# deps
|
|
||||||
LICENSE+=" BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="apparmor btrfs +seccomp systemd doc test"
|
|
||||||
RESTRICT="test"
|
|
||||||
EXTRA_DOCS=(
|
|
||||||
"CHANGELOG.md"
|
|
||||||
"CONTRIBUTING.md"
|
|
||||||
"install.md"
|
|
||||||
"troubleshooting.md"
|
|
||||||
"docs/tutorials"
|
|
||||||
)
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/buildah.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
btrfs? ( sys-fs/btrfs-progs )
|
|
||||||
seccomp? ( sys-libs/libseccomp:= )
|
|
||||||
apparmor? ( sys-libs/libapparmor:= )
|
|
||||||
app-containers/containers-common
|
|
||||||
app-crypt/gpgme:=
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
dev-libs/libassuan:=
|
|
||||||
sys-apps/shadow:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/fix-non-amd64-build-1.33.2.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
local CONFIG_CHECK=""
|
|
||||||
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
|
||||||
check_extra_config
|
|
||||||
|
|
||||||
linux_config_exists || ewarn "Cannot determine configuration of your kernel."
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# ensure all necessary files are there
|
|
||||||
local file
|
|
||||||
for file in docs/Makefile hack/libsubid_tag.sh hack/apparmor_tag.sh \
|
|
||||||
hack/systemd_tag.sh btrfs_installed_tag.sh btrfs_tag.sh; do
|
|
||||||
[[ -f "${file}" ]] || die
|
|
||||||
done
|
|
||||||
|
|
||||||
sed -i -e "s|/usr/local|/usr|g" Makefile docs/Makefile || die
|
|
||||||
echo -e '#!/usr/bin/env bash\necho libsubid' > hack/libsubid_tag.sh || die
|
|
||||||
|
|
||||||
cat <<-EOF > hack/apparmor_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex apparmor 'echo apparmor' echo)
|
|
||||||
EOF
|
|
||||||
|
|
||||||
use seccomp || {
|
|
||||||
cat <<-'EOF' > "${T}/disable_seccomp.patch"
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -5 +5 @@
|
|
||||||
-SECURITYTAGS ?= seccomp $(APPARMORTAG)
|
|
||||||
+SECURITYTAGS ?= $(APPARMORTAG)
|
|
||||||
EOF
|
|
||||||
eapply "${T}/disable_seccomp.patch" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
cat <<-EOF > hack/systemd_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex systemd 'echo systemd' echo)
|
|
||||||
EOF
|
|
||||||
|
|
||||||
echo -e "#!/usr/bin/env bash\n echo" > btrfs_installed_tag.sh || die
|
|
||||||
cat <<-EOF > btrfs_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
|
||||||
EOF
|
|
||||||
|
|
||||||
use test || {
|
|
||||||
cat <<-'EOF' > "${T}/disable_tests.patch"
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -54 +54 @@
|
|
||||||
-all: bin/buildah bin/imgtype bin/copy bin/tutorial docs
|
|
||||||
+all: bin/buildah docs
|
|
||||||
EOF
|
|
||||||
eapply "${T}/disable_tests.patch" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# For non-live versions, prevent git operations which causes sandbox violations
|
|
||||||
# https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
|
|
||||||
[[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake test-unit
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${ED}" install install.completions
|
|
||||||
einstalldocs
|
|
||||||
use doc && dodoc -r "${EXTRA_DOCS[@]}"
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
From 12b205f69876bf09bb6dfe03adcdefad5d4ee9f8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
|
||||||
Date: Mon, 20 Nov 2023 09:28:06 +0100
|
|
||||||
Subject: [PATCH] Remove makefile targets entrypoint{,.gz} for non x86_64
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
https://github.com/containers/buildah/pull/5183
|
|
||||||
The target internal/mkcw/embed/entrypoint is only built on x86_64, but
|
|
||||||
internal/mkcw/embed/entrypoint.gz is run on all arches. This causes build
|
|
||||||
failures on anything non x86_64 as internal/mkcw/embed/entrypoint is not build.
|
|
||||||
|
|
||||||
Signed-off-by: Dan Čermák <dcermak@suse.com>
|
|
||||||
---
|
|
||||||
Makefile | 9 ++++-----
|
|
||||||
1 file changed, 4 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 85b43c7b9e..0fda9ae6eb 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -73,17 +73,16 @@ bin/buildah: $(SOURCES) cmd/buildah/*.go internal/mkcw/embed/entrypoint.gz
|
|
||||||
$(GO_BUILD) $(BUILDAH_LDFLAGS) $(GO_GCFLAGS) "$(GOGCFLAGS)" -o $@ $(BUILDFLAGS) ./cmd/buildah
|
|
||||||
|
|
||||||
ifneq ($(shell as --version | grep x86_64),)
|
|
||||||
+internal/mkcw/embed/entrypoint.gz: internal/mkcw/embed/entrypoint
|
|
||||||
+ $(RM) $@
|
|
||||||
+ gzip -k $^
|
|
||||||
+
|
|
||||||
internal/mkcw/embed/entrypoint: internal/mkcw/embed/entrypoint.s
|
|
||||||
$(AS) -o $(patsubst %.s,%.o,$^) $^
|
|
||||||
$(LD) -o $@ $(patsubst %.s,%.o,$^)
|
|
||||||
strip $@
|
|
||||||
-else
|
|
||||||
-.PHONY: internal/mkcw/embed/entrypoint
|
|
||||||
endif
|
|
||||||
|
|
||||||
-internal/mkcw/embed/entrypoint.gz: internal/mkcw/embed/entrypoint
|
|
||||||
- $(RM) $@
|
|
||||||
- gzip -k $^
|
|
||||||
|
|
||||||
.PHONY: buildah
|
|
||||||
buildah: bin/buildah
|
|
@ -1,3 +1 @@
|
|||||||
DIST catatonit-0.1.7-automake.patch 965 BLAKE2B fd42082321b75210653657cadd09751aa70a1eabeea4abc0cbc06aa91c510cff70d4261759407426a198f1aa3a1826d9f3a255d18e0e22e2dad53eca6b76ee87 SHA512 62cb75e8dcff7348eb5fe9dfb57627659bb755ffdd6a29b6d4e486e2b4c92945fa7420410941523585102ac11b14c2a1700fb6fd3fd663e7f38c10863f82fa87
|
|
||||||
DIST catatonit-0.1.7.tar.gz 21720 BLAKE2B ab73198e55dd06d3d0af04e6eff17a2f1e70ab1c0f9ec35f68f9afe71ce8cd1bdc3320e9728a6d8036c2251fe95028e1aad0838d1c9f51e4cc70e482a1109c24 SHA512 7d3174c60e1c8bd1f4b95b7751ccbe01cac63265060f18914b53311f68f7b4c63c693604f348ccfac5db4a96939169f835fbbbd614803b18062053d94f7dca67
|
|
||||||
DIST catatonit-0.2.0.tar.gz 16608 BLAKE2B 27b6ed1148aaef963140c42e2cb6a7a8c9c25f01eef62cf519c3b1c230c8f30838f5b9cb54bf0b37b1194084f3f0c750e20316738a330d6a01c830b71b45623c SHA512 115e72002e35bb2a03919f9422a9cb2d9a0e4f087862d4ffd20e9508af6d67efc359a577ec059574f2f6c98966a1f080b65dffc8dfb83b3c2ed48e63e2aeac3b
|
DIST catatonit-0.2.0.tar.gz 16608 BLAKE2B 27b6ed1148aaef963140c42e2cb6a7a8c9c25f01eef62cf519c3b1c230c8f30838f5b9cb54bf0b37b1194084f3f0c750e20316738a330d6a01c830b71b45623c SHA512 115e72002e35bb2a03919f9422a9cb2d9a0e4f087862d4ffd20e9508af6d67efc359a577ec059574f2f6c98966a1f080b65dffc8dfb83b3c2ed48e63e2aeac3b
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
DESCRIPTION="A container init that is so simple it's effectively brain-dead"
|
|
||||||
HOMEPAGE="https://github.com/openSUSE/catatonit"
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/openSUSE/catatonit.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -i -e 's|^AM_INIT_AUTOMAKE$||;' configure.ac || die
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
dosym -r /usr/bin/"${PN}" /usr/libexec/podman/"${PN}"
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
# Copyright 2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
DESCRIPTION="A container init that is so simple it's effectively brain-dead"
|
|
||||||
HOMEPAGE="https://github.com/openSUSE/catatonit"
|
|
||||||
SRC_URI="https://github.com/openSUSE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://github.com/openSUSE/catatonit/pull/19.patch -> ${P}-automake.patch"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
|
|
||||||
|
|
||||||
PATCHES=( "${DISTDIR}/${P}-automake.patch" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
ln "${ED}/usr/"{bin,libexec/podman}/catatonit || die
|
|
||||||
}
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST containers-common-0.56.0.tar.gz 12616120 BLAKE2B 6495ca7d0c9134bc8bd5f7b7541bb4f1160c74abb7a64bd4d2124104ea563f5381f0092da20ab45d81929a8632b1fcc1107ac05fdae011be446cff14ebf88c45 SHA512 4af720be95e6b5ca7d0664f99a389bf092b9f45d4e0602d9b49ef1d21b359d2307a94e0c88378fe0c751f5b40db54d7aab67eb497185a289cea9288cbfaa042c
|
|
||||||
DIST containers-common-0.57.0.tar.gz 12700958 BLAKE2B 8432a7d839b94b59eabd75d4978a4d0c1340a64ed626db74e74a8318e08c61172bfba5e4f4c4b0dfffec302c5a310bb5be8fad3ab4d91a6d89ced373a0a6f297 SHA512 b993821040788085ff44e48023a64cea4e3e7e50731c359087bd287168e6849a543d930acbdaff2437fc7951acc46f7183f337dd977215eca814332e6869d1e3
|
DIST containers-common-0.57.0.tar.gz 12700958 BLAKE2B 8432a7d839b94b59eabd75d4978a4d0c1340a64ed626db74e74a8318e08c61172bfba5e4f4c4b0dfffec302c5a310bb5be8fad3ab4d91a6d89ced373a0a6f297 SHA512 b993821040788085ff44e48023a64cea4e3e7e50731c359087bd287168e6849a543d930acbdaff2437fc7951acc46f7183f337dd977215eca814332e6869d1e3
|
||||||
DIST containers-common-0.57.3.tar.gz 12702863 BLAKE2B 7842893f9b8ca72fa0657ea716f61cad95c4a8bff680922a15cffad4cecf897683591272fee83494e800023a432458cc689a810726e60e4d5ff9dd6af2d71737 SHA512 f0b7c4632317e666342f7b31bd9e5e9cdc794125d4d358e6a62ba115099ee1e6b33751cff982dcadbb3055b093d05fbd1049402f79ca2e6465cc6fcabce7c928
|
DIST containers-common-0.57.3.tar.gz 12702863 BLAKE2B 7842893f9b8ca72fa0657ea716f61cad95c4a8bff680922a15cffad4cecf897683591272fee83494e800023a432458cc689a810726e60e4d5ff9dd6af2d71737 SHA512 f0b7c4632317e666342f7b31bd9e5e9cdc794125d4d358e6a62ba115099ee1e6b33751cff982dcadbb3055b093d05fbd1049402f79ca2e6465cc6fcabce7c928
|
||||||
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Common config files and docs for Containers eco-system"
|
|
||||||
HOMEPAGE="https://github.com/containers/common"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/common.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/containers/common/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${P#containers-}"
|
|
||||||
KEYWORDS="amd64 arm64 ~riscv"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
RESTRICT="test"
|
|
||||||
RDEPEND="
|
|
||||||
app-containers/containers-image
|
|
||||||
app-containers/containers-storage
|
|
||||||
app-containers/containers-shortnames
|
|
||||||
!<app-containers/podman-4.5.0-r1
|
|
||||||
net-firewall/nftables
|
|
||||||
net-firewall/iptables[nftables]
|
|
||||||
|| ( app-containers/crun app-containers/runc )
|
|
||||||
|| (
|
|
||||||
( >=app-containers/netavark-1.6.0 >=app-containers/aardvark-dns-1.6.0 )
|
|
||||||
>=app-containers/cni-plugins-0.9.1
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
>=dev-go/go-md2man-2.0.2
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
[[ -f docs/Makefile ]] || die
|
|
||||||
sed -i -e 's|/usr/local|/usr|g;' docs/Makefile || die
|
|
||||||
|
|
||||||
eapply "${FILESDIR}/fix-warnings.patch"
|
|
||||||
eapply "${FILESDIR}/examplify-mounts-conf.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake docs
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
insinto /etc/containers
|
|
||||||
# https://github.com/containers/skopeo/raw/main/default-policy.json
|
|
||||||
doins pkg/config/containers.conf "${FILESDIR}/policy.json"
|
|
||||||
|
|
||||||
insinto /etc/containers/registries.d
|
|
||||||
# https://github.com/containers/skopeo/raw/main/default.yaml
|
|
||||||
doins "${FILESDIR}/default.yaml"
|
|
||||||
|
|
||||||
insinto /usr/share/containers
|
|
||||||
doins pkg/seccomp/seccomp.json pkg/subscriptions/mounts.conf
|
|
||||||
|
|
||||||
keepdir /etc/containers/certs.d /etc/containers/oci/hooks.d /etc/containers/systemd /var/lib/containers/sigstore
|
|
||||||
}
|
|
@ -1,24 +0,0 @@
|
|||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -4,20 +4,5 @@
|
|
||||||
DESTDIR ?=
|
|
||||||
-PREFIX := /usr/local
|
|
||||||
+PREFIX := /usr
|
|
||||||
CONFIGDIR := ${PREFIX}/share/containers
|
|
||||||
|
|
||||||
-define go-build
|
|
||||||
- CGO_ENABLED=0 \
|
|
||||||
- GOOS=$(1) GOARCH=$(2) $(GO) build -tags "$(3)" ./...
|
|
||||||
-endef
|
|
||||||
-
|
|
||||||
-ifeq ($(shell uname -s),Linux)
|
|
||||||
-define go-build-c
|
|
||||||
- CGO_ENABLED=1 \
|
|
||||||
- GOOS=$(1) GOARCH=$(2) $(GO) build -tags "$(3)" ./...
|
|
||||||
-endef
|
|
||||||
-else
|
|
||||||
-define go-build-c
|
|
||||||
-endef
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
.PHONY:
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST containers-image-5.28.0.tar.gz 688100 BLAKE2B 0cee8be579bd11eb0524590d8afe16b6ef863d7adfd74db51b68385142804c8096fec3f2a492e0d5a5021eba9edc91219b327138635aaa329c6ef7d0c01129c8 SHA512 0b76539e04016f5f1067c576a877ace475f25d0f0840fc969606601105a8a7f0e242cc054b0a2cfb6f1b751d850734360a524c78563fdf2330c8ae8c11bba1cf
|
|
||||||
DIST containers-image-5.29.0.tar.gz 706774 BLAKE2B 0af5c7c43e8b75df591cbd291d0865ac19322bf62ad98b4f36cfb51b006ced088f91f0b3f582ce29ae80582e72087467cfe589683216eeb50ad3762152853dc0 SHA512 5e670f85fe0b43769667f1a3e710434ab65c4ec2d8c60b0cad4b0ed41c35f84677528f9dfecb0b946de556ebbdd56f4949760432ec49b1b3c691120a323af869
|
DIST containers-image-5.29.0.tar.gz 706774 BLAKE2B 0af5c7c43e8b75df591cbd291d0865ac19322bf62ad98b4f36cfb51b006ced088f91f0b3f582ce29ae80582e72087467cfe589683216eeb50ad3762152853dc0 SHA512 5e670f85fe0b43769667f1a3e710434ab65c4ec2d8c60b0cad4b0ed41c35f84677528f9dfecb0b946de556ebbdd56f4949760432ec49b1b3c691120a323af869
|
||||||
DIST containers-image-5.29.2.tar.gz 707618 BLAKE2B f1556cbb26ceedd74a338355caf8b557c43286726f4be63544cebc9a8f4b92be78d7a0cddbedaba7352d13e9fc399f62ee114caba6c8b1ecc334dab1379e523b SHA512 f3f6e09670dc393067992a78303f01e2584dabe79ba156973a50d7a460c011e5a27d0ccdf0ff6b399099a9a3a4c57f3badf24fb5d0704efd645ab7196a544d8f
|
DIST containers-image-5.29.2.tar.gz 707618 BLAKE2B f1556cbb26ceedd74a338355caf8b557c43286726f4be63544cebc9a8f4b92be78d7a0cddbedaba7352d13e9fc399f62ee114caba6c8b1ecc334dab1379e523b SHA512 f3f6e09670dc393067992a78303f01e2584dabe79ba156973a50d7a460c011e5a27d0ccdf0ff6b399099a9a3a4c57f3badf24fb5d0704efd645ab7196a544d8f
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Default config and docs related to Containers' images"
|
|
||||||
HOMEPAGE="https://github.com/containers/image"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/image.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/containers/image/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${P#containers-}"
|
|
||||||
KEYWORDS="amd64 arm64 ~riscv"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
DEPEND=">=dev-go/go-md2man-2.0.2"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eapply "${FILESDIR}/fix-warnings.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake docs
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
insinto /etc/containers
|
|
||||||
doins registries.conf
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST containers-storage-1.50.2.tar.gz 4278269 BLAKE2B 3a2b08c710c043cfc130b9ffe39807e5ced8aa3cdb9805e9d9a4d0f60d8136f99e78ca03992c566b7c7d9aa1c25a2ab9da5e9edc4f1f841663302f5873dce419 SHA512 eb2ca9d243511abd5d6d1727c60166422dbfef4a3ddbb5062e58d915d0705afcd10ded8f1f79e897f9f5244fb6b6d349fbf3ed86ae57f41e31a1965c4e926941
|
|
||||||
DIST containers-storage-1.51.0.tar.gz 4283732 BLAKE2B 108401d68e617e6237e68cf2147113680e0452a8d15ee099da9872508800f3e7b8f2c5508e17d9c5f3d58fec4efc1c20f23f1a567fe592533c0e63efd05ae5c8 SHA512 89916b49438bce8bb774b4aa799676d4b3a946a0b5207a1b5241b1a3ac0875b06b3cd8e81d7e23332ceae6010b693516fc31d8c7f75a37e7ad3056a83c75b6c1
|
DIST containers-storage-1.51.0.tar.gz 4283732 BLAKE2B 108401d68e617e6237e68cf2147113680e0452a8d15ee099da9872508800f3e7b8f2c5508e17d9c5f3d58fec4efc1c20f23f1a567fe592533c0e63efd05ae5c8 SHA512 89916b49438bce8bb774b4aa799676d4b3a946a0b5207a1b5241b1a3ac0875b06b3cd8e81d7e23332ceae6010b693516fc31d8c7f75a37e7ad3056a83c75b6c1
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Default config and docs related to Containers' storage"
|
|
||||||
HOMEPAGE="https://github.com/containers/storage"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/storage.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/containers/storage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${P#containers-}"
|
|
||||||
KEYWORDS="amd64 arm64 ~riscv"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
DEPEND=">=dev-go/go-md2man-2.0.2"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eapply "${FILESDIR}"/system-md2man-path.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -C docs containers-storage.conf.5
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" -C docs install
|
|
||||||
|
|
||||||
insinto /etc/containers
|
|
||||||
doins storage.conf
|
|
||||||
}
|
|
@ -0,0 +1,73 @@
|
|||||||
|
# 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.8.4 ]] ; then
|
||||||
|
COMMIT_SHA=c22fa520401cf274bd92151442ea0d9c353173fa
|
||||||
|
else
|
||||||
|
die 'Could not detect "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=${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
|
||||||
|
}
|
@ -1,4 +1,2 @@
|
|||||||
DIST incus-0.5.1.tar.xz 11101024 BLAKE2B 501d32009558688b153b3b0fae8216186390c44b30b9eb9de725ce129b5776406d8d4d7c686250cdf372bd386a1df491d78c533d9a7befefa987af1eec6420ee SHA512 b2daff7086cda43f8ad36775d3f6434baed7f8276cb630f3d6a6b7270e4a95e053cb00caaf3f9a79d9fd7594fe641571d076db7d15405a63117d1be63510ae91
|
DIST incus-0.6.tar.xz 11749212 BLAKE2B 6cf607f13f0dd14e04b49e97e718d6f11612193a6f27515988c9d12383e3655147edd1120a2b030c9b77f3f72c0c73ae3ec960090b4d76f59930ac0256c2a5c8 SHA512 c90251be777963c437c8f5a3f6a9e448d41f58ec2f2fb7bafbdc241f32234edd50a82a4c6d4a19e822a3d090282e8ea220842a27b17d17bce8691c1549209f7f
|
||||||
DIST incus-0.5.1.tar.xz.asc 833 BLAKE2B c1a5a26cdfc400ba100bc300d567365641d1001c3e121aed5d2f19bed4cf985f3ac1680ff7d1691642bf8cf3dd7a2a783d5cfc9f0bab0ac8525f88f791223227 SHA512 ea4599f06897375c340549c3e6dc137ce8dce4c0f325ff970954af9a4587640158674d154db5f61103acaa3134e7ea4907a0e608ad2fa085776a3f74520deef2
|
DIST incus-0.6.tar.xz.asc 833 BLAKE2B 47d80cbf92961d03e8a96eb313213960b02730d21d0a36c37e22bd1ea238bee72b94f2f98f49574b4ae07d847099db760a253f3bf69ff2658bcba65bc6a61315 SHA512 7504f74bf1659f06c40b9ae04853bb993988ae704f2b46c39a744bfa7b179383b5377851b6514b368826d6b3beb930188f3cf73b51c99a1b4cb90f8f03a60b5c
|
||||||
DIST incus-0.5.tar.xz 11094876 BLAKE2B a05966112cabd6c03395f360f73f29abf7852c37df8e6fb2886b5cff0581f8948fba2f8598a49e9cdb079adcf360dbebf66a6f32c10c224e816e39a46236a5c7 SHA512 7d13bde3b7a09ababe1b67bab6f8b5e4fcbff4d2dcdf677454cc34733636829da4c3c840b634bdee893fd4550f575a94e4b618bd665a460223c26fd24cda87c6
|
|
||||||
DIST incus-0.5.tar.xz.asc 833 BLAKE2B 20dcb99abcbda69a9e1476f16a3a35ea9f326e42ebb95211886570217e7f54dc08ef122fd6315fdcd546aa7fe9aa35af837ba705bafae7c74fb45591a1642bda SHA512 10ba6569e94347e1936aaae94b9823ce81ace1c7590b56e69f2f321ea55ad45ad0f753c3358d47bf7a0bea9ae013c1206eb6cbed53b55c20381c29f20f2be6fa
|
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
From aebcd59a3400f255aa9da97d271ec4c2b9ba4eb2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
|
|
||||||
Date: Tue, 30 Jan 2024 11:32:45 -0500
|
|
||||||
Subject: [PATCH] incusd/instance/qemu/agent-loader: Handle legacy
|
|
||||||
lxd-agent-loader
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
|
|
||||||
---
|
|
||||||
internal/server/instance/drivers/agent-loader/incus-agent | 6 ++++++
|
|
||||||
1 file changed, 6 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/internal/server/instance/drivers/agent-loader/incus-agent b/internal/server/instance/drivers/agent-loader/incus-agent
|
|
||||||
index 6ed5ece1ac..b0ebc25b68 100644
|
|
||||||
--- a/internal/server/instance/drivers/agent-loader/incus-agent
|
|
||||||
+++ b/internal/server/instance/drivers/agent-loader/incus-agent
|
|
||||||
@@ -1,5 +1,11 @@
|
|
||||||
#!/bin/sh
|
|
||||||
PREFIX="/run/incus_agent"
|
|
||||||
+
|
|
||||||
+# Legacy handling
|
|
||||||
+if [ ! -e "${PREFIX}" ] && [ -d "/run/lxd_agent" ]; then
|
|
||||||
+ ln -s "/run/lxd_agent" "${PREFIX}"
|
|
||||||
+fi
|
|
||||||
+
|
|
||||||
mkdir -p "${PREFIX}/.mnt"
|
|
||||||
|
|
||||||
# Functions.
|
|
@ -0,0 +1,41 @@
|
|||||||
|
From bbc4b946355775606da35557e5404ca83a586c67 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
|
||||||
|
Date: Thu, 22 Feb 2024 22:41:15 -0500
|
||||||
|
Subject: [PATCH] incus/image: Fix column handling with --all-projects
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
|
||||||
|
---
|
||||||
|
cmd/incus/image.go | 10 +++++-----
|
||||||
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/cmd/incus/image.go b/cmd/incus/image.go
|
||||||
|
index 5ee2b74709..d5a1126855 100644
|
||||||
|
--- a/cmd/incus/image.go
|
||||||
|
+++ b/cmd/incus/image.go
|
||||||
|
@@ -1134,11 +1134,6 @@ func (c *cmdImageList) parseColumns() ([]imageColumn, error) {
|
||||||
|
columnList := strings.Split(c.flagColumns, ",")
|
||||||
|
|
||||||
|
columns := []imageColumn{}
|
||||||
|
- // Add project column if --all-projects flag specified and
|
||||||
|
- // no --c was passed
|
||||||
|
- if c.flagAllProjects && c.flagColumns == defaultImagesColumns {
|
||||||
|
- c.flagColumns = defaultImagesColumnsAllProjects
|
||||||
|
- }
|
||||||
|
|
||||||
|
for _, columnEntry := range columnList {
|
||||||
|
if columnEntry == "" {
|
||||||
|
@@ -1321,6 +1316,11 @@ func (c *cmdImageList) Run(cmd *cobra.Command, args []string) error {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
+ // Add project column if --all-projects flag specified and no -c was passed.
|
||||||
|
+ if c.flagAllProjects && c.flagColumns == defaultImagesColumns {
|
||||||
|
+ c.flagColumns = defaultImagesColumnsAllProjects
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
// Parse remote
|
||||||
|
remote := ""
|
||||||
|
if len(args) > 0 {
|
@ -1,206 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
|
||||||
|
|
||||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
|
||||||
HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus"
|
|
||||||
SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz
|
|
||||||
verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="apparmor fuidshift nls"
|
|
||||||
|
|
||||||
DEPEND="acct-group/incus
|
|
||||||
acct-group/incus-admin
|
|
||||||
app-arch/xz-utils
|
|
||||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
|
||||||
dev-db/sqlite:3
|
|
||||||
dev-libs/cowsql
|
|
||||||
dev-libs/lzo
|
|
||||||
>=dev-libs/raft-0.18.3:=[lz4]
|
|
||||||
>=dev-util/xdelta-3.0[lzma(+)]
|
|
||||||
net-dns/dnsmasq[dhcp]
|
|
||||||
sys-libs/libcap
|
|
||||||
virtual/udev"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
fuidshift? ( !app-containers/lxd )
|
|
||||||
net-firewall/ebtables
|
|
||||||
net-firewall/iptables
|
|
||||||
sys-apps/iproute2
|
|
||||||
sys-fs/fuse:*
|
|
||||||
>=sys-fs/lxcfs-5.0.0
|
|
||||||
sys-fs/squashfs-tools[lzma]
|
|
||||||
virtual/acl"
|
|
||||||
BDEPEND="dev-lang/go
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
|
||||||
|
|
||||||
CONFIG_CHECK="
|
|
||||||
~CGROUPS
|
|
||||||
~IPC_NS
|
|
||||||
~NET_NS
|
|
||||||
~PID_NS
|
|
||||||
|
|
||||||
~SECCOMP
|
|
||||||
~USER_NS
|
|
||||||
~UTS_NS
|
|
||||||
|
|
||||||
~KVM
|
|
||||||
~MACVTAP
|
|
||||||
~VHOST_VSOCK
|
|
||||||
"
|
|
||||||
|
|
||||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
|
||||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
|
||||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
|
||||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
|
||||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
|
||||||
|
|
||||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
|
||||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
|
||||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
|
||||||
|
|
||||||
# Go magic.
|
|
||||||
QA_PREBUILT="/usr/bin/incus
|
|
||||||
/usr/bin/lxc-to-incus
|
|
||||||
/usr/bin/incus-agent
|
|
||||||
/usr/bin/incus-benchmark
|
|
||||||
/usr/bin/incus-migrate
|
|
||||||
/usr/sbin/fuidshift
|
|
||||||
/usr/sbin/lxd-to-incus
|
|
||||||
/usr/sbin/incusd"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
|
|
||||||
|
|
||||||
# The testsuite must be run as root.
|
|
||||||
# make: *** [Makefile:156: check] Error 1
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
GOPATH="${S}/_dist"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \
|
|
||||||
-e "s:make:make ${MAKEOPTS}:g" \
|
|
||||||
Makefile || die
|
|
||||||
|
|
||||||
# Fix hardcoded ovmf file path, see bug 763180
|
|
||||||
sed -i \
|
|
||||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
|
||||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
|
||||||
doc/environment.md \
|
|
||||||
internal/server/apparmor/instance.go \
|
|
||||||
internal/server/apparmor/instance_qemu.go \
|
|
||||||
internal/server/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
|
||||||
|
|
||||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
|
||||||
sed -i \
|
|
||||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
|
||||||
internal/server/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
|
||||||
|
|
||||||
cp "${FILESDIR}"/incus-0.4.service "${T}"/incus.service || die
|
|
||||||
if use apparmor; then
|
|
||||||
sed -i \
|
|
||||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
|
||||||
"${T}"/incus.service || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Disable -Werror's from go modules.
|
|
||||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
|
||||||
|
|
||||||
for k in incus-benchmark incus-user incus lxc-to-incus ; do
|
|
||||||
ego install -v -x "${S}/cmd/${k}"
|
|
||||||
done
|
|
||||||
|
|
||||||
if use fuidshift ; then
|
|
||||||
ego install -v -x "${S}/cmd/fuidshift"
|
|
||||||
fi
|
|
||||||
|
|
||||||
ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd
|
|
||||||
|
|
||||||
# Needs to be built statically
|
|
||||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/cmd/incus-migrate
|
|
||||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/cmd/incus-agent
|
|
||||||
|
|
||||||
cd "${S}"/cmd/lxd-to-incus || die
|
|
||||||
ego build -v -x ./
|
|
||||||
cd "${S}" || die
|
|
||||||
|
|
||||||
use nls && emake build-mo
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
local bindir="_dist/bin"
|
|
||||||
|
|
||||||
newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup
|
|
||||||
|
|
||||||
# Admin tools
|
|
||||||
for l in incusd incus-user ; do
|
|
||||||
dosbin ${bindir}/${l}
|
|
||||||
done
|
|
||||||
dosbin cmd/lxd-to-incus/lxd-to-incus
|
|
||||||
|
|
||||||
# User tools
|
|
||||||
for m in incus-agent incus-benchmark incus-migrate incus lxc-to-incus ; do
|
|
||||||
dobin ${bindir}/${m}
|
|
||||||
done
|
|
||||||
|
|
||||||
# fuidshift, should be moved under admin tools at some point
|
|
||||||
if use fuidshift ; then
|
|
||||||
dosbin ${bindir}/fuidshift
|
|
||||||
fi
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/incus-0.4.confd incus
|
|
||||||
newinitd "${FILESDIR}"/incus-0.4.initd incus
|
|
||||||
newinitd "${FILESDIR}"/incus-user-0.4.initd incus-user
|
|
||||||
|
|
||||||
systemd_dounit "${T}"/incus.service
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-0.4.socket incus.socket
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-startup-0.4.service incus-startup.service
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-user-0.4.service incus-user.service
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-user-0.4.socket incus-user.socket
|
|
||||||
|
|
||||||
dobashcomp scripts/bash/incus
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
dodoc -r doc/*
|
|
||||||
use nls && domo po/*.mo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog
|
|
||||||
elog "Please see"
|
|
||||||
elog " https://wiki.gentoo.org/wiki/Incus"
|
|
||||||
elog " https://wiki.gentoo.org/wiki/Incus#Migrating_from_LXD"
|
|
||||||
elog
|
|
||||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
|
||||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
|
||||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
|
||||||
optfeature "full incus-migrate support" net-misc/rsync
|
|
||||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
|
||||||
optfeature "zfs storage backend" sys-fs/zfs
|
|
||||||
elog
|
|
||||||
elog "Be sure to add your local user to the incus group."
|
|
||||||
elog
|
|
||||||
}
|
|
@ -1,206 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
|
||||||
|
|
||||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
|
||||||
HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus"
|
|
||||||
SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz
|
|
||||||
verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="apparmor fuidshift nls"
|
|
||||||
|
|
||||||
DEPEND="acct-group/incus
|
|
||||||
acct-group/incus-admin
|
|
||||||
app-arch/xz-utils
|
|
||||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
|
||||||
dev-db/sqlite:3
|
|
||||||
dev-libs/cowsql
|
|
||||||
dev-libs/lzo
|
|
||||||
>=dev-libs/raft-0.18.3:=[lz4]
|
|
||||||
>=dev-util/xdelta-3.0[lzma(+)]
|
|
||||||
net-dns/dnsmasq[dhcp]
|
|
||||||
sys-libs/libcap
|
|
||||||
virtual/udev"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
fuidshift? ( !app-containers/lxd )
|
|
||||||
net-firewall/ebtables
|
|
||||||
net-firewall/iptables
|
|
||||||
sys-apps/iproute2
|
|
||||||
sys-fs/fuse:*
|
|
||||||
>=sys-fs/lxcfs-5.0.0
|
|
||||||
sys-fs/squashfs-tools[lzma]
|
|
||||||
virtual/acl"
|
|
||||||
BDEPEND="dev-lang/go
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
|
||||||
|
|
||||||
CONFIG_CHECK="
|
|
||||||
~CGROUPS
|
|
||||||
~IPC_NS
|
|
||||||
~NET_NS
|
|
||||||
~PID_NS
|
|
||||||
|
|
||||||
~SECCOMP
|
|
||||||
~USER_NS
|
|
||||||
~UTS_NS
|
|
||||||
|
|
||||||
~KVM
|
|
||||||
~MACVTAP
|
|
||||||
~VHOST_VSOCK
|
|
||||||
"
|
|
||||||
|
|
||||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
|
||||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
|
||||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
|
||||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
|
||||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
|
||||||
|
|
||||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
|
||||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
|
||||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
|
||||||
|
|
||||||
# Go magic.
|
|
||||||
QA_PREBUILT="/usr/bin/incus
|
|
||||||
/usr/bin/lxc-to-incus
|
|
||||||
/usr/bin/incus-agent
|
|
||||||
/usr/bin/incus-benchmark
|
|
||||||
/usr/bin/incus-migrate
|
|
||||||
/usr/sbin/fuidshift
|
|
||||||
/usr/sbin/lxd-to-incus
|
|
||||||
/usr/sbin/incusd"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
|
|
||||||
|
|
||||||
# The testsuite must be run as root.
|
|
||||||
# make: *** [Makefile:156: check] Error 1
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
GOPATH="${S}/_dist"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \
|
|
||||||
-e "s:make:make ${MAKEOPTS}:g" \
|
|
||||||
Makefile || die
|
|
||||||
|
|
||||||
# Fix hardcoded ovmf file path, see bug 763180
|
|
||||||
sed -i \
|
|
||||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
|
||||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
|
||||||
doc/environment.md \
|
|
||||||
internal/server/apparmor/instance.go \
|
|
||||||
internal/server/apparmor/instance_qemu.go \
|
|
||||||
internal/server/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
|
||||||
|
|
||||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
|
||||||
sed -i \
|
|
||||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
|
||||||
internal/server/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
|
||||||
|
|
||||||
cp "${FILESDIR}"/incus-0.4.service "${T}"/incus.service || die
|
|
||||||
if use apparmor; then
|
|
||||||
sed -i \
|
|
||||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
|
||||||
"${T}"/incus.service || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Disable -Werror's from go modules.
|
|
||||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
|
||||||
|
|
||||||
for k in incus-benchmark incus-user incus lxc-to-incus ; do
|
|
||||||
ego install -v -x "${S}/cmd/${k}"
|
|
||||||
done
|
|
||||||
|
|
||||||
if use fuidshift ; then
|
|
||||||
ego install -v -x "${S}/cmd/fuidshift"
|
|
||||||
fi
|
|
||||||
|
|
||||||
ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd
|
|
||||||
|
|
||||||
# Needs to be built statically
|
|
||||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/cmd/incus-migrate
|
|
||||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/cmd/incus-agent
|
|
||||||
|
|
||||||
cd "${S}"/cmd/lxd-to-incus || die
|
|
||||||
ego build -v -x ./
|
|
||||||
cd "${S}" || die
|
|
||||||
|
|
||||||
use nls && emake build-mo
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
local bindir="_dist/bin"
|
|
||||||
|
|
||||||
newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup
|
|
||||||
|
|
||||||
# Admin tools
|
|
||||||
for l in incusd incus-user ; do
|
|
||||||
dosbin ${bindir}/${l}
|
|
||||||
done
|
|
||||||
dosbin cmd/lxd-to-incus/lxd-to-incus
|
|
||||||
|
|
||||||
# User tools
|
|
||||||
for m in incus-agent incus-benchmark incus-migrate incus lxc-to-incus ; do
|
|
||||||
dobin ${bindir}/${m}
|
|
||||||
done
|
|
||||||
|
|
||||||
# fuidshift, should be moved under admin tools at some point
|
|
||||||
if use fuidshift ; then
|
|
||||||
dosbin ${bindir}/fuidshift
|
|
||||||
fi
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/incus-0.4.confd incus
|
|
||||||
newinitd "${FILESDIR}"/incus-0.4.initd incus
|
|
||||||
newinitd "${FILESDIR}"/incus-user-0.4.initd incus-user
|
|
||||||
|
|
||||||
systemd_dounit "${T}"/incus.service
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-0.4.socket incus.socket
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-startup-0.4.service incus-startup.service
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-user-0.4.service incus-user.service
|
|
||||||
systemd_newunit "${FILESDIR}"/incus-user-0.4.socket incus-user.socket
|
|
||||||
|
|
||||||
dobashcomp scripts/bash/incus
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
dodoc -r doc/*
|
|
||||||
use nls && domo po/*.mo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog
|
|
||||||
elog "Please see"
|
|
||||||
elog " https://wiki.gentoo.org/wiki/Incus"
|
|
||||||
elog " https://wiki.gentoo.org/wiki/Incus#Migrating_from_LXD"
|
|
||||||
elog
|
|
||||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
|
||||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
|
||||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
|
||||||
optfeature "full incus-migrate support" net-misc/rsync
|
|
||||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
|
||||||
optfeature "zfs storage backend" sys-fs/zfs
|
|
||||||
elog
|
|
||||||
elog "Be sure to add your local user to the incus group."
|
|
||||||
elog
|
|
||||||
}
|
|
@ -1,214 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
|
||||||
|
|
||||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
|
||||||
HOMEPAGE="https://ubuntu.com/lxd https://github.com/canonical/lxd"
|
|
||||||
SRC_URI="https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz
|
|
||||||
verify-sig? ( https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz.asc
|
|
||||||
)"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
|
||||||
SLOT="0/lts"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="apparmor nls"
|
|
||||||
|
|
||||||
DEPEND="acct-group/lxd
|
|
||||||
app-arch/xz-utils
|
|
||||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
|
||||||
dev-db/sqlite:3
|
|
||||||
>=dev-libs/dqlite-1.13.0:=
|
|
||||||
dev-libs/lzo
|
|
||||||
>=dev-libs/raft-0.17.1:=[lz4]
|
|
||||||
>=dev-util/xdelta-3.0[lzma(+)]
|
|
||||||
net-dns/dnsmasq[dhcp]
|
|
||||||
sys-libs/libcap
|
|
||||||
virtual/udev"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
|| (
|
|
||||||
net-firewall/nftables[json]
|
|
||||||
(
|
|
||||||
net-firewall/ebtables
|
|
||||||
net-firewall/iptables
|
|
||||||
)
|
|
||||||
)
|
|
||||||
sys-apps/iproute2
|
|
||||||
sys-fs/fuse:*
|
|
||||||
>=sys-fs/lxcfs-5.0.0
|
|
||||||
sys-fs/squashfs-tools[lzma]
|
|
||||||
virtual/acl"
|
|
||||||
BDEPEND="dev-lang/go
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-canonical )"
|
|
||||||
|
|
||||||
CONFIG_CHECK="
|
|
||||||
~CGROUPS
|
|
||||||
~IPC_NS
|
|
||||||
~NET_NS
|
|
||||||
~PID_NS
|
|
||||||
|
|
||||||
~SECCOMP
|
|
||||||
~USER_NS
|
|
||||||
~UTS_NS
|
|
||||||
|
|
||||||
~KVM
|
|
||||||
~MACVTAP
|
|
||||||
~VHOST_VSOCK
|
|
||||||
"
|
|
||||||
|
|
||||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
|
||||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
|
||||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
|
||||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
|
||||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
|
||||||
|
|
||||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
|
||||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
|
||||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
|
||||||
|
|
||||||
# Go magic.
|
|
||||||
QA_PREBUILT="/usr/bin/fuidshift
|
|
||||||
/usr/bin/lxc
|
|
||||||
/usr/bin/lxc-to-lxd
|
|
||||||
/usr/bin/lxd-agent
|
|
||||||
/usr/bin/lxd-benchmark
|
|
||||||
/usr/bin/lxd-migrate
|
|
||||||
/usr/sbin/lxd"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/canonical.asc
|
|
||||||
|
|
||||||
# The testsuite must be run as root.
|
|
||||||
# make: *** [Makefile:156: check] Error 1
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
GOPATH="${S}/_dist"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/lxd-5.0.3-remove-shellcheck-buildsystem-checks.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd:g" \
|
|
||||||
-e "s:make:make ${MAKEOPTS}:g" \
|
|
||||||
Makefile || die
|
|
||||||
|
|
||||||
# Fix hardcoded ovmf file path, see bug 763180
|
|
||||||
sed -i \
|
|
||||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
|
||||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
|
||||||
doc/environment.md \
|
|
||||||
lxd/apparmor/instance.go \
|
|
||||||
lxd/apparmor/instance_qemu.go \
|
|
||||||
lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
|
||||||
|
|
||||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
|
||||||
sed -i \
|
|
||||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
|
||||||
lxd/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
|
||||||
|
|
||||||
cp "${FILESDIR}"/lxd-4.0.9-r1.service "${T}"/lxd.service || die
|
|
||||||
if use apparmor; then
|
|
||||||
sed -i \
|
|
||||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
|
||||||
"${T}"/lxd.service || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Disable -Werror's from go modules.
|
|
||||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() { :; }
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
|
||||||
|
|
||||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
|
||||||
go install -v -x "${S}/${k}" || die "failed compiling ${k}"
|
|
||||||
done
|
|
||||||
|
|
||||||
go install -v -x -tags libsqlite3 "${S}"/lxd || die "Failed to build the daemon"
|
|
||||||
|
|
||||||
# Needs to be built statically
|
|
||||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/lxd-migrate
|
|
||||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/lxd-agent
|
|
||||||
|
|
||||||
use nls && emake build-mo
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
export GOPATH="${S}/_dist"
|
|
||||||
local bindir="_dist/bin"
|
|
||||||
|
|
||||||
dosbin ${bindir}/lxd
|
|
||||||
|
|
||||||
for l in fuidshift lxd-agent lxd-benchmark lxd-migrate lxc lxc-to-lxd; do
|
|
||||||
dobin ${bindir}/${l}
|
|
||||||
done
|
|
||||||
|
|
||||||
newbashcomp scripts/bash/lxd-client lxc
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
|
||||||
newinitd "${FILESDIR}"/lxd-5.0.2-r1.initd lxd
|
|
||||||
|
|
||||||
systemd_dounit "${T}"/lxd.service
|
|
||||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
|
||||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
|
||||||
|
|
||||||
dodoc AUTHORS
|
|
||||||
dodoc -r doc/*
|
|
||||||
use nls && domo po/*.mo
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog
|
|
||||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
|
||||||
elog "including a Quick Start."
|
|
||||||
elog "For virtual machine support, see:"
|
|
||||||
elog "https://wiki.gentoo.org/wiki/LXD#Virtual_machines"
|
|
||||||
elog
|
|
||||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
|
||||||
elog
|
|
||||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
|
||||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
|
||||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
|
||||||
optfeature "full lxd-migrate support" net-misc/rsync
|
|
||||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
|
||||||
optfeature "zfs storage backend" sys-fs/zfs
|
|
||||||
elog
|
|
||||||
elog "Be sure to add your local user to the lxd group."
|
|
||||||
|
|
||||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
|
||||||
ver_test ${REPLACING_VERSIONS} -lt 5.0.1 &&
|
|
||||||
has_version app-emulation/qemu[spice,usbredir,virtfs]; then
|
|
||||||
ewarn ""
|
|
||||||
ewarn "You're updating from <5.0.1. Due to incompatible API updates in the lxd-agent"
|
|
||||||
ewarn "product, you'll have to restart any running virtual machines before they work"
|
|
||||||
ewarn "properly."
|
|
||||||
ewarn ""
|
|
||||||
ewarn "Run: 'lxc restart your-vm' after the update for your vm's managed by lxd."
|
|
||||||
ewarn ""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
|
||||||
has_version "sys-apps/openrc"; then
|
|
||||||
elog ""
|
|
||||||
elog "The new init.d script will attempt to mount "
|
|
||||||
elog " /sys/fs/cgroup/systemd"
|
|
||||||
elog "by default, which is needed to run systemd containers with openrc host."
|
|
||||||
elog "See the /etc/init.d/lxd file for requirements."
|
|
||||||
elog ""
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,285 +0,0 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
CRATES="
|
|
||||||
aho-corasick-0.7.20
|
|
||||||
android_system_properties-0.1.5
|
|
||||||
anyhow-1.0.70
|
|
||||||
arrayvec-0.7.2
|
|
||||||
async-broadcast-0.5.1
|
|
||||||
async-channel-1.8.0
|
|
||||||
async-executor-1.5.0
|
|
||||||
async-fs-1.6.0
|
|
||||||
async-io-1.12.0
|
|
||||||
async-lock-2.7.0
|
|
||||||
async-recursion-1.0.2
|
|
||||||
async-task-4.3.0
|
|
||||||
async-trait-0.1.68
|
|
||||||
atomic-waker-1.1.0
|
|
||||||
atty-0.2.14
|
|
||||||
autocfg-1.1.0
|
|
||||||
axum-0.6.12
|
|
||||||
axum-core-0.3.3
|
|
||||||
base64-0.21.0
|
|
||||||
bitflags-1.3.2
|
|
||||||
block-buffer-0.10.3
|
|
||||||
blocking-1.3.0
|
|
||||||
bumpalo-3.12.0
|
|
||||||
byteorder-1.4.3
|
|
||||||
bytes-1.4.0
|
|
||||||
cc-1.0.79
|
|
||||||
cfg-if-1.0.0
|
|
||||||
chrono-0.4.24
|
|
||||||
clap-3.2.23
|
|
||||||
clap_derive-3.2.18
|
|
||||||
clap_lex-0.2.4
|
|
||||||
codespan-reporting-0.11.1
|
|
||||||
concurrent-queue-2.1.0
|
|
||||||
core-foundation-sys-0.8.3
|
|
||||||
cpufeatures-0.2.5
|
|
||||||
crossbeam-utils-0.8.15
|
|
||||||
crypto-common-0.1.6
|
|
||||||
cxx-1.0.92
|
|
||||||
cxx-build-1.0.92
|
|
||||||
cxxbridge-flags-1.0.92
|
|
||||||
cxxbridge-macro-1.0.92
|
|
||||||
data-encoding-2.3.3
|
|
||||||
derivative-2.2.0
|
|
||||||
dhcproto-0.9.0
|
|
||||||
dhcproto-macros-0.1.0
|
|
||||||
digest-0.10.6
|
|
||||||
dirs-4.0.0
|
|
||||||
dirs-sys-0.3.7
|
|
||||||
either-1.8.1
|
|
||||||
enum-as-inner-0.5.1
|
|
||||||
enumflags2-0.7.5
|
|
||||||
enumflags2_derive-0.7.4
|
|
||||||
env_logger-0.10.0
|
|
||||||
errno-0.2.8
|
|
||||||
errno-dragonfly-0.1.2
|
|
||||||
etherparse-0.13.0
|
|
||||||
ethtool-0.2.4
|
|
||||||
event-listener-2.5.3
|
|
||||||
fastrand-1.9.0
|
|
||||||
fixedbitset-0.4.2
|
|
||||||
fnv-1.0.7
|
|
||||||
form_urlencoded-1.1.0
|
|
||||||
fs2-0.4.3
|
|
||||||
futures-0.3.26
|
|
||||||
futures-channel-0.3.28
|
|
||||||
futures-core-0.3.28
|
|
||||||
futures-executor-0.3.26
|
|
||||||
futures-io-0.3.28
|
|
||||||
futures-lite-1.12.0
|
|
||||||
futures-macro-0.3.28
|
|
||||||
futures-sink-0.3.28
|
|
||||||
futures-task-0.3.28
|
|
||||||
futures-util-0.3.28
|
|
||||||
generic-array-0.14.6
|
|
||||||
genetlink-0.2.4
|
|
||||||
getrandom-0.2.8
|
|
||||||
h2-0.3.16
|
|
||||||
hashbrown-0.12.3
|
|
||||||
heck-0.4.1
|
|
||||||
hermit-abi-0.1.19
|
|
||||||
hermit-abi-0.2.6
|
|
||||||
hermit-abi-0.3.1
|
|
||||||
hex-0.4.3
|
|
||||||
http-0.2.9
|
|
||||||
http-body-0.4.5
|
|
||||||
httparse-1.8.0
|
|
||||||
httpdate-1.0.2
|
|
||||||
humantime-2.1.0
|
|
||||||
hyper-0.14.24
|
|
||||||
hyper-timeout-0.4.1
|
|
||||||
iana-time-zone-0.1.53
|
|
||||||
iana-time-zone-haiku-0.1.1
|
|
||||||
idna-0.2.3
|
|
||||||
idna-0.3.0
|
|
||||||
indexmap-1.9.2
|
|
||||||
instant-0.1.12
|
|
||||||
io-lifetimes-1.0.5
|
|
||||||
ipnet-2.7.2
|
|
||||||
iptables-0.5.0
|
|
||||||
is-terminal-0.4.4
|
|
||||||
itertools-0.10.5
|
|
||||||
itoa-1.0.6
|
|
||||||
js-sys-0.3.61
|
|
||||||
lazy_static-1.4.0
|
|
||||||
libc-0.2.140
|
|
||||||
link-cplusplus-1.0.8
|
|
||||||
linux-raw-sys-0.1.4
|
|
||||||
log-0.4.17
|
|
||||||
macaddr-1.0.1
|
|
||||||
matches-0.1.10
|
|
||||||
matchit-0.7.0
|
|
||||||
memchr-2.5.0
|
|
||||||
memoffset-0.6.5
|
|
||||||
memoffset-0.7.1
|
|
||||||
mime-0.3.16
|
|
||||||
mio-0.8.6
|
|
||||||
mozim-0.2.2
|
|
||||||
mptcp-pm-0.1.2
|
|
||||||
multimap-0.8.3
|
|
||||||
netavark-1.6.0
|
|
||||||
netlink-packet-core-0.5.0
|
|
||||||
netlink-packet-generic-0.3.2
|
|
||||||
netlink-packet-route-0.15.0
|
|
||||||
netlink-packet-utils-0.5.2
|
|
||||||
netlink-proto-0.11.1
|
|
||||||
netlink-sys-0.8.5
|
|
||||||
nispor-1.2.10
|
|
||||||
nix-0.23.2
|
|
||||||
nix-0.26.2
|
|
||||||
num-integer-0.1.45
|
|
||||||
num-traits-0.2.15
|
|
||||||
num_cpus-1.15.0
|
|
||||||
once_cell-1.17.1
|
|
||||||
ordered-float-2.10.0
|
|
||||||
ordered-stream-0.2.0
|
|
||||||
os_str_bytes-6.4.1
|
|
||||||
parking-2.0.0
|
|
||||||
paste-1.0.12
|
|
||||||
percent-encoding-2.2.0
|
|
||||||
petgraph-0.6.3
|
|
||||||
pin-project-1.0.12
|
|
||||||
pin-project-internal-1.0.12
|
|
||||||
pin-project-lite-0.2.9
|
|
||||||
pin-utils-0.1.0
|
|
||||||
polling-2.5.2
|
|
||||||
ppv-lite86-0.2.17
|
|
||||||
prettyplease-0.1.24
|
|
||||||
proc-macro-crate-1.3.1
|
|
||||||
proc-macro-error-1.0.4
|
|
||||||
proc-macro-error-attr-1.0.4
|
|
||||||
proc-macro2-1.0.53
|
|
||||||
prost-0.11.8
|
|
||||||
prost-build-0.11.8
|
|
||||||
prost-derive-0.11.8
|
|
||||||
prost-types-0.11.8
|
|
||||||
quote-1.0.26
|
|
||||||
rand-0.8.5
|
|
||||||
rand_chacha-0.3.1
|
|
||||||
rand_core-0.6.4
|
|
||||||
redox_syscall-0.2.16
|
|
||||||
redox_users-0.4.3
|
|
||||||
regex-1.7.1
|
|
||||||
regex-syntax-0.6.28
|
|
||||||
rtnetlink-0.12.0
|
|
||||||
rustix-0.36.9
|
|
||||||
rustversion-1.0.12
|
|
||||||
ryu-1.0.13
|
|
||||||
same-file-1.0.6
|
|
||||||
scratch-1.0.5
|
|
||||||
serde-1.0.159
|
|
||||||
serde-value-0.7.0
|
|
||||||
serde_derive-1.0.159
|
|
||||||
serde_json-1.0.95
|
|
||||||
serde_repr-0.1.11
|
|
||||||
sha1-0.10.5
|
|
||||||
sha2-0.10.6
|
|
||||||
signal-hook-registry-1.4.1
|
|
||||||
slab-0.4.8
|
|
||||||
smallvec-1.10.0
|
|
||||||
socket2-0.4.9
|
|
||||||
static_assertions-1.1.0
|
|
||||||
strsim-0.10.0
|
|
||||||
syn-1.0.109
|
|
||||||
syn-2.0.12
|
|
||||||
sync_wrapper-0.1.2
|
|
||||||
sysctl-0.5.4
|
|
||||||
tempfile-3.4.0
|
|
||||||
termcolor-1.2.0
|
|
||||||
textwrap-0.16.0
|
|
||||||
thiserror-1.0.39
|
|
||||||
thiserror-impl-1.0.39
|
|
||||||
tinyvec-1.6.0
|
|
||||||
tinyvec_macros-0.1.1
|
|
||||||
tokio-1.27.0
|
|
||||||
tokio-io-timeout-1.2.0
|
|
||||||
tokio-macros-2.0.0
|
|
||||||
tokio-stream-0.1.12
|
|
||||||
tokio-util-0.7.7
|
|
||||||
toml_datetime-0.6.1
|
|
||||||
toml_edit-0.19.4
|
|
||||||
tonic-0.9.1
|
|
||||||
tonic-build-0.8.4
|
|
||||||
tower-0.4.13
|
|
||||||
tower-layer-0.3.2
|
|
||||||
tower-service-0.3.2
|
|
||||||
tracing-0.1.37
|
|
||||||
tracing-attributes-0.1.23
|
|
||||||
tracing-core-0.1.30
|
|
||||||
trust-dns-proto-0.22.0
|
|
||||||
try-lock-0.2.4
|
|
||||||
typenum-1.16.0
|
|
||||||
uds_windows-1.0.2
|
|
||||||
unicode-bidi-0.3.10
|
|
||||||
unicode-ident-1.0.8
|
|
||||||
unicode-normalization-0.1.22
|
|
||||||
unicode-width-0.1.10
|
|
||||||
url-2.3.1
|
|
||||||
version_check-0.9.4
|
|
||||||
waker-fn-1.1.0
|
|
||||||
walkdir-2.3.2
|
|
||||||
want-0.3.0
|
|
||||||
wasi-0.11.0+wasi-snapshot-preview1
|
|
||||||
wasm-bindgen-0.2.84
|
|
||||||
wasm-bindgen-backend-0.2.84
|
|
||||||
wasm-bindgen-macro-0.2.84
|
|
||||||
wasm-bindgen-macro-support-0.2.84
|
|
||||||
wasm-bindgen-shared-0.2.84
|
|
||||||
wepoll-ffi-0.1.2
|
|
||||||
which-4.4.0
|
|
||||||
winapi-0.3.9
|
|
||||||
winapi-i686-pc-windows-gnu-0.4.0
|
|
||||||
winapi-util-0.1.5
|
|
||||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
||||||
windows-sys-0.42.0
|
|
||||||
windows-sys-0.45.0
|
|
||||||
windows-targets-0.42.1
|
|
||||||
windows_aarch64_gnullvm-0.42.1
|
|
||||||
windows_aarch64_msvc-0.42.1
|
|
||||||
windows_i686_gnu-0.42.1
|
|
||||||
windows_i686_msvc-0.42.1
|
|
||||||
windows_x86_64_gnu-0.42.1
|
|
||||||
windows_x86_64_gnullvm-0.42.1
|
|
||||||
windows_x86_64_msvc-0.42.1
|
|
||||||
winnow-0.3.4
|
|
||||||
zbus-3.11.1
|
|
||||||
zbus_macros-3.11.1
|
|
||||||
zbus_names-2.5.0
|
|
||||||
zvariant-3.11.0
|
|
||||||
zvariant_derive-3.11.0
|
|
||||||
zvariant_utils-1.0.0
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit cargo
|
|
||||||
|
|
||||||
DESCRIPTION="A container network stack"
|
|
||||||
HOMEPAGE="https://github.com/containers/netavark"
|
|
||||||
SRC_URI="$(cargo_crate_uris)"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
|
||||||
BDEPEND="dev-go/go-md2man
|
|
||||||
dev-libs/protobuf"
|
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="usr/bin/${PN}
|
|
||||||
usr/bin/${PN}-dhcp-proxy-client
|
|
||||||
usr/libexec/podman/${PN}"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
go-md2man -in docs/netavark.1.md -out docs/netavark.1 || die
|
|
||||||
cargo_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cargo_src_install
|
|
||||||
doman docs/netavark.1
|
|
||||||
dodir /usr/libexec/podman
|
|
||||||
ln "${ED}/usr/"{bin,libexec/podman}/netavark || die
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
[[ ${PV} == *9999* ]] || CRATES="${PN}@${PV}"
|
|
||||||
|
|
||||||
inherit cargo systemd
|
|
||||||
|
|
||||||
DESCRIPTION="A container network stack"
|
|
||||||
HOMEPAGE="https://github.com/containers/netavark"
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/netavark.git"
|
|
||||||
else
|
|
||||||
SRC_URI="${CARGO_CRATE_URIS} https://github.com/containers/netavark/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz"
|
|
||||||
KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
|
|
||||||
fi
|
|
||||||
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB"
|
|
||||||
SLOT="0"
|
|
||||||
BDEPEND="dev-go/go-md2man
|
|
||||||
dev-libs/protobuf"
|
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="
|
|
||||||
usr/libexec/podman/${PN}"
|
|
||||||
QA_PRESTRIPPED="
|
|
||||||
usr/libexec/podman/${PN}"
|
|
||||||
|
|
||||||
ECARGO_VENDOR="${WORKDIR}/vendor"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
|
||||||
git-r3_src_unpack
|
|
||||||
cargo_live_src_unpack
|
|
||||||
else
|
|
||||||
cargo_src_unpack
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
sed -i -e "s|m0755 bin|m0755 target/$(usex debug debug release)|g;" Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cargo_src_compile
|
|
||||||
export PREFIX="${EPREFIX}"/usr SYSTEMDDIR="$(systemd_get_systemunitdir)"
|
|
||||||
emake docs
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
COMMIT=ee60474d5a4d99745aac9855797ad4b26510d786
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
DESCRIPTION="Command line utility foroperations on container images and image repositories"
|
|
||||||
HOMEPAGE="https://github.com/containers/skopeo"
|
|
||||||
SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="btrfs"
|
|
||||||
|
|
||||||
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
|
|
||||||
>=dev-libs/libassuan-2.4.3:=
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
|
|
||||||
>=sys-fs/lvm2-2.02.145:="
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
BDEPEND="dev-go/go-md2man"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local BUILDTAGS
|
|
||||||
BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)"
|
|
||||||
emake PREFIX=/usr BUILDTAGS="${BUILDTAGS}" GIT_COMMIT="${COMMIT}" \
|
|
||||||
all completions
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake PREFIX=/usr DESTDIR="${ED}" install
|
|
||||||
keepdir /var/lib/containers/sigstore
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
COMMIT=fb1ade6d9e9b501e35b09538c9533fac5dd604b6
|
|
||||||
inherit go-module
|
|
||||||
|
|
||||||
DESCRIPTION="Command line utility foroperations on container images and image repositories"
|
|
||||||
HOMEPAGE="https://github.com/containers/skopeo"
|
|
||||||
SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64"
|
|
||||||
IUSE="btrfs"
|
|
||||||
|
|
||||||
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
|
|
||||||
>=dev-libs/libassuan-2.4.3:=
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
|
|
||||||
>=sys-fs/lvm2-2.02.145:="
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
BDEPEND="dev-go/go-md2man"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local BUILDTAGS
|
|
||||||
BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)"
|
|
||||||
emake PREFIX=/usr BUILDTAGS="${BUILDTAGS}" GIT_COMMIT="${COMMIT}" \
|
|
||||||
all completions
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake PREFIX=/usr DESTDIR="${ED}" install
|
|
||||||
keepdir /var/lib/containers/sigstore
|
|
||||||
}
|
|
@ -1,52 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
COMMIT=2b357d82769d1fc08739211fb21390016b99a8a9
|
|
||||||
inherit go-module bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Command line utility foroperations on container images and image repositories"
|
|
||||||
HOMEPAGE="https://github.com/containers/skopeo"
|
|
||||||
SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm64"
|
|
||||||
IUSE="btrfs"
|
|
||||||
|
|
||||||
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
|
|
||||||
>=dev-libs/libassuan-2.4.3:=
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
|
|
||||||
>=sys-fs/lvm2-2.02.145:="
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
dev-go/go-md2man"
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
RESTRICT+=" test"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local BUILDTAGS
|
|
||||||
BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)"
|
|
||||||
set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \
|
|
||||||
-gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \
|
|
||||||
-o skopeo ./cmd/skopeo
|
|
||||||
echo "$@"
|
|
||||||
"$@" || die
|
|
||||||
cd docs || die
|
|
||||||
for f in *.1.md; do
|
|
||||||
go-md2man -in ${f} -out ${f%%.md} || die
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin skopeo
|
|
||||||
doman docs/*.1
|
|
||||||
dobashcomp completions/bash/skopeo
|
|
||||||
insinto /etc/containers
|
|
||||||
newins default-policy.json policy.json
|
|
||||||
insinto /etc/containers/registries.d
|
|
||||||
doins default.yaml
|
|
||||||
keepdir /var/lib/atomic/sigstore
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
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