Sync with portage [Thu Jan 13 17:17:14 MSK 2022].

akrasnyh 2178
root 2 years ago
parent 25a4c1bb05
commit 88a5069c98

Binary file not shown.

Binary file not shown.

@ -7,4 +7,5 @@ DIST awscli-1.22.29.tar.gz 2132978 BLAKE2B 67dd83bfd9799c3a49bc2439b29b581e21cd5
DIST awscli-1.22.31.tar.gz 2134102 BLAKE2B e1918352146b3176c8fc60cc6338a69b04a28023bb46c6c4a9af6cfdf1304a3c4813dfa798a990123052c761f64929b07d7e25d13f04d9e8bafdeedc04a6e28e SHA512 57a18437aa7780861257499b810c72c49dda7d9db391f3b5ac8c8509c153075e216e1dabaa67486b8ae08e008fafe400b865a20d32c43136d6af987a315cfb9c
DIST awscli-1.22.32.tar.gz 2135177 BLAKE2B 1e99a887e3b90c8fa81547677b4827f50afdad26136a02f225c66702f2f705ee140616cb3ebf407fc4c9bfd242df5cdefe35cf582c565ce1715fde229246173d SHA512 2df81763fbd2314fffe392b35e61f55451063d440a9aa8a62e36977faa49b808d2c0db9bed71c1d73696e53797d8f8f689942e9dd4636a4b6aec3e8f1f16297c
DIST awscli-1.22.33.tar.gz 2146397 BLAKE2B d78f92b077141d7204b2e3c7b2eda589e4430f633c469eefa10f59e2b801d67fc833dcffd55efed379136ea050dfe03f72ef3061e1e3e98a372e61d44f0879cd SHA512 a3474eace16aa90017d985d6f9fc4d927ed27e727bb2e4bbfeda48f0be7d63c9d3648e95904252739a2a94a5d5822c855e2b6b840dad3b6c88da273ec92c9bb7
DIST awscli-1.22.34.tar.gz 2146588 BLAKE2B 794fc2b579126e9c37eaca6aeb8f750cf91769e05ef7222b579e286ef6248d05d49e372abb5af63e1827f804127bfbd78cfe767b715a7f907e26e9c0af6f08a2 SHA512 5fc5f4f929fb64b494422db794cbd4dd2e8adf3d0a3436bc2368a2e9d036bac42e29beab13ee5f00c46b97bc875dbb3f1a7af684006a9dd96be7fcc61ff282fc
DIST awscli-1.22.5.tar.gz 2111679 BLAKE2B 970e472e8de43664d060023fdab9f54ce848c5655d8aa417efeae1b1efb52989fd021817521db9dc9cd64580cabbf0c30f3d0178034bdb1edf41feebbc690f46 SHA512 9177fe9da0fb8e9e28777bbf8f2c3fe089a08851b57a49fecefab43417fff187584638d17394289bf6df3d18d9052fd958bd3fbc8064327120af04a0cbe30494

@ -0,0 +1,58 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit bash-completion-r1 distutils-r1
DESCRIPTION="Universal Command Line Environment for AWS"
HOMEPAGE="https://pypi.org/project/awscli/"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/aws-cli-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
# botocore is x.(y+1).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(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.4.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"
distutils_enable_tests --install 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() {
distutils_install_for_testing
# integration tests require AWS credentials and Internet access
epytest tests/{functional,unit}
}
python_install_all() {
newbashcomp bin/aws_bash_completer aws
insinto /usr/share/zsh/site-functions
newins bin/aws_zsh_completer.sh _aws
distutils-r1_python_install_all
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
}

@ -1,3 +1,4 @@
DIST monit-5.27.2.tar.gz 1463790 BLAKE2B f00733261fd941f47ec04e63ed9e3617991cd8a069a14e59941e85d3a342537892019864d4716f821428adb57979aa270fcba9d57f573d49e897dfcd77cc133a SHA512 a45cbbf0905b165767e21d66103b460ea48948824d043881aba3de752e34a67bfb3b97f75153e3672d87a34a702d66ceee28160110654aa52fb82c668aa135b9
DIST monit-5.28.1.tar.gz 1470342 BLAKE2B 134f63f4560cf26a563cb8e1f063b291dd6d87159878a1918aef62d8ffe6138a64b4e34c1713b46cb80bfd04eddb0abab725aa7cbe59331dac9e41d0f286f883 SHA512 2683084aea88567309b4693247c27312e1cb4225175cb8643a1f980ed8fc8ecd549818e157e1bb6c0feafc306bc9217bbd2c0c501cb75ea2425b646955076e5a
DIST monit-5.29.0.tar.gz 1476102 BLAKE2B a4037c61e8d893b194317dc3c79d37f9b449d3524b91a06c0ff36a9c39016b12b0ce970c969fc10421412e6406c680714522379780cd80897a7a467f7b08450f SHA512 a69125bfa6fa9ea837f396e762a45e0cb41258c175d120c2af999ae1b500ce5cf5b57d774cc89299f70950a25ced5368c85455fffafd75677311c7912f86c49d
DIST monit-5.30.0.tar.gz 1476979 BLAKE2B deb3d58770e2cd33cd33094bc43a9375df567d389542439920f16ed864c743c348915ed37730a3ceb217c9e435d4fb3ba42038406cfcdf52c1382e83ef31ca24 SHA512 4d73eaf3785f40de2789bd1feceda5363cbdc8cbeb4431b14d09d72c65483afe09f68257cef4492304ad87314cd3e5e631bf1165d69abea93a9f70f73767655f

@ -1,4 +1,4 @@
# Copyright 2021 Gentoo Authors
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -11,7 +11,7 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86 ~amd64-linux"
IUSE="ipv6 pam ssl"
RDEPEND="sys-libs/zlib:=

@ -0,0 +1,60 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 pam systemd
DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system"
HOMEPAGE="http://mmonit.com/monit/"
SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux"
IUSE="ipv6 pam ssl"
RDEPEND="sys-libs/zlib:=
virtual/libcrypt:=
pam? ( sys-libs/pam )
ssl? ( dev-libs/openssl:0= )
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/bison
sys-devel/flex
"
src_prepare() {
default
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die
}
src_configure() {
local myeconfargs=(
$(use_with ipv6)
$(use_with pam)
$(use_with ssl)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
insinto /etc/logrotate.d
newins "${FILESDIR}"/monit.logrotate monit
insinto /etc; insopts -m600; doins monitrc
newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
systemd_dounit system/startup/${PN}.service
use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
dobashcomp system/bash/monit
}
pkg_postinst() {
elog "Sample configurations are available at:"
elog "http://mmonit.com/monit/documentation/"
}

@ -1 +1,2 @@
DIST yadm-2.4.0.tar.gz 96877 BLAKE2B 462a5816e106c4502007ff34ab338904e14a9851ebcfc7ff79a32a8b11fbbe3e0b7e6538ed6b489ab67e2205c84b2250749e3091c77fa663886dc9792078a576 SHA512 43e16a9502f9dd9f6c6dba3bb5403bb048244a406d44cb42a96a43e62bf7342efd5f302304dbedede61423546787fc929f378d68da9031207e70239ec4e265ce
DIST yadm-3.1.1.tar.gz 106890 BLAKE2B c85bfdaf15da8e88aea8e1b41af5396111fe95922f38c9709d09d76b6cb515d4aff99f0caaa225baf36bc408f6efe7f53e7b2febd45c78acf2b5f3c897b87290 SHA512 6be40ff6b1130be93649bb533d63ddc2dad626bb3022392863b600b31eef2529df443a9eb24915979bef2d1ea4ef04124668723ffb0ce0f86727f481a3997c74

@ -0,0 +1,88 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit bash-completion-r1 python-any-r1 python-utils-r1
DESCRIPTION="Git based tool for managing dotfiles"
HOMEPAGE="https://github.com/TheLocehiliosan/yadm"
SRC_URI="https://github.com/TheLocehiliosan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
app-shells/bash
app-crypt/gnupg
dev-vcs/git
"
BDEPEND="
test? (
${RDEPEND}
${PYTHON_DEPS}
$(python_gen_any_dep '
dev-python/pytest[${PYTHON_USEDEP}]
')
dev-tcltk/expect
)
"
python_check_deps() {
has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
}
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_compile() {
emake "${PN}.md"
}
src_test() {
# prevent system config having influence on tests
local -x GIT_CONFIG_NOSYSTEM=1
# prevent git branch warning, it confuses tests
local -x GIT_CONFIG_GLOBAL="${HOME}/.gitconfig"
git config --global init.defaultBranch master || die "setting default branch name failed"
# un-hardcode path to tmp, otherwise encryption tests fail
sed -i "s@^cache_dir = /tmp@cache_dir = ${TMPDIR}@" pytest.ini || die
local EPYTEST_DESELECT=(
test/test_alt.py # requires envtpl, not packaged
test/test_compat_jinja.py # ditto
test/test_unit_template_j2.py # ditto
test/test_syntax.py # needs new yamllint, not packaged yet
test/test_upgrade.py::test_upgrade # needs old version of yadm
test/test_compat_alt.py # tests obsolete features, broken
test/test_unit_template_esh.py # requires esh, not packaged
test/test_encryption.py::test_symmetric_encrypt[clean-encrypt_exists-bad_phrase] # hangs in sandbox
test/test_encryption.py::test_symmetric_encrypt[overwrite-encrypt_exists-bad_phrase] # ditto
)
epytest
}
src_install() {
einstalldocs
dobin "${PN}"
doman "${PN}.1"
dobashcomp completion/bash/yadm
insinto /usr/share/zsh/site-functions
doins completion/zsh/_${PN}
insinto /usr/share/fish/vendor_completions.d
doins completion/fish/${PN}.fish
}

Binary file not shown.

@ -1,3 +1,3 @@
DIST clamav-0.103.4.tar.gz 16425023 BLAKE2B beca05941ce462bd98473a5ac72b36e63afeef5dea3e591fd8c9426c2077e550139b198ea7d0d12ac2be311d18c0170b94255c07df3e9a0defd3646ba4879bc7 SHA512 422a8cb98d355be098b0a0c575e4f08cf964e992d10ee02e7600eb9db6dfa943efbd988489f268e81e4d2ef29cfe582b236688ea209d6d2e46467f3c08eb475e
DIST clamav-0.104.0.tar.gz 11896747 BLAKE2B c3ca32c1277052301a8bff94fec66a2df8f589bc9a673a00d0f45aaf9d8fd23e8bb87dde787d4188a6318d6677c3364e377ccec16d8e44667430713ce7e2a78d SHA512 7a052e6310ef92068acc384d10a64eed6d54d2d408d203dab92defbb1a276e8a193a2096a8028c8982323ba0be83d25602f026aeffa056878ce36aa325c0046c
DIST clamav-0.104.1.tar.gz 11953064 BLAKE2B 9ec419349674cd50ca6fed1167eb6bad8eebc5a4d949041da628ebc32426b826769a292c901c2c255cfa3516e398e4ca60f6338ef3780a93e6246561fe695c5d SHA512 2cd4f73de73a2bbc002e1aa85326ea30cce0073fc1a2d5d7d220465217a84eb97fac759010ae0af54d2f0ed725112a51a65a486491fa52388cd7652d7b5cfa5a
DIST clamav-0.103.5.tar.gz 16434316 BLAKE2B c5a21b72419a8cd731656d8a8bbc79c5850895f1d8cc56cb5d19eabe2356a5dfcf88e7dc9553071a24b2719bae07cf1a941da3dbed69da8ac4ae3b8897ab32fe SHA512 242423b507eacbbd31dbae6dd0325dff87da25bb8072f2cee7a5e7cab4b8eb5ee6196c759570c1d75986a2777f0f79f92cfbd6250a30ae5b53390c75b238c29a
DIST clamav-0.104.2.tar.gz 11950409 BLAKE2B 7d7eb9d22ca519f7ad0c171b6cab4b59cb52787a897ab31b9567166be2223f9ea89e79f42f1e4e0caf32fcb4b008f5ce755fa136566f85fe1de7808b436f80fa SHA512 8c89a05dec6650677125177434cc49ec2298701525508cdda52358e8f98086d80892287f6267f8b7fda0aef2ca361616cb584c3059f3b066bfde65f7f1ba2df5

@ -0,0 +1,239 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic systemd tmpfiles
DESCRIPTION="Clam Anti-Virus Scanner"
HOMEPAGE="https://www.clamav.net/"
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="bzip2 doc clamonacc clamdtop clamsubmit iconv ipv6 libclamav-only milter metadata-analysis-api selinux systemd test xml"
REQUIRED_USE="libclamav-only? ( !clamonacc !clamdtop !clamsubmit !milter !metadata-analysis-api )"
RESTRICT="!test? ( test )"
# Require acct-{user,group}/clamav at build time so that we can set
# the permissions on /var/lib/clamav in src_install rather than in
# pkg_postinst; calling "chown" on the live filesystem scares me.
CDEPEND="acct-group/clamav
acct-user/clamav
dev-libs/libltdl
dev-libs/libmspack
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
dev-libs/tomsfastmath
>=sys-libs/zlib-1.2.2:=
bzip2? ( app-arch/bzip2 )
clamdtop? ( sys-libs/ncurses:0 )
clamsubmit? ( net-misc/curl dev-libs/json-c:= )
elibc_musl? ( sys-libs/fts-standalone )
iconv? ( virtual/libiconv )
!libclamav-only? ( net-misc/curl )
dev-libs/openssl:0=
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
xml? ( dev-libs/libxml2 )"
# We need at least autoconf-2.69-r5 because that's the first (patched)
# version of it in Gentoo that supports ./configure --runstatedir.
BDEPEND=">=sys-devel/autoconf-2.69-r5
virtual/pkgconfig"
DEPEND="${CDEPEND}
metadata-analysis-api? ( dev-libs/json-c:* )
test? ( dev-libs/check )"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-clamav )"
PATCHES=(
"${FILESDIR}/${PN}-0.102.1-libxml2_pkgconfig.patch" #661328
"${FILESDIR}/${PN}-0.102.2-fix-curl-detection.patch" #709616
"${FILESDIR}/${PN}-0.103.0-system-tomsfastmath.patch" # 649394
"${FILESDIR}/${PN}-0.103.1-upstream-openrc.patch"
)
src_prepare() {
default
# Be extra sure that we're using the system copy of tomsfastmath
einfo "removing bundled copy of dev-libs/tomsfastmath"
rm -r libclamav/tomsfastmath || \
die "failed to remove bundled tomsfastmath"
AT_NO_RECURSIVE="yes" eautoreconf
}
src_configure() {
use elibc_musl && append-ldflags -lfts
use ppc64 && append-flags -mminimal-toc
# according to configure help it should be
# $(use_enable xml)
# but that does not work
# do not add this, since --disable-xml seems to override
# --without-xml
JSONUSE="--without-libjson"
if use clamsubmit || use metadata-analysis-api; then
# either of those 2 requires libjson.
# clamsubmit will be built as soon as libjson and curl are found
# but we only install the binary if requested
JSONUSE="--with-libjson=${EPREFIX}/usr"
fi
local myeconfargs=(
$(use_enable bzip2)
$(use_enable clamonacc)
$(use_enable clamdtop)
$(use_enable ipv6)
$(use_enable milter)
$(use_enable test check)
$(use_with xml)
$(use_with iconv)
${JSONUSE}
$(use_enable libclamav-only)
$(use_with !libclamav-only libcurl)
--with-system-libmspack
--cache-file="${S}"/config.cache
--disable-experimental
--disable-static
--disable-zlib-vcheck
--enable-id-check
--with-dbdir="${EPREFIX}"/var/lib/clamav
# Don't call --with-zlib=/usr (see bug #699296)
--with-zlib
--disable-llvm
--enable-openrc
--runstatedir=/run
)
econf "${myeconfargs[@]}"
}
src_install() {
default
rm -rf "${ED}"/var/lib/clamav || die
if ! use libclamav-only ; then
if use systemd; then
# The tmpfiles entry is behind USE=systemd because the
# upstream OpenRC service files should (and do) ensure that
# the directories they need exist and have the correct
# permissions without the help of opentmpfiles. There are
# years-old root exploits in opentmpfiles, the design is
# fundamentally flawed, and the maintainer is not up to
# the task of fixing it.
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
systemd_dounit "${FILESDIR}/clamd.service"
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
"freshclamd.service"
fi
insinto /etc/logrotate.d
newins "${FILESDIR}/clamd.logrotate" clamd
newins "${FILESDIR}/freshclam.logrotate" freshclam
use milter && \
newins "${FILESDIR}/clamav-milter.logrotate-r1" clamav-milter
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
sed -i -e "s:^\(Example\):\# \1:" \
-e "s/^#\(PidFile .*\)/\1/" \
-e "s/^#\(LocalSocket .*\)/\1/" \
-e "s/^#\(User .*\)/\1/" \
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
-e "s:^\#\(LogTime\).*:\1 yes:" \
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
"${ED}"/etc/clamd.conf.sample || die
sed -i -e "s:^\(Example\):\# \1:" \
-e "s/^#\(PidFile .*\)/\1/" \
-e "s/^#\(DatabaseOwner .*\)/\1/" \
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
"${ED}"/etc/freshclam.conf.sample || die
if use milter ; then
# Note: only keep the "unix" ClamdSocket and MilterSocket!
sed -i -e "s:^\(Example\):\# \1:" \
-e "s/^#\(PidFile .*\)/\1/" \
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
-e "s/^#\(User .*\)/\1/" \
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
"${ED}"/etc/clamav-milter.conf.sample || die
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
MILTER_NICELEVEL=19
START_MILTER=no
EOF
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
fi
local i
for i in clamd freshclam clamav-milter
do
if [[ -f "${ED}"/etc/"${i}".conf.sample ]]; then
mv "${ED}"/etc/"${i}".conf{.sample,} || die
fi
done
# These both need to be writable by the clamav user.
# TODO: use syslog by default; that's what it's for.
diropts -o clamav -g clamav
keepdir /var/lib/clamav
keepdir /var/log/clamav
fi
if use doc ; then
local HTML_DOCS=( docs/html/. )
einstalldocs
if ! use libclamav-only ; then
doman docs/man/*.[1-8]
fi
fi
find "${ED}" -name '*.la' -delete || die
}
src_test() {
if use libclamav-only ; then
ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..."
return 0
fi
emake quick-check
}
pkg_postinst() {
if ! use libclamav-only ; then
if use systemd ; then
tmpfiles_process clamav.conf
fi
fi
if use milter ; then
elog "For simple instructions how to setup the clamav-milter read the"
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
fi
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
if [[ ! -f "${databases}" ]] ; then
ewarn "You must run freshclam manually to populate the virus database"
ewarn "before starting clamav for the first time."
fi
ewarn "This version of ClamAV provides separate OpenRC services"
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
ewarn "clamd service now starts only the clamd daemon itself. You"
ewarn "should add freshclam (and perhaps clamav-milter) to any"
ewarn "runlevels that previously contained clamd."
}

@ -1,219 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake flag-o-matic python-any-r1 systemd tmpfiles
DESCRIPTION="Clam Anti-Virus Scanner"
HOMEPAGE="https://www.clamav.net/"
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="doc clamonacc +clamapp libclamav-only milter rar selinux systemd test"
REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter )
clamonacc? ( clamapp )
milter? ( clamapp )
test? ( !libclamav-only )"
RESTRICT="!test? ( test )"
# Require acct-{user,group}/clamav at build time so that we can set
# the permissions on /var/lib/clamav in src_install rather than in
# pkg_postinst; calling "chown" on the live filesystem scares me.
CDEPEND="acct-group/clamav
acct-user/clamav
dev-libs/libltdl
dev-libs/libmspack
dev-libs/json-c:=
dev-libs/libpcre2
>=sys-libs/zlib-1.2.2:=
app-arch/bzip2
clamapp? ( sys-libs/ncurses:= net-misc/curl )
elibc_musl? ( sys-libs/fts-standalone )
virtual/libiconv
!libclamav-only? ( net-misc/curl )
dev-libs/openssl:=
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
dev-libs/libxml2
rar? ( app-arch/unrar )
test? ( dev-python/pytest )"
# TODO: there is no way to use this with the new build system instead of the bundled one
# dev-libs/tomsfastmath
BDEPEND="virtual/pkgconfig
doc? ( app-doc/doxygen )
test? (
${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
)"
DEPEND="${CDEPEND}
test? ( dev-libs/check )"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-clamav )"
PATCHES=(
"${FILESDIR}/${PN}-0.104.0-ncurses_detection.patch"
)
python_check_deps() {
has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
}
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_configure() {
use elibc_musl && append-ldflags -lfts
use ppc64 && append-flags -mminimal-toc
local mycmakeargs=(
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
-DENABLE_EXPERIMENTAL=OFF
-DENABLE_JSON_SHARED=ON
-DENABLE_APP=$(usex clamapp ON OFF)
-DENABLE_MILTER=$(usex milter ON OFF)
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
-DCLAMAV_USER="clamav"
-DCLAMAV_GROUP="clamav"
-DBYTECODE_RUNTIME=interpreter
-DOPTIMIZE=ON
-DENABLE_EXTERNAL_MSPACK=ON
-DENABLE_MAN_PAGES=ON
-DENABLE_DOXYGEN=$(usex doc)
-DENABLE_UNRAR=$(usex rar ON OFF)
-DENABLE_TESTS=$(usex test ON OFF)
# Used to enable some more tests but doesn't behave well in
# sandbox necessarily(?) + needs certain debug symbols present
# in e.g. glibc.
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
-DENABLE_STATIC_LIB=OFF
-DENABLE_SHARED_LIB=ON
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
)
cmake_src_configure
}
src_install() {
cmake_src_install
# init scripts
newinitd "${FILESDIR}/clamd.initd" clamd
newinitd "${FILESDIR}/freshclam.initd" freshclam
use clamonacc && \
newinitd "${FILESDIR}/clamonacc.initd" clamonacc
use milter && \
newinitd "${FILESDIR}/clamav-milter.initd" clamav-milter
rm -rf "${ED}"/var/lib/clamav || die
if ! use libclamav-only ; then
if use systemd ; then
# The tmpfiles entry is behind USE=systemd because the
# upstream OpenRC service files should (and do) ensure that
# the directories they need exist and have the correct
# permissions without the help of opentmpfiles. There are
# years-old root exploits in opentmpfiles, the design is
# fundamentally flawed, and the maintainer is not up to
# the task of fixing it.
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
systemd_newunit "${FILESDIR}/clamd_at.service-0.104.0" "clamd@.service"
systemd_dounit "${FILESDIR}/clamd.service"
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
"freshclamd.service"
fi
if use clamapp ; then
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
sed -e "s:^\(Example\):\# \1:" \
-e "s/^#\(PidFile .*\)/\1/" \
-e "s/^#\(LocalSocket .*\)/\1/" \
-e "s/^#\(User .*\)/\1/" \
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
-e "s:^\#\(LogTime\).*:\1 yes:" \
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
"${ED}"/etc/clamav/clamd.conf.sample > \
"${ED}"/etc/clamav/clamd.conf || die
sed -e "s:^\(Example\):\# \1:" \
-e "s/^#\(PidFile .*\)/\1/" \
-e "s/^#\(DatabaseOwner .*\)/\1/" \
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
"${ED}"/etc/clamav/freshclam.conf.sample > \
"${ED}"/etc/clamav/freshclam.conf || die
if use milter ; then
# Note: only keep the "unix" ClamdSocket and MilterSocket!
sed -e "s:^\(Example\):\# \1:" \
-e "s/^#\(PidFile .*\)/\1/" \
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
-e "s/^#\(User .*\)/\1/" \
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
"${ED}"/etc/clamav/clamav-milter.conf || die
systemd_newunit "${FILESDIR}/clamav-milter.service-0.104.0" clamav-milter.service
fi
local i
for i in clamd freshclam clamav-milter
do
if [[ -f "${ED}"/etc/"${i}".conf.sample ]] ; then
mv "${ED}"/etc/"${i}".conf{.sample,} || die
fi
done
# These both need to be writable by the clamav user.
# TODO: use syslog by default; that's what it's for.
diropts -o clamav -g clamav
keepdir /var/lib/clamav
keepdir /var/log/clamav
fi
fi
if use doc ; then
local HTML_DOCS=( docs/html/. )
einstalldocs
fi
# Don't install man pages for utilities we didn't install
if use libclamav-only ; then
rm -r "${ED}"/usr/share/man || die
fi
find "${ED}" -name '*.la' -delete || die
}
pkg_postinst() {
if ! use libclamav-only ; then
if use systemd ; then
tmpfiles_process clamav.conf
fi
fi
if use milter ; then
elog "For simple instructions how to setup the clamav-milter read the"
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
fi
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
if [[ ! -f "${databases}" ]] ; then
ewarn "You must run freshclam manually to populate the virus database"
ewarn "before starting clamav for the first time."
fi
ewarn "This version of ClamAV provides separate OpenRC services"
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
ewarn "clamd service now starts only the clamd daemon itself. You"
ewarn "should add freshclam (and perhaps clamav-milter) to any"
ewarn "runlevels that previously contained clamd."
}

@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake flag-o-matic python-any-r1 systemd tmpfiles
@ -140,7 +140,7 @@ src_install() {
-e "s/^#\(PidFile .*\)/\1/" \
-e "s/^#\(DatabaseOwner .*\)/\1/" \
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamav/clamd.conf:" \
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
"${ED}"/etc/clamav/freshclam.conf.sample > \

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 2021 Gentoo Authors
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -27,6 +27,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${P}-glibc-2.34-resolv.patch
"${FILESDIR}"/${P}-library-include-endian.h-for-le32toh.patch
)
src_prepare() {

@ -0,0 +1,21 @@
https://bugs.gentoo.org/830325
https://gitlab.freedesktop.org/realmd/adcli/-/merge_requests/47
From: Henning Schild <henning@hennsch.de>
Date: Tue, 11 Jan 2022 08:22:55 +0100
Subject: [PATCH] library: include endian.h for le32toh
upstream commit 938065a751c0876eb837a27f8c1443fc7d0d2551
linking against musl libc we need to include that specifically, actually
also according to "man 3 endian".
--- a/library/adutil.c
+++ b/library/adutil.c
@@ -29,6 +29,7 @@
#include <assert.h>
#include <ctype.h>
+#include <endian.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>

Binary file not shown.

@ -12,7 +12,7 @@ DESCRIPTION="Collection of extra plugins for the gedit Text Editor"
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
LICENSE="GPL-2+"
KEYWORDS="amd64 ~ppc64 ~riscv x86"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
SLOT="0"
IUSE="charmap git +python terminal vala"

Binary file not shown.

@ -40,9 +40,7 @@ DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b
DIST cfg_aliases-0.1.1.crate 6009 BLAKE2B 6acfae9a89d3479f7ce1f0b5dbb13bfe27c006b936a96685606a61a06f69d17ab754a8a0d96c54213f758281c2fb32ac74d03a34e0f836dc7e438387955aac37 SHA512 238828445c5b48ca41ff88825af0a1ad30494e423bb6f89b6d5e4d26042afaa1ceb0e32041f7cddd79c3e15c6c82a1ddb9469c4b63a1ac52d4bcc1174900f880
DIST chrono-0.4.19.crate 155663 BLAKE2B c92c273fb6475bbb2546dfb75eaa23321bc8f9a5fa8a7c652f527649b96ff8718fa932f52b500b02a4acae7837df5bdb14f69cb821d4962be2790dbd1d023a54 SHA512 a119349bfc2243a249f1d18b1ae548a04b30fecb75913a56f26d1ff8c0eb53097a2674d9141e2094018191cbbc1620843fbddaf52999824e077c1157f0907980
DIST clang-sys-1.3.0.crate 37713 BLAKE2B ca7ee0771a970ed67b02d55d9027bab061c52d624540894cd00d09d847f6f35c58e76a1a6153309f8af709474df64b46f4764c2036883a688ffb8154d77ed123 SHA512 80c78c53a877cd8208730885214c135dd65a208cfd047dba7595283bbeec266f4d39cd1e0b3c2c69a474569ba68e4db93636e31a77c350d7bb2337e06ee7cb74
DIST clap-3.0.0-rc.7.crate 188935 BLAKE2B 68ee103dd6d46911c4c31a18833dabde085459ab7d22f2a5605af7c4359c254a6c4b37b508e26ea43620e3f2e645fc0fa6358da6aa93f43d46b930cad74705cc SHA512 b013466b88a549f5b7c7a9adb1d9981390bca4c3d1e18dc1554b8bbe69d3a8a57cc8a7bf5e21b0d306e982bde011ed7db633a8cc61458a79b5207808dd606338
DIST clap-3.0.1.crate 189189 BLAKE2B fb70451d86d02437b14f564a3ce302727b480b518bae78596adb2d3a74aa8ea0ea678116764d23c0041852f305359285d172163c25947a12641243e37711c9d8 SHA512 a3a745487ef73ddfa3554f3ddf4c9a5c54cde6beefc2c3e7ca9cf54b301b9eb1ebf20a5592a1018651c79c6844553cdab0f67ff9347e0f7e6facc48652f872af
DIST clap_derive-3.0.0-rc.7.crate 24689 BLAKE2B e4cd871b7c212221af7b6afabd785545256be1de24d691b1443c876024dbb045d157c1b8de0aae6eaa01a7ca8b5f954ba45fa24f54c4daa54748b149a921da8e SHA512 a490f805510f2ee4761c32d37469f48cdbb367971469882bcb43f457051bc169f75784d8bab146fcc5397c2bf740574cf81aa97c756e7e35566170ad4a7faaf2
DIST clap_derive-3.0.0.crate 24684 BLAKE2B dc56ba1b2d5dff063d19a1ed5d9188cd3cbb3fd65e11060b471cd842752d53a022b94f9acca0ad9c104d1b149667997433b7374991d3173c2ed87c372adb0bfd SHA512 4974f5df83fc27ffb132ad5247a3a368b8a3919f313d7e0477e3422640d1c6f19a30b11027ebedbab1a168e56a35e61474641741ec1dc75ca0ab3555a78d25fe
DIST clipboard-0.5.0.crate 10009 BLAKE2B 17aaafeb92be0dfb4ccfdb80a3d909e57491cc0adceedf378196f7bbd006d245adfdd9b2d2e075c2c041aa57eb1a0e6e306032966c30e63f94d86b0f9f7a11ce SHA512 a02994e68bb4ecdb1ba3db05e095474e67df4d73f69c92ab096913f4bd0f47ec6b62c8f0210fd67bb466e293c765888c315770e447f5c6e9b2e5c69f71d3e48a
DIST clipboard-win-2.2.0.crate 11079 BLAKE2B 5713e17a93eac4a1d299d42a6abe5db1eadbc90bf5e7c99e84b6b5febfc817bbc1c478533af8cbec7a8e58ebbc1a8f3d83bf351d105b55017cebab8048009390 SHA512 f869775bb2e6d84096034c26c888c9f671272232af74c02bda2a6c8f0d600652af581c0e94d875d8746b986314f61168bf7539042a65cb2ccbbf858141fa42e0
@ -149,7 +147,6 @@ DIST gpu-alloc-0.5.2.crate 17477 BLAKE2B 562601cc90eb3bff0a15aa0c2bc234a3806b323
DIST gpu-alloc-types-0.2.0.crate 3073 BLAKE2B 4010628ba21cab23dd8e23ebe38dafbf3ef072d686a67bdfc04ef3818d2341ea15bbec9be428ed638e57974c17db36614f9c9126faaeafeb4973fef0b8f95adb SHA512 37659361281d4e2a0785fbdf065c42d6e7922def36d225e1af78b392986647b904737f0f862c57ae0be28df24429ca999ac7a72b42d125a6f22564a92e80459e
DIST gpu-descriptor-0.2.2.crate 5890 BLAKE2B 06b7466dadc43dcf27b82c913e10d4750e069fa8a02a7d98074bbf388ba33048157a11ba858fd966ec21d11ac690d6d99350552bd259771c029fb2df98b1f2b7 SHA512 6cd9a05181f0c7bf241ddbe1ab173eac3fa93cce1c56aa50e405b8fbe7467d12c71a2f8fafabb634d97c6f0cb71d25237617ee52c2510c09d78b5d1d52ad6e93
DIST gpu-descriptor-types-0.1.1.crate 1956 BLAKE2B 70789874373f3e98b5659b59a71dbbf71260f331c2811b759fab8db91f15aa4b484b9d0554aa54c80e4dbd4bc308ae7b636b4e1a59dd35d0a1428e1a8bf88711 SHA512 e313ccd74ac4a7c97bf0ec85ba65d84635d7aeaeedb8764496dd5ba332e4797f7305505babb5663b5413646a0c964bf1780c93942850a8930edc1d3b400ebcd2
DIST h263-rs-03dcd486e88381635647a7386105cb802921b69c.tar.gz 82887 BLAKE2B d48468392793d5ff0bad9c186b27aba327757029d715c4822caaffc9226fda6ca7dd961e92b6a0f94cbfb66b8d89fa582e65a39bff04d99577c8a9f7fa8c6cfc SHA512 e71733373a79addc2a783313c80a0112e6be8bc98df572adf6edce0de7172ce1458ddbaa14e0d9f895f7c082ee37ebfbc30f20ab8efea6b4bc9679fd8743f826
DIST h263-rs-b810e8c3fdb8ea5df0b7808891076e774bee40a9.tar.gz 83412 BLAKE2B 05e4a085084dad8ebc2343f909add41fba74b168b1b075efaaa76eedf44cd4ff5bc332a520418bfeb5c65d44b7f3aff2c99d7303c1b0e2139fc77d6a4c038ca8 SHA512 cedf5764255a3ff769bffc2902b3721d1e699efe4376d88dd3310b8a1cfeb2d41e7fbd1312aa8c79660d0342d428297eed6680186d411f3e2df1e4d163994a29
DIST hashbrown-0.11.2.crate 85713 BLAKE2B 402f9f1bdcb92631206f9b72923ee35e28db8623e87469c0f1496664bc7185077013ab3c8aea68268241e5b2504f10cddc613a350abd4291050deda6c112e559 SHA512 c21ca68fd49bbb741901f59fed04cc124b8da99e2a4dfc26e2e5e1140637872b344612a01691bd30cc771575c571be15f756c84dde225441699cd2322af2ad6c
DIST heck-0.3.3.crate 10260 BLAKE2B dc756738081d855583f239908f671e9b5dde72ebfb577f6387b1a169817a03332464cf67071708a4c4f06b1ecb222118e8c719073ccdec1c0f938e5ef378b13f SHA512 b3498e033f44e03206421e565efec5b21d13107b60d35e4476331c44e6effd75c81f7678f2452c822eefd581209a2ffefd2034779cca2d8b4fac4583bbbf777f
@ -266,11 +263,9 @@ DIST proc-macro-crate-0.1.5.crate 8096 BLAKE2B 0a992f7aecf05335008731adc40e8ce6c
DIST proc-macro-crate-1.1.0.crate 8535 BLAKE2B 73e4d8c7c19d122a74961ddcbd04b003418e61bbddac092e14e4f4a85bb5bc132289096b719f533b83310e1d2daae3e125dc63cb96cd33c8fbd8aacc781a0d45 SHA512 dd23638f127c46c24e7bc360a9f108ced8124acf8b0558b95021c40a59259f80c27a6ee6e366d72fc120908ae254c58feb7a73969457fce94fc1d20130ee590c
DIST proc-macro-error-1.0.4.crate 25293 BLAKE2B ef918c5efaf2545ab38787c8d0c07315af00431139e4dff66346bf798e3a429f91d12a79776c150412fdda0b158a72badd5e1044ac4d6917f8482d4b5a7110b7 SHA512 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db
DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c439697e91d43f807eb61a5d13e3b0b4321ed50a74f3d699942c04b89b6fea0f156bb5d19ebcf22f9cd4b98a7e6917c437600ed823 SHA512 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495
DIST proc-macro2-1.0.32.crate 41003 BLAKE2B e8da70dae2ee75aa2c344602e55cbbf9ee5316ff6182c870b64f9fe4b33e60b9fb1a22137acf357615331f2e4079ab1e8964a2cb0234fa439d1b3d8d514c2eff SHA512 8631714c226c8a6fb330a529f42214216057eca85cfa63afd3de8600d2638e2be45efa54155ce73625883bcbabc2c56cb865ad9dda04e2c7092d955caed48abf
DIST proc-macro2-1.0.36.crate 41411 BLAKE2B d7d99aed41080b65680736d92dd027e21c9e9e0b03601915c000f5dea8f2b2d9126b116af32f2fb04b4fa407775f0131423055d0b62fdbfe87fa4ba7ec098beb SHA512 f31b0f2356af2746321c4f808ac9af87d21a5657c103ed6bc1383855e40caf49246cc8ec1edff58eacf193424abfc2163148b7298e527714e65e602f14b2e50a
DIST profiling-1.0.4.crate 1687823 BLAKE2B 2663476c2e7ab1e444382f3141787fdce5191d442c67a914ab9d57ab4fce0a5d8d77454ec7964f74a7a297de19ebbb9fae892be25c0a6835ae833c92b9e300cd SHA512 b826fb49ee0520a2836399f6bceb79cde3a307fa7820339500109067e9bf8522ebad5f7b65726851149130af05436c0a465d63967bc5bda8fd2d2df5c9a1b5e3
DIST quick-xml-8496365ec1412eb5ba5de350937b6bce352fa0ba.tar.gz 133091 BLAKE2B a6e703f72432fc29bce310307c933698e566ba93ae10048fcdac95abb93ef217002bed452dfcaa64a7ec86396f9eacb4e8650252618abfed0fcb0f11313d5ba7 SHA512 74b4f12120abfc29322faa185ac83f0a7a0cad7b9488978e1f9fcebc3930b0e2dec97dab8b87f9ccef1066908677f20b4a32978edc4bb9c39b3dcd7a92892436
DIST quote-1.0.10.crate 29960 BLAKE2B fbd4e3e0e0f452e64b30399fdfaef318cead505d05f0c61db61a7aa3cd5a3300220b4ba2656603f88bc0b535390ab4d0ec101a919ace1d442a3e979f08e8d48f SHA512 08613679b564ea7d750117d3a2907ba957d5d595bdfa8016344f99a232c72c6b08acb882dff45c34c9e4c8f93f879fb308b36125572722aac04fbc6bb0c666f0
DIST quote-1.0.14.crate 27252 BLAKE2B c744f787e311f9c42b2678f88978d68eaeae87324f07cb28042152a77244ff973e3bc93b8a277f590abe1b6b7c37f6b095ac4a75c96ef9590f7d9d397382b62f SHA512 b2879fa8ae5ca80fb8aba56da016d9b8aab0f1014cc67fe597f42999e8042b2178b98dcb09109edc74b6bd1dc542341a72d11e4880273ffaaf766da243e687e4
DIST radium-0.5.3.crate 7588 BLAKE2B ce39c4472bfa731745a0b78179e00b83116d729326d7a25dc629278949095ecc24a1eb13d4d39981e95536cad3f3fe2ac77ef9da27b8d462ed720bfc7624fbc5 SHA512 f4af86cddec991b11d86b1d976e212bb19da8d7e5ae1d40ee812391c21d3fc855bdb2770395baf7efcfdb5b2029a99c9038702a28f8c9e925e1b23f03c0e717a
DIST rand-0.8.4.crate 87406 BLAKE2B c09358416d2425a8243b623346fe71bf6f03fddab1a23fc752f4303ba7c241b3606629e4edf0ea720785bda0bca534acd675c2de079b78eac3df24a1ad6ba654 SHA512 77ae0e988e31e12f7d3f2c40814f930eecbc94c4aced827c337be78eeeabf39fde2dc5c4fda059afdc01285ff4afe30393c32694377de004feff16207606558e
@ -290,7 +285,6 @@ DIST regress-0.4.1.crate 99620 BLAKE2B 9141cad8f53e2a8e3ea3d746737ab5b8c75ed345f
DIST renderdoc-sys-0.7.1.crate 4592 BLAKE2B d5c543119a498bf295bf506b164945a3de6c48358891170278baea05db0f67813d9bd232cc52593fa02095d04cbb163fdfc9ef2c121eb1155ca761b89350cc15 SHA512 5ef5596705e4d9b752e132571960e4518b96e47b65ea799dc4fc87cc4abcf769e05dafd3a7cf78df4957ed32d42f714f9d78b2f3614597cd5a45352a3f509dab
DIST rle-decode-fast-1.0.1.crate 62490 BLAKE2B 34370186c8875c91b8d353b372518bc039c58061e0e0377c7596a9e100b047550e800c431f2b4a59556fc266eefcbc7846b53d5a4e10360fcbe435acf63249b2 SHA512 38b3565279b134dcb3bcba001b081ada73f36e4107bdee935036631b740b6e1d1f767e3965ad414e38c8606abc1733f898062bce01b8c19234f204adcbe05a4a
DIST ron-0.6.6.crate 45107 BLAKE2B 96fde52fa2c073cce3a7d10ffea7d9156b71c3d801fe822be702a3d1cbcfab61d87024ab98dd2458fa05fdb7ffadd9eb0cae36ad87b02504e8585e1909bf4894 SHA512 06a2a1c4760bfd6c5b6743fbdb533cab6955e68ad6f60a47077d3ee359e2ed1b2d448eeae45af15e8b40f63076806fa7c56c1b803d3d339c4713a15f6b7a5040
DIST ruffle-nightly-2021-12-22.tar.gz 7210584 BLAKE2B 2d8aada44368861619e1ade5bd525d891488c471da6ac23059ef687f883bcbeed56aae8e585686efc74afca3e3f9531732ee7b9b707ff5684faf0392a87e8e63 SHA512 5738cec4ca0050ebc69767549cbfce592568cb483f43dc9ef7a81c0bfd28dc4b319a631c0343914aa1b4a96e1111b4ac5c87f2431854c53fd9e2956caf1040e0
DIST ruffle-nightly-2022-01-08.tar.gz 7210511 BLAKE2B eb74d9be32f7169adc59d26eec1d7fb5459563c2266a6362b5044b89964febcacda97c06fba289e9e3071e2d43c4f6424962d6fae20a9aed7e3df4bbbad269da SHA512 5938d12fd728f5f1eb39b4df7c4214a4f71307a6a34200d5d4ba08e1ec6c718636d4d2972cccfbeced3c20fee519b079b4aeaec44991fba1dc6e64d0187d67e4
DIST rust-flash-lso-19fecd07b9888c4bdaa66771c468095783b52bed.tar.gz 676612 BLAKE2B 3c2ff3edef1aad8e6276758fd3bac85106fa9a445180c9c7d954d5b4e469751b9a14e1cc8c3bc4736a410f5e1478eb821395b8f0a1acb0e5dca1082155b0690f SHA512 6f668066999d3454d255d227167ef92e8fcf5755017617439fc227d53c5b8169a7c585857bed4879991e8cab0a6efb4ee04eca3e1b7e01bfaaa4cab70af30d3a
DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544
@ -303,9 +297,7 @@ DIST schannel-0.1.19.crate 42755 BLAKE2B 11503202bb6c8fdff3cc716558a5c00ca7497f7
DIST scoped-tls-1.0.0.crate 9146 BLAKE2B e6cecc543760a293b9ba4e71bf0d12f3360782795bc9d0f0bb054614a1c393f081b6178e98708b896037f5b8edcf371b727e7eb80f62bca24fe09a1903456729 SHA512 f09dd404bb45349ef444e7274a2aabfeaeda7c3c9f964bf5c52c39984c137f63bdf9fb3e33df8e312e52872f7721de25951a7f3b8333a670626c51afd36d314c
DIST scoped_threadpool-0.1.9.crate 7800 BLAKE2B b6f887c1af054666ab7f717dfdafe5701bbc0a778169d885a1837202d4d215970af567ea620c6ef47db69fa664c6be65c782aa87d9efc1d9c8c280b6210e38f1 SHA512 df8034b347fb489735895d75e5489c264aea1b50f46a8dd512963df05cb9ba9274317b26aeca63b9b4edcf792e796659bad435ad3f3446cb397340e2bf0a5f33
DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d
DIST serde-1.0.132.crate 75364 BLAKE2B 7485bcf0ae578f02f7c7dcdb284fcd6d8ccb4022b7d487e19593f3b3c9bd03a369410307dbe5ecde8071ca3ab6c7e45a5ddfe332e43076b84d67444d1f105b7b SHA512 8dac512547074a6934315ebae3e7540ef8baa225cdd58f11416b4565a1335ab317e659901fd626beffd6514c5dc6ec9fc705cc1d15e9cdd2051bd28649cca555
DIST serde-1.0.133.crate 75566 BLAKE2B c6f9334c6a3f722fc3f8b75a031f3c34acf81de1488953addce546ed1dbfeb2350a2a2b25b6088920f47172e2cc9e755c4ef682c19c579a2b70e7f4ae4a7ffb1 SHA512 53f6027a23688a5a303ad9ad169a333c02272ff9c0dc827705c75c162b70040ddf676428f38d04b9aaa49ddd4cee96b5ea5e1dc03f09b90d5f12d8ad22dced0a
DIST serde_derive-1.0.132.crate 54725 BLAKE2B 10ba0e55a498cfb469f1a36368f66515ab3e331f337b9441b08aba857dd6c824ccb718fdc33ab467413bd755db31370d4eb52039bb28e4a6c0775e2be87db896 SHA512 04f1a738b133de752fd1f4d70ffa35bbc144208bc3495ead56cda8ce65a72c501ea9c8e5e6d088cee94a878bf62509fc9f75dfadb320eb942042ee5ea80dc76a
DIST serde_derive-1.0.133.crate 54726 BLAKE2B c59d71b857513be8b7377b4b9182b7f60e441f7fa5428939ff8a25567ab645eab8ed54178dbb4b41967b7b9073b51cdae68f5a910c91a26cfc2baad0c0344b9a SHA512 d8c18ab50c1b500dc49eed1b5ea26bb46b9adf98b3b3c6c97f9c5d11324368342188ffbfef4c8a092c69577622ec85e672341a49853a957b10bf8dcbc6c0f441
DIST serde_json-1.0.72.crate 115888 BLAKE2B 0770707160014ef19f54ab6acb6bf8cad8ae65ab47c184912aa534b927c0743e66273e93c7e3190102428bc71914ab4648bfe0c2cae9416afe6ea1d7da217996 SHA512 e48129cb5c36b4999751302fcee811b80f2113780c12e122b13d9fc7a31af7452183ff89de1793994edfdcae61a80db37aa492250a0d69e9180659418a10063b
DIST sha2-0.10.0.crate 20037 BLAKE2B 44e176709b94dab3f28d21013faf0f3151b0fb29b02b76aaeea260b28090e07dc7767e354981acf76880d195fbcb4c315fdac401e1d1898a8bbb4289c4d2982b SHA512 d193e2bfe200c2e39a5d8c3381d4730bfc5da9ce112d23040cb7ce395003349b6177542bad0c18e6b3dec156f444b48a843765410064ebc42922a5b26cc6f0c5
@ -329,7 +321,6 @@ DIST symphonia-0.4.0.crate 9414 BLAKE2B aa0bbb0fe9b1a7a1732e04afcb68bfd4d9e75b82
DIST symphonia-bundle-mp3-0.4.0.crate 49852 BLAKE2B 79185d456b469ebb75e85f7fe9292b477ea63f8c17573951ae55a293e0c5f4b5cf4fd15e00428c3f4c91e968160137463fa71de9c0987c6451c178506de1d4fa SHA512 1e940b47d5d3d4eeb640a4fc4a842e5d881a5da845d7dfe0be5faa71f95b2de124f63e08dfec1b370f52442fb54867028c577749466c929387f7b53ad03eb95b
DIST symphonia-core-0.4.0.crate 91015 BLAKE2B ed7edc77bdbe2ed0f676ce4570e40e4b3479162a94f0d909dc3b8737dd961f0a4aed9b15b968233a6bb79de515caa1b392801c99039c2ff0d8160f68a5ff7d5d SHA512 673b67c18a045e070979784fe4d9b343ffd543635881b89fd5c45b3b248fc0ae442ee451f669f495a10abee74a0dfa2849f3d49c1f1a7f8be0cc88f8f8f89504
DIST symphonia-metadata-0.4.0.crate 20555 BLAKE2B a75bf705ad923dfc4c7dcd1cbb82f0548b3002d2c75a7fb0ace8c37191c3ed74c9a351ef355f06b648fb932825fd7c751ac0c75478c8521be7794fcc94cda99c SHA512 82a0af7b0795ebd28e1ec54ea39a6b2e63f77f65dc6a9fd436f08128d3b863a1ff8c71ec3674445ce41b012af4e0a369196c7284e30745e1be28ab7e726e5a87
DIST syn-1.0.82.crate 234316 BLAKE2B 1d115a4fd61cfebf62657f8faf7fe8786b3715ecf0413a5d117289853b4ecad399611d92d7bed26e590236a4689bff5599787c04f83de1db7f6c771eaa032853 SHA512 9406f62404f1dec3ea37a5e583a8dd7daf646fd5a1b11359aea3004010b3b416a44e4457695ba5beb12b3cbb9fe437de6f73018faa364c4e48060f6aab8ada1d
DIST syn-1.0.84.crate 235025 BLAKE2B 98fb0ff91c6b103588a12b718445d9cfefced59b2e66fbfff75d44b65f8c411cebb70eaa1bb0e19fbae076c87f179e8ba6231f696ad97a687b58b394c2eaca7c SHA512 c1bfbe6896e8b7e414b2241462aefe9552a5292ba58214e5ee3c70ea54f9cb5d4c77dfc3ebf3b2809bf6fbf297222b4570f2e6e3eb91931cc686d28a58c7dffb
DIST synstructure-0.12.6.crate 18429 BLAKE2B 7666cd83f82910e036e5b57600dec9a1c2e559453ccc2f1201e2ee4ba64f2ee62cfc1046ded5cae64dd183967b9d71cbfe4b60a88bcb93706eedd0c4ab69be4f SHA512 6ec5dd7ade904fb6d79c2be595886289846e064b8c4100f780d8adfcbb41e6ca67f4b1d682212f4673c2169f889a042049b31161ec3cebc3f399751124f01f9c
DIST tap-1.0.1.crate 11316 BLAKE2B 60786fd5f12c2f06097330c26809fdcfce62716586d2e1985f8c01406d356ed0ab730a04dfe72ee3e1d6208a53c76c66883d45a76130750b41ba5b82aa721b83 SHA512 d69ff11a46e2fbc276212511878f48eb93640c0b147df6578ea057b23625f9366a7fc3926693fc3809688537af5ca919c91605beed364decf83c35a032310995

@ -1,503 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
adler-1.0.2
adler32-1.2.0
ahash-0.7.6
aho-corasick-0.7.18
alsa-0.5.0
alsa-sys-0.3.1
ansi_term-0.12.1
approx-0.5.0
arrayvec-0.5.2
arrayvec-0.7.2
ash-0.33.3+1.2.191
async-channel-1.6.1
atty-0.2.14
autocfg-1.0.1
base64-0.13.0
bindgen-0.56.0
bit-set-0.5.2
bit-vec-0.6.3
bitflags-1.3.2
bitflags_serde_shim-0.2.2
bitstream-io-1.2.0
bitvec-0.19.6
block-0.1.6
block-buffer-0.10.0
bstr-0.2.17
build_const-0.2.2
bumpalo-3.8.0
bytemuck-1.7.3
bytemuck_derive-1.0.1
byteorder-1.4.3
bytes-1.1.0
cache-padded-1.1.1
calloop-0.9.1
castaway-0.1.1
cc-1.0.72
cesu8-1.1.0
cexpr-0.4.0
cfg-if-0.1.10
cfg-if-1.0.0
cfg_aliases-0.1.1
chrono-0.4.19
clang-sys-1.3.0
clap-3.0.0-rc.7
clap_derive-3.0.0-rc.7
clipboard-0.5.0
clipboard-win-2.2.0
cocoa-0.24.0
cocoa-foundation-0.1.0
codespan-reporting-0.11.1
color_quant-1.1.0
combine-4.6.2
concurrent-queue-1.2.2
console-0.15.0
console_error_panic_hook-0.1.7
console_log-0.2.0
cookie-factory-0.3.2
copyless-0.1.5
core-foundation-0.7.0
core-foundation-0.9.2
core-foundation-sys-0.7.0
core-foundation-sys-0.8.3
core-graphics-0.19.2
core-graphics-0.22.3
core-graphics-types-0.1.1
core-video-sys-0.1.4
coreaudio-rs-0.10.0
coreaudio-sys-0.2.8
cpal-0.13.4
cpufeatures-0.2.1
crc-1.8.1
crc32fast-1.3.0
crossbeam-channel-0.5.1
crossbeam-deque-0.8.1
crossbeam-epoch-0.9.5
crossbeam-utils-0.8.5
crypto-common-0.1.0
csv-1.1.6
csv-core-0.1.10
ctor-0.1.21
cty-0.2.2
curl-0.4.41
curl-sys-0.4.51+curl-7.80.0
d3d12-0.4.1
darling-0.10.2
darling-0.13.0
darling_core-0.10.2
darling_core-0.13.0
darling_macro-0.10.2
darling_macro-0.13.0
deflate-0.8.6
deflate-0.9.1
derivative-2.2.0
derive-try-from-primitive-1.0.0
diff-0.1.12
digest-0.10.0
dirs-4.0.0
dirs-sys-0.3.6
dispatch-0.2.0
dlib-0.5.0
downcast-rs-1.2.0
either-1.6.1
embed-resource-1.6.5
encode_unicode-0.3.6
encoding-0.2.33
encoding-index-japanese-1.20141219.5
encoding-index-korean-1.20141219.5
encoding-index-simpchinese-1.20141219.5
encoding-index-singlebyte-1.20141219.5
encoding-index-tradchinese-1.20141219.5
encoding_index_tests-0.1.4
encoding_rs-0.8.30
enum-map-1.1.1
enum-map-derive-0.6.0
enumset-1.0.8
enumset_derive-0.5.5
env_logger-0.9.0
euclid-0.22.6
event-listener-2.5.1
fastrand-1.5.0
flate2-1.0.22
float_next_after-0.1.5
fnv-1.0.7
foreign-types-0.3.2
foreign-types-shared-0.1.1
form_urlencoded-1.0.1
funty-1.1.0
futures-0.3.19
futures-channel-0.3.19
futures-core-0.3.19
futures-executor-0.3.19
futures-io-0.3.19
futures-lite-1.12.0
futures-macro-0.3.19
futures-sink-0.3.19
futures-task-0.3.19
futures-util-0.3.19
fxhash-0.2.1
generational-arena-0.2.8
generic-array-0.14.4
getrandom-0.2.3
gif-0.11.3
glob-0.3.0
glow-0.11.0
gpu-alloc-0.5.2
gpu-alloc-types-0.2.0
gpu-descriptor-0.2.2
gpu-descriptor-types-0.1.1
hashbrown-0.11.2
heck-0.3.3
hermit-abi-0.1.19
hexf-parse-0.2.1
http-0.2.5
humantime-2.1.0
ident_case-1.0.1
idna-0.2.3
image-0.23.14
indexmap-1.7.0
indicatif-0.16.2
inplace_it-0.3.3
instant-0.1.12
isahc-1.6.0
itoa-0.4.8
jni-0.19.0
jni-sys-0.3.0
jobserver-0.1.24
jpeg-decoder-0.1.22
jpeg-decoder-0.2.1
js-sys-0.3.55
json-0.12.4
khronos-egl-4.1.0
lazy_static-1.4.0
lazycell-1.3.0
lexical-core-0.7.6
libc-0.2.109
libflate-1.1.1
libflate_lz77-1.1.0
libloading-0.7.2
libnghttp2-sys-0.1.7+1.45.0
libz-sys-1.1.3
lock_api-0.4.5
log-0.4.14
lyon-0.17.10
lyon_algorithms-0.17.7
lyon_geom-0.17.6
lyon_path-0.17.7
lyon_tessellation-0.17.10
lzma-rs-0.2.0
mach-0.3.2
malloc_buf-0.0.6
matches-0.1.9
memchr-2.4.1
memmap2-0.3.1
memoffset-0.6.5
metal-0.23.1
mime-0.3.16
minimal-lexical-0.2.1
minimp3-0.5.1
minimp3-sys-0.3.2
miniz_oxide-0.3.7
miniz_oxide-0.4.4
mio-0.8.0
miow-0.3.7
naga-0.7.2
ndk-0.3.0
ndk-0.4.0
ndk-0.5.0
ndk-glue-0.3.0
ndk-glue-0.4.0
ndk-glue-0.5.0
ndk-macro-0.2.0
ndk-macro-0.3.0
ndk-sys-0.2.2
nix-0.20.0
nix-0.22.0
nom-5.1.2
nom-6.1.2
nom-7.1.0
ntapi-0.3.6
num-complex-0.3.1
num-derive-0.3.3
num-integer-0.1.44
num-iter-0.1.42
num-rational-0.3.2
num-traits-0.2.14
num_cpus-1.13.0
num_enum-0.5.4
num_enum_derive-0.5.4
number_prefix-0.4.0
objc-0.2.7
objc-foundation-0.1.1
objc_exception-0.1.2
objc_id-0.1.1
oboe-0.4.4
oboe-sys-0.4.4
once_cell-1.8.0
openssl-probe-0.1.4
openssl-sys-0.9.71
os_str_bytes-6.0.0
output_vt100-0.1.2
parking-2.0.0
parking_lot-0.11.2
parking_lot_core-0.8.5
path-slash-0.1.4
peeking_take_while-0.1.2
percent-encoding-2.1.0
pin-project-1.0.8
pin-project-internal-1.0.8
pin-project-lite-0.2.7
pin-utils-0.1.0
pkg-config-0.3.22
png-0.16.8
png-0.17.2
polling-2.2.0
ppv-lite86-0.2.15
pretty_assertions-1.0.0
primal-check-0.3.1
proc-macro-crate-0.1.5
proc-macro-crate-1.1.0
proc-macro-error-1.0.4
proc-macro-error-attr-1.0.4
proc-macro2-1.0.32
profiling-1.0.4
quote-1.0.10
radium-0.5.3
rand-0.8.4
rand_chacha-0.3.1
rand_core-0.6.3
range-alloc-0.1.2
raw-window-handle-0.3.4
raw-window-handle-0.4.2
rayon-1.5.1
rayon-core-1.9.1
redox_syscall-0.2.10
redox_users-0.4.0
regex-1.5.4
regex-automata-0.1.10
regex-syntax-0.6.25
regress-0.4.1
renderdoc-sys-0.7.1
rle-decode-fast-1.0.1
ron-0.6.6
rustc-hash-1.1.0
rustdct-0.6.0
rustfft-5.1.1
ryu-1.0.6
same-file-1.0.6
schannel-0.1.19
scoped-tls-1.0.0
scoped_threadpool-0.1.9
scopeguard-1.1.0
serde-1.0.132
serde_derive-1.0.132
serde_json-1.0.72
sha2-0.10.0
shlex-0.1.1
sid-0.6.1
slab-0.4.5
slice-deque-0.3.0
slotmap-1.0.6
sluice-0.5.5
smallvec-1.7.0
smithay-client-toolkit-0.15.2
socket2-0.4.2
spirv-0.2.0+1.5.4
static_assertions-1.1.0
stdweb-0.1.3
strength_reduce-0.2.3
strsim-0.10.0
strsim-0.9.3
svg-0.10.0
symphonia-0.4.0
symphonia-bundle-mp3-0.4.0
symphonia-core-0.4.0
symphonia-metadata-0.4.0
syn-1.0.82
synstructure-0.12.6
tap-1.0.1
termcolor-1.1.2
terminal_size-0.1.17
textwrap-0.14.2
thiserror-1.0.30
thiserror-impl-1.0.30
tiff-0.6.1
time-0.1.43
tinyfiledialogs-3.8.3
tinyvec-1.5.1
tinyvec_macros-0.1.0
toml-0.5.8
tracing-0.1.29
tracing-attributes-0.1.18
tracing-core-0.1.21
tracing-futures-0.2.5
transpose-0.2.1
typenum-1.14.0
unicode-bidi-0.3.7
unicode-normalization-0.1.19
unicode-segmentation-1.8.0
unicode-width-0.1.9
unicode-xid-0.2.2
url-2.2.2
vcpkg-0.2.15
version_check-0.9.3
vswhom-0.1.0
vswhom-sys-0.1.0
waker-fn-1.1.0
walkdir-2.3.2
wasi-0.10.2+wasi-snapshot-preview1
wasm-bindgen-0.2.78
wasm-bindgen-backend-0.2.78
wasm-bindgen-futures-0.4.28
wasm-bindgen-macro-0.2.78
wasm-bindgen-macro-support-0.2.78
wasm-bindgen-shared-0.2.78
wayland-client-0.29.1
wayland-commons-0.29.1
wayland-cursor-0.29.1
wayland-protocols-0.29.1
wayland-scanner-0.29.1
wayland-sys-0.29.1
weak-table-0.3.2
web-sys-0.3.55
webbrowser-0.5.5
weezl-0.1.5
wepoll-ffi-0.1.2
wgpu-0.11.1
wgpu-core-0.11.3
wgpu-hal-0.11.5
wgpu-types-0.11.0
widestring-0.4.3
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
winit-0.26.0
winreg-0.10.1
wyz-0.2.0
x11-clipboard-0.3.3
x11-dl-2.19.1
xcb-0.8.2
xcursor-0.3.4
xml-rs-0.8.4"
# python is needed by xcb-0.8.2 until update to >=0.10
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="xml(+)"
inherit cargo desktop flag-o-matic python-any-r1 xdg
# 0(github) 1(repo) 2(commit hash) 3(crate:workspace,...) [see core/Cargo.toml]
RUFFLE_GIT=(
"RustAudio dasp f05a703d247bb504d7e812b51e95f3765d9c5e94 dasp"
"ruffle-rs gc-arena 4931b3bc25b2b74174ff5eb9c34ae0dda732778b gc-arena:src/gc-arena"
"ruffle-rs h263-rs 03dcd486e88381635647a7386105cb802921b69c h263-rs:h263,h263-rs-yuv:yuv"
"ruffle-rs nellymoser 77000f763b58021295429ca5740e3dc3b5228cbd nellymoser-rs:."
"ruffle-rs nihav-vp6 9416fcc9fc8aab8f4681aa9093b42922214abbd3 nihav_codec_support:nihav-codec-support,nihav_core:nihav-core,nihav_duck:nihav-duck"
"ruffle-rs quick-xml 8496365ec1412eb5ba5de350937b6bce352fa0ba quick-xml:."
"ruffle-rs rust-flash-lso 19fecd07b9888c4bdaa66771c468095783b52bed flash-lso"
)
ruffle_uris() {
cargo_crate_uris
local g
for g in "${RUFFLE_GIT[@]}"; do
g=(${g})
echo "https://github.com/${g[0]}/${g[1]}/archive/${g[2]}.tar.gz -> ${g[1]}-${g[2]}.tar.gz"
done
}
# using _pYYYYMMDD over YYYY.MM.DD given ruffle has an underlaying version
# (0.1.0) which could get a non-nightly release eventually (YYYY. > 0.1.0)
MY_PV="nightly-${PV:3:4}-${PV:7:2}-${PV:9:2}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Flash Player emulator written in Rust"
HOMEPAGE="https://ruffle.rs/"
SRC_URI="
https://github.com/ruffle-rs/ruffle/archive/refs/tags/${MY_PV}.tar.gz -> ${MY_P}.tar.gz
$(ruffle_uris)"
S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT MPL-2.0 ZLIB curl zlib-acknowledgement"
SLOT="0"
KEYWORDS="~amd64"
IUSE="gui"
DEPEND="
dev-libs/openssl:=
media-libs/alsa-lib
sys-libs/zlib:=
x11-libs/libxcb:="
RDEPEND="
${DEPEND}
gui? (
|| (
gnome-extra/zenity
kde-apps/kdialog
)
)"
BDEPEND="
${PYTHON_DEPS}
virtual/pkgconfig
>=virtual/rust-1.56"
QA_FLAGS_IGNORED="
usr/bin/${PN}
usr/bin/${PN}_exporter
usr/bin/${PN}_scanner"
src_prepare() {
default
# use [patch] directive to register git snapshots of needed crates
local crate g
for g in "${RUFFLE_GIT[@]}"; do
g=(${g})
echo "[patch.\"https://github.com/${g[0]}/${g[1]}\"]"
for crate in ${g[3]//,/ }; do
echo "${crate%:*} = { path = \"../${g[1]}-${g[2]}/${crate#*:}\" }"
done
done >> Cargo.toml || die
}
src_compile() {
filter-flags '-flto*' # undefined references with tinyfiledialogs and more
cargo_src_compile --bins # note: configure --bins would skip tests
}
src_install() {
dodoc README.md
# does not have a real GUI yet, flag is used to ensure there is a
# way for messages and file picker to be displayed with .desktop
# (many options, but zenity and kdialog currently seem to work better)
if use gui; then
newicon web/packages/extension/assets/images/icon180.png ${PN}.png
make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \
"MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;"
fi
cd target/$(usex debug{,} release) || die
newbin ${PN}_desktop ${PN}
newbin exporter ${PN}_exporter
dobin ${PN}_scanner
}
pkg_postinst() {
xdg_pkg_postinst
if [[ ! ${REPLACING_VERSIONS} ]]; then
elog "${PN} is experimental software that is still under heavy development"
elog "and only receiving nightly releases. Plans in Gentoo is to update"
elog "roughly every two weeks if no known major regressions."
elog
elog "There is currently no plans to support wasm builds / browser"
elog "extensions, this provides the desktop viewer and other tools."
fi
}

@ -1,5 +1,5 @@
--- usr/sbin/xe-update-guest-attrs.orig 2013-06-14 07:57:18.000000000 -0500
+++ usr/sbin/xe-update-guest-attrs 2014-04-19 13:38:14.627477193 -0500
--- a/xe-update-guest-attrs
+++ b/xe-update-guest-attrs
@@ -1,6 +1,7 @@
#!/bin/sh

@ -1,5 +1,5 @@
--- usr/sbin/xe-linux-distribution.orig 2013-06-14 07:57:18.000000000 -0500
+++ usr/sbin/xe-linux-distribution 2014-04-19 13:54:13.270477193 -0500
--- a/xe-linux-distribution
+++ b/xe-linux-distribution
@@ -1,6 +1,7 @@
#! /bin/sh

@ -1,38 +1,45 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit epatch rpm linux-info
DESCRIPTION="XenServer Virtual Machine Tools"
HOMEPAGE="https://www.citrix.com/"
EAPI=8
inherit rpm linux-info
PV_BASE=${PV/_*}
PV_FULL=${PV/_p/-}
DESCRIPTION="XenServer Virtual Machine Tools"
HOMEPAGE="https://www.citrix.com/"
SRC_URI="http://updates.vmd.citrix.com/XenServer/${PV_BASE}/rhel4x/SRPMS/xe-guest-utilities-${PV_FULL}.src.rpm"
S="${WORKDIR}"
LICENSE="LGPL-3 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="xenstore"
DEPEND="app-arch/rpm2targz"
BDEPEND="app-arch/rpm2targz"
RDEPEND="
!xenstore? ( app-emulation/xen-tools )
xenstore? ( !app-emulation/xen-tools )"
S=${WORKDIR}
xenstore? ( !app-emulation/xen-tools )
"
CONFIG_CHECK="~XEN_COMPAT_XENFS ~XENFS"
QA_PREBUILT="usr/bin/xenstore* usr/bin/xeninfo"
PATCHES=(
"${FILESDIR}"/${PN}-6.2.0_p1120-Guest-Attributes.patch
"${FILESDIR}"/${PN}-6.2.0_p1120-Linux-Distribution.patch
)
src_unpack() {
rpm_src_unpack ${A}
# Upstream includes xenstore-sources.tar.bz2
# but it is NOT the complete source :-(
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-6.2.0_p1120-Guest-Attributes.patch
epatch "${FILESDIR}"/${PN}-6.2.0_p1120-Linux-Distribution.patch
}
src_install() {
newinitd "${FILESDIR}/xe-daemon.initd" xe-daemon
newinitd "${FILESDIR}"/xe-daemon.initd xe-daemon
dosbin xe-daemon
dosbin xe-linux-distribution
dosbin xe-update-guest-attrs

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~leio/distfiles/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~ppc64 ~riscv x86"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
# gnome-shell schemas are used in pkg_postinst
COMMON_DEPEND="app-admin/eselect

@ -1 +1,2 @@
DIST eselect-repository-11.tar.gz 8554 BLAKE2B c7bdd1559c310c492b2c00c7a7cb92d48ad24a69ff4485c1282c67b7dd211360fcda6d96eec2b9e734a1b4745f2a0fe9da1ff20d62bf1174a64b6016097ea634 SHA512 31b0b36122e580a018ca66d112cdddfbfe1568030fb9a20440450c17c759bfb872eb7ef99036a3dae14e8384a8f770354fd4cd362ed594408ae9e8dbbc6dea68
DIST eselect-repository-12.tar.gz 8543 BLAKE2B 14866156ddfefebaea368c4a13413d79e7858520861ee2b699cb09b339f3bb4b8393af7201b4cb7d6a60d2a48d168a053cc4707e2f56a7a2a11cfb5156cfa83f SHA512 3b98b9bd87fe61c7fb4d314e72c8433b11dd80501cfd226d4a4de25ca6d08e7a14a2497a1700ac64d704368bb8e5ea2ec337d0712097e9e10182a3122a59e388

@ -0,0 +1,52 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit python-single-r1
DESCRIPTION="Manage repos.conf via eselect"
HOMEPAGE="https://github.com/mgorny/eselect-repository"
SRC_URI="https://github.com/mgorny/eselect-repository/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
RDEPEND="${PYTHON_DEPS}
app-admin/eselect
$(python_gen_cond_dep '
dev-python/lxml[${PYTHON_USEDEP}]
')
net-misc/wget"
BDEPEND="
test? (
$(python_gen_cond_dep '
dev-python/pytest[${PYTHON_USEDEP}]
')
)"
src_compile() {
MAKEARGS=(
PREFIX="${EPREFIX}/usr"
SYSCONFDIR="${EPREFIX}/etc"
SHAREDSTATEDIR="${EPREFIX}/var"
ESELECTDIR="${EPREFIX}/usr/share/eselect/modules"
)
emake "${MAKEARGS[@]}"
python_fix_shebang eselect-repo-helper
}
src_test() {
epytest
}
src_install() {
emake "${MAKEARGS[@]}" DESTDIR="${D}" install
einstalldocs
}

Binary file not shown.

@ -0,0 +1,70 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd toolchain-funcs
GENTOO_PATCH="${PN}-0.55-gentoo.patch"
DESCRIPTION="Tool to locally check for signs of a rootkit"
HOMEPAGE="http://www.chkrootkit.org/"
SRC_URI="ftp://ftp.pangeia.com.br/pub/seg/pac/${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${GENTOO_PATCH}.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="+cron"
RDEPEND="cron? ( virtual/cron )"
PATCHES=(
"${WORKDIR}/${GENTOO_PATCH}"
"${FILESDIR}/${P}-fcntl_h.patch"
"${FILESDIR}/${P}-limits_h.patch"
)
src_prepare() {
default
sed -e 's:/var/adm/:/var/log/:g' \
-i chklastlog.c || die
}
src_compile() {
emake CC="$(tc-getCC)" STRIP=true sense
}
src_install() {
dosbin chkdirs chklastlog chkproc chkrootkit chkwtmp chkutmp ifpromisc strings-static
dodoc ACKNOWLEDGMENTS README*
if use cron ; then
exeinto /etc/cron.weekly
newexe "${FILESDIR}"/${PN}.cron ${PN}
fi
systemd_dounit "${FILESDIR}/${PN}.timer" "${FILESDIR}/${PN}.service"
}
pkg_postinst() {
if use cron ; then
elog
elog "Edit ${EROOT}/etc/cron.weekly/chkrootkit to activate chkrootkit!"
elog
fi
if systemd_is_booted || has_version sys-apps/systemd ; then
elog
elog "To enable the systemd timer, run the following command:"
elog " systemctl enable --now chkrootkit.timer"
elog
fi
elog
elog "Some applications, such as portsentry, will cause chkrootkit"
elog "to produce false positives. Read the chkrootkit FAQ at"
elog "http://www.chkrootkit.org/ for more information."
elog
}

@ -0,0 +1,7 @@
[Unit]
Description=local check for signs of a rootkit
[Service]
Type=oneshot
ExecStart=/usr/sbin/chkrootkit -q
SyslogIdentifier=chkrootkit

@ -0,0 +1,11 @@
[Unit]
Description=Periodic check for signs of a rootkit
[Timer]
# Run on Sunday at 3:20am, to avoid running afoul of DST changes
OnCalendar=Sun *-*-* 03:20:00
RandomizedDelaySec=120
Persistent=true
[Install]
WantedBy=timers.target

@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person" proxied="yes">
<email>martin.dummer@gmx.net</email>
<name>Martin Dummer</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="cron">Install cron script for weekly rootkit scans</flag>
</use>

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -62,7 +62,7 @@ src_install() {
doins scripts/zsh/*
# fish-completions
insinto /usr/share/fish/completions
insinto /usr/share/fish/vendor_completions.d
doins scripts/fish/*
exeinto "/usr/share/${PN}/scripts"

Binary file not shown.

@ -31,7 +31,7 @@ DIST libsqlite3-sys-0.10.0.crate 2175426 BLAKE2B dc7cbbcb632e2de1e8fcd6372cb0a82
DIST linked-hash-map-0.5.3.crate 16130 BLAKE2B 20ca73044271533d2da6bb6ca863a192b61231760fddb82ac373a34fe63d92efe5b841fa401b9aa509cc1e05b86cf672eae3f26ab5c07c7b0c25e764e128344e SHA512 90ec22fcd830ccfdefd1f7c480c5cebd5e95c822e0c28fff9ccf00bfbdda080c17a722697fdc991ee04a4a32e974309440a91284bc13c9ee70284e4e247d33b1
DIST lru-cache-0.1.2.crate 9307 BLAKE2B 606072bc5390a13cf24b4c64c77ba7f84c4c2b1a73c4abe8ead4e1d19067b063888d5cbe478dc9108d193f0a66aa5fb2ddc073f3edfac466de34f85a52a15ef2 SHA512 ecc67b4b2ed8d3596816c47e9c6aa242c7bdd1ee8087646e90c27a60d59175f661ec3ef82058c196bef2abdd302d429b7ea4279169689254a9f322dfd5697bf1
DIST mcfly-0.5.10.tar.gz 207639 BLAKE2B 90ad658fca16201b541cb45a01919170371ed8435e846d971a213c8890c703fe707607241ef4533bb728a136cc58d2a78b2de4dd15e2de1d0697df9790aa3539 SHA512 7f9da24ad27d95d2e073bf31550f957c70d5f3f800a1473beb4da49d59b579056c4b097b29e79612b57f18fa0e5639d0de44f4074c652f0e5a3daeef28b72562
DIST mcfly-0.5.9.tar.gz 207655 BLAKE2B d230768c5606df795ab79c89d35e183016c684e68478bddba2483a744a139ddd3cfce82cde5df431ffa0da19c9f1b7049338800331261668b711d9863b091b52 SHA512 d0b42ed4f870f81550aaf4884d338bc5e65866a8640438de6c233af6cf580819ad4f1712e44e4567b8363ada7cbf86224a0d4fc571b06c0e6f6e993f104c865b
DIST mcfly-0.5.11.tar.gz 208182 BLAKE2B ebdde50be976fa13f4edc558d6afa203aa40cbe169e03d249068c7d662b8fd563bf9f62909b97caabe3a5607410c7c4cbc85ccf010c353b6e79499c27869389c SHA512 9c3d4062b3aab7e6656b8c3dddb1102a54092d3f0bf87b898ee9a63976335fa0c3fe0de1cd1da4ea1322b1b970938703f8eeb82919ceecf015f465eca0871c8e
DIST memchr-2.3.3.crate 22566 BLAKE2B f952070b98ef30f0d2780a6efbeb36d295710734f678517d913a8002cafebbd3cfc38975fc4546d306efc11bc815764d14320af3b7a2360bd46fc2ab3db9efa5 SHA512 922e05da920d0d94226857788878ee5e31518cd80d95ae57e1d7ecd233942c37d01565525db2f1dfdfd5b3b1f81b2c73eee058cbfd745cb4e1519518318df248
DIST num-integer-0.1.44.crate 22216 BLAKE2B e1c08427e006cde6f2084adadb6086e87e6d6f8bb8dfa757a8228aa671e862a366e4bd8ca5e0500008c18bab128aead9bd5b1e53568a4f40afadcaf3882ee98f SHA512 d07e27ede02a1d007373935fd91e57a26e0e84ae14bbe24be66763baae6850788bd64ad2598d2bde4f4fad6c8a4675c40bfe0927164b16b9b69de5e9a83d9771
DIST num-traits-0.2.14.crate 45476 BLAKE2B ae310d9d5640acc3e45e1e5d1d2f519539795922c0058ee940c94c94b6654b39358b7c18dd23a276f2c1b16a30dd4de4cbc8575bcda6a5c11e70665d670e6439 SHA512 c3028eca9f7b718de0db3a36cf3e462bdba43562d52c9b809ed4cc0aa6af403aea542d6d4da743cd1dd541397815a3c5a84cef4d6e40122994e4be6a62319b2e

@ -1,4 +1,4 @@
# Copyright 2017-2021 Gentoo Authors
# Copyright 2017-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

Binary file not shown.

@ -87,7 +87,6 @@ DIST maplit-1.0.2.crate 8871 BLAKE2B 3cf975d35de2d2fbd50227a6d2c5e72227e99197b62
DIST markup5ever-0.10.1.crate 34668 BLAKE2B a13f39ba93a26a558a8f03ebbbaa98bf2c7caa4fd393be3e307acd5b59a6d91fa8fbf4deff234266cd55772d5047145cc80c5a215ff8eb5b2fddb88468ae4fb2 SHA512 447b0f44ea8b786688127aba1b6eed826dc0127658d293c22db74864381b5e7bc0584243dcc0ee19929d3e757521167c13a108155ed5c8e78375cb0fd3c6f7b7
DIST markup5ever_rcdom-0.1.0.crate 25165 BLAKE2B 4123ee804991e9be31e6a4dbcb7dcce12bb776d22e4409ad388678a92965834acb9b1b2fa51e6472ee2c0db156e4a75e5b6db5f6b6d4220159ab93b056d0418c SHA512 7c21836fcdd45bfdef7305327255291c92d75d3329798d31abab26297de8c381e41b4419fb7ac631310835d590b63751a63bdd87e2697ea3dfdd6599033433c7
DIST matches-0.1.9.crate 2246 BLAKE2B de155202636c6a03ed68cdb21e8ef96e19b45be040a82943d2d7e5192c0ab5c253ab6d65f0b30b2689e21da79cba684af5be6e63c48266681aceba356f6eea41 SHA512 6a2809687d30ff04ea97bf9d1610d746e097699a4c3625ffd1b7b1e4a9673ece9d559058c9f760b99d6ab509024f7b338e7cfa6fe767499c983efa98bfb98305
DIST mdbook-0.4.14.tar.gz 1502800 BLAKE2B c1bef8761120bdbdbcbb34454813c620761db16208a935bb0dba39936ca661adc8fbc1cbefc185da7c087de880a8b3c5894536719d01a1376d6d96c72a5539bc SHA512 c45e930e0ff20def1a11e85dbadc3759855fe2a9b5ad63d02d547423abfc16a93d35ff13567ce206274f35e68cf083958cd3caa83a648786e7c32bcfa9bdb6dd
DIST mdbook-0.4.15.tar.gz 1508364 BLAKE2B 8f0a883908378b440528044136233bc6d481c7c0137cbd0875aee11654246f103c5e301276838bd403a68715eec48ea2d31f6e746f5996a354733f5c3a8c0046 SHA512 da5b1dee3718bb89f61438f39ee72d4d4db42034e620699b62e21513d1ee9f1cb9163456a4673d66c96d83ebd9f35f8b4d5c0829752a500a72f1561fa14060bf
DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11
DIST mime-0.3.16.crate 15206 BLAKE2B 9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b SHA512 cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c
@ -131,7 +130,6 @@ DIST pretty_assertions-0.6.1.crate 61551 BLAKE2B 1e92be2282e42720c9e1d1d26f9e675
DIST proc-macro-hack-0.5.19.crate 15556 BLAKE2B 98c22fc3e5f5fa8b6f44d15de42b6ffcc82ba3f98a07ffa48bcbc5d3abcfca6af136c5d0d8c7f1ca34261ed8f8c9c17a394231f97a4c342c81aa7f8b9e74b203 SHA512 9e4cbec41056438287f5b23086264c86e2f0cdc193064006556736377b2954229de13a585149b9995002c9aee3334ee2a80ae4afdcc96cabe7ed2bf718476952
DIST proc-macro-nested-0.1.7.crate 6495 BLAKE2B c27ad92b57837ab1ce220958846253ed29de12ee1ed849948e5202913371d877bb648e6880ac3e6619b8d48342e1fe105df56a0abda1b13bd62262bea4c85fff SHA512 dc5d898c6d5588d279aa0852193105bbb3824798a05875e2181c66da8c3849fcb32189d9b213cad09054242aa4ae9cb602f9c2d1b5e7302963bac244bbaa27c2
DIST proc-macro2-1.0.28.crate 38732 BLAKE2B f2d4765789d03d5d26c9de7e1283ce6e4086ca640d95a36649f8fdfe96533ad768b2a8ba56726e0462ba4fcd8f332fc455307987e0b7c79a5e96f2e75a641162 SHA512 2a4e34ab2bb692c3661db40ebc6d22f3dbcbc30c2f4d88e1a7f022f8522e943ffe2a1c9b92411c7e04941dc0156cb365e0de953fa45d8710e39b660ee9028741
DIST pulldown-cmark-0.8.0.crate 106330 BLAKE2B bb59298b605993530e2363f3264c3ac1104ec57885c2dd183dcdf3aa9dc613999d24caeb86848ca3542544238aaa4eb49d5a6599d2fdef53af50b5dbead68e22 SHA512 396ade131c0a74cdfb8454e137e41c21f0b81b7cce654ba6ae9ceb132ba0fa0a467a190e6dd69cd7d59a267efbe83f008c9c8a5c9db47665aabc31a4bb9cb967
DIST pulldown-cmark-0.9.0.crate 115000 BLAKE2B b627deaf477b27eabb1086f2d4b81450e8d9247c6fb931514e87c9d7b49850bb38bf4aaa8738cf6a74214f00260804c0bbd001e3150c8cd3bde1edd07c173eaf SHA512 57151704ea4e46138b5712d32a67600569615886d7b9f1329324bac2e26ec5cbee3a3db1634348b485bc39e8ccd4531ece3ae377efcce9a4b8e128cdad9792bd
DIST quick-error-1.2.3.crate 15066 BLAKE2B 1c61525d383f3588c1c5017f016f60b484bbf2035e7f63c553bd9a49b638ab0c6106ac3676a41072b24da4e13dde78706e0f99fd1ec9ee329d5be81d45a85866 SHA512 f8aaf9024d20ccd42b706c756eed8320aee339f8776392b47a41cc82ca06b03df1a5b1f00854cea96689c5af261b4d8c5d2b1a242d10f2755e7e33dc41be35b9
DIST quick-error-2.0.1.crate 14265 BLAKE2B 3815c89e960923bfe0abc962c38714b953fa1d5af991f3de22d1d084a8cd1ba1761fc961ba97e06ead3992ed1b61f525d04bcce459599e5546315932281c1dfd SHA512 e028deb598466ae91663e5d090606be4f117662d0fa6e0c0b0043c7261f26787057e84e644cae72a45b1a0a7b1fb03fc9712faa3abee94b97ce2c8d25c365c32

@ -1,259 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
aho-corasick-0.7.18
ammonia-3.1.2
ansi_term-0.11.0
anyhow-1.0.43
assert_cmd-1.0.7
atty-0.2.14
autocfg-1.0.1
base64-0.13.0
bit-set-0.5.2
bit-vec-0.6.3
bitflags-1.3.2
block-buffer-0.7.3
block-buffer-0.9.0
block-padding-0.1.5
bstr-0.2.17
byte-tools-0.3.1
byteorder-1.4.3
bytes-1.0.1
cfg-if-0.1.10
cfg-if-1.0.0
chrono-0.4.19
clap-2.33.3
cpufeatures-0.1.5
ctor-0.1.20
difference-2.0.0
difflib-0.4.0
digest-0.8.1
digest-0.9.0
doc-comment-0.3.3
either-1.6.1
elasticlunr-rs-2.3.13
env_logger-0.7.1
fake-simd-0.1.2
filetime-0.2.15
float-cmp-0.9.0
fnv-1.0.7
form_urlencoded-1.0.1
fsevent-0.4.0
fsevent-sys-2.0.1
fuchsia-zircon-0.3.3
fuchsia-zircon-sys-0.3.3
futf-0.1.4
futures-0.3.16
futures-channel-0.3.16
futures-core-0.3.16
futures-io-0.3.16
futures-macro-0.3.16
futures-sink-0.3.16
futures-task-0.3.16
futures-util-0.3.16
generic-array-0.12.4
generic-array-0.14.4
getopts-0.2.21
getrandom-0.1.16
getrandom-0.2.3
gitignore-1.0.7
glob-0.3.0
h2-0.3.4
handlebars-4.1.2
hashbrown-0.11.2
headers-0.3.4
headers-core-0.2.0
heck-0.3.3
hermit-abi-0.1.19
html5ever-0.25.1
http-0.2.4
http-body-0.4.3
httparse-1.5.1
httpdate-1.0.1
humantime-1.3.0
hyper-0.14.11
idna-0.2.3
indexmap-1.7.0
inotify-0.7.1
inotify-sys-0.1.5
input_buffer-0.4.0
iovec-0.1.4
itertools-0.10.1
itoa-0.4.8
kernel32-sys-0.2.2
lazy_static-1.4.0
lazycell-1.3.0
libc-0.2.100
log-0.4.14
mac-0.1.1
maplit-1.0.2
markup5ever-0.10.1
markup5ever_rcdom-0.1.0
matches-0.1.9
memchr-2.4.1
mime-0.3.16
mime_guess-2.0.3
mio-0.6.23
mio-0.7.13
mio-extras-2.0.6
miow-0.2.2
miow-0.3.7
net2-0.2.37
new_debug_unreachable-1.0.4
normalize-line-endings-0.3.0
notify-4.0.17
ntapi-0.3.6
num-integer-0.1.44
num-traits-0.2.14
num_cpus-1.13.0
opaque-debug-0.2.3
opaque-debug-0.3.0
opener-0.5.0
output_vt100-0.1.2
percent-encoding-2.1.0
pest-2.1.3
pest_derive-2.1.0
pest_generator-2.1.3
pest_meta-2.1.3
phf-0.8.0
phf_codegen-0.8.0
phf_generator-0.8.0
phf_shared-0.8.0
pin-project-1.0.8
pin-project-internal-1.0.8
pin-project-lite-0.2.7
pin-utils-0.1.0
ppv-lite86-0.2.10
precomputed-hash-0.1.1
predicates-2.0.1
predicates-core-1.0.2
predicates-tree-1.0.2
pretty_assertions-0.6.1
proc-macro-hack-0.5.19
proc-macro-nested-0.1.7
proc-macro2-1.0.28
pulldown-cmark-0.8.0
quick-error-1.2.3
quick-error-2.0.1
quote-1.0.9
rand-0.7.3
rand-0.8.4
rand_chacha-0.2.2
rand_chacha-0.3.1
rand_core-0.5.1
rand_core-0.6.3
rand_hc-0.2.0
rand_hc-0.3.1
rand_pcg-0.2.1
redox_syscall-0.2.10
regex-1.5.4
regex-automata-0.1.10
regex-syntax-0.6.25
remove_dir_all-0.5.3
ryu-1.0.5
same-file-1.0.6
scoped-tls-1.0.0
select-0.5.0
semver-0.11.0
semver-parser-0.10.2
serde-1.0.129
serde_derive-1.0.129
serde_json-1.0.66
serde_urlencoded-0.7.0
sha-1-0.8.2
sha-1-0.9.7
shlex-1.0.0
siphasher-0.3.6
slab-0.4.4
socket2-0.4.1
string_cache-0.8.1
string_cache_codegen-0.5.1
strsim-0.8.0
strum-0.21.0
strum_macros-0.21.1
syn-1.0.75
tempfile-3.2.0
tendril-0.4.2
termcolor-1.1.2
textwrap-0.11.0
time-0.1.43
tinyvec-1.3.1
tinyvec_macros-0.1.0
tokio-1.10.0
tokio-macros-1.3.0
tokio-stream-0.1.7
tokio-tungstenite-0.13.0
tokio-util-0.6.7
toml-0.5.8
topological-sort-0.1.0
tower-service-0.3.1
tracing-0.1.26
tracing-core-0.1.19
treeline-0.1.0
try-lock-0.2.3
tungstenite-0.12.0
typenum-1.13.0
ucd-trie-0.1.3
unicase-2.6.0
unicode-bidi-0.3.6
unicode-normalization-0.1.19
unicode-segmentation-1.8.0
unicode-width-0.1.8
unicode-xid-0.2.2
url-2.2.2
utf-8-0.7.6
vec_map-0.8.2
version_check-0.9.3
wait-timeout-0.2.0
walkdir-2.3.2
want-0.3.0
warp-0.3.1
wasi-0.9.0+wasi-snapshot-preview1
wasi-0.10.2+wasi-snapshot-preview1
winapi-0.2.8
winapi-0.3.9
winapi-build-0.1.1
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
ws2_32-sys-0.2.1
xml5ever-0.16.1"
inherit cargo toolchain-funcs
DESCRIPTION="Create a book from markdown files"
HOMEPAGE="https://rust-lang.github.io/mdBook/"
SRC_URI="
https://github.com/rust-lang/mdBook/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris)"
S="${WORKDIR}/${P/b/B}"
# CC-BY-4.0/OFL-1.1: embeds fonts inside the executable
LICENSE="Apache-2.0 BSD CC-BY-4.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc"
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_compile() {
cargo_src_compile
if use doc; then
if tc-is-cross-compiler; then
ewarn "html docs were skipped due to cross-compilation"
else
target/$(usex debug{,} release)/${PN} build -d html guide || die
fi
fi
}
src_install() {
cargo_src_install
dodoc CHANGELOG.md README.md
[[ -e guide/html ]] && dodoc -r guide/html
}

Binary file not shown.

@ -32,7 +32,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static )
?? ( tcmalloc jemalloc )
static? ( yassl !pam )"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
# Shorten the path because the socket path length must be shorter than 107 chars
# and we will run a mysql server during test phase

@ -32,7 +32,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static )
?? ( tcmalloc jemalloc )
static? ( yassl !pam )"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
# Shorten the path because the socket path length must be shorter than 107 chars
# and we will run a mysql server during test phase

@ -32,7 +32,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static )
?? ( tcmalloc jemalloc )
static? ( yassl !pam )"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
# Shorten the path because the socket path length must be shorter than 107 chars
# and we will run a mysql server during test phase

@ -31,7 +31,7 @@ REQUIRED_USE="jdbc? ( extraengine server !static )
?? ( tcmalloc jemalloc )
static? ( yassl !pam )"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
# Shorten the path because the socket path length must be shorter than 107 chars
# and we will run a mysql server during test phase

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -17,7 +17,7 @@ SRC_URI="https://dev.mysql.com/get/Downloads/Connector-ODBC/${MAJOR}/${MY_P}.tar
LICENSE="GPL-2"
SLOT="${MAJOR}"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
RDEPEND="

@ -14,7 +14,7 @@ SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
LICENSE="Artistic GPL-2"
SLOT="0"
# -ppc, -sparc for bug #711940
KEYWORDS="~amd64 arm ~arm64 -ppc ~ppc64 -sparc ~x86"
KEYWORDS="amd64 arm ~arm64 -ppc ~ppc64 -sparc x86"
IUSE="+legacy"
RDEPEND="

@ -18,7 +18,7 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
else
SRC_URI="https://dev.mysql.com/get/Downloads/MySQL-$(ver_cut 1-2)/mysql-boost-${PV}.tar.gz"
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86"
S="${WORKDIR}/mysql-${PV}"
fi

@ -27,7 +27,7 @@ RESTRICT="!test? ( test )"
REQUIRED_USE="?? ( tcmalloc jemalloc )"
KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
# Shorten the path because the socket path length must be shorter than 107 chars
# and we will run a mysql server during test phase

@ -37,7 +37,7 @@ REQUIRED_USE="?? ( tcmalloc jemalloc )
tcmalloc? ( server )"
# -ppc, -riscv for bug #761715
KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips -ppc ~ppc64 -riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips -ppc ~ppc64 -riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris"
# Shorten the path because the socket path length must be shorter than 107 chars
# and we will run a mysql server during test phase

Binary file not shown.

@ -1,5 +1,5 @@
--- cmd_app.cpp.old 2009-01-31 21:23:30.000000000 +0100
+++ cmd_app.cpp 2009-01-31 21:25:48.000000000 +0100
--- a/cmd_app.cpp
+++ b/cmd_app.cpp
@@ -88,7 +88,12 @@
_tsearchenv_s("PK2DeviceFile.dat", "PATH", tempString);
if (_tcslen(tempString) < 17)

@ -1,27 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=8
inherit epatch toolchain-funcs
inherit toolchain-funcs
DESCRIPTION="An application for working with the Microchip PicKit2 PIC programmer"
HOMEPAGE="http://www.microchip.com/pickit2"
SRC_URI="http://ww1.microchip.com/downloads/en/DeviceDoc/${PN}v${PV}LinuxMacSource.tar.gz"
S="${WORKDIR}/${PN}v${PV}LinuxMacSource"
LICENSE="MicroChip-PK2"
SLOT="0"
KEYWORDS="~amd64 ppc ppc64 ~x86"
IUSE=""
DEPEND="virtual/libusb:0"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}v${PV}LinuxMacSource
PATCHES=(
"${FILESDIR}"/${PN}-add-share-dir-for-dev-file-${PV}.patch
)
src_prepare() {
# Patch adds /usr/share/pk2 to the default search for the device file
epatch "${FILESDIR}/${PN}-add-share-dir-for-dev-file-${PV}.patch"
default
# Fix up the Makefile
sed \
@ -40,7 +41,7 @@ src_compile() {
src_install() {
# Copy the device files and PicKit2 OS
insinto "/usr/share/pk2"
insinto /usr/share/pk2
doins PK2DeviceFile.dat PK2V023200.hex
# Install the program
dobin pk2cmd

Binary file not shown.

@ -17,7 +17,7 @@ SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/refs/tags/${PV}.tar.gz ->
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
# Common dependencies
# POM: pom.xml

@ -14,7 +14,7 @@ HOMEPAGE="https://netty.io/"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_P}.Final.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
IUSE="test"
# Same test failures as before the revbump still occur. See https://bugs.gentoo.org/827221

@ -14,7 +14,7 @@ SRC_URI="https://www.w3.org/2002/06/sacjava-${PV}.zip -> ${P}.zip"
LICENSE="W3C"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
DEPEND="
app-arch/zip

@ -1,9 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
JAVA_PKG_IUSE="doc source"
MAVEN_ID="xml-apis:xml-apis-ext:1.3.04"
inherit java-pkg-2 java-ant-2

@ -1,9 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
JAVA_PKG_IUSE="doc source"
MAVEN_ID="xml-apis:xml-apis:1.4.01"
inherit java-pkg-2 java-pkg-simple

Binary file not shown.

@ -0,0 +1,22 @@
https://bugs.gentoo.org/831079
--- a/mono/btls/CMakeLists.txt
+++ b/mono/btls/CMakeLists.txt
@@ -12,11 +12,6 @@ endif()
enable_language(C)
enable_language(CXX)
-find_program(CCACHE_PROGRAM ccache)
-if(CCACHE_PROGRAM)
- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
-endif()
-
if (MSVC OR CYGWIN)
set(BTLS_HOST_WIN32 1)
endif ()
@@ -129,4 +124,4 @@ endif ()
if (CYGWIN)
target_link_libraries (mono-btls-shared wsock32 ws2_32)
-endif ()
\ No newline at end of file
+endif ()

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -36,6 +36,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-5.12-try-catch.patch
"${FILESDIR}"/${PN}-6.12.0.122-disable-automagic-ccache.patch
)
pkg_pretend() {

Binary file not shown.

@ -1,2 +1,3 @@
DIST cudnn-10.2-linux-x64-v8.3.0.98.tgz 742140405 BLAKE2B 648849c041e2e7d87a8d804a35d9e0fa1d9a454977aaec4545386ee0c8b57c502b98583a357a70b7096905f82c2a8dadc252f8b363a7975d572167f4f7f2f121 SHA512 e0c6967663bdaf0e7539b550f1aa84aaf35efe6192fc524d78f6a1bc980a79b05eeb0693e9548f4d3433864f88137ce2ff1489d7dd0e8cf883000d6c7b9a62bb
DIST cudnn-11.5-linux-x64-v8.3.0.98.tgz 1477554466 BLAKE2B cd8b7bdca8ef08af971d56b43b80f0fe721f76cb744bfef43a9369f81a2533b00651f2c89e9084026991a1cc1c6db13b55914d966b723edbfc104c3e7626a087 SHA512 46af7d47b40a2c0ee8d5b893514755f803b5a0c7426b8d88b258e71ae6312cb553cba7dd68f63e2060849c70713330d52f93f56121f663213c16030d39b2fc1d
DIST cudnn-linux-x86_64-8.3.1.22_cuda11.5-archive.tar.xz 856769204 BLAKE2B 375021592470b1f17d7a69701f1ac3289ceb8ddbbdacf577fa51abfdad263102d3c6cedb24ac829c49e033300532e77b6064835a8ae1e05377e375f4320c9a15 SHA512 815ef678b7510e014181f3bf782e627771e8d00d218b34f2af11436b8a49331400269f98448854353c12721468365b71a8483eb7631777f0d628982e81942a8b

@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
HOMEPAGE="https://developer.nvidia.com/cudnn"
SRC_URI="cuda11-5? ( cudnn-linux-x86_64-${PV}_cuda11.5-archive.tar.xz )"
S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda11.5-archive"
LICENSE="NVIDIA-cuDNN"
SLOT="0/8"
KEYWORDS="~amd64 ~amd64-linux"
IUSE="+cuda11-5"
REQUIRED_USE="^^ ( cuda11-5 )"
RESTRICT="fetch"
RDEPEND="
cuda11-5? ( =dev-util/nvidia-cuda-toolkit-11.5* )"
QA_PREBUILT="*"
src_install() {
insinto /opt/cuda/targets/x86_64-linux
doins -r include
insinto /opt/cuda/targets/x86_64-linux/lib
doins -r lib/.
}

@ -10,7 +10,7 @@ if [[ ${PV} =~ [9]{4,} ]]; then
EGIT_REPO_URI="https://github.com/libbpf/libbpf.git"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86"
fi
S="${WORKDIR}/${P}/src"

@ -1,2 +1,3 @@
DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2
DIST llvmorg-13.0.1-rc1.tar.gz 147284646 BLAKE2B 3a1d8d382de633b7f8fc998f8ad1e03c24b733aefc591615cbd34115d1d6d74962ae33bbf2224527b521a76930ffee425527225563a558a04173e9aa9487c781 SHA512 d487bfc9b898ad0046e0c94338d7757d8a05a1a84d683abfbc9ed4994c6d12caf88fd18575225e284070fc67b3ac0970ca6639e61b1a7cc2948b216a5364a22d
DIST llvmorg-13.0.1-rc2.tar.gz 147304491 BLAKE2B 86b2c64e57e4aaab837229b25a95d5517ac077d22cf552d71ff6b996dbdbcd171ad51de7eb12d098b50a139beda4ace843727181a1c6978fc487215391e64a3a SHA512 0d890f3317504c8cef10e118b245e5a4c815cc19f07cbc511a66bde6c9b1f3d15c167942608a8987befe9115b24657d29f72305f9f2794385a7434b80167f40f

@ -0,0 +1,67 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OpenCL C library"
HOMEPAGE="https://libclc.llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
SLOT="0"
KEYWORDS=""
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
IUSE="${IUSE_VIDEO_CARDS}"
REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
LLVM_MAX_SLOT=13
BDEPEND="
|| (
sys-devel/clang:13
sys-devel/clang:12
sys-devel/clang:11
sys-devel/clang:10
)
${PYTHON_DEPS}"
LLVM_COMPONENTS=( libclc )
llvm.org_set_globals
llvm_check_deps() {
has_version -b "sys-devel/clang:${LLVM_SLOT}"
}
pkg_setup() {
# we do not need llvm_pkg_setup
python-any-r1_pkg_setup
}
src_configure() {
local libclc_targets=()
use video_cards_nvidia && libclc_targets+=(
"nvptx--"
"nvptx64--"
"nvptx--nvidiacl"
"nvptx64--nvidiacl"
)
use video_cards_r600 && libclc_targets+=(
"r600--"
)
use video_cards_radeonsi && libclc_targets+=(
"amdgcn--"
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
# TODO: spirv
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(
-DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
-DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
)
cmake_src_configure
}

@ -12,7 +12,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Libgit2-glib"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="gtk-doc python +ssh +vala"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

Binary file not shown.

@ -11,7 +11,7 @@ SRC_URI="http://common-lisp.net/project/${PN}/archives/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PVR}"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
IUSE="doc test"
RESTRICT="!test? ( test )"

@ -0,0 +1,12 @@
https://bugs.gentoo.org/778770
--- a/h/notcomp.h
+++ b/h/notcomp.h
@@ -299,7 +299,7 @@
#define coerce_to_filename(a_,b_) coerce_to_filename1(a_,b_,sizeof(b_))
#include <errno.h>
-#define massert(a_) ({errno=0;if (!(a_)||errno) assert_error(#a_,__LINE__,__FILE__,__FUNCTION__);})
+#define massert(a_) ({errno=0;if (!(a_)) assert_error(#a_,__LINE__,__FILE__,__FUNCTION__);})
extern bool writable_malloc;
#define writable_malloc_wrap(f_,rt_,a_...) ({rt_ v;bool w=writable_malloc;writable_malloc=1;v=f_(a_);writable_malloc=w;v;})

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -28,6 +28,11 @@ DEPEND="${RDEPEND}
app-text/texi2html
>=sys-devel/autoconf-2.52"
PATCHES=(
# bug 778770
"${FILESDIR}"/${P}-assertion.patch
)
src_configure() {
strip-flags
filter-flags -fstack-protector -fstack-protector-all

@ -11,6 +11,6 @@ SRC_URI="http://common-lisp.net/project/asdf/archives/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
RDEPEND="~dev-lisp/asdf-${PV}"

Binary file not shown.

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -25,7 +25,7 @@ QA_FLAGS_IGNORED=(
)
src_compile() {
emake all
emake allbyt
if use ocamlopt; then
emake allopt

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -16,6 +16,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x
IUSE="+ocamlopt X"
RDEPEND="dev-lang/tk:=
<dev-lang/ocaml-4.13
>=dev-lang/ocaml-4.11:=[ocamlopt?,X(+)?]"
DEPEND="${RDEPEND}
dev-ml/findlib

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -15,6 +15,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-li
IUSE="+ocamlopt X"
RDEPEND="dev-lang/tk:=
<dev-lang/ocaml-4.13
>=dev-lang/ocaml-4.11:=[ocamlopt?,X(+)?]"
DEPEND="${RDEPEND}
dev-ml/findlib

@ -2,3 +2,4 @@ DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45c
DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2
DIST llvmorg-13.0.1-rc1.tar.gz 147284646 BLAKE2B 3a1d8d382de633b7f8fc998f8ad1e03c24b733aefc591615cbd34115d1d6d74962ae33bbf2224527b521a76930ffee425527225563a558a04173e9aa9487c781 SHA512 d487bfc9b898ad0046e0c94338d7757d8a05a1a84d683abfbc9ed4994c6d12caf88fd18575225e284070fc67b3ac0970ca6639e61b1a7cc2948b216a5364a22d
DIST llvmorg-13.0.1-rc2.tar.gz 147304491 BLAKE2B 86b2c64e57e4aaab837229b25a95d5517ac077d22cf552d71ff6b996dbdbcd171ad51de7eb12d098b50a139beda4ace843727181a1c6978fc487215391e64a3a SHA512 0d890f3317504c8cef10e118b245e5a4c815cc19f07cbc511a66bde6c9b1f3d15c167942608a8987befe9115b24657d29f72305f9f2794385a7434b80167f40f

@ -0,0 +1,112 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OCaml bindings for LLVM"
HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0/${PV}"
KEYWORDS=""
IUSE="debug test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-lang/ocaml-4.00.0:0=
dev-ml/ocaml-ctypes:=
~sys-devel/llvm-${PV}:=[debug?]
!sys-devel/llvm[ocaml(-)]"
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/perl
dev-ml/findlib
>=dev-util/cmake-3.16
test? ( dev-ml/ounit2 )
${PYTHON_DEPS}"
LLVM_COMPONENTS=( llvm )
LLVM_USE_TARGETS=llvm
llvm.org_set_globals
pkg_setup() {
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
python-any-r1_pkg_setup
}
src_configure() {
local libdir=$(get_libdir)
local mycmakeargs=(
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
-DBUILD_SHARED_LIBS=OFF
-DLLVM_BUILD_LLVM_DYLIB=ON
-DLLVM_LINK_LLVM_DYLIB=ON
-DLLVM_OCAML_OUT_OF_TREE=ON
# cheap hack: LLVM combines both anyway, and the only difference
# is that the former list is explicitly verified at cmake time
-DLLVM_TARGETS_TO_BUILD=""
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
-DLLVM_BUILD_TESTS=$(usex test)
# disable various irrelevant deps and settings
-DLLVM_ENABLE_FFI=OFF
-DLLVM_ENABLE_TERMINFO=OFF
-DHAVE_HISTEDIT_H=NO
-DLLVM_ENABLE_ASSERTIONS=$(usex debug)
-DLLVM_ENABLE_EH=ON
-DLLVM_ENABLE_RTTI=ON
-DLLVM_HOST_TRIPLE="${CHOST}"
-DPython3_EXECUTABLE="${PYTHON}"
# disable go bindings
-DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
# TODO: ocamldoc
)
use test && mycmakeargs+=(
-DLLVM_LIT_ARGS="$(get_lit_flags)"
)
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
# also: custom rules for OCaml do not work for CPPFLAGS
use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG"
cmake_src_configure
local llvm_libdir=$(llvm-config --libdir)
# an ugly hack; TODO: figure out a way to pass -L to ocaml...
cd "${BUILD_DIR}/${libdir}" || die
ln -s "${llvm_libdir}"/*.so . || die
if use test; then
local llvm_bindir=$(llvm-config --bindir)
# Force using system-installed tools.
sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \
"${BUILD_DIR}"/test/lit.site.cfg.py || die
fi
}
src_compile() {
cmake_build ocaml_all
}
src_test() {
# respect TMPDIR!
local -x LIT_PRESERVES_TMP=1
cmake_build check-llvm-bindings-ocaml
}
src_install() {
DESTDIR="${D}" \
cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die
dodoc bindings/ocaml/README.txt
}

@ -0,0 +1,15 @@
--- a/src/Makefile 2022-01-12 19:58:54.655901110 +0100
+++ b/src/Makefile 2022-01-12 19:59:25.446339664 +0100
@@ -33,11 +33,10 @@
all:: libnums.$(A) nums.cma
+ifeq "$(NATDYNLINK)" "true"
ifneq "$(ARCH)" "none"
all:: nums.cmxa
endif
-
-ifeq "$(NATDYNLINK)" "true"
all:: nums.cmxs
endif

@ -19,6 +19,8 @@ RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
BDEPEND="${RDEPEND}"
DEPEND="dev-ml/findlib:=[ocamlopt?]"
PATCHES=( "${FILESDIR}"/${P}-ocamlopt.patch )
src_compile() {
emake CFLAGS="${CFLAGS}" NATDYNLINK="$(usex ocamlopt true false)"
}

@ -12,7 +12,7 @@ S="${WORKDIR}/opam-${PV/_/-}"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
RDEPEND="

@ -15,7 +15,7 @@ OPAM_INSTALLER="${S}/opam-installer"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
RDEPEND="
dev-ml/ocamlgraph:=

@ -15,7 +15,7 @@ OPAM_INSTALLER="${S}/opam-installer"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
RDEPEND="

@ -16,7 +16,7 @@ OPAM_INSTALLER="${S}/opam-installer"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
# Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )

@ -12,7 +12,7 @@ S="${WORKDIR}/opam-${PV/_/-}"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
RESTRICT="test"

@ -12,7 +12,7 @@ S="${WORKDIR}/opam-${PV/_/-}"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

@ -12,7 +12,7 @@ S="${WORKDIR}/opam-${PV/_/-}"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
RESTRICT="test"

@ -12,7 +12,7 @@ S="${WORKDIR}/opam-${PV/_/-}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
RDEPEND="

@ -0,0 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=CWEST
inherit perl-module
DESCRIPTION="Pid File Manipulation"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
"
BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-File-Spec
virtual/perl-File-Temp
virtual/perl-IO
virtual/perl-Test-Simple
virtual/perl-autodie
)
"

@ -0,0 +1 @@
DIST File-Pid-1.01.tar.gz 3053 BLAKE2B e9e94134910b9a705154a1db7c7ec20a983d78e123b7fefa0477acd903a160f36b97f14f27e7b17bac5884ec672af0faf82e860b5d701cc998eaa7d4041e94cf SHA512 37deaa427b6b3ec2126d53f78eb437fe3b06af4167cdf46455434843c64b780f6d9941a3264d714eb8c1d46ed57dd6113d2ee17abbd1a7299a31e5a1a541999a

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<maintainer type="person">
<email>alexxy@gentoo.org</email>
<name>Alexey Shvetsov</name>
</maintainer>
<upstream>
<remote-id type="cpan">File-Pid</remote-id>
<remote-id type="cpan-module">File::Pid</remote-id>
</upstream>
</pkgmetadata>

@ -10,7 +10,7 @@ inherit perl-module
DESCRIPTION="Object Oriented Authentication-Results Headers"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
virtual/perl-Carp

Binary file not shown.

@ -0,0 +1 @@
DIST Net-AMQP-RabbitMQ-2.40009.tar.gz 198363 BLAKE2B 35aea3ba96b6b9cfaf8b8fa14d2a00326e4d64cc74d438ab59b6773f7ce67fd2ea7ded91a487eb20cdbe174c68825434839a8d7afb8e764e4a228e7088bba875 SHA512 2c0f53d59858e777fbc712c3bd06e3464783559dd9424c58a8fe586747e1d43aa4a607268484ec8bf4f10e979788ed5ea9558208096187c6e0c12a473e465459

@ -0,0 +1,48 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR="MSTEMLE"
inherit perl-module
DESCRIPTION="interact with RabbitMQ over AMQP using librabbitmq"
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-perl/Math-Int64-0.540.0"
BDEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.660.0
test? (
net-misc/rabbitmq-server
)
"
src_test() {
einfo "Starting rabbitmq"
local -x RABBITMQ_LOG_BASE="${T}/rabbitmq/log"
local -x RABBITMQ_MNESIA_BASE="${T}/rabbitmq/mnesia"
local -x RABBITMQ_LOGS="${T}/rabbitmq.log"
local -x RABBITMQ_PID_FILE="${T}/rabbitmq.pid"
local -x RABBITMQ_ENABLED_PLUGINS_FILE="${T}/rabbitmq/enabled_plugins"
/usr/libexec/rabbitmq/rabbitmq-server -p 5672:5672 &
einfo "Waiting for rabbitmq to fully load"
while ! { echo >/dev/tcp/localhost/5672 ; } &> /dev/null; do
sleep 1
done
einfo "rabbitmq is ready"
perl-module_src_test
einfo "Stopping rabbitmq"
kill "$(<"${RABBITMQ_PID_FILE}")" || die
}

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>perl@gentoo.org</email>
<name>Gentoo Perl Project</name>
</maintainer>
<maintainer type="person">
<email>alexxy@gentoo.org</email>
<name>Alexey Shvetsov</name>
</maintainer>
<upstream>
<remote-id type="cpan">Net-AMQP-RabbitMQ</remote-id>
<remote-id type="cpan-module">Net::AMQP::RabbitMQ</remote-id>
</upstream>
</pkgmetadata>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save