parent
aede2371b2
commit
7a73dbb09a
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29771 BLAKE2B dd1d41fbab6e254496c013380ba4db45050b4591d57c93f792b8c2d86702f6b970ae72707e5cfe235670cf616db083a818cc1f07af4ebfb423460d11ef73ee27 SHA512 39ad08a1383e7040928ff47c19f2c5cb56859f3d68afee9fab4968070a902d7ad08cfde0f0e162ae00ddae6a0dc4b8af45ce19a2228534df2dd7fe1cab3e5d2c
|
||||
TIMESTAMP 2024-03-14T17:40:18Z
|
||||
MANIFEST Manifest.files.gz 29755 BLAKE2B aa60b8119a478e502c1757913895beb916a1e4eb79c59e6949003fa0bc5b324ff71e59e90963cb29bb81864d4ce829b1737c793deb51d07bc7a3b6bee7501ec2 SHA512 a2a7ee32488c199ec5065a3710ac429080de1e734063814afabf145f344e6c87de0e6b4446f4c1d094b9fb9ff869d58997480ed2fc75603dca0349c8171344aa
|
||||
TIMESTAMP 2024-03-17T20:10:28Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmXzNoJfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmX3TjRfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAZARAAqrhwZyQ+th59SQCuiLb45MWgZQzc/DzxpkrUN/b1DW8cR89GNAt7Xx1g
|
||||
0NZHgQ4NweZhn6BQ8Li+08bLFMeVqwygdVHF86/HttV5QExgwPZlSsOTKNyvMcoT
|
||||
RsnR7tF7He4A8pvIiRXIrkpdsx1TvetP45WzfIh4nk61Ujt5wsB7RDrtfkAysuPf
|
||||
mtTlQUweBN3MbNU6ySLDb6H7WHMzYpg6GMnA7tEL6HkZiaVkRmBWLcnLkJ/41vHT
|
||||
8tlYw2RF+jc0pBUbsISuTykrPnf4T4Bif5SKxuosoJGoZvmFpoCDBAKEogic/y6H
|
||||
jXRepwRv6G8ZRVxX3vsX2e2qJm5r4H5aALwGJscJnZacKYR1X6Gl6H/1Rwnk+3d0
|
||||
xG3NiD51vpki1jZjyZQMPRxLyb6dpZ5hlSXTC/IeTYRXFKyNaOyHOKuEmbDtTcG+
|
||||
SC9PvcSYUpcq1sKNccoPUdbBqiUHYDUSVskk+xlvmzxwMdUmjqTxtI+4BQozCBtq
|
||||
VjLeEdmHYQMQFpLZwA+1dfukoUN5faXBLNITxMPUILgAEOHgh3PY3sopRMwMMLZY
|
||||
8syvAqQmDwp1bezkThXpEFd431MWMZb2g1iOYlU0TlAbJk67aul2QXw+vh51YxAY
|
||||
HuLHR9b5whgfRYQx963NbnNJswc2c/w811Ho3W1xebl/kXvmWcs=
|
||||
=3BLh
|
||||
klCatA//cDtqebds0Ejli9oLn/ByOSPExaxNbI0lIbL1iEHl3HbSDLLflSYVVsWJ
|
||||
dhToos33c7na/9jmbyJNTWImAiUTj9XqH2MqJJoPPWh/vUNlTtSnQAS0v6ApICsN
|
||||
IKgU/GkaqbRldwIckI/5sM/iZnMLobSaFESLXqat7gjKLm6R3z0LyllAm/SIgF8b
|
||||
jokq94HKPOOA/FtQoZQNZR3ndihnLYTuy+dO4otnclnQ50BZqkMs24kojAzx9vsq
|
||||
wrjJXWkYC/VdwuA3wJLleqNGEZdDQy8NUdlAYcrZnZcTxnUJzA6cwe24i+9JaL9o
|
||||
jyBrr2bItuX3/2jPyt0bAoT4WOe+ChRWi6CWPf/AxliQfaBiZb2wKzxZyr1532Z1
|
||||
onoadfA3hoYGAXI4//QGDlgvYStARUA/HuiRft9s8fydcs1YPb9knWKky1HL+hni
|
||||
U23BoOx8UvXe7kZvNlHNOVVqBW7rcwv6ke9LG2Vhd7SgcyAj+J6OM6p8CicDeHhd
|
||||
NAK4uLAjhfKxa1ktQ6xtXbvCykC0RR/sCPzN3q9VrYCqrk3yUuRHM4x81QxzS9vb
|
||||
id9JGV60INlYQPGU6VbO+Beite0R7om3+nK5WOiVFuO0J1cEVEgAyJHIp+pntYsz
|
||||
KXuCE49ksr1oxJ90A4obwUe78hyQ3zbC1nOZVh1+/pBr8A4IY9c=
|
||||
=NtA6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
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
|
||||
EBUILD at-spi2-core-2.50.1.ebuild 2045 BLAKE2B 05759ae495e14d6aa2f33b36bfaea94a548e6752ba7b808e210a14fb3dbc620c2b1fa99538ec20a841ed4c3f7b5afcfd4749cef6bb20146822a1dc83df1be95b SHA512 a449703a4ed5273fad4d2dadf940081b6ff61e0a4b491217e9a8d1742d656d59eaddb86d9a66947a187aef38f1b58f21f64be2339eefd0247ce1406412c36604
|
||||
EBUILD at-spi2-core-2.50.2.ebuild 2053 BLAKE2B 768b10bc27ac9b1bd02e0a6cdae91a50bedafc992a0d8db55ef42c29c589807a239c3ecffdd32eb21fc5109c17ec5a58e4fe6ab3db770f27563761346f627c1c SHA512 446c17b027977dbe6ee6933e8c4f5c08dba49e773bede94bdc71f9f1a6083505c247a23abfd86a8a59e6ba8ad9360aa672d31c0264c902735b92b3b9c140ae2b
|
||||
MISC metadata.xml 468 BLAKE2B f6b51c8c4da2bdff93f41f92cbe94687250f28d9c42c5cdb7de9eef0d1a6e208dd911d443298eb08fc83f8765d0b2c09e30e932d97b3fc1d28861ceae9b1ee6b SHA512 908b6e8c5929143a45cd108fed5b3375dc6f8f98b637a230c0eb0da4a261a8d9655954e1f98dc9967bd79a8c3aece79e1827097a5785494692f7655bcd73f331
|
||||
|
@ -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,13 +1,7 @@
|
||||
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.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.61.gh.tar.gz 2660623 BLAKE2B 2d6783fca1022a83002752c150f45a994c796065becb3fbfe787eedf3bd24064a971d3d2beb808b8ebfacbb9fd761aa3cdf1f13994b5da528cca9211fbd809d0 SHA512 09818b78cabe33cd401e41dde3f71f1c2507f063b5edc55c6dfba61172044af9f901ad60de7289d0210df5dc445707c762db21a99413042a270a2318d6e658a4
|
||||
DIST aws-cli-1.32.62.gh.tar.gz 2670712 BLAKE2B 18da5658b83c009a83691c8c44ae6616699a1f4488fbfbd0e57da9a4b8406532a1e35df0c92d7a1c830cffcc423b7ffabce183fc0a9bda3ccb3e316856ebce8e SHA512 b1112100930452da0af7392cb48e022b80eced3f3cbbe97ac9583b0cf9ec5796cc95243c6c0f1531f46c1fe96be4c2aa348a338e4f968f6d25f362e93a40636e
|
||||
EBUILD awscli-1.32.49.ebuild 3022 BLAKE2B eca1e9b920babafc0c226e1d3c0b23baa63965cffceacc71118d2e4a1302945d10294223300a94f9dec4b39e52c7bd8f44e35cbf7cf30c117f9d86fe93450326 SHA512 11de7ee4880fe2bd192c6c15081b598d4c9d2f18b28064908a855cb01283408542c8981841c531d546b6de9e2b932d2a23e2fe1a9e90030566af6b966c30fd97
|
||||
EBUILD awscli-1.32.54.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
DIST aws-cli-1.32.64.gh.tar.gz 2672156 BLAKE2B 6707984b03e004ed8672b35694c9e4be7d2543c040a64778c0ad43a4e011f07506eb5e3f9791a5b0e23bc5bd222b625daa078f9e42cfbf6d71b7887d675c1a5a SHA512 f39472bb1ad75cbfc4bf775aee9a003a884d7423e10d9ff96f90ebe7dbd97c0db4bbd4d52f1d918372ec880d1dea8f5cf82db31118a7c29973d42149064fd8a3
|
||||
EBUILD awscli-1.32.54.ebuild 3022 BLAKE2B eca1e9b920babafc0c226e1d3c0b23baa63965cffceacc71118d2e4a1302945d10294223300a94f9dec4b39e52c7bd8f44e35cbf7cf30c117f9d86fe93450326 SHA512 11de7ee4880fe2bd192c6c15081b598d4c9d2f18b28064908a855cb01283408542c8981841c531d546b6de9e2b932d2a23e2fe1a9e90030566af6b966c30fd97
|
||||
EBUILD awscli-1.32.59.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
EBUILD awscli-1.32.60.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
EBUILD awscli-1.32.61.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
EBUILD awscli-1.32.62.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
EBUILD awscli-1.32.64.ebuild 3029 BLAKE2B 580c774489759d94cbe5c77316c3afbb84d597198c391cd0ed89722c239fb23a87fc34378bd669e9104fbfaaa75a924c3d73e8df2c52693ba6fc135da827643d SHA512 4a31562305f7156e91d78023ed1f56e74de8fb1555323a5cd63611254daeb7491b8e323d00e38351d9bbc2a751f257290a6bb4bd91638e28f9c45acb8742c809
|
||||
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
|
||||
|
@ -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,6 +1,4 @@
|
||||
DIST perl-cleaner-2.30.tar.bz2 6963 BLAKE2B 8983060c7a904266ac82a67eba7b5d2184803b59c077f947a35d07e9af3046953705d31840b9508116578b8f3e8a8b97d77cf21eeac3b70f1c3fb5c1d71ae64e SHA512 436d26727bbb598bcd3c4f31e6b81e415a797cdba82dccfd55e54ee179bd2d6c1dc443e865f6f0a05b59f47ffd231dd10e55d5ea97a9a6875235ea1b49b68898
|
||||
DIST perl-cleaner-2.31.tar.bz2 6914 BLAKE2B 4b13ae42ab06ad75b6dbcb1306f3f4f476315db4504d0ffbc4c56d4d66a2da3a751d3682305daca6bcbae1861d182f16296c92f9a8d25687e35ab03a6f8734e3 SHA512 c4df0437604d41dbfdce0b72d72f975d464cf0c44f417c708917f01829e498ef8d6b47a78cee517836cac9344791ad49db98f29da5f78599e80b000e41b8127e
|
||||
EBUILD perl-cleaner-2.30-r1.ebuild 1111 BLAKE2B 527a75e277026c76a43ca91572572e6208f551dc72abe16641539a79b7caa5075580aad8235f7cc562279ce248b3338700389fae16c28f473657a1a28e55003c SHA512 54304e071f2862e171c1e374a565dbd9d560a4564684f72f8303476e168b54d4b79cc68c035b67e2f0c373a5a700c617195c4610bfb80d0e238c9043c12c1d55
|
||||
EBUILD perl-cleaner-2.31.ebuild 951 BLAKE2B 235d22ddb436f0d079d4ceb40fcad0b326dfcd7c5030c81d819629bf2b95d34ba96a6ab9e5a0f6ae2fcf0471ab2c6fec7d7cfa2b261ac9809ada56d5a077a460 SHA512 1691c7ecf66ae9ab11f38b351c014e03d236734a8977a199277d2f5e7b4ba6645b55e065c4ccd143904ebc5b7ae177584a4c099b82c5be197b7dd0139a0a6802
|
||||
EBUILD perl-cleaner-9999.ebuild 959 BLAKE2B 3eab4dd3cdb9efafd1b786fb3c24468e9bd8f920fe050985cb55f37e968fc6972b206cb91265e75088cab51751371f7ff1d0a371519900d9504a3a8395be0fe3 SHA512 61baba3623a7bbbbbc4d4e7891379dfc8e7fb8f212fd26e9c61a7dcd3ac3a1a0fe3091719db2c9c8a9dfacdca6d0e11f63f2b17c57a19726f703c4774019320b
|
||||
MISC metadata.xml 509 BLAKE2B 4d80cf3b299ea530173c8295cdd5039e1663772f09ea1d718448843968029e58791565d7e2265e5f653b8260364a92921edab6293ed4b3c914c30aafc6ad8b41 SHA512 98eaef261e37fd9727a5a8ebba9418c2fa77e4f2deec9bee6a405a742ad32e68eb3d7d5e03c4e95a55d025eb72701f1257b539cc61069c410a48516e77e09dfd
|
||||
|
@ -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,4 +1,6 @@
|
||||
AUX testdisk-7.1-backport-ntfs-3g-ioctl-prototype.patch 1268 BLAKE2B 9c57329b3576cef7f23177fe07d45cd49a449b4353a9abd3a3196a9ec2896a05e900b1d7785d087f4587642d786efb36ea655d8b2c35833c8736014fbdad9cfb SHA512 7325ff2d83350512acf2e0b3f2269cdc4a92f775eafeae62c0b337fa4f31dac0c4f56d9ed7397fbd8a29d7679eb259401ca934d48c51438bfc4e3d0e0bcf7e00
|
||||
DIST testdisk-7.1.tar.bz2 742006 BLAKE2B ad67cbef73e502df39cd04537bae9226d043a0f5ed824ed24d5a5ac7c3262060d0c78bfcf38159890ee0c270e1cd7690cbf276eb919e1b4721357fffc8679c61 SHA512 ad6531eec45c1ed8d4a0ce6132692bb609c4c269fbca57f788ce808214e0b00b5fb1187745a859c5da8a3cb8de18b29904792d3246b15cedfa24bf24cbfe3df5
|
||||
DIST testdisk-7.2.tar.bz2 855781 BLAKE2B 224fae052fa9264ee83fdf6804159c77257b9db4c96ff36c7cb1dc184ec4a9f0955f0d817de24ef1e5fe69e7ef1a20c140e73fc130fb092e6df3b02df2845239 SHA512 f99dd1c8f547c3d06e5459ba072438192a49d76c569de7915994beb269645092522d8136a212999382f88ca1d29c50f6482306d47197dc0994d168bcd4141f26
|
||||
EBUILD testdisk-7.1-r2.ebuild 2493 BLAKE2B c356cecde0aca3b623792c28734b7692315bda99bd186f65eb620a17b4116c9314979e747932657086976caf38932746de8493aea44840e060ece38410e6f366 SHA512 abbbe19c071a2faf9075a483eea9625f074f680975a8ddf5e47e93e3080e8b4d5dd5f87ca0062cc9cddb25245ebefe8a939a94560d5cebcea33b8e3121ec2cac
|
||||
MISC metadata.xml 640 BLAKE2B 2c906cdb19a874657ac6f51ea5ec0035b27b0644e73faac95b9234a888a991bc8d9026252a0bf1bd32841295519fe2a966f77101396ca8071dd96c3f742bfd24 SHA512 8996a1f5afaaf7cf18f088d342b717d43316737e92c7b891c63613f9698e4b60bcdc6c65d3d87e4ce4da129b40993e3a60c75544dd5503e9d104d2652460b58c
|
||||
EBUILD testdisk-7.2.ebuild 2722 BLAKE2B 1a6bd0716daa06eaecac1552d9f968cfd8d4c156340c1b5251d25567d32da61c0d532ba688f0eb41c9a91161ad9038fdc8452421a6ffb2575b7c80d0abee3839 SHA512 7ac326be1d9d6d8ac261f578c602ba6a758c39fdb4aeab30359cf037d12474dbb3a8fc8706436e6610fcfe2fa8561b5602343da03f9624e91b5eaf26f0993925
|
||||
MISC metadata.xml 698 BLAKE2B c594b2322501214086fc8505094d104b1cba10338e8e2d1831eaa6e13fa12406b0e7e374dc0c4b72c93b7c10fb4709d39d8790274b5b38ff326d7ea99d42ec70 SHA512 bbd13b1109ddbcbd8c676886c432b8fe5ed276a93de6e829ab8d708c84b8ea50e9846a717b3d9a9b6c5d400971f8d79b049285a1bf999c81e50fb4d820ebc7e4
|
||||
|
@ -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,6 +1,8 @@
|
||||
AUX engrampa-1.26.0-clang16.patch 700 BLAKE2B f737fb50695275afc0e0a148bbfcc72ff33251fd506823d107880883e90a9c28404fc937f7752ee065bc07bcde3507321469b6ee3f0e11e9c6c4912e705aca7c SHA512 c2086e26e65005916cecbb89392eba9090d8a8c02181878735fc7ed05996fe6cf7149bac3fc08cafb63814123620fb7237d1d859007df0ee4490b61ae1581951
|
||||
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
|
||||
EBUILD engrampa-1.26.1.ebuild 1829 BLAKE2B d64ed0661d8ad80e42e8d19a9c3ffd0fc8e0430682c0456bab1563852fa52d0a7d9d6dcc78cf9e2b001bcfbd3877148ca5e364a7fba0c5e4bae22b009f503f23 SHA512 dfdf358bc79e3b88d7e658f17cab44a68f8ac49f30175c3d65d5f8afe6b3f42831cec4b33d9b516fb588a0c11cd0da8d715ad59dc5a573bd6220f4e6ef1a7b6a
|
||||
EBUILD engrampa-1.26.2.ebuild 1831 BLAKE2B 431696ce53469ed156aadde686fd583381507e884d0e3c795b55a6138790f213c30133c05e35b75f13e04028f42ecb3ce81d4b45bbecd9cc49610868fdc4aa4d SHA512 10f574dc9928b03f1917ca76280a94d5816fdd1c38b607e5e8d3daa12d70d1d56a2eb1cce6b9db07fa07aab84051bfb974f37a6039b7e3007ac84d91e8919962
|
||||
EBUILD engrampa-1.27.1.ebuild 1662 BLAKE2B 69ede314312b1ee6b1b8dba8f7862b1bc894a54517cb190ad935f9241f2bb60be9071b42ba8ee0dc13389d2ed5777f3ee6926baef6942e348ccb239d6ac95a5e SHA512 09921d87a4323adbc5a6aa2ae1db1efe059ccf9dc3defc4403546128518170b288b96ac67bc89822f4e8b8ccf24098fca033c7f1ebc0fb10e33d21b39337b557
|
||||
MISC metadata.xml 404 BLAKE2B 19c458f05bf6607dce7651c02aa1c7e55c604630a2a43da0993e4029a14ffb1f99d22b72a8d7f4fe22dab6cd9ecc3584eb4210ff9809f30e54e566a6affac316 SHA512 57b7b2794fc081f83797dcb1aaa495a35083c00af3d99f164c821bcb762aaae627949893c77aff9df0d7aa948e6d28fd22703c8aa61fa7c183665b53ef860e15
|
||||
MISC metadata.xml 626 BLAKE2B ad6ac84c47f81fed05e324662b4855c94275e2cc295b8c37f7736987400c5c45b5c681e155b2b61a4da0463facc159224129a32b2cdc973a7a37036d4d20eefc SHA512 f684de74233dfb5e8f844b480d976d99a49fb0fac4a5e7dc5e714a5ccf05408248a0e3c209bfbb92b55676f374789b13b5228a24c132aa9832311dac61edd2f7
|
||||
|
@ -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,6 +1,9 @@
|
||||
AUX torrentzip-0.9-autoconf-quote.patch 337 BLAKE2B 6d1f630d365eaa9aff9d2c910ad30ad79694906cbb3ec7fccf665a468458d8103a0ebbc4e0d3fed1969e18b92780217fa47ed9a6260c42888f8bc022db15b3a6 SHA512 6ec05d00be36479084005c0938fb3df58b960914496ed149cb7eea9a6b4cb6067f9caa3ae7c835cf3bd79f357e17e18b8fcf80994dc1d550247c32416d71596d
|
||||
AUX torrentzip-1.2-checksum-detection.patch 2001 BLAKE2B 1efdfa1105a2446e6deafc65750505c3115889dcb7567898f8ea358cc8c96b9bbec1ebad20d913b2cc1f8c9ac46f3201bbedfb026493ab7571c234995a89ef7f SHA512 4d949191caed0285596df6dd53b7a86e892f112059e51af6efded5bdadce495b00941a71ae23438e0489a7a8e9795d266b3ba94a70f4b08fb3beb61669586a0e
|
||||
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.3.tar.gz 67297 BLAKE2B c77fd134cfd3ab30f46b66f4b3dd36b899ee6267b17100b1ad15bdf5c6beddaea94fe22d23f1a81de85522768d76401f0192d0deac2ff75edc816510c8069e2c SHA512 c21ed6ac4dacd652e2a67b700741d70dd9da699259bd299ca177c741111f92e70eef0b3ad2ced54b5635780cab2b4c46b3f9c258dfa18bdde24e2718c38339be
|
||||
EBUILD torrentzip-0.9-r1.ebuild 564 BLAKE2B c3b95f46af8c990519039ad89be0c054a6060184f1911cf8945247589b3095dc5af33513f5488f0119db7fe38cd917f54a8b0a1413bb4f8db819b4767dccf050 SHA512 8e503901307d1e9c3cba278f06ed4f03de7c70bec58ba88a8ddb96d00ba4bfe791ec02e31c53335a7b2d6ad94a2a7b7315b84b3a7c8cb472d0134aa776dca9ac
|
||||
EBUILD torrentzip-1.2.ebuild 514 BLAKE2B 069764ad288d6940353e336cce2e665880e95ec11a8e5a9d89a0ebf3cdb956cae932e0edeb9f665f1acb030c900c40bdd10a00d056127cb7ba1b5c0c0253b03c SHA512 58b7f31adbc569de6acc0f87e2a1731a39c3825cbe9efb03f3ce809361e0f22235dd700cb9203af67a74f3fe33ac590dda4541dfec4c02dc01886cf6b078ccba
|
||||
EBUILD torrentzip-1.2-r1.ebuild 571 BLAKE2B ab0db9d4546bc123c64c091c964cffc44c07d532502368002f734b292bc5d28c99d5f4f5c0f62bc41354632da2464f0eec7f483d8e99f5e70d2b0feb834c2c02 SHA512 c7816cdbbdb4cf8825e0ef93a4b8b0fbec0ea0eee56463c9aa551b2829caf3c8ccd7da4ccd12447e0570d0cf9f790d27105384d51f9e6c40d7f2e9acf3e960fb
|
||||
EBUILD torrentzip-1.3.ebuild 898 BLAKE2B 25e352585abcd7fb892bbe68f7aa27418cf630aa835f7558ebef17041ce84498caa942aa600cd61d6ca6ae6e9bac86ce18ab0d7993c4ac35536f71d7b731c0f1 SHA512 a64b14ae805fc20fec077773a9d45fb430e05d566425046cd742a0ad6e9c9c182bfd8de93b13916be01b943a1450d2f3f29f95106afe891aca863b10cfbd15ad
|
||||
MISC metadata.xml 928 BLAKE2B b0a650f0cd81be849f08bd6f078035ae7b56967034b3b9ba534da5d046936f7b27e819dc05ee94b2b8d95ca54ceafb8b521f7121eec0f4d5c4fdd0d8ac141ede SHA512 101e70ac70fdc24294dae2f18057c84e75dd0c776689883ea630f2dcd4ddd2b3da1f7e6643ffc5fd1aed2f5e355aa6700174bca0c16eb1fa84d9f531d7eba064
|
||||
|
@ -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,5 +1,5 @@
|
||||
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
|
||||
EBUILD upx-4.1.0.ebuild 748 BLAKE2B e4562c894bd26240bb21dc4e579aa56c9c6bf27ef1fd00b6c30da6739cea4458a9de9154a7b1bcf5efa4f5fbd01fe595126f48f593ea2c8b336cc1cec84b3343 SHA512 93e947ff8f3794c0e61637e2587dc9acba3ce6f27024c8f1e9729fa4f915eec7467a62a70694c3d23fb2dbc10e9f5f115cbe9831899df2b77ecc8d4fffec15a6
|
||||
EBUILD upx-4.2.1.ebuild 750 BLAKE2B 679a7941fc332863a5f4bd5b1b6ade14949bf889dd4a8bbe65e68ce77b0b838c54ac871316b0d2c09bab15b6ed218bd4c048384783caf7e2aed249b549f88c0d SHA512 04dd6edffe85a210c5dd239c490df03ff2b7e70ab80b64ac6652ab041210e47d8ea6dfcfe66367103aab78e365658238966e4df606e46b78bf0aba070d76e22a
|
||||
EBUILD upx-4.2.2.ebuild 750 BLAKE2B 679a7941fc332863a5f4bd5b1b6ade14949bf889dd4a8bbe65e68ce77b0b838c54ac871316b0d2c09bab15b6ed218bd4c048384783caf7e2aed249b549f88c0d SHA512 04dd6edffe85a210c5dd239c490df03ff2b7e70ab80b64ac6652ab041210e47d8ea6dfcfe66367103aab78e365658238966e4df606e46b78bf0aba070d76e22a
|
||||
MISC metadata.xml 479 BLAKE2B fafbeeb827ba16ec14c3682982e7cbb1ef9264b637086d58aca32a632b1f273f1cc7ede069d61439a498f04e09368e4095829de7dd95b17afafc80f7ceb15695 SHA512 956e31235fec93e773f9bdbe62de739e3994d92b3a56ea97f65db5b20f182f4fbeed62370a28bf98447fddfa89efec4b8b4d63daf9020210810bd8bb201534e4
|
||||
|
@ -1,5 +1,3 @@
|
||||
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
|
||||
EBUILD xarchiver-0.5.4.22.ebuild 1205 BLAKE2B 2a3bf310ed2a81990238c74fe3631fe56f25813b82f39cce59aa83d6646b5e300aee69262ded5645511fafc0e00efcbdb0644d07d55dd893287de76b12006e46 SHA512 bb097cee86c983d78b839c9a0f4412a017b0ccdb2e54724831abd316f6cac2d34bbf62219e8f82eafa103946046903909e8c8c33d283c225d35832e38fa3ff6a
|
||||
EBUILD xarchiver-0.5.4.23.ebuild 1211 BLAKE2B 13a3147789ceeffcebec8a2ac9d0b07380effa28fe6ebc69dce3af9c34d9c417d8cc7b7f0be0cbb22e633a9ea8b84c128d34d0c44c679ae7eb81266b3bff6909 SHA512 d408eb35c239954eb208edd0a62dda2ec9a4cbc6f75dfd42d756ebd2d3ce84299494e164211caa64f8d82023331a80d70ad3d5e4f90a52fd49b5e902e604c1e7
|
||||
EBUILD xarchiver-0.5.4.23.ebuild 1205 BLAKE2B 2a3bf310ed2a81990238c74fe3631fe56f25813b82f39cce59aa83d6646b5e300aee69262ded5645511fafc0e00efcbdb0644d07d55dd893287de76b12006e46 SHA512 bb097cee86c983d78b839c9a0f4412a017b0ccdb2e54724831abd316f6cac2d34bbf62219e8f82eafa103946046903909e8c8c33d283c225d35832e38fa3ff6a
|
||||
MISC metadata.xml 448 BLAKE2B 5eb8d55f09ade402a421e0a40bdcea04b72fb284c6a705c03be6454e7862253344d5c8e91adc37510759745eccfe68ccd4945192e7a24beae0ad881b04f68337 SHA512 240dc27cb546ec70d0b85db8d9b8c77a38ca4773389caaaba3bc52e9dc823803c330d5a83213c6ec6a6cf3a56ffb8eb09692c446df7af42f3ecf844cbd6b13a4
|
||||
|
@ -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,16 +1,11 @@
|
||||
AUX xz-utils-5.6.0-ifunc-crc-workaround.patch 1031 BLAKE2B dbdb9d42837c6e9ee6f6744bf4c8a3f71e94c4e6260ca84d7113a0d02d66f0b4372000ae56a4e1b645926672cde9172b26746915591d7440975c97c0c9f4288b SHA512 150d1b9cf979a109ec227b906597f60adaaecc82a676b3cd3c2371005ea756a49d25699cb765c964d012b6c984ef042b8950736867a80a6872c1adf15ca03e52
|
||||
AUX xz-utils-5.6.0-logging-verbosity-threads-auto.patch 1817 BLAKE2B b89b18c9a736567c93851773b24b3c90f9de923d9b61dcbad65030b8b22619f9b6ce6bbff4e025349f5e9913c9be45fc58cdafb53ac1f4a3e3ecf1c5f135d5c9 SHA512 d11b64e2faa7220b422e89694e11caa9b5b887a512ba6a386af223d777df6944cde75e4a25007787c2daaa217249d6c119ee257539c6138b3a49aa060e6dbac5
|
||||
DIST xz-5.4.5.tar.gz 2884510 BLAKE2B 647c8227080a7f37e3321e778d7f52ccb9da3810f2be81b2d2b46001605b22cef6e724f9b3facfada26a12b24401c9a11449d6066443849b37b28e0eaa199315 SHA512 91f8f548c915de0ed79cee13ce0336b51c1cebf2eb142fa1efecfd07771c662c99cad3730540fcb712057ab274130e13b87960f6b4c62f0bd9477f27a303fb2b
|
||||
DIST xz-5.4.5.tar.gz.sig 566 BLAKE2B c6ec64f92ecb30395e6d580be5d0aad1ee007585245ed42e7b05f1ea3a8cd8bf4317e8dc964c65417daa0a04e8f523c6ba8ae61a7f5b2ff3dc17dd53c7593ce2 SHA512 4f2c779d3c14bacd0451cfd68846201a48931128994c4119fcbf4f0dd7331710c32098039d38561de29327d543d67174fddbb6a83cb2fcfda9b3153cab092d4d
|
||||
DIST xz-5.4.6.tar.gz 2889306 BLAKE2B f0bbd33ea7cd64d475c3501f6e76080c8c0080e377f23462f5f76459935f4e621538ddaa8452d2feaed278d62a596e38ed2aca18ed9e76512c4ec77fa2f4cc5f SHA512 b08a61d8d478d3b4675cb1ddacdbbd98dc6941a55bcdd81a28679e54e9367d3a595fa123ac97874a17da571c1b712e2a3e901c2737099a9d268616a1ba3de497
|
||||
DIST xz-5.4.6.tar.gz.sig 566 BLAKE2B 808f1b5e2a17729f36a05ba88a9c00210cda2afa02923e6f289d13dc2a48f7674cafec6e25660e142d67f01dd941c7390cee2757b054df3a3193dde0791363a1 SHA512 d5e32b944e7492a32c40f675d918796e077f63490a23c6fce5c4d6d1eebc443f129d27a2e888913c5a36c3ffdac75b9c96c1749402283445e0ba9ff72b965741
|
||||
DIST xz-5.6.0.tar.gz 3036813 BLAKE2B 7b7ed5da5711fee6e53af1c72a6f4aff569d7cf986bca8cd3f3104cbb73342e81306295903a8660476d228344eb17d08e2a005230c06ac7e3d9e27bbaba0e075 SHA512 1ef3cd3607818314e55b28c20263a9088d4b6e5362a45fbd37c17e799e26b4a7579928b99925ffe71e7804b0db2f65936f66a825bac9b23b7b0664f902925de8
|
||||
DIST xz-5.6.0.tar.gz.sig 566 BLAKE2B 6c073c620b03751fcb40f47612acf96bee67f9dd5c38aa8ccd1f140cf3183ba009b60496fe319c14d9a32bd6cc6563f142d1716d9ae1e0554f77114dc9fc8f21 SHA512 2800c3f440b6b17b61c418e12945f136535cc5a59069be2ee0de37e312e9ad16a29338152990eeb22ebe6cc3513679bdc40336cfa089a279d3b3476ac9d13ed0
|
||||
DIST xz-5.6.1.tar.gz 3045434 BLAKE2B b3fc3140c9655e812a03800a5ed8ac709aaafaee2ce5d3a62defdd085e643fa639de44beb64833160f4eb12829ad25b96d9f50a8c3d56d79cd5bbef71b9009b2 SHA512 8af100eb83288f032e4813be2bf8de7d733c8761f77f078776c1391709241ad8fe3192d107664786e2543677915c5eeb3fe7add5c53b48b50c10a9de7c9f4fda
|
||||
DIST xz-5.6.1.tar.gz.sig 566 BLAKE2B d515e60da078e6cb79a2c7a9daa3c8326487d7e8c0f1398d6059c53493232c3a3c21174dab5904833d0938a59fdb02f86aab05767d8cf02f8ee53981d3767fae SHA512 73f50ff5ce7f9d0a3bed1bc7d9e26de2217915517d2057f0c7102374eb20de1bb8b02a2f78680aae80b55913b2ede5141a118c51a2f565c6eba6ae8406474938
|
||||
EBUILD xz-utils-5.4.5.ebuild 3955 BLAKE2B a0b903cd6906fb604362fcc9e8aa44249946baac062438b3fd8a1901bb5fdf18d789eb1ac073894b047726849d75a6e8e48d0f955f5b22527339b780e1cfed5f SHA512 2ff0ca2035261185db82c72117bfb0ad3c5bc9dc957bf8625076def51d5010f491a76ae161084fdd2b50536882be49565c3f1185d001299dde456cedcc77d3ee
|
||||
EBUILD xz-utils-5.4.6-r1.ebuild 3883 BLAKE2B 1b0135a044fd04355d4553aad1e7438d1cd70a344765d68168522d3216f58710054918cbad5717fcb76afa20bb01c988703c4d3483fd45f9f7edeeb50ec666f5 SHA512 b07814d9fc068d6851f1718a542407e646780c3bdc35fabb134f7f555b25a63b4e4bcdb99d07bacb8b589907f101c3358f634e300f80ce9704484b929cf4a8d3
|
||||
EBUILD xz-utils-5.6.0-r1.ebuild 4095 BLAKE2B e59343fd126228e8d39f5171e95b417e2d9ec8a4b30328fc277e488a12d8262a23f559442721e9d316f60e384016a16bbdc93434f48c9cb90fa3ca96cc24c17a SHA512 ebf6449dba3e962f003aa7258c0510c468fe64ec1a24be2643fe12f9175bf7827ff740b65a86c136eedbe96195728cb6622c0a9d70e23a125a671796b9d1074a
|
||||
EBUILD xz-utils-5.6.1.ebuild 3971 BLAKE2B 5c7dc315303de12ac9b5046252dbab561911fc0a4b1d002bf2a6bb3cd0fac6494efabafb3ce65a98cd119da28ce2b4155ac2af0f73e6fea34612e46b1fec553d SHA512 caa0d3dd146f47b0b142009a07d05751d4a430810a0a60d12a76c49c0c0498b053af3b0342c11c91bfc8159fd5e2678b3223e8a5bda4f6ba1559c32bea249dd3
|
||||
EBUILD xz-utils-9999.ebuild 3971 BLAKE2B 5c7dc315303de12ac9b5046252dbab561911fc0a4b1d002bf2a6bb3cd0fac6494efabafb3ce65a98cd119da28ce2b4155ac2af0f73e6fea34612e46b1fec553d SHA512 caa0d3dd146f47b0b142009a07d05751d4a430810a0a60d12a76c49c0c0498b053af3b0342c11c91bfc8159fd5e2678b3223e8a5bda4f6ba1559c32bea249dd3
|
||||
MISC metadata.xml 748 BLAKE2B fe48d0e6b5aac2c843670597f0daa0202af709c27fe81889da8e4ef6877e35b30009b72831bc737b1078954b6494b508fa1b59305fdaf795db8801d20d9a0638 SHA512 6e64f0053489389818430808acb32cc1d3b33013978adf4952fbf57ab555e0710a106623ac1eb67405f1dd91c33397c5c70bddc9c5015878f280266b29b4e189
|
||||
|
@ -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.
@ -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
|
||||
}
|
@ -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.
@ -1,4 +1,6 @@
|
||||
AUX pkcrack-1.2.2-build.patch 2539 BLAKE2B 54ce5effd250832aaf04977b4baa9a212cc80cf1fb4b50a7629314a7e716c2ced9a758f20631c0c783e25611ece51d19048880b9f63790140a8914a9661f1214 SHA512 48b71bc2d5aa850603eb1872c200465e655fcb527323ebc9d1728311fcf9fa15722f7b80a6809c7960ec0f4fcf3d4e65561880f61feb4dcbe35dedf15c198f20
|
||||
AUX pkcrack-1.2.2-gcc14-build.patch 361 BLAKE2B 0e358e97ea4358735a851218bbf2c1d89987f020b13189e0f71cb0a0f512a1b998b7d833d269b0f6ed90c3fc3ab88aacf5b3b6ebe7b638e45a6f2e0365f78433 SHA512 28ad5b3b0d5b0d69192998c32da8c69808b35ead5bf0f35601a40c9199daf1ec6637a0041e5a45bef7cbb2c207ad555e8a45c97a64b6a091d58e5200397edf78
|
||||
DIST pkcrack-1.2.2.tar.gz 174208 BLAKE2B fed476a9d681bb9e565d05ef636f58d6643c4f8897725c56b66e64123e9435f9bf28e550f0249794e81e9f968683ab81c19baa1ee51478e1b91509e8e318725a SHA512 5c64fb9ae09dedc70fb20cd689f432059fcd64f689072b529b4045c3241760fee273ee921da081bc08be2e0594d27101c5d89d99cb2b84e16f80c011419b7200
|
||||
EBUILD pkcrack-1.2.2-r1.ebuild 1077 BLAKE2B 3ec1a3eac544c67659276c412dfe9311643aa1f6d6c8489413ea4beb0d226e2cec08834a0de1e9daee0a96be7e5ff8717c0cf4ebabff4489f50a75aefbb1077b SHA512 2d18e8fe2dac4a843ce79de13669d378bb535e773245369c39cf9d99396ccfd37d152a83b44bcd622534ff6ce4fc504c28ce0f01773b6479cf9cc95dae54e3cb
|
||||
EBUILD pkcrack-1.2.2-r2.ebuild 1137 BLAKE2B d3d518f5d8a25cbfd65b71962527fffa8f3ad2d6cd1a0169d6fdb4a05db860efa3b43d5d663ba7ab75b7ff8cb8e32d735860a2cda0f61d746cfc883a924f24d0 SHA512 2986c8ad1b95afc37650b4ea7a01d323859ffef777de71ef2b29db093b320b5d2dc236fe60be41540ef3520b26d4f4a78052f14dfc4cd806caaf7a4e51e500e5
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -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"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST princeprocessor-0.22.tar.gz 38829 BLAKE2B 396a3b12bd390dca80f8d054e8e0c04c70d0bc1cb4f957d53f9f7f4a8aaa87edc1499cde20e01dfa288ba8212403e87e2c6180f1cee3da4825938d08cb2da1df SHA512 8b73867b3f8a83601cde9d6d17e917d0ba468873eda8c47e3c4de7a0511fe35bedb44c68897df9fcc48b1737c1f2c026117e9398f5ff4202611a001fe33990df
|
||||
EBUILD princeprocessor-0.22-r1.ebuild 703 BLAKE2B 4bfebb9d3f8c4520f4f1c66e438f584f99342abc62b29f3b8d3d8f5e53d52389358b838db67607e087d8fe26d27ba3905e30b81f2e871b419e01791def3012bc SHA512 e8c0bd89a303710340d5e15069554f1e28d856dc69df282e67b7c554ff91753cc4251642aec71ebf006fb535b15cc8208571571c90a0c77a7a62bd691a3ac17b
|
||||
EBUILD princeprocessor-0.22.ebuild 641 BLAKE2B 96a733383376d6c0c1a2bcdc34c7e043ba137d47d9bbdc8bd5209ba20a5723695b2ad383497e0c648ba0620d734be79c01518ea64f307924ac206b0bb0bcc08a SHA512 ed9da36263e423110eb06b57d8014de753b9753ecb5877e8ba900607fde564f015f8e1f2c1bab47d3118c9422543af882fe376356856498c6de9588546703b31
|
||||
MISC metadata.xml 336 BLAKE2B f7e026555e64cefd98f476b0d3978e7d219c7cb726a5852a51d3bd80591c7d862c6824aea1e8f46fcc7d4edb373c6249031708602a756a773e95afd690db472a SHA512 dcf0e150b0fa4aa6ebe6500bcd3723bd09c6044f5787a19fe3e713bd8ece731dae8f7aa3614194592142642e70548596e08cbf4f4deb92f2cb6cd9ce5bfb54af
|
||||
|
@ -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
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX tpm2-openssl-1.1.1-build-Fix-undefined-references-when-using-slibtool.patch 975 BLAKE2B 6a7b744513e026cbcc916543d3aa17300a63185eb112c3f1afb1eb4ffb0a02554c18759106c0c7d82efab9bc7b8c9e9f8809f06959edf763d6b38458416d160e SHA512 a4bc43d08f4cd70ba39a3396351894454edbb4ef284344a3184c8538685b15d85a8554619077d03d694e1355dcac5ab57976531f47158f5d2575c5bf7207e966
|
||||
AUX tpm2-openssl-1.2.0-Makefile-add-run-with-simulator-to-extra-dists.patch 800 BLAKE2B 8e7795ec80c60308e1c2f4a20ff1fb41cada0479a0a5fc6ad393d066174460e9088728f535b4b5cff1cb57392f3eef683639255e8684274b346632db42d9f6e8 SHA512 946891b571d109272a8c82efd985cac4071ef97cd5be7109cc14652a1e92b27f05d4df0cab27ab2ac7bf0cd54181ae9b480123dbc97c6ab0c6400d33f7c4bd30
|
||||
AUX tpm2-openssl-1.2.0-tests-run-with-simulator-in-container.patch 3843 BLAKE2B 12447aa593fed49b360b6a6f51d53c363b5034f434fb9a8ae5099d13199a11b2359b79ed6a5d8af41a4ca98d77426ca652b72b322dbc7e830dfd722ed5c43b25 SHA512 1b26c5aef886cbfebd012088ecec6782d7abb63ef2dde27cd21fce0982c8394445686e08efc6760a4b0217bfb45560aa6594c242f61bb59fd35706110cc7cae1
|
||||
DIST tpm2-openssl-1.2.0.tar.gz 424967 BLAKE2B 9bcdc47b2eb94329caace24f10e8c234cdd92250ee7fdd4f6156c278328c0103a2285234e64f48f951f5e1b77e72341eb129ee996e628641a4032849fe5a62ce SHA512 4a12c83a0687768cd972a8d7e544f4bba2debcd24d7da2d2ee9adb097d1565bb1d69d1c448edff05f040b95700847293a8e33bfe92f43e536d13bc734ded1e1d
|
||||
EBUILD tpm2-openssl-1.2.0.ebuild 2368 BLAKE2B 70e40eafa27deb789df273f38679cf960f7fbb1e547819a31054c97c64598a0383b49b1efb8b3c9d0929c9026e82bbab38768c2617e8771695dc030c68703616 SHA512 52789fca0b21937fd09e7003c6bd4f99c5188ee8af65dcc9190fb7d582a40f146e9e92e5f4209cd2a79fae2123c23375d14742c945a8fc266b0e6f001b86beb9
|
||||
EBUILD tpm2-openssl-1.2.0.ebuild 1083 BLAKE2B 7fcacbfd8cfe0569513244b5084897d9566027f00132f44a98370da2b3ac90424eafc089c31404b98a30fa375238a908b97d183469ad2e94946245647a0c6d0f SHA512 493e5735afb7b29c1b5ae5ad4af17d99f0d1ee15d269b2dec54bd490f810af73f0bd443056b2af2dbefd5127667ca456e87bd719e822011f36414253203d0c34
|
||||
MISC metadata.xml 495 BLAKE2B 2859f35839200edede18d42a8c1e04c3eb2a8983e35a6aa73352d20f5f1a9b8e2685091ab6c121442bbc23ef232ab701cfe1e5eb2f1e2fbd8c3fa1cafd51b749 SHA512 cf93a17e4ef6cf8e9294fadd0b7a33ccf21196bf648f1239a99cb0d8675c130e7e5ab7990b9a292f0814072ee3d234085d92e250f72b86ad854d81a68a642879
|
||||
|
@ -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.
@ -1,4 +1,4 @@
|
||||
DIST myspell-pt-br-3.2.0-thes.oxt 4561516 BLAKE2B 5016f8ffdb64ae3d6545fd723b502c6bccf6d95f88faa8f1ff41c32033046b25ff00e56bf09eeb70fa03ce5bcfd86a75b5602eaa9219f01495a7171861c7bf67 SHA512 194e8b547ca65a1b7d3c8fbffe6674f539e116840dc546e3ebba03a58d67d6ae649d0387f1addcc05e8df1a80f7941b036580acaa984df016b1ba55c7597a260
|
||||
DIST veroptbrv320aoc.oxt 2065441 BLAKE2B 91f8d059132364b96980f6310ad2b1830624138dee68334b1a2f5848103ce305697a07777b4b571cbeeb0b3abc142a19a5a5d0facca268181c2db7e1603e3003 SHA512 217d25ecc532c4b3386593cea4d430094ec4badb81e12648d3ca87a7f2e29243a94028a1287ff50db4532c6e1a33e52a0839fd0d45ae8c167bc89df940209b14
|
||||
EBUILD myspell-pt-br-3.2.0.ebuild 695 BLAKE2B e17c2ff52e3066d29a320bc352fa728622ca65b8b33a9627efc81f548888f5d7f9710a6f528afce42a5173242d547e145cbb1d9d93adbc70f6dd48d6bcc7e650 SHA512 eadc2597eb8fd1a6071769df8b4cd7685e48546953a504cab58f9b95ae35954b6d402ba8b6b5525fcf636996277d3964188b8763138934d818231b369cf71499
|
||||
EBUILD myspell-pt-br-3.2.0.ebuild 664 BLAKE2B 44cdde514d54eeea6a1908fd0536504da75e7444271551ce7e44f08700ebe071af0294640c64e7d34a51ed8e26fb2f1f5a2383e8df4acce7c389fb76902b4cdb SHA512 36d8479c8d4455269ddd226910192f30445432a6efea8983447de3e46662ef77a1ec03c1f3244c913effbe487dd609f422ac23c0570a52e92cb6807a36054d63
|
||||
MISC metadata.xml 192 BLAKE2B fef49cb9e1dda8063c379e650d4897670410d2c0641f469b8a200d5e7ec8d3f505e692277d03b583790cb1340ece9c2e8f7e7c9ff5080d42a2e0ef3fc7138a44 SHA512 bece454b8da734c7a28ce25f8080b3fca56332e57cde854c50f0b884ba3836f1af7782a1ee9f63e6aeff4830e2bca71c5c466471fc82eee75339565aab6495d5
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST cantera-docs-2.6.0.tar.xz 5561604 BLAKE2B 3fab71497584e7be6b025daaedb9cdf87c837a2476206882016894e9af9dc719dc99f5b428beb836df1b83c1db6c8bffad6abf480a4e71e3756985c70f4362d6 SHA512 d9273396cbc7638ed2ab9ce754fe75cd7993a00884c3c988fa007527842913696a97b796cc5dd57f5657813c339ad61ad1ffcdaf7384a667eee97d70cae441bc
|
||||
EBUILD cantera-docs-2.6.0.ebuild 805 BLAKE2B d6d1b1f507e20bbe2bad84143712a385a4714bf217be74c27863051db900b637243dd3d5cc27f53c714a49176defe61c151d8690fe52db57515e16098485b863 SHA512 1d1553126a667240c55165339d79a6336d6f93c7dfa35c8453b134b452356f6e5f628df82a8078825062337290c240c1a72b26b2c47245762c1b75e610d3469b
|
||||
MISC metadata.xml 626 BLAKE2B 3f0a9ca7fe4e529ff99936e11e13213a5ad0f0b5d6ae45092e9f1485219d8922dcd35fcc6d12667bc017fde25afe9e2fadde9a96dcc64b061c24d2a5298a9eb8 SHA512 0781b1b58aeae87268cec40ec0002b96fbd2ce22c867eb1e7541190548732de3343d88d33a05a407e87805d08f3e04955d300280f2771140414a40348461ce72
|
||||
DIST cantera-docs-3.0.0.tar.xz 6397512 BLAKE2B 086c81acf7a26c6ef429c37873b176cfb73168e03bb445120184008b9a92eeaf1eeb7bfbea7acce8c9741e5eababf7e10ed7cb0d2f239f4a73a77f52a8488b7a SHA512 57870ff1adf433c83f713541321b9742bb9881d5dbb3429c161ed7cf84bad9ccf9ec8ed725c6672dc449e4041144a82dc3ae443f757bcdbd14b297801e9fe5b9
|
||||
EBUILD cantera-docs-2.6.0.ebuild 797 BLAKE2B fe100832a4893c81e5a2af3ee0fed9ba0d88dd1ff968138b55f90ab8c6a86c48f42d85c9bbc1f12210d7396846dc167d48a573f986aa4a433543c0aa8c709ed1 SHA512 57487b127b03c234b3e131fbf7a11f7e9a3f203a637d475e0e8387a2a70f196e9f3e0025e03f869760dde676c062464942659d9ee9dc692a3c7f147b49aaeff1
|
||||
EBUILD cantera-docs-3.0.0.ebuild 798 BLAKE2B 2812c47b258beaeca883a5089854f389bf4d0601fa5d816f84bb9c639dfbf185e3d8fa5b61f164e4d203c4b8b49aa9bf8ee720727801c38ffa15fd7d94bab59c SHA512 4dc04fd4d73add9d8f1caeb96f74e0b7773a5f9639781419537c69599760b3ba74a3e3158f4584713a0b0de3d87c24aa1344fd88c2ab6ded6b05df33b4cd28fc
|
||||
MISC metadata.xml 722 BLAKE2B 4744bf9a9f94bb5105b962c0af3aaed9cc1d807e85cf9cf5131349ddc21ced76cec336bd8edda5ef7c0453f1298b47a69d2d6b489eea9a7322928f0e03312cc8 SHA512 1130e141df26cd84b74298782badb85c8c05d89d6c47d4537cd7534254d1bff765d03009e896e976359d23661d0702597e6cac54764fd3bb2e961e7b22270375
|
||||
|
@ -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.
@ -1,4 +1,5 @@
|
||||
AUX kile-2.9.93_p20221123-cmake.patch 747 BLAKE2B 51be48cd5f78a9385daa2ddd50a7f1b2e6c6ebd42e11d355e9b0e874260c41b00762e62aa50fca5290c48a5ee97f2a4e59b598ef8669964c92b522ecca380219 SHA512 a496ace8de21c4fc208a243ededf61f6931096dba58320f6b3cd60def52b929e57d53b5aee1781951420bbb5e097059b6bb7413e11f151f04aa9f909cb2e7bf4
|
||||
AUX kile-2.9.93_p20221123-okularpart.patch 1975 BLAKE2B fe97bf884139ac0446251dbde36de4c57692cec22ff1c2e3db8adc0527fed5f5dad661a8444076b9f29b21877c83bba08fa03fdd7bb19bfc016c931e7e66c6fc SHA512 5514af938dbaace32fe314dd14a1f725082dce549e2417087a9f8e83309236733d8f828231dac3b7dc91e540ee9eb3676710ce3ba121418a7476ee1b43a2cfcd
|
||||
DIST kile-2.9.93_p20221123-1ca67389.tar.gz 9507069 BLAKE2B 61770aeafe6604b8a45ae9e49fc79a375815fce5e11a189aef962172f60d0182984f6908a626cb95b493f1fe894958ec0816420096a12efbd03233114e0a5dcc SHA512 ed16cfb7cee3d08ad21fabecd5536981c68431261c02f66cc979f5f01229fa33c192c33f5d1ef78d61c37e643ab313eb432fd580aea61f5a918d3de76d2dcadc
|
||||
EBUILD kile-2.9.93_p20221123-r1.ebuild 1639 BLAKE2B 638ed3d86d379389c4b3066802e24546e69bdd2ec13afc694571766b21e8aa37b2bd5866dfd160eac8c3d28f54d3536f91f2db28a3b36d637f082745d1f89d7e SHA512 08738f4c554b936c9462b475548ed173d6e975369f54ca4c73dd4ad82309b22efb404304eb9d64a378ff95b5a6c03db867a1909bbb023c59626a53fd200ebd6f
|
||||
EBUILD kile-2.9.93_p20221123-r1.ebuild 1772 BLAKE2B 8519ba58dc5082515c4bb8e934e9f7ea64bdf918c16fc4e513e71e802890abf9316c909b13dc6d1ea108742240de1d8b9932931ae9d15d2507cea91e97e12c9c SHA512 faebd0de543f88d7f64cbda4d17a62f4458934fa1405716e12403863b67889761bf5d220b61dc95ee4a7b0759e2a0f0b0385316e0ecdec44ccd72158bb0fa8d0
|
||||
MISC metadata.xml 532 BLAKE2B 5d7e0d1e146f7815818d50b603fab35f5a675c61f6843f6331ce3aaae00d0e88edde34054ade0ecdaa8affd75c1145f0c59e209b949d6add3cc373c72f85282a SHA512 00e3807ff59a3333cad3cdaefe8c9504ca4a09d7065c81f9e08e685edc27395e5c06e6620ec447cbe5d1a7b71dae7bbb25b6ec2dd5c33fc48d0627e3423f4c7f
|
||||
|
@ -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,
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue