parent
830b169a12
commit
69fac72431
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29620 BLAKE2B 506342e2cbc6a831f115def9152bc811dabcd7e5e4f7e2d05fa5284e0d6bdd4135ee1abfa1b9f58ffa39ab18f51ec687c74f57d31fc3070bec4c775c5b161083 SHA512 0b5e161162eb02c3e15c88e3338f3393d0236210a8e30168e96dc936791710dccf29c9d0335eb5c1b3d374c8096269d6c6655a67d314395783911136bb0361fd
|
||||
TIMESTAMP 2022-01-12T17:09:22Z
|
||||
MANIFEST Manifest.files.gz 29600 BLAKE2B 85a4e75c164b7350589158adea9448267f3cd10ff930eb484d912a250db3a6c7c65ff4f6f80e1f1a7c68d043a9ccf46dda1dab3cee2b2402c9373f192b3352dd SHA512 5fc2e323a22c6635b020c8255949d780240a84e6c8611b4494d60114e1278f6e41a3f3dd171fb38460c0c87f808ea2ada58acb8a720930a58cd726a78117da5e
|
||||
TIMESTAMP 2022-01-13T13:39:26Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHfC0JfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmHgK45fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDy4xAAhuif2IEGwnPl/YXx170kHx4W4jv9iMdpwWSHA9D1CFhV19JQkvSxwQEG
|
||||
GxrBhYU4xyFKuhUxPrO2uUz/a7LAcYbbjFoznDLhe/RSEfcDBw+M9D39VK9DEXnJ
|
||||
NWcOasXnn7IAZdGQwOuWXUjZQ491y1UcExuaiSae/VUJkLfmA/J5XUXbBmiGFFtX
|
||||
B7QK1pih08rzVLF0rvBpPHB8W8ihlFijXOdky0c2HO+fh6fGjm7mfT12ufepTa4b
|
||||
oUmgRa+TzYISyvsYkeAcH/wKI5MC+5fueJdVs2NuqHWlAIYrlHmoTf6bR3YZ8zqk
|
||||
QU5tnRnTHgBZrWZH65nHhqjlURtL4Ok2gCmIGsnXZ7Hlw4fPHWUMGjaVbDVlPiGw
|
||||
qsgqumQ4lmNm6DVPxLRNP1ult6VWiF4GfmTqimSf2/AU1g+p7dzuyUlW5mSmOKSg
|
||||
ps2OheYEfFHxauCWAYNOPMwfNuGppOHexBU1/V90ySbb37JoNZc2TXELUUO9Iy/Q
|
||||
KekJivtPoH89tkeqf0N7iaj2TJxkrJA8PEbdHV+ai7+WPYYRGlZXNZy8yrWlxs3S
|
||||
wD69d93MqjxI1vCTA9gULnIfJ1e9QvskbJJNXmzs2toeAB54y1ipWSbqMFH3NKVV
|
||||
55Tr1W4A64XdOplZMWk9BpHIL6PmB+MtOto1qdWHO/dSA0287jc=
|
||||
=F7jc
|
||||
klCSFg//W/J6OjkVoafBvkDD+3nvIPmxZZlyD2oLVo2IQNEUYPTJeM4Glt5OLjQq
|
||||
Y6fuLz6Vv8O+Td2FcMufZ4YWQrworLiJpMSL2LbRwu1uOnTo+cMnEdBfoweSa00I
|
||||
64P/FWjD/IU6XoQpJnQaBnPqcVV8kGam9LhUVD43xjpVQka60U4DvjsYaNDiB3QZ
|
||||
zKk6e7ETZUiPctPoe01HgUbIFuJzkQr9PuLQtaNWmNvBNldjWLW1SWBUnGPzN1IX
|
||||
UpjAJXWRU+lz9bI03gTVsAWTmFuL4WIB4N+MEAxB6DBDKMCKcjOoD7ljY3pZr0L7
|
||||
EA6fvyLrn+MR5A3GL8XQmEeJ8J3xh044b0hUE7Zqr1Pe4UJIwav7qJzJRPEegqvN
|
||||
MMNChpgJ0fDFFHNMTarzM4sIJECXSzajMHGMH+q7VykMjqTayTOhdLzUcnqX1O/w
|
||||
Lm1Epuhc8ksciirXz4fDi6r0qmh1LAZ3ld0yorI3K/vkNSKw2DfGCQFu5oXfnPs+
|
||||
nB3sZiE816aN5l4muEAWbnjxeVZWYXHK3c90JcAt1sdRF3cmdlEfQuWHekAp6ubY
|
||||
xtK4CNbxJMfxHRAY+r4uCH3KsO/gUoJ50a0Zb4hXlDZeJGC34vAHx40BPTBXE+DH
|
||||
mXr/tfnoyUQxcg4u7rc1HeIAGHSZweHjxBFj/QsyxTQBBfMBxjI=
|
||||
=dFRz
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -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
|
||||
}
|
@ -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,3 +1,5 @@
|
||||
DIST yadm-2.4.0.tar.gz 96877 BLAKE2B 462a5816e106c4502007ff34ab338904e14a9851ebcfc7ff79a32a8b11fbbe3e0b7e6538ed6b489ab67e2205c84b2250749e3091c77fa663886dc9792078a576 SHA512 43e16a9502f9dd9f6c6dba3bb5403bb048244a406d44cb42a96a43e62bf7342efd5f302304dbedede61423546787fc929f378d68da9031207e70239ec4e265ce
|
||||
DIST yadm-3.1.1.tar.gz 106890 BLAKE2B c85bfdaf15da8e88aea8e1b41af5396111fe95922f38c9709d09d76b6cb515d4aff99f0caaa225baf36bc408f6efe7f53e7b2febd45c78acf2b5f3c897b87290 SHA512 6be40ff6b1130be93649bb533d63ddc2dad626bb3022392863b600b31eef2529df443a9eb24915979bef2d1ea4ef04124668723ffb0ce0f86727f481a3997c74
|
||||
EBUILD yadm-2.4.0.ebuild 1566 BLAKE2B ee2b55e4039b9d3718ecc08dc23b393a8999369fab0c5bc01c279a54de2922a1c79215dea8f05d95735a6e19f98b30e4fdf476afa2c8c26e4f2d784c944efa0e SHA512 833c8a2822ad71029bfce0d36b500d0f278ad831785465193b2abf3b3ee293a9674002dbb8483449d2bae28dd3dd27e40b16ecf3624af23aa420b8373c7e3223
|
||||
EBUILD yadm-3.1.1.ebuild 2147 BLAKE2B c41819203892ca9a8e4d917a764467e726ce7b744fcce2ae88c0954e92d6db865e6b554c188cdf5954afa58098b0827db2197a810306bf8536d4c685868d4458 SHA512 9802bec047a4790a250585fb660ae7481bb0fc5e5a09f7495977d6d06572ae08b3242f6678ef082a1d8c499c066008660d4e4b59fd86dca48417178e8715afcb
|
||||
MISC metadata.xml 826 BLAKE2B 79c41680142d275a20557b3a0aca5f664542f45a34f3a09c42ab7dc15cec352462521b94f2c647b09e3801883c4a8c37d14b2d71e75fe12e16c7346cc7fb733e SHA512 d3d6100185add752cd59346eb6c6c4ee0026a6f409d63ae37ca58b9e7396b5be76794a341846d898a3c1724967e71097ff30ee331c4d0640ed0de8430ab177e9
|
||||
|
@ -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.
@ -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."
|
||||
}
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX adcli-0.9.1-glibc-2.34-resolv.patch 1160 BLAKE2B d32a1b3a02558a17c60b8804c9b8dfe50a4f11645150c9ca39cefc5205d1961834e9a051f8d9d15987b4969f47fef17296f1576d9a523be8e633d38d307565ed SHA512 8123f3b09b38d78c2caab0a6445bf04ea7c3d2badea0cb8b35200403f28fb43b0e3863bf00628c5f3986a30d437c483871fcb50139954ccbfa885d3e8f7c8b11
|
||||
AUX adcli-0.9.1-library-include-endian.h-for-le32toh.patch 586 BLAKE2B c48b0dede264e9eb26038ef6c80480229d93d6cde351f0c1fc951ea1efc77d0a18da4d045e01953e99b8ff5280c4081fd2f9a4425c289a4ff01a1e207dc79804 SHA512 8aec26b0f21ddebcf2529ae9e4052c38150d06fe5f4a95f1f011e0af5ae0781b58d40a9b3515178f1986f465ea076516ec1dc9fa81c451fdcc7dd5fe4a9cc85e
|
||||
DIST adcli-0.9.1.tar.bz2 89684 BLAKE2B deaf6d3a13ad29c77a35b9f9c195dd646f384ad7c9782c15b50b26efceabae268bbb287d488ec7ed8d783d92ce7d8399f05898d30201d0d7fab7c0369c22fce1 SHA512 7e41fb51bfcb8837f9e5f6fd1fceacece0762c237dbc0f58dd581e2be8841d7a613d57507aea4534a66a2bd10ef4d01c4e04885437038c71238739db6e357d6e
|
||||
EBUILD adcli-0.9.1-r1.ebuild 725 BLAKE2B c0e3cacabbc413ace650cec59c792118bbac7b096bf16a62bcf2b5e4cf15675944c46e1c7501f7de4694a83e9138f412148b15aac95db58cf27793fda13d288d SHA512 d6f233e2325c497f82a083b455beb8b87bb7960fed5d4150b2f462d4d04e9081cf2c9d1d31a429505d6898659fdd89800d2c7d1c0a8f5e7b5bc6357122a2c4d7
|
||||
EBUILD adcli-0.9.1-r1.ebuild 793 BLAKE2B a6b532e4754aef63fbec65845fb6bda89ad6877304a3953c5d9413f3d34f7c48a294182d3dc195c4605658b490ed65ed79fb011d435175fdda6ffdf2c647eb8d SHA512 095dcebd9853da299732b772a0ac4a3a20a9d037885d78b0d893bb344f856f389198ccd2921eb7a0add548849fac4d04702684d2d6f2d60c8c8997544986490e
|
||||
MISC metadata.xml 519 BLAKE2B 045c1fcd7d3031c5893a88222989fd92b37f7e9eb856028f3f7428c35f81408ceeabdae819db734aaf2daa14ffbae237b97f0ab191987a09fc2ad716214dfaf6 SHA512 19bf6d0b329a4a8baa010b709be949abd6c417b39d0ef9a6342895125a6b7621f50f4f0a40c6cf51eaa41557e887be555e44ff9fc1e9ec6adc95779c63fb5fdf
|
||||
|
@ -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.
@ -1,3 +1,3 @@
|
||||
DIST gedit-plugins-40.1.tar.xz 951024 BLAKE2B 8a5fa07d6b9a5848e66de995c05f389b288e7863fa506476fd82157dc203e472b8ac8b8bdd15b09513e5d819fc58ce4d1077e62e6c5b90f93b14775052bf2737 SHA512 71649d157ac5591e4dd317c44ae167c98fb59e253c45f8c1ff8ef397a9e3f0bb968f0ef2486f9021354269e77defb9e5e305f1538f69818480a250966143c7a3
|
||||
EBUILD gedit-plugins-40.1.ebuild 2710 BLAKE2B ab0ae12ed69945a6562c9ffab7932fa624f9ccdb35581daf793acf3aaebd1f39051ed99c838faaf463f1e02e341c97593011b684f326827c1e2c32b7210968b0 SHA512 80eadbfbe461b768718e3d8c650af8bcbc6467c811845888f38d32882c1cdc076999350bce4f155cebcac73bf719fcd928873ab768a97a3ea1d5d1af221abb0e
|
||||
EBUILD gedit-plugins-40.1.ebuild 2717 BLAKE2B 5ca39394512387999dc672d688372a43f29ba1ce410e8f0c7654a478780caa614a61fb949fff8293d3e58b5c022d8adbc405b7d481bb8924966a32ed4a274c8f SHA512 d79253703e9bfcb340937608c6382131a545735fcd4dbc6a9282a97c914f68a4b1de28c24c7da6a0397681ad04e5376fdbd7c1e974e8896097848b073d7e176b
|
||||
MISC metadata.xml 481 BLAKE2B 5fbf2df78aa40fce971741bb7d04de00cdc7a6371c2652ae0ae4bf253ee469c4bbb5e5a7c2b88226f95bb8865930dd19e9adedb191fd5a173ce915890ce40b32 SHA512 3b4b858659d1597e6c1ee574143de4864be8b75d4a6399d47bff85c4b18ec35472523bfeaa0815189a9008764405ee3b2fa53e73fcdc3edc8eda00a5f943f762
|
||||
|
Binary file not shown.
@ -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,6 +1,6 @@
|
||||
AUX xe-daemon.initd 628 BLAKE2B 2307505518a79ff929dd8559ceea7e25df88f8b32e589228b64a50e1117c0cfa7da6d43fe5f4b32add62dbc24f5da02d959a06602b973546777bc36558547e99 SHA512 0278202ff6ce4d8537fd56293844039cee438d5487bb5bd843634f7ca91a0ade2afe5d5b5e5fbc3715e5ef3966ff58772a3540ae9e3cbc19b19eac4266b953b6
|
||||
AUX xe-guest-utilities-6.2.0_p1120-Guest-Attributes.patch 4599 BLAKE2B 6bcbd37c9386ed91635d23cbe43ea07ea321063d4c859688735303f14734b08b7895886f49791c000d64eff0e9b458f266a2c921e7c4fd202cd6d10fafcf1b76 SHA512 c9147d9a93b45d7300441b6c398c27bf3c38d39c0a6908f80a2708b8c26329c9b138522ca3b7ae7b4af2ace3b43ededda03dd39b9c8cafd31dbe32beae739690
|
||||
AUX xe-guest-utilities-6.2.0_p1120-Linux-Distribution.patch 2146 BLAKE2B 6875bf6ff48acd48cee2e590402cc546dd53df8a0861a6941b2de0d8c8caeb509f107d2b24c4e5c5d665890c15972c84c80c299eab718ec81131dc0594b6a5ec SHA512 93f5c1445b7ee449fedaed3c73a3f21b6adc0fad67d90e3bb35213749ae659ffae85dec3ddf43d4b5df21500e8b651651dd7496a2ffb8fa2d9091dd246c839de
|
||||
AUX xe-guest-utilities-6.2.0_p1120-Guest-Attributes.patch 4508 BLAKE2B 94a4af56898bae5a79cf47b0ee96270a427a78d4c3e51541545e695ad3df0906bf394db0fa8a189bb55807066a70bf66ce3e21079014f2dc5eb644a1645cf785 SHA512 bb36bc82ce014d203c0005f905acf8d7a4586b88f5096ffaadbf8bfb51d9597e847b155ef9780493099338d53868abafd8a50761c4183a55f3981dae8dfe9c3b
|
||||
AUX xe-guest-utilities-6.2.0_p1120-Linux-Distribution.patch 2055 BLAKE2B 0ea0c68134ff4969066d69ea64d0ac5fffa8c2b649538cf273819e3888a1352ada8ebf23795a9bc5b5ddeae41adde925e8cd5f1a3ecb555d5a2dd66a82630b42 SHA512 6a5691e2156a1b147bd456af8acfaad5c6e2aa404e085c54dce642a8c09e77a5fd518d46d80063a5690c675796ab8cec0ecd36849573fe4bcbce905c725c14e9
|
||||
DIST xe-guest-utilities-6.2.0-1120.src.rpm 566881 BLAKE2B b2c727c551996f218c021d509ba1841baa07c70cbaf7660c0ec9cbeae696c4e77921d8ca12e8dfdf934a6894058c62ee6bf4e86bd1918e304cc76ee28d396fad SHA512 b945b3bf8175816b41b3a07a7dd8f0d9d2fdb1a7144448a5bb7fb4b6729736c67cea88fd45031df41abdd99416addb17fa1ee9cfe1fc76acf610cde3b3213880
|
||||
EBUILD xe-guest-utilities-6.2.0_p1120.ebuild 1500 BLAKE2B 42233eba29d6748e4bfda2ad162b94fdc380797ff773bc389c5bfd1a2126c41021b8001dfa87c62495f63eacd9f728254aacb684d81d8107f6e5a0b4a83fa22a SHA512 8ea1175a64528178645256f030d0cc4818c8318cb87681268c3b3fcb64c0e156107dadf36d40f20da86af52a533a392e65818a0029cbe67c358b83fe3daeee39
|
||||
EBUILD xe-guest-utilities-6.2.0_p1120-r1.ebuild 1483 BLAKE2B 2ad9f008b0b04625797dd799a34c0315f1446bf182ffc9f05414db6049e6cf5d4c433a2c757af444be3673a9043f57ab50fc09f5583f73304a65f0622ef9e6c5 SHA512 f09206181abef7023facb72c51704a0650ccf9c30c86a5029801a52613e8cab7595f91a48949a171ae5a03d6859e9164b079ec7232693cb7e25f586a2f9d5376
|
||||
MISC metadata.xml 791 BLAKE2B fc1e107b5d409edbff73ee781c03e81d113145f4a7424fafef60cbc876959e8ba6ccbe2f1f83ee75172647f7cad0fd4ff43c9aadde75d176ffb1626125820a68 SHA512 f475e1a5b4f50bb9c3de828ba2d0433e6eb54706c207fc7591aa16d5c2ac128b6649f77dd751f65e901280a47a9cb690599b57f625858bca580ebc34036048cf
|
||||
|
@ -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,3 +1,3 @@
|
||||
DIST eselect-gnome-shell-extensions-20180306.tar.xz 2676 BLAKE2B 846e282f99828ce795ba98557bb97301f576895c46e98ae0c079dfee8461146756c85573c1ce24e4ca3690d2ea8383dd988e40d3fe271a32b1987e027b47e3ae SHA512 2c0b9119219d8f3c54201f9865e1a9dd6889ccf26537802c591e89adb545f38aca13fa6b1119fe52d4183daf4adb6d2b1053b252d2756778b31626688092196d
|
||||
EBUILD eselect-gnome-shell-extensions-20180306.ebuild 1609 BLAKE2B bb32009deba31a0452403a65107fab191e22e8c44a6bccc84810d072e310eb889a89e82ce3976cde44b316a2549913dda0837932b2f2b30206ea74d530089919 SHA512 b0bb75c647e41ebe5b1a6793c6654aec32675362534799949ad88dd85e690421684bcff7e7852efc52dfa2c657e2f7cd9668d92d21e7a12baeb155adb5f682bb
|
||||
EBUILD eselect-gnome-shell-extensions-20180306.ebuild 1616 BLAKE2B aeec5f4967f8286a5b6f9eb73867a63e256ac4a730b6f0285523dc0b1ad360b01a4f530c73a8b511935d47e9fa7a7bddd663e45072d7277f607c29c3969bfe7b SHA512 17d706c52b72085e755eb1e36d8096b67986c605e1ce28fdee7133089485d7a2a17d6c1b5fa3beeb025b5276f0ace4000bf8d30f5851e4b8e2e1c624d31859b5
|
||||
MISC metadata.xml 273 BLAKE2B ddf988229b39b9ddf2430f60fab75ff69b10632a53dccec1d92e0a73501c8eaf31f7c7b7b1e9817da32af2b33a6ef53770a8fc03a3300b03d774f98350855342 SHA512 7a05cef2a377d49afa46c94f9f6739f2306bd4ef839b97ce5ee6e9317e31027e28f4ad54dfab105edde4cfe44f919a9ad5301cb730daa5238eaf458177b849ab
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST eselect-repository-11.tar.gz 8554 BLAKE2B c7bdd1559c310c492b2c00c7a7cb92d48ad24a69ff4485c1282c67b7dd211360fcda6d96eec2b9e734a1b4745f2a0fe9da1ff20d62bf1174a64b6016097ea634 SHA512 31b0b36122e580a018ca66d112cdddfbfe1568030fb9a20440450c17c759bfb872eb7ef99036a3dae14e8384a8f770354fd4cd362ed594408ae9e8dbbc6dea68
|
||||
DIST eselect-repository-12.tar.gz 8543 BLAKE2B 14866156ddfefebaea368c4a13413d79e7858520861ee2b699cb09b339f3bb4b8393af7201b4cb7d6a60d2a48d168a053cc4707e2f56a7a2a11cfb5156cfa83f SHA512 3b98b9bd87fe61c7fb4d314e72c8433b11dd80501cfd226d4a4de25ca6d08e7a14a2497a1700ac64d704368bb8e5ea2ec337d0712097e9e10182a3122a59e388
|
||||
EBUILD eselect-repository-11.ebuild 1125 BLAKE2B 38f1036bd4e9bd64cfcb4be4c4663075bf1a165d0ad82aa6254a09f0dec230cf94c390581e7db26485a19db5fa48e7b4cf6223a8e5132bb44154e2b3a006333f SHA512 4ddbe62543d353583b2e197a31245d4dcf5a65f2e52a55673b7aab28f09b9fbb2da69e0a952fd6bfefd917051b3035edb3f47bdd02f647cf727fbe310bce1810
|
||||
EBUILD eselect-repository-12.ebuild 1133 BLAKE2B 930088c8e2403548001df60782269925bb2b4a682eb5b5877e3de680aacbcde4333e1179f8248c92083f85d15d231a085c46fe5903fe11889a210ace9f7fef35 SHA512 9a9b7072c4efa5a5a604528ab14ef67762da8d28a8bc21e8819b0d70e66ba0281d402a45afc64a12983edcd760c4c694d86a472c12167d39b38fd768c0790845
|
||||
MISC metadata.xml 362 BLAKE2B ab27b034d147af4cee32a9eb0474cf127c0ec71b0cf57793f2a4a6cb410a9ccf9695233c30fdfcf0be0ad786962d7fcba9c74f2d0840608e98280f1aaa5f5c53 SHA512 d80c1415e204a86c0d28ea07b5f909ec7b3e1f7db407758e32dbeb53845a3b5239536815b60e7d7022017b7f8f0a8e331f93503f0062d104d9b8c6715f261780
|
||||
|
@ -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.
@ -1,10 +1,13 @@
|
||||
AUX chkrootkit-0.55-fcntl_h.patch 656 BLAKE2B 4f7430a1ab7d09e595306bb2c334e6fd8c40015a60054d803aae9b7235240d19de1d27cdadac1d292b0d9cd7dc0573d52024f715e5cb9ff2218b9364508a9728 SHA512 bb9fff9e3affdfafcd190da1ecac706a14b6fb7526a13626853a91655f7e20558a36f8fd77c9cca214e05bace4e413659caa3df620b61f8a85809a14e8cb0980
|
||||
AUX chkrootkit-0.55-limits_h.patch 174 BLAKE2B 0fedcb310905169f805892f2b6fbcec150dc41f4d0312f8e3458e83b4335799c192b84af8c2587d4105d9e8f7fe21f89386bd1be4b89a9ff5114fd872b44cd50 SHA512 ea055b978433e028285d225186bf7ae589e4899c8d890dad483898581a5553a806b61a3c1c97a76f9c465a0ae61d6a25e6945907dcc84420a78e47542bcfc734
|
||||
AUX chkrootkit.cron 78 BLAKE2B f43e9a4a0864c3914658298622aaf0e97374e4f8518c085f0c6c1b439583b36567652376a601eb039ca9d6a8bdda0cb18d9c58b36ab61839113048d32ce9fb54 SHA512 6839f3372d28673ee436349a107dc33b77cfd676fd16cda1ccfc5211514e840593d0f106e4e0a9331c4b658860992a9169f3a7cdd75c835a780a41097e7bd758
|
||||
AUX chkrootkit.service 140 BLAKE2B 4542f1ab3dbe6108e7d35ae1e094fd822a85838cca372681ba0d48dad943ffce9a584e94d4915f1198d915e91e49eb4363a77bfdd38d8d225e7e30ae2a4fd310 SHA512 696eaec795501e53ee41495d3e41f09a9ec05dc11e0c0055fcb07fd5f4e3c3a1b2cca3b318cca7d6dcecb039a64fd970700c02cf87298f96230bf839942ded9c
|
||||
AUX chkrootkit.timer 234 BLAKE2B f46a41bd76707cfbe4e52f32344c44b472f8c1f81ce24162a7f542f01de0f1200a5049e8b856fba31cc6f2be6c48cee645ff7aac9f5a6f54d11703a6ef6e60cc SHA512 587347f87eabdadd351c056443eeeecb15a772f962f17f49098f3311a99c48dc74f626e2a5c2d9e71435a70b36c4ef90aa7fe414313fd1f56ab027df1d5e338f
|
||||
DIST chkrootkit-0.54-gentoo.diff.xz 4848 BLAKE2B 25d1736bb839533fae36550518b311e52bb38f8a562a63d40629789dc9497b6e71dbc306d1f845b6a5cd586468afa6a7ac4ce8b6f1bfb40d7ac9b0331a55def9 SHA512 6c972b081794681b61b7c67f9a5762ba5d2c0c731c9a2bf9f75e715984edf7022ddcd44d34803eacb58a59e8b21932ffb586cc9fb7998a43393367c2530e353e
|
||||
DIST chkrootkit-0.54.tar.gz 41461 BLAKE2B 61384fda7db08ca2a52ab060ee4ea3edb7311cb9908599a511459dac22340f28e75d732b10d827aaeed89a1ecb6fc7f69ab8fef970aae5a73bae8c7949944831 SHA512 fe8955ac33abaabf304f5580b6f12929f8bf02329ab442380eaa6298440cf1cb0eee2db8e5667ea7d78b89ee2bceb82c10ebb732a71d6bcdda9400569cd587fd
|
||||
DIST chkrootkit-0.55-gentoo.patch.bz2 5028 BLAKE2B f8f809252d89b9195601953c6741c9a653b658d86669f149380dc94da91085921f58fef7e6f232cc421cf62f7321630120a85ec4dfdf369d6e92c0a7ae81e0f1 SHA512 bdae4fed6f8c61337e855235bf84b20faa363a3dfad9b2f22a017bd232aaf7f4bc0680f2b5567d6545ef3cb6ce7d41cc2287f4f0a2baf68ce3c56c68df8c77b8
|
||||
DIST chkrootkit-0.55.tar.gz 42630 BLAKE2B 0e6bc4d411a7836cd8ab72782027e5bd80b5c8845d8de1f48ff57bc0617a368cff2471835a66c30d007f4cfc243639110e0c39e02eecc3ec9c5c0a66a4b7891b SHA512 742dca90a761ecff149d8704cb3a252adfe8f9d5e15dd060e9db4d5f6dcd3820933ae13cbee99ea5a8c6144932cf97c0616a177af3ba5a1726b51bb304e7d63e
|
||||
EBUILD chkrootkit-0.54.ebuild 1283 BLAKE2B b86b5b2cfe78135e5d9caa6323b2e2ccdc0584c503d84354276c4d1843234e39a598a4e352af6925738595859a8a74ea0700fba44765d7c587c7c03c3d8bdec5 SHA512 beedbb3345b227c9273b4a33de22bca4edd768b1b317a967d27b3da99aa8b45003bfb0f63d65275ba13e0aa9b0988771a5b3cb265da87935b4aa62c46e75368b
|
||||
EBUILD chkrootkit-0.55-r1.ebuild 1670 BLAKE2B 79e08c54fd2f95dc97905e272167c1f43a15fa30987e9b57a31de2a5bfacd3a3a51cc54c1f28ca42e6e2befea8d0be85948798c0bc15d60eced8e6f9b8656390 SHA512 18e667f4be878f9c64e2b29b67362135ba5438901145e3cb8601340a80c5dd99b8be2dad70e84c5d6dba19d158b35a5373721670ca22e389536180ed11ff0d94
|
||||
EBUILD chkrootkit-0.55.ebuild 1384 BLAKE2B 9ae73e3bcea751e6892362f6f24b296ea4e70d2414e6c239e771cb516ebf6bfcbe17fd407148cf4807defb81e61708d0bb2c9c21adb72beb23d18cb606c88dea SHA512 da25a37a7990698c9cc155b69622e780a35b9fd58ff45437ec20febed44062aeb44fb88b8918df87975714e22d293df150f7f70ec3812b9017fc8484e8c3b6d3
|
||||
MISC metadata.xml 255 BLAKE2B cb46d75d301b45719f60e2b65db46866085ac1063b958a6d529446a9636d2df6091a78a66926a5077923e01652e6d8e59459fb3486c84c6c62aac27b968dc737 SHA512 6e20a19f2a980d413626b3ff07975a49ba016d4abd97e11be10d116e66b3ebd245758eed147733462ccd72c96ea8b1ad1a198bf374c89783f0e11548bb85c333
|
||||
MISC metadata.xml 485 BLAKE2B 0279eb0bff02b31659c964d77b1919ea76f1770c273937aa03ae57be063e5c020c262740e61f7cf8f52f9be2eb7fb88682bbbb0308fb598f042faecbc0eb0b60 SHA512 f7fa5ccde5e81487d89dbbf436f6f56bad6d28ed44f8a65d71d6ad7997756f5916cea4b3d7ab95cedee9317fa7e89f92b8a5f1fd0529366062fe43060a4dba7c
|
||||
|
@ -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
|
Binary file not shown.
Binary file not shown.
@ -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.
@ -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.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX pk2cmd-add-share-dir-for-dev-file-1.20.patch 668 BLAKE2B e8d8f7283231ae231d7a5372b16cfdc28fe493eccf4ed85eafc995583c7a1ee7e8db4d1a0c58df0cb8e87f5bb1c82aed46eb05c275e51cf337f67a7e6ea9b1fe SHA512 f586c7eed0eac0d68e495d582c85c802c98ac8c84f7f21b00616edbbace74b877d21fd43334e5accfd02413d4a6d9d9811241feec1eaeae3a7647c745206d638
|
||||
AUX pk2cmd-add-share-dir-for-dev-file-1.20.patch 596 BLAKE2B 9eb25f4ab586cd2a9348e9a6af3e821a64df29285304e7dae0ec83d2fe9ddcd341eb85f1f853f89b3547619b30221c71543cea08839f44e4bcfdba07d276e00c SHA512 a4d0ea6f6b69b5b8a881c53b3fde679d29ca948ef53fa9b5e57114da12caa39ad1caa18277c341a2ba3ea0240d56289d2181805701d5e7bc63a61ad3c9b87fa3
|
||||
DIST pk2cmdv1.20LinuxMacSource.tar.gz 223175 BLAKE2B b2d53763d5030341f13cb1bee534cfbed160ee4e4a839d5f900bb334f50a0ca52968fd8dc3f27e0fa8ecb47ad2b1d251881ed4646be41b5862e4fd0c452102a9 SHA512 72675eb287c1410c82ff49b4922afd28a8017b4e8517d10e77e0f0b111630f90881f778d754a47c97453f45412e965e281435d495fc70a047bd7357dd64f7b24
|
||||
EBUILD pk2cmd-1.20.ebuild 1209 BLAKE2B a3a3edaa93a9cf4357c42fac2114359b7584cfcb683d052ed9d47ba6a5ffb210b852bc2d9912ca508215661da6ae80c5863bdc2d1198aa55c174502f4d83442e SHA512 fe954cf667a37fb9aaadd9901eb37f4aef9064c1993fa2826b74d20db07601f1f3080f9ea80619b9ea9da2d4c1783cd92649c097b6340dd119957fa4f77001e1
|
||||
EBUILD pk2cmd-1.20-r1.ebuild 1137 BLAKE2B 2eb83838c7bf9ad612ef4776716791d1c25e66cb8fede3b74aafdb7d2e53a9998374c4884e66d4649e3a4231605edd2518035be71233eb3e3f3220357c714e89 SHA512 b7a6caa0481cd228ac6f45deb36baf66bf518d32cbd26614290f5b6bccbf2bc30c85eec26bc5af93080aebc334fad9e038a2f0f20ede3e08c1fc11e6f7779ad7
|
||||
MISC metadata.xml 250 BLAKE2B 8a43cac0f4db66fbc1320598dc1a764f7abebcf37513543da007eb2bd61064dbb068f78eb913b4ec16214beccbcc1229ebfa17beaae09eabef985852fb8a5b11 SHA512 95796c4e480c6e6a7db492b41b97c8676fe00580079637184b03bc4105b362d6ceac8d692fc6c426d7388e08892d080cf64c8c0143b3e9fd0e7a52a8d1295c78
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST angus-activation-1.0.0.tar.gz 26068 BLAKE2B 45151d8d0bc3c2b1835d2ceab62e9d4ab5294dcfbbf606d3298013f0dd5f27a7bbe950effbd053a6e54ec1179884870c167e8967b3536dd79902dbda506bb8c8 SHA512 e6e7b32f1aab8d293d5855a3e6b155922c18aeddf13b3daab6928c1b95b4af6dd292c5670351a70870723bc80a58ef4366e8b4fe40c5f5b995266751bccfdef6
|
||||
EBUILD angus-activation-1.0.0.ebuild 1322 BLAKE2B 64f7bc7d71ebf6120fbcc8b032ffbae919453cba92a6f160c6191a55f7cd48ee227c8a6d1bef3b0b73fd0cc60a7a2ff73887d7f13e5d9b25fec45dbe5f715354 SHA512 1e635a1fe2c926e5b40515f8806094cf6ca4a60e2e485b2b1ce7005770cdfbd86ebd47f500965ce5aef670bf9c754d560fdd0fa41f98cf1e131556a261b7f1ff
|
||||
EBUILD angus-activation-1.0.0.ebuild 1320 BLAKE2B edd03c0bf4a99b55c80645c8ad76516e06c507988c7d959e60ba2cdc5de32392f67399406288c2212f9e225712bce51f2440573cb79d684700054bc4d5e41dfa SHA512 1baff59164c1f5c07645ec3b4002d27db586ddf7c5c52af1b099442bd2de3246488adf47add06cc4013bcb9c641265f22d062859e44208ebc8dc615e8c53eb6c
|
||||
MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST netty-4.0.36.Final.tar.gz 1267617 BLAKE2B 351b1f73b1a3c60fd843767254ae57e74d74cdfe570828b1a2e7aea55a203866ae4e232bad285c3937d8f2dc7689534ffb180fcd345c8cf10bced7048ec58ec3 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6
|
||||
EBUILD netty-common-4.0.36-r1.ebuild 1986 BLAKE2B 4fc44f6a29a0e5dd67ad87711df880d7a1f313821e72e7a0bf1e251b6ede4ab58aef656971dd884d31c8cfb7fa148a840bf0df66d3944a72c006c82ce0aba696 SHA512 3a9ad76d5972a295b16b83a8ed8ffedc79cf0143837d69b6132f073f9ff4e85ed9b72c0718fbb6e98a3fa2e766fcdecd0a2465d4f762dddeae903a881eb5f535
|
||||
EBUILD netty-common-4.0.36-r1.ebuild 1985 BLAKE2B c7cf7c00ae6c9e38070f469fdd3b15941b3f9d2e52282602dbecd4c923ce847417cafa7af247145fff8eed8fe82208e61a9f56283ed82c061a11953e7afa29d7 SHA512 eea2879c06b4d2eb695cb9f24a1275d2b78408a986a5f845fdaa1174c8bb50ab3807f78ff3ed9ba0d01403bb1086ee8c4fc9eb0e777f8910b615a1d8c97692aa
|
||||
EBUILD netty-common-4.0.36.ebuild 1604 BLAKE2B 1fd6224706f910a51e93b64603e2866912893b0083bdcb1ac4a4171a5bf2e12b772663120c8aa80e167478f3c40c5d76ba44609f2760e31e33463e6e169e2626 SHA512 ac48ea4c6910645f0db1831f41f49ed7ed304ce26267c3311fede9d70b3694f55438d2cd207a48aade49148d7412afde4eb79529c971ac7a4552da9f4f344742
|
||||
MISC metadata.xml 323 BLAKE2B de4c9f6ab6a8f2e4243cb7ea8d3e96a08e9a99b579d7996601094ca1bba95c4331fec32c42c4fa42defb8de1f5ed3bf9e52cc3ac3ca9e6a0bec6a55c3edf3d3a SHA512 99c3bb74ad41a72119dbccfaf446e9d13fd1002204188c363531a68e4434fb01a9f2ab0158ad359cea6163f3791759e8fa5b7b2c8cb7268212776d912840b89a
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST sac-1.3.zip 163617 BLAKE2B d52ae09cfa7a60afb66ebebb395a93f2e69fb0fc2cdec3153b34350339d179c1621f9cb613889664e008a1ed9d121520431df13938b5d8d9d722e40da01eeb12 SHA512 e179d2e672f1e9e134c4bec92742410bcf2c5d423e5d236856bb53e849d7fcdb2bb09518796d30862685a9ab2344bfeea9b4c7f3c3dd4a1007c8056e120c87b9
|
||||
EBUILD sac-1.3-r2.ebuild 573 BLAKE2B 99b41c787f0a257b68041bbcc3d5861ab40df88fdeb8cc1a0448dfc05705d8099df924df16eb49456547e61e9d0d8f271daae4ca19624a6499866989f10726ab SHA512 a679ac0fd19c578d74df57aee5e348ddcb897e832651905133c3174974712ef2cdb1031d5398d1bbd1f42ed2dfbff144550914a373e532eb5fdf2912879a76dd
|
||||
EBUILD sac-1.3-r3.ebuild 551 BLAKE2B 23f3e04eadcefc1bbcedb7e07414efa71b9452b1f1e3900c40feb43f0501035ccccb6de4d5abc505637dcbd9272ccf72cfcf665f7c08405cc8f59d669a3b04b3 SHA512 b2432e4a3b92c7c11ab5d6ec8237d91ad9a4f68ee63790b8b09bbbbbfa73b50ba89dc7b20bc929239c90e69416f94a5a7f6e436300cdb62276c347d93ae5c44f
|
||||
EBUILD sac-1.3-r4.ebuild 614 BLAKE2B ee6493062d9cf5594036924fc3539fdc89b471437ecd313a52f2a148d99845f88a58f0af271e7019747b29a4d9a62e906013793e801cd0fb774fa424690ea61a SHA512 9aae495d68593189dca7a9e4b8a08db138b2d6977a222500a0001dda0adb27b86da1ec56dae83661511140402c8d786183b85ca86c02dd8ce633874f3f6a5859
|
||||
EBUILD sac-1.3-r4.ebuild 626 BLAKE2B 9edb1e8c2ae54d09d4e2c66bac17d4f37bd4e6a0eb6ac0bc14e8522593bef8d3d895854b06a08578d65612bb14ff37a5154d273995ab7beb78ddecd3027a79ca SHA512 5256325c67c83055bd2182b7a6d676adc16d7d60c56f012479edc8c5392c610bcac330f0a923a487a225c1d3d0ce34701e59b354cf19c6bd3f4a0e8d0e069d6c
|
||||
MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST xml-commons-external-1.3.04.tar.bz2 659665 BLAKE2B b7f51fab7162b905142c5256f1d03d519b4ab387edf8b4c3d738ac138cf6ad71f29fd568c99423f840be6eb02bb50e89cfab3c729d2d5071d8a66e30836d8f5e SHA512 8bc71a0850e751ae4a5057833d57b2235734facbae43c733b0a9d86e5be99af016b737f12f5566c736f71374a709dee9954089db8fbeff4fb4cbb236a9fd6abb
|
||||
DIST xml-commons-external-1.4.01.jar 656529 BLAKE2B c51ca760c23759d4f4ad11fcb44caa1cb0bcb2785d9095ed56dba9b0d5fe57370a9d9aaeed5a8e0c1fa67918237ce693590bac791200add2e85155ab87ffe40b SHA512 f00773eec613453d0e1b7b0857b01c51d1926079f38e172953c4ef0350f063439acc8b5967f947c8d15a73e5d53e8887c3bf30122d5f7c553bcef349e5a8cb9a
|
||||
EBUILD xml-commons-external-1.3.04-r1.ebuild 1136 BLAKE2B 11a888f3719764a06ea3c6ad0d7ac5732410e8b67c3e4a431386e9e969d30104a5f02131fe2005f091b26df2f3a996366be5c82519b867ee66143ce118f3a015 SHA512 32e690d333a743c4ba1ea36763edb0510f8d8e9a43ba0272164e42df3a35d11e495d357ff7955bcc0dbe670957aa9224f21fda4fe6f084a2d37f082f9ea7d73a
|
||||
EBUILD xml-commons-external-1.4.01-r2.ebuild 741 BLAKE2B 31917e3062b14189e5024a98a104fe447d8f431b2427e65cefee60b2a41d5d1e3582886048ad1f3792e3b599ca810189463389eb39f58d5fc27843fc9b54fdb6 SHA512 9a5121fefe8d3850b7086a3bdd714c38e2ce9e14425103fab8e91ab8d15b7754bbf11a0a698d461be7e90ba01b007be56783f2de3dd4f678c4e5408bf5cac5d4
|
||||
EBUILD xml-commons-external-1.3.04-r1.ebuild 1176 BLAKE2B 9ecd949cbe8aa224da80696219c7d43896ea673fc18f33653b138cdf60475b1a6b05186134b8ece5877db98b6788c132f7e7757d587a4f87e4cc1dbb9e604871 SHA512 3bcb0344160d994a5233703239cc667999ef4f12fcbd9bd2e03fc7a4986adca1a9c0815968645664ac25e0d04357381537f0f21f91b1a6349a72ab7070927731
|
||||
EBUILD xml-commons-external-1.4.01-r2.ebuild 777 BLAKE2B 128d9741d7d328eef9495af7d34fd160dcb6e32e369a7dfd660f52bc72df62fe48a8b53e47441f8ff8733043bebfa7aff91f5e93af423816339214032e97a726 SHA512 60da15652a5aed745ee0f13aca803048cf803f3c307842acb9778746b4a728b7d78f109baa997b03935e4d4aee1aceddd454eead4b2670846bf6badf51ba08e2
|
||||
MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f
|
||||
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
AUX mono-5.12-try-catch.patch 1267 BLAKE2B e33836d53fd4c9a4e64614d3f309058b2009487a853aee48fae99cd0326095b6dc26e7fbdd178e25f9fc3901f74f937ce5e9d3bb4322ca50e139d13f66c209a5 SHA512 3a82d4bed31b212e23fe24647fc5b9c4788be5f4966377a3bef9f92a51d16181e77e19ca1ec4736792da6a18206986bbb54d967499e2ca7e224201cf811f91b5
|
||||
AUX mono-6.12.0.122-disable-automagic-ccache.patch 513 BLAKE2B ca0f3f1b2d9f3357f8e5197acdb18c3f02a9e09d90140fec133e20edaf960e74a4bd4949b453d79c656c3314fa720e94794b91a748469ca91abf78c8ca0bb8c6 SHA512 5e97c420272644f0636dcee2baf49cfc91d055c42990197c1c2724358e6847cf4866f22c247d4930ad7b780037c252970c3c3baae7641794ed8f50ff6456f23e
|
||||
DIST mono-6.12.0.122.tar.xz 292266176 BLAKE2B 07043c5fbca33edf64ebca0392b47af9b9ab502be772efb5afbe5ec9e8683b7f4e96a305ee906dff617842bdba2819c2abc130d7aff23b12779f403bbd88f3bd SHA512 0fbd4147498cc81e384933147eb6aa5c559d17a794a308af7ffa43dce51e0faefde24fc75e987ed804dcb161b52756944bc3611100fc0a4adcc260ca97ddaecd
|
||||
EBUILD mono-6.12.0.122.ebuild 3285 BLAKE2B 21b8c9a96de5bbb6a60567fef3560a68a582c91c7dad438cb58408e153ca9d1044e0249688defd15d98ef8997a0985f522386f11eab93060d97992c5a9d0753b SHA512 4a4ebb8c6ca91023ae9965cc55924ec682497a3ffb67af28864df5f77b6ecf0ce31afe900798db30e8417ef14bf9edebb390a44db4785e71d4332e12efb6946f
|
||||
EBUILD mono-6.12.0.122.ebuild 3348 BLAKE2B 10e4fa87a6cf16ca2a86110e8fece4b68ee6f96cc192ee270268d263c3af6383bdd19334765d84c3336e6532bcf4387946ede6b2a1570a0980aa52d462a4f42e SHA512 9f13d5e99228d52e8a366b3f781448a6f385f4fdbd7226b0944dfb3a6d10c27b1751814b0083e136ae996489e2d61d747efb986ce984a07bb9e89529186b1716
|
||||
MISC metadata.xml 582 BLAKE2B 498a6035f8da9da20ae51144d40ff5c599576bc3aa76471d655fb1eb127bc9fac7d5e3c6ef20d2c3d7befce109931f6a2ce6751183d1444eda6a39456068ceb7 SHA512 691d1cba0271329b683c9c81651343dafaeab891aab0b9396c7f620ff1897848d2c7171d3ad73e7feb6ac2f63e98262c9ee3ee6f679e4a08bf7d1b6973921b2d
|
||||
|
@ -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 ()
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
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
|
||||
EBUILD cudnn-8.3.0.98.ebuild 832 BLAKE2B 70584e11eebea6788dfb5f1d9586810e85cbcd93f128546fe926ca39ad23a29c2eae24fdd78d7cb178de195982ced709d768358173b343a3fca6f870bb25c73e SHA512 16af64f86ac442b3ab5adf62fbc1e4da5ccb8d20b656125edb8b1de0bee29b197c48215af1d00ba00c50141f9e355a2d4194523d5778cdfe2b45a93399139fe4
|
||||
EBUILD cudnn-8.3.1.22.ebuild 700 BLAKE2B 7c3095b585ad73f24ea12fcb5dc580a648c634c8662c5fb3558bfbf66e08b3c3e6cc75d4cda856b44d2f7187ecff078c1b1a2ebfe1b74c78038184f3cc94feef SHA512 95b4da813d90fd828afefac712d4da9c5eea12445ce2fec8c0c7bc05a5f493428360b34da558610878d4c83b4dc5d8bd5d79c6bc17a367d52a5ee20e67db4835
|
||||
MISC metadata.xml 371 BLAKE2B 07b65e38f232d9b70e9769516ee4e535b2ad6a1d0deb1d6103c503aa0bccf34d1171e1d66a5c7415dd2be3cbbf33619486b18dfd69cefe8c3e5a3bac4387bf1e SHA512 c811a6d843e7c24a2c6c0763db24ede4562e33d797ae8d531b9dee890cfa3acc0f46f58fa595d92bc862a58a930023456e1fbdc31c63d5411bbd688f7ad0bf54
|
||||
|
@ -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/.
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
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
|
||||
EBUILD libclc-13.0.0.ebuild 1431 BLAKE2B 023945ee57d09ff8763d18d0076733f929d7d0834757e9c7bcc02398512899a3c004a5c79d25f3c33418114824d03e78d904022f889cd7420eafb95a1d3543a0 SHA512 536fea5a39a795ea8984cafd271617291c6da14ebb39214a448a835e62e80fcd1ce004e69b770a22c78e1660209f76efd4fd2e6dc90b0b431b710dadb7f9824b
|
||||
EBUILD libclc-13.0.1.9999.ebuild 1422 BLAKE2B f3af05e150ecfe6545b45f5aa8e1e37a99193eb00f3fdd3d2ac35824898ae1f7279233e1db91456dfa665f6f14689f3eb39db95ccad2aa3d36f9ff60320677fb SHA512 a37bde17738852f5e824108f99bf65535bec2fb2e568e5d9d00b5ee14ed2b07c3a26db19bbea03c8950b6f3d1f60a05fced021d7b3aa93964395b0e6b235e568
|
||||
EBUILD libclc-13.0.1_rc1.ebuild 1422 BLAKE2B f3af05e150ecfe6545b45f5aa8e1e37a99193eb00f3fdd3d2ac35824898ae1f7279233e1db91456dfa665f6f14689f3eb39db95ccad2aa3d36f9ff60320677fb SHA512 a37bde17738852f5e824108f99bf65535bec2fb2e568e5d9d00b5ee14ed2b07c3a26db19bbea03c8950b6f3d1f60a05fced021d7b3aa93964395b0e6b235e568
|
||||
EBUILD libclc-13.0.1_rc2.ebuild 1422 BLAKE2B 4581595de54d598a5aee5fd78b594a8aaea3c08913cf48597dd1aec88fdd299bc104ed44919ca96ea7b9ace2f290c370ce2edfcb57ab46fadc9e380b7bbce634 SHA512 1f0749b33eede2d913c2700511e46042f70c8825292ac47a2cf0b1c9ed0de470758b5d0222f11cde20b83d7599abc0150918d405c409837999529be2baf3535b
|
||||
EBUILD libclc-14.0.0.9999.ebuild 1443 BLAKE2B a1074740140a14cd68ee7491b4d1dc3d296accaa269a82cb4f98f8a3c49935a43a61e43bcd9c8da4435040117fdc170dd153771d5581f765f9375be98fb72ded SHA512 540a4bbfed08807ae4fda13516126d85c4fa5e0756d2143a2bd2b4c61d9c0cc538ff34a77d7147bd54ed315af9739b273d0b5f63921496bb8f99dba5b014d6a0
|
||||
MISC metadata.xml 395 BLAKE2B fe71cab225f1879c7bfcb591a2bf96aaf7c2d454a3b83a8f4730e36c609d7064a9f0a3c9cd105eb11248a80e552a6ddddaaf69db0ec7c955356698a63042f9d9 SHA512 160750cbd7da115c3b9d070a73afac330c6841cb4a0d3102c65f4e9396c008d82431e14f66fae1c7ec83199a97d3749b662cb01d9d769ee20bd6d08666f5565c
|
||||
|
@ -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
|
||||
}
|
Binary file not shown.
@ -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;})
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue