parent
3d1bbee702
commit
40b35c0219
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST at-spi2-core-2.48.0.tar.xz 554000 BLAKE2B b8f513256670d24ae9f08572ae7878f109b5d76090fa4f881b67324d1d270889c648e456fe3ca34aaead9e85589f5ae355c8b4803f35c2cb2ace831051b1000b SHA512 976dce741d640c5b5e006eca53170062ebc91cace0fb74df68606c8443b63317fe271d4e3238d1e3ee3e5586b4a4905c91d7987adb94c8f886a1aaddd54c632e
|
||||
DIST at-spi2-core-2.48.3.tar.xz 554388 BLAKE2B 9692df8cc0bc8de82f6e339b9358be7ab1bc598afdb39503f5f05ca772109b962a513fe2ef79d8f094ea732457225409f3c765784a54cbabf27b8fc72c893eb9 SHA512 e79ef0eb0f23241d61ba2a62f4024a5df5ff7125bc085590f9038b3397d255b88b8266deec14f3fe53bee4072ab85695a47d27d8be0529b18a103ad792fa0e54
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org meson-multilib systemd virtualx xdg
|
||||
|
||||
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
|
||||
HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="2"
|
||||
IUSE="X gtk-doc +introspection"
|
||||
REQUIRED_USE="gtk-doc? ( X )"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libxml2-2.9.1:2[${MULTILIB_USEDEP}]
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
)
|
||||
|
||||
!<dev-libs/atk-2.46.0
|
||||
!<app-accessibility/at-spi2-atk-2.46.0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
gtk-doc? (
|
||||
dev-python/sphinx
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gi-docgen-2021.1
|
||||
)
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Dsystemd_user_dir="$(systemd_get_userunitdir)"
|
||||
$(meson_native_use_bool gtk-doc docs)
|
||||
$(meson_native_use_feature introspection)
|
||||
$(meson_feature X x11)
|
||||
-Ddisable_p2p=false
|
||||
-Datk_only=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/{libatspi,atk} || die
|
||||
mv "${ED}"/usr/share/doc/libatspi "${ED}"/usr/share/gtk-doc/libatspi/html || die
|
||||
mv "${ED}"/usr/share/doc/atk "${ED}"/usr/share/gtk-doc/atk/html || die
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST orca-44.0.tar.xz 3764020 BLAKE2B 0ac7f837cf38cf15b63400d7ca7d631b4e3710680ea50c311ea60b81e57797e81411f6d2f82cde8434fab065e07a14a7e5d9192e73bf29bb79ac6fa9644d985f SHA512 7b1d4a8417283fc7586bd1a308529d8cc3bdc53f080b5bcd6f9dffc686b9eeeb6992df9d970996b44a3339492fb31bdc26c107cc5233521c655e46d4bea7efb2
|
||||
DIST orca-44.1.tar.xz 3760772 BLAKE2B 1e2825e9183b86563d85f106f80b7fa84d7d0cc06c818cb72c2a307c9c85a421cbbfc581df7829afde558ddf468bc048382d059ae995661a5163d390585961b4 SHA512 951a60b7efd9b61762404c20b62d476c1ebc3fc2662c0be1feef307fa1761feb5195c89ce725db1585dde4c39d96e1aa74c2b5c934115a3c2669880c3c7ac200
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit gnome2 python-single-r1
|
||||
|
||||
DESCRIPTION="Extensible screen reader that provides access to the desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
|
||||
|
||||
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
IUSE="+braille"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=app-accessibility/at-spi2-core-2.47:2[introspection]
|
||||
>=dev-libs/glib-2.28:2
|
||||
media-libs/gstreamer:1.0[introspection]
|
||||
>=x11-libs/gtk+-3.6.2:3[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/gst-python:1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.18:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
braille? (
|
||||
$(python_gen_cond_dep '
|
||||
>=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
|
||||
dev-libs/liblouis[python,${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
|
||||
>=dev-python/pyatspi-2.36[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
')
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# app-text/yelp-tools
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(use_with braille liblouis)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_optimize
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST awscli-exe-linux-aarch64-2.11.17.zip 56500418 BLAKE2B ced68deac081666c71d73bea7d48f19aa27c8a78835ad13acaa06dac65db8569e9cf446900c0a8ede169bf177168e47ad3bebd06ad295a5626d926d59e4ed57b SHA512 6424cfcd079007cf1519f0018555c589a154639c1f28596d51d227c9078abbcd16660488d9c7984468bd223a7e4a89296c42c8fbdb8b6d085e32163e71d1f641
|
||||
DIST awscli-exe-linux-aarch64-2.12.0.zip 56282131 BLAKE2B 147d200a134dc3f4ca3b6dff285b447d98eedb52207f923354cd748102ed0bf8e9bd4e883d59536f8bbe3a249de99102c8b5f239271cdef66d73df069add1491 SHA512 e0e72d951b0d3136b99b15d8abcc0b38492ef0c92a915e4f92a902318895ff580fface1ee202a5c06cf99a9f4ab935b2393e7318d1efc3df90152c18ed745b7f
|
||||
DIST awscli-exe-linux-aarch64-2.13.0.zip 56319289 BLAKE2B 8b8ad8536a339e2058c8c596b891e692ccd478de053e3f1049167e106719b133240a7adbb1e2c7616955989f8e70bd273fda034c642db76b639575eda14c523a SHA512 360259a5147fa7cda25604b6e9b871ebd5f87b41504880e23bc482206108a70d4dae488506651fa2903e0335716d155ea82dbde8b740500740d6295e27ba62cb
|
||||
DIST awscli-exe-linux-aarch64-2.13.10.zip 56599191 BLAKE2B 39da11b095202d247bc5350d3d47b74b6db1a53146212b387fa5c66434ccd519b600212249112265557e106d1558680e46835acd4295e1282363b3e9e8f015a8 SHA512 b8323d29ad3b7668adfe02df02490bc0b9bb9a780d5aa1ae1d13cd082d3da6b749ae2579720c036c9693a2f9d8305aa53ec94aee5322edb71f376e45f6665be4
|
||||
DIST awscli-exe-linux-x86_64-2.11.17.zip 57614965 BLAKE2B 0a711bc968b53dd08810ef857c9d51d332b016fd969491850f9dd8fc84e912f815e2b0a6e38223fe29c321ee784ad2ee41644b7027af3439742d3c2141f10098 SHA512 c05ada15a4e896850adbe04cc159141d84fabc955f3baf6d053200c6595cc77c8a75886ce5f1bd18370fe34a2c1c3d294312aa471a028104266fa45fa5aa4334
|
||||
DIST awscli-exe-linux-x86_64-2.12.0.zip 57965257 BLAKE2B 9c8fec1d30795af94807d60c62b28eeb84e682d99cbacc0c8ad5b022c569e310fe781d00a6e9bd0cc0222c0104d9e0d2521bf3fb2102f60fe76de75bfec90cf8 SHA512 c4688e09fa17ed89495c807ebb1826e0517c1a7e7e4e62981e17e86a11227434eb1c59b9e7fffbd8e9e7ff6cc05846bf6cf7cc1769e099c9c146d9d11c400ab5
|
||||
DIST awscli-exe-linux-x86_64-2.13.0.zip 58077746 BLAKE2B c7cc17617fe5bc7d1384ca4e67aae0c39d2b250cbec63be0f637429bd8f9136ee7eb663a8ce127705be0549ce44e09a7258f6f11989f47d430e4a2dde9520304 SHA512 21c2933e370d1c0ab906f295a8d3614c712f53232c4c6d29b2c5510474df6d8fc2fd0873ff8f2d82b37c03775a4916af7d6173448afa047af4bbc7b542569f16
|
||||
DIST awscli-exe-linux-x86_64-2.13.10.zip 58357637 BLAKE2B 6c2b5f3fa196586687914a2e0058c5d81d7f97d0bec4ce093a1fd2c928c76980326483e15e0d48cf83791ff3fa17f725c3de77f77077a9ad356391a590f1ec2e SHA512 c544a71eca545c24ab0cf171e8428811921627b10ead00791f95b6610fa11ff8a89c1d0ba7485b7b498a3daaef88bbd6260d2f1af1b998abaaeaa3b86f9010aa
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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,46 @@
|
||||
From 31d7a945230eaf1f8ab94d5f782619434f7f2b8c Mon Sep 17 00:00:00 2001
|
||||
From: Michael Orlitzky <michael@orlitzky.com>
|
||||
Date: Wed, 16 Aug 2023 21:21:39 -0400
|
||||
Subject: [PATCH 1/1] includes/batch.inc: synchronize sub and superclass
|
||||
parameter names
|
||||
|
||||
The DrushBatchContext class overrides the offsetSet() method of its
|
||||
superclass, ArrayObject, but changes the first parameter's name from
|
||||
$key to $name. This makes php-8.1 unhappy:
|
||||
|
||||
Error: Return type of DrushBatchContext::offsetSet($name, $value)
|
||||
should either be compatible with ArrayObject::offsetSet(mixed $key,
|
||||
mixed $value): void, or the #[\ReturnTypeWillChange] attribute should
|
||||
be used to temporarily suppress the notice in .../batch.inc, line 37
|
||||
|
||||
Renaming the parameter to $key throughout the function fixes the issue.
|
||||
---
|
||||
includes/batch.inc | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/includes/batch.inc b/includes/batch.inc
|
||||
index dd4adc9..785f411 100644
|
||||
--- a/includes/batch.inc
|
||||
+++ b/includes/batch.inc
|
||||
@@ -34,14 +34,14 @@
|
||||
* @see _drush_batch_worker().
|
||||
*/
|
||||
class DrushBatchContext extends ArrayObject {
|
||||
- function offsetSet($name, $value) {
|
||||
- if ($name == 'message') {
|
||||
+ function offsetSet($key, $value) {
|
||||
+ if ($key == 'message') {
|
||||
drush_log(strip_tags($value), 'ok');
|
||||
}
|
||||
- elseif ($name == 'error_message') {
|
||||
+ elseif ($key == 'error_message') {
|
||||
drush_set_error('DRUSH_BATCH_ERROR', strip_tags($value));
|
||||
}
|
||||
- parent::offsetSet($name, $value);
|
||||
+ parent::offsetSet($key, $value);
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.41.0
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Displays the last new messages of a logfile"
|
||||
HOMEPAGE="https://fetchlog.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/fetchlog/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
IUSE="snmp"
|
||||
|
||||
RDEPEND="
|
||||
snmp? (
|
||||
>=dev-perl/Net-SNMP-4.0.1-r2
|
||||
>=net-analyzer/net-snmp-5.0.6
|
||||
)"
|
||||
DEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.4-fix-build-system.patch )
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fetchlog
|
||||
einstalldocs
|
||||
dodoc *cfg*
|
||||
doman fetchlog.1
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
elog
|
||||
elog "This utility can be used together with Nagios"
|
||||
elog "To make use of these features you need to"
|
||||
elog "install net-analyzer/nagios."
|
||||
elog "This feature depends on SNMP, so make use you"
|
||||
elog "have 'snmp' in your USE flags"
|
||||
elog
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST keepassxc-2.7.5-src.tar.xz 8706996 BLAKE2B 6df7ec9e560b469b8e3ae9026464e6c2064ffd262b118842a3cd5fbf72758aa0e5614cb2581392b6ab35b3d202acbdad24e1679ca162468f78e88dd94af2422f SHA512 904fe319cb18a06e86162a0a4c4fbcac05b9e6936b69c5362b7fe2b89cd268061cadd6854f7dde80d3e8cfa2b9e22c27974277f3db1f6c32a2720e01a4c4aa1b
|
||||
DIST keepassxc-2.7.6-src.tar.xz 8474624 BLAKE2B 2ecdd387a7bc70aeeaef6eeabdfeed6aaf1d779056580375c011aa71d62459d38258617a4cb46fc3b215a2b6e1e3326cc8c62b228bee0be674923399421b0cbe SHA512 58bdf731e1ce15e4a9db5aae27b7740372c4b28e2998b9acf2d1be6ee5b4eead37149ddd3de039d1cb70d34f11b09f43969d36ce4241b3fe3af4adf53d8ba812
|
||||
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://keepassxc.org/
|
||||
https://github.com/keepassxreboot/keepassxc/"
|
||||
|
||||
if [[ "${PV}" != *9999 ]] ; then
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
else
|
||||
SRC_URI="https://github.com/keepassxreboot/${PN}/releases/download/${PV}/${P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
[[ "${PV}" != 9999 ]] && EGIT_BRANCH="master"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="X autotype browser doc keeshare +network test yubikey"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="autotype? ( X )"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/argon2:=
|
||||
dev-libs/botan:3=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-gfx/qrencode:=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:=
|
||||
X? ( dev-qt/qtx11extras:5 )
|
||||
autotype? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
)
|
||||
keeshare? ( sys-libs/zlib:=[minizip] )
|
||||
yubikey? (
|
||||
dev-libs/libusb:1
|
||||
sys-apps/pcsc-lite
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/qttest:5
|
||||
"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
doc? ( dev-ruby/asciidoctor )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.7.4-tests.patch )
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV}" != *_beta* ]] && [[ "${PV}" != *9999 ]] && [[ ! -f .version ]] ; then
|
||||
printf '%s' "${PV}" > .version || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/keepassxreboot/keepassxc/issues/5801
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
# Gentoo users enable ccache via e.g. FEATURES=ccache or
|
||||
# other means. We don't want the build system to enable it for us.
|
||||
-DWITH_CCACHE=OFF
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_DOCS="$(usex doc)"
|
||||
-DWITH_XC_BROWSER="$(usex browser)"
|
||||
-DWITH_XC_BOTAN3=ON
|
||||
-DWITH_XC_FDOSECRETS=ON
|
||||
-DWITH_XC_KEESHARE="$(usex keeshare)"
|
||||
-DWITH_XC_NETWORKING="$(usex network)"
|
||||
-DWITH_XC_SSHAGENT=ON
|
||||
-DWITH_XC_UPDATECHECK=OFF
|
||||
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
-DWITH_XC_X11="$(usex X)"
|
||||
)
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" )
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Bash scripts to install tripwire and generate tripwire policy files"
|
||||
HOMEPAGE="https://sourceforge.net/projects/mktwpol"
|
||||
SRC_URI="mirror://sourceforge/mktwpol/${PF}.tar.gz"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/tripwire"
|
||||
|
||||
S=${WORKDIR}/${PF}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's:/usr/local:/usr:' Makefile || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# one elog message for new/first installation
|
||||
# different elog message when updating
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog
|
||||
elog "To facilitate a new installation and setup of tripwire:"
|
||||
elog " - Run: \`twsetup.sh\`"
|
||||
elog
|
||||
elog "To update tripwire database as packages are added or deleted:"
|
||||
elog " - Run: \`mktwpol.sh -u\`"
|
||||
elog
|
||||
elog "Mktwpol is packaged with multiple policy-generating rules files."
|
||||
elog "A default \"rules file\" is installed in /etc/tripwire"
|
||||
elog "Alternatives are available in /usr/share/doc/${PF}"
|
||||
elog
|
||||
elog "mktwpol.sh uses the policy-generating rules file with the"
|
||||
elog "most recent date. To use an alternative \"rules file\","
|
||||
elog "copy it from /usr/share/doc/${PF} to /etc/tripwire,"
|
||||
elog " uncompress it, and \`touch\` it."
|
||||
elog
|
||||
elog "Read /usr/share/doc/${PF}/README for more tips."
|
||||
elog
|
||||
else
|
||||
elog
|
||||
elog "Version bump: mktwpol policy-generating rules have changed."
|
||||
elog "Run \`mktwpol.sh -u\` to update tripwire policy and database."
|
||||
elog
|
||||
elog "Alternative policy-generating rules are in /usr/share/doc/${PF}"
|
||||
elog "To use an alternative policy-generating rules file,"
|
||||
elog "copy it to /etc/tripwire, uncompress and \`touch\` it."
|
||||
elog
|
||||
fi
|
||||
# ewarn message if a version change from 0.x.x
|
||||
if [[ "${REPLACING_VERSIONS:0:1}" == "0" ]] ; then
|
||||
ewarn
|
||||
ewarn "Mktwpol default policy-generating rules no longer sort by package."
|
||||
ewarn
|
||||
ewarn " This change does not reduce the scope of system inspection!"
|
||||
ewarn " It only affects the tripwire report format."
|
||||
ewarn
|
||||
ewarn " The previous default reporting format is still available, at"
|
||||
ewarn " /usr/share/doc/${PF}/mktwpol-gentoo-packages.rules*"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST openrc-settingsd-v1.2.0.tar.bz2 41713 BLAKE2B e4630e934fc55549b3d81cc448adb35cb22cb99b898363a1113909a24acc0709d5693841a9c651b4ecf52044c3a45cc4b8207f9c9a3d0e1e8a4f85edefb23d65 SHA512 b1862e80454d3ca22d083f283f4ef3215dfad4da6d2aa495211fa31014c66fb6891ae87a3a1c6932944ed4c1e7100d247e80abc659f37868adcf5fce3b90385b
|
||||
DIST openrc-settingsd-v1.4.0.tar.bz2 41420 BLAKE2B 3890c65e22f1cc55aa8f067ae7d8a46de25618c7ab98acb8e01f38662da4d73f3d0d16583a0526ded3331c4fb4d80bf0b6852917ed875adfa0035d19e19219e6 SHA512 aa5bd4d2afb1b959c4c2d532b30d369ee0bd637010ea75adc8ca7444cdb13bf651ae4c6946141d326c8460f23ba4482c1a3f639a0b48190009a88298a17c22e3
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="System settings D-Bus service for OpenRC"
|
||||
HOMEPAGE="https://gitlab.com/postmarketOS/openrc-settingsd/"
|
||||
SRC_URI="https://gitlab.com/postmarketOS/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
IUSE="systemd"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.30:2
|
||||
sys-apps/dbus
|
||||
sys-auth/polkit
|
||||
dev-libs/libdaemon:0=
|
||||
sys-apps/openrc
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
systemd? ( >=sys-apps/systemd-197 )
|
||||
!systemd? ( sys-auth/nss-myhostname !sys-apps/systemd )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/gdbus-codegen
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dopenrc=enabled
|
||||
-Denv-update=/usr/bin/env-update
|
||||
-Dhostname-style=gentoo
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use systemd; then
|
||||
# Avoid file collision with systemd
|
||||
rm -vr "${ED}"/usr/share/{dbus-1,polkit-1} "${ED}"/etc/dbus-1 || die "rm failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use systemd; then
|
||||
elog "You installed ${PN} with USE=systemd. In this mode,"
|
||||
elog "${PN} will not start via simple dbus activation, so you"
|
||||
elog "will have to manually enable it as an rc service:"
|
||||
elog " # /etc/init.d/openrc-settingsd start"
|
||||
elog " # rc-update add openrc-settingsd default"
|
||||
fi
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Filesystem Integrity Checker"
|
||||
SRC_URI="mirror://sourceforge/petrovich/${P}.tar.gz"
|
||||
HOMEPAGE="https://sourceforge.net/projects/petrovich"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
|
||||
RDEPEND="virtual/perl-Digest-MD5"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-gentoo.diff" )
|
||||
HTML_DOCS=( CHANGES.HTML LICENSE.HTML README.HTML TODO.HTML USAGE.HTML )
|
||||
|
||||
src_install() {
|
||||
dosbin "${PN}.pl"
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/${PN}.conf"
|
||||
|
||||
dodir "/var/db/${PN}"
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST puppet-agent_7.24.0-1focal_amd64.deb 31418478 BLAKE2B 201c0a5adbeca2b6f572d3f8b89df06314171e5c7bb95f574311cee5af1910bdf7f5574eaa5f514bcf0c1ceb5c04c30a2079069183c4b37dd90581596a70092e SHA512 7912360597c21abf048d578783262821210d6568dc41f79b2d21cdb08851f8bd4cbe5a6114aa8af302c9046de424b8b15fe34be1fc51b529f36ccb99445bc7dc
|
||||
DIST puppet-agent_7.24.0-1focal_arm64.deb 31160744 BLAKE2B 22dfc3f0855c2e88c7202f2a9d98efd4ad9ef3a191ab9b5b8c37a6869306a47d1225d568fec9f0fc52cdf236f8258b5ca206a360049cc39e1825f1f8afc5d4af SHA512 db1b7cb25a04d6aeedd7f3bb125fe0fcac420c2881f9f3aba729143e253908376cd118073753de018d8fd1a6d7f38139766b4ec4bfb23f840ca7ee32143a8a48
|
||||
DIST puppet-agent_8.0.0-1focal_amd64.deb 35686934 BLAKE2B 1604178a8ce2a9112e411d2054b013a9bba5e28d6ecbb119da112ffd01cb620a482c118b84313a95f50efac755c0cb3551b966d95d77ae242c5ca515d3f82d72 SHA512 df6fe25f582fe5339648cada3563cd3820e39ebe383cf8189bb2517e03e21477af6cffcdf4d1894960fd69a5c4168990c45a1f74789bca0881f31fd09dccf0d2
|
||||
DIST puppet-agent_8.0.0-1focal_arm64.deb 35445806 BLAKE2B b66669c98d44eadead8d9b09faf679dd9ca938bfba7cd5c67d9083cd856afa61ee416a389672a978d8b9394a0ec7b404fd97db4a181b4ffbbdb813aff2b3d697 SHA512 c47167e2be146eb18fab055fb5dc94583e3b53006ce71573c41d76016e0a9ef57ba8a9d9807e020763acbfbe243ebb4080a84773f3d7339beb408f4b437cc864
|
||||
DIST puppet-agent_8.1.0-1focal_amd64.deb 35868180 BLAKE2B 9c3c952a35670883aae31e05a47b5d23e79c3e53cf54760444a8d0dbf7d7ca6385b043ec82eb748d0b6e9573fcb79de457323ec46441f3dd5a60c14cc51aeaae SHA512 450b37c556f39d02d124009d276c70e8b8f46f75ff14df4ab13656a54ace2612441202e8fcf5a266ec25998ad05271eda2f1088580091009b8f2c98b1b8462d8
|
||||
DIST puppet-agent_8.1.0-1focal_arm64.deb 35364600 BLAKE2B 25965e453f13b936962bf8a786171dc7fce3fe4868f856352a6a46c463f8e84d32d44f3a7ca7f4d9ce21880a9d38a623b7dffe1c0dbcff5c4e48971776dce960 SHA512 1d77cb14600d38547deac90a57218d0559797f011b9acae708d745946a20299c6a802276aac9e06eba2b8e5ae631e2f9da030b11fdfa26ab656ed7c2db631d7b
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit systemd unpacker tmpfiles
|
||||
|
||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_URI="amd64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb )
|
||||
arm64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_arm64.deb )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
# virtual/libcrypt:= is in here despite being a pre-built package
|
||||
# to ensure that the has_version logic for the symlink doesn't become stale
|
||||
CDEPEND="!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
app-emulation/virt-what
|
||||
acct-user/puppet
|
||||
acct-group/puppet
|
||||
virtual/libcrypt:="
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-admin/augeas"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/libselinux
|
||||
sys-libs/glibc
|
||||
sys-libs/readline:0/8
|
||||
sys-libs/libxcrypt[compat]
|
||||
sys-libs/ncurses:0[tinfo]
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
keepdir var/log/puppetlabs/puppet/
|
||||
chmod 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd2" puppet
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
|
||||
# Handling of the path to the crypt library during the ongoing migration
|
||||
# from glibc[crypt] to libxcrypt
|
||||
# https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html
|
||||
if has_version "sys-libs/glibc[crypt]"; then
|
||||
local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1'
|
||||
else
|
||||
local crypt_target='../../../../usr/lib/libcrypt.so.1'
|
||||
fi
|
||||
dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet-agent.conf
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST puppet-7.24.0.tar.gz 2823083 BLAKE2B f4a3862153a01b1d5ce1cc9d72a2446d91346c5e8ed762f8aeae260a67bd583c277cd4ea0f207021057d40c69078add06af88978522706dea59796bdd6071070 SHA512 bb881e7523fce72ca8941d363ebc12f0172aff61a28d49465b7977fdf0d004575f5677fad3f0858db109b1cf85e4d870becdaa7c6687db32eb6eecf849ed25e9
|
||||
DIST puppet-8.0.0.tar.gz 2874596 BLAKE2B 64a609c0375c942520f17bd6281225568b9803cd7af3e9f4da8311eb4f2680184174b0b5c992b243ba9680912b77038934bb3506ae28a964c64b0f1f8feca62e SHA512 78ba9d603831874fbecca7ce3e2802ed54188a71ad7d6f7a24fa3390330e41a7b43b074c6c51e32cfdf10ff92f6b087f8fbe9220ea65efb917f517776451ef56
|
||||
DIST puppet-8.1.0.tar.gz 2877086 BLAKE2B 24fde48d04790ca308ef80ca51021b69dd08f703eec49724f753aabe36b824d338d135e985a5741b7e412f807ee35edf7898d2bc12d61bd9243e3fc1540808e2 SHA512 7811d67f83c72d67d5d463ccddece8889868f302217229f748a1d95df8b64213d9ee86a34e42af3beed9fc55cf70a14f63e6b8a6fcd18feb259e1d027dc35259
|
||||
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_RUBY="ruby31"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit ruby-fakegem systemd tmpfiles
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="https://puppet.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86"
|
||||
IUSE="augeas diff doc emacs hiera ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
# <dev-ruby/concurrent-ruby-1.2 for bug #900206
|
||||
# - https://tickets.puppetlabs.com/browse/PUP-11722 (workaround, pinning)
|
||||
# - https://tickets.puppetlabs.com/browse/PUP-11723 (bug for fixing the pinning)
|
||||
ruby_add_rdepend "
|
||||
hiera? ( dev-ruby/hiera )
|
||||
dev-ruby/json:=
|
||||
dev-ruby/semantic_puppet
|
||||
>=dev-ruby/facter-3.0.0
|
||||
dev-ruby/deep_merge
|
||||
<dev-ruby/concurrent-ruby-1.2
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# fix systemd path
|
||||
eapply -p0 "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" \
|
||||
# "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
newtmpfiles "${FILESDIR}/tmpfiles.d-2" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"
|
||||
dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet.conf
|
||||
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST puppetserver-7.11.0.tar.gz 59927771 BLAKE2B dcf2543ac6d5427f57bb451ff9cc6db6748522ffed6fd5a7e81bd63be899fbf722016975fdfca5154489bcaf93d973d11669dd455ad44c79b3be50ccc5e0f636 SHA512 4c9c8d05048ccc35fd729a9a37151451e97655eed131f7192be2dac7614c309ffa4cdb0dd77f1c9eb2666d7df630690faa52ad2b01266010533522b58fb06f79
|
||||
DIST puppetserver-8.0.0.tar.gz 60976845 BLAKE2B af9e389ec946ea20b7028535c12a0fbc99dc4ee0790cfb9625ae881e3024c96727e8eb671a25895ade878c5a2b264991a5b3f49dc7453e49ba85be0042ba0bc6 SHA512 1b67c472795c5baad5696f4b553fc95a3561b4fbb9fcd0cc7be2c168bbbbe3b788a6fc2d0821fa9d459c452a9e9ee754a6ba2f8b8cae55ab6490896bd228ce06
|
||||
DIST puppetserver-8.1.0.tar.gz 61109210 BLAKE2B 562f765d0f36926d16575d6c6fe9e55ee1d732f9288ae3ab0cfa653868de87f4de6176d616e49568298de754a94951e37d61e129b6723ca1f1da6bb3bb191d54 SHA512 a6112d8c4eeaa58dfcb72e91f60104a0918a3c55f8fce4e555b40fa42d0027aaddf94e8751ecd854240f3dcf6034233dc52a750ee7791e35f0a6a7a9609a8c35
|
||||
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents"
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="puppetdb"
|
||||
# will need the same keywords in puppet-agent (puppet-agent now has arm64)
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RDEPEND+="
|
||||
>=virtual/jdk-11
|
||||
app-admin/puppet-agent[puppetdb?]"
|
||||
DEPEND+="acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
||||
insopts -m0774
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppet-server-release.jar
|
||||
insinto /etc/puppetlabs/puppetserver
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetserver/services.d
|
||||
doins ext/system-config/services.d/bootstrap.cfg
|
||||
doins ext/config/services.d/ca.cfg
|
||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
||||
doins ext/config/conf.d/puppetserver.conf
|
||||
doins ext/config/conf.d/auth.conf
|
||||
doins ext/config/conf.d/global.conf
|
||||
doins ext/config/conf.d/web-routes.conf
|
||||
doins ext/config/conf.d/metrics.conf
|
||||
doins ext/config/conf.d/webserver.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
||||
doins ext/cli/ca
|
||||
doins ext/cli/irb
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/gem
|
||||
doins ext/cli/ruby
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
||||
doins ext/cli_defaults/cli-defaults.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
||||
doins ext/bin/puppetserver
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
||||
# other sys stuff
|
||||
dodir /etc/puppetlabs/code
|
||||
# needed for systemd
|
||||
keepdir /var/log/puppetlabs/puppetserver
|
||||
dodir /etc/puppetlabs/puppet/ssl
|
||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
||||
# systemd type things
|
||||
insinto /etc/systemd/system/puppetserver.service.d/
|
||||
systemd_dounit ext/redhat/puppetserver.service
|
||||
insinto /etc/default
|
||||
newins ext/default puppetserver
|
||||
# normal init type tasks
|
||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
||||
newinitd "${FILESDIR}/puppetserver.init-r1" puppetserver
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetserver.logrotate.conf puppetserver
|
||||
# cleanup
|
||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
||||
insinto /opt/puppetlabs/server/data
|
||||
doins ext/build-scripts/jruby-gem-list.txt
|
||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
||||
newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppetserver.conf
|
||||
|
||||
elog "to install you may want to run the following:"
|
||||
elog
|
||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
||||
elog
|
||||
elog "# install puppetserver gems"
|
||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document --ignore-dependencies \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list-no-dependencies.txt"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST r10k-3.15.0.gem 257536 BLAKE2B 50ddb734bef782d9b061f17338d05c8fd824d0cc1e6005c538c4ef91c584bfe9ecbfb5bc5dc033317344bad7b14825cea6a56e136efec5081778582b8c714b18 SHA512 97cbb0a3e6f23591370de339e3320d9cbff726968b3b73d2bb00ebca7637406a371d1464d3ac955b7aacc4f5cfa898b828095aebaebe24bffd7d90be462457a9
|
||||
DIST r10k-3.15.4.tar.gz 258268 BLAKE2B 6f2f69895d84e13f54f2a7e6dba086c5b4234f0644709dafa8f88366dbe37fe8f165ef2d316f4c5b60df843448d164132878d67750bc3a65a2b8f66b205d3266 SHA512 521cf69a7372a60db74c3795b608c5ab4148f628365210228d79d9146a80d7105e4c757241e891e8e37027ae0cc2f37e59773c9838bd88042b0fdab13e36cd88
|
||||
DIST r10k-3.16.0.tar.gz 253547 BLAKE2B 683fdd5588c7b3c3b47ae0d28d75fbfb929d5595c715531eed86b8d89f76708c91f38f9ca558040b36fac38c038211086a74fdf109b37350126bc78b25f8b751 SHA512 399a357cf8617427632516e0f439a40464ba0c8201ee7b6ce15c893ae029bfd9ae1438b76aff3b9601685d14febf8fc71dbdd2954eb3352d6ce713e769cb586d
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST salt-3005.1.tar.gz 17914349 BLAKE2B 697c2068bf119e4a19f92a86ce880fec9375c10ba549cdcdd2182cfeaacce31c7bc4c4c91e1a609906b4c5373bb5e3120e0db47ede5b45ee20942d7b2d201e64 SHA512 391f995f0129f3d7104a0eea4fd83b18aa6ecae0fd7a2c77c1154e24b0bcd52cef4b63db12597c85737bb33ddf605e0c23370cef3bf47f9ea85af5b77d74dc50
|
||||
DIST salt-3006.0.tar.gz 20377846 BLAKE2B d39a55676f6bc5f70a558684811dd6175b633ceb5b73f4e95bd0137e7a507456f2e77099c05aca082591b9bdff1948632adc9f141e2f8ad26c4bfedd98af3d15 SHA512 999e2eb362607e1a8a0636c3bfa305fb070a5df309b837975a03a0bf02d25e4678eae38e8a1a356ea857a6d81cbb68aeb9f903a55dd221c7485d2f22b309dd77
|
||||
DIST salt-3005.2.tar.gz 17935313 BLAKE2B 550853b8245351b251438ac87d775e8b39d71ddc1eee0375f4bb29c04e2aacf5905ef9ac5373d9e7ff47a1cc8d6b9ce1a2a4c3d75b5647d4047bc06a5e526664 SHA512 07e7afc732a97006557d4556d60aa1854934893d0566bf8c295d4b1c01515988a1bf2798ce228f6b37e657de8fdfff51153ad2ea8d54baa6a5c377e30794f317
|
||||
DIST salt-3006.2.tar.gz 20411634 BLAKE2B dff474017918ef3ee0031856a2739282077205d8c2589809a91e5f1c3741cb26d2bd2458734ea4d3533118c881851dfd853f4ba4f1c631e7db28e95bc1b6f7f8 SHA512 2626cb5beb1b30fc63f554f5804f0d9b7e36b7c569c5f9049e5f5ac5a413e9d99a98b3d91089683338e3d3890ec973dff80782b4e41acb291872e45084fd2546
|
||||
|
@ -0,0 +1,114 @@
|
||||
diff --git a/tests/pytests/unit/modules/dockermod/test_module.py b/tests/pytests/unit/modules/dockermod/test_module.py
|
||||
index 8fb7806497..584d416412 100644
|
||||
--- a/tests/pytests/unit/modules/dockermod/test_module.py
|
||||
+++ b/tests/pytests/unit/modules/dockermod/test_module.py
|
||||
@@ -354,10 +354,6 @@ def test_update_mine():
|
||||
mine_mock.assert_called_once()
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_list_networks():
|
||||
"""
|
||||
test list networks.
|
||||
@@ -378,10 +374,6 @@ def test_list_networks():
|
||||
client.networks.assert_called_once_with(names=["foo"], ids=["01234"])
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_create_network():
|
||||
"""
|
||||
test create network.
|
||||
@@ -422,10 +414,6 @@ def test_create_network():
|
||||
)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_remove_network():
|
||||
"""
|
||||
test remove network.
|
||||
@@ -444,10 +432,6 @@ def test_remove_network():
|
||||
client.remove_network.assert_called_once_with("foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_inspect_network():
|
||||
"""
|
||||
test inspect network.
|
||||
@@ -466,10 +450,6 @@ def test_inspect_network():
|
||||
client.inspect_network.assert_called_once_with("foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_connect_container_to_network():
|
||||
"""
|
||||
test connect_container_to_network
|
||||
@@ -491,10 +471,6 @@ def test_connect_container_to_network():
|
||||
client.connect_container_to_network.assert_called_once_with("container", "foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_disconnect_container_from_network():
|
||||
"""
|
||||
test disconnect_container_from_network
|
||||
@@ -513,10 +489,6 @@ def test_disconnect_container_from_network():
|
||||
client.disconnect_container_from_network.assert_called_once_with("container", "foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_list_volumes():
|
||||
"""
|
||||
test list volumes.
|
||||
@@ -539,10 +511,6 @@ def test_list_volumes():
|
||||
)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_create_volume():
|
||||
"""
|
||||
test create volume.
|
||||
@@ -569,10 +537,6 @@ def test_create_volume():
|
||||
)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_remove_volume():
|
||||
"""
|
||||
test remove volume.
|
||||
@@ -591,10 +555,6 @@ def test_remove_volume():
|
||||
client.remove_volume.assert_called_once_with("foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_inspect_volume():
|
||||
"""
|
||||
test inspect volume.
|
@ -0,0 +1,235 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||
https://github.com/saltstack"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||
mongodb neutron nova openssl portage profile redis selinux test raet
|
||||
+zeromq vim-syntax
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pciutils
|
||||
>=dev-python/distro-1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.9.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? (
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/aiosignal[${PYTHON_USEDEP}]
|
||||
>=dev-python/apache-libcloud-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
dev-python/libvirt-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
openssl? (
|
||||
dev-libs/openssl:0=[-bindist(-)]
|
||||
>=dev-python/pyopenssl-23.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||
cheetah? ( >=dev-python/cheetah3-3.2.2[${PYTHON_USEDEP}] )
|
||||
genshi? ( dev-python/genshi[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
neutron? (
|
||||
>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-19.0.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/apache-libcloud[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2023.07.22[${PYTHON_USEDEP}]
|
||||
dev-python/cherrypy[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-7.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-salt-factories-1.0.0_rc17[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-shell-utilities[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-system-statistics[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
net-dns/bind-tools
|
||||
>=dev-python/virtualenv-20.3.0[${PYTHON_USEDEP}]
|
||||
dev-util/yamllint[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.17.67[${PYTHON_USEDEP}] )
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst AUTHORS )
|
||||
|
||||
REQUIRED_USE="|| ( raet zeromq )
|
||||
test? ( cheetah genshi )"
|
||||
RESTRICT="!test? ( test ) x86? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/salt-3003-skip-tests-that-oom-machine.patch"
|
||||
"${FILESDIR}/salt-3003-gentoolkit-revdep.patch"
|
||||
"${FILESDIR}/salt-3002-tests.patch"
|
||||
"${FILESDIR}/salt-3003.1-tests.patch"
|
||||
"${FILESDIR}/salt-3005-tests.patch"
|
||||
"${FILESDIR}/salt-3005.1-no-entry-points.patch"
|
||||
"${FILESDIR}/salt-3005.1-importlib-metadata-5-r1.patch"
|
||||
"${FILESDIR}/salt-3005.1-tests.patch"
|
||||
"${FILESDIR}/salt-3005.1-modules-file-python-3.11-host.patch"
|
||||
"${FILESDIR}/salt-3006.2-tests.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# remove tests with external dependencies that may not be available, and
|
||||
# tests that don't work in sandbox
|
||||
rm tests/unit/{test_{zypp_plugins,module_names},utils/test_extend}.py || die
|
||||
rm tests/unit/modules/test_boto_{vpc,secgroup,elb}.py || die
|
||||
rm tests/unit/states/test_boto_vpc.py || die
|
||||
rm tests/support/gitfs.py tests/unit/runners/test_git_pillar.py || die
|
||||
rm tests/pytests/functional/transport/server/test_req_channel.py || die
|
||||
rm tests/pytests/functional/utils/test_async_event_publisher.py || die
|
||||
rm tests/pytests/functional/runners/test_winrepo.py || die
|
||||
|
||||
# tests that require network access
|
||||
rm tests/unit/{states,modules}/test_zcbuildout.py || die
|
||||
rm -r tests/integration/cloud || die
|
||||
rm -r tests/kitchen/tests/wordpress/tests || die
|
||||
rm tests/kitchen/test_kitchen.py || die
|
||||
rm tests/unit/modules/test_network.py || die
|
||||
rm tests/pytests/functional/modules/test_pip.py || die
|
||||
rm tests/pytests/unit/client/ssh/test_ssh.py || die
|
||||
rm -r tests/pytests/{integration,functional}/netapi tests/integration/netapi || die
|
||||
|
||||
# tests require root access
|
||||
rm tests/integration/pillar/test_git_pillar.py || die
|
||||
rm tests/integration/states/test_supervisord.py || die
|
||||
|
||||
# removes contextvars, see bug: https://bugs.gentoo.org/799431
|
||||
sed -i '/^contextvars/d' requirements/base.txt || die
|
||||
|
||||
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
|
||||
find "${S}" -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d ; /pycryptodomex/ d' -i || die
|
||||
# pycryptodome rather than pycryptodomex
|
||||
find "${S}" -name '*.py' -print0 | xargs -0 -- sed -i -e 's:Cryptodome:Crypto:g' -- || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local svc
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-5 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -a EPYTEST_DESELECT=(
|
||||
# doesn't like the distutils warning
|
||||
tests/pytests/integration/cli/test_batch.py::test_batch_retcode
|
||||
tests/pytests/integration/cli/test_batch.py::test_multiple_modules_in_batch
|
||||
# hangs indefinitely
|
||||
tests/pytests/unit/test_minion.py::test_master_type_disable
|
||||
# needs root
|
||||
tests/pytests/unit/modules/test_cmdmod.py::test_runas_env_sudo_group
|
||||
# don't like sandbox
|
||||
tests/unit/cloud/clouds/test_joyent.py::JoyentTestCase::test_query_instance_has_ip
|
||||
tests/unit/cloud/clouds/test_joyent.py::JoyentTestCase::test_query_instance_init
|
||||
tests/unit/cloud/clouds/test_joyent.py::JoyentTestCase::test_query_instance_ready
|
||||
tests/unit/modules/test_win_ip.py::WinShadowTestCase::test_disable
|
||||
tests/unit/modules/test_win_ip.py::WinShadowTestCase::test_enable
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_finished_is_set_before_events_return_then_no_data_should_be_returned
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_finished_then_all_collected_data_should_be_returned
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_timed_out_is_set_before_other_events_are_completed_then_result_should_be_empty_dictionary
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_timed_out_then_all_collected_data_should_be_returned
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_min_wait_time_has_not_passed_then_disbatch_should_not_return_expected_data_until_time_has_passed
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_minions_all_return_then_all_collected_data_should_be_returned
|
||||
tests/unit/utils/test_vt.py::VTTestCase::test_split_multibyte_characters_shiftjis
|
||||
tests/unit/utils/test_vt.py::VTTestCase::test_split_multibyte_characters_unicode
|
||||
tests/pytests/unit/utils/test_vt.py::test_log_sanitize
|
||||
tests/pytests/unit/test_master.py::test_fileserver_duration
|
||||
tests/pytests/unit/modules/test_aptpkg.py::test_call_apt_dpkg_lock
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_anyof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_dict_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_hostname_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_not_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_oneof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_optional_requirements_config_validation
|
||||
)
|
||||
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 4096 || die
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
local TMPDIR
|
||||
TMPDIR="$(mktemp --directory --tmpdir=/tmp ${PN}-XXXX)" || die
|
||||
(
|
||||
export TMPDIR
|
||||
cleanup() { rm -rf "${TMPDIR}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${TMPDIR}"
|
||||
|
||||
USE_SETUPTOOLS=1 NO_INTERNET=1 SHELL="/bin/bash" \
|
||||
epytest
|
||||
)
|
||||
}
|
Binary file not shown.
@ -0,0 +1,239 @@
|
||||
# Copyright 1999-2023 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"
|
||||
IUSE="bzip2 doc clamonacc clamdtop clamsubmit iconv ipv6 libclamav-only milter metadata-analysis-api selinux systemd test xml"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamdtop !clamsubmit !milter !metadata-analysis-api )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
|
||||
dev-libs/tomsfastmath
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses:0 )
|
||||
clamsubmit? ( net-misc/curl dev-libs/json-c:= )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
iconv? ( virtual/libiconv )
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
dev-libs/openssl:0=
|
||||
milter? ( mail-filter/libmilter:= )
|
||||
xml? ( dev-libs/libxml2 )"
|
||||
|
||||
# We need at least autoconf-2.69-r5 because that's the first (patched)
|
||||
# version of it in Gentoo that supports ./configure --runstatedir.
|
||||
BDEPEND=">=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."
|
||||
}
|
@ -0,0 +1,384 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
ansi_term-0.12.1
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
bindgen-0.65.1
|
||||
bit_field-0.10.1
|
||||
bitflags-1.3.2
|
||||
block-buffer-0.10.3
|
||||
bumpalo-3.12.0
|
||||
bytemuck-1.13.0
|
||||
byteorder-1.4.3
|
||||
cbindgen-0.20.0
|
||||
cexpr-0.6.0
|
||||
cfg-if-1.0.0
|
||||
clang-sys-1.4.0
|
||||
clap-2.34.0
|
||||
color_quant-1.1.0
|
||||
cpufeatures-0.2.5
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.6
|
||||
crossbeam-deque-0.8.2
|
||||
crossbeam-epoch-0.9.13
|
||||
crossbeam-utils-0.8.14
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.6
|
||||
digest-0.10.6
|
||||
either-1.8.1
|
||||
exr-1.5.3
|
||||
fastrand-1.8.0
|
||||
flate2-1.0.25
|
||||
flume-0.10.14
|
||||
futures-core-0.3.26
|
||||
futures-sink-0.3.26
|
||||
generic-array-0.14.6
|
||||
getrandom-0.2.8
|
||||
gif-0.11.4
|
||||
glob-0.3.1
|
||||
half-2.2.1
|
||||
hashbrown-0.12.3
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
hermit-abi-0.2.6
|
||||
hex-0.4.3
|
||||
image-0.24.5
|
||||
indexmap-1.9.2
|
||||
instant-0.1.12
|
||||
itoa-1.0.5
|
||||
jpeg-decoder-0.3.0
|
||||
js-sys-0.3.61
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lebe-0.5.2
|
||||
libc-0.2.139
|
||||
libloading-0.7.4
|
||||
lock_api-0.4.9
|
||||
log-0.4.17
|
||||
memchr-2.5.0
|
||||
memoffset-0.7.1
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.6.2
|
||||
nanorand-0.7.0
|
||||
nom-7.1.3
|
||||
num-complex-0.4.3
|
||||
num-integer-0.1.45
|
||||
num-rational-0.4.1
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.15.0
|
||||
once_cell-1.17.0
|
||||
peeking_take_while-0.1.2
|
||||
pin-project-1.0.12
|
||||
pin-project-internal-1.0.12
|
||||
png-0.17.7
|
||||
prettyplease-0.2.4
|
||||
primal-check-0.3.3
|
||||
proc-macro2-1.0.66
|
||||
quote-1.0.26
|
||||
rayon-1.6.1
|
||||
rayon-core-1.10.2
|
||||
redox_syscall-0.2.16
|
||||
regex-1.7.1
|
||||
regex-syntax-0.6.28
|
||||
remove_dir_all-0.5.3
|
||||
rustc-hash-1.1.0
|
||||
rustdct-0.7.1
|
||||
rustfft-6.1.0
|
||||
ryu-1.0.12
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
serde-1.0.152
|
||||
serde_derive-1.0.152
|
||||
serde_json-1.0.93
|
||||
sha2-0.10.6
|
||||
shlex-1.1.0
|
||||
simd-adler32-0.3.4
|
||||
smallvec-1.10.0
|
||||
spin-0.9.5
|
||||
strength_reduce-0.2.4
|
||||
strsim-0.8.0
|
||||
syn-1.0.107
|
||||
syn-2.0.15
|
||||
tempfile-3.3.0
|
||||
textwrap-0.11.0
|
||||
thiserror-1.0.38
|
||||
thiserror-impl-1.0.38
|
||||
threadpool-1.8.1
|
||||
tiff-0.8.1
|
||||
toml-0.5.11
|
||||
transpose-0.2.2
|
||||
typenum-1.16.0
|
||||
unicode-ident-1.0.6
|
||||
unicode-segmentation-1.10.1
|
||||
unicode-width-0.1.10
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.4
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.84
|
||||
wasm-bindgen-backend-0.2.84
|
||||
wasm-bindgen-macro-0.2.84
|
||||
wasm-bindgen-macro-support-0.2.84
|
||||
wasm-bindgen-shared-0.2.84
|
||||
weezl-0.1.7
|
||||
which-4.4.0
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
zune-inflate-0.2.42
|
||||
"
|
||||
|
||||
inherit cargo cmake flag-o-matic llvm python-any-r1 systemd tmpfiles
|
||||
|
||||
MY_P=${P//_/-}
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://github.com/Cisco-Talos/clamav/archive/refs/tags/${MY_P}.tar.gz
|
||||
$(cargo_crate_uris ${CRATES})"
|
||||
S=${WORKDIR}/clamav-${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0 BSD GPL-2 ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
IUSE="doc clamonacc +clamapp experimental jit 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
|
||||
app-arch/bzip2
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/libpcre2:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:=
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
clamapp? ( sys-libs/ncurses:= net-misc/curl )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
jit? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
|
||||
milter? ( mail-filter/libmilter:= )
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.61
|
||||
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 )"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use jit && llvm_pkg_setup
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.1-select-python.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DBYTECODE_RUNTIME=$(usex jit llvm interpreter)
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_EXPERIMENTAL=$(usex experimental ON OFF)
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DOPTIMIZE=ON
|
||||
)
|
||||
|
||||
if use test ; then
|
||||
# https://bugs.gentoo.org/818673
|
||||
# Used to enable some more tests but doesn't behave well in
|
||||
# sandbox necessarily(?) + needs certain debug symbols present
|
||||
# in e.g. glibc.
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
|
||||
-DPYTHON_FIND_VERSION="${EPYTHON#python}"
|
||||
)
|
||||
fi
|
||||
|
||||
if use jit ; then
|
||||
# Suppress CMake warnings that variables aren't consumed if we aren't using LLVM
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#llvm-optional-see-bytecode-runtime-section
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#bytecode-runtime
|
||||
mycmakeargs+=(
|
||||
-DLLVM_ROOT_DIR="$(get_llvm_prefix -d ${LLVM_MAX_SLOT})"
|
||||
-DLLVM_FIND_VERSION="$(best_version sys-devel/llvm:${LLVM_MAX_SLOT} | cut -c 16-)"
|
||||
)
|
||||
fi
|
||||
|
||||
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/clamav/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
|
||||
|
||||
if ! systemd_is_booted ; then
|
||||
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."
|
||||
fi
|
||||
}
|
@ -0,0 +1,419 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
aho-corasick-0.7.20
|
||||
ansi_term-0.12.1
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
base64-0.21.0
|
||||
bindgen-0.59.2
|
||||
bit_field-0.10.2
|
||||
bitflags-1.3.2
|
||||
block-buffer-0.10.4
|
||||
bumpalo-3.12.0
|
||||
bytemuck-1.13.1
|
||||
byteorder-1.4.3
|
||||
cbindgen-0.24.3
|
||||
cc-1.0.79
|
||||
cexpr-0.6.0
|
||||
cfg-if-1.0.0
|
||||
clang-sys-1.6.1
|
||||
clap-2.34.0
|
||||
clap-3.2.23
|
||||
clap_lex-0.2.4
|
||||
color_quant-1.1.0
|
||||
cpufeatures-0.2.6
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.8
|
||||
crossbeam-deque-0.8.3
|
||||
crossbeam-epoch-0.9.14
|
||||
crossbeam-utils-0.8.15
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.6
|
||||
digest-0.10.6
|
||||
either-1.8.1
|
||||
env_logger-0.9.3
|
||||
errno-0.3.1
|
||||
errno-dragonfly-0.1.2
|
||||
exr-1.6.3
|
||||
fastrand-1.9.0
|
||||
fdeflate-0.3.0
|
||||
flate2-1.0.25
|
||||
flume-0.10.14
|
||||
futures-core-0.3.28
|
||||
futures-sink-0.3.28
|
||||
generic-array-0.14.7
|
||||
getrandom-0.2.9
|
||||
gif-0.12.0
|
||||
glob-0.3.1
|
||||
half-2.2.1
|
||||
hashbrown-0.12.3
|
||||
heck-0.4.1
|
||||
hermit-abi-0.1.19
|
||||
hermit-abi-0.2.6
|
||||
hermit-abi-0.3.1
|
||||
hex-0.4.3
|
||||
humantime-2.1.0
|
||||
image-0.24.6
|
||||
indexmap-1.9.3
|
||||
instant-0.1.12
|
||||
io-lifetimes-1.0.10
|
||||
itoa-1.0.6
|
||||
jpeg-decoder-0.3.0
|
||||
js-sys-0.3.61
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lebe-0.5.2
|
||||
libc-0.2.141
|
||||
libloading-0.7.4
|
||||
linux-raw-sys-0.3.1
|
||||
lock_api-0.4.9
|
||||
log-0.4.17
|
||||
memchr-2.5.0
|
||||
memoffset-0.8.0
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.6.2
|
||||
miniz_oxide-0.7.1
|
||||
nanorand-0.7.0
|
||||
nom-7.1.3
|
||||
num-complex-0.4.3
|
||||
num-integer-0.1.45
|
||||
num-rational-0.4.1
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.15.0
|
||||
once_cell-1.17.1
|
||||
os_str_bytes-6.5.0
|
||||
peeking_take_while-0.1.2
|
||||
pin-project-1.0.12
|
||||
pin-project-internal-1.0.12
|
||||
png-0.17.8
|
||||
primal-check-0.3.3
|
||||
proc-macro2-1.0.66
|
||||
qoi-0.4.1
|
||||
quote-1.0.26
|
||||
rayon-1.7.0
|
||||
rayon-core-1.11.0
|
||||
redox_syscall-0.3.5
|
||||
regex-1.7.3
|
||||
regex-syntax-0.6.29
|
||||
rustc-hash-1.1.0
|
||||
rustdct-0.7.1
|
||||
rustfft-6.1.0
|
||||
rustix-0.37.11
|
||||
ryu-1.0.13
|
||||
scopeguard-1.1.0
|
||||
serde-1.0.160
|
||||
serde_derive-1.0.160
|
||||
serde_json-1.0.96
|
||||
sha1-0.10.5
|
||||
sha2-0.10.6
|
||||
shlex-1.1.0
|
||||
simd-adler32-0.3.5
|
||||
smallvec-1.10.0
|
||||
spin-0.9.8
|
||||
strength_reduce-0.2.4
|
||||
strsim-0.8.0
|
||||
strsim-0.10.0
|
||||
syn-1.0.109
|
||||
syn-2.0.15
|
||||
tempfile-3.5.0
|
||||
termcolor-1.2.0
|
||||
textwrap-0.11.0
|
||||
textwrap-0.16.0
|
||||
thiserror-1.0.40
|
||||
thiserror-impl-1.0.40
|
||||
tiff-0.8.1
|
||||
toml-0.5.11
|
||||
transpose-0.2.2
|
||||
typenum-1.16.0
|
||||
unicode-ident-1.0.8
|
||||
unicode-segmentation-1.10.1
|
||||
unicode-width-0.1.10
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.4
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.84
|
||||
wasm-bindgen-backend-0.2.84
|
||||
wasm-bindgen-macro-0.2.84
|
||||
wasm-bindgen-macro-support-0.2.84
|
||||
wasm-bindgen-shared-0.2.84
|
||||
weezl-0.1.7
|
||||
which-4.4.0
|
||||
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
|
||||
windows-sys-0.45.0
|
||||
windows-sys-0.48.0
|
||||
windows-targets-0.42.2
|
||||
windows-targets-0.48.0
|
||||
windows_aarch64_gnullvm-0.42.2
|
||||
windows_aarch64_gnullvm-0.48.0
|
||||
windows_aarch64_msvc-0.42.2
|
||||
windows_aarch64_msvc-0.48.0
|
||||
windows_i686_gnu-0.42.2
|
||||
windows_i686_gnu-0.48.0
|
||||
windows_i686_msvc-0.42.2
|
||||
windows_i686_msvc-0.48.0
|
||||
windows_x86_64_gnu-0.42.2
|
||||
windows_x86_64_gnu-0.48.0
|
||||
windows_x86_64_gnullvm-0.42.2
|
||||
windows_x86_64_gnullvm-0.48.0
|
||||
windows_x86_64_msvc-0.42.2
|
||||
windows_x86_64_msvc-0.48.0
|
||||
zune-inflate-0.2.53
|
||||
"
|
||||
|
||||
inherit cargo cmake flag-o-matic llvm python-any-r1 systemd tmpfiles
|
||||
|
||||
MY_P=${P//_/-}
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://github.com/Cisco-Talos/clamav/archive/refs/tags/${MY_P}.tar.gz
|
||||
$(cargo_crate_uris ${CRATES})"
|
||||
S=${WORKDIR}/clamav-${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0 BSD GPL-2 ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
IUSE="doc clamonacc +clamapp experimental jit 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
|
||||
app-arch/bzip2
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/libpcre2:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:=
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
clamapp? ( sys-libs/ncurses:= net-misc/curl )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
jit? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
|
||||
milter? ( mail-filter/libmilter:= )
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.61
|
||||
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 )"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use jit && llvm_pkg_setup
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
#PATCHES=(
|
||||
#)
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DBYTECODE_RUNTIME=$(usex jit llvm interpreter)
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_EXPERIMENTAL=$(usex experimental ON OFF)
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DOPTIMIZE=ON
|
||||
)
|
||||
|
||||
if use test ; then
|
||||
# https://bugs.gentoo.org/818673
|
||||
# Used to enable some more tests but doesn't behave well in
|
||||
# sandbox necessarily(?) + needs certain debug symbols present
|
||||
# in e.g. glibc.
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
|
||||
-DPYTHON_FIND_VERSION="${EPYTHON#python}"
|
||||
)
|
||||
fi
|
||||
|
||||
if use jit ; then
|
||||
# Suppress CMake warnings that variables aren't consumed if we aren't using LLVM
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#llvm-optional-see-bytecode-runtime-section
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#bytecode-runtime
|
||||
mycmakeargs+=(
|
||||
-DLLVM_ROOT_DIR="$(get_llvm_prefix -d ${LLVM_MAX_SLOT})"
|
||||
-DLLVM_FIND_VERSION="$(best_version sys-devel/llvm:${LLVM_MAX_SLOT} | cut -c 16-)"
|
||||
)
|
||||
fi
|
||||
|
||||
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/clamav/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
|
||||
|
||||
if ! systemd_is_booted ; then
|
||||
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."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST engrampa-1.26.0.tar.xz 1761596 BLAKE2B c72def523f6589ab97351568e0562898d996e640ffefa66f32096e5a0ad97ad0b05b21ebdcc16ba1f75d9b75a444f8ed4ed492a412cc16c018e65135a88f3398 SHA512 8058627af19744d26f0997fca37a9a1d9902c63e4008e1af44b2a3b15ebc03e27f2018c60351ee503a28aa072836d201625074abb838e0a95071ce65c64a52bc
|
||||
DIST engrampa-1.26.1.tar.xz 1792452 BLAKE2B ff87f21848919654a2392c02e6050ac0b4c80308361ec7c829a2acf3fb25b088e164a3722be0312b2c814022bf0e06c80ae0796add182e6ac8e5d696409c5afe SHA512 6e3e59503d3d55df3eddc63f5f8f67c80a84b2b602801f9bcbaf4e38b6e991fffaa879e1cd44c1173b5c11096587122438bda51401c2694654c99b87a52b9f5e
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mate-desktop/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/mate-desktop/${PN}/archive/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
|
||||
fi
|
||||
|
||||
inherit mate optfeature
|
||||
|
||||
DESCRIPTION="Engrampa archive manager for MATE"
|
||||
HOMEPAGE="https://mate-desktop.org/ https://github.com/mate-desktop/engrampa"
|
||||
|
||||
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="caja magic"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/json-glib-0.14
|
||||
virtual/libintl
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[X]
|
||||
x11-libs/libSM
|
||||
x11-libs/pango
|
||||
caja? ( >=mate-base/caja-1.17.1 )
|
||||
magic? ( sys-apps/file )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
virtual/libintl
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/yelp-tools
|
||||
dev-util/glib-utils
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.26.0-clang16.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
--disable-run-in-place \
|
||||
$(use_enable caja caja-actions) \
|
||||
$(use_enable magic) \
|
||||
--disable-packagekit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
mate_pkg_postinst
|
||||
|
||||
optfeature "Support for 7-zip" app-arch/p7zip
|
||||
optfeature "Support for ace" app-arch/unace
|
||||
optfeature "Support for arj" app-arch/arj
|
||||
optfeature "Support for cpio" app-arch/cpio
|
||||
optfeature "Support for deb" app-arch/dpkg
|
||||
optfeature "Support for iso" app-cdr/cdrtools
|
||||
optfeature "Support for jar,zip" app-arch/zip app-arch/unzip
|
||||
optfeature "Support for lha" app-arch/lha
|
||||
optfeature "Support for lzma" app-arch/xz-utils
|
||||
optfeature "Support for lzop" app-arch/lzop
|
||||
optfeature "Support for rar" app-arch/unrar
|
||||
optfeature "Support for rpm" app-arch/rpm
|
||||
optfeature "Support for unstuff" app-arch/stuffit
|
||||
optfeature "Support for zoo" app-arch/zoo
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
https://github.com/madler/pigz/issues/111
|
||||
https://github.com/madler/pigz/commit/907ca0763be4547a9b0cce8c1057217488149744
|
||||
|
||||
From 907ca0763be4547a9b0cce8c1057217488149744 Mon Sep 17 00:00:00 2001
|
||||
From: Mark Adler <madler@alumni.caltech.edu>
|
||||
Date: Fri, 18 Aug 2023 03:27:12 -0700
|
||||
Subject: [PATCH] Make pigz compatible with two-component zlib version numbers.
|
||||
|
||||
zlib 1.3 (not 1.3.0) broke the zlib_vernum() function in pigz.
|
||||
This commit fixes that.
|
||||
--- a/pigz.c
|
||||
+++ b/pigz.c
|
||||
@@ -1333,7 +1333,7 @@ local long zlib_vernum(void) {
|
||||
}
|
||||
ver++;
|
||||
} while (left);
|
||||
- return left < 2 ? num << (left << 2) : -1;
|
||||
+ return left < 3 ? num << (left << 2) : -1;
|
||||
}
|
||||
|
||||
// -- check value combination routines for parallel calculation --
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="https://www.zlib.net/pigz/"
|
||||
SRC_URI="https://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos"
|
||||
IUSE="static test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/zlib-1.2.3[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-memcpy-ub.patch
|
||||
"${FILESDIR}"/${P}-zlib-1.3.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST stress-ng-0.16.02.tar.gz 3896753 BLAKE2B 6db57f629b01b80e5b89febf56f00cb94611833002484f6fbe9b9afce3f4a6fd3cb9ef0631312a9924b5d24f50b9f4b5bbe54a7dadb9e98eeca0c2f0cc03ec81 SHA512 08290ca83da9124667a9e0794d88735f0281fea39b8ad6ddd6bdab602edd4a268ce5aa838c60ae8e98f654bd89c94ddca784dc126e10857539db480d77619539
|
||||
DIST stress-ng-0.16.04.tar.gz 3918769 BLAKE2B 5e2b457be2e38c583dcfc72719c5abacfaca658f7861a4faee5b709568ff4dd646e595b88be9542cf2b977e0184678c4c15a2aabfd421df8d92f8c18040a4773 SHA512 9c0ebcef697cb1fcf6f0836a8d0d88da0be20ed0683c35304e540bf040beff4152e231ba98c8a3ebe3c22bbde66a22ff8929397c35f7e070b9498ad1275e7a8d
|
||||
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST heimdal-7.7.1.tar.gz 10009851 BLAKE2B 2d2b6cef4aea1dfab97106cc6be5f3f68736c93f153b650ba349ee32be2a415de8a550c462c6d0978628ac18403838145198e07b4710ebe21570878e2b44f595 SHA512 c77def1d32301caa8675297152a534919459a65bd1c5353cdc8795c07aa7a94fd319b697b98e02233ef25eaeedb36420edd139c1e22d68d54bb991343a11a369
|
||||
DIST heimdal-7.8.0.tar.gz 10024936 BLAKE2B bab8ed12a5257395b34bb88e22147912857015c652f0899c54809582c49f9c33b9ac748b28dd38ac7072d245e86e44c5dafb8725103fcb4a6dae16c8d1d4b623 SHA512 0167345aca77d65b7a1113874eee5b65ec6e1fec1f196d57e571265409fa35ef95a673a4fd4aafbb0ab5fb5b246b97412353a68d6613a8aff6393a9f1e72999e
|
||||
|
@ -1,186 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit autotools db-use multilib-minimal python-any-r1 virtualx flag-o-matic
|
||||
|
||||
MY_P="${P}"
|
||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
||||
HOMEPAGE="https://www.heimdal.software/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
virtual/libcrypt:=[${MULTILIB_USEDEP}]
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] )
|
||||
gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|
||||
sys-libs/ncurses:0=
|
||||
>=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}]
|
||||
afs? ( net-fs/openafs )
|
||||
hdb-ldap? ( >=net-nds/openldap-2.3.0:= )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXt
|
||||
)
|
||||
!!app-crypt/mit-krb5
|
||||
!!app-crypt/mit-krb5-appl"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-perl/JSON
|
||||
virtual/pkgconfig
|
||||
sys-apps/texinfo
|
||||
>=sys-devel/autoconf-2.62
|
||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/krb5-types.h
|
||||
/usr/include/cms_asn1.h
|
||||
/usr/include/digest_asn1.h
|
||||
/usr/include/hdb_asn1.h
|
||||
/usr/include/krb5_asn1.h
|
||||
/usr/include/pkcs12_asn1.h
|
||||
/usr/include/pkinit_asn1.h
|
||||
/usr/include/rfc2459_asn1.h
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/heimdal_disable-check-iprop.patch"
|
||||
"${FILESDIR}/heimdal_tinfo.patch"
|
||||
"${FILESDIR}/heimdal_build-headers-before-use.patch"
|
||||
"${FILESDIR}/heimdal_fix-db60.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-kcm
|
||||
--disable-osfc2
|
||||
--enable-shared
|
||||
--with-libintl="${EPREFIX}"/usr
|
||||
--with-readline="${EPREFIX}"/usr
|
||||
--with-sqlite3="${EPREFIX}"/usr
|
||||
--libexecdir="${EPREFIX}"/usr/sbin
|
||||
--enable-pthread-support
|
||||
--enable-kx509
|
||||
--enable-pk-init
|
||||
--with-ipv6
|
||||
$(use_enable afs afs-support)
|
||||
$(use_enable gdbm ndbm-db)
|
||||
$(use_enable lmdb mdb-db)
|
||||
$(use_enable otp)
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_with caps capng)
|
||||
$(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(multilib_native_use_with X x)
|
||||
)
|
||||
if use berkdb; then
|
||||
myeconfargs+=(
|
||||
--with-berkeley-db
|
||||
--with-berkeley-db-include="$(db_includedir)"
|
||||
)
|
||||
else
|
||||
myeconfargs+=(
|
||||
--without-berkeley-db
|
||||
)
|
||||
fi
|
||||
|
||||
CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi; then
|
||||
emake
|
||||
else
|
||||
emake -C include
|
||||
emake -C lib
|
||||
emake -C kdc
|
||||
emake -C tools
|
||||
emake -C tests/plugin
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
|
||||
else
|
||||
emake -C include DESTDIR="${D}" install
|
||||
emake -C lib DESTDIR="${D}" install
|
||||
emake -C kdc DESTDIR="${D}" install
|
||||
emake -C tools DESTDIR="${D}" install
|
||||
emake -C tests/plugin DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc ChangeLog* README NEWS TODO
|
||||
|
||||
# client rename
|
||||
mv "${ED}"/usr/share/man/man1/{,k}su.1
|
||||
mv "${ED}"/usr/bin/{,k}su
|
||||
|
||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
|
||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
|
||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
|
||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
||||
|
||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
||||
|
||||
insinto /etc
|
||||
newins "${S}"/krb5.conf krb5.conf.example
|
||||
|
||||
if use hdb-ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/lib/hdb/hdb.schema"
|
||||
fi
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
fi
|
||||
|
||||
# default database dir
|
||||
keepdir /var/heimdal
|
||||
}
|
@ -1,186 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit autotools db-use multilib-minimal python-any-r1 virtualx flag-o-matic
|
||||
|
||||
MY_P="${P}"
|
||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
||||
HOMEPAGE="https://www.heimdal.software/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
virtual/libcrypt:=[${MULTILIB_USEDEP}]
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] )
|
||||
gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|
||||
sys-libs/ncurses:0=
|
||||
>=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}]
|
||||
afs? ( net-fs/openafs )
|
||||
hdb-ldap? ( >=net-nds/openldap-2.3.0:= )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXt
|
||||
)
|
||||
!!app-crypt/mit-krb5
|
||||
!!app-crypt/mit-krb5-appl"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-perl/JSON
|
||||
virtual/pkgconfig
|
||||
sys-apps/texinfo
|
||||
>=sys-devel/autoconf-2.62
|
||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/krb5-types.h
|
||||
/usr/include/cms_asn1.h
|
||||
/usr/include/digest_asn1.h
|
||||
/usr/include/hdb_asn1.h
|
||||
/usr/include/krb5_asn1.h
|
||||
/usr/include/pkcs12_asn1.h
|
||||
/usr/include/pkinit_asn1.h
|
||||
/usr/include/rfc2459_asn1.h
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/heimdal_disable-check-iprop.patch"
|
||||
"${FILESDIR}/heimdal_tinfo.patch"
|
||||
"${FILESDIR}/heimdal_build-headers-before-use.patch"
|
||||
"${FILESDIR}/heimdal_fix-db60.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-kcm
|
||||
--disable-osfc2
|
||||
--enable-shared
|
||||
--with-libintl="${EPREFIX}"/usr
|
||||
--with-readline="${EPREFIX}"/usr
|
||||
--with-sqlite3="${EPREFIX}"/usr
|
||||
--libexecdir="${EPREFIX}"/usr/sbin
|
||||
--enable-pthread-support
|
||||
--enable-kx509
|
||||
--enable-pk-init
|
||||
--with-ipv6
|
||||
$(use_enable afs afs-support)
|
||||
$(use_enable gdbm ndbm-db)
|
||||
$(use_enable lmdb mdb-db)
|
||||
$(use_enable otp)
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_with caps capng)
|
||||
$(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(multilib_native_use_with X x)
|
||||
)
|
||||
if use berkdb; then
|
||||
myeconfargs+=(
|
||||
--with-berkeley-db
|
||||
--with-berkeley-db-include="$(db_includedir)"
|
||||
)
|
||||
else
|
||||
myeconfargs+=(
|
||||
--without-berkeley-db
|
||||
)
|
||||
fi
|
||||
|
||||
CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi; then
|
||||
emake
|
||||
else
|
||||
emake -C include
|
||||
emake -C lib
|
||||
emake -C kdc
|
||||
emake -C tools
|
||||
emake -C tests/plugin
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
|
||||
else
|
||||
emake -C include DESTDIR="${D}" install
|
||||
emake -C lib DESTDIR="${D}" install
|
||||
emake -C kdc DESTDIR="${D}" install
|
||||
emake -C tools DESTDIR="${D}" install
|
||||
emake -C tests/plugin DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc ChangeLog* README NEWS TODO
|
||||
|
||||
# client rename
|
||||
mv "${ED}"/usr/share/man/man1/{,k}su.1
|
||||
mv "${ED}"/usr/bin/{,k}su
|
||||
|
||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
|
||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
|
||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
|
||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
||||
|
||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
||||
|
||||
insinto /etc
|
||||
newins "${S}"/krb5.conf krb5.conf.example
|
||||
|
||||
if use hdb-ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/lib/hdb/hdb.schema"
|
||||
fi
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
fi
|
||||
|
||||
# default database dir
|
||||
keepdir /var/heimdal
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST krb5-1.20.1.tar.gz 8661660 BLAKE2B ead16f8b1aec8bba3776628b74257c9aec891770c1fa6d5c5e66275db5f078ca59c9944cd2b017453b777ce080f8e5a322f735fab77691479cfad7b881b92830 SHA512 6f57479f13f107cd84f30de5c758eb6b9fc59171329c13e5da6073b806755f8d163eb7bd84767ea861ad6458ea0c9eeb00ee044d3bcad01ef136e9888564b6a2
|
||||
DIST krb5-1.20.2.tar.gz 8662259 BLAKE2B 35f9e82390b5ba7227d0b5c40ab08f128ff27e7264d48585e2bfd08a443cb4b06415216190a3c35c6bc505f33483bcbe11430d9e40c3907f838798b2dc492416 SHA512 69e263ef74116a3332c632a2a243499bcc47b01b1e57d02fe35aa6c2ff655674b6cf2b815457145f788bceac4d466d3f55f8c20ec9ee4a6051128417e1e7e99e
|
||||
DIST krb5-1.21.1.tar.gz 8623049 BLAKE2B d90a994b5d39dc88573e5cfca280565b0909b2e9aa8710a6d695e2c1faec37ea0c008d05894e8952dcf72348403f76fd8a124de8d8f34c70fad6de8866a92f0e SHA512 6f04216b0a151d6a9886bf009777bc95a7d3f9bcab30427cc8bbef3357e0130748c1d42b477be0eb2d469d9e0fb65bf5ac5ff05c22d6e1046795e161fe6afbcc
|
||||
DIST krb5-1.21.2.tar.gz 8622513 BLAKE2B 2afb3ff962a343bc07182fdab0c0ffb221632ff38baab74278cfc721ae72deacc260221470de36e420584f00b780e13221d2e511d4831bca8e1270b7f3d9e824 SHA512 4e09296b412383d53872661718dbfaa90201e0d85f69db48e57a8d4bd73c95a90c7ec7b6f0f325f6bc967f8d203b256b071c0191facf080aca0e2caec5d0ac49
|
||||
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools python-any-r1 systemd toolchain-funcs multilib-minimal
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(ver_cut 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
!!app-crypt/heimdal
|
||||
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
||||
)
|
||||
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||
openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] )
|
||||
pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-alternatives/yacc
|
||||
cpu_flags_x86_aes? (
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/yasm )
|
||||
)
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-util/cmocka )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
||||
"${FILESDIR}/${PN}_dont_create_rundir.patch"
|
||||
"${FILESDIR}/${PN}-1.18.2-krb5-config.patch"
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Make sure we always use the system copies.
|
||||
rm -rf util/{et,ss,verto}
|
||||
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
AR="$(tc-getAR)" \
|
||||
WARN_CFLAGS="set" \
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
$(use_with lmdb) \
|
||||
$(use_with keyutils) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dodoc -r doc/html
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001
|
||||
From: Aleksey Kravchenko <rhash.admin@gmail.com>
|
||||
Date: Mon, 7 Aug 2023 01:00:37 +0300
|
||||
Subject: [PATCH] Fix #243: Incorrect assigment in the configure script
|
||||
|
||||
---
|
||||
configure | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 39ef8c1b..63cbd8d0 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -877,7 +877,7 @@ if test "$OPT_STATIC" = "no"; then
|
||||
RHASH_TEST_OPTIONS=--shared
|
||||
test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes
|
||||
test "$INSTALL_LIB_STATIC" = "yes" && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)"
|
||||
- RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS
|
||||
+ RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS)
|
||||
else
|
||||
LIBRHASH_TYPE=static
|
||||
LIBRHASH_PATH="\$(LIBRHASH_STATIC)"
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST dict-en-20230401_lo.oxt 6100359 BLAKE2B 4a1b8bfa8e7987d0ba957d483ec55d3e1d7912cf56556af11c9ef9941c5725467cdb276363bfec253b788d06dfb9232e733055d74113749f69c73cd092822502 SHA512 79e4c143ebfb20e5b3b2aa3b20c68594ed2bd5d0bc203fc865a9924f2470b3436a502712de1f660cdb0dc9804bd826591a1bb416c6cf00b72e25ab8db3a18377
|
||||
DIST dict-en-20230501_lo.oxt 6101115 BLAKE2B f0acdeccf1c4b58b7becabfd61167eb3f4767c5ae3da7ad752645cce49f3f3262219cfb08d373d02b49b67ddaff184102683c2981f4c28eb6b97d92961b07219 SHA512 bc8172f61cf3d18c0ac519f800b39ed69736e085d51251c60c527677552eefd4fe08e5b5e9fdba3a5856605ea44d3831901b00745f00f16146136d6e8376e4ee
|
||||
DIST dict-en-20230601_lo.oxt 6101573 BLAKE2B 22949c952b1545016b298056a46e08f09f5e2865fd7b626df125c055553e72f1ba27d6adcbb22cb9340803989ced44158d4e8ceb2344820b3cd8058864568e66 SHA512 d8f2ad124cea03888856e6b845d94f5df5002852025b28a7217a4d5809069b0c59bb3432766be4b82641e55f17cf76addb5def4669bc41eac4a22ad209453e71
|
||||
DIST dict-en-20230701_lo.oxt 6102145 BLAKE2B ecf95d76415317fb3dbe4c8e2d30fa37f9d798ae979d83d7e3eaab566264a7db12ed3133e8ed5d1580225171143056edd5189b1685064dab201fadbf59466b7e SHA512 3e495fb7c130d2767d88c4ff21f556c4c64f3739d7b1974355f252329fa526b8ac647a6121f1341396ec9170dda96346463a51b2df06d15e1dcccec4f800593e
|
||||
DIST dict-en-20230801_lo.oxt 6101620 BLAKE2B 1f7d1f223e40179ffd844fef48f3994e5be6d4015098b6cd639f8a9dcfb21a43c1da72683b973bb7f1eb4b1bdf1e68392d672dcd82e6a360b1cec3dcb5fecaaa SHA512 9716c6579d8c1121e24896d69d82ececd794f3c9161b82a7fa6405e8f4d5259bbd67ec6f026d95ee5927638b34876f63708e9315a2dbed0089ffb9310c7defd0
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="English dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="
|
||||
https://extensions.libreoffice.org/extensions/english-dictionaries
|
||||
https://proofingtoolgui.org
|
||||
https://github.com/marcoagpinto/aoo-mozilla-en-dict
|
||||
"
|
||||
SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1680302696/dict-en-20230401_lo.oxt"
|
||||
|
||||
LICENSE="BSD MIT LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
|
||||
IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
|
||||
REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
|
||||
|
||||
src_prepare() {
|
||||
if use l10n_en-GB || use l10n_en; then
|
||||
MYSPELL_HYPH+=( "hyph_en_GB.dic" )
|
||||
fi
|
||||
if use l10n_en-US || use l10n_en; then
|
||||
MYSPELL_THES+=(
|
||||
"th_en_US_v2.dat"
|
||||
"th_en_US_v2.idx"
|
||||
)
|
||||
MYSPELL_HYPH+=( "hyph_en_US.dic" )
|
||||
fi
|
||||
|
||||
MYSPELL_DICT=( )
|
||||
for lang in "${PLOCALES[@]}"; do
|
||||
if [[ "${lang}" == "en" ]]; then
|
||||
continue
|
||||
fi
|
||||
local mylinguas="${lang//-/_}"
|
||||
if use "l10n_${lang}" || use l10n_en; then
|
||||
MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
|
||||
else
|
||||
rm "README_${mylinguas}.txt" || die
|
||||
if [[ ${lang} == "en-US" ]]; then
|
||||
rm "README_hyph_en_US.txt" || die
|
||||
fi
|
||||
if [[ ${lang} == "en-GB" ]]; then
|
||||
rm "README_hyph_en_GB.txt" || die
|
||||
rm "README_en_GB_thes.txt" || die
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
default
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
Bug: https://bugs.gentoo.org/894364
|
||||
Upstream PR: https://github.com/wojtekka/ydpdict/pull/4
|
||||
--- a/src/ydpdict.c
|
||||
+++ b/src/ydpdict.c
|
||||
@@ -55,6 +55,7 @@
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
+#include <libintl.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBAO
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Interface for the Collins Dictionary"
|
||||
HOMEPAGE="https://github.com/wojtekka/ydpdict"
|
||||
SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
IUSE="ao"
|
||||
|
||||
RDEPEND="
|
||||
app-dicts/libydpdict
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
ao? ( media-libs/libao )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DOCS=(
|
||||
README.md
|
||||
)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0.3-tinfo.patch
|
||||
"${FILESDIR}"/${PN}-1.0.3-clang16-build-fix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with ao libao)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "/etc"
|
||||
default
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Note that to use this program you'll need the original Collins Dictionary"
|
||||
elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/"
|
||||
elog "directory of the Windows version of the Collins dictionary. Once you obtain"
|
||||
elog "the files, put them into /usr/share/ydpdict"
|
||||
elog
|
||||
elog "Some configuration options can be set in /etc/ydpdict.conf"
|
||||
echo
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST mathjax-docs-2.7.7.tar.gz 233452 BLAKE2B 280db6c794471d369a17161ad859dc73ddf1494af35114b69356aae41ea52d771f92b0b85ba82df8ed542039af152938f5fda71d752da4410ab183fe6a24ab81 SHA512 25fa97294ae153298d45b449d995c0402c481c6425ea4ebb38dcc509df741aed02d5469a520c8b793b8135b4140a6d1ad6688a42e3cb26004cfd7fcb838c32e6
|
||||
DIST mathjax-docs-3.2.2.tar.gz 227724 BLAKE2B 1b2d25073e4f141f5c832f1139e6bcfbdb15c039b820f3662d6fb261faebedac8ea72fb324d76389c35cd28cd41556689501d8795d7a426d735d4eaf88eb61ee SHA512 94167e58deb4f899d5c49a6b1efec24f57fff7aa497a019e9f775e251927c698b7c5598b88087c2964b8cb7238b73152dea01e091b8afaeab8979b396270d429
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
inherit python-any-r1 vcs-clean
|
||||
|
||||
# MathJax-docs doesn't have releases, so this is the commit that was
|
||||
# current when mathjax-${PV} was released.
|
||||
COMMIT="c4a733d6d0ced4242a4df1c46137d4be6b3aaaee"
|
||||
|
||||
DESCRIPTION="MathJax documentation"
|
||||
HOMEPAGE="https://docs.mathjax.org/"
|
||||
SRC_URI="https://github.com/mathjax/MathJax-docs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/MathJax-docs-${COMMIT}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
$(python_gen_any_dep '
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
egit_clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
build_sphinx "${S}"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST gedit-plugins-44.1.tar.xz 913228 BLAKE2B a153b82da23f7838da9fa24b28687eae2fd0e4381693515f45e665fc6d9bc2715b37fa6bdac7a8a6ebd947ba0a3a70e5c12708bb14a053c9ad0384549e8ef4f6 SHA512 d5d767210b362747e4ba51b61b4d1c58bf5b37aa5f942cb9654f71c534d8bce2594ebc9004bed686627403fe1c3a6af84a45f4ce72af1f27fa7b644d11cdc9e2
|
||||
DIST gedit-plugins-45.0.tar.xz 902452 BLAKE2B 2569de052fee9401561e874a0387799c582fd69c177034595e9bb61c9ebd75fb6333b4bd7d1c8460d4bb13c5cb0c1ea8abeeaac1bf53f2279d4a920d71b5069e SHA512 41ada11d4cfc99d3f8edab46916490bfb6282c82bc35952331a5e920ffb8490c9ca543d459ed670390e4268bf2068b86382be4049443ce73cd4bb60b9a31b879
|
||||
DIST gedit-plugins-46.0.tar.xz 897216 BLAKE2B 9dac94c03147fa3a949df5d924a2a18d9cf29a7928f088a0ab6bd07538dc316c28f9f6a5f7cb91b386d25b4a15b5178265c808a7d327367902c7077980a56be8 SHA512 fe9d975273df1ec7d3729d76d3e652b04ec90595f2fcd90a64f9bc01de6bf7955aa96fb663966d8dab5952a01552a70123eecee81861c4c6d219199ca2ada579
|
||||
|
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
|
||||
|
||||
DESCRIPTION="Collection of extra plugins for the gedit Text Editor"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ThirdPartyPlugins"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="charmap git +python terminal vala"
|
||||
REQUIRED_USE="
|
||||
charmap? ( python )
|
||||
git? ( python )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
terminal? ( python )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libpeas-1.14.1[gtk]
|
||||
>=app-editors/gedit-45.0
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=x11-libs/gtk+-3.9:3
|
||||
gui-libs/libgedit-gtksourceview:300
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
|
||||
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
|
||||
>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||
')
|
||||
>=x11-libs/gtk+-3.9:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
)
|
||||
charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
|
||||
git? ( >=dev-libs/libgit2-glib-0.0.6[python] )
|
||||
terminal? ( >=x11-libs/vte-0.52:2.91[introspection] )
|
||||
" # vte-0.52+ for feed_child API compatibility
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-libs/libxml2
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dplugin_bookmarks=true
|
||||
$(meson_use python plugin_bracketcompletion)
|
||||
$(meson_use charmap plugin_charmap)
|
||||
$(meson_use python plugin_codecomment)
|
||||
$(meson_use python plugin_colorpicker)
|
||||
-Dplugin_drawspaces=true
|
||||
$(meson_use git plugin_git)
|
||||
$(meson_use python plugin_joinlines)
|
||||
$(meson_use python plugin_multiedit)
|
||||
$(meson_use python plugin_sessionsaver)
|
||||
-Dplugin_smartspaces=true
|
||||
$(meson_use terminal plugin_terminal)
|
||||
$(meson_use python plugin_textsize)
|
||||
-Dplugin_wordcompletion=true
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gedit-44.2.tar.xz 2741932 BLAKE2B ef069084b0a11d86a081f10542ddfe39e9a6989dd0d7e5749af3f62267ea52c6885bf3a50065227307cca6062098c460b05da89f1cd2de0b8d2e6c9c81feb8ad SHA512 c9dd412a16d7d0ba17214164017948bd1184ee5f9c44475e9e02880c0597b2fd9840f9488df7262cb413baedf5e16ce49dd32410b02ed0f53cf4bc94d3e3a4c7
|
||||
DIST gedit-45.0.tar.xz 2756252 BLAKE2B 70f998e1df2d9dc8be9019c68c91ad5b3b5c66a922b9e2501d914dda9e460a315c1456b8d048ea8653e3f39e94b5c58ebcca524fe8d9beb30da6e49de88e0612 SHA512 5f9ea9df9fe2572127f97980a4f3fe96931dc4e9beea6f08c2e20777ca7dfd58569de0ca09c9b9e03ed0beb27c2bf277a910c50babf9c1d258b495d364d60cf5
|
||||
DIST gedit-46.1.tar.xz 2756336 BLAKE2B b79c04b12b0220429d6284c9d966e7a8cc2a454b0cd0b7ef807576b4a3e0dccab52f5fdbdaf9f774880c801eb842484260818036e30e5853d573c1fbb4dd14b6 SHA512 42cf210afd35df8d6d3590ebb5ff310b74ccf9da803277cd375474629e2bd32bc542f34e3c307a1f591c04e861b92e153e4c9a2daa852e5250fc1294d4bbf72d
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
|
||||
|
||||
DESCRIPTION="A text editor for the GNOME desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
IUSE="+python gtk-doc"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.70:2
|
||||
>=x11-libs/gtk+-3.22.0:3[introspection]
|
||||
>=gui-libs/amtk-5.6:=
|
||||
>=gui-libs/tepl-6.5.1:=
|
||||
>=dev-libs/libpeas-1.14.1[gtk]
|
||||
>=dev-libs/gobject-introspection-1.54:=
|
||||
>=app-text/gspell-0.2.5:0=
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
|
||||
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
|
||||
')
|
||||
)
|
||||
|
||||
gui-libs/libgedit-gtksourceview:300
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-themes/adwaita-icon-theme
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
gnome-base/gvfs
|
||||
"
|
||||
BDEPEND="
|
||||
$(vala_depend)
|
||||
dev-util/glib-utils
|
||||
gtk-doc? ( >=dev-util/gtk-doc-1 )
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.18
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Duser_documentation=true
|
||||
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use python; then
|
||||
python_optimize
|
||||
python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ghex-44.1.tar.xz 895780 BLAKE2B 553dc5002a3524ad4642d4f7693d7ee69a0c94bbc2976c1fae640d7d71eb84e145bd764c7acc946735b0b45235b6229a269c12ccb8566e591a83311c6d6177d5 SHA512 4239af382ed3bce0a932db875b1ccc8e1666cfc2827cd13b65afc8310de9107e3f106553dbde4c2663aaf6f0bbc906c51d9f8b61d9af661baf6cbb6b6e2be675
|
||||
DIST ghex-44.2.tar.xz 897944 BLAKE2B 0db001b90390f7747792ac89a5daaf9d38165b72dce77c3a2fd41914a4386001b9f15aaf4352a3b41a204a9104a5234a6ac50a3a7269e10a151c000d57228480 SHA512 a06876e06488bb25b17fbdf17ea73e57f563fe49a414c173d680a6bf4db9b66b40fce90ad67cfb73c62f25d88f436a58b7e0fd588c7a664faf78c5058524cabf
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org gnome2-utils meson xdg
|
||||
|
||||
DESCRIPTION="GNOME hexadecimal editor"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Ghex"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/ghex.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+ FDL-1.1+"
|
||||
IUSE="gtk-doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
SLOT="4"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.68.0:2
|
||||
>=gui-libs/gtk-4.4.0:4
|
||||
gui-libs/libadwaita:1
|
||||
dev-libs/gobject-introspection
|
||||
!app-editors/ghex:2
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
gtk-doc? ( dev-util/gi-docgen )
|
||||
test? (
|
||||
dev-util/desktop-file-utils
|
||||
dev-libs/appstream-glib
|
||||
)
|
||||
dev-util/gtk-update-icon-cache
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddocdir="${EPREFIX}"/usr/share/gtk-doc/
|
||||
-Ddevelopment=false
|
||||
-Dmmap-buffer-backend=true
|
||||
-Ddirect-buffer-backend=true
|
||||
-Dintrospection=enabled
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Dstatic-html-help=false
|
||||
-Dvapi=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gnome-latex-3.44.0.tar.xz 1168840 BLAKE2B 7eb34502a9bcdcbb5c8e2d8336a3029fad1cdd1da0cbd704fae4de44a3aab913ed43228172dfe7798c7a513a61664fd8af97df0aff66d62f8502edbe845ac12f SHA512 d1dc7b2321438ebed7a209c7c750123a0dcf8ebcf92f73fd7eb4c79282f51d6b6a8328ee8759326f43e53dbd2ba9d1fadc056c2fcea11e7785e7c27574707e95
|
||||
DIST gnome-latex-3.45.1.tar.xz 1216388 BLAKE2B e56c176a81b85bdd7965c9a96dd62a3208264c10f2cd425e26376b6ee4a00adf45b3af29b5e66a2a71b433a21a3eda8f67b8448194e18994f9afa304a40cd4d9 SHA512 2ed4d61029809dea4e040830ba1b0a9556fc65ac4d76803e0115581600e889a4716ddb36971b4162ee91372fcf5361191c0eda4961d82b97816e9a1ac3994dac
|
||||
DIST gnome-latex-3.46.0.tar.xz 1216344 BLAKE2B 09255b263a886f3e7c50c44765e2399ddd148a807997531cdebb19c2cd4e320d970aba61dcad25413c50cfaa2cfc5c46a7bce3c768ff0ecf77d77921094bdcaa SHA512 a2c85f240bdb90633f7e0b8710095ee6db5f6f4b67ac831376bc3741e34d53ab37b76ca33dd26f8080f03eaab436040a33db30c07965cd5998b929f37c43929b
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Integrated LaTeX environment for GNOME"
|
||||
HOMEPAGE="https://gitlab.gnome.org/swilmet/gnome-latex"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
IUSE="+introspection +latexmk rubber"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.70:2
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
>=app-text/gspell-1.8:0=
|
||||
>=gui-libs/amtk-5.6:=
|
||||
>=gui-libs/tepl-6.5.1:=
|
||||
>=dev-libs/libgee-0.10:0.8=
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/pango
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
|
||||
gnome-base/dconf
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/latex-base
|
||||
x11-themes/hicolor-icon-theme
|
||||
latexmk? ( dev-tex/latexmk )
|
||||
rubber? ( dev-tex/rubber )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
>=dev-util/gtk-doc-am-1.14
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.6:0
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(use_enable introspection) \
|
||||
--enable-dconf_migration
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gnome-text-editor-44.0.tar.xz 610996 BLAKE2B 02ab81055402df584a448d0e611b608e5fa10d6f4a600755cbab9f730aa1806268f7277dafb4fd3aa95ff2be64d2894806c6038ad81dae7cfb87b28dccc7da24 SHA512 bca373a124c3e648fa28da1a493163d768488fa3645fcfbfa7a115e195c0c971dc98e007c9c0fdf7fe415df64e76071fc83e33831707bb31154e66355948bbb3
|
||||
DIST gnome-text-editor-45.alpha.tar.xz 605412 BLAKE2B fc8504e85a40bae866576325e5599ed274cc14bf9ac4391538419ca5afcd8bf51302948079f4bc52da16422ed46a13e93fe4d4f11f56d79f729c65847b175dcc SHA512 a4ba779a8454f13079a9e653272ed7aabca0df574acb22fd5271614f72569006186bd965db90a03c14a751fb15a2bb52a04b6d3338c487e0fcae5a26d88bbeba
|
||||
DIST gnome-text-editor-45.beta.tar.xz 606824 BLAKE2B bea05d6ca321993ff1f2e563b9c6041b381cb1c9986654166b6fda174a0ed678a05521181c603b4d0847ef878838e5773256bf6afea1855afe4bf3a042feeb3a SHA512 32e07cb8c8c605224e1d915b9579efdf7146291835582da7ab460a4dc23e8207d9cdbc19261bd5060421f9ad06869a49d22b6b1b46e14bcf6fc93238c6eef329
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org gnome2-utils meson xdg
|
||||
|
||||
DESCRIPTION="A simple text editor for the GNOME desktop"
|
||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-text-editor"
|
||||
S="${WORKDIR}/gnome-text-editor-${PV/_/.}"
|
||||
|
||||
LICENSE="GPL-3+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="spell"
|
||||
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.73.0:2
|
||||
>=gui-libs/gtk-4.7:4
|
||||
>=gui-libs/gtksourceview-5.5.0:5
|
||||
>=gui-libs/libadwaita-1.4_alpha:1
|
||||
app-text/editorconfig-core-c
|
||||
x11-libs/cairo
|
||||
spell? (
|
||||
>=app-text/enchant-2.2.0:2
|
||||
dev-libs/icu:=
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.21
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature spell enchant)
|
||||
-Dbugreport_url="https://bugs.gentoo.org"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST cape-0.16.tar.gz 36845 BLAKE2B 13a7e1b79cbfcb027dd10e475a928782acf1b835161bc508b92390aa8bd932474ec85cb59c752b732952d71261236db853d0e7fa2f7c005a42c4037ddc11be9d SHA512 d668d438dd400928cd55f08a041a7493674d3118da8d78f6968cd9d41f12d8d654525ee7c15d5edf68d93e16815f8a2dfc96e4d850bbf624339380158fd9625c
|
||||
DIST cape-0.17.tar.gz 37495 BLAKE2B 180d52f17e0a21238d59aa2a42069ca914a036b26868be01727eeb4f2ba5fbb7db733e5b86a00ee84bf8a63fe14e8930893804afc1979edd345cc344e561ff77 SHA512 bcf648e26749893d0c10538709b8c06885be0d96f85c9039749722cf46875d87f01b075d8058e17e68e240e7b099252e69ecd7fd3206dadee010c176296320df
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=27.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Completion At Point Extensions"
|
||||
HOMEPAGE="https://github.com/minad/cape/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/minad/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=app-emacs/compat-29.1.4.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.org README.org )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_install() {
|
||||
elisp-make-autoload-file
|
||||
elisp_src_install
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST corfu-0.34.tar.gz 44586 BLAKE2B c2a056cdef8cc536f3512662c442504fd3c973649e58b382eb92fb749bc5b3de2dcdad9f13cbe929b33b001fe9fc1ee2b057620c321f32ad9aefc0b274b71983 SHA512 5a46af83eed319170687e91386d8363416682fb6017d465a2b86c8164903efc128122b9cae81482155d8c710f7b2eb1dc8ff0b636544a0a611bec574fdb188c9
|
||||
DIST corfu-0.36.tar.gz 45542 BLAKE2B 8841dd5ebb20c5609ddc7983a12e52c9194002da6a10c26f4f6934d03a6abeccb02a5e3896991ac22e9262ba46b0d00ed6608c740f4c02091c193d8e6e748260 SHA512 520f4c7821f0ba8e159055b142a25e7e94fd2285e50ff487c0b877d9079a4f277397cc999b127bb991defadc198d7e6f7853a6b66278f46eb9184265fabd6c8a
|
||||
DIST corfu-0.37.tar.gz 46624 BLAKE2B 256412325253f9282b39981bb1402825b193cf12e13fc4dc33bcf946931b554dfa6b95b331c553889cb2105a670632051441f0d0434882ce4e69b51ce663460d SHA512 a7ba07083fa93785ca23ffe5f959a9178aed079e00b44a2dcc90f64c6763555e27b04906aa0dab63bce8f07b30b60e60b785572b53257f86b794c800835a58b3
|
||||
DIST corfu-0.38.tar.gz 47354 BLAKE2B d36e07d494f56a91070f365801e47fb57b2e90a02e1dca325e795cc9158bf9baf577e413402592663ef66ab722e9750a1abb186816e93332f68d3a8a2bd72819 SHA512 40016e0b65a2ec9787ea236d6a6c5c499000ef7a07684a35bbe461edb5a975b6608cd82dbc3308c59e7e92076fe6fe2638cf253a8d53085f52d8d47e9e620f40
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=27.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Completion Overlay Region FUnction"
|
||||
HOMEPAGE="https://github.com/minad/corfu"
|
||||
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.org )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv extensions/*.el . || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue