parent
b9b85ac33d
commit
cd369847cd
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST at-spi2-core-2.50.1.tar.xz 567836 BLAKE2B 88916f322efa547be2249388a5f7b698ff7fb9464bc98fa929524616d0d25237328c10678df800b9ce325a3050804e9b0044a43024d06b71381dfc32917700a3 SHA512 d0b342a1ff2a3dd91aa87663412289d1616906c14a37e81b8514882d44981092356dc8a5d5c66b6d980d2cdf22128fff74651a4af6cad73cb62fd3154c5bbeae
|
DIST at-spi2-core-2.50.1.tar.xz 567836 BLAKE2B 88916f322efa547be2249388a5f7b698ff7fb9464bc98fa929524616d0d25237328c10678df800b9ce325a3050804e9b0044a43024d06b71381dfc32917700a3 SHA512 d0b342a1ff2a3dd91aa87663412289d1616906c14a37e81b8514882d44981092356dc8a5d5c66b6d980d2cdf22128fff74651a4af6cad73cb62fd3154c5bbeae
|
||||||
|
DIST at-spi2-core-2.50.2.tar.xz 569124 BLAKE2B 7a69dbeb68b674d5b4e458dc10ba0e266583216f6a45f1924dee28e848bc124802f5181b0b1cc969eae2dfbb13df56b0c87bb1f347f6e323f6474d02a3543664 SHA512 a1c9ca77d34801b421c13f66d72e6101b23896dd210efbd7931ac0778e30c51a20759796a8c121946f57c1683626fd3ef34f88e5ad6495c20f6ac79fd0a96aa4
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit gnome.org meson-multilib systemd virtualx xdg
|
||||||
|
|
||||||
|
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE="X dbus-broker gtk-doc +introspection systemd"
|
||||||
|
REQUIRED_USE="
|
||||||
|
dbus-broker? ( systemd )
|
||||||
|
gtk-doc? ( X )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}]
|
||||||
|
>=dev-libs/libxml2-2.9.1:2[${MULTILIB_USEDEP}]
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
|
||||||
|
systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
|
||||||
|
X? (
|
||||||
|
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
|
||||||
|
!<dev-libs/atk-2.46.0
|
||||||
|
!<app-accessibility/at-spi2-atk-2.46.0
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
dbus-broker? ( sys-apps/dbus-broker )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
dev-util/glib-utils
|
||||||
|
gtk-doc? (
|
||||||
|
dev-python/sphinx
|
||||||
|
dev-util/gdbus-codegen
|
||||||
|
>=dev-util/gi-docgen-2021.1
|
||||||
|
)
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Ddefault_bus=$(usex dbus-broker dbus-broker dbus-daemon)
|
||||||
|
$(meson_use systemd use_systemd)
|
||||||
|
-Dgtk2_atk_adaptor=true
|
||||||
|
-Dsystemd_user_dir="$(systemd_get_userunitdir)"
|
||||||
|
$(meson_native_use_bool gtk-doc docs)
|
||||||
|
$(meson_native_use_feature introspection)
|
||||||
|
$(meson_feature X x11)
|
||||||
|
-Ddisable_p2p=false
|
||||||
|
-Datk_only=false
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
if use gtk-doc; then
|
||||||
|
mkdir -p "${ED}"/usr/share/gtk-doc/{libatspi,atk} || die
|
||||||
|
mv "${ED}"/usr/share/doc/libatspi "${ED}"/usr/share/gtk-doc/libatspi/html || die
|
||||||
|
mv "${ED}"/usr/share/doc/atk "${ED}"/usr/share/gtk-doc/atk/html || die
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,6 +1,3 @@
|
|||||||
DIST aws-cli-1.32.49.gh.tar.gz 2654398 BLAKE2B fc2e9052b777e1e8bac60621993b55aa01bb0c0e66ad24008498d44b68ecffeaa903d8afd6e361768031c3954e061ed89e24d85fea23454fad8f6d7de4521cfa SHA512 4a5c1d9e92b7e615adb1d6afca0a01a62e55ac4ffd50b9d7634faf0a4e6108c035e78f9f60824bc9a53505ed4a376757ec4c9fc35fb26a2ba8850f7a206919bf
|
|
||||||
DIST aws-cli-1.32.54.gh.tar.gz 2656395 BLAKE2B 7f41ac7bb0b11ef851cbc1793c202dd38045fda6af3694e1d2c29f2aa07047f116c6bceb5aec72e805494647f801b1523dadef5301322ed9c25426aaccc1289e SHA512 29e591d8f06091cd138c3ff10b15cd0344b5f12e6a4452ce1cde3e6439e1b70ded7f1b60c96c53a6ad699a3e6b49591e5d26b0190d7d6268792b77a883faa6fc
|
DIST aws-cli-1.32.54.gh.tar.gz 2656395 BLAKE2B 7f41ac7bb0b11ef851cbc1793c202dd38045fda6af3694e1d2c29f2aa07047f116c6bceb5aec72e805494647f801b1523dadef5301322ed9c25426aaccc1289e SHA512 29e591d8f06091cd138c3ff10b15cd0344b5f12e6a4452ce1cde3e6439e1b70ded7f1b60c96c53a6ad699a3e6b49591e5d26b0190d7d6268792b77a883faa6fc
|
||||||
DIST aws-cli-1.32.59.gh.tar.gz 2660092 BLAKE2B 560bd7b69822af18f33e91d7586da20b6bf955070e524b66da2a987a6305298a2e566749cf50ac21907ca6fa97eb4a3f1475625f23bdd27874aab63f5b8f8cf9 SHA512 a4efcec4db472891bf856bbdb2b6a8e98e3b74f0db88c04c284d62d65650339f4c1f37cef92b4a5e8b06b75f8aaa7882d6cfe319cf5c25cd8961a0cac0d0f2b1
|
DIST aws-cli-1.32.59.gh.tar.gz 2660092 BLAKE2B 560bd7b69822af18f33e91d7586da20b6bf955070e524b66da2a987a6305298a2e566749cf50ac21907ca6fa97eb4a3f1475625f23bdd27874aab63f5b8f8cf9 SHA512 a4efcec4db472891bf856bbdb2b6a8e98e3b74f0db88c04c284d62d65650339f4c1f37cef92b4a5e8b06b75f8aaa7882d6cfe319cf5c25cd8961a0cac0d0f2b1
|
||||||
DIST aws-cli-1.32.60.gh.tar.gz 2660322 BLAKE2B ce1576d2e627f37c6d25d6fce7eac37a341da43d20f6305404830da7611862cab670df92d5f18459024eb3c50acccd4785c139e3893d860be168e00f980b1fb1 SHA512 52f1f8ebbef383096066473188879d9d0583d92b516a710777963c713d92b284edfb73a88d059678ac69e88d2c6982fe3f052b1fa80cf36ec2e90f1bdfa152e8
|
DIST aws-cli-1.32.64.gh.tar.gz 2672156 BLAKE2B 6707984b03e004ed8672b35694c9e4be7d2543c040a64778c0ad43a4e011f07506eb5e3f9791a5b0e23bc5bd222b625daa078f9e42cfbf6d71b7887d675c1a5a SHA512 f39472bb1ad75cbfc4bf775aee9a003a884d7423e10d9ff96f90ebe7dbd97c0db4bbd4d52f1d918372ec880d1dea8f5cf82db31118a7c29973d42149064fd8a3
|
||||||
DIST aws-cli-1.32.61.gh.tar.gz 2660623 BLAKE2B 2d6783fca1022a83002752c150f45a994c796065becb3fbfe787eedf3bd24064a971d3d2beb808b8ebfacbb9fd761aa3cdf1f13994b5da528cca9211fbd809d0 SHA512 09818b78cabe33cd401e41dde3f71f1c2507f063b5edc55c6dfba61172044af9f901ad60de7289d0210df5dc445707c762db21a99413042a270a2318d6e658a4
|
|
||||||
DIST aws-cli-1.32.62.gh.tar.gz 2670712 BLAKE2B 18da5658b83c009a83691c8c44ae6616699a1f4488fbfbd0e57da9a4b8406532a1e35df0c92d7a1c830cffcc423b7ffabce183fc0a9bda3ccb3e316856ebce8e SHA512 b1112100930452da0af7392cb48e022b80eced3f3cbbe97ac9583b0cf9ec5796cc95243c6c0f1531f46c1fe96be4c2aa348a338e4f968f6d25f362e93a40636e
|
|
||||||
|
@ -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,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,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# To enable sync via cron, execute "runuser -u logcheck touch /etc/logcheck/cron-logcheck-enabled"
|
|
||||||
if [[ ! -f /etc/logcheck/cron-logcheck-enabled ]]; then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
if [ ! -d /var/lock/logcheck ]; then
|
|
||||||
mkdir -p /var/lock/logcheck
|
|
||||||
chown logcheck:logcheck /var/lock/logcheck
|
|
||||||
fi
|
|
||||||
/sbin/runuser -u logcheck --nice -n10 /usr/sbin/logcheck "$@"
|
|
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# To enable sync via cron, execute "runuser -u logcheck touch /etc/logcheck/cron-logcheck-enabled"
|
||||||
|
if [[ ! -f /etc/logcheck/cron-logcheck-enabled ]]; then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
if [ ! -d /var/lock/logcheck ]; then
|
||||||
|
mkdir -p /var/lock/logcheck
|
||||||
|
chown logcheck:logcheck /var/lock/logcheck
|
||||||
|
fi
|
||||||
|
/sbin/runuser -u logcheck -- nice -n10 /usr/sbin/logcheck "$@"
|
@ -1,99 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit readme.gentoo-r1 systemd tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Mails anomalies in the system logfiles to the administrator"
|
|
||||||
HOMEPAGE="https://logcheck.org/"
|
|
||||||
SRC_URI="https://salsa.debian.org/debian/logcheck/-/archive/debian/${PV}/logcheck-debian-${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-debian-${PV}"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
|
||||||
IUSE="cron systemd"
|
|
||||||
# Test (emake system-test) requires access to system logs
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
acct-group/logcheck
|
|
||||||
acct-user/logcheck[systemd?]
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
!app-admin/logsentry
|
|
||||||
app-misc/lockfile-progs
|
|
||||||
dev-lang/perl
|
|
||||||
dev-perl/mime-construct
|
|
||||||
virtual/mailx
|
|
||||||
cron? ( sys-apps/util-linux )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOC_CONTENTS="
|
|
||||||
Please read the guide at https://wiki.gentoo.org/wiki/Logcheck
|
|
||||||
for installation instructions.
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Set version from PV, without using dpkg
|
|
||||||
sed -i -e "s/^VERSION=unknown/VERSION=\"${PV}\"/" "${S}/src/logcheck" || die
|
|
||||||
|
|
||||||
# QA-fix remove call to non existent command | Bug: #911281
|
|
||||||
sed -i "/dpkg-parsechangelog/d" "${S}/Makefile" || die
|
|
||||||
|
|
||||||
# Add /var/log/messages to checked logs
|
|
||||||
echo "/var/log/messages" >> "${S}/etc/logcheck.logfiles.d/syslog.logfiles" || die
|
|
||||||
|
|
||||||
# QA-fix Remove install of empty dirs to be created at runtime
|
|
||||||
sed -i "/install -d \$(DESTDIR)\/var\/lock\/logcheck/d" "${S}/Makefile" || die
|
|
||||||
|
|
||||||
# Comment systemd journal check if systemd use flag is not set | Bug: #913857
|
|
||||||
if ! use systemd; then
|
|
||||||
sed -i -e "s/^journal/#journal/" "${S}/etc/logcheck.logfiles.d/journal.logfiles" || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir /var/lib/logcheck
|
|
||||||
|
|
||||||
dodoc docs/README.*
|
|
||||||
doman docs/logtail.8 docs/logtail2.8
|
|
||||||
|
|
||||||
if use cron; then
|
|
||||||
exeinto /etc/cron.hourly
|
|
||||||
newexe "${FILESDIR}"/"${PN}"-r3.cron ${PN}
|
|
||||||
insinto /etc/cron.d
|
|
||||||
newins "${FILESDIR}"/${PN}.cron.d ${PN}
|
|
||||||
DOC_CONTENTS="${DOC_CONTENTS}\n
|
|
||||||
\n
|
|
||||||
Read /etc/cron.hourly/logcheck.cron to activate hourly cron-based check!\n
|
|
||||||
\n
|
|
||||||
To send mail after reboot you should enable the cronjob in /etc/cron.d/logcheck."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use systemd; then
|
|
||||||
DOC_CONTENTS="${DOC_CONTENTS}\n
|
|
||||||
\n
|
|
||||||
To enable the systemd timer, run the following command:\n
|
|
||||||
systemctl enable --now logcheck.timer"
|
|
||||||
fi
|
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}."{service,timer}
|
|
||||||
newtmpfiles "${FILESDIR}/logcheck.tmpfiles" logcheck.conf
|
|
||||||
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
|
|
||||||
fowners -R logcheck:logcheck /etc/logcheck /var/lib/logcheck
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process logcheck.conf
|
|
||||||
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
}
|
|
@ -0,0 +1,99 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit readme.gentoo-r1 systemd tmpfiles
|
||||||
|
|
||||||
|
DESCRIPTION="Mails anomalies in the system logfiles to the administrator"
|
||||||
|
HOMEPAGE="https://logcheck.org/"
|
||||||
|
SRC_URI="https://salsa.debian.org/debian/logcheck/-/archive/debian/${PV}/logcheck-debian-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-debian-${PV}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||||
|
IUSE="cron systemd"
|
||||||
|
# Test (emake system-test) requires access to system logs
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
acct-group/logcheck
|
||||||
|
acct-user/logcheck[systemd?]
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
!app-admin/logsentry
|
||||||
|
app-misc/lockfile-progs
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/mime-construct
|
||||||
|
virtual/mailx
|
||||||
|
cron? ( sys-apps/util-linux )
|
||||||
|
"
|
||||||
|
|
||||||
|
DOC_CONTENTS="
|
||||||
|
Please read the guide at https://wiki.gentoo.org/wiki/Logcheck
|
||||||
|
for installation instructions.
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Set version from PV, without using dpkg
|
||||||
|
sed -i -e "s/^VERSION=unknown/VERSION=\"${PV}\"/" "${S}/src/logcheck" || die
|
||||||
|
|
||||||
|
# QA-fix remove call to non existent command | Bug: #911281
|
||||||
|
sed -i "/dpkg-parsechangelog/d" "${S}/Makefile" || die
|
||||||
|
|
||||||
|
# Add /var/log/messages to checked logs
|
||||||
|
echo "/var/log/messages" >> "${S}/etc/logcheck.logfiles.d/syslog.logfiles" || die
|
||||||
|
|
||||||
|
# QA-fix Remove install of empty dirs to be created at runtime
|
||||||
|
sed -i "/install -d \$(DESTDIR)\/var\/lock\/logcheck/d" "${S}/Makefile" || die
|
||||||
|
|
||||||
|
# Comment systemd journal check if systemd use flag is not set | Bug: #913857
|
||||||
|
if ! use systemd; then
|
||||||
|
sed -i -e "s/^journal/#journal/" "${S}/etc/logcheck.logfiles.d/journal.logfiles" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
keepdir /var/lib/logcheck
|
||||||
|
|
||||||
|
dodoc docs/README.*
|
||||||
|
doman docs/logtail.8 docs/logtail2.8
|
||||||
|
|
||||||
|
if use cron; then
|
||||||
|
exeinto /etc/cron.hourly
|
||||||
|
newexe "${FILESDIR}"/"${PN}"-r4.cron ${PN}
|
||||||
|
insinto /etc/cron.d
|
||||||
|
newins "${FILESDIR}"/${PN}.cron.d ${PN}
|
||||||
|
DOC_CONTENTS="${DOC_CONTENTS}\n
|
||||||
|
\n
|
||||||
|
Read /etc/cron.hourly/logcheck.cron to activate hourly cron-based check!\n
|
||||||
|
\n
|
||||||
|
To send mail after reboot you should enable the cronjob in /etc/cron.d/logcheck."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use systemd; then
|
||||||
|
DOC_CONTENTS="${DOC_CONTENTS}\n
|
||||||
|
\n
|
||||||
|
To enable the systemd timer, run the following command:\n
|
||||||
|
systemctl enable --now logcheck.timer"
|
||||||
|
fi
|
||||||
|
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}."{service,timer}
|
||||||
|
newtmpfiles "${FILESDIR}/logcheck.tmpfiles" logcheck.conf
|
||||||
|
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
|
||||||
|
fowners -R logcheck:logcheck /etc/logcheck /var/lib/logcheck
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
tmpfiles_process logcheck.conf
|
||||||
|
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST perl-cleaner-2.30.tar.bz2 6963 BLAKE2B 8983060c7a904266ac82a67eba7b5d2184803b59c077f947a35d07e9af3046953705d31840b9508116578b8f3e8a8b97d77cf21eeac3b70f1c3fb5c1d71ae64e SHA512 436d26727bbb598bcd3c4f31e6b81e415a797cdba82dccfd55e54ee179bd2d6c1dc443e865f6f0a05b59f47ffd231dd10e55d5ea97a9a6875235ea1b49b68898
|
|
||||||
DIST perl-cleaner-2.31.tar.bz2 6914 BLAKE2B 4b13ae42ab06ad75b6dbcb1306f3f4f476315db4504d0ffbc4c56d4d66a2da3a751d3682305daca6bcbae1861d182f16296c92f9a8d25687e35ab03a6f8734e3 SHA512 c4df0437604d41dbfdce0b72d72f975d464cf0c44f417c708917f01829e498ef8d6b47a78cee517836cac9344791ad49db98f29da5f78599e80b000e41b8127e
|
DIST perl-cleaner-2.31.tar.bz2 6914 BLAKE2B 4b13ae42ab06ad75b6dbcb1306f3f4f476315db4504d0ffbc4c56d4d66a2da3a751d3682305daca6bcbae1861d182f16296c92f9a8d25687e35ab03a6f8734e3 SHA512 c4df0437604d41dbfdce0b72d72f975d464cf0c44f417c708917f01829e498ef8d6b47a78cee517836cac9344791ad49db98f29da5f78599e80b000e41b8127e
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit prefix
|
|
||||||
|
|
||||||
DESCRIPTION="User land tool for cleaning up old perl installs"
|
|
||||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl"
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git"
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
|
|
||||||
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
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
# TODO: Detect at runtime what's available and fallback if needed, possibly
|
|
||||||
# integrate with eselect-package-manager, bug #779007.
|
|
||||||
IUSE="pkgcore"
|
|
||||||
|
|
||||||
[[ "${PV}" == "9999" ]] && BDEPEND="sys-apps/help2man"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-shells/bash
|
|
||||||
dev-lang/perl
|
|
||||||
pkgcore? ( sys-apps/pkgcore )
|
|
||||||
!pkgcore? (
|
|
||||||
app-portage/portage-utils
|
|
||||||
sys-apps/portage
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eprefixify ${PN}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dosbin perl-cleaner
|
|
||||||
doman perl-cleaner.1
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
diff --git a/requirements/zeromq.txt b/requirements/zeromq.txt
|
|
||||||
index eb4d796418..ffa1589043 100644
|
|
||||||
--- a/requirements/zeromq.txt
|
|
||||||
+++ b/requirements/zeromq.txt
|
|
||||||
@@ -1,6 +1,4 @@
|
|
||||||
-r base.txt
|
|
||||||
-r crypto.txt
|
|
||||||
|
|
||||||
-pyzmq<=20.0.0 ; python_version < "3.6"
|
|
||||||
-pyzmq>=17.0.0 ; python_version < "3.9"
|
|
||||||
-pyzmq>19.0.2 ; python_version >= "3.9"
|
|
||||||
+pyzmq
|
|
@ -1,26 +0,0 @@
|
|||||||
diff --git a/tests/pytests/unit/utils/event/test_event.py b/tests/pytests/unit/utils/event/test_event.py
|
|
||||||
index e289e72dad..2abd4066c4 100644
|
|
||||||
--- a/tests/pytests/unit/utils/event/test_event.py
|
|
||||||
+++ b/tests/pytests/unit/utils/event/test_event.py
|
|
||||||
@@ -300,7 +300,7 @@ def test_connect_pull_should_debug_log_on_StreamClosedError():
|
|
||||||
event = SaltEvent(node=None)
|
|
||||||
with patch.object(event, "pusher") as mock_pusher:
|
|
||||||
with patch.object(
|
|
||||||
- salt.utils.event.log, "debug", auto_spec=True
|
|
||||||
+ salt.utils.event.log, "debug", auto_spec=True, unsafe=True
|
|
||||||
) as mock_log_debug:
|
|
||||||
mock_pusher.connect.side_effect = (
|
|
||||||
salt.ext.tornado.iostream.StreamClosedError
|
|
||||||
@@ -317,10 +317,10 @@ def test_connect_pull_should_error_log_on_other_errors(error):
|
|
||||||
event = SaltEvent(node=None)
|
|
||||||
with patch.object(event, "pusher") as mock_pusher:
|
|
||||||
with patch.object(
|
|
||||||
- salt.utils.event.log, "debug", auto_spec=True
|
|
||||||
+ salt.utils.event.log, "debug", auto_spec=True, unsafe=True
|
|
||||||
) as mock_log_debug:
|
|
||||||
with patch.object(
|
|
||||||
- salt.utils.event.log, "error", auto_spec=True
|
|
||||||
+ salt.utils.event.log, "error", auto_spec=True, unsafe=True
|
|
||||||
) as mock_log_error:
|
|
||||||
mock_pusher.connect.side_effect = error
|
|
||||||
event.connect_pull()
|
|
@ -1 +1,2 @@
|
|||||||
DIST testdisk-7.1.tar.bz2 742006 BLAKE2B ad67cbef73e502df39cd04537bae9226d043a0f5ed824ed24d5a5ac7c3262060d0c78bfcf38159890ee0c270e1cd7690cbf276eb919e1b4721357fffc8679c61 SHA512 ad6531eec45c1ed8d4a0ce6132692bb609c4c269fbca57f788ce808214e0b00b5fb1187745a859c5da8a3cb8de18b29904792d3246b15cedfa24bf24cbfe3df5
|
DIST testdisk-7.1.tar.bz2 742006 BLAKE2B ad67cbef73e502df39cd04537bae9226d043a0f5ed824ed24d5a5ac7c3262060d0c78bfcf38159890ee0c270e1cd7690cbf276eb919e1b4721357fffc8679c61 SHA512 ad6531eec45c1ed8d4a0ce6132692bb609c4c269fbca57f788ce808214e0b00b5fb1187745a859c5da8a3cb8de18b29904792d3246b15cedfa24bf24cbfe3df5
|
||||||
|
DIST testdisk-7.2.tar.bz2 855781 BLAKE2B 224fae052fa9264ee83fdf6804159c77257b9db4c96ff36c7cb1dc184ec4a9f0955f0d817de24ef1e5fe69e7ef1a20c140e73fc130fb092e6df3b02df2845239 SHA512 f99dd1c8f547c3d06e5459ba072438192a49d76c569de7915994beb269645092522d8136a212999382f88ca1d29c50f6482306d47197dc0994d168bcd4141f26
|
||||||
|
@ -0,0 +1,104 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic qmake-utils xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
|
||||||
|
HOMEPAGE="https://www.cgsecurity.org/wiki/TestDisk"
|
||||||
|
SRC_URI="https://www.cgsecurity.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="ewf jpeg ntfs gui reiserfs static +sudo zlib"
|
||||||
|
|
||||||
|
REQUIRED_USE="static? ( !gui )"
|
||||||
|
|
||||||
|
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||||
|
'ntfs_mbstoucs' # configure script checking NTFS, has fallbacks
|
||||||
|
)
|
||||||
|
|
||||||
|
# WARNING: reiserfs support does NOT work with reiserfsprogs
|
||||||
|
# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
|
||||||
|
# sudo is detected during configure for extra functionality, see bug #892904
|
||||||
|
DEPEND="
|
||||||
|
sudo? ( app-admin/sudo )
|
||||||
|
static? (
|
||||||
|
sys-apps/util-linux[static-libs]
|
||||||
|
sys-fs/e2fsprogs[static-libs]
|
||||||
|
sys-libs/ncurses:0[static-libs]
|
||||||
|
jpeg? ( media-libs/libjpeg-turbo:=[static-libs] )
|
||||||
|
ntfs? ( sys-fs/ntfs3g[static-libs] )
|
||||||
|
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] )
|
||||||
|
zlib? ( sys-libs/zlib[static-libs] )
|
||||||
|
!arm? ( ewf? ( app-forensics/libewf[static-libs] ) )
|
||||||
|
)
|
||||||
|
!static? (
|
||||||
|
sys-apps/util-linux
|
||||||
|
sys-fs/e2fsprogs
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
jpeg? ( media-libs/libjpeg-turbo:= )
|
||||||
|
ntfs? ( sys-fs/ntfs3g:= )
|
||||||
|
gui? (
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
)
|
||||||
|
reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
!arm? ( ewf? ( app-forensics/libewf:= ) )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
sudo? ( app-admin/sudo )
|
||||||
|
!static? ( ${DEPEND} )
|
||||||
|
"
|
||||||
|
BDEPEND="gui? ( dev-qt/linguist-tools:5 )"
|
||||||
|
|
||||||
|
DOCS=()
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
export MOC="$(qt5_get_bindir)/moc"
|
||||||
|
export PATH="$(qt5_get_bindir):${PATH}"
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--without-ntfs # old NTFS implementation, use ntfs-3g instead.
|
||||||
|
$(use_with ewf)
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with ntfs ntfs3g)
|
||||||
|
$(use_enable gui qt)
|
||||||
|
$(use_enable sudo)
|
||||||
|
$(use_with reiserfs)
|
||||||
|
$(use_with zlib)
|
||||||
|
)
|
||||||
|
|
||||||
|
# this static method is the same used by upstream for their 'static' make
|
||||||
|
# target, but better, as it doesn't break.
|
||||||
|
use static && append-ldflags -static
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
|
||||||
|
# perform safety checks for NTFS, REISERFS and JPEG
|
||||||
|
if use ntfs && ! grep -E -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then
|
||||||
|
die "Failed to find either NTFS or NTFS-3G library."
|
||||||
|
fi
|
||||||
|
if use reiserfs && grep -E -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
|
||||||
|
die "Failed to find reiserfs library."
|
||||||
|
fi
|
||||||
|
if use jpeg && grep -E -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
|
||||||
|
die "Failed to find jpeg library."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
}
|
Binary file not shown.
@ -1,240 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit autotools flag-o-matic systemd tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
|
||||||
HOMEPAGE="https://www.clamav.net/"
|
|
||||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0/lts"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
||||||
IUSE="bzip2 doc clamonacc clamdtop clamsubmit iconv ipv6 libclamav-only milter metadata-analysis-api selinux systemd test xml"
|
|
||||||
|
|
||||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamdtop !clamsubmit !milter !metadata-analysis-api )"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Require acct-{user,group}/clamav at build time so that we can set
|
|
||||||
# the permissions on /var/lib/clamav in src_install rather than in
|
|
||||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
|
||||||
CDEPEND="acct-group/clamav
|
|
||||||
acct-user/clamav
|
|
||||||
dev-libs/libltdl
|
|
||||||
dev-libs/libmspack
|
|
||||||
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
|
|
||||||
dev-libs/tomsfastmath
|
|
||||||
>=sys-libs/zlib-1.2.2:=
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
clamdtop? ( sys-libs/ncurses:0 )
|
|
||||||
clamsubmit? ( net-misc/curl dev-libs/json-c:= )
|
|
||||||
elibc_musl? ( sys-libs/fts-standalone )
|
|
||||||
iconv? ( virtual/libiconv )
|
|
||||||
!libclamav-only? ( net-misc/curl )
|
|
||||||
dev-libs/openssl:0=
|
|
||||||
milter? ( mail-filter/libmilter:= )
|
|
||||||
xml? ( dev-libs/libxml2 )"
|
|
||||||
|
|
||||||
# We need at least autoconf-2.69-r5 because that's the first (patched)
|
|
||||||
# version of it in Gentoo that supports ./configure --runstatedir.
|
|
||||||
BDEPEND=">=dev-build/autoconf-2.69-r5
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
metadata-analysis-api? ( dev-libs/json-c:* )
|
|
||||||
test? ( dev-libs/check )"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-clamav )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-0.102.1-libxml2_pkgconfig.patch" #661328
|
|
||||||
"${FILESDIR}/${PN}-0.102.2-fix-curl-detection.patch" #709616
|
|
||||||
"${FILESDIR}/${PN}-0.103.0-system-tomsfastmath.patch" # 649394
|
|
||||||
"${FILESDIR}/${PN}-0.103.1-upstream-openrc.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.103.8-c-std.patch" #879625
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Be extra sure that we're using the system copy of tomsfastmath
|
|
||||||
einfo "removing bundled copy of dev-libs/tomsfastmath"
|
|
||||||
rm -r libclamav/tomsfastmath || \
|
|
||||||
die "failed to remove bundled tomsfastmath"
|
|
||||||
|
|
||||||
AT_NO_RECURSIVE="yes" eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use elibc_musl && append-ldflags -lfts
|
|
||||||
use ppc64 && append-flags -mminimal-toc
|
|
||||||
|
|
||||||
# according to configure help it should be
|
|
||||||
# $(use_enable xml)
|
|
||||||
# but that does not work
|
|
||||||
# do not add this, since --disable-xml seems to override
|
|
||||||
# --without-xml
|
|
||||||
JSONUSE="--without-libjson"
|
|
||||||
|
|
||||||
if use clamsubmit || use metadata-analysis-api; then
|
|
||||||
# either of those 2 requires libjson.
|
|
||||||
# clamsubmit will be built as soon as libjson and curl are found
|
|
||||||
# but we only install the binary if requested
|
|
||||||
JSONUSE="--with-libjson=${EPREFIX}/usr"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
$(use_enable bzip2)
|
|
||||||
$(use_enable clamonacc)
|
|
||||||
$(use_enable clamdtop)
|
|
||||||
$(use_enable ipv6)
|
|
||||||
$(use_enable milter)
|
|
||||||
$(use_enable test check)
|
|
||||||
$(use_with xml)
|
|
||||||
$(use_with iconv)
|
|
||||||
${JSONUSE}
|
|
||||||
$(use_enable libclamav-only)
|
|
||||||
$(use_with !libclamav-only libcurl)
|
|
||||||
--with-system-libmspack
|
|
||||||
--cache-file="${S}"/config.cache
|
|
||||||
--disable-experimental
|
|
||||||
--disable-static
|
|
||||||
--disable-zlib-vcheck
|
|
||||||
--enable-id-check
|
|
||||||
--with-dbdir="${EPREFIX}"/var/lib/clamav
|
|
||||||
# Don't call --with-zlib=/usr (see bug #699296)
|
|
||||||
--with-zlib
|
|
||||||
--disable-llvm
|
|
||||||
--enable-openrc
|
|
||||||
--runstatedir=/run
|
|
||||||
)
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
rm -rf "${ED}"/var/lib/clamav || die
|
|
||||||
|
|
||||||
if ! use libclamav-only ; then
|
|
||||||
if use systemd; then
|
|
||||||
# The tmpfiles entry is behind USE=systemd because the
|
|
||||||
# upstream OpenRC service files should (and do) ensure that
|
|
||||||
# the directories they need exist and have the correct
|
|
||||||
# permissions without the help of opentmpfiles. There are
|
|
||||||
# years-old root exploits in opentmpfiles, the design is
|
|
||||||
# fundamentally flawed, and the maintainer is not up to
|
|
||||||
# the task of fixing it.
|
|
||||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
|
||||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
|
||||||
systemd_dounit "${FILESDIR}/clamd.service"
|
|
||||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
|
||||||
"freshclamd.service"
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/clamd.logrotate" clamd
|
|
||||||
newins "${FILESDIR}/freshclam.logrotate" freshclam
|
|
||||||
use milter && \
|
|
||||||
newins "${FILESDIR}/clamav-milter.logrotate-r1" clamav-milter
|
|
||||||
|
|
||||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s/^#\(PidFile .*\)/\1/" \
|
|
||||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
|
||||||
-e "s/^#\(User .*\)/\1/" \
|
|
||||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
|
||||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
|
||||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
|
||||||
"${ED}"/etc/clamd.conf.sample || die
|
|
||||||
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s/^#\(PidFile .*\)/\1/" \
|
|
||||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
|
||||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
|
||||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
|
||||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
|
||||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
|
||||||
"${ED}"/etc/freshclam.conf.sample || die
|
|
||||||
|
|
||||||
if use milter ; then
|
|
||||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s/^#\(PidFile .*\)/\1/" \
|
|
||||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
|
||||||
-e "s/^#\(User .*\)/\1/" \
|
|
||||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
|
||||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
|
||||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
|
||||||
|
|
||||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
|
||||||
MILTER_NICELEVEL=19
|
|
||||||
START_MILTER=no
|
|
||||||
EOF
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
|
||||||
fi
|
|
||||||
|
|
||||||
local i
|
|
||||||
for i in clamd freshclam clamav-milter
|
|
||||||
do
|
|
||||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]]; then
|
|
||||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# These both need to be writable by the clamav user.
|
|
||||||
# TODO: use syslog by default; that's what it's for.
|
|
||||||
diropts -o clamav -g clamav
|
|
||||||
keepdir /var/lib/clamav
|
|
||||||
keepdir /var/log/clamav
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
local HTML_DOCS=( docs/html/. )
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
if ! use libclamav-only ; then
|
|
||||||
doman docs/man/*.[1-8]
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
if use libclamav-only ; then
|
|
||||||
ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..."
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake quick-check
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if ! use libclamav-only ; then
|
|
||||||
if use systemd ; then
|
|
||||||
tmpfiles_process clamav.conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use milter ; then
|
|
||||||
elog "For simple instructions how to setup the clamav-milter read the"
|
|
||||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
|
||||||
if [[ ! -f "${databases}" ]] ; then
|
|
||||||
ewarn "You must run freshclam manually to populate the virus database"
|
|
||||||
ewarn "before starting clamav for the first time."
|
|
||||||
fi
|
|
||||||
|
|
||||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
|
||||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
|
||||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
|
||||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
|
||||||
ewarn "runlevels that previously contained clamd."
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST engrampa-1.26.1.tar.xz 1792452 BLAKE2B ff87f21848919654a2392c02e6050ac0b4c80308361ec7c829a2acf3fb25b088e164a3722be0312b2c814022bf0e06c80ae0796add182e6ac8e5d696409c5afe SHA512 6e3e59503d3d55df3eddc63f5f8f67c80a84b2b602801f9bcbaf4e38b6e991fffaa879e1cd44c1173b5c11096587122438bda51401c2694654c99b87a52b9f5e
|
DIST engrampa-1.26.1.tar.xz 1792452 BLAKE2B ff87f21848919654a2392c02e6050ac0b4c80308361ec7c829a2acf3fb25b088e164a3722be0312b2c814022bf0e06c80ae0796add182e6ac8e5d696409c5afe SHA512 6e3e59503d3d55df3eddc63f5f8f67c80a84b2b602801f9bcbaf4e38b6e991fffaa879e1cd44c1173b5c11096587122438bda51401c2694654c99b87a52b9f5e
|
||||||
|
DIST engrampa-1.26.2.tar.xz 1790984 BLAKE2B a3812240947f3bdc39845852a69d90c660f9ca3b03b167a5fbe1373024827b1abac93f3dc854316ae0368717cf7aef2512b84f47b93453a3a49a64c99ae3865a SHA512 4e9a55d9bc834616d8a8f5b7b0882fd4581ad2efdade33367ede85800ebb1e70241d20c9c37fadbef468d16088419fcf85daec0718c68bdbefe2301f8b0b40a3
|
||||||
DIST engrampa-1.27.1.tar.xz 1729112 BLAKE2B 4857a59daca10dec80781522abcedaf8513264d1aa32579c0a0d9332e198d74ae1e7a28577668afab97014ae7f6223f1e24ec993355fc875ff9f6eb8c7f6b7ac SHA512 aa9e16ced496a64112067b5e98b68268ad5de9b5533e38d4e7db160f28bd490d0990bc654d9cfeaddafce3700e296238bd938ee1c2bdd8d2bb231666f0bfa390
|
DIST engrampa-1.27.1.tar.xz 1729112 BLAKE2B 4857a59daca10dec80781522abcedaf8513264d1aa32579c0a0d9332e198d74ae1e7a28577668afab97014ae7f6223f1e24ec993355fc875ff9f6eb8c7f6b7ac SHA512 aa9e16ced496a64112067b5e98b68268ad5de9b5533e38d4e7db160f28bd490d0990bc654d9cfeaddafce3700e296238bd938ee1c2bdd8d2bb231666f0bfa390
|
||||||
|
@ -0,0 +1,74 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/mate-desktop/${PN}.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/mate-desktop/${PN}/archive/${P}.tar.xz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit mate optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="Engrampa archive manager for MATE"
|
||||||
|
HOMEPAGE="https://mate-desktop.org/ https://github.com/mate-desktop/engrampa"
|
||||||
|
|
||||||
|
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="caja magic"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-libs/glib-2.50:2
|
||||||
|
>=dev-libs/json-glib-0.14
|
||||||
|
virtual/libintl
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
>=x11-libs/gtk+-3.22:3[X]
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/pango
|
||||||
|
caja? ( >=mate-base/caja-1.17.1 )
|
||||||
|
magic? ( sys-apps/file )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
virtual/libintl
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
app-text/yelp-tools
|
||||||
|
dev-util/glib-utils
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.26.0-clang16.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mate_src_configure \
|
||||||
|
--disable-run-in-place \
|
||||||
|
$(use_enable caja caja-actions) \
|
||||||
|
$(use_enable magic) \
|
||||||
|
--disable-packagekit
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
mate_pkg_postinst
|
||||||
|
|
||||||
|
optfeature "Support for 7-zip" app-arch/p7zip
|
||||||
|
optfeature "Support for ace" app-arch/unace
|
||||||
|
optfeature "Support for arj" app-arch/arj
|
||||||
|
optfeature "Support for cpio" app-alternatives/cpio
|
||||||
|
optfeature "Support for deb" app-arch/dpkg
|
||||||
|
optfeature "Support for iso" app-cdr/cdrtools
|
||||||
|
optfeature "Support for jar,zip" app-arch/zip app-arch/unzip
|
||||||
|
optfeature "Support for lha" app-arch/lha
|
||||||
|
optfeature "Support for lzma" app-arch/xz-utils
|
||||||
|
optfeature "Support for lzop" app-arch/lzop
|
||||||
|
optfeature "Support for rar" app-arch/unrar
|
||||||
|
optfeature "Support for rpm" app-arch/rpm
|
||||||
|
optfeature "Support for unstuff" app-arch/stuffit
|
||||||
|
optfeature "Support for zoo" app-arch/zoo
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
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.2.tar.gz 62707 BLAKE2B 289ddfe89b91c63b1a6902ea7a4055fa8e235e712d6ea911da2848cc8db15cbdf712967b9fcc1414513c1a18eef160108f5f7b03aefd8f8f18c4d04907a16c17 SHA512 90c853efde1d077c741206362bc14fe779627f1b20571246e99ed29980840e78c0377110431c59c35596a0d209e612f6fe77b385707eb4bdb1ea47bb797c9272
|
DIST trrntzip-1.2.tar.gz 62707 BLAKE2B 289ddfe89b91c63b1a6902ea7a4055fa8e235e712d6ea911da2848cc8db15cbdf712967b9fcc1414513c1a18eef160108f5f7b03aefd8f8f18c4d04907a16c17 SHA512 90c853efde1d077c741206362bc14fe779627f1b20571246e99ed29980840e78c0377110431c59c35596a0d209e612f6fe77b385707eb4bdb1ea47bb797c9272
|
||||||
|
DIST trrntzip-1.3.tar.gz 67297 BLAKE2B c77fd134cfd3ab30f46b66f4b3dd36b899ee6267b17100b1ad15bdf5c6beddaea94fe22d23f1a81de85522768d76401f0192d0deac2ff75edc816510c8069e2c SHA512 c21ed6ac4dacd652e2a67b700741d70dd9da699259bd299ca177c741111f92e70eef0b3ad2ced54b5635780cab2b4c46b3f9c258dfa18bdde24e2718c38339be
|
||||||
|
@ -0,0 +1,51 @@
|
|||||||
|
From 016915e16f32105590a6dc11a4adc988b2f8d9a9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alexander Miller <alex.miller@gmx.de>
|
||||||
|
Date: Mon, 4 Mar 2024 19:26:21 +0100
|
||||||
|
Subject: [PATCH] Fix broken detection of missing or wrong TORRENTZIPPED-...
|
||||||
|
comment
|
||||||
|
|
||||||
|
The commit listed below introduces a regression where in MigrateZip(),
|
||||||
|
variable rc would be clobbered when its value is still needed. That
|
||||||
|
completely breaks handling of zips that should be re-zipped because
|
||||||
|
of missing or out of date TORRENTZIPPED-... comment.
|
||||||
|
|
||||||
|
Rewrite the offending code such that it no longer touches the variable.
|
||||||
|
|
||||||
|
Fixes: cf11c900079e ("Check for more errors while reading zip entries")
|
||||||
|
---
|
||||||
|
src/trrntzip.c | 20 ++++++++++++--------
|
||||||
|
1 file changed, 12 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/trrntzip.c b/src/trrntzip.c
|
||||||
|
index e55d217..49f796e 100644
|
||||||
|
--- a/src/trrntzip.c
|
||||||
|
+++ b/src/trrntzip.c
|
||||||
|
@@ -379,16 +379,20 @@ int MigrateZip(const char *zip_path, const char *pDir, WORKSPACE *ws,
|
||||||
|
|
||||||
|
CHECK_DYNAMIC_STRING_ARRAY(ws->FileNameArray, ws->iElements);
|
||||||
|
// Get the filelist from the zip file in original order in ws->FileNameArray
|
||||||
|
- rc = GetFileList(UnZipHandle, ws);
|
||||||
|
- if (rc != TZ_OK) {
|
||||||
|
+ switch (GetFileList(UnZipHandle, ws)) {
|
||||||
|
+ case TZ_OK:
|
||||||
|
+ break;
|
||||||
|
+ case TZ_CRITICAL:
|
||||||
|
logprint3(stderr, mig->fProcessLog, ErrorLog(ws),
|
||||||
|
- rc == TZ_CRITICAL
|
||||||
|
- ? "Error allocating memory!\n"
|
||||||
|
- : "Could not list contents of \"%s\". File is corrupted or "
|
||||||
|
- "contains entries with bad names.\n",
|
||||||
|
- szZipFileName);
|
||||||
|
+ "Error allocating memory!\n");
|
||||||
|
+ unzClose(UnZipHandle);
|
||||||
|
+ return TZ_CRITICAL;
|
||||||
|
+ default:
|
||||||
|
+ logprint3(stderr, mig->fProcessLog, ErrorLog(ws),
|
||||||
|
+ "Could not list contents of \"%s\". File is corrupted or "
|
||||||
|
+ "contains entries with bad names.\n", szZipFileName);
|
||||||
|
unzClose(UnZipHandle);
|
||||||
|
- return rc;
|
||||||
|
+ return TZ_ERR;
|
||||||
|
}
|
||||||
|
CHECK_DYNAMIC_STRING_ARRAY(ws->FileNameArray, ws->iElements);
|
||||||
|
|
@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
MY_P="trrntzip-${PV}"
|
||||||
|
DESCRIPTION="Create identical zip archives over multiple systems"
|
||||||
|
HOMEPAGE="https://github.com/0-wiz-0/trrntzip"
|
||||||
|
SRC_URI="https://github.com/0-wiz-0/trrntzip/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-libs/zlib:=
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS NEWS.md README.md)
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-checksum-detection.patch"
|
||||||
|
)
|
@ -1,25 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
MY_P="trrntzip-${PV}"
|
|
||||||
DESCRIPTION="Create identical zip archives over multiple systems"
|
|
||||||
HOMEPAGE="https://github.com/0-wiz-0/trrntzip"
|
|
||||||
SRC_URI="https://github.com/0-wiz-0/trrntzip/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ ZLIB"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
sys-libs/zlib:=
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=(AUTHORS NEWS.md README.md)
|
|
@ -0,0 +1,48 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..12} )
|
||||||
|
inherit cmake python-any-r1
|
||||||
|
|
||||||
|
MY_P="trrntzip-${PV}"
|
||||||
|
DESCRIPTION="Create identical zip archives over multiple systems"
|
||||||
|
HOMEPAGE="https://github.com/0-wiz-0/trrntzip"
|
||||||
|
SRC_URI="https://github.com/0-wiz-0/trrntzip/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-libs/zlib:=
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
>=dev-util/nihtest-1.5.0
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS NEWS.md README.md)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if use test; then
|
||||||
|
local mycmakeargs=( -DPYTHONBIN="${EPYTHON}" )
|
||||||
|
else
|
||||||
|
local mycmakeargs=( -DRUN_REGRESS=NO )
|
||||||
|
fi
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
@ -1,2 +1,2 @@
|
|||||||
DIST upx-4.1.0-src.tar.xz 1267708 BLAKE2B ef7884028a97b1d7e542fc27756b705582786a22d193b1eef40d0db16580958baddc3baa44429b5ba2c0f7b5d4d0f4f79fdeb777af016b962b07c7639a319090 SHA512 de8306e833198d7f470c050b05c6111a50ea94f2e757c1006433742871ccd93fd7412f942cd776e9eac6c91e379545d72f070f3fe928e75e5d5092b766474f8c
|
DIST upx-4.1.0-src.tar.xz 1267708 BLAKE2B ef7884028a97b1d7e542fc27756b705582786a22d193b1eef40d0db16580958baddc3baa44429b5ba2c0f7b5d4d0f4f79fdeb777af016b962b07c7639a319090 SHA512 de8306e833198d7f470c050b05c6111a50ea94f2e757c1006433742871ccd93fd7412f942cd776e9eac6c91e379545d72f070f3fe928e75e5d5092b766474f8c
|
||||||
DIST upx-4.2.1-src.tar.xz 1278288 BLAKE2B 3bc879a43fc49399e5acbf37481e731b2174d755fc66ed55aefc9c46f9c9c13eb0fb3dcc5f00a77763a5823cb8d34ba090e4a7b6660e61a7799b9b1cb4693a96 SHA512 8c377b61aa5076435807b0f0207502ea1ca635a9e90a2a62f24a8f11e928160546540114cd2b8e2656baa2f99dd58a33fc6aafc58c221704fc70d29fc12e2bbe
|
DIST upx-4.2.2-src.tar.xz 1275320 BLAKE2B 747d8e9543325cafd368d5b47e7a90bfef042a80a58ad0fc1eba798716cebe16ef91645e436fd9506a3c8fe58aa28852437a81e4058afbb213284a4a2475c828 SHA512 03885abfd1db899ea21e9469068dbe046e4817de461e36a6c8a77f6a98f8ccaf00c95846ad3b13e59a5e037ce2f2bed7bea599396968e0aeb7ba5fce1b374a9b
|
||||||
|
@ -1,2 +1 @@
|
|||||||
DIST xarchiver-0.5.4.22.tar.gz 1125943 BLAKE2B 545061ef8dda7b7d0bdf6025536310705548e48d7f60ba4484900882fb97b0c56f3faac97bb64516f6a919d04b8de082175c020951676ee4b4f59ebd1ca93a74 SHA512 e5c773fbe3d29d998e6aa10eca6cfda5a78defe8d4759d95c894b06f00c22900c8c5cca2ab39066904d19ec1c73fd7326ac16c09ca50c4520621e326f3717887
|
|
||||||
DIST xarchiver-0.5.4.23.tar.gz 1126908 BLAKE2B 09d2217aa77d553fd9f8436e1336f95160c366318b43ed22b9693f5dd510c59544d95f1cf643046ba443b44de84792a71d6eb115ad5bd04ab33e03c91e00afd4 SHA512 7459b14772205872de275c855c26a992a6a59e773cdaef25f95a44528baf1d1db7b1d1ef8540e0508babd35468f46c96db9610cc12746947ecccd9332bb69a71
|
DIST xarchiver-0.5.4.23.tar.gz 1126908 BLAKE2B 09d2217aa77d553fd9f8436e1336f95160c366318b43ed22b9693f5dd510c59544d95f1cf643046ba443b44de84792a71d6eb115ad5bd04ab33e03c91e00afd4 SHA512 7459b14772205872de275c855c26a992a6a59e773cdaef25f95a44528baf1d1db7b1d1ef8540e0508babd35468f46c96db9610cc12746947ecccd9332bb69a71
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
|
|
||||||
HOMEPAGE="https://github.com/ib/xarchiver/"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="doc"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
>=dev-libs/glib-2:=
|
|
||||||
x11-libs/gtk+:3=
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/intltool
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig
|
|
||||||
doc? (
|
|
||||||
app-text/docbook-xml-dtd
|
|
||||||
app-text/docbook-xsl-stylesheets
|
|
||||||
dev-libs/libxml2
|
|
||||||
dev-libs/libxslt
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
$(use_enable doc)
|
|
||||||
)
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
|
|
||||||
elog "You need external programs for some formats, including:"
|
|
||||||
elog "7zip - app-arch/p7zip"
|
|
||||||
elog "arj - app-arch/arj"
|
|
||||||
elog "lha - app-arch/lha"
|
|
||||||
elog "lzop - app-arch/lzop"
|
|
||||||
elog "rar - app-arch/unrar app-arch/rar"
|
|
||||||
elog "zip - app-arch/unzip app-arch/zip"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,27 +0,0 @@
|
|||||||
https://bugs.gentoo.org/925415
|
|
||||||
https://gcc.gnu.org/PR114115
|
|
||||||
|
|
||||||
Workaround a build failure with USE=pgo by disabling instrumentation of the
|
|
||||||
crc{32,64} IFUNC resolvers.
|
|
||||||
--- a/src/liblzma/check/crc32_fast.c
|
|
||||||
+++ b/src/liblzma/check/crc32_fast.c
|
|
||||||
@@ -135,7 +135,7 @@ typedef uint32_t (*crc32_func_type)(
|
|
||||||
// This resolver is shared between all three dispatch methods. It serves as
|
|
||||||
// the ifunc resolver if ifunc is supported, otherwise it is called as a
|
|
||||||
// regular function by the constructor or first call resolution methods.
|
|
||||||
-static crc32_func_type
|
|
||||||
+static __attribute__((no_profile_instrument_function)) crc32_func_type
|
|
||||||
crc32_resolve(void)
|
|
||||||
{
|
|
||||||
return is_arch_extension_supported()
|
|
||||||
--- a/src/liblzma/check/crc64_fast.c
|
|
||||||
+++ b/src/liblzma/check/crc64_fast.c
|
|
||||||
@@ -98,7 +98,7 @@ typedef uint64_t (*crc64_func_type)(
|
|
||||||
# pragma GCC diagnostic ignored "-Wunused-function"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-static crc64_func_type
|
|
||||||
+static __attribute__((no_profile_instrument_function)) crc64_func_type
|
|
||||||
crc64_resolve(void)
|
|
||||||
{
|
|
||||||
return is_arch_extension_supported()
|
|
@ -1,43 +0,0 @@
|
|||||||
https://github.com/tukaani-project/xz/commit/5c91b454c24e043ca8f2cc7d2b09bd091dafe655
|
|
||||||
|
|
||||||
From 5c91b454c24e043ca8f2cc7d2b09bd091dafe655 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jia Tan <jiat0218@gmail.com>
|
|
||||||
Date: Tue, 27 Feb 2024 23:42:41 +0800
|
|
||||||
Subject: [PATCH] xz: Change logging level for thread reduction to highest
|
|
||||||
verbosity only.
|
|
||||||
|
|
||||||
Now that multi threaded encoding is the default, users do not need to
|
|
||||||
see a warning message everytime the number of threads is reduced. On
|
|
||||||
some machines, this could happen very often. It is not unreasonable for
|
|
||||||
users to need to set double verbose mode to see this kind of
|
|
||||||
information.
|
|
||||||
|
|
||||||
To see these warning messages -vv or --verbose --verbose must be passed
|
|
||||||
to set xz into the highest possible verbosity mode.
|
|
||||||
|
|
||||||
These warnings had caused automated testing frameworks to fail when they
|
|
||||||
expected no output to stderr.
|
|
||||||
|
|
||||||
Thanks to Sebastian Andrzej Siewior for reporting this and for the
|
|
||||||
initial version of the patch.
|
|
||||||
--- a/src/xz/coder.c
|
|
||||||
+++ b/src/xz/coder.c
|
|
||||||
@@ -581,7 +581,7 @@ coder_set_compression_settings(void)
|
|
||||||
|
|
||||||
if (memory_usage <= memory_limit) {
|
|
||||||
// The memory usage is now low enough.
|
|
||||||
- message(V_WARNING, _("Reduced the number of "
|
|
||||||
+ message(V_DEBUG, _("Reduced the number of "
|
|
||||||
"threads from %s to %s to not exceed "
|
|
||||||
"the memory usage limit of %s MiB"),
|
|
||||||
uint64_to_str(
|
|
||||||
@@ -601,7 +601,7 @@ coder_set_compression_settings(void)
|
|
||||||
// time the soft limit will never make xz fail and never make
|
|
||||||
// xz change settings that would affect the compressed output.
|
|
||||||
if (hardware_memlimit_mtenc_is_default()) {
|
|
||||||
- message(V_WARNING, _("Reduced the number of threads "
|
|
||||||
+ message(V_DEBUG, _("Reduced the number of threads "
|
|
||||||
"from %s to one. The automatic memory usage "
|
|
||||||
"limit of %s MiB is still being exceeded. "
|
|
||||||
"%s MiB of memory is required. "
|
|
||||||
|
|
@ -1,146 +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="0BSD LGPL-2.1+ GPL-2+ doc? ( CC-BY-SA-4.0 )"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="cpu_flags_arm_crc32 doc +extra-filters pgo nls static-libs"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]] ; then
|
|
||||||
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-jiatan )"
|
|
||||||
fi
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-logging-verbosity-threads-auto.patch
|
|
||||||
"${FILESDIR}"/${PN}-5.6.0-ifunc-crc-workaround.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
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)
|
|
||||||
$(use_enable cpu_flags_arm_crc32 arm64-crc32)
|
|
||||||
)
|
|
||||||
|
|
||||||
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,5 +1,6 @@
|
|||||||
DIST containerd-1.7.1.tar.gz 9682254 BLAKE2B f168070caf2b76f0be350a98f41bfdbfe6d78344d68821fb92a29f839a6e847d795e5b79436e36f985aa88028ff1c3f44f134cf6bd502ddac22453a457bd952b SHA512 e9b00ba8f4dd1b5b1088060d3822f684611d43b367ddfeb1bee1660140af85f31e9c9bfc600a67e8fc8645a625dc4e1919d9af7291bdeaa607bff7065a4fc945
|
DIST containerd-1.7.1.tar.gz 9682254 BLAKE2B f168070caf2b76f0be350a98f41bfdbfe6d78344d68821fb92a29f839a6e847d795e5b79436e36f985aa88028ff1c3f44f134cf6bd502ddac22453a457bd952b SHA512 e9b00ba8f4dd1b5b1088060d3822f684611d43b367ddfeb1bee1660140af85f31e9c9bfc600a67e8fc8645a625dc4e1919d9af7291bdeaa607bff7065a4fc945
|
||||||
DIST containerd-1.7.13.tar.gz 10047499 BLAKE2B 792eca378db4e1f7c57d68e00e2c77d11eab1ca60d280f662f1152a349d1c5ddc2a3a334484741e9a4a81f25cb800dce042eea94307c9f020d850ed81ef533aa SHA512 b2932387ea14b8fb76e2583b862ec6495b2e08a8fd7cdf169978d554e8b352b44bb27585c9de1e4e3bb3984d0050d0f3de9bc7a559205d3130c2fe40f961feb4
|
DIST containerd-1.7.13.tar.gz 10047499 BLAKE2B 792eca378db4e1f7c57d68e00e2c77d11eab1ca60d280f662f1152a349d1c5ddc2a3a334484741e9a4a81f25cb800dce042eea94307c9f020d850ed81ef533aa SHA512 b2932387ea14b8fb76e2583b862ec6495b2e08a8fd7cdf169978d554e8b352b44bb27585c9de1e4e3bb3984d0050d0f3de9bc7a559205d3130c2fe40f961feb4
|
||||||
|
DIST containerd-1.7.14.tar.gz 10054632 BLAKE2B 1a4db0d1fba16b71e55f213f5776dbef7d9806bf0f7623f0d1ab945554f8ef6c98a0d29923f1b19c4f0017b8a1c73ca929fd43522371c3c228be838e71e86763 SHA512 c80ad36027407b2e06fdff76280750f84de8d7300ef8be275976766f2a0a04dec1f0f850c8efcceaa7f6163f43922b427d7ae1fcdeabfaf531f487c25c461dc8
|
||||||
DIST containerd-1.7.2.tar.gz 9688701 BLAKE2B d31cd0e96bb2675390cc63d06114e37d532b7c666b3ffc5b0087dfcef8de23559471f08bf8a52b164c5f645faf1b8102ab2ccdd8ec417a1c74336097f0c3a899 SHA512 c0d4c02991b7e9fc341c4ef3df2d93097f5854a51b99596ed95436a79f7a586820bb8bb7c17fc43b5f38d97ea942e59490fbbf6c9710391ef9caae3d34627bc5
|
DIST containerd-1.7.2.tar.gz 9688701 BLAKE2B d31cd0e96bb2675390cc63d06114e37d532b7c666b3ffc5b0087dfcef8de23559471f08bf8a52b164c5f645faf1b8102ab2ccdd8ec417a1c74336097f0c3a899 SHA512 c0d4c02991b7e9fc341c4ef3df2d93097f5854a51b99596ed95436a79f7a586820bb8bb7c17fc43b5f38d97ea942e59490fbbf6c9710391ef9caae3d34627bc5
|
||||||
DIST containerd-1.7.6.tar.gz 9714550 BLAKE2B 863df1a8ab0f0fe6ec62893ed64824763c1b5230fe830fa268820ce0d6254c79e1ac62ab1261a74785b86b01dff83ea9109a899857fa47a48f2cf2eaf298fea8 SHA512 8b7e13c6ea544754ba7d53092d143f3fd2224b9bc874a33d8a00b781e719927f1b22ad5cd1e35b7b95e4890e630f4b92308549a970587ccdf9dbb8eb470e2703
|
DIST containerd-1.7.6.tar.gz 9714550 BLAKE2B 863df1a8ab0f0fe6ec62893ed64824763c1b5230fe830fa268820ce0d6254c79e1ac62ab1261a74785b86b01dff83ea9109a899857fa47a48f2cf2eaf298fea8 SHA512 8b7e13c6ea544754ba7d53092d143f3fd2224b9bc874a33d8a00b781e719927f1b22ad5cd1e35b7b95e4890e630f4b92308549a970587ccdf9dbb8eb470e2703
|
||||||
DIST containerd-1.7.8.tar.gz 9939250 BLAKE2B cddfea0617e92dc56f118e63a3e7af0103c1afe1b18e2c3bf198e4a58aa52424cb62f813f304231700ca10f8ff8936faed5c26735d3dab8958de2219b6769db0 SHA512 29c317b53f1e0eb48f45da47161aad9e97a9e7c5ff6ca2fc0d1233b9e6dcf7c8cd7f866502df80119447e6b889c8ce26257282c7d1948e05e22e1a5afeed1d03
|
DIST containerd-1.7.8.tar.gz 9939250 BLAKE2B cddfea0617e92dc56f118e63a3e7af0103c1afe1b18e2c3bf198e4a58aa52424cb62f813f304231700ca10f8ff8936faed5c26735d3dab8958de2219b6769db0 SHA512 29c317b53f1e0eb48f45da47161aad9e97a9e7c5ff6ca2fc0d1233b9e6dcf7c8cd7f866502df80119447e6b889c8ce26257282c7d1948e05e22e1a5afeed1d03
|
||||||
|
@ -0,0 +1,86 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
inherit go-module systemd
|
||||||
|
GIT_REVISION=dcf2847247e18caba8dce86522029642f60fe96b
|
||||||
|
|
||||||
|
DESCRIPTION="A daemon to control runC"
|
||||||
|
HOMEPAGE="https://containerd.io/"
|
||||||
|
SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="apparmor btrfs device-mapper +cri hardened +seccomp selinux test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
btrfs? ( sys-fs/btrfs-progs )
|
||||||
|
seccomp? ( sys-libs/libseccomp )
|
||||||
|
"
|
||||||
|
|
||||||
|
# recommended version of runc is found in script/setup/runc-version
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
~app-containers/runc-1.1.12[apparmor?,seccomp?]
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
dev-go/go-md2man
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
# tests require root or docker
|
||||||
|
RESTRICT+="test"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i \
|
||||||
|
-e "s/-s -w//" \
|
||||||
|
-e "s/-mod=readonly//" \
|
||||||
|
Makefile || die
|
||||||
|
sed -i \
|
||||||
|
-e "s:/usr/local:/usr:" \
|
||||||
|
containerd.service || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local options=(
|
||||||
|
$(usev apparmor)
|
||||||
|
$(usex btrfs "" "no_btrfs")
|
||||||
|
$(usex cri "" "no_cri")
|
||||||
|
$(usex device-mapper "" "no_devmapper")
|
||||||
|
$(usev seccomp)
|
||||||
|
$(usev selinux)
|
||||||
|
)
|
||||||
|
|
||||||
|
myemakeargs=(
|
||||||
|
BUILDTAGS="${options[*]}"
|
||||||
|
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')"
|
||||||
|
REVISION="${GIT_REVISION}"
|
||||||
|
VERSION=v${PV}
|
||||||
|
)
|
||||||
|
|
||||||
|
# race condition in man target https://bugs.gentoo.org/765100
|
||||||
|
# we need to explicitly specify GOFLAGS for "go run" to use vendor source
|
||||||
|
emake "${myemakeargs[@]}" man -j1 #nowarn
|
||||||
|
emake "${myemakeargs[@]}" all
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
rm "${D}"/bin/gen-manpages
|
||||||
|
dobin bin/*
|
||||||
|
doman man/*
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd "${PN}"
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd "${PN}"
|
||||||
|
systemd_dounit containerd.service
|
||||||
|
keepdir /var/lib/containerd
|
||||||
|
|
||||||
|
# we already installed manpages, remove markdown source
|
||||||
|
# before installing docs directory
|
||||||
|
rm -r docs/man || die
|
||||||
|
|
||||||
|
local DOCS=( ADOPTERS.md README.md RELEASES.md ROADMAP.md SCOPE.md docs/. )
|
||||||
|
einstalldocs
|
||||||
|
}
|
@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
GIT_COMMIT=1a576c50a9
|
||||||
|
EGO_PN="github.com/docker/cli"
|
||||||
|
MY_PV=${PV/_/-}
|
||||||
|
inherit bash-completion-r1 golang-vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="the command line binary for docker"
|
||||||
|
HOMEPAGE="https://www.docker.com/"
|
||||||
|
SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-man.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="hardened selinux"
|
||||||
|
|
||||||
|
RDEPEND="!<app-containers/docker-20.10.1
|
||||||
|
selinux? ( sec-policy/selinux-docker )"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-lang/go-1.16.6"
|
||||||
|
|
||||||
|
RESTRICT="installsources strip test"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
golang-vcs-snapshot_src_unpack
|
||||||
|
set -- ${A}
|
||||||
|
unpack ${2}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||||
|
export GOPATH="${WORKDIR}/${P}"
|
||||||
|
# setup CFLAGS and LDFLAGS for separate build target
|
||||||
|
# see https://github.com/tianon/docker-overlay/pull/10
|
||||||
|
export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
|
||||||
|
export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)"
|
||||||
|
emake \
|
||||||
|
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
|
||||||
|
VERSION="${PV}" \
|
||||||
|
GITCOMMIT="${GIT_COMMIT}" \
|
||||||
|
dynbinary
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin build/docker
|
||||||
|
doman "${WORKDIR}"/man/man?/*
|
||||||
|
dobashcomp contrib/completion/bash/*
|
||||||
|
bashcomp_alias docker dockerd
|
||||||
|
insinto /usr/share/fish/vendor_completions.d/
|
||||||
|
doins contrib/completion/fish/docker.fish
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
doins contrib/completion/zsh/_*
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
has_version "app-containers/docker-buildx" && return
|
||||||
|
ewarn "the 'docker build' command is deprecated and will be removed in a"
|
||||||
|
ewarn "future release. If you need this functionality, install"
|
||||||
|
ewarn "app-containers/docker-buildx."
|
||||||
|
}
|
@ -0,0 +1,318 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
EGO_PN=github.com/docker/docker
|
||||||
|
MY_PV=${PV/_/-}
|
||||||
|
inherit linux-info systemd udev golang-vcs-snapshot
|
||||||
|
GIT_COMMIT=061aa95809be396a6b5542618d8a34b02a21ff77
|
||||||
|
|
||||||
|
DESCRIPTION="The core functions you need to create Docker images and run Docker containers"
|
||||||
|
HOMEPAGE="https://www.docker.com/"
|
||||||
|
SRC_URI="https://github.com/moby/moby/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="apparmor btrfs +container-init overlay seccomp selinux"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
acct-group/docker
|
||||||
|
>=dev-db/sqlite-3.7.9:3
|
||||||
|
apparmor? ( sys-libs/libapparmor )
|
||||||
|
btrfs? ( >=sys-fs/btrfs-progs-3.16.1 )
|
||||||
|
seccomp? ( >=sys-libs/libseccomp-2.2.1 )
|
||||||
|
"
|
||||||
|
|
||||||
|
# https://github.com/moby/moby/blob/master/project/PACKAGERS.md#runtime-dependencies
|
||||||
|
# https://github.com/moby/moby/blob/master/project/PACKAGERS.md#optional-dependencies
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
>=net-firewall/iptables-1.4
|
||||||
|
sys-process/procps
|
||||||
|
>=dev-vcs/git-1.7
|
||||||
|
>=app-arch/xz-utils-4.9
|
||||||
|
dev-libs/libltdl
|
||||||
|
>=app-containers/containerd-1.7.12[apparmor?,btrfs?,seccomp?]
|
||||||
|
>=app-containers/runc-1.1.12[apparmor?,seccomp?]
|
||||||
|
!app-containers/docker-proxy
|
||||||
|
container-init? ( >=sys-process/tini-0.19.0[static] )
|
||||||
|
selinux? ( sec-policy/selinux-docker )
|
||||||
|
"
|
||||||
|
|
||||||
|
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-lang/go-1.16.12
|
||||||
|
dev-go/go-md2man
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
# tests require running dockerd as root and downloading containers
|
||||||
|
RESTRICT="installsources strip test"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/748984 https://github.com/etcd-io/etcd/pull/12552
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/0001-Openrc-Depend-on-containerd-init-script.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# this is based on "contrib/check-config.sh" from upstream's sources
|
||||||
|
# required features.
|
||||||
|
CONFIG_CHECK="
|
||||||
|
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
|
||||||
|
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
|
||||||
|
~KEYS
|
||||||
|
~VETH ~BRIDGE ~BRIDGE_NETFILTER
|
||||||
|
~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE
|
||||||
|
~NETFILTER_XT_MATCH_ADDRTYPE
|
||||||
|
~NETFILTER_XT_MATCH_CONNTRACK
|
||||||
|
~NETFILTER_XT_MATCH_IPVS
|
||||||
|
~NETFILTER_XT_MARK
|
||||||
|
~IP_NF_NAT ~NF_NAT
|
||||||
|
~POSIX_MQUEUE
|
||||||
|
"
|
||||||
|
WARNING_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: is required for bind-mounting /dev/mqueue into containers"
|
||||||
|
|
||||||
|
if kernel_is lt 4 8; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~DEVPTS_MULTIPLE_INSTANCES
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if kernel_is le 5 1; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~NF_NAT_IPV4
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if kernel_is le 5 2; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~NF_NAT_NEEDED
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if kernel_is ge 4 15; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~CGROUP_BPF
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# optional features
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~USER_NS
|
||||||
|
"
|
||||||
|
|
||||||
|
if use seccomp; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~SECCOMP ~SECCOMP_FILTER
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~CGROUP_PIDS
|
||||||
|
"
|
||||||
|
|
||||||
|
if kernel_is lt 6 1; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~MEMCG_SWAP
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if kernel_is le 5 8; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~MEMCG_SWAP_ENABLED
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~!LEGACY_VSYSCALL_NATIVE
|
||||||
|
"
|
||||||
|
if kernel_is lt 5 19; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~LEGACY_VSYSCALL_EMULATE
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~!LEGACY_VSYSCALL_NONE
|
||||||
|
"
|
||||||
|
WARNING_LEGACY_VSYSCALL_NONE="CONFIG_LEGACY_VSYSCALL_NONE enabled: \
|
||||||
|
Containers with <=glibc-2.13 will not work"
|
||||||
|
|
||||||
|
if kernel_is le 4 5; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~MEMCG_KMEM
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if kernel_is lt 5; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~IOSCHED_CFQ ~CFQ_GROUP_IOSCHED
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~BLK_CGROUP ~BLK_DEV_THROTTLING
|
||||||
|
~CGROUP_PERF
|
||||||
|
~CGROUP_HUGETLB
|
||||||
|
~NET_CLS_CGROUP ~CGROUP_NET_PRIO
|
||||||
|
~CFS_BANDWIDTH ~FAIR_GROUP_SCHED
|
||||||
|
~IP_NF_TARGET_REDIRECT
|
||||||
|
~IP_VS
|
||||||
|
~IP_VS_NFCT
|
||||||
|
~IP_VS_PROTO_TCP
|
||||||
|
~IP_VS_PROTO_UDP
|
||||||
|
~IP_VS_RR
|
||||||
|
"
|
||||||
|
|
||||||
|
if use selinux; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~SECURITY_SELINUX
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use apparmor; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~SECURITY_APPARMOR
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# if ! is_set EXT4_USE_FOR_EXT2; then
|
||||||
|
# check_flags EXT3_FS EXT3_FS_XATTR EXT3_FS_POSIX_ACL EXT3_FS_SECURITY
|
||||||
|
# if ! is_set EXT3_FS || ! is_set EXT3_FS_XATTR || ! is_set EXT3_FS_POSIX_ACL || ! is_set EXT3_FS_SECURITY; then
|
||||||
|
# echo " $(wrap_color '(enable these ext3 configs if you are using ext3 as backing filesystem)' bold black)"
|
||||||
|
# fi
|
||||||
|
# fi
|
||||||
|
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||||
|
"
|
||||||
|
|
||||||
|
# if ! is_set EXT4_FS || ! is_set EXT4_FS_POSIX_ACL || ! is_set EXT4_FS_SECURITY; then
|
||||||
|
# if is_set EXT4_USE_FOR_EXT2; then
|
||||||
|
# echo " $(wrap_color 'enable these ext4 configs if you are using ext3 or ext4 as backing filesystem' bold black)"
|
||||||
|
# else
|
||||||
|
# echo " $(wrap_color 'enable these ext4 configs if you are using ext4 as backing filesystem' bold black)"
|
||||||
|
# fi
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# network drivers
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~VXLAN ~BRIDGE_VLAN_FILTERING
|
||||||
|
~CRYPTO ~CRYPTO_AEAD ~CRYPTO_GCM ~CRYPTO_SEQIV ~CRYPTO_GHASH
|
||||||
|
~XFRM ~XFRM_USER ~XFRM_ALGO ~INET_ESP
|
||||||
|
"
|
||||||
|
if kernel_is le 5 3; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~INET_XFRM_MODE_TRANSPORT
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~IPVLAN
|
||||||
|
"
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~MACVLAN ~DUMMY
|
||||||
|
"
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~NF_NAT_FTP ~NF_CONNTRACK_FTP ~NF_NAT_TFTP ~NF_CONNTRACK_TFTP
|
||||||
|
"
|
||||||
|
|
||||||
|
# storage drivers
|
||||||
|
if use btrfs; then
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~BTRFS_FS
|
||||||
|
~BTRFS_FS_POSIX_ACL
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CONFIG_CHECK+="
|
||||||
|
~OVERLAY_FS
|
||||||
|
"
|
||||||
|
|
||||||
|
linux-info_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export DOCKER_GITCOMMIT="${GIT_COMMIT}"
|
||||||
|
export GOPATH="${WORKDIR}/${P}"
|
||||||
|
export VERSION=${PV}
|
||||||
|
|
||||||
|
# setup CFLAGS and LDFLAGS for separate build target
|
||||||
|
# see https://github.com/tianon/docker-overlay/pull/10
|
||||||
|
export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
|
||||||
|
export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)"
|
||||||
|
|
||||||
|
# let's set up some optional features :)
|
||||||
|
export DOCKER_BUILDTAGS=''
|
||||||
|
for gd in btrfs overlay; do
|
||||||
|
if ! use $gd; then
|
||||||
|
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for tag in apparmor seccomp; do
|
||||||
|
if use $tag; then
|
||||||
|
DOCKER_BUILDTAGS+=" $tag"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# build binaries
|
||||||
|
./hack/make.sh dynbinary || die 'dynbinary failed'
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dosym containerd /usr/bin/docker-containerd
|
||||||
|
dosym containerd-shim /usr/bin/docker-containerd-shim
|
||||||
|
dosym runc /usr/bin/docker-runc
|
||||||
|
use container-init && dosym tini /usr/bin/docker-init
|
||||||
|
dobin bundles/dynbinary-daemon/dockerd
|
||||||
|
dobin bundles/dynbinary-daemon/docker-proxy
|
||||||
|
|
||||||
|
newinitd contrib/init/openrc/docker.initd docker
|
||||||
|
newconfd contrib/init/openrc/docker.confd docker
|
||||||
|
|
||||||
|
systemd_dounit contrib/init/systemd/docker.{service,socket}
|
||||||
|
|
||||||
|
udev_dorules contrib/udev/*.rules
|
||||||
|
|
||||||
|
dodoc AUTHORS CONTRIBUTING.md NOTICE README.md
|
||||||
|
dodoc -r docs/*
|
||||||
|
|
||||||
|
# note: intentionally not using "doins" so that we preserve +x bits
|
||||||
|
dodir /usr/share/${PN}/contrib
|
||||||
|
cp -R contrib/* "${ED}/usr/share/${PN}/contrib"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
udev_reload
|
||||||
|
|
||||||
|
elog
|
||||||
|
elog "To use Docker, the Docker daemon must be running as root. To automatically"
|
||||||
|
elog "start the Docker daemon at boot:"
|
||||||
|
if systemd_is_booted || has_version sys-apps/systemd; then
|
||||||
|
elog " systemctl enable docker.service"
|
||||||
|
else
|
||||||
|
elog " rc-update add docker default"
|
||||||
|
fi
|
||||||
|
elog
|
||||||
|
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
|
||||||
|
elog ' usermod -aG docker <youruser>'
|
||||||
|
elog
|
||||||
|
|
||||||
|
if use overlay; then
|
||||||
|
elog " Overlay storage driver/USEflag has been deprecated"
|
||||||
|
elog " in favor of overlay2 (enabled unconditionally)"
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has_version sys-fs/zfs; then
|
||||||
|
elog " ZFS storage driver is available"
|
||||||
|
elog " Check https://docs.docker.com/storage/storagedriver/zfs-driver for more info"
|
||||||
|
elog
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
udev_reload
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
DIST podman-4.8.3.tar.gz 21565162 BLAKE2B 13d2e5800dce96ba8c1671f251c2809dc0166198b807978d44b6f10b4dd2095e909678a12518fed84a0a1b5eee5a71e944170eb55350c3af945a63910f9c8082 SHA512 13ade866b888d32ada3b38130d7cc4677591136e25234e040b478c5d002d1b7907ed46731996d25cc41b992b98b75f109c6e6eea44251f4ad89162b20266976d
|
DIST podman-4.8.3.tar.gz 21565162 BLAKE2B 13d2e5800dce96ba8c1671f251c2809dc0166198b807978d44b6f10b4dd2095e909678a12518fed84a0a1b5eee5a71e944170eb55350c3af945a63910f9c8082 SHA512 13ade866b888d32ada3b38130d7cc4677591136e25234e040b478c5d002d1b7907ed46731996d25cc41b992b98b75f109c6e6eea44251f4ad89162b20266976d
|
||||||
DIST podman-4.9.3.tar.gz 21727849 BLAKE2B 9a67ba4266a8a0e20d165ba2bae00dcf146724ee976838d5e3310b094155ffa89bff526e8ae72864dc100d1e6878d5519d53581dc7e034982a4f2b364e4c8feb SHA512 395014bbe70923f1444d2f33440013a16e9c339b70be5e6a9c7026617a40795a1c0e410c08a52fba46b9f5e853d853ce4133db36167a3c5ace7d325f8b3a3327
|
DIST podman-4.9.3.tar.gz 21727849 BLAKE2B 9a67ba4266a8a0e20d165ba2bae00dcf146724ee976838d5e3310b094155ffa89bff526e8ae72864dc100d1e6878d5519d53581dc7e034982a4f2b364e4c8feb SHA512 395014bbe70923f1444d2f33440013a16e9c339b70be5e6a9c7026617a40795a1c0e410c08a52fba46b9f5e853d853ce4133db36167a3c5ace7d325f8b3a3327
|
||||||
DIST podman-5.0.0_rc4.tar.gz 21846225 BLAKE2B c0e5a032af624401e1a61309194417a47144ccc5fa10ae827b80ff06b5034c78c4a01c5b44de587c357ef1aa1bbe848ee517edde1f90396bc675a35f4c9cf8e7 SHA512 034b411dfde2e3219b9bbdf5c966f474c9ed1a48a83793494abd0f74d164617f1321c2723384eb43827813faaf5737b378893c1555816badcbd1c81904349944
|
|
||||||
DIST podman-5.0.0_rc5.tar.gz 21856941 BLAKE2B 7800ad4d928bcc19c223a4dc6a84c32b32f8655753a8a77cca57d78b351bac911c7cf72d5425242ad93d165b620b7060e852a9b8816196136767bc500b5881f9 SHA512 a3ccd6eb53d66297be30ec66efa0a5fa5f5050a647c6bc5cdb2fd4cd9dd5638c42328bf1429a2fa3f8dcc84bb7d1ffbdd9c6bf06862993277f5b60d740d91c1b
|
DIST podman-5.0.0_rc5.tar.gz 21856941 BLAKE2B 7800ad4d928bcc19c223a4dc6a84c32b32f8655753a8a77cca57d78b351bac911c7cf72d5425242ad93d165b620b7060e852a9b8816196136767bc500b5881f9 SHA512 a3ccd6eb53d66297be30ec66efa0a5fa5f5050a647c6bc5cdb2fd4cd9dd5638c42328bf1429a2fa3f8dcc84bb7d1ffbdd9c6bf06862993277f5b60d740d91c1b
|
||||||
|
DIST podman-5.0.0_rc7.tar.gz 21865293 BLAKE2B 36462bab50a322942053d301e9bc8d75f4b7ef9776d73c1fbf30f37eb538e98c85ddae42d8ab3cd3183b85985716d1c42b94dacf9881a74046c75e45697c0c24 SHA512 ce66a6a061511bcb1e2e0044dbae50a421719974bc1126cc54c725d2d72282718e7cea8a5e0013b5e10b6d3ea9efb3d84716b4906312ed0190d6e5036dcd4f97
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
# Config file for /etc/init.d/podman-clean-transient
|
||||||
|
|
||||||
|
# Sets the podman log level
|
||||||
|
# valid levels: debug, info, warn, error, fatal or panic
|
||||||
|
#LOG_LEVEL="info"
|
||||||
|
|
||||||
|
# Configure the user[:group] the podman will run as
|
||||||
|
#RUN_AS_USER="root:root"
|
@ -0,0 +1,17 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 2015-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# This service runs once each boot to remove potential leftover
|
||||||
|
# container state from previous boots.
|
||||||
|
|
||||||
|
# This is needed when using transient storage mode in podman where the
|
||||||
|
# database and other configs are stored in tmpfs, but some other files
|
||||||
|
# are not. If we don't run this after an unclean boot then there may
|
||||||
|
# be some leftover files that grow over time.
|
||||||
|
|
||||||
|
description="Clean up podman transient data"
|
||||||
|
|
||||||
|
command_user="${RUN_AS_USER:-root:root}"
|
||||||
|
command="/usr/bin/podman"
|
||||||
|
command_args="--log-level ${LOG_LEVEL:-info} system prune --external"
|
@ -1,148 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module tmpfiles linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for managing OCI containers and pods with Docker-compatible CLI"
|
|
||||||
HOMEPAGE="https://github.com/containers/podman/ https://podman.io/"
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/containers/podman.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/containers/podman/archive/v${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${P/_rc/-rc}"
|
|
||||||
if [[ ${PV} != *rc* ]] ; then
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# 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 cgroup-hybrid cron wrapper +fuse +init +rootless +seccomp selinux systemd"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-crypt/gpgme:=
|
|
||||||
>=app-containers/conmon-2.0.0
|
|
||||||
>=app-containers/containers-common-0.56.0
|
|
||||||
dev-libs/libassuan:=
|
|
||||||
dev-libs/libgpg-error:=
|
|
||||||
sys-apps/shadow:=
|
|
||||||
|
|
||||||
apparmor? ( sys-libs/libapparmor )
|
|
||||||
btrfs? ( sys-fs/btrfs-progs )
|
|
||||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
|
||||||
!cgroup-hybrid? ( app-containers/crun )
|
|
||||||
cron? ( virtual/cron )
|
|
||||||
wrapper? ( !app-containers/docker-cli )
|
|
||||||
fuse? ( sys-fs/fuse-overlayfs )
|
|
||||||
init? ( app-containers/catatonit )
|
|
||||||
rootless? ( app-containers/slirp4netns )
|
|
||||||
seccomp? ( sys-libs/libseccomp:= )
|
|
||||||
selinux? ( sec-policy/selinux-podman sys-libs/libselinux:= )
|
|
||||||
systemd? ( sys-apps/systemd:= )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
dev-go/go-md2man
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/seccomp-toggle-4.7.0.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
CONFIG_CHECK="
|
|
||||||
~USER_NS
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
|
||||||
linux-info_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# assure necessary files are present
|
|
||||||
local file
|
|
||||||
for file in apparmor_tag btrfs_installed_tag btrfs_tag systemd_tag; do
|
|
||||||
[[ -f hack/"${file}".sh ]] || die
|
|
||||||
done
|
|
||||||
|
|
||||||
local feature
|
|
||||||
for feature in apparmor systemd; do
|
|
||||||
cat <<-EOF > hack/"${feature}"_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex ${feature} "echo ${feature}" echo)
|
|
||||||
EOF
|
|
||||||
done
|
|
||||||
|
|
||||||
echo -e "#!/usr/bin/env bash\n echo" > hack/btrfs_installed_tag.sh || die
|
|
||||||
cat <<-EOF > hack/btrfs_tag.sh || die
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export PREFIX="${EPREFIX}/usr"
|
|
||||||
|
|
||||||
# bug 906073
|
|
||||||
use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
|
||||||
|
|
||||||
# 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=""
|
|
||||||
|
|
||||||
# BUILD_SECCOMP is used in the patch to toggle seccomp
|
|
||||||
emake BUILDFLAGS="-v -work -x" GOMD2MAN="go-md2man" BUILD_SECCOMP="$(usex seccomp)" all $(usev wrapper docker-docs)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install install.completions $(usev wrapper install.docker-full)
|
|
||||||
|
|
||||||
insinto /etc/cni/net.d
|
|
||||||
doins cni/87-podman-bridge.conflist
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/podman-5.0.0_rc4.confd podman
|
|
||||||
newinitd "${FILESDIR}"/podman-5.0.0_rc4.initd podman
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/podman-restart-5.0.0_rc4.initd podman-restart
|
|
||||||
newconfd "${FILESDIR}"/podman-restart-5.0.0_rc4.confd podman-restart
|
|
||||||
|
|
||||||
use cron && \
|
|
||||||
{ exeinto /etc/cron.daily && newexe "${FILESDIR}"/podman-auto-update-5.0.0_rc4.cron podman-auto-update; }
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/podman.logrotated" podman
|
|
||||||
|
|
||||||
keepdir /var/lib/containers
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
PODMAN_ROOTLESS_UPGRADE=false
|
|
||||||
if use rootless; then
|
|
||||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process podman.conf $(usev wrapper podman-docker.conf)
|
|
||||||
|
|
||||||
local want_newline=false
|
|
||||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
|
||||||
${want_newline} && elog ""
|
|
||||||
elog "For rootless operation, you need to configure subuid/subgid"
|
|
||||||
elog "for user running podman. In case subuid/subgid has only been"
|
|
||||||
elog "configured for root, run:"
|
|
||||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
|
||||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
|
||||||
want_newline=true
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,151 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module tmpfiles linux-info
|
||||||
|
|
||||||
|
DESCRIPTION="A tool for managing OCI containers and pods with Docker-compatible CLI"
|
||||||
|
HOMEPAGE="https://github.com/containers/podman/ https://podman.io/"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/containers/podman.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/containers/podman/archive/v${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${P/_rc/-rc}"
|
||||||
|
if [[ ${PV} != *rc* ]] ; then
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 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 cgroup-hybrid cron wrapper +fuse +init +rootless +seccomp selinux systemd"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-crypt/gpgme:=
|
||||||
|
>=app-containers/conmon-2.0.0
|
||||||
|
>=app-containers/containers-common-0.56.0
|
||||||
|
dev-libs/libassuan:=
|
||||||
|
dev-libs/libgpg-error:=
|
||||||
|
sys-apps/shadow:=
|
||||||
|
|
||||||
|
apparmor? ( sys-libs/libapparmor )
|
||||||
|
btrfs? ( sys-fs/btrfs-progs )
|
||||||
|
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||||
|
!cgroup-hybrid? ( app-containers/crun )
|
||||||
|
cron? ( virtual/cron )
|
||||||
|
wrapper? ( !app-containers/docker-cli )
|
||||||
|
fuse? ( sys-fs/fuse-overlayfs )
|
||||||
|
init? ( app-containers/catatonit )
|
||||||
|
rootless? ( app-containers/slirp4netns )
|
||||||
|
seccomp? ( sys-libs/libseccomp:= )
|
||||||
|
selinux? ( sec-policy/selinux-podman sys-libs/libselinux:= )
|
||||||
|
systemd? ( sys-apps/systemd:= )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-go/go-md2man
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/seccomp-toggle-4.7.0.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
CONFIG_CHECK="
|
||||||
|
~USER_NS
|
||||||
|
"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
||||||
|
linux-info_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# assure necessary files are present
|
||||||
|
local file
|
||||||
|
for file in apparmor_tag btrfs_installed_tag btrfs_tag systemd_tag; do
|
||||||
|
[[ -f hack/"${file}".sh ]] || die
|
||||||
|
done
|
||||||
|
|
||||||
|
local feature
|
||||||
|
for feature in apparmor systemd; do
|
||||||
|
cat <<-EOF > hack/"${feature}"_tag.sh || die
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
$(usex ${feature} "echo ${feature}" echo)
|
||||||
|
EOF
|
||||||
|
done
|
||||||
|
|
||||||
|
echo -e "#!/usr/bin/env bash\n echo" > hack/btrfs_installed_tag.sh || die
|
||||||
|
cat <<-EOF > hack/btrfs_tag.sh || die
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export PREFIX="${EPREFIX}/usr"
|
||||||
|
|
||||||
|
# bug 906073
|
||||||
|
use elibc_musl && export CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
||||||
|
|
||||||
|
# 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=""
|
||||||
|
|
||||||
|
# BUILD_SECCOMP is used in the patch to toggle seccomp
|
||||||
|
emake BUILDFLAGS="-v -work -x" GOMD2MAN="go-md2man" BUILD_SECCOMP="$(usex seccomp)" all $(usev wrapper docker-docs)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install install.completions $(usev wrapper install.docker-full)
|
||||||
|
|
||||||
|
insinto /etc/cni/net.d
|
||||||
|
doins cni/87-podman-bridge.conflist
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}"/podman-5.0.0_rc4.confd podman
|
||||||
|
newinitd "${FILESDIR}"/podman-5.0.0_rc4.initd podman
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/podman-restart-5.0.0_rc4.initd podman-restart
|
||||||
|
newconfd "${FILESDIR}"/podman-restart-5.0.0_rc4.confd podman-restart
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/podman-clean-transient-5.0.0_rc6.initd podman-clean-transient
|
||||||
|
newconfd "${FILESDIR}"/podman-clean-transient-5.0.0_rc6.confd podman-clean-transient
|
||||||
|
|
||||||
|
use cron && \
|
||||||
|
{ exeinto /etc/cron.daily && newexe "${FILESDIR}"/podman-auto-update-5.0.0_rc4.cron podman-auto-update; }
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/podman.logrotated" podman
|
||||||
|
|
||||||
|
keepdir /var/lib/containers
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
PODMAN_ROOTLESS_UPGRADE=false
|
||||||
|
if use rootless; then
|
||||||
|
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
tmpfiles_process podman.conf $(usev wrapper podman-docker.conf)
|
||||||
|
|
||||||
|
local want_newline=false
|
||||||
|
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||||
|
${want_newline} && elog ""
|
||||||
|
elog "For rootless operation, you need to configure subuid/subgid"
|
||||||
|
elog "for user running podman. In case subuid/subgid has only been"
|
||||||
|
elog "configured for root, run:"
|
||||||
|
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||||
|
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||||
|
want_newline=true
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,12 @@
|
|||||||
|
Bug: https://bugs.gentoo.org/924227
|
||||||
|
--- a/src/zdmain.c
|
||||||
|
+++ b/src/zdmain.c
|
||||||
|
@@ -53,7 +53,7 @@ char *c;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
fprintf( stderr, "Usage: %s {<password> | <key0> <key1> <key2>} <cryptedzipfile> <plainzipfile>\n", argv[0] );
|
||||||
|
- return;
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
zipdecrypt( argv[argc-2], argv[argc-1], key0, key1, key2 );
|
@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="PkZip cipher breaker"
|
||||||
|
HOMEPAGE="https://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack.html"
|
||||||
|
SRC_URI="https://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="pkcrack"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="!<app-text/html-xml-utils-5.3"
|
||||||
|
BDEPEND="test? ( app-arch/zip[crypt] )"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
doc/KNOWN_BUGS
|
||||||
|
doc/appnote.iz.txt
|
||||||
|
doc/README.W32
|
||||||
|
doc/pkzip.ps.gz
|
||||||
|
doc/CHANGES
|
||||||
|
doc/LIESMICH
|
||||||
|
doc/README.html
|
||||||
|
doc/README
|
||||||
|
)
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-build.patch"
|
||||||
|
"${FILESDIR}/${P}-gcc14-build.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd src || die
|
||||||
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
cd test || die
|
||||||
|
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" all
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einstalldocs
|
||||||
|
cd src || die
|
||||||
|
dobin pkcrack zipdecrypt findkey makekey
|
||||||
|
newbin extract "${PN}-extract"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ewarn "Due to file collision, extract utility was renamed to ${PN}-extract,"
|
||||||
|
ewarn "see bug#247394"
|
||||||
|
}
|
@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2019-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit edo toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Standalone password candidate generator using the PRINCE algorithm"
|
||||||
|
HOMEPAGE="https://github.com/hashcat/princeprocessor"
|
||||||
|
SRC_URI="https://github.com/hashcat/princeprocessor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${P}/src"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
edo $(tc-getCC) -W -Wall -std=c99 ${CFLAGS} ${LDFLAGS} -DLINUX -o ${PN} pp.c mpz_int128.h
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ${PN}
|
||||||
|
dodoc ../{README.md,CHANGES}
|
||||||
|
#install rules after hashcat is fixed
|
||||||
|
#insinto /usr/share/hashcat
|
||||||
|
#doins ../rules/*.rules
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
From be35c35ace48647bb73ae5028db7e8caaccd038d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Adrian Freihofer <adrian.freihofer@gmail.com>
|
||||||
|
Date: Fri, 8 Dec 2023 14:24:17 +0100
|
||||||
|
Subject: [PATCH 1/2] Makefile: add run-with-simulator to extra dists
|
||||||
|
|
||||||
|
The run-with-simulator script is executed by the make check step of
|
||||||
|
the rpm build process. Therefore it should be packaged into the release
|
||||||
|
tar bundles.
|
||||||
|
|
||||||
|
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com>
|
||||||
|
---
|
||||||
|
Makefile.am | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index 160d84e..994a8e3 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -143,5 +143,6 @@ EXTRA_DIST = \
|
||||||
|
VERSION \
|
||||||
|
$(TESTS_SHELL) \
|
||||||
|
$(SH_LOG_COMPILER) \
|
||||||
|
+ test/run-with-simulator \
|
||||||
|
test/ec_pki/openssl.cnf \
|
||||||
|
test/rsa_pki/etc
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
@ -0,0 +1,132 @@
|
|||||||
|
diff --git a/home/salahx/Downloads/run-with-simulator b/home/salahx/Downloads/run-with-simulator
|
||||||
|
new file mode 100755
|
||||||
|
index 000000000000..e29b591f8d8b
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/test/run-with-simulator
|
||||||
|
@@ -0,0 +1,126 @@
|
||||||
|
+#!/bin/bash
|
||||||
|
+# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
+
|
||||||
|
+SIM_PORT_DATA=2321
|
||||||
|
+SIM_PORT_CMD=$((SIM_PORT_DATA+1))
|
||||||
|
+
|
||||||
|
+# Run from top dir of this repository
|
||||||
|
+SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
|
+TOP_DIR="$(realpath "$SCRIPT_DIR/..")"
|
||||||
|
+cd "$TOP_DIR" || { echo "Error: cd to cd $TOP_DIR failed"; exit 1; }
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+verify_simulator_is_running() {
|
||||||
|
+ local pid_tpm=$1
|
||||||
|
+
|
||||||
|
+ sleep 1
|
||||||
|
+ ss -lntp4 2> /dev/null | grep "${pid_tpm}" | grep -q "${SIM_PORT_DATA}"
|
||||||
|
+ ret_data=$?
|
||||||
|
+ ss -lntp4 2> /dev/null | grep "${pid_tpm}" | grep -q "${SIM_PORT_CMD}"
|
||||||
|
+ ret_cmd=$?
|
||||||
|
+ if [ $ret_data -eq 0 ] && [ $ret_cmd -eq 0 ]; then
|
||||||
|
+ echo "Simulator with PID ${pid_tpm} bound to port ${SIM_PORT_DATA} and ${SIM_PORT_CMD} successfully."
|
||||||
|
+ return 0
|
||||||
|
+ else
|
||||||
|
+ echo "Error: Port conflict? Cleaning up PID: ${pid_tpm}"
|
||||||
|
+ return 1
|
||||||
|
+ fi
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+build_tpm2_simulator_ibm() (
|
||||||
|
+ test -d ibmtpm && return
|
||||||
|
+ echo "---> compiling IBM tpm simulator"
|
||||||
|
+ mkdir ibmtpm
|
||||||
|
+ curl -Ls https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1682.tar.gz | tar xz -C ibmtpm
|
||||||
|
+ cd ibmtpm/src && make
|
||||||
|
+)
|
||||||
|
+
|
||||||
|
+start_tpm2_simulator_ibm () {
|
||||||
|
+ build_tpm2_simulator_ibm || return 1
|
||||||
|
+
|
||||||
|
+ echo "---> starting IBM tpm simulator"
|
||||||
|
+ ibmtpm/src/tpm_server &
|
||||||
|
+ pid_tpm=$!
|
||||||
|
+ verify_simulator_is_running $pid_tpm
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+start_tpm2_simulator_swtpm () {
|
||||||
|
+ echo "---> starting swtpm simulator"
|
||||||
|
+ swtpm socket --tpm2 \
|
||||||
|
+ --server port=$SIM_PORT_DATA \
|
||||||
|
+ --ctrl type=tcp,port=$SIM_PORT_CMD \
|
||||||
|
+ --flags not-need-init \
|
||||||
|
+ --tpmstate dir="$PWD" \
|
||||||
|
+ --seccomp action=none &
|
||||||
|
+ pid_tpm=$!
|
||||||
|
+ verify_simulator_is_running $pid_tpm
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+start_dbusd () {
|
||||||
|
+ echo "---> starting dbus daemon"
|
||||||
|
+ dbus-daemon --session --print-address > /tmp/bus-socket-path.txt &
|
||||||
|
+ sleep 1
|
||||||
|
+ DBUS_SESSION_BUS_ADDRESS="$(tail -n1 /tmp/bus-socket-path.txt)"
|
||||||
|
+ export DBUS_SESSION_BUS_ADDRESS
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+start_tpm2_abrmd() {
|
||||||
|
+ local tabrmd_tcti=$1
|
||||||
|
+
|
||||||
|
+ echo "---> starting abrmd"
|
||||||
|
+ local tabrmd_name="com.intel.tss2.Tabrmd${SIM_PORT_DATA}"
|
||||||
|
+ tpm2-abrmd --session --dbus-name="${tabrmd_name}" --tcti "${tabrmd_tcti}:host=localhost,port=${SIM_PORT_DATA}" &
|
||||||
|
+ TCTI_ADDRESS="tabrmd:bus_name=${tabrmd_name},bus_type=session"
|
||||||
|
+ TPM2TOOLS_TCTI="$TCTI_ADDRESS"
|
||||||
|
+ TPM2OPENSSL_TCTI="$TCTI_ADDRESS"
|
||||||
|
+ export TPM2TOOLS_TCTI
|
||||||
|
+ export TPM2OPENSSL_TCTI
|
||||||
|
+ sleep 1
|
||||||
|
+# busctl --address="${DBUS_SESSION_BUS_ADDRESS}" list | grep "$tabrmd_name"
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+start_tpm2_sim_env() {
|
||||||
|
+ local sim_type=$1
|
||||||
|
+
|
||||||
|
+ start_dbusd
|
||||||
|
+
|
||||||
|
+ if [ "$sim_type" = "swtpm" ]; then
|
||||||
|
+ start_tpm2_simulator_swtpm || return 1
|
||||||
|
+ start_tpm2_abrmd swtpm || return 1
|
||||||
|
+ elif [ "$sim_type" = "ibm" ]; then
|
||||||
|
+ start_tpm2_simulator_ibm || return 1
|
||||||
|
+ start_tpm2_abrmd mssim || return 1
|
||||||
|
+ else
|
||||||
|
+ echo "invalid tpm simulator typ"
|
||||||
|
+ return 1
|
||||||
|
+ fi
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+make_check () {
|
||||||
|
+ echo "Running make check"
|
||||||
|
+ openssl version
|
||||||
|
+ tpm2_getcap properties-fixed | head -n 20
|
||||||
|
+ make check
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+function cleanup()
|
||||||
|
+{
|
||||||
|
+ pkill -P $$
|
||||||
|
+}
|
||||||
|
+trap cleanup EXIT
|
||||||
|
+
|
||||||
|
+build_tpm2_openssl() {
|
||||||
|
+ ./bootstrap
|
||||||
|
+ ./configure CC=gcc --enable-op-digest --enable-op-cipher
|
||||||
|
+ make
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+SIM_TYPE=${1:-swtpm}
|
||||||
|
+SKIP_BUILD=${2:-build}
|
||||||
|
+if [ "$SKIP_BUILD" = "skip-build" ]; then
|
||||||
|
+ echo "Skipping the build"
|
||||||
|
+else
|
||||||
|
+ build_tpm2_openssl || { echo "Compiling tpm2-openssl failed"; exit 1; }
|
||||||
|
+fi
|
||||||
|
+start_tpm2_sim_env "${SIM_TYPE}" || { echo "Starting tpm2 simulator failed ($SIM_TYPE)"; exit 1; }
|
||||||
|
+make_check || { echo "tpm2-openssl make check failed"; exit 1; }
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST cantera-docs-2.6.0.tar.xz 5561604 BLAKE2B 3fab71497584e7be6b025daaedb9cdf87c837a2476206882016894e9af9dc719dc99f5b428beb836df1b83c1db6c8bffad6abf480a4e71e3756985c70f4362d6 SHA512 d9273396cbc7638ed2ab9ce754fe75cd7993a00884c3c988fa007527842913696a97b796cc5dd57f5657813c339ad61ad1ffcdaf7384a667eee97d70cae441bc
|
DIST cantera-docs-2.6.0.tar.xz 5561604 BLAKE2B 3fab71497584e7be6b025daaedb9cdf87c837a2476206882016894e9af9dc719dc99f5b428beb836df1b83c1db6c8bffad6abf480a4e71e3756985c70f4362d6 SHA512 d9273396cbc7638ed2ab9ce754fe75cd7993a00884c3c988fa007527842913696a97b796cc5dd57f5657813c339ad61ad1ffcdaf7384a667eee97d70cae441bc
|
||||||
|
DIST cantera-docs-3.0.0.tar.xz 6397512 BLAKE2B 086c81acf7a26c6ef429c37873b176cfb73168e03bb445120184008b9a92eeaf1eeb7bfbea7acce8c9741e5eababf7e10ed7cb0d2f239f4a73a77f52a8488b7a SHA512 57870ff1adf433c83f713541321b9742bb9881d5dbb3429c161ed7cf84bad9ccf9ec8ed725c6672dc449e4041144a82dc3ae443f757bcdbd14b297801e9fe5b9
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit desktop xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Documentation API reference for Cantera package libraries"
|
||||||
|
HOMEPAGE="https://cantera.org"
|
||||||
|
SRC_URI="https://github.com/band-a-prend/gentoo-overlay/releases/download/ct-docs-${PV}/${P}_modified_menu.tar.xz -> ${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~riscv ~x86"
|
||||||
|
|
||||||
|
S="${WORKDIR}/"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/cantera/doc/
|
||||||
|
doins -r "${S}/."
|
||||||
|
|
||||||
|
make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/doxygen/html/index.html" "Cantera Doxygen Documentation" "text-html" "Development"
|
||||||
|
make_desktop_entry "/usr/bin/xdg-open /usr/share/cantera/doc/sphinx/html/index.html" "Cantera Sphinx Documentation" "text-html" "Development"
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,70 @@
|
|||||||
|
From 6cf4549217e95659c8dfd14f9166fb8b80bad333 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andreas Sturmlechner <asturm@gentoo.org>
|
||||||
|
Date: Fri, 15 Mar 2024 12:45:51 +0100
|
||||||
|
Subject: [PATCH] Switch okular headers to okular5
|
||||||
|
|
||||||
|
Otherwise it will be using okular6's.
|
||||||
|
|
||||||
|
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
||||||
|
---
|
||||||
|
src/configtester.cpp | 2 +-
|
||||||
|
src/kileviewmanager.cpp | 2 +-
|
||||||
|
src/kileviewmanager.h | 2 +-
|
||||||
|
src/livepreview.cpp | 2 +-
|
||||||
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/configtester.cpp b/src/configtester.cpp
|
||||||
|
index 35ce3e71..cd7ed588 100644
|
||||||
|
--- a/src/configtester.cpp
|
||||||
|
+++ b/src/configtester.cpp
|
||||||
|
@@ -14,7 +14,7 @@
|
||||||
|
|
||||||
|
#include "configtester.h"
|
||||||
|
|
||||||
|
-#include <okular/interfaces/viewerinterface.h>
|
||||||
|
+#include <okular5/interfaces/viewerinterface.h>
|
||||||
|
|
||||||
|
#include <QTimer>
|
||||||
|
|
||||||
|
diff --git a/src/kileviewmanager.cpp b/src/kileviewmanager.cpp
|
||||||
|
index 34f84397..f5ac0cdc 100644
|
||||||
|
--- a/src/kileviewmanager.cpp
|
||||||
|
+++ b/src/kileviewmanager.cpp
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
#include "kileviewmanager.h"
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
|
-#include <okular/interfaces/viewerinterface.h>
|
||||||
|
+#include <okular5/interfaces/viewerinterface.h>
|
||||||
|
|
||||||
|
#include <KAcceleratorManager>
|
||||||
|
#include <KActionCollection>
|
||||||
|
diff --git a/src/kileviewmanager.h b/src/kileviewmanager.h
|
||||||
|
index 42367291..e0b3ca09 100644
|
||||||
|
--- a/src/kileviewmanager.h
|
||||||
|
+++ b/src/kileviewmanager.h
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
#ifndef KILEVIEWKILEVIEWMANAGER_H
|
||||||
|
#define KILEVIEWKILEVIEWMANAGER_H
|
||||||
|
|
||||||
|
-#include <okular/interfaces/viewerinterface.h>
|
||||||
|
+#include <okular5/interfaces/viewerinterface.h>
|
||||||
|
|
||||||
|
#include <KTextEditor/Cursor>
|
||||||
|
#include <KTextEditor/ModificationInterface>
|
||||||
|
diff --git a/src/livepreview.cpp b/src/livepreview.cpp
|
||||||
|
index dbd7ff13..fcfa2a6d 100644
|
||||||
|
--- a/src/livepreview.cpp
|
||||||
|
+++ b/src/livepreview.cpp
|
||||||
|
@@ -40,7 +40,7 @@
|
||||||
|
#include <KParts/MainWindow>
|
||||||
|
#include <KXMLGUIFactory>
|
||||||
|
|
||||||
|
-#include <okular/interfaces/viewerinterface.h>
|
||||||
|
+#include <okular5/interfaces/viewerinterface.h>
|
||||||
|
|
||||||
|
#include "errorhandler.h"
|
||||||
|
#include "kiledebug.h"
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
Clang16 will not allow implicit function pointer types by default.
|
|
||||||
|
|
||||||
Bug: https://bugs.gentoo.org/880941
|
|
||||||
Upstream Bug report and patch: https://savannah.nongnu.org/bugs/index.php?63356
|
|
||||||
|
|
||||||
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
|
|
||||||
|
|
||||||
--- a/x11.c
|
|
||||||
+++ b/x11.c
|
|
||||||
@@ -2259,7 +2259,7 @@ x_preparse_args(int *pargc, char ***pargv)
|
|
||||||
if (isEmpty(xvile_class))
|
|
||||||
xvile_class = MY_CLASS;
|
|
||||||
|
|
||||||
- XtSetErrorHandler(initial_error_handler);
|
|
||||||
+ XtSetErrorHandler((__attribute__((noreturn)) XtErrorHandler)runtime_error_handler);
|
|
||||||
memset(cur_win, 0, sizeof(*cur_win));
|
|
||||||
cur_win->top_widget = XtVaAppInitialize(&cur_win->app_context,
|
|
||||||
xvile_class,
|
|
||||||
@@ -2269,7 +2269,7 @@ x_preparse_args(int *pargc, char ***pargv)
|
|
||||||
Nval(XtNgeometry, NULL),
|
|
||||||
Nval(XtNinput, TRUE),
|
|
||||||
NULL);
|
|
||||||
- XtSetErrorHandler(runtime_error_handler);
|
|
||||||
+ XtSetErrorHandler((__attribute__((noreturn)) XtErrorHandler)runtime_error_handler);
|
|
||||||
dpy = XtDisplay(cur_win->top_widget);
|
|
||||||
|
|
||||||
XtVaGetValues(cur_win->top_widget,
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST ebuild-mode-1.67.tar.xz 40332 BLAKE2B 545106fbf63737015c8b80b715708c430dafc83484bd2d27901c1e81b5ecb10a0494a0f8ab9e0d3243f62c57045c1571ea75fd6813cbd74a04e507a2dadc3b3a SHA512 672c23ae77de6784a43329607b05f3ff354f0271a5051b886ede7b1d92a667f7968579a941b55e60839cbf0b79082e726aa32e1a81d3302acc84d866e3892a2b
|
|
||||||
DIST ebuild-mode-1.69.tar.xz 41436 BLAKE2B 9c3a41e6dac89d1c3908f72dfd4f2c2f62a1337fa9de1318d26901ae51c5b17cec429839378fa8df155f65807bc16efb9235b1913d4a3704d0d79df9fddd7af6 SHA512 2ba94f268f74a8424fccfc7ffff3d0e008261224a389253f67be91b6ade0301600fd50c0bb4b5f0487acb5b0add68dd6895a03dd7b096095034d59bc300e8a53
|
DIST ebuild-mode-1.69.tar.xz 41436 BLAKE2B 9c3a41e6dac89d1c3908f72dfd4f2c2f62a1337fa9de1318d26901ae51c5b17cec429839378fa8df155f65807bc16efb9235b1913d4a3704d0d79df9fddd7af6 SHA512 2ba94f268f74a8424fccfc7ffff3d0e008261224a389253f67be91b6ade0301600fd50c0bb4b5f0487acb5b0add68dd6895a03dd7b096095034d59bc300e8a53
|
||||||
DIST ebuild-mode-1.70.tar.xz 41528 BLAKE2B 51eecdaa262b20517aae269d4e8d41684d58a8aa73b316e08d03e4578b9bd0775577a46e15b637e4636978295629d36df774d39c253c3544ade985ad82b588dc SHA512 81e156adc19afe89778b9eb708414ba4cb6dd69ad3df05965eac6d5d46e6fda5b7e96f10933827639a17d8b349ae8c115b39e1ebd5c54350dcd07f9003d517e3
|
DIST ebuild-mode-1.70.tar.xz 41528 BLAKE2B 51eecdaa262b20517aae269d4e8d41684d58a8aa73b316e08d03e4578b9bd0775577a46e15b637e4636978295629d36df774d39c253c3544ade985ad82b588dc SHA512 81e156adc19afe89778b9eb708414ba4cb6dd69ad3df05965eac6d5d46e6fda5b7e96f10933827639a17d8b349ae8c115b39e1ebd5c54350dcd07f9003d517e3
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit elisp optfeature
|
|
||||||
|
|
||||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
|
||||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
|
||||||
|
|
||||||
BDEPEND="sys-apps/texinfo"
|
|
||||||
|
|
||||||
DOCS="ChangeLog keyword-generation.sh"
|
|
||||||
ELISP_TEXINFO="${PN}.texi"
|
|
||||||
SITEFILE="50${PN}-gentoo-1.54.el"
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elisp_pkg_postinst
|
|
||||||
optfeature "ebuild commands support" sys-apps/portage
|
|
||||||
optfeature "additional development tools" dev-util/pkgdev
|
|
||||||
optfeature "ebuild QA utilities" dev-util/pkgcheck
|
|
||||||
optfeature "generating HTML from GLEPs" dev-python/docutils-glep
|
|
||||||
}
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST emms-17.tar.gz 263213 BLAKE2B 0a72de7a59e2db9fb6a4fbfc78bc5417c0826d1719905063c0d037a424f73500e45de469850940ab3ce072b1c7a747bb65020a061d23a693706ba0894f7a441c SHA512 b8c6c2ee6e59214a6c2647b3ea4dac3a96ab6d5da7b0aa6890503621242ea7e56e91c27e4f8ccc20ed6def76ebd8be79633654067d39bfd9b2d5d831d31f2805
|
|
||||||
DIST emms-18.tar.gz 261059 BLAKE2B 93758279d12c96fb268557d60743f7c415724e9869073f4ac5d3c6aa8c755723f50d93c8fb3517a1f1266f5f1daf76796164b7b1b64f618170a53cbd6bc317eb SHA512 771dd5c6ca4ecc65f6108d8dabe5755aefd8ca6cf3ba766c4310227c44e95e22fdfd7415aa30f82b5f7b4b4be5c413fa576fdf6c59ab5e0647fa675d98a1cf9a
|
DIST emms-18.tar.gz 261059 BLAKE2B 93758279d12c96fb268557d60743f7c415724e9869073f4ac5d3c6aa8c755723f50d93c8fb3517a1f1266f5f1daf76796164b7b1b64f618170a53cbd6bc317eb SHA512 771dd5c6ca4ecc65f6108d8dabe5755aefd8ca6cf3ba766c4310227c44e95e22fdfd7415aa30f82b5f7b4b4be5c413fa576fdf6c59ab5e0647fa675d98a1cf9a
|
||||||
|
DIST emms-19.tar.gz 264686 BLAKE2B 45f305c3836854a5ce506bd001b59ca157acb931241eb30dd19f920570334f6823245158ccd880b85e79a7026bfd8b0da190bcf3b2a4704377cc203f4ca0d699 SHA512 df99e82c60e4a61c65dad6108ae37c92314a0ee9f929f7031eef5474dfa5eb9174e068c4423d4c6fbf6ec997c4c9c748e1e1d0c1be00bd87adf10b3df33fc81d
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit elisp toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="The Emacs Multimedia System"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/emms/
|
|
||||||
https://www.emacswiki.org/emacs/EMMS"
|
|
||||||
SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ FDL-1.1+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
|
||||||
|
|
||||||
RDEPEND="media-libs/taglib"
|
|
||||||
BDEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
# EMMS can use almost anything for playing media files therefore the dependency
|
|
||||||
# possibilities are so broad that we refrain from setting anything explicitly
|
|
||||||
# in DEPEND/RDEPEND.
|
|
||||||
|
|
||||||
DOCS=( AUTHORS NEWS README )
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all emms-print-metadata
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
elisp-install ${PN} *.el *.elc
|
|
||||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
|
||||||
|
|
||||||
exeinto /usr/bin
|
|
||||||
doexe src/emms-print-metadata
|
|
||||||
|
|
||||||
doinfo doc/emms.info*
|
|
||||||
doman emms-print-metadata.1
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit elisp toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="The Emacs Multimedia System"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/emms/
|
||||||
|
https://www.emacswiki.org/emacs/EMMS"
|
||||||
|
SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ FDL-1.1+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
media-libs/taglib
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
# EMMS can use almost anything for playing media files therefore the dependency
|
||||||
|
# possibilities are so broad that we refrain from setting anything explicitly
|
||||||
|
# in DEPEND/RDEPEND.
|
||||||
|
|
||||||
|
DOCS=( AUTHORS NEWS README )
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all emms-print-metadata
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
elisp-install ${PN} *.el *.elc
|
||||||
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||||
|
|
||||||
|
exeinto /usr/bin
|
||||||
|
doexe src/emms-print-metadata
|
||||||
|
|
||||||
|
doinfo doc/emms.info*
|
||||||
|
doman emms-print-metadata.1
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
|
DIST muse-3.20.2.tar.xz 143820 BLAKE2B 2e33ba2b0ab10bb390a640b1f8370a3689b6ed67e249dd966b606fc1f33ad2538f09bac2b2f8082c68c8d0133c7daccee665ca4e335976aeb1e069a827577c37 SHA512 d0fc59839ac2c907a3ea5814ae4d2d141bedde9ebadab36966bc4dee94b5532a98781a2af51d9aa3498634ac6036c2fc3eac76c5e908b3f9e93b2c0498d1b915
|
||||||
DIST muse-3.20.tar.gz 407054 BLAKE2B ff2babe2caf109c9de7504c4f82e04a7769b5e708455439e59faf96fa939423d6439e34f912cd79df420ec8498f7e91e5faa2e7410d4df236207fded66eff532 SHA512 864eca508d34f4c329ffd31cd3c169b67dff6d19c6695a85d8190511fa05d85f4a68f12e58c1679f91940ebcd823766e9f60309f2bfba17c985f811a3f342dda
|
DIST muse-3.20.tar.gz 407054 BLAKE2B ff2babe2caf109c9de7504c4f82e04a7769b5e708455439e59faf96fa939423d6439e34f912cd79df420ec8498f7e91e5faa2e7410d4df236207fded66eff532 SHA512 864eca508d34f4c329ffd31cd3c169b67dff6d19c6695a85d8190511fa05d85f4a68f12e58c1679f91940ebcd823766e9f60309f2bfba17c985f811a3f342dda
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="An authoring and publishing environment for Emacs"
|
|
||||||
HOMEPAGE="https://www.gnu.org/software/emacs-muse/"
|
|
||||||
SRC_URI="https://github.com/alexott/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+ FDL-1.2+ GPL-2 MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
#IUSE="test"
|
|
||||||
RESTRICT="test" #426546
|
|
||||||
|
|
||||||
#DEPEND="test? ( app-emacs/htmlize )"
|
|
||||||
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -j1
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
elisp-install ${PN} lisp/*.el lisp/*.elc
|
|
||||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
|
||||||
doinfo texi/muse.info
|
|
||||||
dodoc AUTHORS NEWS README ChangeLog*
|
|
||||||
dodoc -r contrib etc examples experimental scripts
|
|
||||||
}
|
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="An authoring and publishing environment for Emacs"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/emacs-muse/"
|
||||||
|
SRC_URI="https://github.com/alexott/${PN}/archive/v${PV}.tar.gz
|
||||||
|
-> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ FDL-1.2+ GPL-2 MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ppc x86"
|
||||||
|
#IUSE="test"
|
||||||
|
RESTRICT="test" #426546
|
||||||
|
|
||||||
|
#DEPEND="test? ( app-emacs/htmlize )"
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
elisp-install "${PN}" lisp/*.el lisp/*.elc
|
||||||
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||||
|
|
||||||
|
doinfo texi/muse.info
|
||||||
|
dodoc AUTHORS NEWS README ChangeLog*
|
||||||
|
dodoc -r contrib etc examples experimental scripts
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="An authoring and publishing environment for Emacs"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/emacs-muse/"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ FDL-1.2+ GPL-2 MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-emacs/htmlize
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog README )
|
||||||
|
ELISP_TEXINFO="texi/${PN}.texi"
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 2023-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
NEED_EMACS=26.1
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="Rudimentary Roam replica with Org-mode"
|
||||||
|
HOMEPAGE="https://github.com/org-roam/org-roam"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-emacs/dash
|
||||||
|
app-emacs/magit
|
||||||
|
app-emacs/emacsql[sqlite]
|
||||||
|
"
|
||||||
|
BDEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
|
||||||
|
elisp-enable-tests buttercup tests
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
mv extensions/*.el . || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
elisp-make-autoload-file
|
||||||
|
elisp_src_install
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue