parent
4f83af761e
commit
4b213f51bb
Binary file not shown.
Binary file not shown.
@ -1,22 +0,0 @@
|
|||||||
https://github.com/hercules-team/augeas/pull/791
|
|
||||||
|
|
||||||
From 46ecd3542820604603ab4f046f9fb3e6195f60aa Mon Sep 17 00:00:00 2001
|
|
||||||
From: Dimitry Andric <dimitry@andric.com>
|
|
||||||
Date: Thu, 8 Dec 2022 13:08:53 +0100
|
|
||||||
Subject: [PATCH] Only use GNU specific strerror_r() API when __GLIBC__ is
|
|
||||||
defined.
|
|
||||||
|
|
||||||
--- a/src/internal.c
|
|
||||||
+++ b/src/internal.c
|
|
||||||
@@ -431,8 +431,8 @@ char *cleanpath(char *path) {
|
|
||||||
|
|
||||||
const char *xstrerror(int errnum, char *buf, size_t len) {
|
|
||||||
#ifdef HAVE_STRERROR_R
|
|
||||||
-# ifdef __USE_GNU
|
|
||||||
- /* Annoying linux specific API contract */
|
|
||||||
+# if defined(__USE_GNU) && defined(__GLIBC__)
|
|
||||||
+ /* Annoying GNU specific API contract */
|
|
||||||
return strerror_r(errnum, buf, len);
|
|
||||||
# else
|
|
||||||
strerror_r(errnum, buf, len);
|
|
||||||
|
|
@ -0,0 +1,85 @@
|
|||||||
|
# Copyright 1999-2023 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 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~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.7.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# broken xdist (signal() works only in main thread)
|
||||||
|
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_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/test_compat.py::TestIgnoreUserSignals
|
||||||
|
tests/unit/test_help.py::TestHelpPager::test_can_handle_ctrl_c
|
||||||
|
tests/unit/test_help.py::TestHelpPager::test_can_render_contents
|
||||||
|
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignore
|
||||||
|
)
|
||||||
|
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
PARENT_PN="certbot"
|
||||||
|
PARENT_P="${PARENT_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||||
|
EGIT_SUBMODULES=()
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||||
|
-> ${PARENT_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="An implementation of the ACME protocol"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/certbot/certbot
|
||||||
|
https://letsencrypt.org/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PARENT_P}/${PN}"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
# The requirement is really 17.5.0 but easier to require latest stable >= 23.1.1
|
||||||
|
# to avoid broken 23.1.0.
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/chardet[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/cryptography-3.2.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyopenssl-23.1.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||||
|
DIST certbot-2.7.0.gh.tar.gz 1336481 BLAKE2B 224f26819ee55b99a26540e7f56a8466c806d08149cce511d28d77ce9f5fb8073ec65e6cfa3e0c168ca84ddcbf85478ff335b84feaadee66db6c5a811be202be SHA512 1e1defcd143f804a36b50e3104d239bf20873545474ceb654269a5879e15cfbb76a18bd569f5e6e12de1036779e72c74d9896707daabc314fc5d67acc1c5180d
|
||||||
|
Binary file not shown.
@ -1,14 +0,0 @@
|
|||||||
Don't install test files
|
|
||||||
https://bugs.gentoo.org/886031
|
|
||||||
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -40,7 +40,7 @@ setuptools.setup(name = "volatility3",
|
|
||||||
'': ['development', 'development.*'],
|
|
||||||
'development': ['*']
|
|
||||||
},
|
|
||||||
- packages = setuptools.find_namespace_packages(exclude = ["development", "development.*"]),
|
|
||||||
+ packages = setuptools.find_namespace_packages(exclude = ["development", "development.*", "test", "test.*"]),
|
|
||||||
entry_points = {
|
|
||||||
'console_scripts': [
|
|
||||||
'vol = volatility3.cli:main',
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST yara-4.3.1.tar.gz 2179177 BLAKE2B 071bd2201653b094f828a5ea1ca2dd08fb0e3e8ea0439784bd949fc9ebfeb3c1aa9408581c8808d2d648d988c3aaab676d61605b53446efa12d838898b7ffe16 SHA512 93a2243d54397e76175fa0106451965b7f3a1f1918307c2bae6193f3725b69f60f70c3901a12c1690368f5b37e973a65c63a299624a521d204b12b48d5efe496
|
|
||||||
DIST yara-4.3.2.tar.gz 2179265 BLAKE2B cfcc18dbd4c69f5f640ef755a8d4efe5f7ec8e313153955644fbd2adc03d1c73cddc042e95c0c0629fd58780922eb3dc1c72a5ca1bd9ff767a9e3f41f1652c98 SHA512 dc77ec46a30ca2fff33b639166fc554c9c6d9e955642774e23da3ea7dbb25fe154cfd4ef83c9808920193028b9099258a63b3f1b9a66864a1f3905f0a8e8053f
|
DIST yara-4.3.2.tar.gz 2179265 BLAKE2B cfcc18dbd4c69f5f640ef755a8d4efe5f7ec8e313153955644fbd2adc03d1c73cddc042e95c0c0629fd58780922eb3dc1c72a5ca1bd9ff767a9e3f41f1652c98 SHA512 dc77ec46a30ca2fff33b639166fc554c9c6d9e955642774e23da3ea7dbb25fe154cfd4ef83c9808920193028b9099258a63b3f1b9a66864a1f3905f0a8e8053f
|
||||||
DIST yara-4.4.0.tar.gz 2220068 BLAKE2B f9654592f3dbe493dc31bcda80c9f0e31a2a8998f47d1172afe7456a9d4ead8f475e3f0999140c952343cdeca1cedc8060a3b42c1bbe57ce617fd5b5a86dbfb3 SHA512 705db57b73e5165a26e0aaea728521f372b9f7f613665860dd22066c30e75a614815fb17ee8654780fcfc157f0137cbeda015ec088a698f31adcf071e233205f
|
DIST yara-4.4.0.tar.gz 2220068 BLAKE2B f9654592f3dbe493dc31bcda80c9f0e31a2a8998f47d1172afe7456a9d4ead8f475e3f0999140c952343cdeca1cedc8060a3b42c1bbe57ce617fd5b5a86dbfb3 SHA512 705db57b73e5165a26e0aaea728521f372b9f7f613665860dd22066c30e75a614815fb17ee8654780fcfc157f0137cbeda015ec088a698f31adcf071e233205f
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
DESCRIPTION="A malware identification and classification tool"
|
|
||||||
HOMEPAGE="https://virustotal.github.io/yara/"
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/VirusTotal/yara.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/virustotal/yara/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${PV/_/-}"
|
|
||||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0/8"
|
|
||||||
IUSE="+dex +dotnet +cuckoo +macho +magic profiling python test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/openssl:=
|
|
||||||
cuckoo? ( dev-libs/jansson:= )
|
|
||||||
magic? ( sys-apps/file:= )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
PDEPEND="python? ( =dev-python/yara-python-$(ver_cut 1)* )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable profiling) \
|
|
||||||
$(use_enable cuckoo) \
|
|
||||||
$(use_enable magic) \
|
|
||||||
$(use_enable dotnet) \
|
|
||||||
$(use_enable macho) \
|
|
||||||
$(use_enable dex) \
|
|
||||||
$(use_enable test static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# TODO: Allow tests to work against dyn. lib rather than building
|
|
||||||
# statically just for tests.
|
|
||||||
find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,409 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# NOTICE: Before packaging we have to run "ResGen" and "GetDependencies".
|
||||||
|
# See: https://git.alpinelinux.org/aports/tree/community/powershell/APKBUILD
|
||||||
|
# The repackaged tarball contains the C# code generated by that subproject.
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
MY_PN=PowerShell
|
||||||
|
|
||||||
|
DOTNET_PKG_COMPAT=7.0
|
||||||
|
|
||||||
|
NUGET_APIS=(
|
||||||
|
"https://api.nuget.org/v3-flatcontainer"
|
||||||
|
"https://www.powershellgallery.com/api/v2"
|
||||||
|
)
|
||||||
|
NUGETS="
|
||||||
|
dotnetanalyzers.documentationanalyzers.unstable@1.0.0.59
|
||||||
|
dotnetanalyzers.documentationanalyzers@1.0.0-beta.59
|
||||||
|
markdig.signed@0.31.0
|
||||||
|
microsoft.applicationinsights@2.21.0
|
||||||
|
microsoft.bcl.asyncinterfaces@7.0.0
|
||||||
|
microsoft.codeanalysis.analyzers@3.3.3
|
||||||
|
microsoft.codeanalysis.common@4.4.0
|
||||||
|
microsoft.codeanalysis.csharp@4.4.0
|
||||||
|
microsoft.codeanalysis.netanalyzers@7.0.4
|
||||||
|
microsoft.codecoverage@17.3.3
|
||||||
|
microsoft.csharp@4.0.1
|
||||||
|
microsoft.csharp@4.3.0
|
||||||
|
microsoft.csharp@4.7.0
|
||||||
|
microsoft.extensions.objectpool@7.0.11
|
||||||
|
microsoft.management.infrastructure.runtime.unix@2.0.0
|
||||||
|
microsoft.management.infrastructure.runtime.win@2.0.0
|
||||||
|
microsoft.management.infrastructure@2.0.0
|
||||||
|
microsoft.net.test.sdk@17.3.3
|
||||||
|
microsoft.netcore.platforms@1.0.1
|
||||||
|
microsoft.netcore.platforms@1.1.0
|
||||||
|
microsoft.netcore.platforms@5.0.0
|
||||||
|
microsoft.netcore.targets@1.0.1
|
||||||
|
microsoft.netcore.targets@1.1.0
|
||||||
|
microsoft.powershell.markdownrender@7.2.1
|
||||||
|
microsoft.powershell.native@7.3.2
|
||||||
|
microsoft.security.extensions@1.2.0
|
||||||
|
microsoft.testplatform.objectmodel@17.3.3
|
||||||
|
microsoft.testplatform.testhost@17.3.3
|
||||||
|
microsoft.win32.primitives@4.3.0
|
||||||
|
microsoft.win32.registry.accesscontrol@7.0.0
|
||||||
|
microsoft.win32.registry@5.0.0
|
||||||
|
microsoft.win32.systemevents@7.0.0
|
||||||
|
microsoft.windows.compatibility@7.0.5
|
||||||
|
namotion.reflection@2.1.2
|
||||||
|
netstandard.library@1.6.1
|
||||||
|
newtonsoft.json@13.0.1
|
||||||
|
newtonsoft.json@13.0.3
|
||||||
|
newtonsoft.json@9.0.1
|
||||||
|
njsonschema@10.8.0
|
||||||
|
nuget.frameworks@5.11.0
|
||||||
|
runtime.any.system.collections@4.3.0
|
||||||
|
runtime.any.system.diagnostics.tools@4.3.0
|
||||||
|
runtime.any.system.diagnostics.tracing@4.3.0
|
||||||
|
runtime.any.system.globalization.calendars@4.3.0
|
||||||
|
runtime.any.system.globalization@4.3.0
|
||||||
|
runtime.any.system.io@4.3.0
|
||||||
|
runtime.any.system.reflection.extensions@4.3.0
|
||||||
|
runtime.any.system.reflection.primitives@4.3.0
|
||||||
|
runtime.any.system.reflection@4.3.0
|
||||||
|
runtime.any.system.resources.resourcemanager@4.3.0
|
||||||
|
runtime.any.system.runtime.handles@4.3.0
|
||||||
|
runtime.any.system.runtime.interopservices@4.3.0
|
||||||
|
runtime.any.system.runtime@4.3.0
|
||||||
|
runtime.any.system.text.encoding.extensions@4.3.0
|
||||||
|
runtime.any.system.text.encoding@4.3.0
|
||||||
|
runtime.any.system.threading.tasks@4.3.0
|
||||||
|
runtime.any.system.threading.timer@4.3.0
|
||||||
|
runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.linux-arm.runtime.native.system.io.ports@7.0.0
|
||||||
|
runtime.linux-arm64.runtime.native.system.io.ports@7.0.0
|
||||||
|
runtime.linux-x64.runtime.native.system.io.ports@7.0.0
|
||||||
|
runtime.native.system.data.sqlclient.sni@4.7.0
|
||||||
|
runtime.native.system.io.compression@4.3.0
|
||||||
|
runtime.native.system.io.ports@7.0.0
|
||||||
|
runtime.native.system.net.http@4.3.0
|
||||||
|
runtime.native.system.security.cryptography.apple@4.3.0
|
||||||
|
runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.native.system@4.3.0
|
||||||
|
runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.osx-arm64.runtime.native.system.io.ports@7.0.0
|
||||||
|
runtime.osx-x64.runtime.native.system.io.ports@7.0.0
|
||||||
|
runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple@4.3.0
|
||||||
|
runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||||
|
runtime.unix.microsoft.win32.primitives@4.3.0
|
||||||
|
runtime.unix.system.console@4.3.0
|
||||||
|
runtime.unix.system.diagnostics.debug@4.3.0
|
||||||
|
runtime.unix.system.io.filesystem@4.3.0
|
||||||
|
runtime.unix.system.net.primitives@4.3.0
|
||||||
|
runtime.unix.system.net.sockets@4.3.0
|
||||||
|
runtime.unix.system.private.uri@4.3.0
|
||||||
|
runtime.unix.system.runtime.extensions@4.3.0
|
||||||
|
runtime.win-arm64.runtime.native.system.data.sqlclient.sni@4.4.0
|
||||||
|
runtime.win-x64.runtime.native.system.data.sqlclient.sni@4.4.0
|
||||||
|
runtime.win-x86.runtime.native.system.data.sqlclient.sni@4.4.0
|
||||||
|
stylecop.analyzers.unstable@1.2.0.507
|
||||||
|
stylecop.analyzers@1.2.0-beta.507
|
||||||
|
system.appcontext@4.3.0
|
||||||
|
system.buffers@4.3.0
|
||||||
|
system.codedom@7.0.0
|
||||||
|
system.collections.concurrent@4.3.0
|
||||||
|
system.collections.immutable@6.0.0
|
||||||
|
system.collections@4.0.11
|
||||||
|
system.collections@4.3.0
|
||||||
|
system.componentmodel.composition.registration@7.0.0
|
||||||
|
system.componentmodel.composition@7.0.0
|
||||||
|
system.configuration.configurationmanager@7.0.0
|
||||||
|
system.console@4.3.0
|
||||||
|
system.data.odbc@7.0.0
|
||||||
|
system.data.oledb@7.0.0
|
||||||
|
system.data.sqlclient@4.8.5
|
||||||
|
system.diagnostics.debug@4.0.11
|
||||||
|
system.diagnostics.debug@4.3.0
|
||||||
|
system.diagnostics.diagnosticsource@4.3.0
|
||||||
|
system.diagnostics.diagnosticsource@7.0.2
|
||||||
|
system.diagnostics.eventlog@7.0.0
|
||||||
|
system.diagnostics.performancecounter@7.0.0
|
||||||
|
system.diagnostics.tools@4.0.1
|
||||||
|
system.diagnostics.tools@4.3.0
|
||||||
|
system.diagnostics.tracing@4.3.0
|
||||||
|
system.directoryservices.accountmanagement@7.0.1
|
||||||
|
system.directoryservices.protocols@7.0.1
|
||||||
|
system.directoryservices@7.0.1
|
||||||
|
system.drawing.common@7.0.0
|
||||||
|
system.dynamic.runtime@4.0.11
|
||||||
|
system.dynamic.runtime@4.3.0
|
||||||
|
system.formats.asn1@7.0.0
|
||||||
|
system.globalization.calendars@4.3.0
|
||||||
|
system.globalization.extensions@4.3.0
|
||||||
|
system.globalization@4.0.11
|
||||||
|
system.globalization@4.3.0
|
||||||
|
system.io.compression.zipfile@4.3.0
|
||||||
|
system.io.compression@4.3.0
|
||||||
|
system.io.filesystem.primitives@4.0.1
|
||||||
|
system.io.filesystem.primitives@4.3.0
|
||||||
|
system.io.filesystem@4.0.1
|
||||||
|
system.io.filesystem@4.3.0
|
||||||
|
system.io.packaging@7.0.0
|
||||||
|
system.io.ports@7.0.0
|
||||||
|
system.io@4.1.0
|
||||||
|
system.io@4.3.0
|
||||||
|
system.linq.expressions@4.1.0
|
||||||
|
system.linq.expressions@4.3.0
|
||||||
|
system.linq@4.1.0
|
||||||
|
system.linq@4.3.0
|
||||||
|
system.management@7.0.2
|
||||||
|
system.memory@4.5.5
|
||||||
|
system.net.http.winhttphandler@7.0.0
|
||||||
|
system.net.http@4.3.0
|
||||||
|
system.net.nameresolution@4.3.0
|
||||||
|
system.net.primitives@4.3.0
|
||||||
|
system.net.sockets@4.3.0
|
||||||
|
system.numerics.vectors@4.5.0
|
||||||
|
system.objectmodel@4.0.12
|
||||||
|
system.objectmodel@4.3.0
|
||||||
|
system.private.servicemodel@4.10.2
|
||||||
|
system.private.uri@4.3.0
|
||||||
|
system.reflection.context@7.0.0
|
||||||
|
system.reflection.dispatchproxy@4.7.1
|
||||||
|
system.reflection.emit.ilgeneration@4.0.1
|
||||||
|
system.reflection.emit.ilgeneration@4.3.0
|
||||||
|
system.reflection.emit.lightweight@4.0.1
|
||||||
|
system.reflection.emit.lightweight@4.3.0
|
||||||
|
system.reflection.emit@4.0.1
|
||||||
|
system.reflection.emit@4.3.0
|
||||||
|
system.reflection.extensions@4.0.1
|
||||||
|
system.reflection.extensions@4.3.0
|
||||||
|
system.reflection.metadata@1.6.0
|
||||||
|
system.reflection.metadata@5.0.0
|
||||||
|
system.reflection.primitives@4.0.1
|
||||||
|
system.reflection.primitives@4.3.0
|
||||||
|
system.reflection.typeextensions@4.1.0
|
||||||
|
system.reflection.typeextensions@4.3.0
|
||||||
|
system.reflection@4.1.0
|
||||||
|
system.reflection@4.3.0
|
||||||
|
system.resources.resourcemanager@4.0.1
|
||||||
|
system.resources.resourcemanager@4.3.0
|
||||||
|
system.runtime.caching@7.0.0
|
||||||
|
system.runtime.compilerservices.unsafe@6.0.0
|
||||||
|
system.runtime.extensions@4.1.0
|
||||||
|
system.runtime.extensions@4.3.0
|
||||||
|
system.runtime.handles@4.0.1
|
||||||
|
system.runtime.handles@4.3.0
|
||||||
|
system.runtime.interopservices.runtimeinformation@4.3.0
|
||||||
|
system.runtime.interopservices@4.1.0
|
||||||
|
system.runtime.interopservices@4.3.0
|
||||||
|
system.runtime.numerics@4.3.0
|
||||||
|
system.runtime.serialization.primitives@4.1.1
|
||||||
|
system.runtime@4.1.0
|
||||||
|
system.runtime@4.3.0
|
||||||
|
system.security.accesscontrol@5.0.0
|
||||||
|
system.security.accesscontrol@6.0.0
|
||||||
|
system.security.claims@4.3.0
|
||||||
|
system.security.cryptography.algorithms@4.3.0
|
||||||
|
system.security.cryptography.cng@4.3.0
|
||||||
|
system.security.cryptography.csp@4.3.0
|
||||||
|
system.security.cryptography.encoding@4.3.0
|
||||||
|
system.security.cryptography.openssl@4.3.0
|
||||||
|
system.security.cryptography.pkcs@7.0.0
|
||||||
|
system.security.cryptography.pkcs@7.0.2
|
||||||
|
system.security.cryptography.pkcs@7.0.3
|
||||||
|
system.security.cryptography.primitives@4.3.0
|
||||||
|
system.security.cryptography.protecteddata@7.0.1
|
||||||
|
system.security.cryptography.x509certificates@4.3.0
|
||||||
|
system.security.cryptography.xml@7.0.1
|
||||||
|
system.security.permissions@7.0.0
|
||||||
|
system.security.principal.windows@4.3.0
|
||||||
|
system.security.principal.windows@4.7.0
|
||||||
|
system.security.principal.windows@5.0.0
|
||||||
|
system.security.principal@4.3.0
|
||||||
|
system.servicemodel.duplex@4.10.2
|
||||||
|
system.servicemodel.http@4.10.2
|
||||||
|
system.servicemodel.nettcp@4.10.2
|
||||||
|
system.servicemodel.primitives@4.10.2
|
||||||
|
system.servicemodel.security@4.10.2
|
||||||
|
system.servicemodel.syndication@7.0.0
|
||||||
|
system.serviceprocess.servicecontroller@7.0.1
|
||||||
|
system.speech@7.0.0
|
||||||
|
system.text.encoding.codepages@6.0.0
|
||||||
|
system.text.encoding.codepages@7.0.0
|
||||||
|
system.text.encoding.extensions@4.0.11
|
||||||
|
system.text.encoding.extensions@4.3.0
|
||||||
|
system.text.encoding@4.0.11
|
||||||
|
system.text.encoding@4.3.0
|
||||||
|
system.text.encodings.web@7.0.0
|
||||||
|
system.text.regularexpressions@4.1.0
|
||||||
|
system.text.regularexpressions@4.3.0
|
||||||
|
system.threading.accesscontrol@7.0.1
|
||||||
|
system.threading.tasks.extensions@4.0.0
|
||||||
|
system.threading.tasks.extensions@4.3.0
|
||||||
|
system.threading.tasks.extensions@4.5.4
|
||||||
|
system.threading.tasks@4.0.11
|
||||||
|
system.threading.tasks@4.3.0
|
||||||
|
system.threading.threadpool@4.3.0
|
||||||
|
system.threading.timer@4.3.0
|
||||||
|
system.threading@4.0.11
|
||||||
|
system.threading@4.3.0
|
||||||
|
system.web.services.description@4.10.2
|
||||||
|
system.windows.extensions@7.0.0
|
||||||
|
system.xml.readerwriter@4.0.11
|
||||||
|
system.xml.readerwriter@4.3.0
|
||||||
|
system.xml.xdocument@4.0.11
|
||||||
|
system.xml.xdocument@4.0.11
|
||||||
|
system.xml.xdocument@4.3.0
|
||||||
|
validation@2.4.22
|
||||||
|
xunit.abstractions@2.0.2
|
||||||
|
xunit.abstractions@2.0.3
|
||||||
|
xunit.analyzers@1.0.0
|
||||||
|
xunit.assert@2.4.2
|
||||||
|
xunit.core@2.4.2
|
||||||
|
xunit.extensibility.core@2.4.0
|
||||||
|
xunit.extensibility.core@2.4.2
|
||||||
|
xunit.extensibility.execution@2.4.0
|
||||||
|
xunit.extensibility.execution@2.4.2
|
||||||
|
xunit.runner.visualstudio@2.4.5
|
||||||
|
xunit.skippablefact@1.4.13
|
||||||
|
xunit@2.4.2
|
||||||
|
xunitxml.testlogger@3.0.78
|
||||||
|
"
|
||||||
|
|
||||||
|
# Additional PowerShell Gallery modules.
|
||||||
|
NUGETS+="
|
||||||
|
microsoft.powershell.archive@1.2.5
|
||||||
|
packagemanagement@1.4.8.1
|
||||||
|
powershellget@2.2.5
|
||||||
|
psreadline@2.2.6
|
||||||
|
threadjob@2.0.3
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit check-reqs desktop dotnet-pkg xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Cross-platform automation and configuration tool"
|
||||||
|
HOMEPAGE="https://microsoft.com/powershell/
|
||||||
|
https://github.com/PowerShell/PowerShell/"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/PowerShell/${MY_PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
SRC_URI+=" ${NUGET_URIS} "
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="$(ver_cut 1-2)"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/libpsl-native:=
|
||||||
|
sys-libs/pam:0/0
|
||||||
|
|| (
|
||||||
|
dev-libs/openssl-compat:1.0.0
|
||||||
|
=dev-libs/openssl-1.0*:0/0
|
||||||
|
)
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
IDEPEND="app-eselect/eselect-pwsh"
|
||||||
|
|
||||||
|
CHECKREQS_DISK_BUILD="2G"
|
||||||
|
DOTNET_PKG_PROJECTS=(
|
||||||
|
"${S}/src/powershell-unix/powershell-unix.csproj"
|
||||||
|
"${S}/src/Modules/PSGalleryModules.csproj"
|
||||||
|
)
|
||||||
|
# Lower warning level to skip CS0162 error for the "disable-telemetry" patch.
|
||||||
|
DOTNET_PKG_BUILD_EXTRA_ARGS=(
|
||||||
|
-p:WarningLevel=1
|
||||||
|
)
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/pwsh-7.3.3-disable-telemetry.patch"
|
||||||
|
"${FILESDIR}/pwsh-7.3.3-disable-update-check.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=( CHANGELOG CHANGELOG.md CODE_OF_CONDUCT.md README.md docs )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
check-reqs_pkg_setup
|
||||||
|
dotnet-pkg_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
dotnet-pkg_src_unpack
|
||||||
|
|
||||||
|
if [[ -n ${EGIT_REPO_URI} ]] ; then
|
||||||
|
git-r3_src_unpack
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
dotnet-pkg_src_prepare
|
||||||
|
|
||||||
|
# This is guarded by "RegexGitVersion" in "PowerShell.Common.props".
|
||||||
|
local fake_describe="v${PV}-0-g0"
|
||||||
|
sed -i "s|git describe --abbrev=60 --long|echo ${fake_describe}|" \
|
||||||
|
PowerShell.Common.props || die
|
||||||
|
|
||||||
|
echo "v${PV}" > powershell.version || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo 'Copying DLL files for the missing "ref" directory'
|
||||||
|
edotnet fsi "${FILESDIR}/pwsh-7.3.3-copy-ref.fsx" "${WORKDIR}/${P}_ref"
|
||||||
|
|
||||||
|
dotnet-pkg_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dest_root="/usr/share/${PN}-${SLOT}"
|
||||||
|
|
||||||
|
# Install additional PowerShell Gallery modules.
|
||||||
|
local -a psg_modules
|
||||||
|
psg_modules=(
|
||||||
|
Microsoft.PowerShell.Archive
|
||||||
|
PackageManagement
|
||||||
|
PowerShellGet
|
||||||
|
PSReadLine
|
||||||
|
ThreadJob
|
||||||
|
)
|
||||||
|
local psg_module
|
||||||
|
for psg_module in "${psg_modules[@]}" ; do
|
||||||
|
insinto "${dest_root}/Modules/${psg_module}"
|
||||||
|
doins -r "${NUGET_PACKAGES}/${psg_module,,}"/*
|
||||||
|
done
|
||||||
|
|
||||||
|
dotnet-pkg-base_append_launchervar \
|
||||||
|
'PSModulePath="${PSModulePath}:/usr/share/GentooPowerShell/Modules:"'
|
||||||
|
dotnet-pkg-base_install "${dest_root}"
|
||||||
|
dotnet-pkg-base_dolauncher "${dest_root}/pwsh" "pwsh-${SLOT}"
|
||||||
|
|
||||||
|
insinto "${dest_root}/ref"
|
||||||
|
doins "${WORKDIR}/${P}_ref"/*
|
||||||
|
|
||||||
|
# Remove "libpsl-native.so" provided by "microsoft.powershell.native".
|
||||||
|
rm "${ED}/${dest_root}/libpsl-native.so" || die
|
||||||
|
dosym -r "/usr/$(get_libdir)/libpsl-native.so" "${dest_root}/libpsl-native.so"
|
||||||
|
|
||||||
|
newicon assets/ps_black_128.svg powershell.svg
|
||||||
|
make_desktop_entry "pwsh-${SLOT} -l" \
|
||||||
|
"PowerShell ${SLOT}" powershell "ConsoleOnly;System;" "Terminal=true"
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
|
||||||
|
eselect pwsh update ifunset
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
|
||||||
|
eselect pwsh update ifunset
|
||||||
|
}
|
@ -1,27 +0,0 @@
|
|||||||
From 637ef935b0a4f60524a0c0ce034317f2dee04b78 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Randy Barlow <randy@electronsweatshop.com>
|
|
||||||
Date: Sat, 1 Oct 2022 13:52:53 -0400
|
|
||||||
Subject: [PATCH] Do not strip executable
|
|
||||||
|
|
||||||
This should be a choice for the user.
|
|
||||||
|
|
||||||
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
|
|
||||||
---
|
|
||||||
Cargo.toml | 1 -
|
|
||||||
1 file changed, 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/Cargo.toml b/Cargo.toml
|
|
||||||
index 2fccbe11..4595c33f 100644
|
|
||||||
--- a/Cargo.toml
|
|
||||||
+++ b/Cargo.toml
|
|
||||||
@@ -123,7 +123,6 @@ tempfile = "3.2.0"
|
|
||||||
[profile.release]
|
|
||||||
codegen-units = 1
|
|
||||||
lto = true
|
|
||||||
-strip = true
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "starship"
|
|
||||||
--
|
|
||||||
2.37.3
|
|
||||||
|
|
Binary file not shown.
@ -1,2 +1,4 @@
|
|||||||
DIST csharp-gentoodotnetinfo-1.0.0.tar.bz2 11273 BLAKE2B dc813e3af220b8a348716e3fd95640cd284083a463b007e5943b0f335161d3491637e47f894f276dd45b8dae74b2d057874425beef1bf3463b50eee9e480b495 SHA512 3900dd435cc122e2c368c4040413f64f5f232cb374d672f843b73c41a9a1aef2903db53f5688c223f478a521908001c025d74fbf1d59bb7608be26cf780eaf38
|
DIST csharp-gentoodotnetinfo-1.0.0.tar.bz2 11273 BLAKE2B dc813e3af220b8a348716e3fd95640cd284083a463b007e5943b0f335161d3491637e47f894f276dd45b8dae74b2d057874425beef1bf3463b50eee9e480b495 SHA512 3900dd435cc122e2c368c4040413f64f5f232cb374d672f843b73c41a9a1aef2903db53f5688c223f478a521908001c025d74fbf1d59bb7608be26cf780eaf38
|
||||||
|
DIST csharp-gentoodotnetinfo-1.1.1.tar.bz2 19051 BLAKE2B e55042c43c956d7a7cef999f92ce131aaeccc10db6a248d154aabd01f9072d71baed29f1ccfdd8c3f96d094f3eab491e4a9e04e1239ae23ba22695363cd35e6a SHA512 372a61251a3a8f0df2cf2b5dc83fc6348b7551c3101646ad10086cd324363e63589d056d7f260058c5ab2f01ba759d231b078c923a592f7d11a7b81b6004fcd1
|
||||||
|
DIST microsoft.dotnet.platformabstractions.3.1.6.nupkg 72146 BLAKE2B 08d852b5e6558b499f2d780284aa747e5cf39886d86fa378128fae9f71741bd57c5bc75c0077948f193b7e8ea03a520d8ef3bd3b4fc80779adb4a84a4b44fe8c SHA512 55b87f544874686bed96889953b7e99e43426b79b0fac31cc452e0f4a27ca5cc08522c0ac967bf9df649f7c04137a5e2553d134ad79d5c1e69578367c2b4b4c6
|
||||||
DIST system.commandline.2.0.0-beta4.22272.1.nupkg 616636 BLAKE2B 5252560598c4cd67348520cea086c37b4151b984a61238de1984838975340247b16050113422b1765931bdfc1dee38e226789b6427e56ab7c3a36bf07d0bcc20 SHA512 979a7e66ba29e17bc5bec42e926ed15362e23ae403e498c955e09dffc4d3baa14777a06f95e25d591fc9757a0eaa18deb9e4662a1ca1663fa300f509a4a0383c
|
DIST system.commandline.2.0.0-beta4.22272.1.nupkg 616636 BLAKE2B 5252560598c4cd67348520cea086c37b4151b984a61238de1984838975340247b16050113422b1765931bdfc1dee38e226789b6427e56ab7c3a36bf07d0bcc20 SHA512 979a7e66ba29e17bc5bec42e926ed15362e23ae403e498c955e09dffc4d3baa14777a06f95e25d591fc9757a0eaa18deb9e4662a1ca1663fa300f509a4a0383c
|
||||||
|
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DOTNET_PKG_COMPAT=7.0
|
||||||
|
NUGETS="
|
||||||
|
microsoft.dotnet.platformabstractions@3.1.6
|
||||||
|
system.commandline@2.0.0-beta4.22272.1
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit dotnet-pkg
|
||||||
|
|
||||||
|
DESCRIPTION=".NET information tool for Gentoo"
|
||||||
|
HOMEPAGE="https://gitlab.gentoo.org/dotnet/csharp-gentoodotnetinfo/"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://gitlab.gentoo.org/dotnet/${PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://gitlab.gentoo.org/dotnet/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
SRC_URI+=" ${NUGET_URIS} "
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DOTNET_PKG_PROJECTS=(
|
||||||
|
Source/v1/gentoo-dotnet-info-app/GentooDotnetInfo/GentooDotnetInfo.csproj
|
||||||
|
)
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
dotnet-pkg_src_unpack
|
||||||
|
|
||||||
|
if [[ -n ${EGIT_REPO_URI} ]] ; then
|
||||||
|
git-r3_src_unpack
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local launcher_dll="/usr/share/${P}/GentooDotnetInfo.dll"
|
||||||
|
|
||||||
|
dotnet-pkg-base_install
|
||||||
|
dotnet-pkg-base_dolauncher_portable "${launcher_dll}" gentoo-dotnet-info
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST mysql-connector-j-8.0.32.tar.gz 4229102 BLAKE2B bb4f89ac9eb4ebc5ed4a8f3d0b63a75d0dbb237e0c434c705d970ec20bbbbec89526d6b0cb11cbceb5e9e5bb485b9d7b17420407d7b01017c7531d5d531c30d8 SHA512 96d920cd137c8aadd7669d3bdc84893bb1dd2c76e81128356844c4321104fc6d2debf950ca1dfdfe958d848b16cd91ee475aad7d3d9b52478f8ac58dbf51922b
|
|
||||||
DIST mysql-connector-j-8.1.0.tar.gz 4241696 BLAKE2B 930257a876b1b512b598ebf8397125145bb9d1a438fe33bb55ca208dddfdd29bd436a365cc35b9128cdee6eee436da688dd53cc3ed6cd04efb22d1f5af731863 SHA512 f8a7c621397f49981dd7d19e880d92ee051015ad011c027380ac85760dc22ce2f4117fd27b8d72325c5e2bc40a1a9c22e9534f7200208916ee62bbf1e5ad0c75
|
DIST mysql-connector-j-8.1.0.tar.gz 4241696 BLAKE2B 930257a876b1b512b598ebf8397125145bb9d1a438fe33bb55ca208dddfdd29bd436a365cc35b9128cdee6eee436da688dd53cc3ed6cd04efb22d1f5af731863 SHA512 f8a7c621397f49981dd7d19e880d92ee051015ad011c027380ac85760dc22ce2f4117fd27b8d72325c5e2bc40a1a9c22e9534f7200208916ee62bbf1e5ad0c75
|
||||||
DIST oci-java-sdk-common-2.47.0.jar 439209 BLAKE2B b3b28bb0cf4b8dbca37bb34df7bb48029901be5d9f7754a2ccce888a9af4a06b3348cd545d480127f942687b9b0d63336c37b5f95ecb9f96111c9388a4bc6053 SHA512 73e7376c92d47d81e0630e2ad2d510a483068664874ae31622629dad6dc016d746499c2d29682563e5cdee35ddb6e9e59a2e7557d32e1eeec5fb12206f9d1d6e
|
DIST oci-java-sdk-common-2.47.0.jar 439209 BLAKE2B b3b28bb0cf4b8dbca37bb34df7bb48029901be5d9f7754a2ccce888a9af4a06b3348cd545d480127f942687b9b0d63336c37b5f95ecb9f96111c9388a4bc6053 SHA512 73e7376c92d47d81e0630e2ad2d510a483068664874ae31622629dad6dc016d746499c2d29682563e5cdee35ddb6e9e59a2e7557d32e1eeec5fb12206f9d1d6e
|
||||||
|
@ -1,56 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
# Tests disabled, see bug #902723
|
|
||||||
JAVA_PKG_IUSE="doc source"
|
|
||||||
MAVEN_ID="com.mysql:mysql-connector-j:8.0.32"
|
|
||||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
|
||||||
|
|
||||||
# Bundling a binary version of oci-java-sdk-common
|
|
||||||
# https://github.com/oracle/oci-java-sdk/blob/v2.47.0/bmc-common/pom.xml
|
|
||||||
OSC="2.47.0"
|
|
||||||
|
|
||||||
DESCRIPTION="JDBC Type 4 driver for MySQL"
|
|
||||||
HOMEPAGE="https://dev.mysql.com/doc/connector-j/en/"
|
|
||||||
SRC_URI="https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-${PV}.tar.gz
|
|
||||||
https://repo1.maven.org/maven2/com/oracle/oci/sdk/oci-java-sdk-common/${OSC}/oci-java-sdk-common-${OSC}.jar"
|
|
||||||
|
|
||||||
S="${WORKDIR}/mysql-connector-j-${PV}"
|
|
||||||
|
|
||||||
LICENSE="GPL-2-with-MySQL-FLOSS-exception"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc64 x86"
|
|
||||||
|
|
||||||
CP_DEPEND="
|
|
||||||
dev-java/c3p0:0
|
|
||||||
dev-java/protobuf-java:0
|
|
||||||
dev-java/slf4j-api:0
|
|
||||||
"
|
|
||||||
DEPEND=" ${CP_DEPEND}
|
|
||||||
>=virtual/jdk-1.8:*
|
|
||||||
"
|
|
||||||
RDEPEND=" ${CP_DEPEND}
|
|
||||||
>=virtual/jre-1.8:*
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( CHANGES README )
|
|
||||||
|
|
||||||
JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/oci-java-sdk-common-${OSC}.jar"
|
|
||||||
JAVA_JAR_FILENAME="mysql-connector-j.jar"
|
|
||||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
|
||||||
JAVA_SRC_DIR=(
|
|
||||||
"src/generated"
|
|
||||||
"src/legacy/java"
|
|
||||||
"src/main/core-api/java"
|
|
||||||
"src/main/core-impl/java"
|
|
||||||
"src/main/protocol-impl/java"
|
|
||||||
"src/main/user-api/java"
|
|
||||||
"src/main/user-impl/java"
|
|
||||||
)
|
|
||||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
|
||||||
JAVA_TEST_RESOURCE_DIRS="src/test/config"
|
|
||||||
JAVA_TEST_SRC_DIR="src/test/java"
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST algol68g-3.3.21.tar.gz 660179 BLAKE2B 43f666cec1f77c3b7056221ab18bcc0bf458b6d6fe1d6c361709683993152aac6957068b09d8c47cc8441233739e7450ff126b1153bbbc272831c5200dde89a6 SHA512 18e3f431477fd282726858ae0b5abfe1f695a1f2ad9799437c0ce58808749c876067f2ccafc38b7baef392b1a7543fc389325dae0acfb60e19e2ef084423f719
|
DIST algol68g-3.3.21.tar.gz 660179 BLAKE2B 43f666cec1f77c3b7056221ab18bcc0bf458b6d6fe1d6c361709683993152aac6957068b09d8c47cc8441233739e7450ff126b1153bbbc272831c5200dde89a6 SHA512 18e3f431477fd282726858ae0b5abfe1f695a1f2ad9799437c0ce58808749c876067f2ccafc38b7baef392b1a7543fc389325dae0acfb60e19e2ef084423f719
|
||||||
|
DIST algol68g-3.3.24.tar.gz 660171 BLAKE2B b70e568c48d4a4f1b142de97c7eaf4a52237e4bd74469318dbfa5bfdd3510f1770aaf4def2a95fe984dfa183206b70646ea0f3cd41486b64ab435ebaa4f70693 SHA512 e6d4baec87bdfc853ee6c17c80b121ce90d90409344bf55243a339e68b4bc79bcaf8cad56ca6e5eedc7742e445550c4eb6673e74352bf446a39b3ce1712de857
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Algol 68 Genie compiler-interpreter"
|
||||||
|
HOMEPAGE="https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html"
|
||||||
|
SRC_URI="https://jmvdveer.home.xs4all.nl/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+curl +gsl +mpfr +ncurses plotutils postgres +readline"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
curl? ( net-misc/curl )
|
||||||
|
gsl? ( sci-libs/gsl:= )
|
||||||
|
mpfr? ( dev-libs/mpfr:= )
|
||||||
|
plotutils? ( media-libs/plotutils )
|
||||||
|
postgres? ( dev-db/postgresql:* )
|
||||||
|
readline? ( sys-libs/readline:= )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${PN}-3.3.21-configure-implicit.patch" )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local -a myconf=(
|
||||||
|
$(use_enable curl)
|
||||||
|
$(use_enable gsl)
|
||||||
|
$(use_enable mpfr)
|
||||||
|
$(use_enable ncurses curses)
|
||||||
|
$(use_enable plotutils)
|
||||||
|
$(use_enable postgres postgresql)
|
||||||
|
$(use_enable readline)
|
||||||
|
$(use_with ncurses)
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
@ -1,5 +1,4 @@
|
|||||||
DIST luau-0.591.tar.gz 6019607 BLAKE2B b60520141f79ec576ca0ac0eb6f73b6022a7450bf2a713e3c9dfcfece97750909e36c07c7e2dc31a786a0d9201e73b44a1d69213cdf8138173b9d862a67499d4 SHA512 068c5323fb7b7e55cf26dceedbd7a4b5e6356e503076e7cdce1493e6a105a49b5eff65312c98e796ec863cc74172a7010838f27f4b7b8131c8fc93a8a1501c39
|
|
||||||
DIST luau-0.592.tar.gz 6047275 BLAKE2B 94299eabd16c7163877b4e1b4514998d3a9db06b60f8aafb368d199eb407709987d22d02ff182e66fa38983f5eb8b09d557739d98e8d8cbc406dbfe336e99cba SHA512 69f4c3c82e26e42c6f2d5ce052b00f90cba10c4ebe2cea979e1e0c53463b2b22389e1a3308984c3c537c1efc1c488407a51f15fdd30301b8364645f362447b2f
|
|
||||||
DIST luau-0.593.tar.gz 6053499 BLAKE2B 5cc023f32419cfc09a7dd4f4e94e99905e8e8bab42b675cb0d4712bacd930250094441f5a7ac9fbc68b9fa6e84bb5e9585100f44ee28ef9acf0b21b42f43eed6 SHA512 04c2808685db42fce09defca7a4e4e30a71e6fd6c4dc9362f030648203552e7ec79bbadda76f8e89ef3b627c18b05c277d3658286fbbf2c17db574733c0f7593
|
DIST luau-0.593.tar.gz 6053499 BLAKE2B 5cc023f32419cfc09a7dd4f4e94e99905e8e8bab42b675cb0d4712bacd930250094441f5a7ac9fbc68b9fa6e84bb5e9585100f44ee28ef9acf0b21b42f43eed6 SHA512 04c2808685db42fce09defca7a4e4e30a71e6fd6c4dc9362f030648203552e7ec79bbadda76f8e89ef3b627c18b05c277d3658286fbbf2c17db574733c0f7593
|
||||||
DIST luau-0.595.tar.gz 6064604 BLAKE2B 3586b7aa90e7a365322099f4861a51b6bc089fa17aff1b81dab4456038b6d4e1ad7b61708bf23d085c1fad5ebcaa9010dff343d8e278475740c9c6d9250f6c3e SHA512 47498e69ea05b79739a406ad3455b914319aefdb2595ab13e9b1a508f5b92d084f8e5eac795f1a87c49e67008d01683f817847d8b84fc2a01c23c42103840e06
|
DIST luau-0.595.tar.gz 6064604 BLAKE2B 3586b7aa90e7a365322099f4861a51b6bc089fa17aff1b81dab4456038b6d4e1ad7b61708bf23d085c1fad5ebcaa9010dff343d8e278475740c9c6d9250f6c3e SHA512 47498e69ea05b79739a406ad3455b914319aefdb2595ab13e9b1a508f5b92d084f8e5eac795f1a87c49e67008d01683f817847d8b84fc2a01c23c42103840e06
|
||||||
DIST luau-0.596.tar.gz 6068791 BLAKE2B b6f8c7e0c51486910a8e4f22f22e2da407c90eb7bf56dcbd29932ad95a82cd5c0dc66933d9132394213a9e170f0e24512879c8ca914d44fab1069e9eb398d440 SHA512 2ae5727206020e74f70fef8acdf2b77ff4dd7872cf2122f9a09214ced606e9df2a494d02bd7fddceb9d056bb768764d0de5b6ed0ac15ccf65cf639e644245dca
|
DIST luau-0.596.tar.gz 6068791 BLAKE2B b6f8c7e0c51486910a8e4f22f22e2da407c90eb7bf56dcbd29932ad95a82cd5c0dc66933d9132394213a9e170f0e24512879c8ca914d44fab1069e9eb398d440 SHA512 2ae5727206020e74f70fef8acdf2b77ff4dd7872cf2122f9a09214ced606e9df2a494d02bd7fddceb9d056bb768764d0de5b6ed0ac15ccf65cf639e644245dca
|
||||||
|
DIST luau-0.597.tar.gz 6073080 BLAKE2B 169d7a6e84bc5857129afb4f0f82a63f56c2579ba91a7844cba729e1eb610e00626c33f5456a6ec63891360227b569482619fc2012360267dcddd0adb26f7dc7 SHA512 d1eab79b64c0452ff892b52db0e6e2dea077ef036083c6f486a37cd2a0f3199570018f8755754463ce1bb92fe3d32d3464f954d0a82aa5a03b0c0b9d2e3f3744
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit cmake
|
|
||||||
|
|
||||||
DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
|
|
||||||
HOMEPAGE="https://luau-lang.org/
|
|
||||||
https://github.com/Roblox/luau/"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/Roblox/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/Roblox/${PN}/archive/${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
DOCS=( CONTRIBUTING.md README.md SECURITY.md )
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
"${BUILD_DIR}"/Luau.UnitTest || die
|
|
||||||
"${BUILD_DIR}"/Luau.Conformance || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
exeinto /usr/bin
|
|
||||||
doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
Binary file not shown.
@ -1,92 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
DISTUTILS_EXT=1
|
|
||||||
DISTUTILS_OPTIONAL=1
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
|
|
||||||
inherit cmake distutils-r1 toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="disassembly/disassembler framework + bindings"
|
|
||||||
HOMEPAGE="https://www.capstone-engine.org/"
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/capstone-engine/capstone.git"
|
|
||||||
EGIT_REPO_BRANCH="next"
|
|
||||||
else
|
|
||||||
MY_PV="${PV/_rc/-rc}-post1"
|
|
||||||
SRC_URI="https://github.com/capstone-engine/capstone/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/5" # libcapstone.so.5
|
|
||||||
|
|
||||||
IUSE="python static-libs test"
|
|
||||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
BDEPEND="${DISTUTILS_DEPS}"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
distutils_enable_tests setup.py
|
|
||||||
|
|
||||||
if [[ ${PV} == *_rc* ]]; then
|
|
||||||
# Upstream doesn't flag release candidates (bug 858350)
|
|
||||||
QA_PKGCONFIG_VERSION=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
wrap_python() {
|
|
||||||
local phase=$1
|
|
||||||
shift
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
pushd bindings/python >/dev/null || die
|
|
||||||
distutils-r1_${phase} "$@"
|
|
||||||
popd >/dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
tc-export RANLIB
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCAPSTONE_BUILD_TESTS="$(usex test)"
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_src_compile
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cmake_src_test
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
|
|
||||||
if ! use static-libs ; then
|
|
||||||
find "${ED}" -name '*.a' -delete || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,83 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_OPTIONAL=1
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
inherit cmake distutils-r1 toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="disassembly/disassembler framework + bindings"
|
|
||||||
HOMEPAGE="https://www.capstone-engine.org/"
|
|
||||||
SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/5" # libcapstone.so.5
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
|
|
||||||
|
|
||||||
IUSE="python test"
|
|
||||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
distutils_enable_tests setup.py
|
|
||||||
|
|
||||||
S=${WORKDIR}/${P/_rc/-rc}
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-pkgconfig.patch
|
|
||||||
"${FILESDIR}"/${P}-oob-mem-access.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
if [[ ${PV} == *_rc* ]]; then
|
|
||||||
# Upstream doesn't flag release candidates (bug 858350)
|
|
||||||
QA_PKGCONFIG_VERSION=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
wrap_python() {
|
|
||||||
local phase=$1
|
|
||||||
shift
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
pushd bindings/python >/dev/null || die
|
|
||||||
distutils-r1_${phase} "$@"
|
|
||||||
popd >/dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
tc-export RANLIB
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCAPSTONE_BUILD_TESTS="$(usex test)"
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_src_compile
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cmake_src_test
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
@ -1,95 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_OPTIONAL=1
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
|
|
||||||
inherit cmake distutils-r1 toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="disassembly/disassembler framework + bindings"
|
|
||||||
HOMEPAGE="https://www.capstone-engine.org/"
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/capstone-engine/capstone.git"
|
|
||||||
EGIT_REPO_BRANCH="next"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S=${WORKDIR}/${P/_rc/-rc}
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/5" # libcapstone.so.5
|
|
||||||
|
|
||||||
IUSE="python static-libs test"
|
|
||||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
BDEPEND="${DISTUTILS_DEPS}"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
distutils_enable_tests setup.py
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-pkgconfig.patch
|
|
||||||
"${FILESDIR}"/${P}-oob-mem-access.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
if [[ ${PV} == *_rc* ]]; then
|
|
||||||
# Upstream doesn't flag release candidates (bug 858350)
|
|
||||||
QA_PKGCONFIG_VERSION=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
wrap_python() {
|
|
||||||
local phase=$1
|
|
||||||
shift
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
pushd bindings/python >/dev/null || die
|
|
||||||
distutils-r1_${phase} "$@"
|
|
||||||
popd >/dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
tc-export RANLIB
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCAPSTONE_BUILD_TESTS="$(usex test)"
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_src_compile
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cmake_src_test
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
|
|
||||||
if ! use static-libs ; then
|
|
||||||
find "${ED}" -name '*.a' -delete || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
DISTUTILS_EXT=1
|
|
||||||
DISTUTILS_OPTIONAL=1
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
|
|
||||||
inherit cmake distutils-r1 toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="disassembly/disassembler framework + bindings"
|
|
||||||
HOMEPAGE="https://www.capstone-engine.org/"
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/capstone-engine/capstone.git"
|
|
||||||
EGIT_REPO_BRANCH="next"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S=${WORKDIR}/${P/_rc/-rc}
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0/5" # libcapstone.so.5
|
|
||||||
|
|
||||||
IUSE="python static-libs test"
|
|
||||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
python? ( dev-python/setuptools[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
BDEPEND="${DISTUTILS_DEPS}"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
distutils_enable_tests setup.py
|
|
||||||
|
|
||||||
if [[ ${PV} == *_rc* ]]; then
|
|
||||||
# Upstream doesn't flag release candidates (bug 858350)
|
|
||||||
QA_PKGCONFIG_VERSION=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
wrap_python() {
|
|
||||||
local phase=$1
|
|
||||||
shift
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
pushd bindings/python >/dev/null || die
|
|
||||||
distutils-r1_${phase} "$@"
|
|
||||||
popd >/dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
tc-export RANLIB
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DCAPSTONE_BUILD_TESTS="$(usex test)"
|
|
||||||
)
|
|
||||||
cmake_src_configure
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cmake_src_compile
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cmake_src_test
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
wrap_python ${FUNCNAME}
|
|
||||||
|
|
||||||
if ! use static-libs ; then
|
|
||||||
find "${ED}" -name '*.a' -delete || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,110 +0,0 @@
|
|||||||
https://github.com/openssl/openssl/commit/6a83f0c958811f07e0d11dfc6b5a6a98edfd5bdc
|
|
||||||
https://github.com/openssl/openssl/commit/76214c4a8f3374b786811fdfeda3d98690f8faf4
|
|
||||||
|
|
||||||
From 6a83f0c958811f07e0d11dfc6b5a6a98edfd5bdc Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tomas Mraz <tomas@openssl.org>
|
|
||||||
Date: Tue, 4 Jul 2023 17:30:35 +0200
|
|
||||||
Subject: [PATCH] Do not ignore empty associated data with AES-SIV mode
|
|
||||||
|
|
||||||
The AES-SIV mode allows for multiple associated data items
|
|
||||||
authenticated separately with any of these being 0 length.
|
|
||||||
|
|
||||||
The provided implementation ignores such empty associated data
|
|
||||||
which is incorrect in regards to the RFC 5297 and is also
|
|
||||||
a security issue because such empty associated data then become
|
|
||||||
unauthenticated if an application expects to authenticate them.
|
|
||||||
|
|
||||||
Fixes CVE-2023-2975
|
|
||||||
|
|
||||||
Reviewed-by: Matt Caswell <matt@openssl.org>
|
|
||||||
Reviewed-by: Paul Dale <pauli@openssl.org>
|
|
||||||
(Merged from https://github.com/openssl/openssl/pull/21384)
|
|
||||||
|
|
||||||
(cherry picked from commit c426c281cfc23ab182f7d7d7a35229e7db1494d9)
|
|
||||||
--- a/providers/implementations/ciphers/cipher_aes_siv.c
|
|
||||||
+++ b/providers/implementations/ciphers/cipher_aes_siv.c
|
|
||||||
@@ -120,14 +120,18 @@ static int siv_cipher(void *vctx, unsigned char *out, size_t *outl,
|
|
||||||
if (!ossl_prov_is_running())
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
- if (inl == 0) {
|
|
||||||
- *outl = 0;
|
|
||||||
- return 1;
|
|
||||||
- }
|
|
||||||
+ /* Ignore just empty encryption/decryption call and not AAD. */
|
|
||||||
+ if (out != NULL) {
|
|
||||||
+ if (inl == 0) {
|
|
||||||
+ if (outl != NULL)
|
|
||||||
+ *outl = 0;
|
|
||||||
+ return 1;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
- if (outsize < inl) {
|
|
||||||
- ERR_raise(ERR_LIB_PROV, PROV_R_OUTPUT_BUFFER_TOO_SMALL);
|
|
||||||
- return 0;
|
|
||||||
+ if (outsize < inl) {
|
|
||||||
+ ERR_raise(ERR_LIB_PROV, PROV_R_OUTPUT_BUFFER_TOO_SMALL);
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ctx->hw->cipher(ctx, out, in, inl) <= 0)
|
|
||||||
|
|
||||||
From 76214c4a8f3374b786811fdfeda3d98690f8faf4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tomas Mraz <tomas@openssl.org>
|
|
||||||
Date: Tue, 4 Jul 2023 17:50:37 +0200
|
|
||||||
Subject: [PATCH] Add testcases for empty associated data entries with AES-SIV
|
|
||||||
|
|
||||||
Reviewed-by: Matt Caswell <matt@openssl.org>
|
|
||||||
Reviewed-by: Paul Dale <pauli@openssl.org>
|
|
||||||
(Merged from https://github.com/openssl/openssl/pull/21384)
|
|
||||||
|
|
||||||
(cherry picked from commit 3993bb0c0c87e3ed0ab4274e4688aa814e164cfc)
|
|
||||||
--- a/test/recipes/30-test_evp_data/evpciph_aes_siv.txt
|
|
||||||
+++ b/test/recipes/30-test_evp_data/evpciph_aes_siv.txt
|
|
||||||
@@ -20,6 +20,19 @@ Tag = 85632d07c6e8f37f950acd320a2ecc93
|
|
||||||
Plaintext = 112233445566778899aabbccddee
|
|
||||||
Ciphertext = 40c02b9690c4dc04daef7f6afe5c
|
|
||||||
|
|
||||||
+Cipher = aes-128-siv
|
|
||||||
+Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
|
|
||||||
+Tag = f1c5fdeac1f15a26779c1501f9fb7588
|
|
||||||
+Plaintext = 112233445566778899aabbccddee
|
|
||||||
+Ciphertext = 27e946c669088ab06da58c5c831c
|
|
||||||
+
|
|
||||||
+Cipher = aes-128-siv
|
|
||||||
+Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
|
|
||||||
+AAD =
|
|
||||||
+Tag = d1022f5b3664e5a4dfaf90f85be6f28a
|
|
||||||
+Plaintext = 112233445566778899aabbccddee
|
|
||||||
+Ciphertext = b66cff6b8eca0b79f083b39a0901
|
|
||||||
+
|
|
||||||
Cipher = aes-128-siv
|
|
||||||
Key = 7f7e7d7c7b7a79787776757473727170404142434445464748494a4b4c4d4e4f
|
|
||||||
AAD = 00112233445566778899aabbccddeeffdeaddadadeaddadaffeeddccbbaa99887766554433221100
|
|
||||||
@@ -29,6 +42,24 @@ Tag = 7bdb6e3b432667eb06f4d14bff2fbd0f
|
|
||||||
Plaintext = 7468697320697320736f6d6520706c61696e7465787420746f20656e6372797074207573696e67205349562d414553
|
|
||||||
Ciphertext = cb900f2fddbe404326601965c889bf17dba77ceb094fa663b7a3f748ba8af829ea64ad544a272e9c485b62a3fd5c0d
|
|
||||||
|
|
||||||
+Cipher = aes-128-siv
|
|
||||||
+Key = 7f7e7d7c7b7a79787776757473727170404142434445464748494a4b4c4d4e4f
|
|
||||||
+AAD = 00112233445566778899aabbccddeeffdeaddadadeaddadaffeeddccbbaa99887766554433221100
|
|
||||||
+AAD =
|
|
||||||
+AAD = 09f911029d74e35bd84156c5635688c0
|
|
||||||
+Tag = 83ce6593a8fa67eb6fcd2819cedfc011
|
|
||||||
+Plaintext = 7468697320697320736f6d6520706c61696e7465787420746f20656e6372797074207573696e67205349562d414553
|
|
||||||
+Ciphertext = 30d937b42f71f71f93fc2d8d702d3eac8dc7651eefcd81120081ff29d626f97f3de17f2969b691c91b69b652bf3a6d
|
|
||||||
+
|
|
||||||
+Cipher = aes-128-siv
|
|
||||||
+Key = 7f7e7d7c7b7a79787776757473727170404142434445464748494a4b4c4d4e4f
|
|
||||||
+AAD =
|
|
||||||
+AAD = 00112233445566778899aabbccddeeffdeaddadadeaddadaffeeddccbbaa99887766554433221100
|
|
||||||
+AAD = 09f911029d74e35bd84156c5635688c0
|
|
||||||
+Tag = 77dd4a44f5a6b41302121ee7f378de25
|
|
||||||
+Plaintext = 7468697320697320736f6d6520706c61696e7465787420746f20656e6372797074207573696e67205349562d414553
|
|
||||||
+Ciphertext = 0fcd664c922464c88939d71fad7aefb864e501b0848a07d39201c1067a7288f3dadf0131a823a0bc3d588e8564a5fe
|
|
||||||
+
|
|
||||||
Cipher = aes-192-siv
|
|
||||||
Key = fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfefffffefdfcfbfaf9f8f7f6f5f4f3f2f1f0
|
|
||||||
AAD = 101112131415161718191a1b1c1d1e1f2021222324252627
|
|
||||||
|
|
@ -1,121 +0,0 @@
|
|||||||
https://github.com/openssl/openssl/commit/fc9867c1e03c22ebf56943be205202e576aabf23
|
|
||||||
https://github.com/openssl/openssl/commit/4791e79b8803924b28c19af4d4036ad85335110d
|
|
||||||
|
|
||||||
From fc9867c1e03c22ebf56943be205202e576aabf23 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matt Caswell <matt@openssl.org>
|
|
||||||
Date: Thu, 6 Jul 2023 16:36:35 +0100
|
|
||||||
Subject: [PATCH] Fix DH_check() excessive time with over sized modulus
|
|
||||||
|
|
||||||
The DH_check() function checks numerous aspects of the key or parameters
|
|
||||||
that have been supplied. Some of those checks use the supplied modulus
|
|
||||||
value even if it is excessively large.
|
|
||||||
|
|
||||||
There is already a maximum DH modulus size (10,000 bits) over which
|
|
||||||
OpenSSL will not generate or derive keys. DH_check() will however still
|
|
||||||
perform various tests for validity on such a large modulus. We introduce a
|
|
||||||
new maximum (32,768) over which DH_check() will just fail.
|
|
||||||
|
|
||||||
An application that calls DH_check() and supplies a key or parameters
|
|
||||||
obtained from an untrusted source could be vulnerable to a Denial of
|
|
||||||
Service attack.
|
|
||||||
|
|
||||||
The function DH_check() is itself called by a number of other OpenSSL
|
|
||||||
functions. An application calling any of those other functions may
|
|
||||||
similarly be affected. The other functions affected by this are
|
|
||||||
DH_check_ex() and EVP_PKEY_param_check().
|
|
||||||
|
|
||||||
CVE-2023-3446
|
|
||||||
|
|
||||||
Reviewed-by: Paul Dale <pauli@openssl.org>
|
|
||||||
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
|
|
||||||
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
||||||
Reviewed-by: Tomas Mraz <tomas@openssl.org>
|
|
||||||
(Merged from https://github.com/openssl/openssl/pull/21451)
|
|
||||||
|
|
||||||
(cherry picked from commit 9e0094e2aa1b3428a12d5095132f133c078d3c3d)
|
|
||||||
--- a/crypto/dh/dh_check.c
|
|
||||||
+++ b/crypto/dh/dh_check.c
|
|
||||||
@@ -152,6 +152,12 @@ int DH_check(const DH *dh, int *ret)
|
|
||||||
if (nid != NID_undef)
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
+ /* Don't do any checks at all with an excessively large modulus */
|
|
||||||
+ if (BN_num_bits(dh->params.p) > OPENSSL_DH_CHECK_MAX_MODULUS_BITS) {
|
|
||||||
+ ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_LARGE);
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
if (!DH_check_params(dh, ret))
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
--- a/include/openssl/dh.h
|
|
||||||
+++ b/include/openssl/dh.h
|
|
||||||
@@ -92,7 +92,11 @@ int EVP_PKEY_CTX_get0_dh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char **ukm);
|
|
||||||
# include <openssl/dherr.h>
|
|
||||||
|
|
||||||
# ifndef OPENSSL_DH_MAX_MODULUS_BITS
|
|
||||||
-# define OPENSSL_DH_MAX_MODULUS_BITS 10000
|
|
||||||
+# define OPENSSL_DH_MAX_MODULUS_BITS 10000
|
|
||||||
+# endif
|
|
||||||
+
|
|
||||||
+# ifndef OPENSSL_DH_CHECK_MAX_MODULUS_BITS
|
|
||||||
+# define OPENSSL_DH_CHECK_MAX_MODULUS_BITS 32768
|
|
||||||
# endif
|
|
||||||
|
|
||||||
# define OPENSSL_DH_FIPS_MIN_MODULUS_BITS 1024
|
|
||||||
|
|
||||||
From 4791e79b8803924b28c19af4d4036ad85335110d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matt Caswell <matt@openssl.org>
|
|
||||||
Date: Fri, 7 Jul 2023 14:39:48 +0100
|
|
||||||
Subject: [PATCH] Add a test for CVE-2023-3446
|
|
||||||
|
|
||||||
Confirm that the only errors DH_check() finds with DH parameters with an
|
|
||||||
excessively long modulus is that the modulus is too large. We should not
|
|
||||||
be performing time consuming checks using that modulus.
|
|
||||||
|
|
||||||
Reviewed-by: Paul Dale <pauli@openssl.org>
|
|
||||||
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
|
|
||||||
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
|
|
||||||
Reviewed-by: Tomas Mraz <tomas@openssl.org>
|
|
||||||
(Merged from https://github.com/openssl/openssl/pull/21451)
|
|
||||||
|
|
||||||
(cherry picked from commit ede782b4c8868d1f09c9cd237f82b6f35b7dba8b)
|
|
||||||
--- a/test/dhtest.c
|
|
||||||
+++ b/test/dhtest.c
|
|
||||||
@@ -73,7 +73,7 @@ static int dh_test(void)
|
|
||||||
goto err1;
|
|
||||||
|
|
||||||
/* check fails, because p is way too small */
|
|
||||||
- if (!DH_check(dh, &i))
|
|
||||||
+ if (!TEST_true(DH_check(dh, &i)))
|
|
||||||
goto err2;
|
|
||||||
i ^= DH_MODULUS_TOO_SMALL;
|
|
||||||
if (!TEST_false(i & DH_CHECK_P_NOT_PRIME)
|
|
||||||
@@ -124,6 +124,17 @@ static int dh_test(void)
|
|
||||||
/* We'll have a stale error on the queue from the above test so clear it */
|
|
||||||
ERR_clear_error();
|
|
||||||
|
|
||||||
+ /* Modulus of size: dh check max modulus bits + 1 */
|
|
||||||
+ if (!TEST_true(BN_set_word(p, 1))
|
|
||||||
+ || !TEST_true(BN_lshift(p, p, OPENSSL_DH_CHECK_MAX_MODULUS_BITS)))
|
|
||||||
+ goto err3;
|
|
||||||
+
|
|
||||||
+ /*
|
|
||||||
+ * We expect no checks at all for an excessively large modulus
|
|
||||||
+ */
|
|
||||||
+ if (!TEST_false(DH_check(dh, &i)))
|
|
||||||
+ goto err3;
|
|
||||||
+
|
|
||||||
/*
|
|
||||||
* II) key generation
|
|
||||||
*/
|
|
||||||
@@ -138,7 +149,7 @@ static int dh_test(void)
|
|
||||||
goto err3;
|
|
||||||
|
|
||||||
/* ... and check whether it is valid */
|
|
||||||
- if (!DH_check(a, &i))
|
|
||||||
+ if (!TEST_true(DH_check(a, &i)))
|
|
||||||
goto err3;
|
|
||||||
if (!TEST_false(i & DH_CHECK_P_NOT_PRIME)
|
|
||||||
|| !TEST_false(i & DH_CHECK_P_NOT_SAFE_PRIME)
|
|
||||||
|
|
Binary file not shown.
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2023 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 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="The AWS SDK for Python"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/boto3/
|
||||||
|
https://pypi.org/project/boto3/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||||
|
inherit git-r3
|
||||||
|
BOTOCORE_PV=${PV}
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/boto/boto3/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
# botocore is x.(y+3).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# don't lock versions to narrow ranges
|
||||||
|
sed -e '/botocore/ d' \
|
||||||
|
-e '/jmespath/ d' \
|
||||||
|
-e '/s3transfer/ d' \
|
||||||
|
-i setup.py || die
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||||
|
epytest tests/{functional,unit} \
|
||||||
|
-p xdist -n "$(makeopts_jobs)" --dist=worksteal
|
||||||
|
}
|
@ -0,0 +1,68 @@
|
|||||||
|
# Copyright 1999-2023 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 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/boto/botocore/
|
||||||
|
https://pypi.org/project/botocore/
|
||||||
|
"
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/boto/botocore/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# unpin deps
|
||||||
|
sed -i -e "s:>=.*':':" setup.py || die
|
||||||
|
|
||||||
|
# unbundle deps
|
||||||
|
rm -r botocore/vendored || die
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# rely on bundled six
|
||||||
|
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||||
|
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||||
|
)
|
||||||
|
|
||||||
|
local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||||
|
epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)"
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="A library for comparing dictionaries, iterables, strings and other objects"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/seperman/deepdiff/
|
||||||
|
https://pypi.org/project/deepdiff/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/pyyaml-6.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/click-8.1.3[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
>=dev-python/jsonpickle-3.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/numpy-1.23.5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pydantic[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tomli-w[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/tomli[${PYTHON_USEDEP}]
|
||||||
|
' 3.10)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1,2 +1,3 @@
|
|||||||
DIST nbconvert-7.8.0.tar.gz 850287 BLAKE2B c499f9df8dd7eb4d337f0b7b6f79cb6046361900747fc1cbd84426b2fda35f9e453002341b322b32f04187e0fd3e375dcc4338e3b4bc7455ddc4f2185a69ed1d SHA512 e332f5561050244c79e728c71e51b9ecd66c99c1550bb95bc3cb710b1bb67a3513c0a7c00cb3e333c032e5228f251b7be036162c77cb375900c5eacc923fc197
|
DIST nbconvert-7.8.0.tar.gz 850287 BLAKE2B c499f9df8dd7eb4d337f0b7b6f79cb6046361900747fc1cbd84426b2fda35f9e453002341b322b32f04187e0fd3e375dcc4338e3b4bc7455ddc4f2185a69ed1d SHA512 e332f5561050244c79e728c71e51b9ecd66c99c1550bb95bc3cb710b1bb67a3513c0a7c00cb3e333c032e5228f251b7be036162c77cb375900c5eacc923fc197
|
||||||
DIST nbconvert-7.9.1.tar.gz 850278 BLAKE2B 718eb528911c85f7a60285590fdf6d0bea6b9f6a11b9764506cfeb46ace20b32582947a7f63f7c1a8c3d631cc2b032a683cabcad9f52414a260a05acc717d1dc SHA512 d50cec9fdb89d1b6e31fe24aa9146207aea86438b96d8f7a5d9ee4d18f41f0c53ae1855e0701d2ddceb00b5e97bf849c63790a674ac2346546ab7285ee3c9a6e
|
DIST nbconvert-7.9.1.tar.gz 850278 BLAKE2B 718eb528911c85f7a60285590fdf6d0bea6b9f6a11b9764506cfeb46ace20b32582947a7f63f7c1a8c3d631cc2b032a683cabcad9f52414a260a05acc717d1dc SHA512 d50cec9fdb89d1b6e31fe24aa9146207aea86438b96d8f7a5d9ee4d18f41f0c53ae1855e0701d2ddceb00b5e97bf849c63790a674ac2346546ab7285ee3c9a6e
|
||||||
|
DIST nbconvert-7.9.2.tar.gz 850333 BLAKE2B d2d2b6f04e879a78151e606c24b03dd4655b37cc13a1302d7d7a8fd880d9728f0a144f25aefbfaa4b63d4a510811ee6af6d92cf9506d2c1718d7b319cb7ef745 SHA512 43ed36aae813f77bfd50aebfed4c650e552fc5a438e607b924aa2907f23c53c61ec3ddff1051d77e8b0ad968fcef17e6b010b1e7876b17b380d2e12cfeecf631
|
||||||
|
@ -0,0 +1,82 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=hatchling
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1 multiprocessing pypi virtualx
|
||||||
|
|
||||||
|
DESCRIPTION="Converting Jupyter Notebooks"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://nbconvert.readthedocs.io/
|
||||||
|
https://github.com/jupyter/nbconvert/
|
||||||
|
https://pypi.org/project/nbconvert/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/bleach[${PYTHON_USEDEP}]
|
||||||
|
dev-python/defusedxml[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jinja-3.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jupyterlab-pygments[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/mistune-4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/nbformat-5.7[${PYTHON_USEDEP}]
|
||||||
|
dev-python/packaging[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pygments-2.4.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/tinycss2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ipywidgets-7[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flaky[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
mkdir -p share/templates/classic/static || die
|
||||||
|
# tries to refetch stuff even if it's already present
|
||||||
|
sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' \
|
||||||
|
-i hatch_build.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
virtx distutils-r1_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name
|
||||||
|
tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor
|
||||||
|
# crazy qtweb* stuff, perhaps permissions
|
||||||
|
tests/exporters/test_qtpdf.py::TestQtPDFExporter::test_export
|
||||||
|
tests/exporters/test_qtpng.py::TestQtPNGExporter::test_export
|
||||||
|
)
|
||||||
|
|
||||||
|
# virtx implies nonfatal, make it explicit to avoid confusion
|
||||||
|
nonfatal epytest -n "$(makeopts_jobs)" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! has_version virtual/pandoc; then
|
||||||
|
einfo "Pandoc is required for converting to formats other than Python,"
|
||||||
|
einfo "HTML, and Markdown. If you need this functionality, install"
|
||||||
|
einfo "app-text/pandoc or app-text/pandoc-bin."
|
||||||
|
fi
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST nose2-0.13.0.gh.tar.gz 159435 BLAKE2B 33a0d395045933c41cd22c8c30a933fb0fc14a21abf5aa4af459687e28126b89f5aad4e57aa4b06a303c50581e785f38708c0071e9cfe37c609046310540c595 SHA512 d2f16eddab75cecd864005eee3d29159e2c83d843c79df73f65d6dfacab7c195ae9b5e6d059848689d6b71da89035df8eb73d277560c1967d732c1522b54bfc5
|
DIST nose2-0.13.0.gh.tar.gz 159435 BLAKE2B 33a0d395045933c41cd22c8c30a933fb0fc14a21abf5aa4af459687e28126b89f5aad4e57aa4b06a303c50581e785f38708c0071e9cfe37c609046310540c595 SHA512 d2f16eddab75cecd864005eee3d29159e2c83d843c79df73f65d6dfacab7c195ae9b5e6d059848689d6b71da89035df8eb73d277560c1967d732c1522b54bfc5
|
||||||
|
DIST nose2-0.14.0.gh.tar.gz 159460 BLAKE2B c72f939f597eead3a5d8be995fc4ae1988a0c76f5599dc9e040780520055aa1002d2d93f35527e56f90609d2f4ef560161bbf695bb3751cac71007dfbd06c522 SHA512 ed6b245bc57b63b011883f42dbda8b2797504afa02a102c43f4e7d3c6cbfcf7e8babca23f9341c7681b75dae12c2d269ea65a583c18d4d15b999df081fc0247b
|
||||||
|
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Unittest with plugins"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/nose-devs/nose2/
|
||||||
|
https://pypi.org/project/nose2/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/nose-devs/${PN}/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/coverage-4.4.1[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs \
|
||||||
|
dev-python/sphinx-rtd-theme \
|
||||||
|
dev-python/sphinx-issues
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
"${EPYTHON}" -m nose2.__main__ -vv || die "tests failed under ${EPYTHON}"
|
||||||
|
}
|
@ -1,11 +0,0 @@
|
|||||||
--- a/libshiboken/embed/signature_bootstrap.py 2022-09-08 23:54:19.419724864 +0200
|
|
||||||
+++ b/libshiboken/embed/signature_bootstrap.py 2022-09-08 23:55:04.494277606 +0200
|
|
||||||
@@ -211,7 +211,7 @@
|
|
||||||
return self if self._mod2path.get(fullname) else None
|
|
||||||
|
|
||||||
def load_module(self, fullname):
|
|
||||||
- import importlib
|
|
||||||
+ import importlib.machinery
|
|
||||||
import sys
|
|
||||||
|
|
||||||
filename = self._mod2path.get(fullname)
|
|
@ -1,11 +0,0 @@
|
|||||||
--- a/libshiboken/pep384impl.cpp 2022-09-23 08:47:20.000000000 +0200
|
|
||||||
+++ b/libshiboken/pep384impl.cpp 2023-01-04 08:07:17.000000000 +0100
|
|
||||||
@@ -751,7 +751,7 @@
|
|
||||||
#endif // IS_PY2
|
|
||||||
Shiboken::AutoDecRef privateobj(PyObject_GetAttr(
|
|
||||||
reinterpret_cast<PyObject *>(Py_TYPE(self)), Shiboken::PyMagicName::name()));
|
|
||||||
-#ifndef Py_LIMITED_API
|
|
||||||
+#if !defined(Py_LIMITED_API) && PY_VERSION_HEX < 0x03010000
|
|
||||||
return _Py_Mangle(privateobj, name);
|
|
||||||
#else
|
|
||||||
// PYSIDE-1436: _Py_Mangle is no longer exposed; implement it always.
|
|
@ -1,4 +1,5 @@
|
|||||||
DIST sqlglot-18.10.1.tar.gz 8803525 BLAKE2B 4e500eb9239fc5a3169a8f00aa022ff579f750c5c4c13e0906a4a6749216051a8b1f69d83b1d5f1ab118abb20f79b83f7881c5cef74d8d8a1066be1fcc1e588f SHA512 09ae7bb28cedd6d9c267694dbc38dcea75a860fb54e60d412f78a36629abba70e1be42683b220eec918f9f59782ce014625e1e7b15d17bc57dcf3658d49b95b7
|
DIST sqlglot-18.10.1.tar.gz 8803525 BLAKE2B 4e500eb9239fc5a3169a8f00aa022ff579f750c5c4c13e0906a4a6749216051a8b1f69d83b1d5f1ab118abb20f79b83f7881c5cef74d8d8a1066be1fcc1e588f SHA512 09ae7bb28cedd6d9c267694dbc38dcea75a860fb54e60d412f78a36629abba70e1be42683b220eec918f9f59782ce014625e1e7b15d17bc57dcf3658d49b95b7
|
||||||
DIST sqlglot-18.11.2.tar.gz 8833005 BLAKE2B eee98c392bd40cc552cdb09a6d4e60ff21d0f75c59d2961994409de7ac44d702c28aa01472e4406dbb6c8ac4d3496e71fc4ac2bea5e82c48d47cdd98111d5e79 SHA512 855686bd8bdaba68f564dbff0005c0362c83b146fd5d6da3a3d948657384201d2fe825a758f960650f540dcaef5c073197fdfb34fe788331d20bcaf44f03a10a
|
DIST sqlglot-18.11.2.tar.gz 8833005 BLAKE2B eee98c392bd40cc552cdb09a6d4e60ff21d0f75c59d2961994409de7ac44d702c28aa01472e4406dbb6c8ac4d3496e71fc4ac2bea5e82c48d47cdd98111d5e79 SHA512 855686bd8bdaba68f564dbff0005c0362c83b146fd5d6da3a3d948657384201d2fe825a758f960650f540dcaef5c073197fdfb34fe788331d20bcaf44f03a10a
|
||||||
|
DIST sqlglot-18.11.3.tar.gz 8835268 BLAKE2B 040cd5cc449ff57e6107cf23a4973df622754300e4a8010f43e85de0394dc79c4d5c12c80304f9ac3519515702d8c753e59449fd2f96d9cab9e10d926b9f9980 SHA512 948bea3055e05e843aa9b8c9ea83c8435256bd645e02ae3fc0a3de987852c6e96fadf0e5b914ddac10d12ece3b7dc982ef9467564666eac14b07baf53838339a
|
||||||
DIST sqlglot-18.8.0.tar.gz 8764753 BLAKE2B f1a01a1dc939a53476d396c66e74b1ec0550f557ef2eac1bec5001229964e2838655d361612b20527fae0f8112ccc940295cd0d92e83d5ba1f272f4d9372374b SHA512 3e98ff8ad4e6061c41d90b33c7982b46b8e06680d14e989923077d61ac93d390df64df6ff182a1c87911979dd84ac493275bbc091bcdcc9a1dfce2a4091c7fa7
|
DIST sqlglot-18.8.0.tar.gz 8764753 BLAKE2B f1a01a1dc939a53476d396c66e74b1ec0550f557ef2eac1bec5001229964e2838655d361612b20527fae0f8112ccc940295cd0d92e83d5ba1f272f4d9372374b SHA512 3e98ff8ad4e6061c41d90b33c7982b46b8e06680d14e989923077d61ac93d390df64df6ff182a1c87911979dd84ac493275bbc091bcdcc9a1dfce2a4091c7fa7
|
||||||
DIST sqlglot-18.9.0.tar.gz 8790638 BLAKE2B c951ee964b888dadaa3fd974bad89a689e9be9e5d17f42e5387c8c97152604205df7871294cb249ce9a0f6ed6a66fb41aba0f6596851e96252444c06908b91f1 SHA512 1e24d7936e94ced97ccc290634392434c064732017fa012b270632336663faa2315658e3dfc9d3bbd94648220f412c91cb9d0d4b97b3f26a21fa2129f4fce84a
|
DIST sqlglot-18.9.0.tar.gz 8790638 BLAKE2B c951ee964b888dadaa3fd974bad89a689e9be9e5d17f42e5387c8c97152604205df7871294cb249ce9a0f6ed6a66fb41aba0f6596851e96252444c06908b91f1 SHA512 1e24d7936e94ced97ccc290634392434c064732017fa012b270632336663faa2315658e3dfc9d3bbd94648220f412c91cb9d0d4b97b3f26a21fa2129f4fce84a
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 2023 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 distutils-r1 pypi optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="An easily customizable SQL parser and transpiler"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://sqlglot.com/
|
||||||
|
https://github.com/tobymao/sqlglot/
|
||||||
|
https://pypi.org/project/sqlglot/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
EPYTEST_IGNORE=(
|
||||||
|
# Tests require pyspark or duckdb which aren't in the tree.
|
||||||
|
# Pandas would be a requirement normally, but it gets ignored by proxy.
|
||||||
|
"tests/dataframe/integration/test_dataframe.py"
|
||||||
|
"tests/dataframe/integration/test_grouped_data.py"
|
||||||
|
"tests/dataframe/integration/test_session.py"
|
||||||
|
"tests/test_executor.py"
|
||||||
|
"tests/test_optimizer.py"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "simplifying timedelta expressions" dev-python/python-dateutil
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST tzlocal-5.0.1.gh.tar.gz 25032 BLAKE2B a1b0d2d2d6422c91752332d789efddad5f14e02e0097deaea1b8df2de20686d1e73dddb1864c5c643b20f8cfce56ff28adb741f7ae74b58409a60bf0eb172057 SHA512 b89293180e82334e3c1627845516ac25d8862c799d6d56a9eff13549bfafef2e4e4b0a624e9455e4310429f50b9d82fa984b7dfe8cdd9ed3dc7325ea89c0c5b1
|
DIST tzlocal-5.0.1.gh.tar.gz 25032 BLAKE2B a1b0d2d2d6422c91752332d789efddad5f14e02e0097deaea1b8df2de20686d1e73dddb1864c5c643b20f8cfce56ff28adb741f7ae74b58409a60bf0eb172057 SHA512 b89293180e82334e3c1627845516ac25d8862c799d6d56a9eff13549bfafef2e4e4b0a624e9455e4310429f50b9d82fa984b7dfe8cdd9ed3dc7325ea89c0c5b1
|
||||||
|
DIST tzlocal-5.1.gh.tar.gz 25413 BLAKE2B e4ed9c3161d049e9e00176d3ebf9a30db0f65b8c5141498d3a5d4df9e9bb299e6a307e462884640cbdaa781a3a5c07bc453e36d0eb772da0e22bbf6e474de187 SHA512 692d7ac8d04cdc3da43d75fbbd99b329b1436ef6b41540604bd65f667ac5f20219dc769d0379f41eb8723521e2ad4d2b9f399326f3d1a41b9f63c0db4341eb0d
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="tzinfo object for the local timezone"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/regebro/tzlocal/
|
||||||
|
https://pypi.org/project/tzlocal/
|
||||||
|
"
|
||||||
|
# symlinks aren't correctly preserved in sdist, as of 5.0.1
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/regebro/tzlocal/archive/${PV}.tar.gz
|
||||||
|
-> ${P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
|||||||
DIST xxhash-3.3.0.tar.gz 84262 BLAKE2B 9655bed8c30e8ecc7b3f12bebe9f845412e4fbc24daef11570eb8bf78deaf78fe4ea874a5ed334c965c055e6ad4e32f03f025d3ed815bb7a2249e8f80a0b04b0 SHA512 1418e0ff8d7dca7759bfe048ee42c2b1168b68ec69f431622f065c28bcf65b2e21f5951a8651f2151a17f8d1b19b47d5c305a545ae1e0d427c7cadf29e94b968
|
DIST xxhash-3.3.0.tar.gz 84262 BLAKE2B 9655bed8c30e8ecc7b3f12bebe9f845412e4fbc24daef11570eb8bf78deaf78fe4ea874a5ed334c965c055e6ad4e32f03f025d3ed815bb7a2249e8f80a0b04b0 SHA512 1418e0ff8d7dca7759bfe048ee42c2b1168b68ec69f431622f065c28bcf65b2e21f5951a8651f2151a17f8d1b19b47d5c305a545ae1e0d427c7cadf29e94b968
|
||||||
|
DIST xxhash-3.4.1.tar.gz 84220 BLAKE2B 9bf0bc3ea15adbcf9c1b0dd526f406bd20ca11b6c25c2c771e34952d9bd3d2e85d121304bebfe47590573b4da73acf28d1726d0c628239ec9591738462cee3c0 SHA512 ab3c1fa5ce3ebefa13f87c60a700a897a080c576f1ce492bae9c47eb24a9d182cc8e71bfed81c8f0413ee261fd5522bdf44187043c9703958b72fa77e46a8953
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_EXT=1
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..12} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi
|
||||||
|
|
||||||
|
DESCRIPTION="Python binding for the xxHash library"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/ifduyue/python-xxhash/
|
||||||
|
https://pypi.org/project/xxhash/
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-libs/xxhash-0.8.0
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests unittest
|
||||||
|
|
||||||
|
python_configure_all() {
|
||||||
|
export XXHASH_LINK_SO=1
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
cd tests || die
|
||||||
|
eunittest
|
||||||
|
}
|
Binary file not shown.
@ -1,19 +0,0 @@
|
|||||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
|
||||||
index 8eaa33f..5eaad69 100644
|
|
||||||
--- a/tests/Makefile.am
|
|
||||||
+++ b/tests/Makefile.am
|
|
||||||
@@ -23,14 +23,12 @@ if !CROSS_COMPILING
|
|
||||||
|
|
||||||
SCM_TESTS = \
|
|
||||||
log.scm \
|
|
||||||
- server.scm \
|
|
||||||
session.scm \
|
|
||||||
client-server.scm \
|
|
||||||
popen.scm \
|
|
||||||
shell.scm \
|
|
||||||
server-client.scm \
|
|
||||||
sssh-ssshd.scm \
|
|
||||||
- key.scm \
|
|
||||||
tunnel.scm \
|
|
||||||
dist.scm
|
|
||||||
|
|
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST ROPgadget-7.3.gh.tar.gz 10105592 BLAKE2B b5bfa7bbac6875c2a417c65f3415603c07fda64f96416bba7fc4d6ea653c81b97b7dc4d8573ad53f3353862a218afb15aeaf238880d82a568b6cbe1bb276eb99 SHA512 58457f77c24a1cc4cc703c75aed9303f63ce3eba699210239603e274f134ec06d73b2c519b78176fcaaf6794a81c5a59bb9bafeaa429f7085443372e1087e173
|
|
||||||
DIST ROPgadget-7.4.gh.tar.gz 10110520 BLAKE2B 1c5dc52d377b4b580aa72351ce7863c9f819b39cbf0732b33eb8330d0229166250978fde123f8bf1e3a45d5fe791b17da1a93a49c8c45755d5dc1b7f8e05bf52 SHA512 0906cf7e916967ac5f446778ddc4ffdca78b8cf23c584968c116fdd43bc8488624104fbb78380516a54356dc4c4d50c5d10cc462bdd507435d5f70f8b9d51fa7
|
DIST ROPgadget-7.4.gh.tar.gz 10110520 BLAKE2B 1c5dc52d377b4b580aa72351ce7863c9f819b39cbf0732b33eb8330d0229166250978fde123f8bf1e3a45d5fe791b17da1a93a49c8c45755d5dc1b7f8e05bf52 SHA512 0906cf7e916967ac5f446778ddc4ffdca78b8cf23c584968c116fdd43bc8488624104fbb78380516a54356dc4c4d50c5d10cc462bdd507435d5f70f8b9d51fa7
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
PYTHON_REQ_USE="sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation"
|
|
||||||
HOMEPAGE="https://shell-storm.org/project/ROPgadget/"
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/JonathanSalwan/ROPgadget/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
# Version 7.3 and older is incompatible to >=dev-libs/capstone-5.0_rc3.
|
|
||||||
# See https://bugs.gentoo.org/912164 and
|
|
||||||
# https://github.com/JonathanSalwan/ROPgadget/issues/190.
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
~dev-libs/capstone-5.0_rc2[python,${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
pushd test-suite-binaries || die
|
|
||||||
./test.sh || die
|
|
||||||
popd || die
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST gef-2023.06.tar.gz 187126 BLAKE2B e44606249d42760caf4e47f1b2f5e4592255fd8b81b28cab313352d10dcbc47a79a0130e102cc2618fe88dc47a5589ed6bee3e7d80878cc66f5e9abd775c103e SHA512 5362234ae6b753abe719280640148978cd25f535249a1ad9311ebd66f99138d59d5b9f07e9e93ebe00aab4702c73229c2f3d92e2d70fb5daf3f30a49e4d3b8ff
|
|
||||||
DIST gef-2023.08.tar.gz 230347 BLAKE2B b9b8fed1bdf81fa870583921c4bdd6df2d98112748c939da48acae7e636ec6e22dc751d8ed75e52e72ff0aa04835720293f0e82e99ff614c447f2a614c76e48a SHA512 d3a26826b991db7e8d475da945b16933ce046dd64381f5df60ea0fe310d0325f39b05142de5f75abbbd5693c93ad70ff25e982d0ff3526a6fe66fd7526a359c5
|
DIST gef-2023.08.tar.gz 230347 BLAKE2B b9b8fed1bdf81fa870583921c4bdd6df2d98112748c939da48acae7e636ec6e22dc751d8ed75e52e72ff0aa04835720293f0e82e99ff614c447f2a614c76e48a SHA512 d3a26826b991db7e8d475da945b16933ce046dd64381f5df60ea0fe310d0325f39b05142de5f75abbbd5693c93ad70ff25e982d0ff3526a6fe66fd7526a359c5
|
||||||
|
@ -1,82 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..11} )
|
|
||||||
|
|
||||||
DOCS_BUILDER="mkdocs"
|
|
||||||
DOCS_DEPEND="
|
|
||||||
dev-python/mkdocs-material
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit python-single-r1 docs wrapper
|
|
||||||
|
|
||||||
DESCRIPTION="A GDB Enhanced Features for exploit devs & reversers"
|
|
||||||
HOMEPAGE="https://github.com/hugsy/gef"
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/hugsy/gef"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/hugsy/gef/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
# Seem to hang right now?
|
|
||||||
RESTRICT="!test? ( test ) test"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-util/ropper[${PYTHON_SINGLE_USEDEP}]
|
|
||||||
sys-devel/gdb[python,${PYTHON_SINGLE_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-libs/capstone[python,${PYTHON_USEDEP}]
|
|
||||||
dev-libs/keystone[python,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pylint[${PYTHON_USEDEP}]
|
|
||||||
dev-util/unicorn[python,${PYTHON_USEDEP}]
|
|
||||||
')"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
)"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i -e '/pylint/d' tests/requirements.txt || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Tries to compile tests
|
|
||||||
:
|
|
||||||
|
|
||||||
docs_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto "/usr/share/${PN}"
|
|
||||||
doins -r *.py
|
|
||||||
|
|
||||||
python_optimize "${ED}/usr/share/${PN}"
|
|
||||||
|
|
||||||
make_wrapper "gdb-gef" \
|
|
||||||
"gdb -x \"/usr/share/${PN}/gef.py\"" || die
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "\nUsage:"
|
|
||||||
einfo " ~$ gdb-gef <program>\n"
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST cartridges-2.1.1.tar.gz 1337163 BLAKE2B 6d4a67d8d6ecc035e6b3b12a7d5c9160de2af46423264c670bb7e448d00393a6dc7742ab30047eaa888689d9ad0eb5baf9657523164761cff3b71d4b23a9d551 SHA512 0963e2e5183a8cbb8c1de1fbbf9f67beda65eb7396aaf644fcc30ed79a3dd8136e5e78d3a5b065c9b6f2a4cba4e3c715e412f1cc651a555195d9af5cc6f1e22b
|
|
||||||
DIST cartridges-2.2.1.tar.gz 1277149 BLAKE2B 5295253e8347254905b7911a8fc9bab44b953dbed90a9d7211eef651317bd38e6d04a7218cb4c418a7af5223bc53789e866c688cc85239b922d54722a9c055bc SHA512 f2e0ed8ef9f916cf0cdf1e1134286d1242948291b24cf6103c2171a232c97c05c3260aeb307f6cfaee6d78a473151440f2e0854bcb1ccaf1f854952b8a50a2c6
|
DIST cartridges-2.2.1.tar.gz 1277149 BLAKE2B 5295253e8347254905b7911a8fc9bab44b953dbed90a9d7211eef651317bd38e6d04a7218cb4c418a7af5223bc53789e866c688cc85239b922d54722a9c055bc SHA512 f2e0ed8ef9f916cf0cdf1e1134286d1242948291b24cf6103c2171a232c97c05c3260aeb307f6cfaee6d78a473151440f2e0854bcb1ccaf1f854952b8a50a2c6
|
||||||
DIST cartridges-2.3.tar.gz 1282083 BLAKE2B 1e6ef65ba223af5b65af922c90b61b5c1bca1859b4231632b2c2996258f562719340f7cb9c6facc6f8151bac8388bcfe3c549131bee9b249d0d03310a622538b SHA512 d5f2d29414d1e347e0459003890f018e585450cc3b6663e922696f04c1eff3a864364a08dfa17ea6fe4e87aa47c28485f0954a4376c1d1695039e478a7dbe7f4
|
DIST cartridges-2.3.tar.gz 1282083 BLAKE2B 1e6ef65ba223af5b65af922c90b61b5c1bca1859b4231632b2c2996258f562719340f7cb9c6facc6f8151bac8388bcfe3c549131bee9b249d0d03310a622538b SHA512 d5f2d29414d1e347e0459003890f018e585450cc3b6663e922696f04c1eff3a864364a08dfa17ea6fe4e87aa47c28485f0954a4376c1d1695039e478a7dbe7f4
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..12} )
|
|
||||||
|
|
||||||
inherit gnome2-utils meson python-single-r1 xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Simple game launcher written in Python using GTK4 and Libadwaita"
|
|
||||||
HOMEPAGE="https://github.com/kra-mo/cartridges/"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/kra-mo/${PN}.git"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/kra-mo/${PN}/archive/v${PV}.tar.gz
|
|
||||||
-> ${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
gui-libs/gtk:4[introspection]
|
|
||||||
gui-libs/libadwaita:1[introspection]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
BDEPEND="
|
|
||||||
dev-libs/appstream-glib
|
|
||||||
dev-util/blueprint-compiler
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-1.5.4-dont-validate-appstream.patch )
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
meson_src_install
|
|
||||||
|
|
||||||
python_fix_shebang "${ED}"/usr/bin
|
|
||||||
python_optimize "${ED}"/usr/share/cartridges/cartridges
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
gnome2_schemas_update
|
|
||||||
xdg_pkg_postinst
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
gnome2_schemas_update
|
|
||||||
xdg_pkg_postrm
|
|
||||||
}
|
|
Binary file not shown.
@ -1,26 +0,0 @@
|
|||||||
From e8a5b2ec185d78c918305cd85962823c6b4ef363 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Richard Hughes <richard@hughsie.com>
|
|
||||||
Date: Fri, 14 Oct 2022 15:15:23 +0100
|
|
||||||
Subject: [PATCH] Fix compile failure with -Dsystemd=false
|
|
||||||
|
|
||||||
Fixes https://gitlab.gnome.org/World/gnome-firmware/-/issues/47
|
|
||||||
---
|
|
||||||
src/gfu-common.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/gfu-common.c b/src/gfu-common.c
|
|
||||||
index dfb1d30..bf83778 100644
|
|
||||||
--- a/src/gfu-common.c
|
|
||||||
+++ b/src/gfu-common.c
|
|
||||||
@@ -234,7 +234,7 @@ gfu_common_system_shutdown(GError **error)
|
|
||||||
#else
|
|
||||||
g_set_error_literal(error,
|
|
||||||
FWUPD_ERROR,
|
|
||||||
- FWUPD_ERROR_INVALID_ARGS,
|
|
||||||
+ FWUPD_ERROR_NOT_SUPPORTED,
|
|
||||||
"No supported backend compiled in to perform the operation.");
|
|
||||||
#endif
|
|
||||||
return val != NULL;
|
|
||||||
--
|
|
||||||
GitLab
|
|
||||||
|
|
Binary file not shown.
@ -1,28 +0,0 @@
|
|||||||
From 0d0a3639b1c1e33aa49e979879e29064808a0a96 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Andreas Sturmlechner <asturm@gentoo.org>
|
|
||||||
Date: Sat, 26 Aug 2023 12:49:24 +0200
|
|
||||||
Subject: [PATCH] Fix broken HAVE_KWAYLAND assignment
|
|
||||||
|
|
||||||
Fixes up commit 3e58132f2315b99d0d8c8c233a8183079356506a
|
|
||||||
|
|
||||||
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 2d143f9..bfdcd12 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -80,7 +80,7 @@ if(NOT APPLE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
find_package(KF${KF_MAJOR_VERSION}Wayland ${KF_MIN_VERSION} CONFIG)
|
|
||||||
- set(HAVE_KWAYLAND KF${KF_MAJOR_VERSION}Wayland_FOUND)
|
|
||||||
+ set(HAVE_KWAYLAND ${KF${KF_MAJOR_VERSION}Wayland_FOUND})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_subdirectory(app)
|
|
||||||
--
|
|
||||||
2.42.0
|
|
||||||
|
|
Binary file not shown.
@ -1,24 +0,0 @@
|
|||||||
From 23c19c5f98602a4d69d1667fff99678308b28b5b Mon Sep 17 00:00:00 2001
|
|
||||||
From: liule <levie.liu@gmail.com>
|
|
||||||
Date: Fri, 6 Jan 2023 22:06:24 +0800
|
|
||||||
Subject: [PATCH] fix crash when the source image is less than 3 pixels
|
|
||||||
width/height
|
|
||||||
|
|
||||||
---
|
|
||||||
core/src/ReadBarcode.cpp | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/core/src/ReadBarcode.cpp b/core/src/ReadBarcode.cpp
|
|
||||||
index 905dd191c..5ac61e250 100644
|
|
||||||
--- a/core/src/ReadBarcode.cpp
|
|
||||||
+++ b/core/src/ReadBarcode.cpp
|
|
||||||
@@ -76,7 +76,8 @@ class LumImagePyramid
|
|
||||||
|
|
||||||
layers.push_back(iv);
|
|
||||||
// TODO: if only matrix codes were considered, then using std::min would be sufficient (see #425)
|
|
||||||
- while (threshold > 0 && std::max(layers.back().width(), layers.back().height()) > threshold)
|
|
||||||
+ while (threshold > 0 && std::max(layers.back().width(), layers.back().height()) > threshold &&
|
|
||||||
+ std::min(layers.back().width(), layers.back().height()) >= N)
|
|
||||||
addLayer();
|
|
||||||
#if 0
|
|
||||||
// Reversing the layers means we'd start with the smallest. that can make sense if we are only looking for a
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
Wed, 04 Oct 2023 20:10:14 +0000
|
Thu, 05 Oct 2023 06:10:10 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed, 04 Oct 2023 20:10:14 +0000
|
Thu, 05 Oct 2023 06:10:11 +0000
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=test? ( dev-python/pytest-forked[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pytest-xdist[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) test? ( >=dev-python/botocore-1.31.60[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/colorama[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/docutils[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/rsa[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/s3transfer-0.7.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] !app-admin/awscli-bin >=dev-python/pytest-7.3.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-67.8.0-r1[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=Universal Command Line Environment for AWS
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/aws/aws-cli/ https://pypi.org/project/awscli/
|
||||||
|
INHERIT=bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
IUSE=test python_targets_python3_10 python_targets_python3_11 python_targets_python3_12
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=>=dev-python/botocore-1.31.60[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/colorama[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/docutils[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/rsa[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/s3transfer-0.7.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] !app-admin/awscli-bin python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/aws/aws-cli/archive/1.29.60.tar.gz -> aws-cli-1.29.60.gh.tar.gz
|
||||||
|
_eclasses_=bash-completion-r1 f5e7a020fd9c741740756aac61bf75ff distutils-r1 24344aec2be39c69d9f279b5415298ce flag-o-matic be27a904c614cb93ae037762dc69bcc2 multibuild 30dbf3c5a31db09a19f31ad0a68f2405 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils f3010c780f65d1bb5aea15a9af1adc9c out-of-source-utils 1a9007554652a6e627edbccb3c25a439 python-r1 8a28fa6d3e3bc96ff8a7eff2badbe71f python-utils-r1 12aa0037eb004139215ff04894d52b28 toolchain-funcs fbbbc99d10168de2926e06da7169b8dc
|
||||||
|
_md5_=fa06e79acff4953f2ae1c47398088ddc
|
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
BDEPEND=test? ( dev-python/pytest[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pytest-xdist[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/typing-extensions[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) doc? ( || ( ( dev-lang/python:3.11 >=dev-python/sphinx-5.3.0[python_targets_python3_11(-)] dev-python/sphinx-rtd-theme[python_targets_python3_11(-)] ) ( dev-lang/python:3.10 >=dev-python/sphinx-5.3.0[python_targets_python3_10(-)] dev-python/sphinx-rtd-theme[python_targets_python3_10(-)] ) ) ) test? ( dev-python/chardet[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/cryptography-3.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/josepy-1.13.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pyopenssl-23.1.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyrfc3339[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pytz-2019.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/requests-2.20.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/requests-toolbelt-0.3.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pytest-7.3.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] ) python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) >=dev-python/gpep517-13[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/setuptools-67.8.0-r1[python_targets_python3_10(-)?,python_targets_python3_11(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=An implementation of the ACME protocol
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/certbot/certbot https://letsencrypt.org/
|
||||||
|
INHERIT=distutils-r1
|
||||||
|
IUSE=doc test python_targets_python3_10 python_targets_python3_11
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86
|
||||||
|
LICENSE=Apache-2.0
|
||||||
|
RDEPEND=dev-python/chardet[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/cryptography-3.2.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/josepy-1.13.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pyopenssl-23.1.1[python_targets_python3_10(-)?,python_targets_python3_11(-)?] dev-python/pyrfc3339[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/pytz-2019.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/requests-2.20.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] >=dev-python/requests-toolbelt-0.3.0[python_targets_python3_10(-)?,python_targets_python3_11(-)?] python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/certbot/certbot/archive/v2.7.0.tar.gz -> certbot-2.7.0.gh.tar.gz
|
||||||
|
_eclasses_=distutils-r1 24344aec2be39c69d9f279b5415298ce flag-o-matic be27a904c614cb93ae037762dc69bcc2 multibuild 30dbf3c5a31db09a19f31ad0a68f2405 multilib c19072c3cd7ac5cb21de013f7e9832e0 multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils f3010c780f65d1bb5aea15a9af1adc9c out-of-source-utils 1a9007554652a6e627edbccb3c25a439 python-r1 8a28fa6d3e3bc96ff8a7eff2badbe71f python-utils-r1 12aa0037eb004139215ff04894d52b28 toolchain-funcs fbbbc99d10168de2926e06da7169b8dc
|
||||||
|
_md5_=55239053b6d64fd5ff429a4c22945084
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue