parent
3159bef3a2
commit
805f2a1a58
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=536
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Florian Schmaus</name>
|
||||
<email>flow@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
ACCT_USER_ID=536
|
||||
ACCT_USER_GROUPS=( ${PN} )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Florian Schmaus</name>
|
||||
<email>flow@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST aws-cli-1.32.11.gh.tar.gz 2620959 BLAKE2B 8eab3362ec14ec50ae4f00862456e702a5555d27c53ab7dbaa4db2bd5a37f980bf5d02fef9af52da1ee8e8a6037e97101e47feb4bd24e090755a90c3cc74aa9a SHA512 949b927a76e7fa4c036efeb7527d90be9fac86c231a4f9c7f3682638e4f7c4aff1d32e6d75b6d2f36f27e42ae9cae7aa2a0216b9668b90f4a5cbb89bf1d44250
|
||||
DIST aws-cli-1.32.12.gh.tar.gz 2621548 BLAKE2B 17f90a0edd299d3cdca461368b2bf5109298606b4213a8f05398961b1ec0c4fc4fca2cd49f3bd6880f8c5bdee399f465e79458c62e95e45b57a6959ffbaf9ddd SHA512 3aac450eed425d25f0903fa50c8895f11d47c9f327dd9f8830496b415ce0a618324e57708d7b81dedd7f7bd972c1e3a61ae50d502b04264c3c7b6af92542856a
|
||||
DIST aws-cli-1.32.2.gh.tar.gz 2609043 BLAKE2B 18cf285e54c25605502167e4fa002f522063dd85fc0c09eb44b4513ada49dbe476ca4485bb1cb63e726c5e1bee6934ccfa340ac9c9daecae082abb1abd852426 SHA512 951814c6e5a5dcf74de12e66430c53ca010bae6a8c9984dc11ab456f1cbd4a3f32e5055b3f7587fdf8cff4c224f86bc95858a2556ed5b90981894f706ab1b023
|
||||
DIST aws-cli-1.32.7.gh.tar.gz 2620400 BLAKE2B dee6686b73100c607eba165f0f8ff91217336b020644c7ef7ee95dad16f57baea0878a3da96fd2f7258271573c1245286921240d141ba3020006b7ca2b37a0b5 SHA512 1df4aa8f2a2924d0e1c84e1187db1d5b974600831d7f668e39cfa17c34896ec51c604ef52d5ce397ca5950e79cac3c2e744c9b048f12164b650aa871e0c489e7
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,286 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit pam libtool tmpfiles toolchain-funcs
|
||||
|
||||
MY_P="${P/_/}"
|
||||
MY_P="${MY_P/beta/b}"
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="https://www.sudo.ws/"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
||||
else
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sudo.ws.asc
|
||||
inherit verify-sig
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
SRC_URI="
|
||||
https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz
|
||||
verify-sig? (
|
||||
https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz.sig
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz.sig
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-sudo )"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="ISC BSD"
|
||||
SLOT="0"
|
||||
IUSE="gcrypt ldap nls offensive pam sasl +secure-path selinux +sendmail skey ssl sssd"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib:=
|
||||
virtual/libcrypt:=
|
||||
gcrypt? ( dev-libs/libgcrypt:= )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1:=
|
||||
sasl? (
|
||||
dev-libs/cyrus-sasl
|
||||
net-nds/openldap:=[sasl]
|
||||
)
|
||||
)
|
||||
pam? ( sys-libs/pam )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
sssd? ( sys-auth/sssd[sudo] )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
sendmail? ( virtual/mta )
|
||||
"
|
||||
BDEPEND+="
|
||||
sys-devel/bison
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( pam skey )
|
||||
?? ( gcrypt ssl )
|
||||
"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_secure_path() {
|
||||
# First extract the default ROOTPATH from build env
|
||||
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||
|
||||
case "${SECURE_PATH}" in
|
||||
*/usr/sbin*)
|
||||
;;
|
||||
*)
|
||||
SECURE_PATH=$(unset PATH; . "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ -z ${SECURE_PATH} ]] ; then
|
||||
ewarn " Failed to detect SECURE_PATH, please report this"
|
||||
fi
|
||||
|
||||
# Then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:${thisp}
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
cleanpath /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
||||
|
||||
# Finally, strip gcc paths, bug #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${SECURE_PATH} ; do
|
||||
for e ; do
|
||||
[[ ${thisp} == ${e} ]] && continue 2 ;
|
||||
done
|
||||
newpath+=:${thisp}
|
||||
done
|
||||
SECURE_PATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local SECURE_PATH
|
||||
|
||||
set_secure_path
|
||||
|
||||
# bug #767712
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
# - audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# - plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
local myeconfargs=(
|
||||
# We set all of the relevant options by ourselves (patched
|
||||
# into the toolchain) and setting these in the build system
|
||||
# actually causes a downgrade when using e.g. -D_FORTIFY_SOURCE=3
|
||||
# (it'll downgrade to =2). So, this has no functional effect on
|
||||
# the hardening for users. It's safe.
|
||||
--disable-hardening
|
||||
|
||||
# requires some python eclass
|
||||
--disable-python
|
||||
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
||||
--enable-zlib=system
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||
--with-env-editor
|
||||
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
||||
--with-rundir="${EPREFIX}"/run/sudo
|
||||
--with-vardir="${EPREFIX}"/var/db/sudo
|
||||
--without-linux-audit
|
||||
--without-opie
|
||||
$(use_enable gcrypt)
|
||||
$(use_enable nls)
|
||||
$(use_enable sasl)
|
||||
$(use_enable ssl openssl)
|
||||
$(use_with ldap)
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
||||
$(use_with offensive insults)
|
||||
$(use_with offensive all-insults)
|
||||
$(use_with pam)
|
||||
$(use_with pam pam-login)
|
||||
$(use_with secure-path secure-path "${SECURE_PATH}")
|
||||
$(use_with selinux)
|
||||
$(use_with sendmail)
|
||||
$(use_with skey)
|
||||
$(use_with sssd)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP.md
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP.md for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||
EOF
|
||||
|
||||
if use sasl ; then
|
||||
cat <<-EOF >> "${T}"/ldap.conf.sudo
|
||||
|
||||
# SASL directives: use_sasl, sasl_mech, sasl_auth_id
|
||||
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
|
||||
EOF
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
|
||||
insinto /etc/openldap/schema
|
||||
newins docs/schema.OpenLDAP sudo.schema
|
||||
fi
|
||||
|
||||
if use pam ; then
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
pamd_mimic system-auth sudo-i auth account session
|
||||
fi
|
||||
|
||||
keepdir /var/db/sudo/lectured
|
||||
fperms 0700 /var/db/sudo/lectured
|
||||
# bug #652958
|
||||
fperms 0711 /var/db/sudo
|
||||
|
||||
# Don't install into /run as that is a tmpfs most of the time
|
||||
# (bug #504854)
|
||||
rm -rf "${ED}"/run || die
|
||||
|
||||
# bug #697812
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process sudo.conf
|
||||
|
||||
# bug #652958
|
||||
local sudo_db="${EROOT}/var/db/sudo"
|
||||
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
||||
chmod 711 "${sudo_db}" || die
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the ${ROOT}/etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in ${ROOT}/etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your ${ROOT}/etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
if use prefix ; then
|
||||
ewarn
|
||||
ewarn "To use sudo on Prefix, you need to change file ownership and permissions"
|
||||
ewarn "with root privileges, as follows:"
|
||||
ewarn
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST podman-4.5.0.tar.gz 17423692 BLAKE2B ba28e77626bb4bcdb85b20031e12cf93f2eb3174b678cb8e99557df13e2cdf377ea402eb373a51ea44302f878f8e1cdedda14a2f3ad8c9e88895754fc50c272e SHA512 8a699dc01fc3d7c4a9e5ef4f166170303fc30e0f6695c61f763944e1cb755e75896108e0c4166d184fe49e3a6859f045aa3883047ebba9290e851fc128d77cac
|
||||
DIST podman-4.7.2.tar.gz 20554551 BLAKE2B a53bbe6b21145ab394b4a9bc540d4335ca6cdd0e0a98e741e5cfb8aa19aaeb2801ca8d117d42b0d66f618018a2d4b1d736fc851b58b661cbae6ee815712fb936 SHA512 1873a158f2e0527b6e57929f391c4ea5adee5fba33e861eb7744cd0ac845f7296f6149b5e824142e701e5b4db95466585206f37402298301f99cc40b781a51ba
|
||||
DIST podman-4.8.1.tar.gz 21569190 BLAKE2B ea142f6ee120008c96fa1edef9be9a22cd846483f37a42ce3e5755aefcc5d9ee0c22b85edc7677e4bc6e4416870d8a45b382018865170fa922e97700504d4682 SHA512 a9188b81d4f4babb04c5a44d8a3aefb73c5d8f53d056d32c5c8563f296e27fa4f4b60f6c8581bebb7ee47c3f760743fd386211906ef0a88249f78256b24a4764
|
||||
DIST podman-4.8.2.tar.gz 21561815 BLAKE2B 7e922f0c7efdd359793891895977662793f400cc54802f56a75e9acc9c7dedf3da4fb10212fb54734edcf9eba28219c4c6de875f002085c0a47cb50c9c41cd53 SHA512 4ad4d03010fc706bb53de4d5de4779f0f32f623cda301f5bbcfd9d2e8f443f2955d2c8b9278f4741aad72498e87081475a53d5e5b1ce8a28035e18aa6d5acb0c
|
||||
DIST podman-4.8.3.tar.gz 21565162 BLAKE2B 13d2e5800dce96ba8c1671f251c2809dc0166198b807978d44b6f10b4dd2095e909678a12518fed84a0a1b5eee5a71e944170eb55350c3af945a63910f9c8082 SHA512 13ade866b888d32ada3b38130d7cc4677591136e25234e040b478c5d002d1b7907ed46731996d25cc41b992b98b75f109c6e6eea44251f4ad89162b20266976d
|
||||
|
@ -1,149 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
EGIT_COMMIT="75e3c12579d391b81d871fd1cded6cf0d043550a"
|
||||
|
||||
inherit shell-completion flag-o-matic go-module tmpfiles
|
||||
|
||||
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||
HOMEPAGE="https://github.com/containers/podman/ https://podman.io/"
|
||||
MY_PN=podman
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
IUSE="apparmor btrfs cgroup-hybrid +fuse +init +rootless selinux"
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/containers-common-0.56.0
|
||||
>=app-containers/conmon-2.0.0
|
||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||
!cgroup-hybrid? ( app-containers/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
sys-apps/shadow:=
|
||||
sys-fs/lvm2
|
||||
sys-libs/libseccomp:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
init? ( app-containers/catatonit )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
selinux? ( sec-policy/selinux-podman )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
-e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local git_commit=${EGIT_COMMIT}
|
||||
|
||||
# Filter unsupported linker flags
|
||||
filter-flags '-Wl,*'
|
||||
|
||||
[[ -f hack/apparmor_tag.sh ]] || die
|
||||
if use apparmor; then
|
||||
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
if use btrfs; then
|
||||
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
if use selinux; then
|
||||
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||
fi
|
||||
|
||||
# Avoid this error when generating pkg/varlink/iopodman.go:
|
||||
# cannot find package "github.com/varlink/go/varlink/idl"
|
||||
mkdir -p _output || die
|
||||
ln -snf ../vendor _output/src || die
|
||||
GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die
|
||||
rm _output/src || die
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${git_commit}" \
|
||||
GIT_COMMIT="${git_commit}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
insinto /etc/cni/net.d
|
||||
doins cni/87-podman-bridge.conflist
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
dozshcomp completions/zsh/*
|
||||
dofishcomp completions/fish/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf
|
||||
|
||||
local want_newline=false
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
@ -1,172 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
EGIT_COMMIT="75e3c12579d391b81d871fd1cded6cf0d043550a"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic go-module tmpfiles
|
||||
|
||||
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||
HOMEPAGE="https://github.com/containers/podman/"
|
||||
MY_PN=podman
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="amd64 arm64 ~ppc64 ~riscv"
|
||||
IUSE="apparmor btrfs cgroup-hybrid +fuse +init +rootless selinux"
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/conmon-2.0.0
|
||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||
!cgroup-hybrid? ( app-containers/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
|| (
|
||||
>=app-containers/cni-plugins-0.8.6
|
||||
( app-containers/netavark app-containers/aardvark-dns )
|
||||
)
|
||||
sys-apps/shadow:=
|
||||
sys-fs/lvm2
|
||||
sys-libs/libseccomp:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
init? ( app-containers/catatonit )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
selinux? ( sec-policy/selinux-podman )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
-e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local git_commit=${EGIT_COMMIT}
|
||||
|
||||
# Filter unsupported linker flags
|
||||
filter-flags '-Wl,*'
|
||||
|
||||
[[ -f hack/apparmor_tag.sh ]] || die
|
||||
if use apparmor; then
|
||||
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
if use btrfs; then
|
||||
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
if use selinux; then
|
||||
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||
fi
|
||||
|
||||
# Avoid this error when generating pkg/varlink/iopodman.go:
|
||||
# cannot find package "github.com/varlink/go/varlink/idl"
|
||||
mkdir -p _output || die
|
||||
ln -snf ../vendor _output/src || die
|
||||
GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die
|
||||
rm _output/src || die
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${git_commit}" \
|
||||
GIT_COMMIT="${git_commit}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
insinto /etc/containers
|
||||
newins test/registries.conf registries.conf.example
|
||||
newins test/policy.json policy.json.example
|
||||
|
||||
insinto /etc/cni/net.d
|
||||
doins cni/87-podman-bridge.conflist
|
||||
|
||||
insinto /usr/share/containers
|
||||
doins vendor/github.com/containers/common/pkg/seccomp/seccomp.json
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins completions/zsh/*
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins completions/fish/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf
|
||||
|
||||
local want_newline=false
|
||||
if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then
|
||||
elog "You need to create the following config files:"
|
||||
elog "/etc/containers/registries.conf"
|
||||
elog "/etc/containers/policy.json"
|
||||
elog "To copy over default examples, use:"
|
||||
elog "cp /etc/containers/registries.conf{.example,}"
|
||||
elog "cp /etc/containers/policy.json{.example,}"
|
||||
want_newline=true
|
||||
fi
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
@ -0,0 +1,136 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module tmpfiles linux-info
|
||||
|
||||
DESCRIPTION="A tool for managing OCI containers and pods with Docker-compatible CLI"
|
||||
HOMEPAGE="https://github.com/containers/podman/ https://podman.io/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/containers/podman.git"
|
||||
else
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P/_rc/-rc}"
|
||||
KEYWORDS="amd64 arm64 ~riscv"
|
||||
fi
|
||||
|
||||
# main pkg
|
||||
LICENSE="Apache-2.0"
|
||||
# deps
|
||||
LICENSE+=" BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor btrfs cgroup-hybrid wrapper +fuse +init +rootless +seccomp selinux systemd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/conmon-2.0.0
|
||||
>=app-containers/containers-common-0.56.0
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
sys-apps/shadow:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||
!cgroup-hybrid? ( app-containers/crun )
|
||||
wrapper? ( !app-containers/docker-cli )
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
init? ( app-containers/catatonit )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
seccomp? ( sys-libs/libseccomp:= )
|
||||
selinux? ( sec-policy/selinux-podman sys-libs/libselinux:= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-go/go-md2man
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/seccomp-toggle-4.7.0.patch"
|
||||
)
|
||||
|
||||
CONFIG_CHECK="
|
||||
~USER_NS
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# assure necessary files are present
|
||||
local file
|
||||
for file in apparmor_tag btrfs_installed_tag btrfs_tag systemd_tag; do
|
||||
[[ -f hack/"${file}".sh ]] || die
|
||||
done
|
||||
|
||||
local feature
|
||||
for feature in apparmor systemd; do
|
||||
cat <<-EOF > hack/"${feature}"_tag.sh || die
|
||||
#!/usr/bin/env bash
|
||||
$(usex ${feature} "echo ${feature}" echo)
|
||||
EOF
|
||||
done
|
||||
|
||||
echo -e "#!/usr/bin/env bash\n echo" > hack/btrfs_installed_tag.sh || die
|
||||
cat <<-EOF > hack/btrfs_tag.sh || die
|
||||
#!/usr/bin/env bash
|
||||
$(usex btrfs echo 'echo exclude_graphdriver_btrfs btrfs_noversion')
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export PREFIX="${EPREFIX}/usr"
|
||||
|
||||
# For non-live versions, prevent git operations which causes sandbox violations
|
||||
# https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493
|
||||
[[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT=""
|
||||
|
||||
# BUILD_SECCOMP is used in the patch to toggle seccomp
|
||||
emake BUILDFLAGS="-v -work -x" GOMD2MAN="go-md2man" BUILD_SECCOMP="$(usex seccomp)" all $(usev wrapper docker-docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install.completions $(usev wrapper install.docker-full)
|
||||
|
||||
insinto /etc/cni/net.d
|
||||
doins cni/87-podman-bridge.conflist
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf $(usev wrapper podman-docker.conf)
|
||||
|
||||
local want_newline=false
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST eid-mw-5.1.11.tar.gz 15368318 BLAKE2B 34a49084bf5e1fb62b7975b14b8300c3400f0c1aeec8a9a01122097b0a3d8245974c7a9c5d9c6d91a419c796a56954b945ec838699fe9d7623f102523c4e0f67 SHA512 7f286a6ff14e62652ec36b68121639bcaa55cf50364da5d11aed4c9f13a2d7813d2b69c13a3335ece6ed0660ca67a8dd1724d3498d8bae03f144d268cefb731d
|
||||
DIST eid-mw-5.1.13.tar.gz 15369717 BLAKE2B 99c70445abddd85ae7df917380a91d64ccefb7e3b73db4d2a5887a1dfc7d54e575ca0df5cbccdab41ce7ffb0648d6cb6c456da4f65ae2b0f0c4844ed2d5b343e SHA512 b7c024163d1eedb3cf5558be130fbe7fb3045c31bda541ed3402ac11514308c2ed9dd692972c8ddbe81a4923f67fb8205f761a0834abf65927991dade30e4ea4
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -1,2 +1,2 @@
|
||||
DIST johntheripper-jumbo-1.9.0_p20211129.tar.gz 47758087 BLAKE2B de57218151fbc3bed79322d065ef73deb99b73fb1ce55924197793a320600cc1189dabae43fe5848014c2e72dcb7e1c2a91f2aaba64bd8c7314ded37e23a34c9 SHA512 f8fc6bf102d900bb32c5714bd595a71f67f73a1f0a237d9f851b2f250046307bf1177f3782023cd1bbcc55f9d54fd7b4946e09c7dc1fd908ba6a6bad90b233d6
|
||||
DIST johntheripper-jumbo-1.9.0_p20230717.tar.gz 56772470 BLAKE2B 33295dc28d32852a6284adaadbbf9d9c852fb78e1dc673df5e67c31befb6921dbd6d29310ca7b3406e4b1259cca6e8d643292d73f4324262b038a1c6bc7ff51b SHA512 fd48a6bccf3f2be0d495aa8a635af73bc386c5815fdaa62259f2920724afa89e0e9743585c412e595486a0d2677f1ec43c43606471078ec0611d5c05b01853de
|
||||
DIST johntheripper-jumbo-1.9.0_p20240102.tar.gz 55727974 BLAKE2B 10238f549b8d1d52d7858d0a0df080ae1e92a7026b3b31f4e19d00c2bf06df5ad1fe298291d5421a0f685786fca2ad954a5ed3b2adc23d80464ec1966db9c968 SHA512 c66898d12799d88d42e6a930768e27b4110362b6384a47957ab61300b8254af051d3a2821e54f12a90ded8a20c855b8a2f044942dba1605447ae355e2f7ecbaf
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="Console utility and library for computing and verifying file hash sums"
|
||||
HOMEPAGE="https://rhash.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="0BSD"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="debug nls ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/RHash-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-prefix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then
|
||||
# we lack posix_memalign
|
||||
sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \
|
||||
librhash/util.h || die
|
||||
fi
|
||||
|
||||
# upstream fix for BSD and others, but was only applied for BSD
|
||||
# we need support for Solaris, where we use a GNU toolchain, so use
|
||||
# the original hack, hopefully next release has this fixed
|
||||
# https://github.com/rhash/RHash/issues/238
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e 's/^elif linux; then/else/' configure || die
|
||||
fi
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
|
||||
|
||||
set -- \
|
||||
./configure \
|
||||
--target="${CHOST}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--disable-openssl-runtime \
|
||||
--disable-static \
|
||||
--enable-lib-shared \
|
||||
$(use_enable debug) \
|
||||
$(use_enable nls gettext) \
|
||||
$(use_enable ssl openssl) \
|
||||
$(use_enable static-libs lib-static)
|
||||
|
||||
echo "${@}"
|
||||
"${@}" || die "configure failed"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake all \
|
||||
$(multilib_is_native_abi && use nls && echo compile-gmo)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# -j1 needed due to race condition.
|
||||
emake DESTDIR="${D}" -j1 \
|
||||
install{,-lib-headers,-pkg-config} \
|
||||
$(multilib_is_native_abi && use nls && echo install-gmo) \
|
||||
install-lib-so-link
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake test
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,127 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit desktop java-pkg-2 java-pkg-simple xdg-utils
|
||||
|
||||
DESCRIPTION="Programmer's editor written in Java"
|
||||
HOMEPAGE="https://www.jedit.org"
|
||||
SRC_URI="mirror://sourceforge/project/jedit/jedit/${PV}/jedit${PV}source.tar.bz2"
|
||||
S="${WORKDIR}/jEdit"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="
|
||||
app-text/docbook-xsl-stylesheets:0
|
||||
dev-libs/libxslt:0
|
||||
"
|
||||
CP_DEPEND="dev-java/jsr305:0"
|
||||
DEPEND="${CP_DEPEND}
|
||||
>=virtual/jdk-11:*
|
||||
test? (
|
||||
dev-java/hamcrest:0
|
||||
dev-java/mockito:2
|
||||
)"
|
||||
RDEPEND="${CP_DEPEND}
|
||||
>=virtual/jre-11:*"
|
||||
|
||||
PATCHES=( "${FILESDIR}/jedit-5.6.0-skip-failing-test.patch" )
|
||||
|
||||
JAVA_MAIN_CLASS="org.gjt.sp.jedit.jEdit"
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
JAVA_SRC_DIR="src"
|
||||
JAVA_TEST_GENTOO_CLASSPATH="
|
||||
hamcrest
|
||||
junit-4
|
||||
mockito-2
|
||||
"
|
||||
JAVA_TEST_SRC_DIR="test"
|
||||
JEDIT_HOME="/usr/share/${PN}/lib"
|
||||
|
||||
src_prepare() {
|
||||
default #780585
|
||||
java-pkg-2_src_prepare
|
||||
mkdir -v src resources || die
|
||||
find org doclet -type f -name '*.java' \
|
||||
| xargs cp --parent -t "${JAVA_SRC_DIR}" || die
|
||||
find org -type f \
|
||||
! -name '*.java' \
|
||||
! -name 'package.html' \
|
||||
! -name 'README.html' \
|
||||
! -name 'jedit.manifest' \
|
||||
! -name 'Reflect.last' \
|
||||
! -name 'bsh.jj*' \
|
||||
! -name '*.scripted' \
|
||||
| xargs cp --parent -t "${JAVA_RESOURCE_DIRS}" || die
|
||||
|
||||
einfo "Creating the docs"
|
||||
mv doc/{FAQ,whatsnew} . || die
|
||||
mkdir doc/{FAQ,whatsnew} || die
|
||||
# build.xml 734-804
|
||||
xsltproc \
|
||||
-xinclude \
|
||||
-o doc/FAQ/ \
|
||||
doc/jedithtml.xsl \
|
||||
FAQ/faq.xml || die
|
||||
xsltproc \
|
||||
-o doc/whatsnew/ \
|
||||
doc/jedithtml.xsl \
|
||||
whatsnew/news.xml || die
|
||||
|
||||
einfo "Creating users-guide"
|
||||
ln -s /usr/share/sgml/docbook/ . || die
|
||||
# This is the part which does not work with xmlto. So we use xsltproc.
|
||||
# TODO:
|
||||
# Try "XIncludes with Xalan and Xerces" according to
|
||||
# http://www.sagehill.net/docbookxsl/Xinclude.html#d0e40343
|
||||
xsltproc \
|
||||
-xinclude \
|
||||
-o doc/users-guide/users-guide.html \
|
||||
docbook/xsl-stylesheets/html/docbook.xsl \
|
||||
doc/jedithtml.xsl \
|
||||
doc/users-guide/users-guide.xml || die
|
||||
# Cleanup. The xml files were processed and need not get installed.
|
||||
rm doc/users-guide/*.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
# The application wants all this stuff in /usr/share/jedit/lib/
|
||||
# Using java-pkg_dolauncher with --pwd cannot solve it.
|
||||
# If we change the location the application fails to start:
|
||||
# "System keymap folder do not exist, your installation is broken."
|
||||
cp -R jars doc keymaps macros modes properties startup \
|
||||
"${D}${JEDIT_HOME}" || die
|
||||
|
||||
make_desktop_entry "${PN}" jEdit \
|
||||
"${JEDIT_HOME}/doc/${PN}.png" \
|
||||
"Development;Utility;TextEditor"
|
||||
|
||||
# keep the plugin directory
|
||||
keepdir "${JEDIT_HOME}/jars"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
elog "The system directory for jEdit plugins is"
|
||||
elog "${JEDIT_HOME}/jars"
|
||||
elog "If you get plugin related errors on startup, first try updating them."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]]; then
|
||||
xdg_desktop_database_update
|
||||
elog "jEdit plugins installed into /usr/share/jedit/jars"
|
||||
elog "(after installation of jEdit itself) haven't been"
|
||||
elog "removed. To get rid of jEdit completely, you may"
|
||||
elog "want to run"
|
||||
elog ""
|
||||
elog " rm -r ${JEDIT_HOME}"
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST neovim-0.9.2.tar.gz 11580390 BLAKE2B 097b0b245e8f987c7f980df2d170f4d62fc08e107f6166f1df4a78776b0aa8b8dc3c699648ae5fa123e54e7599321f0170f93ccee4d89302f25d1b8bba6161c7 SHA512 f12ae48c82c4a3622e464a23966cb06e9da1a7cd000b4efeb8408bb55e189ffeb4ece99e9488244c16f7de70356303e4dc964afd70ab24d23a5e07c59e902ed9
|
||||
DIST neovim-0.9.3.tar.gz 11585470 BLAKE2B 51ae60afc36b4952e0b7259bad244f2c18420710bb4c918478e8f6e520cffe31a388aba9a7cfd2894e722f78406c00828af5c62f29febc432ae615937285a9e4 SHA512 f0d52af39d61179ae6d2c03e4667bde62c70ac4a63a039cff8c1d350d218e9c822de7e3caa937b7741551920c699beb9199c39177b93a381649d1cad3ae68115
|
||||
DIST neovim-0.9.4.tar.gz 11585425 BLAKE2B f98b9737df537be9a6f9bfba0e48f47f33cacdf5aa5f9fb3b47a693ea9fa5fbe32aa8628403fdb136b625ccad30c8aad1c25abe280384515df603e92d9ed898a SHA512 a9bac18aeecd99dfeab79b367c3f0c46003b95d057edb6fd18ba178d6b6f22434689508d0bfe91b2f771ef0a23a4888815e8c4001abb76f2a60357bab0cd7004
|
||||
DIST neovim-0.9.5.tar.gz 11590180 BLAKE2B a982ea5704a8e5810c42475198157c3d2255c033f47cba940f9f6414c649167ecafe08c7fe9aeb3154a15566fdf8f5db8d535fa752e467e36ff5d552a7aa2179 SHA512 6e20d0a1d506dc292dd68dabe4b5635f86c019ca832f9927e907377e6d21fe7765b3010f5bba644bb2d7a76c178d55b290af24856a7e3c4083a1aa60bc496775
|
||||
|
@ -0,0 +1,119 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# RelWithDebInfo sets -Og -g
|
||||
CMAKE_BUILD_TYPE=Release
|
||||
LUA_COMPAT=( lua5-{1..2} luajit )
|
||||
inherit cmake lua-single optfeature xdg
|
||||
|
||||
DESCRIPTION="Vim-fork focused on extensibility and agility"
|
||||
HOMEPAGE="https://neovim.io"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/neovim/neovim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0 vim"
|
||||
SLOT="0"
|
||||
IUSE="+lto +nvimpager test"
|
||||
|
||||
# Upstream say the test library needs LuaJIT
|
||||
# https://github.com/neovim/neovim/blob/91109ffda23d0ce61cec245b1f4ffb99e7591b62/CMakeLists.txt#L377
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE} test? ( lua_single_target_luajit )"
|
||||
# TODO: Get tests running
|
||||
RESTRICT="!test? ( test ) test"
|
||||
|
||||
# Upstream build scripts invoke the Lua interpreter
|
||||
BDEPEND="${LUA_DEPS}
|
||||
>=dev-util/gperf-3.1
|
||||
>=sys-devel/gettext-0.20.1
|
||||
virtual/libiconv
|
||||
virtual/libintl
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# Check https://github.com/neovim/neovim/blob/master/third-party/CMakeLists.txt for
|
||||
# new dependency bounds and so on on bumps (obviously adjust for right branch/tag).
|
||||
DEPEND="${LUA_DEPS}
|
||||
>=dev-lua/luv-1.45.0[${LUA_SINGLE_USEDEP}]
|
||||
$(lua_gen_cond_dep '
|
||||
dev-lua/lpeg[${LUA_USEDEP}]
|
||||
dev-lua/mpack[${LUA_USEDEP}]
|
||||
')
|
||||
$(lua_gen_cond_dep '
|
||||
dev-lua/LuaBitOp[${LUA_USEDEP}]
|
||||
' lua5-{1,2})
|
||||
>=dev-libs/libuv-1.46.0:=
|
||||
>=dev-libs/libvterm-0.3.3
|
||||
>=dev-libs/msgpack-3.0.0:=
|
||||
>=dev-libs/tree-sitter-0.20.8:=
|
||||
>=dev-libs/libtermkey-0.22
|
||||
>=dev-libs/unibilium-2.0.0:0=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-eselect/eselect-vi
|
||||
"
|
||||
BDEPEND+="
|
||||
test? (
|
||||
$(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]')
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.9.0-cmake_lua_version.patch"
|
||||
"${FILESDIR}/${PN}-0.9.1-cmake-darwin.patch"
|
||||
"${FILESDIR}/${PN}-0.9.0-cmake-release-type.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Use our system vim dir
|
||||
sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \
|
||||
-i src/nvim/globals.h || die
|
||||
|
||||
# https://forums.gentoo.org/viewtopic-p-8750050.html
|
||||
xdg_environment_reset
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Upstream default to LTO on non-debug builds
|
||||
# Let's expose it as a USE flag because upstream
|
||||
# have preferences for how we should use LTO
|
||||
# if we want it on (not just -flto)
|
||||
# ... but allow turning it off.
|
||||
# TODO: Investigate USE_BUNDLED, doesn't seem to be needed right now
|
||||
local mycmakeargs=(
|
||||
-DENABLE_LTO=$(usex lto)
|
||||
-DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)")
|
||||
-DLUA_PRG="${ELUA}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# install a default configuration file
|
||||
insinto /etc/vim
|
||||
doins "${FILESDIR}"/sysinit.vim
|
||||
|
||||
# conditionally install a symlink for nvimpager
|
||||
if use nvimpager; then
|
||||
dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
optfeature "clipboard support" x11-misc/xsel x11-misc/xclip gui-apps/wl-clipboard
|
||||
optfeature "Python plugin support" dev-python/pynvim
|
||||
optfeature "Ruby plugin support" dev-ruby/neovim-ruby-client
|
||||
optfeature "remote/nvr support" dev-python/neovim-remote
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Manage /usr/bin/pinentry symlink"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/eselect/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1"
|
||||
|
||||
S="${FILESDIR}"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
insinto /usr/share/eselect/modules
|
||||
newins pinentry.eselect-${PV} pinentry.eselect
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DESCRIPTION="Manage /usr/bin/pinentry implementation"
|
||||
MAINTAINER="maintainer-needed@gentoo.org"
|
||||
VERSION="0.7.2"
|
||||
|
||||
SYMLINK_PATH=/usr/bin/pinentry
|
||||
SYMLINK_TARGETS=( pinentry-efl pinentry-gnome3 pinentry-qt5 pinentry-curses pinentry-tty )
|
||||
SYMLINK_DESCRIPTION='pinentry binary'
|
||||
|
||||
inherit bin-symlink
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST exabgp_exporter-1.0.0_p20200718-deps.tar.xz 3538492 BLAKE2B d04f31b135f6f0cab4032f00e77a5bd1543e27e589cb8665d1917014eae561a4982e7b67639d4beeec1066c038eba16203b129be8d6ca1aa2f31a98706cefd89 SHA512 0ec3b68f62afbb17586afd6b8134aff10a21b2363b99439d4e1c5175382fb87168efe3cf3ea916b45d1a25198d529db0b8d29e571f41c8b4873ff2904e4e9394
|
||||
DIST exabgp_exporter-1.0.0_p20200718.tar.gz 75858 BLAKE2B 838f445b3a18405c2d38b7b73cb0da13791d12f05b5881f196d507b44a810d28cfe01e059894c2a50063d33437f71362308a9f7543df6d85444add1e7c60c04b SHA512 0b6f468365cc2b1db2a2915d00f3b57ce34f72e8373b713ba0ff85b3d06e7075d5d8995129065dee193eaa763d63ac0b76d124902123134708f7086c505214b3
|
||||
DIST exabgp_exporter-1.1.3-deps.tar.xz 6513860 BLAKE2B 171180eac9880f23d9e26275e546234595c224dfa1f5350ce1fb196bf8360cf7818f5438b94d587470e307230b2fb8b0386bc8713e91d8be27a0ea3b81ea9e9f SHA512 00278fee0b6a214f41e0ff47879961f5092d07d4b45aa593e23b8c55f4732bd269385e692a6156c47ed1c92c1b9ee50fbf659e2e6f05c62fe1fd42e2db83bd1b
|
||||
DIST exabgp_exporter-1.1.3.tar.gz 102411 BLAKE2B 936a1aabaf52c9ee1ff02e14f899e00d481b178b492aabb53a531387c730b7fe6bbe90c3b3568c89323cb7d414b050a51cbb06d363ab0b93fdef93f71f88c1dc SHA512 55d19c5d305aa277797d3b6fe92f0a43bedf44916a24719c722316ad31079a5df6d69bca319475fcd2b6c9cbd7f7ad5b9acb10b46e188d45c84ed9bb99528c04
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="Prometheus exporter for exabgp"
|
||||
HOMEPAGE="https://github.com/gizmoguy/exabgp_exporter"
|
||||
SRC_URI="https://github.com/gizmoguy/exabgp_exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_compile() {
|
||||
CGO_ENABLED=0 go build \
|
||||
-ldflags "-X github.com/prometheus/common/version.Version=${PV%_*}
|
||||
-X github.com/prometheus/common/version.Branch=master \
|
||||
-X github.com/prometheus/common/version.BuildUser=$(whoami)
|
||||
-X github.com/prometheus/common/version.BuildDate=$(date -u +'%FT%T%z')" \
|
||||
-o ./bin/${PN} ./cmd/exabgp_exporter/main.go || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ./bin/${PN}
|
||||
dodoc README.md
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
systemd_newunit "${FILESDIR}/${PN}_at.service" "${PN}@.service"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,373 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler@1.0.2
|
||||
ahash@0.4.8
|
||||
ahash@0.8.6
|
||||
aho-corasick@1.1.2
|
||||
android-tzdata@0.1.1
|
||||
android_system_properties@0.1.5
|
||||
ansi_colours@1.2.2
|
||||
anstream@0.6.4
|
||||
anstyle@1.0.4
|
||||
anstyle-parse@0.2.2
|
||||
anstyle-query@1.0.0
|
||||
anstyle-wincon@3.0.1
|
||||
anyhow@1.0.75
|
||||
argh@0.1.12
|
||||
argh_derive@0.1.12
|
||||
argh_shared@0.1.12
|
||||
arrayref@0.3.7
|
||||
arrayvec@0.7.4
|
||||
autocfg@1.1.0
|
||||
base64@0.13.1
|
||||
base64@0.21.5
|
||||
bet@1.0.2
|
||||
bincode@1.3.3
|
||||
bit_field@0.10.2
|
||||
bitflags@1.3.2
|
||||
bitflags@2.4.1
|
||||
block@0.1.6
|
||||
bstr@1.8.0
|
||||
bumpalo@3.14.0
|
||||
bytemuck@1.14.0
|
||||
byteorder@1.5.0
|
||||
cc@1.0.83
|
||||
cfg-if@1.0.0
|
||||
char_reader@0.1.1
|
||||
chrono@0.4.31
|
||||
clap@4.4.8
|
||||
clap-help@1.0.0
|
||||
clap_builder@4.4.8
|
||||
clap_complete@4.4.4
|
||||
clap_derive@4.4.7
|
||||
clap_lex@0.6.0
|
||||
clap_mangen@0.2.15
|
||||
cli-log@2.0.0
|
||||
clipboard-win@4.5.0
|
||||
clipboard_macos@0.1.0
|
||||
color_quant@1.1.0
|
||||
colorchoice@1.0.0
|
||||
coolor@0.5.1
|
||||
coolor@0.8.0
|
||||
core-foundation-sys@0.8.4
|
||||
crc32fast@1.3.2
|
||||
crokey@0.4.3
|
||||
crokey-proc_macros@0.4.0
|
||||
crossbeam@0.8.2
|
||||
crossbeam-channel@0.5.8
|
||||
crossbeam-deque@0.8.3
|
||||
crossbeam-epoch@0.9.15
|
||||
crossbeam-queue@0.3.8
|
||||
crossbeam-utils@0.8.16
|
||||
crossterm@0.23.2
|
||||
crossterm_winapi@0.9.1
|
||||
crunchy@0.2.2
|
||||
csv@1.3.0
|
||||
csv-core@0.1.11
|
||||
csv2svg@0.1.12
|
||||
custom_error@1.9.2
|
||||
data-url@0.3.0
|
||||
deranged@0.3.9
|
||||
deser-hjson@2.2.3
|
||||
directories@4.0.1
|
||||
directories-next@2.0.0
|
||||
dirs-sys@0.3.7
|
||||
dirs-sys-next@0.1.2
|
||||
doc-comment@0.3.3
|
||||
either@1.9.0
|
||||
equivalent@1.0.1
|
||||
errno@0.3.7
|
||||
error-code@2.3.1
|
||||
exr@1.71.0
|
||||
fallible-iterator@0.2.0
|
||||
fallible-streaming-iterator@0.1.9
|
||||
fastrand@2.0.1
|
||||
fdeflate@0.3.1
|
||||
file-size@1.0.3
|
||||
flate2@1.0.28
|
||||
float-cmp@0.9.0
|
||||
flume@0.11.0
|
||||
fnv@1.0.7
|
||||
fontconfig-parser@0.5.3
|
||||
fontdb@0.15.0
|
||||
form_urlencoded@1.2.0
|
||||
gethostname@0.3.0
|
||||
getrandom@0.2.11
|
||||
gif@0.12.0
|
||||
git2@0.14.4
|
||||
glassbench@0.3.6
|
||||
glob@0.3.1
|
||||
half@2.2.1
|
||||
hashbrown@0.9.1
|
||||
hashbrown@0.14.2
|
||||
hashlink@0.6.0
|
||||
heck@0.4.1
|
||||
home@0.5.5
|
||||
iana-time-zone@0.1.58
|
||||
iana-time-zone-haiku@0.1.2
|
||||
id-arena@2.2.1
|
||||
idna@0.4.0
|
||||
image@0.24.7
|
||||
imagesize@0.12.0
|
||||
include_dir@0.7.3
|
||||
include_dir_macros@0.7.3
|
||||
indexmap@2.1.0
|
||||
is_executable@1.0.1
|
||||
itoa@1.0.9
|
||||
jobserver@0.1.27
|
||||
jpeg-decoder@0.3.0
|
||||
js-sys@0.3.65
|
||||
kurbo@0.9.5
|
||||
lazy-regex@3.1.0
|
||||
lazy-regex-proc_macros@3.1.0
|
||||
lazy_static@1.4.0
|
||||
lebe@0.5.2
|
||||
lfs-core@0.11.2
|
||||
libc@0.2.150
|
||||
libgit2-sys@0.13.5+1.4.5
|
||||
libredox@0.0.1
|
||||
libsqlite3-sys@0.20.1
|
||||
libz-sys@1.1.12
|
||||
line-wrap@0.1.1
|
||||
linked-hash-map@0.5.6
|
||||
linux-raw-sys@0.4.11
|
||||
lock_api@0.4.11
|
||||
log@0.4.20
|
||||
malloc_buf@0.0.6
|
||||
memchr@2.6.4
|
||||
memmap2@0.6.2
|
||||
memmap2@0.8.0
|
||||
memoffset@0.6.5
|
||||
memoffset@0.7.1
|
||||
memoffset@0.9.0
|
||||
minimad@0.13.0
|
||||
miniz_oxide@0.7.1
|
||||
mio@0.8.9
|
||||
nix@0.22.3
|
||||
nix@0.26.4
|
||||
normpath@1.1.1
|
||||
num-integer@0.1.45
|
||||
num-rational@0.4.1
|
||||
num-traits@0.2.17
|
||||
objc@0.2.7
|
||||
objc-foundation@0.1.1
|
||||
objc_id@0.1.1
|
||||
once_cell@1.18.0
|
||||
onig@6.4.0
|
||||
onig_sys@69.8.1
|
||||
open@1.7.1
|
||||
opener@0.6.1
|
||||
parking_lot@0.12.1
|
||||
parking_lot_core@0.9.9
|
||||
pathdiff@0.2.1
|
||||
percent-encoding@2.3.0
|
||||
phf@0.11.2
|
||||
phf_generator@0.11.2
|
||||
phf_macros@0.11.2
|
||||
phf_shared@0.11.2
|
||||
pico-args@0.5.0
|
||||
pkg-config@0.3.27
|
||||
plist@1.6.0
|
||||
png@0.17.10
|
||||
powerfmt@0.2.0
|
||||
proc-macro2@1.0.69
|
||||
proc-status@0.1.1
|
||||
qoi@0.4.1
|
||||
quick-xml@0.31.0
|
||||
quote@1.0.33
|
||||
rand@0.8.5
|
||||
rand_core@0.6.4
|
||||
rayon@1.8.0
|
||||
rayon-core@1.12.0
|
||||
rctree@0.5.0
|
||||
redox_syscall@0.4.1
|
||||
redox_users@0.4.4
|
||||
regex@1.10.2
|
||||
regex-automata@0.4.3
|
||||
regex-syntax@0.6.29
|
||||
regex-syntax@0.8.2
|
||||
resvg@0.36.0
|
||||
rgb@0.8.37
|
||||
roff@0.2.1
|
||||
roxmltree@0.18.1
|
||||
rusqlite@0.24.2
|
||||
rustix@0.38.25
|
||||
rustybuzz@0.10.0
|
||||
ryu@1.0.15
|
||||
safemem@0.3.3
|
||||
same-file@1.0.6
|
||||
scopeguard@1.2.0
|
||||
secular@1.0.1
|
||||
serde@1.0.193
|
||||
serde_derive@1.0.193
|
||||
serde_json@1.0.108
|
||||
serde_spanned@0.6.4
|
||||
signal-hook@0.3.17
|
||||
signal-hook-mio@0.2.3
|
||||
signal-hook-registry@1.4.1
|
||||
simd-adler32@0.3.7
|
||||
simplecss@0.2.1
|
||||
siphasher@0.3.11
|
||||
slotmap@1.0.6
|
||||
smallvec@1.11.2
|
||||
snafu@0.7.5
|
||||
snafu-derive@0.7.5
|
||||
spin@0.9.8
|
||||
splitty@1.0.1
|
||||
str-buf@1.0.6
|
||||
strict@0.1.4
|
||||
strict-num@0.1.1
|
||||
strsim@0.10.0
|
||||
svg@0.13.1
|
||||
svgtypes@0.12.0
|
||||
syn@1.0.109
|
||||
syn@2.0.39
|
||||
syntect-no-panic@4.6.1
|
||||
tempfile@3.8.1
|
||||
termimad@0.25.7
|
||||
termimad@0.26.1
|
||||
terminal-clipboard@0.4.1
|
||||
terminal-light@1.1.1
|
||||
termux-clipboard@0.1.0
|
||||
thiserror@1.0.50
|
||||
thiserror-impl@1.0.50
|
||||
tiff@0.9.0
|
||||
time@0.3.30
|
||||
time-core@0.1.2
|
||||
time-macros@0.2.15
|
||||
tiny-skia@0.11.2
|
||||
tiny-skia-path@0.11.2
|
||||
tinyvec@1.6.0
|
||||
tinyvec_macros@0.1.1
|
||||
toml@0.8.8
|
||||
toml_datetime@0.6.5
|
||||
toml_edit@0.21.0
|
||||
trash@3.1.2
|
||||
ttf-parser@0.19.2
|
||||
umask@2.1.0
|
||||
unicode-bidi@0.3.13
|
||||
unicode-bidi-mirroring@0.1.0
|
||||
unicode-ccc@0.1.2
|
||||
unicode-ident@1.0.12
|
||||
unicode-normalization@0.1.22
|
||||
unicode-properties@0.1.0
|
||||
unicode-script@0.5.5
|
||||
unicode-vo@0.1.0
|
||||
unicode-width@0.1.11
|
||||
url@2.4.1
|
||||
usvg@0.36.0
|
||||
usvg-parser@0.36.0
|
||||
usvg-text-layout@0.36.0
|
||||
usvg-tree@0.36.0
|
||||
utf8parse@0.2.1
|
||||
uzers@0.11.3
|
||||
vcpkg@0.2.15
|
||||
version_check@0.9.4
|
||||
walkdir@2.4.0
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen@0.2.88
|
||||
wasm-bindgen-backend@0.2.88
|
||||
wasm-bindgen-macro@0.2.88
|
||||
wasm-bindgen-macro-support@0.2.88
|
||||
wasm-bindgen-shared@0.2.88
|
||||
weezl@0.1.7
|
||||
which@4.4.2
|
||||
winapi@0.3.9
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.6
|
||||
winapi-wsapoll@0.1.1
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
windows@0.44.0
|
||||
windows-core@0.51.1
|
||||
windows-sys@0.48.0
|
||||
windows-targets@0.42.2
|
||||
windows-targets@0.48.5
|
||||
windows_aarch64_gnullvm@0.42.2
|
||||
windows_aarch64_gnullvm@0.48.5
|
||||
windows_aarch64_msvc@0.42.2
|
||||
windows_aarch64_msvc@0.48.5
|
||||
windows_i686_gnu@0.42.2
|
||||
windows_i686_gnu@0.48.5
|
||||
windows_i686_msvc@0.42.2
|
||||
windows_i686_msvc@0.48.5
|
||||
windows_x86_64_gnu@0.42.2
|
||||
windows_x86_64_gnu@0.48.5
|
||||
windows_x86_64_gnullvm@0.42.2
|
||||
windows_x86_64_gnullvm@0.48.5
|
||||
windows_x86_64_msvc@0.42.2
|
||||
windows_x86_64_msvc@0.48.5
|
||||
winnow@0.5.19
|
||||
x11-clipboard@0.8.1
|
||||
x11rb@0.12.0
|
||||
x11rb-protocol@0.12.0
|
||||
xmlparser@0.13.6
|
||||
xmlwriter@0.1.0
|
||||
xterm-query@0.1.0
|
||||
xterm-query@0.2.0
|
||||
yaml-rust@0.4.5
|
||||
zerocopy@0.7.32
|
||||
zerocopy-derive@0.7.32
|
||||
zune-inflate@0.2.54
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A new way to see and navigate directory trees"
|
||||
HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
|
||||
SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${CARGO_CRATE_URIS}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
sys-libs/zlib
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=virtual/rust-1.65"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400
|
||||
local myfeatures=( $(usev X clipboard) )
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local mandate=$(date -r man/page +'%Y/%m/%d' || die)
|
||||
sed -e "s|#version|${PV}|" \
|
||||
-e "s|#date|${mandate}|" \
|
||||
man/page > "${T}"/${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doman "${T}"/${PN}.1
|
||||
|
||||
local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
|
||||
cd ${build_dir[0]} || die
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newbashcomp br.bash br
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _${PN}
|
||||
doins _br
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins ${PN}.fish
|
||||
doins br.fish
|
||||
}
|
@ -0,0 +1,373 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler@1.0.2
|
||||
ahash@0.4.8
|
||||
ahash@0.8.6
|
||||
aho-corasick@1.1.2
|
||||
android-tzdata@0.1.1
|
||||
android_system_properties@0.1.5
|
||||
ansi_colours@1.2.2
|
||||
anstream@0.6.4
|
||||
anstyle@1.0.4
|
||||
anstyle-parse@0.2.2
|
||||
anstyle-query@1.0.0
|
||||
anstyle-wincon@3.0.1
|
||||
anyhow@1.0.75
|
||||
argh@0.1.12
|
||||
argh_derive@0.1.12
|
||||
argh_shared@0.1.12
|
||||
arrayref@0.3.7
|
||||
arrayvec@0.7.4
|
||||
autocfg@1.1.0
|
||||
base64@0.13.1
|
||||
base64@0.21.5
|
||||
bet@1.0.2
|
||||
bincode@1.3.3
|
||||
bit_field@0.10.2
|
||||
bitflags@1.3.2
|
||||
bitflags@2.4.1
|
||||
block@0.1.6
|
||||
bstr@1.8.0
|
||||
bumpalo@3.14.0
|
||||
bytemuck@1.14.0
|
||||
byteorder@1.5.0
|
||||
cc@1.0.83
|
||||
cfg-if@1.0.0
|
||||
char_reader@0.1.1
|
||||
chrono@0.4.31
|
||||
clap@4.4.8
|
||||
clap-help@1.0.0
|
||||
clap_builder@4.4.8
|
||||
clap_complete@4.4.4
|
||||
clap_derive@4.4.7
|
||||
clap_lex@0.6.0
|
||||
clap_mangen@0.2.15
|
||||
cli-log@2.0.0
|
||||
clipboard-win@4.5.0
|
||||
clipboard_macos@0.1.0
|
||||
color_quant@1.1.0
|
||||
colorchoice@1.0.0
|
||||
coolor@0.5.1
|
||||
coolor@0.8.0
|
||||
core-foundation-sys@0.8.4
|
||||
crc32fast@1.3.2
|
||||
crokey@0.4.3
|
||||
crokey-proc_macros@0.4.0
|
||||
crossbeam@0.8.2
|
||||
crossbeam-channel@0.5.8
|
||||
crossbeam-deque@0.8.3
|
||||
crossbeam-epoch@0.9.15
|
||||
crossbeam-queue@0.3.8
|
||||
crossbeam-utils@0.8.16
|
||||
crossterm@0.23.2
|
||||
crossterm_winapi@0.9.1
|
||||
crunchy@0.2.2
|
||||
csv@1.3.0
|
||||
csv-core@0.1.11
|
||||
csv2svg@0.1.12
|
||||
custom_error@1.9.2
|
||||
data-url@0.3.0
|
||||
deranged@0.3.9
|
||||
deser-hjson@2.2.3
|
||||
directories@4.0.1
|
||||
directories-next@2.0.0
|
||||
dirs-sys@0.3.7
|
||||
dirs-sys-next@0.1.2
|
||||
doc-comment@0.3.3
|
||||
either@1.9.0
|
||||
equivalent@1.0.1
|
||||
errno@0.3.7
|
||||
error-code@2.3.1
|
||||
exr@1.71.0
|
||||
fallible-iterator@0.2.0
|
||||
fallible-streaming-iterator@0.1.9
|
||||
fastrand@2.0.1
|
||||
fdeflate@0.3.1
|
||||
file-size@1.0.3
|
||||
flate2@1.0.28
|
||||
float-cmp@0.9.0
|
||||
flume@0.11.0
|
||||
fnv@1.0.7
|
||||
fontconfig-parser@0.5.3
|
||||
fontdb@0.15.0
|
||||
form_urlencoded@1.2.0
|
||||
gethostname@0.3.0
|
||||
getrandom@0.2.11
|
||||
gif@0.12.0
|
||||
git2@0.14.4
|
||||
glassbench@0.3.6
|
||||
glob@0.3.1
|
||||
half@2.2.1
|
||||
hashbrown@0.9.1
|
||||
hashbrown@0.14.2
|
||||
hashlink@0.6.0
|
||||
heck@0.4.1
|
||||
home@0.5.5
|
||||
iana-time-zone@0.1.58
|
||||
iana-time-zone-haiku@0.1.2
|
||||
id-arena@2.2.1
|
||||
idna@0.4.0
|
||||
image@0.24.7
|
||||
imagesize@0.12.0
|
||||
include_dir@0.7.3
|
||||
include_dir_macros@0.7.3
|
||||
indexmap@2.1.0
|
||||
is_executable@1.0.1
|
||||
itoa@1.0.9
|
||||
jobserver@0.1.27
|
||||
jpeg-decoder@0.3.0
|
||||
js-sys@0.3.65
|
||||
kurbo@0.9.5
|
||||
lazy-regex@3.1.0
|
||||
lazy-regex-proc_macros@3.1.0
|
||||
lazy_static@1.4.0
|
||||
lebe@0.5.2
|
||||
lfs-core@0.11.2
|
||||
libc@0.2.150
|
||||
libgit2-sys@0.13.5+1.4.5
|
||||
libredox@0.0.1
|
||||
libsqlite3-sys@0.20.1
|
||||
libz-sys@1.1.12
|
||||
line-wrap@0.1.1
|
||||
linked-hash-map@0.5.6
|
||||
linux-raw-sys@0.4.11
|
||||
lock_api@0.4.11
|
||||
log@0.4.20
|
||||
malloc_buf@0.0.6
|
||||
memchr@2.6.4
|
||||
memmap2@0.6.2
|
||||
memmap2@0.8.0
|
||||
memoffset@0.6.5
|
||||
memoffset@0.7.1
|
||||
memoffset@0.9.0
|
||||
minimad@0.13.0
|
||||
miniz_oxide@0.7.1
|
||||
mio@0.8.9
|
||||
nix@0.22.3
|
||||
nix@0.26.4
|
||||
normpath@1.1.1
|
||||
num-integer@0.1.45
|
||||
num-rational@0.4.1
|
||||
num-traits@0.2.17
|
||||
objc@0.2.7
|
||||
objc-foundation@0.1.1
|
||||
objc_id@0.1.1
|
||||
once_cell@1.18.0
|
||||
onig@6.4.0
|
||||
onig_sys@69.8.1
|
||||
open@1.7.1
|
||||
opener@0.6.1
|
||||
parking_lot@0.12.1
|
||||
parking_lot_core@0.9.9
|
||||
pathdiff@0.2.1
|
||||
percent-encoding@2.3.0
|
||||
phf@0.11.2
|
||||
phf_generator@0.11.2
|
||||
phf_macros@0.11.2
|
||||
phf_shared@0.11.2
|
||||
pico-args@0.5.0
|
||||
pkg-config@0.3.27
|
||||
plist@1.6.0
|
||||
png@0.17.10
|
||||
powerfmt@0.2.0
|
||||
proc-macro2@1.0.69
|
||||
proc-status@0.1.1
|
||||
qoi@0.4.1
|
||||
quick-xml@0.31.0
|
||||
quote@1.0.33
|
||||
rand@0.8.5
|
||||
rand_core@0.6.4
|
||||
rayon@1.8.0
|
||||
rayon-core@1.12.0
|
||||
rctree@0.5.0
|
||||
redox_syscall@0.4.1
|
||||
redox_users@0.4.4
|
||||
regex@1.10.2
|
||||
regex-automata@0.4.3
|
||||
regex-syntax@0.6.29
|
||||
regex-syntax@0.8.2
|
||||
resvg@0.36.0
|
||||
rgb@0.8.37
|
||||
roff@0.2.1
|
||||
roxmltree@0.18.1
|
||||
rusqlite@0.24.2
|
||||
rustix@0.38.25
|
||||
rustybuzz@0.10.0
|
||||
ryu@1.0.15
|
||||
safemem@0.3.3
|
||||
same-file@1.0.6
|
||||
scopeguard@1.2.0
|
||||
secular@1.0.1
|
||||
serde@1.0.193
|
||||
serde_derive@1.0.193
|
||||
serde_json@1.0.108
|
||||
serde_spanned@0.6.4
|
||||
signal-hook@0.3.17
|
||||
signal-hook-mio@0.2.3
|
||||
signal-hook-registry@1.4.1
|
||||
simd-adler32@0.3.7
|
||||
simplecss@0.2.1
|
||||
siphasher@0.3.11
|
||||
slotmap@1.0.6
|
||||
smallvec@1.11.2
|
||||
snafu@0.7.5
|
||||
snafu-derive@0.7.5
|
||||
spin@0.9.8
|
||||
splitty@1.0.1
|
||||
str-buf@1.0.6
|
||||
strict@0.1.4
|
||||
strict-num@0.1.1
|
||||
strsim@0.10.0
|
||||
svg@0.13.1
|
||||
svgtypes@0.12.0
|
||||
syn@1.0.109
|
||||
syn@2.0.39
|
||||
syntect-no-panic@4.6.1
|
||||
tempfile@3.8.1
|
||||
termimad@0.25.7
|
||||
termimad@0.26.1
|
||||
terminal-clipboard@0.4.1
|
||||
terminal-light@1.1.1
|
||||
termux-clipboard@0.1.0
|
||||
thiserror@1.0.50
|
||||
thiserror-impl@1.0.50
|
||||
tiff@0.9.0
|
||||
time@0.3.30
|
||||
time-core@0.1.2
|
||||
time-macros@0.2.15
|
||||
tiny-skia@0.11.2
|
||||
tiny-skia-path@0.11.2
|
||||
tinyvec@1.6.0
|
||||
tinyvec_macros@0.1.1
|
||||
toml@0.8.8
|
||||
toml_datetime@0.6.5
|
||||
toml_edit@0.21.0
|
||||
trash@3.1.2
|
||||
ttf-parser@0.19.2
|
||||
umask@2.1.0
|
||||
unicode-bidi@0.3.13
|
||||
unicode-bidi-mirroring@0.1.0
|
||||
unicode-ccc@0.1.2
|
||||
unicode-ident@1.0.12
|
||||
unicode-normalization@0.1.22
|
||||
unicode-properties@0.1.0
|
||||
unicode-script@0.5.5
|
||||
unicode-vo@0.1.0
|
||||
unicode-width@0.1.11
|
||||
url@2.4.1
|
||||
usvg@0.36.0
|
||||
usvg-parser@0.36.0
|
||||
usvg-text-layout@0.36.0
|
||||
usvg-tree@0.36.0
|
||||
utf8parse@0.2.1
|
||||
uzers@0.11.3
|
||||
vcpkg@0.2.15
|
||||
version_check@0.9.4
|
||||
walkdir@2.4.0
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen@0.2.88
|
||||
wasm-bindgen-backend@0.2.88
|
||||
wasm-bindgen-macro@0.2.88
|
||||
wasm-bindgen-macro-support@0.2.88
|
||||
wasm-bindgen-shared@0.2.88
|
||||
weezl@0.1.7
|
||||
which@4.4.2
|
||||
winapi@0.3.9
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.6
|
||||
winapi-wsapoll@0.1.1
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
windows@0.44.0
|
||||
windows-core@0.51.1
|
||||
windows-sys@0.48.0
|
||||
windows-targets@0.42.2
|
||||
windows-targets@0.48.5
|
||||
windows_aarch64_gnullvm@0.42.2
|
||||
windows_aarch64_gnullvm@0.48.5
|
||||
windows_aarch64_msvc@0.42.2
|
||||
windows_aarch64_msvc@0.48.5
|
||||
windows_i686_gnu@0.42.2
|
||||
windows_i686_gnu@0.48.5
|
||||
windows_i686_msvc@0.42.2
|
||||
windows_i686_msvc@0.48.5
|
||||
windows_x86_64_gnu@0.42.2
|
||||
windows_x86_64_gnu@0.48.5
|
||||
windows_x86_64_gnullvm@0.42.2
|
||||
windows_x86_64_gnullvm@0.48.5
|
||||
windows_x86_64_msvc@0.42.2
|
||||
windows_x86_64_msvc@0.48.5
|
||||
winnow@0.5.19
|
||||
x11-clipboard@0.8.1
|
||||
x11rb@0.12.0
|
||||
x11rb-protocol@0.12.0
|
||||
xmlparser@0.13.6
|
||||
xmlwriter@0.1.0
|
||||
xterm-query@0.1.0
|
||||
xterm-query@0.2.0
|
||||
yaml-rust@0.4.5
|
||||
zerocopy@0.7.32
|
||||
zerocopy-derive@0.7.32
|
||||
zune-inflate@0.2.54
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A new way to see and navigate directory trees"
|
||||
HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
|
||||
SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
${CARGO_CRATE_URIS}"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
sys-libs/zlib
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=virtual/rust-1.65"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400
|
||||
local myfeatures=( $(usev X clipboard) )
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local mandate=$(date -r man/page +'%Y/%m/%d' || die)
|
||||
sed -e "s|#version|${PV}|" \
|
||||
-e "s|#date|${mandate}|" \
|
||||
man/page > "${T}"/${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doman "${T}"/${PN}.1
|
||||
|
||||
local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
|
||||
cd ${build_dir[0]} || die
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newbashcomp br.bash br
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _${PN}
|
||||
doins _br
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins ${PN}.fish
|
||||
doins br.fish
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST fastfetch-2.2.3.tar.gz 901203 BLAKE2B d6d097b72ce2f252e42b3e59cbd26b43a4f17ae974382f986270fbf91b457cf3c49e78a3c775e713d9302d536fb5a363e809005b9174d1a27622e6b6ed666709 SHA512 81e051b7555d56415c723606c0b6dfc3ad7ed91fb2c7b36c07465f4dfbdb91da5c8d216e46df36863888448de0a7bd63e28c6aa701995bf1165e0d7c33c4f724
|
||||
DIST fastfetch-2.3.4.tar.gz 909105 BLAKE2B 132f88681f9133cdeae8126c4dabf4e8805865fe506a005f938bcda487750a874ab59deebdf2fc348c2a469cf4771fe5916f594a5a408769c1e49fba417ab113 SHA512 fe1e6465380e513e4e75092bc737b23adca4c9dd42de8adb888bad1ce173f1fa9c93e9cbd7b2ca648058503b7cfb72c2ba1d70abf63b8f1497e94ce6eb349524
|
||||
DIST fastfetch-2.4.0.tar.gz 913193 BLAKE2B 88df9a8cb641596855cbd539d0be7f9270cd234dc060612ee6c52f5d47b2deb0d95608bdc496c81ac5e0e74c0c403f373fdcf7c17303eebab1f3b32ee0a41270 SHA512 00130ad3825cff039dc9ab3efd9f3431b36357e0ae144148872ab761f8b07a8d95c2413450d000b0181e9424d490ad55e6af928d1b7b2efdc7d5842ead8ab028
|
||||
DIST fastfetch-2.5.0.tar.gz 984182 BLAKE2B 5185cce0e5933524835093a2f730cac8a9262cb6ec2c422fff60a4c6daec4f2a8ba11eab4323f00eaeebf2d946da9767f125b265e87cda6714d50e1c5e1383de SHA512 a69f4e839acf8897a9cd8f6c017a4d7657a8dc0b3c58e645c88fc8e47e0a7bd3411d1a3e1e916628a948cb7e1688a200f7ac1eabd090f5eb42ce4b0030e342b4
|
||||
|
@ -1,113 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
DESCRIPTION="Fast neofetch-like system information tool"
|
||||
HOMEPAGE="https://github.com/fastfetch-cli/fastfetch"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/fastfetch-cli/fastfetch.git"
|
||||
[[ ${PV} == *0.1.9999 ]] && EGIT_BRANCH=master
|
||||
[[ ${PV} == *0.2.9999 ]] && EGIT_BRANCH=dev
|
||||
[[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch"
|
||||
else
|
||||
SRC_URI="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager opencl opengl osmesa pci pulseaudio sqlite test vulkan wayland xcb xfce xrandr"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
|
||||
# make sure to crank yyjson minimum version to match bundled version
|
||||
RDEPEND="
|
||||
>=dev-libs/yyjson-0.8.0:=
|
||||
sys-libs/zlib
|
||||
X? ( x11-libs/libX11 )
|
||||
chafa? ( media-gfx/chafa )
|
||||
dbus? ( sys-apps/dbus )
|
||||
ddcutil? ( app-misc/ddcutil:= )
|
||||
drm? ( x11-libs/libdrm )
|
||||
gnome? (
|
||||
dev-libs/glib
|
||||
gnome-base/dconf
|
||||
)
|
||||
imagemagick? ( media-gfx/imagemagick:= )
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? ( media-libs/libglvnd[X] )
|
||||
osmesa? ( media-libs/mesa[osmesa] )
|
||||
pci? ( sys-apps/pciutils )
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
vulkan? (
|
||||
media-libs/vulkan-loader
|
||||
sys-apps/pciutils
|
||||
)
|
||||
wayland? ( dev-libs/wayland )
|
||||
xcb? ( x11-libs/libxcb )
|
||||
xfce? ( xfce-base/xfconf )
|
||||
xrandr? ( x11-libs/libXrandr )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="
|
||||
xrandr? ( X )
|
||||
chafa? ( imagemagick )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local fastfetch_enable_imagemagick7=no
|
||||
local fastfetch_enable_imagemagick6=no
|
||||
if use imagemagick; then
|
||||
fastfetch_enable_imagemagick7=$(has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no)
|
||||
fastfetch_enable_imagemagick6=$(has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_RPM=no
|
||||
-DENABLE_ZLIB=yes
|
||||
-DENABLE_SYSTEM_YYJSON=yes
|
||||
|
||||
-DENABLE_CHAFA=$(usex chafa)
|
||||
-DENABLE_DBUS=$(usex dbus)
|
||||
-DENABLE_DCONF=$(usex gnome)
|
||||
-DENABLE_DDCUTIL=$(usex ddcutil)
|
||||
-DENABLE_DRM=$(usex drm)
|
||||
-DENABLE_EGL=$(usex opengl)
|
||||
-DENABLE_GIO=$(usex gnome)
|
||||
-DENABLE_GLX=$(usex opengl)
|
||||
-DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6}
|
||||
-DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7}
|
||||
-DENABLE_LIBNM=$(usex networkmanager)
|
||||
-DENABLE_LIBPCI=$(usex pci)
|
||||
-DENABLE_OPENCL=$(usex opencl)
|
||||
-DENABLE_OSMESA=$(usex osmesa)
|
||||
-DENABLE_PULSE=$(usex pulseaudio)
|
||||
-DENABLE_SQLITE3=$(usex sqlite)
|
||||
-DENABLE_VULKAN=$(usex vulkan)
|
||||
-DENABLE_WAYLAND=$(usex wayland)
|
||||
-DENABLE_X11=$(usex X)
|
||||
-DENABLE_XCB=$(usex xcb)
|
||||
-DENABLE_XCB_RANDR=$(usex xcb)
|
||||
-DENABLE_XFCONF=$(usex xfce)
|
||||
-DENABLE_XRANDR=$(usex xrandr)
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
|
||||
append-cppflags -DNDEBUG
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
rm -r "${ED}"/usr/share/licenses || die
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
Make specifying `.jsonc` suffix for configs optional
|
||||
|
||||
https://github.com/fastfetch-cli/fastfetch/commit/456a58c8f57aaf22c51571ec0ead1e7c40c3d860
|
||||
|
||||
From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= <zhangsongcui3371@sina.com>
|
||||
Date: Tue, 19 Dec 2023 15:26:51 +0800
|
||||
Subject: [PATCH] fastfetch: default preset names to `.jsonc`
|
||||
|
||||
Fix #666
|
||||
--- a/src/fastfetch.c
|
||||
+++ b/src/fastfetch.c
|
||||
@@ -501,6 +501,11 @@ static void optionParseConfigFile(FFdata* data, const char* key, const char* val
|
||||
ffStrbufAppendS(&absolutePath, value);
|
||||
|
||||
bool success = isJsonConfig ? parseJsoncFile(absolutePath.chars) : parseConfigFile(data, absolutePath.chars);
|
||||
+ if (!success)
|
||||
+ {
|
||||
+ ffStrbufAppendS(&absolutePath, ".jsonc");
|
||||
+ success = parseJsoncFile(absolutePath.chars);
|
||||
+ }
|
||||
|
||||
if(success)
|
||||
return;
|
||||
@@ -514,6 +519,11 @@ static void optionParseConfigFile(FFdata* data, const char* key, const char* val
|
||||
ffStrbufAppendS(&absolutePath, value);
|
||||
|
||||
bool success = isJsonConfig ? parseJsoncFile(absolutePath.chars) : parseConfigFile(data, absolutePath.chars);
|
||||
+ if (!success)
|
||||
+ {
|
||||
+ ffStrbufAppendS(&absolutePath, ".jsonc");
|
||||
+ success = parseJsoncFile(absolutePath.chars);
|
||||
+ }
|
||||
|
||||
if(success)
|
||||
return;
|
@ -0,0 +1,83 @@
|
||||
https://github.com/fastfetch-cli/fastfetch/commit/0a1de91a29b802962e123966e370befd3894cb6d.patch
|
||||
|
||||
Option to opt out of Nvidia GPU support.
|
||||
|
||||
From: Viorel <ceamac.paragon@gmail.com>
|
||||
Date: Mon, 1 Jan 2024 12:38:06 +0200
|
||||
Subject: [PATCH] Add option for NVIDIA GPU support
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -76,6 +76,7 @@ option(ENABLE_SYSTEM_YYJSON "Use system provided (instead of fastfetch embedded)
|
||||
option(ENABLE_ASAN "Build fastfetch with ASAN (address sanitizer)" OFF)
|
||||
option(BUILD_TESTS "Build tests" OFF) # Also create test executables
|
||||
option(SET_TWEAK "Add tweak to project version" ON) # This is set to off by github actions for release builds
|
||||
+option(ENABLE_NVIDIA_GPU "Enable Nvidia NVML" ON)
|
||||
|
||||
####################
|
||||
# Compiler options #
|
||||
@@ -405,7 +406,6 @@ if(LINUX)
|
||||
src/detection/displayserver/linux/xlib.c
|
||||
src/detection/font/font_linux.c
|
||||
src/detection/gpu/gpu_linux.c
|
||||
- src/detection/gpu/gpu_nvidia.c
|
||||
src/detection/gtk_qt/gtk.c
|
||||
src/detection/host/host_linux.c
|
||||
src/detection/icons/icons_linux.c
|
||||
@@ -519,7 +519,6 @@ elseif(BSD)
|
||||
src/detection/displayserver/linux/xlib.c
|
||||
src/detection/font/font_linux.c
|
||||
src/detection/gpu/gpu_linux.c
|
||||
- src/detection/gpu/gpu_nvidia.c
|
||||
src/detection/gtk_qt/gtk.c
|
||||
src/detection/host/host_bsd.c
|
||||
src/detection/lm/lm_linux.c
|
||||
@@ -630,7 +629,6 @@ elseif(WIN32)
|
||||
src/detection/displayserver/displayserver_windows.c
|
||||
src/detection/font/font_windows.c
|
||||
src/detection/gpu/gpu_windows.c
|
||||
- src/detection/gpu/gpu_nvidia.c
|
||||
src/detection/gpu/gpu_intel.c
|
||||
src/detection/gpu/gpu_amd.c
|
||||
src/detection/host/host_windows.c
|
||||
@@ -676,6 +674,11 @@ if(ENABLE_DIRECTX_HEADERS)
|
||||
list(APPEND LIBFASTFETCH_SRC src/detection/gpu/gpu_wsl.cpp)
|
||||
endif()
|
||||
|
||||
+if(ENABLE_NVIDIA_GPU AND (LINUX OR BSD OR WIN32))
|
||||
+ message(STATUS "Enabling Nvidia NVML")
|
||||
+ list(APPEND LIBFASTFETCH_SRC src/detection/gpu/gpu_nvidia.c)
|
||||
+endif()
|
||||
+
|
||||
include(CheckFunctionExists)
|
||||
check_function_exists(wcwidth HAVE_WCWIDTH)
|
||||
if(NOT HAVE_WCWIDTH)
|
||||
@@ -699,6 +702,10 @@ add_library(libfastfetch OBJECT
|
||||
${LIBFASTFETCH_SRC}
|
||||
)
|
||||
|
||||
+if(ENABLE_NVIDIA_GPU AND (LINUX OR BSD OR WIN32))
|
||||
+ target_compile_definitions(libfastfetch PRIVATE FF_HAVE_NVIDIA_GPU=1)
|
||||
+endif()
|
||||
+
|
||||
if(yyjson_FOUND)
|
||||
target_compile_definitions(libfastfetch PRIVATE FF_USE_SYSTEM_YYJSON)
|
||||
target_link_libraries(libfastfetch PRIVATE yyjson)
|
||||
--- a/src/detection/gpu/gpu_linux.c
|
||||
+++ b/src/detection/gpu/gpu_linux.c
|
||||
@@ -245,6 +245,7 @@ static void pciHandleDevice(FF_MAYBE_UNUSED const FFGPUOptions* options, FFlist*
|
||||
gpu->temperature = FF_GPU_TEMP_UNSET;
|
||||
gpu->frequency = FF_GPU_FREQUENCY_UNSET;
|
||||
|
||||
+ #ifdef FF_HAVE_NVIDIA_GPU
|
||||
if (gpu->vendor.chars == FF_GPU_VENDOR_NAME_NVIDIA && (options->temp || options->driverSpecific))
|
||||
{
|
||||
ffDetectNvidiaGpuInfo(&(FFGpuDriverCondition) {
|
||||
@@ -266,6 +267,7 @@ static void pciHandleDevice(FF_MAYBE_UNUSED const FFGPUOptions* options, FFlist*
|
||||
if (gpu->dedicated.total != FF_GPU_VMEM_SIZE_UNSET)
|
||||
gpu->type = gpu->dedicated.total > (uint64_t)1024 * 1024 * 1024 ? FF_GPU_TYPE_DISCRETE : FF_GPU_TYPE_INTEGRATED;
|
||||
}
|
||||
+ #endif
|
||||
|
||||
#ifdef __linux__
|
||||
if(options->temp && gpu->temperature != gpu->temperature)
|
@ -0,0 +1,20 @@
|
||||
https://bugs.gentoo.org/921175
|
||||
|
||||
--- a/src/detection/gpu/gpu_wsl.cpp
|
||||
+++ b/src/detection/gpu/gpu_wsl.cpp
|
||||
@@ -98,6 +98,7 @@ const char* ffGPUDetectByDirectX(FF_MAYBE_UNUSED const FFGPUOptions* options, FF
|
||||
const char* vendorStr = ffGetGPUVendorString((unsigned) hardwareId.vendorID);
|
||||
ffStrbufSetStatic(&gpu->vendor, vendorStr);
|
||||
|
||||
+ #ifdef FF_HAVE_NVIDIA_GPU
|
||||
if (vendorStr == FF_GPU_VENDOR_NAME_NVIDIA && (options->driverSpecific || options->temp))
|
||||
{
|
||||
FFGpuDriverCondition cond = {
|
||||
@@ -117,6 +118,7 @@ const char* ffGPUDetectByDirectX(FF_MAYBE_UNUSED const FFGPUOptions* options, FF
|
||||
.frequency = &gpu->frequency,
|
||||
}, "/usr/lib/wsl/lib/libnvidia-ml.so");
|
||||
}
|
||||
+ #endif
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST libdatovka-0.2.1.tar.xz 683476 BLAKE2B f50c3da050e37e29d8a2bbedd8c5c15bb9317b6edf299a2e5d5b7b87e91c2489296f70bdbc8072ff318ba0082bb050a26d6d8f9161de4e5202df25d6eb3930ad SHA512 18fdc08392e2b96b1895f528e827dcaddb81089b7f08b70110b1fb3ce7e7961ca9851f33de4565ef7363da9659977127abf2508a2d83d44a693f8c5f3090f878
|
||||
DIST libdatovka-0.3.0.tar.xz 689000 BLAKE2B 6e3e8dcbc20a3ce181766e572727104c09584078411f07b627a0b0789328f6000a5b780ea1fbd4eb16d6f6b149351c732385f3e27adb31af7999dd74b183635d SHA512 4d82905c0a0d07251bec267cfc52319de3b3bfac537b98832059360174f4ab228d791df88a7d16bcd041343dcf5dfd00fd759881eae212a033ec47c3c9684fa0
|
||||
DIST libdatovka-0.4.0.tar.xz 807160 BLAKE2B a5bca260e2f9f4d1b8ae2e24152754ba22b4d3752e772ca55c2983390328968025599393842ac9305ac3745e9e166af2b4e75efd5e90f374f6e12aebe152341f SHA512 9c5c98927ea297b2fa148ef91420eb4a862728d1fc94299c6121932fac0b9811bbf686d08cf2f8bb820be9b552a62efd60292277455cd1c7a2fbf4222f4d4c10
|
||||
DIST libdatovka-0.6.0.tar.xz 721408 BLAKE2B b8b4398a3adc85a9eb9b642733941929a8d14aa6e4323fe5345f62adb6f7488c9c5b10688f0ed1e0fde8252377ae2b5e21d00bfe00f966523cd025fd4a35f60d SHA512 5a1b1574ae81f5d3c1ca8c2cd6e2fa9c9b3dc7dde6d1dd6de662a64120f2a8d107137b77da03043d4943fa6d51e4d7bdf330e3ddb2fe73467d705b0f7baf841c
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Client library for accessing ISDS SOAP services"
|
||||
HOMEPAGE="https://www.datovka.cz/cs/pages/libdatovka.html"
|
||||
SRC_URI="https://secure.nic.cz/files/datove_schranky/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+curl debug doc nls openssl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
dev-libs/libxml2
|
||||
curl? ( net-misc/curl[ssl] )
|
||||
doc? (
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
)
|
||||
openssl? ( dev-libs/openssl:= )
|
||||
!openssl? (
|
||||
app-crypt/gnupg
|
||||
app-crypt/gpgme:=
|
||||
dev-libs/libgcrypt:=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( net-libs/gnutls )"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-fatalwarnings
|
||||
--disable-static
|
||||
$(use_with curl libcurl)
|
||||
$(use_enable curl curlreauthorizationbug)
|
||||
$(use_enable doc)
|
||||
$(use_enable debug)
|
||||
$(use_enable nls)
|
||||
$(use_enable openssl openssl-backend)
|
||||
$(use_enable test)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Client library for accessing ISDS SOAP services"
|
||||
HOMEPAGE="https://www.datovka.cz/cs/pages/libdatovka.html"
|
@ -0,0 +1,20 @@
|
||||
--- a/libmx5000/mx5000screencontent.c
|
||||
+++ b/libmx5000/mx5000screencontent.c
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <asm/types.h>
|
||||
#include <linux/hiddev.h>
|
||||
+#include <linux/limits.h>
|
||||
|
||||
#include "libmx5000/mx5000screencontent.h"
|
||||
#include "libmx5000/mx5000.h"
|
||||
--- a/libmx5000/hidraw_lib.c
|
||||
+++ b/libmx5000/hidraw_lib.c
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
+#include <linux/limits.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST drawio-22.1.16-icon.svg 9345 BLAKE2B 410e604ef1cbe7370c375f272de2f70cd77f64d01d14a48333b762a9842b6c234caca95a168f1efff0a516759dec0087f5edc67c492fd0ec534177483713d5be SHA512 b206904bc7bcff56eff758cb12e8fc3801f63cc6f0396fcf6624cfc9746644032497c004047285928f08016c539af7b382ac046f44ffd0ffa534136350c846d3
|
||||
DIST drawio-desktop-bin-amd64-22.1.16.deb 135224132 BLAKE2B 92699617f5ce6d48b61d016abc2f3e700c12a818bc5e01e5fc7eac9a898c8f723bbd74a342cb60bb4f1ccdc444021f71461d1e9ac749631977da84380a577240 SHA512 97ebb05f01cc0ae455f9ede68cb2007528bac9750a6d4842e797addc2a12a94a4a2448e3ed66b16f27f1d3c468049d00e6d7b90062414d05211169079aefd3dc
|
||||
DIST drawio-desktop-bin-arm64-22.1.16.deb 130277246 BLAKE2B 3356e635471b3edc74533e1bb10854173a2bc6762243caef12b39265918563daa9687820068132863048b27f3d7b6c9657ed4e0c29c16572941c0d226c59b428 SHA512 cc810443975b819e020c0e31837a8c7751c197dfa9461f7757a589adace92b0799823f13b1f8d99b9f1de3cba973e937eaff92bd53ac343dd4f9b3426c519776
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue