parent
86000f52e6
commit
9fecbc21f4
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29602 BLAKE2B 805e09b88e0309a99f87d3d44ae26ecf5a3ea83b3929a5bad4addb44977109db062e6ccca693569faf52d5b8cbfc683a60e07f5e34e38a867abb45ceca53a05c SHA512 2d7e8f37a4bffd292666a6818b569f9dc8e081dfd3ca60bcb75ac3fbf536f94a20cb4e72ecf8de5f2ecf23cc35c57cbc5c2549892eb39178623bfb960087028a
|
||||
TIMESTAMP 2022-11-21T17:40:09Z
|
||||
MANIFEST Manifest.files.gz 29595 BLAKE2B f1091d52a142ea921004036e332870cedbfe7100ff736f2d46c1c67a9a7d1fd97b1c87bc5bd4e871d5907727ec5acdbe67b0fd0ddc1b0bad9e06beb3881236be SHA512 994377e100197662d523c3505c7f8637163f260f47e7abe4fa33cd14070f67fcc415db254a7de5f0c2ba86174cd87b143c8ab8eabd6d28c6c3db27ac29b119b9
|
||||
TIMESTAMP 2022-11-26T15:09:51Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmN7t/lfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmOCLD9fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCTSg/+JX6wwRZVwvmZUonyPXH60J5asLlCBLJB6/YM2VnzaCY8Bi/CJRJQdwoC
|
||||
fQ5BuTYhJ0H5KdwMPERZ3aGs52rzFUikBke95W38BfGx9PJLGev7nNnRj+oGE9/e
|
||||
ISYn03uNiC0VkNC8Ios1jA9v10QZC2sHJTab1BQ2ybLgjjYzNgk3uHQ6RU+WRZL+
|
||||
7zE9Q4Vf/LFf9Thz79p2kAx4IQYVyQEq4d+IeDyur2ocn8a4QwN45ZJ6yKG4kidv
|
||||
aOqmYRBhVMiIRlbIeEQNIAuFgHtwy5OVM+7D6VxzjrThkutFXE3IVZKXb2UCwW69
|
||||
ZhAUiAF8kqEs3MlYl1B8gCufP4Re2nX0p18+g65KYpTTWbisbnhUx2MET7KGjGXj
|
||||
CMof0S8t2/L7Zrymikfi245c0UgCxw0fuXWjfUiE7dgeQmYnRZQoEj9eKHzwSYj3
|
||||
dAzxjBcLsqCMLVLDqrIPeG9Ud/M9EtBA8gNT5AytJcTkD3HzymAp2sWe90815yBH
|
||||
Nuaq2urkOflVvwtw/pKWehiL8gxwDQ2zDrbnzsEadTjOngv4itz715T3WcqGXqvE
|
||||
SgBB3lRI1hv50cuUMFYQqmCtpSMr5bZ7c5EcVzlydjQ32I5zrhWlKmKdy0vVUzVM
|
||||
Er+EduVS42kdWU5lbxBemtIF8DCyxPYTYZ5v3xTMwseiJxOQs9A=
|
||||
=rpQB
|
||||
klBb7A/+NGF58O9FI4oqV6JV4c6rkFpic4LxfWYpCHFDywFv1Ohd7jXEcolrchHj
|
||||
LgODd9TqsEWMzkTO4yGWA2ByJCY5zuJj1/dKXeqZBWivQJ5MnPSPs/3uU0qJPrlw
|
||||
41UUoKK5GDIzONWfUVtDV9hXePeVYJSdbXxu7pbJ04MNrF6p82oCLsICDqqEd8ff
|
||||
7WIgPz32IMix5oRffC0bJfu/o1ZGhDWfO97/dJbOalEUhKSQUo8Rp69dYAG2xAcn
|
||||
YxdxdoqT3O4KMAIQpdsbcMLbUe/rBaXwEamR88iYqvBR+jQBJ2R5qK/FpHAC+Vp/
|
||||
uGPxHgow7STdKgupihLyrAbn+QFNauykgSX1m60WkwdJMeC5J/e6uNR8oVQ7dsbC
|
||||
ptsPV27mG92P/y8orr8AxQFULGw9+psTb6OQOlkWpMhlWV8umnXImzfMAkM8TSa8
|
||||
AHjPGZwoPulKZR5HhmrLu7mpb62ncO6amxL2d6iOVLVYp2iNvL9z9RhBJZKM+UWs
|
||||
xgWqg3oscLDe5nLq+sUOuOUI+cq1TCa4zyFQd58HeoPT2+K8bwN7L8pMAGuRHGKg
|
||||
/KJn+IGUFyNKoYSBnCsFdtL6jVCw1uqx7tVdccWwCe/MKxltLGLcjDiluUiAYyz3
|
||||
SMyIKs6FIy1u9gQSwHqldeuU9RxSsK35NGMKQ57f+P6B5INPoaA=
|
||||
=YNlH
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD pipewire-0.ebuild 151 BLAKE2B c0c119f25a34290b1230891cb5d33623b76c8185d6d6723e6a3faa665d9c4e0211d4de1eb56e38eea6b359b9c5c6a2702a6b1f8f4409c816e9ff97ed608dcc84 SHA512 e65e2b5b834ee6db7c9179099be08c7372eb1a6385849908df5d758cf5ffea357bcf11d1639c043c57af672209ffee0661c7f6a249b65fd6e92d11a070c80ed5
|
||||
MISC metadata.xml 354 BLAKE2B 8ef549eb0e6636cdf8ed88583a6cdfdc190482c02378cedfe9b7cac21ea92d7156cf25a728e10195c93f78644a66a318d455e5c127660497e8fc701b6969503c SHA512 9daae1172dfadc6e7c2b312395a54c06ebe66fe8e6da727ef7a47bde067c4b451aa06fd1c4630950d5a029036eb037cf95c17c17757e807e7ef7910157597748
|
||||
MISC metadata.xml 345 BLAKE2B f519f452866108391c70c15f93d9c861d4d2abc2d7e8abad79bee5e5e2649119643c9563e2c256c5fa194df4b2bb8b641ff62136215ea3d79564edffc849e9f8 SHA512 1fe7551246560d5f17056ed4d8ef3b88f080d7beb1285054cdc691e392686b62107695fc35afaa4bee308bcdd850ae69d1302bb7127fec149854de58b226f469
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>leio@gentoo.org</email>
|
||||
<name>Mart Raudsepp</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
EBUILD pipewire-0.ebuild 304 BLAKE2B 8e05fa9d67ce8934b9900f5c8a01bc52e8b9c2c4769d5f1996a626c586b510e858dd1ce62d4f53d3f4e1e831425270abd539754624225b3f6988911da74f732a SHA512 d85678788914f8ba66ef2d03702442fa0576223e5d30c9d712dd821ac7862e4876fb2aaac642b42b68cf1e6d1b2669dd19e2518e1d5522d3f22d08d1f7b05956
|
||||
MISC metadata.xml 354 BLAKE2B 8ef549eb0e6636cdf8ed88583a6cdfdc190482c02378cedfe9b7cac21ea92d7156cf25a728e10195c93f78644a66a318d455e5c127660497e8fc701b6969503c SHA512 9daae1172dfadc6e7c2b312395a54c06ebe66fe8e6da727ef7a47bde067c4b451aa06fd1c4630950d5a029036eb037cf95c17c17757e807e7ef7910157597748
|
||||
MISC metadata.xml 345 BLAKE2B f519f452866108391c70c15f93d9c861d4d2abc2d7e8abad79bee5e5e2649119643c9563e2c256c5fa194df4b2bb8b641ff62136215ea3d79564edffc849e9f8 SHA512 1fe7551246560d5f17056ed4d8ef3b88f080d7beb1285054cdc691e392686b62107695fc35afaa4bee308bcdd850ae69d1302bb7127fec149854de58b226f469
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnome@gentoo.org</email>
|
||||
<name>Gentoo GNOME Desktop</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>leio@gentoo.org</email>
|
||||
<name>Mart Raudsepp</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST at-spi2-atk-2.38.0.tar.xz 97464 BLAKE2B c5a62bd157ac6dcbf19495eb8f92bd6346651b8df64e15acf4d25c1ab35790f154bead1e012714da36c700e58e164527755137a33812f3a1844aa34f0293ebf5 SHA512 2f40ecbc55b0fbaa57ade952a75583bc8fbfde234cce9248489e9ae06e0597d98c2f4c77d8279758dec29da97e06cde5708d30a1238d91bebd023b2320f38528
|
||||
EBUILD at-spi2-atk-2.38.0.ebuild 960 BLAKE2B b5dca22d3494e21559877b0d10e06d5611b017dd23c5faaa40f0a76adf737f1f8d46d99268d308172c5baef843b9f4e89bb0913a5a6a1179d08790b74d86c784 SHA512 36dbaa6aa77bd69867d31a756596015d0536a1e817d222809b257733803150d343f710a69df2aa9385840d463d82af8cd959b082a389b330dfe2194ca8838a14
|
||||
EBUILD at-spi2-atk-2.46.0.ebuild 477 BLAKE2B 2cc36796aa7ad3212b0f4a76ef11e1c4b31b09933dd5bb6ded5dce1ae587e38307ef55b51a562c1ae8592d50a701b93e53a3038a99e08297551bc96215556ec5 SHA512 90443fc7b4fb178a6bec2dffbfc599eedd88cfb1bb725956644e4f438bae3a1a930da9a91e499bcf31dc02debd36f1b4596ded51ae71e5ee55d4e0da87c78093
|
||||
EBUILD at-spi2-atk-2.46.0.ebuild 476 BLAKE2B 76f4c3ecd0c5b6f817c40c4ad3079d1e194872a17012e247ee51eb021ab6c3cd5a09eeb793fbe2915c0eddfe665e687b5aff595308abc51e1087709a1a93aa11 SHA512 2857283202b6b146fcf2c686e11b45777bdaa945366748068235e12303e08e9d0eba3dd3e1bc7a74368da942b3d5ae8c26d8065a5525f7a65c409f89697d9605
|
||||
MISC metadata.xml 686 BLAKE2B ca44ad61b3381eacbda034c60a5bd9e7d215e4b7d792f283b61bb82e419a4d31c3c2a17a1842ea811fd472074539e90382ad1ad5060d72d3146aef66f2c3fede SHA512 20973a48f912dac88635c6df92f3237c0f800481b08014457e1876fb86670968535604127af85ca2d9fd729f1f48da2be664ab49f5520c10cadd4da06bb0db60
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST orca-42.3.tar.xz 3707048 BLAKE2B b1a03cee97ba2ad17e32b863effba46974f86e5cbdcea72235085e369189e8e92cba8b83931fd83a7b859edfc8da9236f462e250c468ad1533768479eb25aad0 SHA512 59d9d61af2e385d8e356f825fc1733d73d136f89a3a06c352eaf1e7b05cd6ebf5bd13282afb478adb4ea7981398db0138324c3e275eb372b99ba648d9fafeab6
|
||||
DIST orca-43.0.tar.xz 3758480 BLAKE2B 05c31777c1c88452e165bd7fb6fe75fe727149f5337828b5f4e7679430ed5065a03de7074536c4433bedd81c3090c72e02a775db46f4673d6e3264a57732ad7a SHA512 20248e6065c1daa9c3d6ba37515bab60a3ceb14065b862d6d0610a7659bddc04f49a1cda7850646b45bb0afb5c2a89f1894de96f505831b11b77d332adb747d3
|
||||
EBUILD orca-42.3.ebuild 1562 BLAKE2B 23c0907b11da9aca993aed45ea94f9bed04553d421fcf76bd241d582f3189943edb8d7e9dd7d09ce158573b06bd71a231126e854cab047a31a2323a52da7d484 SHA512 9ce417d9e0175bf2dd5790a85bfdc6feec6a00b919b18c6dc9ea28d4b899860cc41e8e949f1a2d441dd3d9cf0ff79442bf62b8afc6b12dbe933ff5b6ead149ce
|
||||
EBUILD orca-43.0.ebuild 1535 BLAKE2B 8226ea3dac402db1cf43d93a0aa7da168e47ea5a4192e751e42bce4f5dcfa80a8d1e4bfcaa2e05baedc3469986f0bb785cab375d800322c9c4dc552a21279592 SHA512 61844e407dbb624fdb74130a5fd2b2d44febf4604978423cbc8d4882fcb30f305ccb0818b39a311e4c8ff1a3f8f17d89c6cd220caab023c96b10224cf40e0cf0
|
||||
EBUILD orca-43.0.ebuild 1534 BLAKE2B bd2cbd3560e19e76abf0267ce5fa40da5edba17cb1bb9317f5fd765130620c308a606537b50bfe520fa8b71da75150dde74dc007610f61bc72a9389135e6d12d SHA512 8b21992aecb3a6256a3715eebd4af917c89e50f1df84188db3d8e044a80d52653ea085cb179a5a242386b3814e29aeef13d905cc9a3fd8c03184ef1e56775425
|
||||
MISC metadata.xml 762 BLAKE2B fca9ee6ac93d2e860f6791af78380e9d8d29ac10b254299946911a29b5893028e561a18320bc026dd7e9421f3c572e1c3ac63264276a1b292996db93e1cba4a3 SHA512 6bbe0cff5af52cb48adccbb61620fd75a0811cad313867b63cb09b5a7c259230019a54ad607ee46c986188ff11ac2f6878ef20381ef34965dfe918c88ec945d0
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST ansible-molecule-4.0.1.tar.gz 301517 BLAKE2B 73cf7a2257368c737b9003236bf77011de167dd6f692166702e7948c136202b33bcce1c70893b61a95af9baa90e7b5266a5fa889e3bba0e5a8c9c1e6f48fec9a SHA512 7515e07bf791d5586e1f5fb4ce0d2f731c94c8268c589155340b2bdc1528534084870e66e492b2d883f9e9764293c93799a4c75478523502a2f37ad0642a472d
|
||||
EBUILD ansible-molecule-4.0.1.ebuild 2794 BLAKE2B 276dbb430a10c95a7362711c58ec694d4617d4c17d7bc5f1c7b0b3b2524fb84b786702d87e6bf92d810c4cea90c5f2b62df2b053f81f6ff1da89bcbc2ec1711a SHA512 5cbbd964a57f2fd1b08ca9aa04fda3ffb26a4199bcf80d3c5a1fc25ca8dbca071e6236852b964eb3f809c13bb8a0f7e8b4ca139503fe60b48fa2bb595e422558
|
||||
EBUILD ansible-molecule-4.0.1.ebuild 2793 BLAKE2B 0caaf174605c0935aed3ba25dc5316efff2e2818910ab84cb83bb1293f4578037285415c00d372479ecd8eb7ab90bb18934eb00dca0f1512662c9817fb90ac36 SHA512 5507d4f25f5987f0bd4b97cc54309863dc615a76076adacef07345151a919d1e088c2e02317ae76b853e55c2038bfb5e4880d6b18698b716c704010054200200
|
||||
MISC metadata.xml 407 BLAKE2B 869b6c1d6da66568eeac2daaca56567876dbfb057f50add7bbc95fef8a3fc38b99279d359a90573f8d6af47d0e451445827f6efeefa8fb0e7954e8b624783855 SHA512 e6dbbe2c0536ea84bdfea0168a743dbe3de424b442757441bc4f978e07d41ca6022eb2d6f269c921f42b4e7d858788f967c1c35bd4241a35dbe25a161f5744de
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2022 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 ~arm64 ~riscv ~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-2022 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 ~arm64 ~riscv ~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-2022 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 ~arm64 ~riscv ~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,57 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for service discovery, monitoring and configuration"
|
||||
HOMEPAGE="https://www.consul.io"
|
||||
GIT_COMMIT="cac392a17d3f71048a949599a0f977bf9645df62"
|
||||
|
||||
SRC_URI="https://github.com/zmedico/consul/archive/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC0-1.0 ISC MIT"
|
||||
RESTRICT+=" test"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
BDEPEND="dev-go/gox"
|
||||
COMMON_DEPEND="
|
||||
acct-group/consul
|
||||
acct-user/consul"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e 's|^GIT_DATE=.*|GIT_DATE=2022-11-21T16:56:07Z|' -i GNUmakefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# The dev target sets causes build.sh to set appropriate XC_OS
|
||||
# and XC_ARCH, and skips generation of an unused zip file,
|
||||
# avoiding a dependency on app-arch/zip.
|
||||
GIT_DESCRIBE="v${PV}" \
|
||||
GIT_DIRTY="" \
|
||||
GIT_COMMIT="${GIT_COMMIT}" \
|
||||
emake dev-build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/consul
|
||||
|
||||
keepdir /etc/consul.d
|
||||
insinto /etc/consul.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
|
||||
keepdir /var/log/consul
|
||||
fowners consul:consul /var/log/consul
|
||||
|
||||
newinitd "${FILESDIR}/consul.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/consul.confd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/consul.service"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST system-config-printer-1.5.16.tar.xz 1382124 BLAKE2B 37548bd470f8e80026e014d4077a79a38ad54258d620654536890b67b688fc790c9a9a269b321f2e12d63ec21f24858866e39b41089195c528ddbdf1351bba5f SHA512 ed20a409def66bdea7de4cd5b397891eca220c841e1b5c8cab98e45f87389ae8ba881d9e24072dd07203141fc34c49c4b67cf099791857c007971e3b7d2e2fc2
|
||||
DIST system-config-printer-1.5.18.tar.xz 1396808 BLAKE2B 910e853829ee876edc597a3103b5ab857b3b8c1cb87096f25213b1088e35d9f4d320dad61f55b530283a7650b07abe028a53b4e144b33b1b66c733cb2caa8011 SHA512 33dc9c52d92f4234e055fb10a99cadd58424dcdb62554797b44bdd5319f1c3662bd2fa33417ac3a3f5ec51216d64e81e1897f3e671eb49f6be34057d7c38f3f4
|
||||
EBUILD system-config-printer-1.5.16-r1.ebuild 2074 BLAKE2B 6064a0cccc81f78fab6769164ddc870adbf2e2472421f162c0d6aa7bec9a67a8ed1cb19e7327bf8835b051a710fe5aeaca49b04722db40950631c23368728990 SHA512 0d077bc93964462ff9a79ebfcce6c5bef72e15bea4790549c9318bed814a7bf6b2702a7acd57c680010c1e76abb316099e54e53fd427985c6359c80a9ff1a3e6
|
||||
EBUILD system-config-printer-1.5.18.ebuild 2082 BLAKE2B d58ef3af379fd08ee1428628c53f94c716c61e582ed3d5f69ee3394c26c5cbc10071918a5d2fb61d15c711819901f121c448813085f11b565bf967cfb852fe2b SHA512 431f9573930aa5cbabb582ed5a06d7d440850fd404e3415da88ad8ab8641c3143f12c173ce5fd371350d83cfbb283be4faca7d3172a48be9720506217d7870b0
|
||||
EBUILD system-config-printer-1.5.18.ebuild 2081 BLAKE2B 43644f44599ab7b26dee5d6250a006fcc21416d58c5cdaa9b8991a88d97eac7d951bf7fabb027b4641ba46d8212d1a060851c0e74dca816ec0fa8a1522b45cf2 SHA512 aa550cd4b601c7aef2e324fbfc2e6bfee02dc7c615fdfecac9527ba2154fe3fc0e3ffb6929a0a2e0a1a293dd3f1230302e8df71c7859db8d22d566f08d09d951
|
||||
MISC metadata.xml 597 BLAKE2B 4691f7f385a864b26ed00b5d05310d45aa52d1cbcfb118ec4b1323df470a761162bb7c037cc8eec253f1dd5302d0036379044e83257ba6be43d878b28ebf11e6 SHA512 e4b52d3a4070116472e4fb617796a7cdaef0b3cfc825ccdc39392b5ba63afdedad4232a9eacf89c209a3202d95c2c0cadf17ae8d3698d2e2258310cebfa89744
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST usbview-2.2.tar.gz 378077 BLAKE2B 85edd8b4e7a36e6be4402024c4e4eb04ad28a1f402011ddb9e7a5182e8af02e3c4e01713e0d93c85d9eb61d1d70fd08b9292592975956b54eb40a37c2ad38dd1 SHA512 07684667310a9e073de05d4cb14a56370e72d4c1a2a81038331d7e0f5a546c65cb0cacedc6117702c116bb5863551f6ae730b4a9e6313d45fb052c9ce7823d16
|
||||
DIST usbview-3.0.tar.gz 375159 BLAKE2B 3c95e8c1e37c7209f086206305ab22ff7d26868e8b5eeae07111c82f5bc60eccf8d4ba4021cb57d2d299775f6a4ca7c006ebbf41b7ce24baa7b976cab976b565 SHA512 65cfc933eac44e83df48ebc79e9eb85db64f817b9c09b708ba06471d7845ac575cdec1a4a06a5792cb2b8d80b046dadc118200c455a350300b0285b80221aac5
|
||||
EBUILD usbview-2.2.ebuild 622 BLAKE2B 7c9df6d191229718560910cdc4c20088239027e2d9d5ed4dabd269577d17428264062548b1853a20fdc4b02cd825ce1d76b4d6a85b3fad6a4c0d12fa7367fcb8 SHA512 b95a7ac8c19aee8e810e6e934a970d9d8381201b578096e28ee731027d3ce2ab233151925b7f9891423b397f3a3e4d87400f1a0fd13e0dee794a50154c381a53
|
||||
EBUILD usbview-3.0.ebuild 627 BLAKE2B f7d3db5cbc7750801970e4fbbd31c3a10dd36c639c24d4b5cf1c220ad53f2825b72c19b429b98e3a18de2cedfa4c66c569d65e79864f3a7a1c1fa29e2befaab2 SHA512 a2f41c4258eafb2a93aa4a95d03c84eb557ccf80e1e57fb9a3f83bccf603252ed2b7021df8b80131df155df7e50d91a69d30c71751263f1901979c7894877ab6
|
||||
EBUILD usbview-3.0.ebuild 626 BLAKE2B 5406d13ad3d124dc973945da71cbcf3d8094f70cef0ca7fb5919cb79b4d05eb744149bbf0fa0aff7b00166996cfb36b90fd2d4bf43d8d31b0c48fec6b6cbbf3b SHA512 3eb861bf4da311738791c73dda654c75978e374d1eb42828e1252f59ffefbade079166fd4062b29b146e15025789b4004c9b1df22987ba897e20c86f44afbd4e
|
||||
MISC metadata.xml 471 BLAKE2B a1f9ae7f3d1092f42a9a9ef1b008f14cfbbea7d6807e812b491c503e1dd249131b8ef693b2ab4699a27ee0719170781f69c05bf682f5fa28c184115715e3c4a6 SHA512 159aa10e052181d4939eeb898c4620ea906efd734a9420e7b27833bc14102349217f569563f1bf4e442a83c2c27280fa57c0b0e799d6df79f6b0d05138d731b5
|
||||
|
Binary file not shown.
@ -0,0 +1,378 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.2
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
aho-corasick-0.7.19
|
||||
ansi_term-0.12.1
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
bindgen-0.59.2
|
||||
bit_field-0.10.1
|
||||
bitflags-1.3.2
|
||||
block-buffer-0.10.3
|
||||
bumpalo-3.11.1
|
||||
bytemuck-1.12.3
|
||||
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.11
|
||||
crossbeam-utils-0.8.12
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.6
|
||||
digest-0.10.6
|
||||
either-1.8.0
|
||||
env_logger-0.9.3
|
||||
exr-1.5.2
|
||||
fastrand-1.8.0
|
||||
flate2-1.0.24
|
||||
flume-0.10.14
|
||||
futures-core-0.3.25
|
||||
futures-sink-0.3.25
|
||||
generic-array-0.14.6
|
||||
getrandom-0.2.8
|
||||
gif-0.11.4
|
||||
glob-0.3.0
|
||||
half-2.1.0
|
||||
hashbrown-0.12.3
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
hex-0.4.3
|
||||
humantime-2.1.0
|
||||
image-0.24.5
|
||||
indexmap-1.9.2
|
||||
instant-0.1.12
|
||||
itoa-1.0.4
|
||||
jpeg-decoder-0.3.0
|
||||
js-sys-0.3.60
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lebe-0.5.2
|
||||
libc-0.2.137
|
||||
libloading-0.7.4
|
||||
lock_api-0.4.9
|
||||
log-0.4.17
|
||||
memchr-2.5.0
|
||||
memoffset-0.6.5
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.5.4
|
||||
miniz_oxide-0.6.2
|
||||
nanorand-0.7.0
|
||||
nom-7.1.1
|
||||
num-complex-0.4.2
|
||||
num-integer-0.1.45
|
||||
num-rational-0.4.1
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.14.0
|
||||
once_cell-1.16.0
|
||||
peeking_take_while-0.1.2
|
||||
pin-project-1.0.12
|
||||
pin-project-internal-1.0.12
|
||||
png-0.17.7
|
||||
primal-check-0.3.3
|
||||
proc-macro2-1.0.47
|
||||
quote-1.0.21
|
||||
rayon-1.6.0
|
||||
rayon-core-1.10.1
|
||||
redox_syscall-0.2.16
|
||||
regex-1.7.0
|
||||
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.11
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
serde-1.0.147
|
||||
serde_derive-1.0.147
|
||||
serde_json-1.0.88
|
||||
sha2-0.10.6
|
||||
shlex-1.1.0
|
||||
smallvec-1.10.0
|
||||
spin-0.9.4
|
||||
strength_reduce-0.2.4
|
||||
strsim-0.8.0
|
||||
syn-1.0.103
|
||||
tempfile-3.3.0
|
||||
termcolor-1.1.3
|
||||
textwrap-0.11.0
|
||||
thiserror-1.0.37
|
||||
thiserror-impl-1.0.37
|
||||
threadpool-1.8.1
|
||||
tiff-0.8.0
|
||||
toml-0.5.9
|
||||
transpose-0.2.2
|
||||
typenum-1.15.0
|
||||
unicode-ident-1.0.5
|
||||
unicode-segmentation-1.10.0
|
||||
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.83
|
||||
wasm-bindgen-backend-0.2.83
|
||||
wasm-bindgen-macro-0.2.83
|
||||
wasm-bindgen-macro-support-0.2.83
|
||||
wasm-bindgen-shared-0.2.83
|
||||
weezl-0.1.7
|
||||
which-4.3.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
|
||||
"
|
||||
|
||||
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 ~sparc-solaris ~x86-solaris"
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DENABLE_EXPERIMENTAL=$(usex experimental ON OFF)
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DBYTECODE_RUNTIME=$(usex jit llvm interpreter)
|
||||
-DOPTIMIZE=ON
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
)
|
||||
|
||||
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 )
|
||||
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,3 +1,5 @@
|
||||
DIST advancecomp-2.3.tar.gz 1292157 BLAKE2B 7fdbbc4c53c58a4988339189d5e2e2412e782a69081b6ba39f86f4c2b101b03d8400f8104091eb8b22d2d4969515c8126011e79e346787bddba77d67387a6efe SHA512 87dc6a25139708b975ff138f73555fb2053c0fb8310412823624de7786a2034657fc3b4ddb6eeda332788073bbe21ea955b7368707186ee3bb61d1fe59e672e3
|
||||
DIST advancecomp-2.4.tar.gz 1315369 BLAKE2B fba921473efb54493590cc225a7ece2d05a5e7a047e38cebdd14ec6141856b5f7efe0aafd279d399bca7bb836f73a586cd4711e75f2a11047e063bf72d67f15a SHA512 667e0e898208df578a676b6084ca6c8dae119a6006f716b1dfa29cd0ec5b022f7b5fd099d09c25e520bdf90bc5531a7e36ed120472ca732303b719818cc5b712
|
||||
EBUILD advancecomp-2.3.ebuild 881 BLAKE2B 4f51e115905cb47422c6f267f92304bb3b011deaa933bcf26ce20eb9cd92a1ddc1e369c5514700a15c91fb18e07d8e3e88efc5f51fc7c91b8c3ab0d91c981d54 SHA512 40c86ca82a557b79d1f86605f8da74e58c28891ae2ebd450df50218f482f9bf92aa4084a2621da3da9cdec5ac79d3bcd7ac948f0e43e928c32656b6e4eb55ba0
|
||||
EBUILD advancecomp-2.4.ebuild 881 BLAKE2B 4f51e115905cb47422c6f267f92304bb3b011deaa933bcf26ce20eb9cd92a1ddc1e369c5514700a15c91fb18e07d8e3e88efc5f51fc7c91b8c3ab0d91c981d54 SHA512 40c86ca82a557b79d1f86605f8da74e58c28891ae2ebd450df50218f482f9bf92aa4084a2621da3da9cdec5ac79d3bcd7ac948f0e43e928c32656b6e4eb55ba0
|
||||
MISC metadata.xml 390 BLAKE2B ff0e188cad31daa60b4298b09a40fbbeb0d2b95ef7bf7a78df9c3acba7421ceea5511b1654c2c15acd59efd53dc6e2f222037201bf2f66c2d8abd9d888c4138f SHA512 5f2bdc25546d01a5a3b785fc5b659dc1d0f53a12f992cab12bc14790f82b6401bb8dd65f5bddb32f59ea458fa2cc913f7b1641cf36827207f7aa2875d9488ef8
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Recompress ZIP, PNG and MNG, considerably improving compression"
|
||||
HOMEPAGE="
|
||||
https://www.advancemame.it/comp-readme.html
|
||||
https://github.com/amadvance/advancecomp/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/amadvance/advancecomp/releases/download/v${PV}/${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+ Apache-2.0 LGPL-2.1+ MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv x86"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
sys-libs/zlib:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
# Tests seem to rely on exact output:
|
||||
# https://sourceforge.net/p/advancemame/bugs/270/
|
||||
RESTRICT="test"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-bzip2
|
||||
# (--disable-* arguments are mishandled)
|
||||
# --disable-debug
|
||||
# --disable-valgrind
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc HISTORY
|
||||
}
|
@ -1,8 +1,13 @@
|
||||
AUX dpkg-1.18.12-flags.patch 416 BLAKE2B c7fe40b28793420afa0b895585cc14a675f9be68784beef7965fe6e971f6b2d6ecaa7c8bae51bb9f774c9517a618bff85b723052360224952cbdd2b74759b42e SHA512 6c86e8519ab4a05a2c15a658f41c0da14429c4fba0fcd364426afce7db03cd886a69de3f04f167d0f7b6d36a05252455864c11b14f58baab0a4536249331369c
|
||||
AUX dpkg-1.18.12-rsyncable.patch 1245 BLAKE2B e1488cc6a6807d38ec7218ae6651b0d919fbc3ee5e2837540f91cf80229e669a6fe24d6de1c4bd1c1debdc34a0c04a2bbc6a21eb964032f24526986678eb1b14 SHA512 743f4780b4c93e53924836fae96d59c2f1098dae6ef683b2b30146ab0345109718a507486f86ff96cda5b705aff858da563cdc0d40c965bf964cafe7105994ae
|
||||
AUX dpkg-1.20.12-m4-stdio.patch 710 BLAKE2B 8a414738ca9b12791483897f70003b9266d8c8192f6b05fa04aa6ff5d8b990bd68d0298edb917f34684e23acdd4d502b7e7678e84bd0a7433bc443ba87190235 SHA512 53a6f2ff2b7894a11f3778f5b1bb7c2bf4a4d58985e339bacee39d73ebf6871da250012415d07aa15a164d56ce11b261eb3323d485cdacef95806e38778e8ec2
|
||||
AUX dpkg-1.20.5-dpkg_buildpackage-test.patch 209 BLAKE2B d15000423abe8259e7bdd92e5ff2d38f8fd32622e8467259e791159df590f7d394647ba4efdd599b77d652f973cd07af09d64f29df920fb8015c995bce9b302a SHA512 046200d2a8c143a2b08e0c8113765c7a7a18846ce0b7a2dfd5a3f1167eacc70391415c6bcef21abe49e5d8225dbf08680fcdc405f0910e9c42071ad4cf8ae6d5
|
||||
DIST dpkg_1.20.12.tar.xz 5009108 BLAKE2B 47ecb53c331503c72081a4c472acd6e94a5b7fca2032358809aa8c546cfd6c1542c7cdfad2a5ceff0e40dc454a61974ec47233061b98cf99aabbb8e53621858c SHA512 ce20b1b00b972e6fa5d5cd6427003415a92a78742dc02a9055fee6f00db22b037c54560170e657d7b74c2ae542fff4b7eba46f642adf911dc2f3b90eebefc3ff
|
||||
DIST dpkg_1.20.9.tar.xz 4954428 BLAKE2B 4e04f7a90c8696971895081e18b220d9dee4bc5930428f131556ae71c673e61e18c363e279b566c2218da60a5aca421807c14cf518952502e707c7397769097b SHA512 904a4742f5f340dc65b2137364dce102a0b2eb42ccedb2a73f79c207362c699fbffaaf1379f1f6c8b8b0e490321af1d03c34b50ebe0c703f5ce8a7f75f17a839
|
||||
DIST dpkg_1.21.1.tar.xz 4986936 BLAKE2B f5b0f9fe7ac5fe7ba47191a9e467356e748418846ce0fc9f3c61d731e035eb096932848b15e6a85a15938d3bbd6fa069c786ab0e89c77119958fe632a91c309f SHA512 3f3f263e1300f3e4b55e84521847703dcfe465aa54829a69c31c174a2ad5e8b6a8a251da7c6020d31a38e9e6744113924a71e9579469e32289328e91a48db07f
|
||||
DIST dpkg_1.21.9.tar.xz 5084044 BLAKE2B 9395a347f9b048c9acb57efb604219772798ea07c119c93c14f7e6574d353ac83fb6b79743ba4a08e136204484788b59128dfa065f944fd0d32e80662f9775a0 SHA512 0f0b9b936a025f9d905dc35c030293d9a1bdcbed640187691ae2319d99d04dac954102b1270301b12b633c48f08d6c6af0f6f21df4afb2e34a0f0a37127fd238
|
||||
EBUILD dpkg-1.20.12-r1.ebuild 2094 BLAKE2B 223c1a0fb84047b8fa33bb86127b6a01c699035aadd8244ee5bcfcca555f39cf5e8364665bf557e39257eb86a1582bf9ae6a852cf4c574752b1a08dbd4e6bda7 SHA512 455b2a89f88cc46f14e705244165b5ab7d0f44f9a266c56fc1859b54492b856aabd4585fa9dbe52f5af1a7a61636052cc04d864dc18c6ca4b0338e998478f67d
|
||||
EBUILD dpkg-1.20.9.ebuild 1999 BLAKE2B 8c4eb6fde703797505d357ae6ba5f70ca15a514f60699a25eccc2896aad1daa10662da0f80ff1ef0ea6d94ca0381280f3c57f38df4340ac86098c65a91043313 SHA512 b50c6ac21dc86e8ca91d6cfd87855935c6aaa3ece8bc6cca6ebd53b46b7fa54e5b39b24edf8d81c6dac423c531b13379e17fda0d8946f4248b518a13c613eccd
|
||||
EBUILD dpkg-1.21.1.ebuild 1990 BLAKE2B 3aff143bc3013658754a67e43ca6f9aacd43372cf32ac3821321c1ff454d30a08c62edafc9eafd6444de9c39d082f625fc73df86c89ef142ec5b7d8535ace1b4 SHA512 c47497584a0ab84311361eab048da24c23ba422478210f366e7f8a0f8223fb498e930fedaa0b72e4a0ef2062f67f338b681501c0eafa05d36be3759884f7579b
|
||||
EBUILD dpkg-1.21.9.ebuild 1977 BLAKE2B 4b1247ade5a3d2fbb9cccc3d9b8b4828e2d8bb3810099c5750d26d55e0b3ebbe22fe7d26bd18fb43fdd7ddb4d56f6c8d2f7920b438ead971ada9cd1618cbd155 SHA512 9773c4b5276ec3e2037f8a56fde0640131602e8922038480008e4ae71806d234f8bdecc3e9d49fa0c05ca6b4f8c462a8ffa23fc783cb26f2734150586a6aeb72
|
||||
MISC metadata.xml 433 BLAKE2B fe1e0ca0c96628891b711ca120d5c119f8effe66ce43198ebb2a16fce1cea23b7ab6ab88d807a71645298e2311bc3044dca4989fe83cf99e54a9e97f66835c69 SHA512 2882194685980d67acc10913c8863b55dc0a9215558db2e3cf33f0489d91e5477bf2ac0c0fc5b4a134f45593f6f5d3fde5e09493d20ca45224645b8c1c597fef
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Package maintenance system for Debian"
|
||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+bzip2 libmd +lzma nls selinux static-libs test +update-alternatives +zlib"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/tar-1.34-r1
|
||||
>=dev-lang/perl-5.14.2:=
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
libmd? ( app-crypt/libmd )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
nls? ( virtual/libintl )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-perl/IO-String
|
||||
dev-perl/Test-Pod
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/flex
|
||||
nls? (
|
||||
app-text/po4a
|
||||
>=sys-devel/gettext-0.18.2
|
||||
)
|
||||
"
|
||||
DOCS=(
|
||||
ChangeLog
|
||||
THANKS
|
||||
TODO
|
||||
)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
||||
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
||||
"${FILESDIR}"/${PN}-1.20.5-dpkg_buildpackage-test.patch
|
||||
"${FILESDIR}"/${PN}-1.20.12-m4-stdio.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e 's|\<ar\>|${AR}|g' t-func/deb-format.at t-func/testsuite || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable update-alternatives) \
|
||||
$(use_with bzip2 libbz2) \
|
||||
$(use_with libmd) \
|
||||
$(use_with lzma liblzma) \
|
||||
$(use_with selinux libselinux) \
|
||||
$(use_with zlib libz) \
|
||||
--enable-unicode \
|
||||
--disable-compiler-warnings \
|
||||
--disable-dselect \
|
||||
--disable-start-stop-daemon \
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir \
|
||||
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
||||
/var/lib/dpkg/{alternatives,info,parts,updates}
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit autotools toolchain-funcs
|
||||
|
||||
DESCRIPTION="Package maintenance system for Debian"
|
||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+bzip2 libmd +lzma nls selinux static-libs test +update-alternatives +zlib"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-arch/gzip-1.7
|
||||
>=app-arch/tar-1.34-r1
|
||||
>=dev-lang/perl-5.14.2:=
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
libmd? ( app-crypt/libmd )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
nls? ( virtual/libintl )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-perl/IO-String
|
||||
dev-perl/Test-Pod
|
||||
virtual/perl-Test-Harness
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/flex
|
||||
nls? (
|
||||
app-text/po4a
|
||||
>=sys-devel/gettext-0.18.2
|
||||
)
|
||||
"
|
||||
DOCS=(
|
||||
ChangeLog
|
||||
THANKS
|
||||
TODO
|
||||
)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e 's|\<ar\>|${AR}|g' src/at/deb-format.at src/at/testsuite || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable update-alternatives) \
|
||||
$(use_with bzip2 libbz2) \
|
||||
$(use_with libmd) \
|
||||
$(use_with lzma liblzma) \
|
||||
$(use_with selinux libselinux) \
|
||||
$(use_with zlib libz) \
|
||||
--enable-unicode \
|
||||
--disable-compiler-warnings \
|
||||
--disable-dselect \
|
||||
--disable-start-stop-daemon \
|
||||
--localstatedir="${EPREFIX}"/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir \
|
||||
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
||||
/var/lib/dpkg/{alternatives,info,parts,updates}
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
From 9a1c670b66818fc0044eaa9a95a13da553bebcd3 Mon Sep 17 00:00:00 2001
|
||||
From: Georgy Yakovlev <gyakovlev@gentoo.org>
|
||||
Date: Mon, 21 Nov 2022 23:09:59 -0800
|
||||
Subject: [PATCH] m4/dpkg-funcs.m4: include stdio.h in __progname conftest
|
||||
|
||||
Bug: https://bugs.gentoo.org/869884
|
||||
---
|
||||
m4/dpkg-funcs.m4 | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/m4/dpkg-funcs.m4 b/m4/dpkg-funcs.m4
|
||||
index 74acf22..0720ac3 100644
|
||||
--- a/m4/dpkg-funcs.m4
|
||||
+++ b/m4/dpkg-funcs.m4
|
||||
@@ -142,6 +142,7 @@ AC_DEFUN([DPKG_CHECK_PROGNAME], [
|
||||
AC_MSG_CHECKING([for __progname])
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM(
|
||||
+ [[#include <stdio.h>]],
|
||||
[[extern char *__progname;]],
|
||||
[[printf("%s", __progname);]])
|
||||
], [
|
||||
--
|
||||
2.38.1
|
||||
|
@ -1,4 +1,4 @@
|
||||
AUX innoextract-1.9-fix-linkage.patch 311 BLAKE2B 777d3592d3b0c5ced8a36473b9b481395e2ae4b33dedf1d8a7393b150a2c048c764b1f4902fdaa23ff68749d04f393668ae8b4ba7fd8bdb82f7cbfb4142391c2 SHA512 df4f251c36ed2e01314f12cecc44082c4ecbbe8bbef9825bce98cfc880a7e92047da17051879b4f2d972dadf6fc41f07338fa958d773847394be4441c5db0dea
|
||||
DIST innoextract-1.9.tar.gz 206931 BLAKE2B 1d5f0d13a7cd52262b277263f061ecab85a3419197bceb22938a0d10000578603cc2c2b972a45474027cfea8e43b8bf89d680035034785210842477b147811fa SHA512 2b18f7bb7f50744bcb1bdcd25e57e0760193b179c77b55e0f63c537e55afc98de3b0380da3cae470ce97660ed41a7ffbb48c8c25329c9ce9b3811d9aec74bcde
|
||||
EBUILD innoextract-1.9.ebuild 774 BLAKE2B f48ea5b5b8ea7a8354b1e311dc741114c5e1353733adc67ebb2e2026389a1115bd0b920860fd3c830c56c44f9a49aa00c1c2a922344b9ab71e5533f617a5f430 SHA512 dcc616411d8868e1e276f6afe60cefdf267810c5261699907a53867921408b1d5504b19270ac87e129d5e2677ed470e706744e7f675a21e5e29b78fa5942afa6
|
||||
EBUILD innoextract-1.9.ebuild 781 BLAKE2B 39578fc2f6ae22b51d5f387bc0aabc6a054b77b842bdb52f02301c1837fea8c7bfb1573f2ea7572fcdc4a7590bbfac70385441e242d962bad1c628fd71873769 SHA512 7882c773c20e18ac9c83bd1dee71bf25dcfcabd2333b2ad87b8bae283902cf3274c912780df44722af7cf950927c75c277adac38fc8bf4991b30e5856f53509b
|
||||
MISC metadata.xml 808 BLAKE2B 92420ec3329ff620f12b5a8c86a742b0a7497cda47e199aca0759bc3d4a3743ebada88905850d9c244cc9f84978d0d00e599329734ee849b4a4c39acd237417b SHA512 4b506e00d5b77eb765fb6b638676cddbe245838e82d0beff2bcc55a1dfddcd725e588a4b7fa57c63e197469839c2e308d6fbd0299f284494847f5340fdf50524
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST lrzip-0.651.tar.gz 238854 BLAKE2B 2680867ccbee6ff669581017c9bb22db4d7eba0fda80b935bd088191809cb8baa833a03e7732cd1fe5a0487edfe577b34f34dcdcda121c114145bff9fc17ba79 SHA512 97671c4705bc06dfd037e38f4384a5ffaf2e3508da217406ac43642b88eae16576818a378bce519812204fecefbd6552a75fc3e74af729ab7b11724b7a6d1998
|
||||
EBUILD lrzip-0.651.ebuild 1192 BLAKE2B bd258ff4fe72e5b4a44f687131a38e738d10bfcb7e0b2d498324a65f059a01dcc74af7693972146c6d12d0eb8d0ed06c6aab090a92b189b9b1eac92b1a5340e7 SHA512 eed3e976ebaa7a92958ec037302d73d1c71c21eac90d7f18c2cbea0525d036266c7fb8f9175096f7b41c82cc62b11e7b108fae0a7caf8df58dacf7722d82d76b
|
||||
EBUILD lrzip-0.651.ebuild 1199 BLAKE2B 2cfced80fdc598a603f88dc9cb1669d0b7ae225f7194c5a9837312a4360bb8df1a39e377745bb77d194b318a145fe2c59aab2bb1f86b1de173c1bc9f7d037bed SHA512 44351b9754bd68f7139ecf74b91a854dacf11e21cd29cce3c7ee44bca049eeaa4c912d752f2ada968e49e786ee82c24cf4904208a1a49160a24708d2d060014e
|
||||
MISC metadata.xml 608 BLAKE2B 30dea4aadd66ede896608352c35f848994c266849269253644e6cc72f737988d389459f38dc3b3cb45d9dd4bd3d36c194c2972b13da89e9349a2822dbe816f73 SHA512 8e239a83dd093400158111390385bc46280962a4162858bafc5a3ef3389ed4f136976d39bce1b07f5a49b95351cadc4c3b4803ea6fb2f3b83562484d7e8e7c49
|
||||
|
@ -1,5 +1,6 @@
|
||||
AUX rzip-2.1-CVE-2017-8364.patch 1006 BLAKE2B dc84fc222e5fcf1c0e5a37eda05bfb136b9603eb3c510edabd91bfc639b2c4a9f9956ce8cf152c94fb255c1b749a5eb8dfd0d13f65a2a4682a008f6fc236ab4d SHA512 18f594eca2f805770dad7569ad8cffbb934e74b85b04cc91cbcbb04fbc936529f68121504c50b037cfb848e9ba90131a5b35a1d236f0c1453d55fd8b415a7ed6
|
||||
AUX rzip-2.1-configure-clang16.patch 434 BLAKE2B 1303f04c3ae45456138da00a9bd94f0bf9b7ba043aa0166e437ed1054ddc25e24d561d347cf4a8967613f73ab6ed894ed96886479321b3bbb7833a9ac713a7ad SHA512 6794234e1703e5a6af44e6605d56c2ac8dba1af7ef3abe2ecd1756ae35ea606cac912e0f6e971b5168f6c54f566eaa14b5a9897419c81f1f9402ee1e7a679c14
|
||||
AUX rzip-2.1-darwin.patch 4829 BLAKE2B 7e6cd7273573517aa29e73f0556e6b33d4386d71872d643d448859a48308b8fcd59b1a2c6749117e39c8184ac4239053a97757b2e4e821b7b9e7232e99af2120 SHA512 a3cd2c98a486626767eacd5a949ecf1f328f11bd663a1f4b9f758314dde709e9fd73fb1239dec8737d4511f61225f47682b610b9a2609646613a774d6f6ad5f8
|
||||
DIST rzip-2.1.tar.gz 46785 BLAKE2B da38d7ae74149824dd33f3ecb1a7f6f63d63a8ee54c57565e4edc5915b503882d4de20b19c22228e8d3fc698477b6c8f095c2a399d442101a83ee66f4bfbcc63 SHA512 06ed760ba2b7f09781a2e9312b645d41c145f96e3ee55ddf573714493e92466366ec6394267e5e06b0d8c42dcb67e1ae99dafa417a84737ce2b4a650a9059a6f
|
||||
EBUILD rzip-2.1-r4.ebuild 1043 BLAKE2B 42a5f9580d16c6ce0827ffd838a688b2bb8fa9b762db67f36a89f2c99900b7309f938dfebb3304b5fd44e26b678effd44394e581926b277c6fc675bdc4184d50 SHA512 47cc6efe33d00752fd04b85e43a57de2afe7961beb0ee6adb39ec79529f0abfc0a250f6c04ac3cc0b1c62702649b3b23eb15a349a5e1b785e7f6159406da566d
|
||||
EBUILD rzip-2.1-r5.ebuild 1092 BLAKE2B ad8ab28ad2e8de218060a79b671e3921b60e4aa0df3dd499469a4afa791a49735eb4f662f3934207b37f6974201f5a149d822892e09caaae9f937190556e629b SHA512 b1a4ff2ac5df0d43d09f66b8b490abd38edf72f9723b41d1eab4d20c3418265011aa6b64d8f1763202c73caefc74dce3474385e26f9c38d71a2b1e37289ca61b
|
||||
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
|
||||
|
@ -0,0 +1,13 @@
|
||||
See also: https://bugzilla.redhat.com/show_bug.cgi?id=2144458
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -36,7 +36,7 @@ AC_CACHE_CHECK([for large file support],rzip_cv_HAVE_LARGE_FILES,[
|
||||
AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
-main() { return (sizeof(off_t) == 4); }],
|
||||
+int main(void) { return (sizeof(off_t) == 4); }],
|
||||
rzip_cv_HAVE_LARGE_FILES=yes,
|
||||
rzip_cv_HAVE_LARGE_FILES=no,
|
||||
rzip_cv_HAVE_LARGE_FILES=cross)])
|
@ -1,4 +1,4 @@
|
||||
AUX unshield-1.4.3-mandir.patch 776 BLAKE2B 6d0c23a3cf0457ffb03f8f6a08667bfec7bd2fe1744867febfd9ce9a786a0e7b84408cbd5a2c23eb94c68d33a17d2c638ab7e44ea6ae0d95d5c0cc280b0ed585 SHA512 4acc69f49e3828f1dac5448b22d6015cd1c4f551c22c9d824d0650790ec509d02e7ef13f18b58bc338d25d7e93bf334d2ae1bbf198b2b831c183707b22bceceb
|
||||
DIST unshield-1.4.3.tar.gz 58822 BLAKE2B 89e23462610d7ffd25358cb1d9f234b5c80a580deb60e85610ddacc8e3aa92420cb0e885e80375089e93786565824813f23c54f7c4d60b7773f23d174c98e5d7 SHA512 2f058e0a28d0497e2afe231ded1b1bb16745401398eb1035e628d263351b10a1343c9664f3937b8912755db9dc5236a1b43e9bcba596affb7aa8b036f49382aa
|
||||
EBUILD unshield-1.4.3.ebuild 832 BLAKE2B afb14c602f0c2dac1f1ca60a9ba113f719e58bb30e2439aa17c5ec9d8890d4faafd89aa93f8e9f2e273c275b5814f25840fdb68be209dba4bc948dc9ca855842 SHA512 8c319b8d5c84e92347c0ada54469942c39783224fcf8bfdad9ca657c320ccfc51d25da45aa6bbc147b2c5dda340b0cd39bbf42d4ae5a3a2b80371fe2a4c36b65
|
||||
EBUILD unshield-1.4.3.ebuild 839 BLAKE2B 3a26eb3a131f4a1a50c8588927da2078f342bc6cefdc33584f1593c05bd77670d5c6ffb19e5ac35a8a602d416775fc90aa52031b9925c4cffb721c0c852b525c SHA512 e062f76ae2e56c9728b1373feacef51dd31e48ddae09fcaa29331f6e78a9a81e804a9ffda8ec90dc3b188d340af31e189fceb7ffc0667059acc39ba47f587063
|
||||
MISC metadata.xml 252 BLAKE2B 53cb03dc869146a76fb5fcdf82fbff2de9d5ba3089698bbd483e0e0042e2c762aa4fb847c8c7013470b3e87d7e2006ced995489e58261709025a8b2e7fcfdb5e SHA512 cb1ad379f1fb78be79dff6b6562a8adde061767668bc05859b11cba5a244977c5f28e10c2c30dd0aa9a26607c3f6bafbc72a29a268ce67101a7519aeebefd06b
|
||||
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
AUX backintime-1.2.1-no-compress-docs-examples.patch 6018 BLAKE2B 9ef4f8c5b81677340707e98550ab8e0d4c574a9bfe36fbb9c178f2050ca726ce995927bf2a186363243cc64f4e8be3b99a12b7b2b37ad0d4f6892ae6f730e48d SHA512 6484fdcc4ede6f5c57bfef985a290b9d8a74aecaea43e239a3368cf79aa6797d7fa4842fa331b259afd25084d9c514e643916c39c34d4a8b33bc668c93d9b180
|
||||
DIST backintime-1.3.1.tar.gz 714401 BLAKE2B 5b6a294d5a22ee3928725caf1a9895b665bfcddd6b779355cd7f7e58b5a201c3d2158ef4b30fb73eb4525c1a54cacf878397874f28b06798b7bfd973df467a39 SHA512 faac8552748da75db62cf7fa7eea686fd8b262016d1072f432fff54a6c0c72929650582870b4c56efbaa4ef5984acaece9e1d76eb72abcce91c6fc92d34d52ad
|
||||
DIST backintime-1.3.2.tar.gz 714459 BLAKE2B cc53bd5391155705016248511e30cdfa7bc25f0a7cb170dfeeffda397e8be1b22f8e335063289d8c192f94c469430655064899ac8059f22f3b7582e3af87d373 SHA512 19f756d03cc7533e02bb5172ae3f8c167206bf5e8d60c0f3af1f647e01297a4eeb7889bbb5b58e46636bc31392ee436249b276ddbfa41697a0538c542fa26cb8
|
||||
EBUILD backintime-1.3.1.ebuild 1621 BLAKE2B e9e0ffa41497be3ce63c3c5827dbc6809123dc06b0427cbc438b5ed6367064502c6f8932bd57d2901882af1fa80914d8ff1659e37c73412e1d8a32ed5ad9d668 SHA512 15e5a2adb27450903befd78a80bf5480ac562be318b61fa4e7251247fc29313b38f147cbaa5496f7a96c98eac22282b1fea8ec86448af343831274761adc03aa
|
||||
EBUILD backintime-1.3.2.ebuild 1650 BLAKE2B d2bcd4542751449f0c09d5db417620faea80b70a8a3c17d755486941f9fe99804881de5e8399db5cd4b6602f458b0fc43498b4ba8a705134fac43c415b567ef7 SHA512 d7b3f219533d43d05ab333105a9047aee9d0c2ff66d977f46bee5cfb942c40dbdb2da52f7f2d090ff58d5d6b152fb0cdc4c0419249598fecec93e04dcb9bd9a4
|
||||
EBUILD backintime-9999.ebuild 1611 BLAKE2B b80a40437968c57066653ebad53ce96595559b2355c2619017a34107c48bff84630f4f60fa119df292b7fd008e692985f9b7169f97dbafdff7277a48dc3a29c2 SHA512 1eff1c238b84167c10af28bba259aeb52f2901d2d39c8471548114a0fb8c21f7ca4576f2dcb9fdd1346b50dfff46e7c6a91c4fdb5a3b4c0a2f384bbbd3d6d63e
|
||||
MISC metadata.xml 665 BLAKE2B 402f8b0414939dc87e826c6f635503c87343892033df66701d5be6d379df8d932ba155ffcc8764f7b5a71e3d89f8cb5c83b0ea3a515450c86f6899224298c79e SHA512 4d5271dc1500bb5d4e3f8c7090b95dfd6cb3df44d5c93a2c00fdda7ccdafaf2366c584e331a0b7c83087ea2ca5833f2317fd828676eb5c1d40cea1faa18fbf96
|
||||
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Backup system inspired by TimeVault and FlyBack"
|
||||
HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/"
|
||||
SRC_URI="https://github.com/bit-team/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="examples qt5"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
')"
|
||||
RDEPEND="${DEPEND}
|
||||
net-misc/openssh
|
||||
net-misc/rsync[xattr,acl]
|
||||
qt5? ( dev-python/PyQt5[gui,widgets] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" )
|
||||
|
||||
src_configure() {
|
||||
pushd common > /dev/null || die
|
||||
# Not autotools
|
||||
./configure --python3 --no-fuse-group || die
|
||||
popd > /dev/null || die
|
||||
|
||||
if use qt5 ; then
|
||||
pushd qt > /dev/null || die
|
||||
./configure --python3 || die
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd common > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
|
||||
if use qt5 ; then
|
||||
pushd qt > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd common > /dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd > /dev/null || die
|
||||
|
||||
if use qt5 ; then
|
||||
pushd qt > /dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc common/{config-example-local,config-example-ssh}
|
||||
fi
|
||||
|
||||
python_optimize "${D}"
|
||||
}
|
@ -1,382 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
CMAKE_WARN_UNUSED_CLI=no
|
||||
#CMAKE_REMOVE_MODULES=yes
|
||||
|
||||
inherit python-any-r1 systemd cmake tmpfiles
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="https://www.bareos.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X acl ceph clientonly +director glusterfs ipv6 jansson lmdb
|
||||
logwatch mysql ndmp +postgres readline scsi-crypto
|
||||
sqlite static +storage-daemon systemd tcpd vim-syntax xattr"
|
||||
|
||||
# get cmake variables from core/cmake/BareosSetVariableDefaults.cmake
|
||||
DEPEND="
|
||||
!app-backup/bacula
|
||||
acct-group/${PN}
|
||||
!x86? (
|
||||
ceph? ( sys-cluster/ceph )
|
||||
)
|
||||
glusterfs? ( sys-cluster/glusterfs )
|
||||
lmdb? ( dev-db/lmdb )
|
||||
dev-libs/gmp:0
|
||||
!clientonly? (
|
||||
acct-user/${PN}
|
||||
postgres? ( dev-db/postgresql:*[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
director? (
|
||||
virtual/mta
|
||||
jansson? ( dev-libs/jansson:= )
|
||||
)
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
ndmp? ( net-libs/rpcsvc-proto )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses:=[static-libs]
|
||||
dev-libs/openssl:0=[static-libs]
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
dev-libs/lzo
|
||||
dev-libs/openssl:0=
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/zlib
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!clientonly? (
|
||||
storage-daemon? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
"
|
||||
BDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
REQUIRED_USE="
|
||||
!clientonly? ( || ( mysql postgres sqlite ) )
|
||||
static? ( clientonly )
|
||||
x86? ( !ceph )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}-Release-${PV}
|
||||
|
||||
src_prepare() {
|
||||
use mysql && export mydbtypes+=( mysql )
|
||||
use postgres && export mydbtypes+=( postgresql )
|
||||
use sqlite && export mydbtypes+=( sqlite )
|
||||
|
||||
# enables default database driver in catalog
|
||||
pushd core/src/defaultconfigs >&/dev/null || die
|
||||
sed -i -e 's/#dbdriver/dbdriver/' -e '/XXX_REPLACE_WITH_DATABASE_DRIVER_XXX/d' $(grep -rl XXX_REPLACE_WITH_DATABASE_DRIVER_XXX) \
|
||||
|| die "sed on MyCatalog.conf.in failed"
|
||||
popd >&/dev/null || die
|
||||
|
||||
# fix gentoo version detection
|
||||
eapply -p0 "${FILESDIR}/${PN}-cmake-gentoo.patch"
|
||||
|
||||
# fix missing DESTDIR in symlink creation
|
||||
sed -i '/bareos-symlink-default-db-backend.cmake/d' "${S}/core/src/cats/CMakeLists.txt"
|
||||
|
||||
# disable dird and stored plugins, because of
|
||||
# py2 dependency
|
||||
cd "${S}/core/src/plugins"
|
||||
cmake_comment_add_subdirectory dird
|
||||
cmake_comment_add_subdirectory stored
|
||||
cd -
|
||||
|
||||
CMAKE_USE_DIR="$S/core"
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=()
|
||||
|
||||
CMAKE_USE_DIR="$S/core"
|
||||
|
||||
pushd core/platforms >&/dev/null || die
|
||||
cmake_comment_add_subdirectory '${DISTNAME}'
|
||||
popd >&/dev/null || die
|
||||
|
||||
if use clientonly; then
|
||||
mycmakeargs+=(
|
||||
-Dclient-only=ON
|
||||
-Dstatic-cons=$(usex static)
|
||||
-Dstatic-fd=$(usex static)
|
||||
)
|
||||
fi
|
||||
|
||||
for useflag in acl ipv6 ndmp scsi-crypto \
|
||||
systemd mysql lmdb; do
|
||||
mycmakeargs+=( -D$useflag=$(usex $useflag) )
|
||||
done
|
||||
|
||||
mycmakeargs+=(
|
||||
-DHAVE_PYTHON=0
|
||||
-DDEFAULT_DB_TYPE=${mydbtypes[0]}
|
||||
-Darchivedir=/var/lib/bareos/storage
|
||||
-Dbackenddir=/usr/$(get_libdir)/${PN}/backend
|
||||
-Dbasename="`hostname -s`"
|
||||
-Dbatch-insert=yes
|
||||
-Dbsrdir=/var/lib/bareos/bsr
|
||||
-Dconfdir=/etc/bareos
|
||||
-Dcoverage=no
|
||||
-Ddb_password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1`
|
||||
-Ddir-group=bareos
|
||||
-Ddir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Ddir-user=bareos
|
||||
-Ddocdir=/usr/share/doc/${PF}
|
||||
-Ddynamic-cats-backends=yes
|
||||
-Ddynamic-storage-backends=yes
|
||||
-Dfd-group=bareos
|
||||
-Dfd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dfd-user=root
|
||||
-Dhost=${CHOST}
|
||||
-Dhostname="`hostname -s`"
|
||||
-Dhtmldir=/usr/share/doc/${PF}/html
|
||||
-Dlibdir=/usr/$(get_libdir)
|
||||
-Dlogdir=/var/log/bareos
|
||||
-Dmandir=/usr/share/man
|
||||
-Dmon-dir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dmon-fd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dmon-sd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dmysql=$(usex mysql)
|
||||
-Dopenssl=yes
|
||||
-Dpiddir=/run/bareos
|
||||
-Dplugindir=/usr/$(get_libdir)/${PN}/plugin
|
||||
-Dpostgresql=$(usex postgres)
|
||||
-Dsbin-perm=0755
|
||||
-Dsbindir=/usr/sbin
|
||||
-Dscriptdir=/usr/libexec/bareos
|
||||
-Dsd-group=bareos
|
||||
-Dsd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dsd-user=root
|
||||
-Dsqlite3=$(usex sqlite)
|
||||
-Dsubsysdir=/run/lock/subsys
|
||||
-Dsysconfdir=/etc
|
||||
-Dworkingdir=/var/lib/bareos
|
||||
-Dx=$(usex X)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd,startmysql,stopmysql}
|
||||
rm -f "${D}"/usr/sbin/bareos
|
||||
|
||||
# remove timelimit to fix #778557
|
||||
rm -f "${D}"/usr/{,s}bin/timelimit
|
||||
|
||||
# remove upstream init scripts and systemd units
|
||||
rm -f "${D}"/etc/init.d/bareos-* "${D}"/lib/systemd/system/bareos-*.service
|
||||
|
||||
# rename statically linked apps
|
||||
if use clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bareos-fd bareos-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use clientonly; then
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/core/scripts/logrotate bareos
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/core/scripts/logwatch >&/dev/null || die
|
||||
|
||||
into /etc/log.d/scripts/services
|
||||
dobin bareos
|
||||
|
||||
into /etc/log.d/scripts/shared
|
||||
dobin applybareosdate
|
||||
|
||||
insinto /etc/log.d/conf/logfiles
|
||||
newins logfile.bareos.conf bareos.conf
|
||||
|
||||
insinto /etc/log.d/conf/services
|
||||
newins services.bareos.conf bareos.conf
|
||||
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1*
|
||||
if use clientonly || ! use director; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/share/man/man8/bwild.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bregex.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bpluginfo.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup
|
||||
fi
|
||||
if use clientonly || ! use storage-daemon; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/dvd-handler
|
||||
rm -vf "${D}"/etc/bareos/mtx-changer.conf
|
||||
fi
|
||||
if ! use scsi-crypto; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bscrypto.8*
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc README.md
|
||||
dodoc core/README.configsubdirectories
|
||||
use glusterfs dodoc core/README.glusterfs
|
||||
use ndmp && dodoc core/README.NDMP
|
||||
use scsi-crypto && dodoc core/README.scsicrypto
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins core/scripts/bareos.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins core/scripts/filetype.vim bareos_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bareos-fd"
|
||||
if ! use clientonly; then
|
||||
if use director; then
|
||||
myscripts+=" bareos-dir"
|
||||
fi
|
||||
if use storage-daemon; then
|
||||
myscripts+=" bareos-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependency for the director init script
|
||||
case "${script}" in
|
||||
bareos-dir)
|
||||
sed -i -e "s:%databasetypes%:${mydbtypes[*]}:" "${T}/${script}".confd || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# install systemd unit files
|
||||
if use systemd; then
|
||||
if ! use clientonly; then
|
||||
use director && systemd_dounit "${FILESDIR}"/bareos-dir.service
|
||||
use storage-daemon && systemd_dounit "${FILESDIR}"/bareos-sd.service
|
||||
fi
|
||||
systemd_dounit "${FILESDIR}"/bareos-fd.service
|
||||
fi
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bareos
|
||||
keepdir /var/lib/bareos/storage
|
||||
|
||||
diropts -m0755
|
||||
keepdir /var/log/bareos
|
||||
|
||||
newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf
|
||||
|
||||
# make sure bareos group can execute bareos libexec scripts
|
||||
fowners -R root:bareos /usr/libexec/bareos
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process bareos.conf
|
||||
|
||||
if use clientonly; then
|
||||
fowners root:bareos /var/lib/bareos
|
||||
else
|
||||
fowners bareos:bareos /var/lib/bareos
|
||||
fi
|
||||
|
||||
if ! use clientonly && use director; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the database:"
|
||||
if use postgres; then
|
||||
einfo
|
||||
einfo "For postgresql:"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges postgresql'"
|
||||
fi
|
||||
if use mysql; then
|
||||
einfo
|
||||
einfo "For mysql:"
|
||||
einfo
|
||||
einfo " Make sure root has direct access to your mysql server. You may want to"
|
||||
einfo " create a /root/.my.cnf file with"
|
||||
einfo " [client]"
|
||||
einfo " user=root"
|
||||
einfo " password=YourPasswordForAccessingMysqlAsRoot"
|
||||
einfo " before running:"
|
||||
einfo " /usr/libexec/bareos/create_bareos_database mysql"
|
||||
einfo " /usr/libexec/bareos/make_bareos_tables mysql"
|
||||
einfo " /usr/libexec/bareos/grant_bareos_privileges mysql"
|
||||
fi
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
einfo
|
||||
einfo "Be aware that Bareos does not officially support SQLite database."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
einfo "It is strongly recommended to use either postgresql or mysql as"
|
||||
einfo "catalog database backend."
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,394 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
CMAKE_WARN_UNUSED_CLI=no
|
||||
#CMAKE_REMOVE_MODULES=yes
|
||||
|
||||
inherit python-any-r1 systemd cmake tmpfiles
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="https://www.bareos.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X acl ceph clientonly +director glusterfs ipv6 jansson lmdb
|
||||
logwatch mysql ndmp +postgres readline scsi-crypto
|
||||
sqlite static +storage-daemon systemd tcpd vim-syntax vmware xattr"
|
||||
|
||||
# get cmake variables from core/cmake/BareosSetVariableDefaults.cmake
|
||||
DEPEND="
|
||||
!app-backup/bacula
|
||||
acct-group/${PN}
|
||||
!x86? (
|
||||
ceph? ( sys-cluster/ceph )
|
||||
)
|
||||
glusterfs? ( sys-cluster/glusterfs )
|
||||
lmdb? ( dev-db/lmdb )
|
||||
dev-libs/gmp:0
|
||||
!clientonly? (
|
||||
acct-user/${PN}
|
||||
postgres? ( dev-db/postgresql:*[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
director? (
|
||||
virtual/mta
|
||||
jansson? ( dev-libs/jansson:= )
|
||||
)
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
ndmp? ( net-libs/rpcsvc-proto )
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses:=[static-libs]
|
||||
dev-libs/openssl:0=[static-libs]
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
dev-libs/lzo
|
||||
dev-libs/openssl:0=
|
||||
sys-libs/ncurses:=
|
||||
sys-libs/zlib
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!clientonly? (
|
||||
storage-daemon? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
"
|
||||
BDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
REQUIRED_USE="
|
||||
!clientonly? ( || ( mysql postgres sqlite ) )
|
||||
static? ( clientonly )
|
||||
x86? ( !ceph )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}-Release-${PV}
|
||||
|
||||
src_prepare() {
|
||||
use mysql && export mydbtypes+=( mysql )
|
||||
use postgres && export mydbtypes+=( postgresql )
|
||||
use sqlite && export mydbtypes+=( sqlite )
|
||||
|
||||
# enables default database driver in catalog
|
||||
pushd core/src/defaultconfigs >&/dev/null || die
|
||||
sed -i -e 's/#dbdriver/dbdriver/' -e '/XXX_REPLACE_WITH_DATABASE_DRIVER_XXX/d' $(grep -rl XXX_REPLACE_WITH_DATABASE_DRIVER_XXX) \
|
||||
|| die "sed on MyCatalog.conf.in failed"
|
||||
popd >&/dev/null || die
|
||||
|
||||
# fix gentoo platform support
|
||||
eapply -p1 "${FILESDIR}/${PN}-20.0.2-cmake-gentoo.patch"
|
||||
|
||||
# fix missing DESTDIR in symlink creation
|
||||
sed -i '/bareos-symlink-default-db-backend.cmake/d' "${S}/core/src/cats/CMakeLists.txt"
|
||||
|
||||
# disable dird and stored plugins, because of
|
||||
# py2 dependency
|
||||
cd "${S}/core/src/plugins"
|
||||
cmake_comment_add_subdirectory dird
|
||||
cmake_comment_add_subdirectory stored
|
||||
cd -
|
||||
|
||||
CMAKE_USE_DIR="$S/core"
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=()
|
||||
|
||||
CMAKE_USE_DIR="$S/core"
|
||||
|
||||
pushd core/platforms >&/dev/null || die
|
||||
cmake_comment_add_subdirectory '${DISTNAME}'
|
||||
popd >&/dev/null || die
|
||||
|
||||
if use clientonly; then
|
||||
mycmakeargs+=(
|
||||
-Dclient-only=ON
|
||||
-Dstatic-cons=$(usex static)
|
||||
-Dstatic-fd=$(usex static)
|
||||
)
|
||||
fi
|
||||
|
||||
for useflag in acl ipv6 ndmp scsi-crypto \
|
||||
systemd mysql lmdb; do
|
||||
mycmakeargs+=( -D$useflag=$(usex $useflag) )
|
||||
done
|
||||
|
||||
mycmakeargs+=(
|
||||
-DHAVE_PYTHON=0
|
||||
-DDEFAULT_DB_TYPE=${mydbtypes[0]}
|
||||
-Darchivedir=/var/lib/bareos/storage
|
||||
-Dbackenddir=/usr/$(get_libdir)/${PN}/backend
|
||||
-Dbasename="`hostname -s`"
|
||||
-Dbatch-insert=yes
|
||||
-Dbsrdir=/var/lib/bareos/bsr
|
||||
-Dconfdir=/etc/bareos
|
||||
-Dcoverage=no
|
||||
-Ddb_password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1`
|
||||
-Ddir-group=bareos
|
||||
-Ddir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Ddir-user=bareos
|
||||
-Ddocdir=/usr/share/doc/${PF}
|
||||
-Ddynamic-cats-backends=yes
|
||||
-Ddynamic-storage-backends=yes
|
||||
-Dfd-group=bareos
|
||||
-Dfd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dfd-user=root
|
||||
-Dhost=${CHOST}
|
||||
-Dhostname="`hostname -s`"
|
||||
-Dhtmldir=/usr/share/doc/${PF}/html
|
||||
-Dlibdir=/usr/$(get_libdir)
|
||||
-Dlogdir=/var/log/bareos
|
||||
-Dmandir=/usr/share/man
|
||||
-Dmon-dir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dmon-fd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dmon-sd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dmysql=$(usex mysql)
|
||||
-Dopenssl=yes
|
||||
-Dpiddir=/run/bareos
|
||||
-Dplugindir=/usr/$(get_libdir)/${PN}/plugin
|
||||
-Dpostgresql=$(usex postgres)
|
||||
-Dsbin-perm=0755
|
||||
-Dsbindir=/usr/sbin
|
||||
-Dscriptdir=/usr/libexec/bareos
|
||||
-Dsd-group=bareos
|
||||
-Dsd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||
-Dsd-user=root
|
||||
-Dsqlite3=$(usex sqlite)
|
||||
-Dsubsysdir=/run/lock/subsys
|
||||
-Dsysconfdir=/etc
|
||||
-Dworkingdir=/var/lib/bareos
|
||||
-Dx=$(usex X)
|
||||
)
|
||||
|
||||
# disable droplet support for now as it does not build with gcc 10
|
||||
# ... and this is a bundled lib, which should have its own package
|
||||
cd core && cmake_comment_add_subdirectory "src/droplet"
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd,startmysql,stopmysql}
|
||||
rm -f "${D}"/usr/sbin/bareos
|
||||
|
||||
# remove upstream init scripts and systemd units
|
||||
rm -f "${D}"/etc/init.d/bareos-* "${D}"/lib/systemd/system/bareos-*.service
|
||||
|
||||
# remove misc stuff we do not need in production
|
||||
rm -f "${D}"/etc/bareos/bareos-regress.conf
|
||||
rm -f "${D}"/etc/logrotate.d/bareos-dir
|
||||
|
||||
# get rid of py2 stuff
|
||||
rm -rf "$D"/usr/lib64/python2.7
|
||||
rm -f "$D"/usr/lib64/bareos/plugin/python-fd.so
|
||||
if ! use vmware; then
|
||||
rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py}
|
||||
fi
|
||||
|
||||
# rename statically linked apps
|
||||
if use clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bareos-fd bareos-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use clientonly; then
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/core/scripts/logrotate bareos
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/core/scripts/logwatch >&/dev/null || die
|
||||
|
||||
into /etc/log.d/scripts/services
|
||||
dobin bareos
|
||||
|
||||
into /etc/log.d/scripts/shared
|
||||
dobin applybareosdate
|
||||
|
||||
insinto /etc/log.d/conf/logfiles
|
||||
newins logfile.bareos.conf bareos.conf
|
||||
|
||||
insinto /etc/log.d/conf/services
|
||||
newins services.bareos.conf bareos.conf
|
||||
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1*
|
||||
if use clientonly || ! use director; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/share/man/man8/bwild.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bregex.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bpluginfo.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bareos/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup
|
||||
fi
|
||||
if use clientonly || ! use storage-daemon; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bareos-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bareos/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bareos/dvd-handler
|
||||
rm -vf "${D}"/etc/bareos/mtx-changer.conf
|
||||
fi
|
||||
if ! use scsi-crypto; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bscrypto.8*
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc README.md
|
||||
dodoc core/README.configsubdirectories
|
||||
use glusterfs dodoc core/README.glusterfs
|
||||
use ndmp && dodoc core/README.NDMP
|
||||
use scsi-crypto && dodoc core/README.scsicrypto
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins core/scripts/bareos.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins core/scripts/filetype.vim bareos_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bareos-fd"
|
||||
if ! use clientonly; then
|
||||
if use director; then
|
||||
myscripts+=" bareos-dir"
|
||||
fi
|
||||
if use storage-daemon; then
|
||||
myscripts+=" bareos-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependency for the director init script
|
||||
case "${script}" in
|
||||
bareos-dir)
|
||||
sed -i -e "s:%databasetypes%:${mydbtypes[*]}:" "${T}/${script}".confd || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# install systemd unit files
|
||||
if use systemd; then
|
||||
if ! use clientonly; then
|
||||
use director && systemd_dounit "${FILESDIR}"/bareos-dir.service
|
||||
use storage-daemon && systemd_dounit "${FILESDIR}"/bareos-sd.service
|
||||
fi
|
||||
systemd_dounit "${FILESDIR}"/bareos-fd.service
|
||||
fi
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bareos
|
||||
keepdir /var/lib/bareos/storage
|
||||
|
||||
diropts -m0755
|
||||
keepdir /var/log/bareos
|
||||
|
||||
newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf
|
||||
|
||||
# make sure bareos group can execute bareos libexec scripts
|
||||
fowners -R root:bareos /usr/libexec/bareos
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process bareos.conf
|
||||
|
||||
if use clientonly; then
|
||||
fowners root:bareos /var/lib/bareos
|
||||
else
|
||||
fowners bareos:bareos /var/lib/bareos
|
||||
fi
|
||||
|
||||
if ! use clientonly && use director; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the database:"
|
||||
if use postgres; then
|
||||
einfo
|
||||
einfo "For postgresql:"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables postgresql'"
|
||||
einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges postgresql'"
|
||||
fi
|
||||
if use mysql; then
|
||||
einfo
|
||||
einfo "For mysql:"
|
||||
einfo
|
||||
einfo " Make sure root has direct access to your mysql server. You may want to"
|
||||
einfo " create a /root/.my.cnf file with"
|
||||
einfo " [client]"
|
||||
einfo " user=root"
|
||||
einfo " password=YourPasswordForAccessingMysqlAsRoot"
|
||||
einfo " before running:"
|
||||
einfo " /usr/libexec/bareos/create_bareos_database mysql"
|
||||
einfo " /usr/libexec/bareos/make_bareos_tables mysql"
|
||||
einfo " /usr/libexec/bareos/grant_bareos_privileges mysql"
|
||||
fi
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
einfo
|
||||
einfo "Be aware that Bareos does not officially support SQLite database."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
einfo "It is strongly recommended to use either postgresql or mysql as"
|
||||
einfo "catalog database backend."
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
diff -urw bareos-Release-20.0.2.orig/core/cmake/distname.sh bareos-Release-20.0.2/core/cmake/distname.sh
|
||||
--- bareos-Release-20.0.2.orig/core/cmake/distname.sh 2021-06-10 06:07:18.000000000 -0930
|
||||
+++ bareos-Release-20.0.2/core/cmake/distname.sh 2021-08-15 17:07:37.168216517 -0930
|
||||
@@ -153,7 +153,7 @@
|
||||
elif test -f /etc/gentoo-release
|
||||
then
|
||||
PLATFORM=gentoo
|
||||
- DISTVER=`awk '/version / { print $5 }' < /etc/gentoo-release`
|
||||
+ DISTVER=`awk '/release / { print $5 }' < /etc/gentoo-release`
|
||||
elif test -f /etc/debian_version
|
||||
then
|
||||
if `test -f /etc/apt/sources.list && grep -q ubuntu /etc/apt/sources.list`; then
|
||||
diff -urw bareos-Release-20.0.2.orig/core/platforms/CMakeLists.txt bareos-Release-20.0.2/core/platforms/CMakeLists.txt
|
||||
--- bareos-Release-20.0.2.orig/core/platforms/CMakeLists.txt 2021-06-10 06:07:18.000000000 -0930
|
||||
+++ bareos-Release-20.0.2/core/platforms/CMakeLists.txt 2021-08-15 17:07:37.549226558 -0930
|
||||
@@ -30,6 +30,8 @@
|
||||
message(STATUS "adding subdirectories debian and univention")
|
||||
add_subdirectory(debian)
|
||||
add_subdirectory(univention)
|
||||
+ elseif(${PLATFORM} STREQUAL gentoo)
|
||||
+ message(STATUS "PLATFORM: " ${PLATFORM})
|
||||
elseif(${PLATFORM} STREQUAL hpux)
|
||||
message(STATUS "PLATFORM: " ${PLATFORM})
|
||||
elseif(${PLATFORM} STREQUAL archlinux)
|
@ -1,11 +0,0 @@
|
||||
--- core/cmake/distname.sh.orig 2019-01-31 12:39:26.000000000 +0100
|
||||
+++ core/cmake/distname.sh 2019-02-05 10:26:43.258936535 +0100
|
||||
@@ -134,7 +134,7 @@
|
||||
elif test -f /etc/gentoo-release
|
||||
then
|
||||
DISTNAME=gentoo
|
||||
- DISTVER=`awk '/version / { print $5 }' < /etc/gentoo-release`
|
||||
+ DISTVER=`awk '/release / { print $5 }' < /etc/gentoo-release`
|
||||
elif test -f /etc/debian_version
|
||||
then
|
||||
if `test -f /etc/apt/sources.list && grep -q ubuntu /etc/apt/sources.list`; then
|
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
AUX cuecue-0.2.2-configure.patch 369 BLAKE2B 7741dc8132b8e43c091bd2baa3b250b5fa90d51c2b40cdebbac96327f1f1987ce642f592d33200849d3a161953b846cfc1bd2ecfb3c43a1329fcefc672086c33 SHA512 d3107491e9605dc8b251c0b0b15408f4ebada63fa2cfc91987e8214d27386fed43a4cc468b5a4a4cf175a90917f03631a5fa94e3f60a451e31e3051bdfebf6b8
|
||||
AUX cuecue-0.2.2-flac113.diff 3528 BLAKE2B ea1daa82d58df58fbfc4ee9b95980f93c1a06090da5765c4f8e2fb09feea9af1b626a51ef06edac24ec1eaf0ebfc93b0d2419ad0240125e41870d894b2a57b90 SHA512 af0bcc1ca7208b9713763b823792becb8785d442cc8f51240c470096b3d90eb21bc36230ec422b42401fa0cfa335aedb578507174083de1b2ffdb01d5f5e3fb6
|
||||
AUX cuecue-0.2.2-fno-common.patch 366 BLAKE2B a4218bf38d1165ca644894a199a882e0b9ebdc56830171aa8efe085b2d678175bb5ef0c2a2bd3004cb6ce24d08d74cfec8391d7f39fba808277276c06aa2b118 SHA512 800c3d2214491ce96aed222659f45e57eb2734bfeedcdcb677bd9b5f18ec29143d17acc2a7ab032a94f249cbb65e1bf299c16cefca0ddfd0fbd7f05af879ca4a
|
||||
AUX cuecue-0.2.2-namespace.patch 200 BLAKE2B 20a1471d2c7bb4ce08335bda46f1cf8c1e7656aebd9364e26b9847e21edf87f2cdbc20eac3b8cf2921c4e427053535865efec1e622af17723443c597f7c91a3d SHA512 8b0ee39e60e913347f7aac6517e3a150e829099cf5ada6e76e3e4fd2673692c83061b8903676902a1cf6d7f3101ef6cf0a10858f36c44995a207b30ca39d826c
|
||||
AUX cuecue-0.2.2-unused.patch 448 BLAKE2B 6ee232d07362cd285e6a7712473f7e99f6d487f08b13f8dc1f7b2e8f145f91aa39c34f3f15399057abf7eabd4fda00495fd546ec7df9503b1295a945cd23bc0a SHA512 d3cf53c0aa25cc8d3a88852564d9bc6eb6a6fd51eff4fc8348a0601ffb268d4d2078fbca6d719b3783587eec97f78fcccd76431e68307b655bcdfe09be6d17b2
|
||||
DIST cuecue-0.2.2.tar.gz 97927 BLAKE2B f3577ca59fc277ecd1c6bf68a5ccfa127ae92a00c52a4da00f2be90b87df0522407b7cca616dd44d5d9af44790ca6db146224decfd632d26893d14db9fba3c28 SHA512 586ff819910532f19bf5c0b9ca61b3efe89a4699b05dba2ca6f4a9b78a1716264238e874405486f6b006cf84ed19a1cc96af510f815af9cdb0b76be3e1011595
|
||||
EBUILD cuecue-0.2.2-r4.ebuild 1087 BLAKE2B 2176d3a13ed5879e5bcd58c6ed1bb3116d0034ce5ccc22fe873e6ca3dea6c4830674dd214be4fdb2430c37c41e573074cdc63a50db93e8b30b6423c83ada5d5b SHA512 268e73743c14f4e621d1f07552c8c91b73706831a6ab3a145d1dc2df5777f6847824b17c4cd979d596a740eaeb9a3520a12a2047585108fa4307ce5475d3aad4
|
||||
EBUILD cuecue-0.2.2-r5.ebuild 1286 BLAKE2B ae90c35e174da97ad6ce171c0358d6f75ad507388237831ff5724cc68f085a4b4999fa4cf87cddeb66725786e455bbdba3f02b5bf866bc38c6aae1bca2caa269 SHA512 0cedddf1a0e10be41894ab6b3f733319d48149129f3d251abfdd981f246a6abf555850714dc14a38644cbd637b66d44fdd30c5d2e991b4352764d4319c310717
|
||||
MISC metadata.xml 380 BLAKE2B 48067ec4e9c856443913ae891749b39139774ed08b1af6e1cae024b2ef6144e281d49f1f0e0d21045d79121725c7c3b2f7c9ed0b08750f57ca9681401ed75abb SHA512 9f5d673193d23f030baa11945fbe7bb697ce2052d6bc82c3c4023bd3a88c6f7b4d6dcd163b6d9e8460c2106eca7e59c2c13de723d3ed3d32e3df36b6b91ef838
|
||||
|
@ -0,0 +1,13 @@
|
||||
-ansi -pednatic breaks various configure tests. autoconf already says
|
||||
not to use -Werror but any -W* is dangerous for configure itself.
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -4,7 +4,7 @@ dnl AM_INIT_AUTOMAKE
|
||||
|
||||
AC_CONFIG_SRCDIR(src/libcuecue/cuecue.c)
|
||||
|
||||
-CFLAGS="$CFLAGS -Wall -ansi -pedantic -g -Os"
|
||||
+CFLAGS="-Wall -O2 ${CFLAGS}"
|
||||
VERSION=0.2.2
|
||||
|
||||
PACKAGE="cuecue"
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST buildah-1.27.1.tar.gz 14825932 BLAKE2B bf290eeb4d96d255c7cdaa07af49eff44191664ac7dee255c7979656383daaa93c3673ba82ac1cbff033de769ffa08ad027f5d91c81b08a36222cb73e8a1e399 SHA512 a5e2ddf837e613554ffe8fe9c15ac9c8f9c2564c403e5544df7fb8802962581fb4e9dd4361c28c93443ede74c20c82f1631990e443c7895a3b4c3b8a659ee05a
|
||||
DIST buildah-1.28.0.tar.gz 14579386 BLAKE2B effc7d0a154e30790585c19e19655f98026c34687e79b91777700bc2f387b96896d88855cd5ec34573dd2678e4a30a832c39f789d53b61b45cb5f682dacd252e SHA512 f5e82a22648fa0d0ba7f5dcf3b97a2ec1182f31d3e03cd2624e01fe76fcdddf0a5605c59816eeef6401d151864b6b6be493c144b83f5667ab3947eea902f0086
|
||||
DIST buildah-1.28.1.tar.gz 14576193 BLAKE2B 5317b991780b0c2539802495a2a15e91d4e1623700d0a3fa354e362bd647e59a0e9c34d8f19858e129d0028c71bb04665bde7668e3b5f3f3e5b85c944f7108b5 SHA512 c674a90a0cae2977b76c2b68c06a0006f89d74b5b41362c2512a3f8d7ba515c3bd693648a0ba955dad7bea1a43da6890d80855e1283f0fc0136d16d77a798fba
|
||||
EBUILD buildah-1.27.1.ebuild 1196 BLAKE2B b9b0c03282cd8d03a88649c1156361c8eaf64009147a8f78b9f9f7ab7c72dbb3d340221bc73e36ea1478d46a72e6c57622451c34b8e7f511fba93554dd0afdb7 SHA512 2c64885a361dbe355b5d8cfce1e9febc223fd1331dc3e7358f9f32f2281e8992d00c74de2337aafde4aab6473bfdd2a67aaab7597de8904bca2ad913c060b6a7
|
||||
EBUILD buildah-1.28.0.ebuild 1198 BLAKE2B 3c5a4ddabe6075badd8595d46c9f12764e173690fb5cfc67cb5a2e60cf8bc3dbce1d6d05d548a41740cf346e9498313c05497d4a71632848d60b6eb3d9d740ac SHA512 128aae74d0c13b6ec7a9cf7a2c3b09cefd13606ab4c685d72d85bca6f36723943a08918d315dc3f8328c622bdde2fd099fa3bce35db99e297c44e802c97d9df9
|
||||
EBUILD buildah-1.28.1.ebuild 1198 BLAKE2B b7ea4bc84b50a4ce3a48208f4a5f95eec49954709ec59ee1a0f79b57554aa581f6fa90b9a59e34b2ba1b47a0dce5cf295a5a74d7696a859b93079399f77dd853 SHA512 3b2f433fe794e8c7e0fb598018c20895db04479b2d03544c126dd83fb2a17cb1ed03d4efe2210b0423f3957b2c5a159e21fd0628c54ebc8bc14444087c7e6cd5
|
||||
MISC metadata.xml 328 BLAKE2B 55d2d2b5cc972b7e6b6fb77d14e79e304adcbc7056ff351f5ee3cac6cf5f83b4ef2a10c70754d1d30a5ecd88e652abc07cddd8005c3767e7f709c0c5cb61d068 SHA512 7520f5745909da195d4bfdd750e4c716c461a3789adfde56dd9be46b91dfb789653d642c0958b5a2950eea220cc00143bfcd5db402fcc2578c8fe5f8ff69275f
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit bash-completion-r1 go-module
|
||||
GIT_COMMIT=d3d40a42
|
||||
|
||||
DESCRIPTION="A tool that facilitates building OCI images"
|
||||
HOMEPAGE="https://github.com/containers/buildah"
|
||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="app-crypt/gpgme:=
|
||||
app-containers/skopeo
|
||||
dev-libs/libgpg-error:=
|
||||
dev-libs/libassuan:=
|
||||
sys-apps/shadow:=
|
||||
sys-fs/lvm2:=
|
||||
sys-libs/libseccomp:=
|
||||
selinux? ( sys-libs/libselinux:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ -f selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
selinux_tag.sh || die; }
|
||||
sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GIT_COMMIT=${GIT_COMMIT} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
|
||||
doman docs/*.1
|
||||
dodoc -r docs/tutorials
|
||||
dobin bin/{${PN},imgtype}
|
||||
dobashcomp contrib/completions/bash/buildah
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test-unit
|
||||
}
|
@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGIT_COMMIT="814b7b003cc630bf6ab188274706c383f9fb9915"
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic go-module tmpfiles
|
||||
|
||||
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||
HOMEPAGE="https://github.com/containers/podman/"
|
||||
MY_PN=podman
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="apparmor btrfs cgroup-hybrid +fuse +init +rootless selinux"
|
||||
RESTRICT+=" test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-containers/conmon-2.0.0
|
||||
cgroup-hybrid? ( >=app-containers/runc-1.0.0_rc6 )
|
||||
!cgroup-hybrid? ( app-containers/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
>=app-containers/cni-plugins-0.8.6
|
||||
sys-apps/shadow:=
|
||||
sys-fs/lvm2
|
||||
sys-libs/libseccomp:=
|
||||
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
init? ( app-containers/catatonit )
|
||||
rootless? ( app-containers/slirp4netns )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
fuse? ( sys-fs/fuse-overlayfs )
|
||||
selinux? ( sec-policy/selinux-podman )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
-e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local git_commit=${EGIT_COMMIT}
|
||||
|
||||
# Filter unsupported linker flags
|
||||
filter-flags '-Wl,*'
|
||||
|
||||
[[ -f hack/apparmor_tag.sh ]] || die
|
||||
if use apparmor; then
|
||||
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
if use btrfs; then
|
||||
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die
|
||||
fi
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
if use selinux; then
|
||||
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||
else
|
||||
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||
fi
|
||||
|
||||
# Avoid this error when generating pkg/varlink/iopodman.go:
|
||||
# cannot find package "github.com/varlink/go/varlink/idl"
|
||||
mkdir -p _output || die
|
||||
ln -snf ../vendor _output/src || die
|
||||
GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die
|
||||
rm _output/src || die
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${git_commit}" \
|
||||
GIT_COMMIT="${git_commit}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||
|
||||
insinto /etc/containers
|
||||
newins test/registries.conf registries.conf.example
|
||||
newins test/policy.json policy.json.example
|
||||
|
||||
insinto /usr/share/containers
|
||||
doins vendor/github.com/containers/common/pkg/seccomp/seccomp.json
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins completions/zsh/*
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins completions/fish/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-containers/podman[rootless]' || PODMAN_ROOTLESS_UPGRADE=true
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process podman.conf
|
||||
|
||||
local want_newline=false
|
||||
if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then
|
||||
elog "You need to create the following config files:"
|
||||
elog "/etc/containers/registries.conf"
|
||||
elog "/etc/containers/policy.json"
|
||||
elog "To copy over default examples, use:"
|
||||
elog "cp /etc/containers/registries.conf{.example,}"
|
||||
elog "cp /etc/containers/policy.json{.example,}"
|
||||
want_newline=true
|
||||
fi
|
||||
if [[ ${PODMAN_ROOTLESS_UPGRADE} == true ]] ; then
|
||||
${want_newline} && elog ""
|
||||
elog "For rootless operation, you need to configure subuid/subgid"
|
||||
elog "for user running podman. In case subuid/subgid has only been"
|
||||
elog "configured for root, run:"
|
||||
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||
want_newline=true
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
AUX 99acme-sh 62 BLAKE2B b9542b99b2e720e0930139f7dd56efc63e596156dca1649624f6f4c27a7d57555bb13deb3b5714aa06477e9ca79996b5f891c8a91ea808d853cc7e5d5655b0a0 SHA512 b7fc9402e3bea3ca846bdb82d6f21d1b7023bb2ace8d5ffd146959cd12e3270243fd22e3a7dde9b6cefae8f2cbca369b35d2da4ea9f1e60a2f61ae81612d8bc5
|
||||
AUX acme.sh 63 BLAKE2B 50c3284c0172ff0a0dc57fcfbaba57a6518d7c043b5d052f2710b28229b9b13313e7ca7c8b644ea273eb2f4991246631e70e6184fb5489005be12b77b8efa229 SHA512 7ec0764c86db5c68c42189a8af708e769189df201fdf017bd0d8d9e322ab71c2f422be382d170a1f4b876a1e5a6629eb55df0c564abfebab665e27e58660ff6e
|
||||
DIST acme.sh-3.0.4.tar.gz 253157 BLAKE2B b1bde1ca31ef34c264f5045dd36220b3fd04230c59f7e65a9623681377dbde161ed3b92d86bd3e6f5a115d8847b1c2019bf984194f2901b52eb65abefad8bf81 SHA512 919987ac026366d245fa2730edf1212deafb051129811f35b482a30af9b0034a802baa218a35048e030795127cfeae03b4c3d4f12e580cd82edbacdd72e588e7
|
||||
EBUILD acme-sh-3.0.4.ebuild 1233 BLAKE2B 69ebd222df639a4b1696edc3e3384390193128306861d7b64a2f35fb611a4ff18d8f7ee1dd84542702896ba82d7edd100d33b5d2432fcdbef56e919dda798cbf SHA512 46cec2814968b97dfb63f7d7f4ee8c895a1102b74a6fbff09111e6b8305e1ab38be54706f376466e1a64254b4bbe66eb8999b25ca3a63f430f9dc8ab9ce20aa3
|
||||
DIST acme.sh-3.0.5.tar.gz 270092 BLAKE2B daba86ec09df80d374d1ea632f2bc84ecfbf665874d10fcb410e1bde7787551bb8b128e1ed0a4dc7943f821aaba6f9ae43b83225875f389d02d20d47b6fdf8f3 SHA512 882768c84182a8b11f4f315a9b429cd84399145a97b64772a42e0c7fc478c6c5f93a6c73289410b4d2108786a7c275e99f2e47991bdca315fd7d80a4282eefc9
|
||||
EBUILD acme-sh-3.0.5.ebuild 1244 BLAKE2B cc2dcb21ff8b216f91074f8eaa5381e811d2be83b93f66fb65b5787a3087a780ea5d17f47cc3e7f19478e1808259ceb59a9083b651bd967c3a8a00c08d6bf341 SHA512 deb701d30e4944df70349b78c247d08cffb0ec676d49cdf5dc9651a237273317f95a85a186daf8d7b973de6a07b71eee0d6c487c0a69b794a76727006aadbb8c
|
||||
EBUILD acme-sh-9999.ebuild 1125 BLAKE2B f12d96d5937e7369877dd27265f486c51d694b6d764d0e9ae3b85ce284e01d10e9e2715384409e1930a88d586d84a95db46bccd85e01a8b777e668f3a250b0fa SHA512 1c96737632ff0cbaa9b636d01134807e140c9122ce695fcf301df5ba55acf06c0ab2b5a04c103e1a6fb3cc1d3a5d72111cf3df955fa765c349d6f3a9edc8fbb3
|
||||
MISC metadata.xml 677 BLAKE2B 783e74dfc78dc11568fe72316c5bd100d18fd5c90987d9c21386930f98713d6be5de74d395ed919a8dd7986f0bada50d16c24a670ba856318d103b186a514046 SHA512 6a34e252d900761bc12fe5b1f8d8b8277fded6685f8495a307de4906a19d797f2a4eb9b84676ae1f5f43720c092e3f3d081ec243dff19efa626d4d538974efc1
|
||||
|
@ -1,6 +1,8 @@
|
||||
DIST certbot-1.31.0.tar.gz 1371459 BLAKE2B 95fc9f29b1e91f5bc12a9b7146d00f4f3b4647eeda8e866c46c17d8d8a2443bd46cfa04758e8571e84b2bbf70bd68943c47ceaf6d830d3e5121e41d9548da051 SHA512 a2f6d7714bfc8e2c400e69be038404da138b53f0dc09e071048d560ba9e9527cc0b786b8d210b62c3d07c3aeadaee12dc0d060d144af4b5c3178576fde65b052
|
||||
DIST certbot-1.32.0.tar.gz 1372897 BLAKE2B ce0be11e07186fa5ec71c52bb728161be3326b86214e13951335f460ed19b3fd7a66eaca242cb51767e0c335c02ceba1c964fc39ab79dd7c3dd2b6a383e47732 SHA512 6addbb14e69dd6206749c5659a114bc2421d948b5d01c95cacf389fc9c23a735881f3eb0c2fc18e6729e3fac95bc86b4b6a1575affe28e94b81255d4ec13b242
|
||||
DIST certbot-2.0.0.tar.gz 1326589 BLAKE2B d1dc7e2c2a807f767d5dd4209b0fe079e18a8859c9a1b1dbdf62f240c123f20d5a63f01c5a92a4463b99f50b343e6956ac9a53c14c576b16bcd46c07f6f775f3 SHA512 c72d428a43d19b105a206931f8fe74e0c68dfc288a2e8667f25b9e292820eccd9ad04a11d9d3c4fcdbcb08cf2adc5f5fad12bd53b8df09dcc77c0a500a30e518
|
||||
EBUILD acme-1.31.0.ebuild 1140 BLAKE2B 109016a04482351c3df89e09489f246b7dcd91473521f1e40a9f0788cdab5c49d662d08d32f359ddd563b9f04a86e3f6d365ccee387756bc25a7a59d973d102d SHA512 696444b8ca4de37ff8eead63b5ce500e80ce0315184a28edb21d39988353a252a285f01dc6a57ff6919d0d12352a1ac5f32747c2271d7b447fc814e0427b2c62
|
||||
EBUILD acme-1.32.0.ebuild 1142 BLAKE2B 3149eedb71a5e80bf3ec01b5e7bb678aba01f63f01e7179c1cb913e14baa1fbdddff209e92db0bad53c31f3aea9fd9d22e74e986d000b851d7531a66d5c73a61 SHA512 83c207826a400e854d8523412a07e40b7c1e5d4b33c7ab17227a0f8515d9241b443b58c76e991f5f9735ff206a08dac662715055f7ec2d45bd5166f9ca26c44d
|
||||
EBUILD acme-9999.ebuild 1142 BLAKE2B 3149eedb71a5e80bf3ec01b5e7bb678aba01f63f01e7179c1cb913e14baa1fbdddff209e92db0bad53c31f3aea9fd9d22e74e986d000b851d7531a66d5c73a61 SHA512 83c207826a400e854d8523412a07e40b7c1e5d4b33c7ab17227a0f8515d9241b443b58c76e991f5f9735ff206a08dac662715055f7ec2d45bd5166f9ca26c44d
|
||||
EBUILD acme-2.0.0.ebuild 1142 BLAKE2B af61465467a32e5a587c4cd49f6a489f02a520fb59a07e432d10ea2df5ab8b4ed44e3bf6b0b84ec83b1441c72753ba48c0e9c7916d39086edabe9577ca05d095 SHA512 96e9dafeea8b14bfc15cb66efd9f4e76c1ecefc704d3e7997c9bc07b8c10956b53842c226195d15a867b80875a4a6278800494a9514d89dcadfb4f75062546c3
|
||||
EBUILD acme-9999.ebuild 1142 BLAKE2B af61465467a32e5a587c4cd49f6a489f02a520fb59a07e432d10ea2df5ab8b4ed44e3bf6b0b84ec83b1441c72753ba48c0e9c7916d39086edabe9577ca05d095 SHA512 96e9dafeea8b14bfc15cb66efd9f4e76c1ecefc704d3e7997c9bc07b8c10956b53842c226195d15a867b80875a4a6278800494a9514d89dcadfb4f75062546c3
|
||||
MISC metadata.xml 401 BLAKE2B 30a2ac1f03749a8e3bb98723c57f47ab6bcf7bfa58c2b6e21c309fae279feca0d3612df6c2a1dafaf27b4f0781c583a140322feac1a1cf2c13e50861cad129ea SHA512 d8e725b71ca81ce4ca6565ed58271b283c25394448f0f48f726f232122577c33d5b2d726e117419b2fae99f9dae29a8080bb9564eccbca13368c83988cf3da01
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
S=${WORKDIR}/certbot-${PV}/acme
|
||||
fi
|
||||
|
||||
DESCRIPTION="An implementation of the ACME protocol"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
|
||||
distutils_enable_tests pytest
|
@ -1,6 +1,8 @@
|
||||
DIST certbot-1.31.0.tar.gz 1371459 BLAKE2B 95fc9f29b1e91f5bc12a9b7146d00f4f3b4647eeda8e866c46c17d8d8a2443bd46cfa04758e8571e84b2bbf70bd68943c47ceaf6d830d3e5121e41d9548da051 SHA512 a2f6d7714bfc8e2c400e69be038404da138b53f0dc09e071048d560ba9e9527cc0b786b8d210b62c3d07c3aeadaee12dc0d060d144af4b5c3178576fde65b052
|
||||
DIST certbot-1.32.0.tar.gz 1372897 BLAKE2B ce0be11e07186fa5ec71c52bb728161be3326b86214e13951335f460ed19b3fd7a66eaca242cb51767e0c335c02ceba1c964fc39ab79dd7c3dd2b6a383e47732 SHA512 6addbb14e69dd6206749c5659a114bc2421d948b5d01c95cacf389fc9c23a735881f3eb0c2fc18e6729e3fac95bc86b4b6a1575affe28e94b81255d4ec13b242
|
||||
DIST certbot-2.0.0.tar.gz 1326589 BLAKE2B d1dc7e2c2a807f767d5dd4209b0fe079e18a8859c9a1b1dbdf62f240c123f20d5a63f01c5a92a4463b99f50b343e6956ac9a53c14c576b16bcd46c07f6f775f3 SHA512 c72d428a43d19b105a206931f8fe74e0c68dfc288a2e8667f25b9e292820eccd9ad04a11d9d3c4fcdbcb08cf2adc5f5fad12bd53b8df09dcc77c0a500a30e518
|
||||
EBUILD certbot-apache-1.31.0.ebuild 945 BLAKE2B 7a7d3e1c404a796a529707becaf6e166b33aa7afe568d91cdfcd7656b19f61ee712ca2d65055445762931917e680c67f20cda811123b733bcf9a40260970c3c7 SHA512 23dddc9757ee6eab0a131a3a84c441680678bfd27548c2651665cd25a1aade2387f405281eafba2304cec0fea0a71065d1b2b12c3f58dc6fbfc7df0fef2e3264
|
||||
EBUILD certbot-apache-1.32.0.ebuild 947 BLAKE2B a48f898df86410229175cb4cc86735136be08f8e163ccd184a7a598d0bbc88c556f243bce3f6ba354cbb0ddcdccaee6903142b8bdb382b61c7326bffa0a99cf0 SHA512 1d2ee7ad9c9a1dcc7955fdf0a2295812abcc934c8853a7406d4bc219ea851bcdeb189330e3b9b5aef486c5494d98e66a512f2c4cb631109f5136cb283a83355c
|
||||
EBUILD certbot-apache-9999.ebuild 947 BLAKE2B a48f898df86410229175cb4cc86735136be08f8e163ccd184a7a598d0bbc88c556f243bce3f6ba354cbb0ddcdccaee6903142b8bdb382b61c7326bffa0a99cf0 SHA512 1d2ee7ad9c9a1dcc7955fdf0a2295812abcc934c8853a7406d4bc219ea851bcdeb189330e3b9b5aef486c5494d98e66a512f2c4cb631109f5136cb283a83355c
|
||||
EBUILD certbot-apache-2.0.0.ebuild 947 BLAKE2B 158a5fe2dafaf8aec9cb10f9c376536e7e303f059344564d5d018175af5f19580f6adc34c153183b52c4f28b7c2ba0879ce7eebb5ae47376789d0aa51c824939 SHA512 6853f06d052b6f3a1a0510de393a8bf99e81475cf4e570d8ce2a5caeded82a1103ce919945f5540d80a41b822e6799a903073531440260a1d396af68840835ed
|
||||
EBUILD certbot-apache-9999.ebuild 947 BLAKE2B 158a5fe2dafaf8aec9cb10f9c376536e7e303f059344564d5d018175af5f19580f6adc34c153183b52c4f28b7c2ba0879ce7eebb5ae47376789d0aa51c824939 SHA512 6853f06d052b6f3a1a0510de393a8bf99e81475cf4e570d8ce2a5caeded82a1103ce919945f5540d80a41b822e6799a903073531440260a1d396af68840835ed
|
||||
MISC metadata.xml 359 BLAKE2B 7f8ac46ecea304579baca80978cc35905720d1950caa183b5b5b297afab8bf6ea328324bacc438e9ecd91176230e42e55deda1c15e1ba73c63b2021ac2842c0f SHA512 a50b1db5a30eac290ac6645fcb30b0d5c4d8e51d83cff284e76358ee4fe7cef9366e40b06f532ba64a2131672972ea10b73541a9bd42cc323c17f6d26f6b0197
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-apache}/${PN%-apache}/archive/v${PV}.tar.gz -> ${PN%-apache}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
S=${WORKDIR}/${PN%-apache}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Apache plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/python-augeas[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,6 +1,8 @@
|
||||
DIST certbot-1.31.0.tar.gz 1371459 BLAKE2B 95fc9f29b1e91f5bc12a9b7146d00f4f3b4647eeda8e866c46c17d8d8a2443bd46cfa04758e8571e84b2bbf70bd68943c47ceaf6d830d3e5121e41d9548da051 SHA512 a2f6d7714bfc8e2c400e69be038404da138b53f0dc09e071048d560ba9e9527cc0b786b8d210b62c3d07c3aeadaee12dc0d060d144af4b5c3178576fde65b052
|
||||
DIST certbot-1.32.0.tar.gz 1372897 BLAKE2B ce0be11e07186fa5ec71c52bb728161be3326b86214e13951335f460ed19b3fd7a66eaca242cb51767e0c335c02ceba1c964fc39ab79dd7c3dd2b6a383e47732 SHA512 6addbb14e69dd6206749c5659a114bc2421d948b5d01c95cacf389fc9c23a735881f3eb0c2fc18e6729e3fac95bc86b4b6a1575affe28e94b81255d4ec13b242
|
||||
DIST certbot-2.0.0.tar.gz 1326589 BLAKE2B d1dc7e2c2a807f767d5dd4209b0fe079e18a8859c9a1b1dbdf62f240c123f20d5a63f01c5a92a4463b99f50b343e6956ac9a53c14c576b16bcd46c07f6f775f3 SHA512 c72d428a43d19b105a206931f8fe74e0c68dfc288a2e8667f25b9e292820eccd9ad04a11d9d3c4fcdbcb08cf2adc5f5fad12bd53b8df09dcc77c0a500a30e518
|
||||
EBUILD certbot-nginx-1.31.0.ebuild 963 BLAKE2B b4235fd8c9bbedeafaf2581fe0abb669d46e915ba7f5b9cee9943c1ecd2278859db1347a43159334df1b0054f0019066565d39c16ffc8b37a484c4de180f4c7f SHA512 38d4c236961c139664cfb7005691695968bb3213c615ff2fea37dd09067eca9d89611f25af8946c434fd7134157f7e593b043833ee0bfe3d4d061448d8caa669
|
||||
EBUILD certbot-nginx-1.32.0.ebuild 965 BLAKE2B 572c3235f9726d67f618f282b7f78dd20ce21068fd710492ab568d706cb8db81a4d9d921fe496fd23d08589c3bc19f8b46556b4674f264d0ba297d1fe05bb5c7 SHA512 e52b1a0cfddd8d17fcfcd34505652e68e174af8990d8b84b677c3b699712a7d90059655efaa056e15cebecf874fb87fcb395adb9cf46d977bb6bc90ae98875ab
|
||||
EBUILD certbot-nginx-9999.ebuild 965 BLAKE2B 572c3235f9726d67f618f282b7f78dd20ce21068fd710492ab568d706cb8db81a4d9d921fe496fd23d08589c3bc19f8b46556b4674f264d0ba297d1fe05bb5c7 SHA512 e52b1a0cfddd8d17fcfcd34505652e68e174af8990d8b84b677c3b699712a7d90059655efaa056e15cebecf874fb87fcb395adb9cf46d977bb6bc90ae98875ab
|
||||
EBUILD certbot-nginx-2.0.0.ebuild 965 BLAKE2B e3e3b606150eed6b54ac0bf8a34f5411562cff0037cac421b08834c23a2b3165c8bdae7ecc132979dad5aa9d2e51d3800a5ab47c3fcc669e3b1a4507e41af05c SHA512 04390d9abeadf60ac52ffbcb79bfba039a62f4fbe60714bcf1b18099dfe914546d066871682a090b69d778a5539b29788ebccbd8d9d5c05555a2dbbbb9c782a8
|
||||
EBUILD certbot-nginx-9999.ebuild 965 BLAKE2B e3e3b606150eed6b54ac0bf8a34f5411562cff0037cac421b08834c23a2b3165c8bdae7ecc132979dad5aa9d2e51d3800a5ab47c3fcc669e3b1a4507e41af05c SHA512 04390d9abeadf60ac52ffbcb79bfba039a62f4fbe60714bcf1b18099dfe914546d066871682a090b69d778a5539b29788ebccbd8d9d5c05555a2dbbbb9c782a8
|
||||
MISC metadata.xml 335 BLAKE2B 048854ec6bc919f9bf9b0bc74e7c291841cbfea0e571f43437937c5dd78cc65f9df53463adcf313441e01323491709b462bd9bc364876eb1508a83b3426b6b78 SHA512 25ac45574a568e362c419dfbeade4a977afa2885e7b32fb4c3d4c765450b09aa98cf419df1a39ab194518ad6f2b582e162d4dd4eec14f278635d63bf66352523
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
else
|
||||
SRC_URI="https://github.com/${PN%-nginx}/${PN%-nginx}/archive/v${PV}.tar.gz -> ${PN%-nginx}-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
S=${WORKDIR}/${PN%-nginx}-${PV}/${PN}
|
||||
fi
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Nginx plugin for certbot (Let's Encrypt Client)"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-2.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,6 +1,8 @@
|
||||
DIST certbot-1.31.0.tar.gz 1371459 BLAKE2B 95fc9f29b1e91f5bc12a9b7146d00f4f3b4647eeda8e866c46c17d8d8a2443bd46cfa04758e8571e84b2bbf70bd68943c47ceaf6d830d3e5121e41d9548da051 SHA512 a2f6d7714bfc8e2c400e69be038404da138b53f0dc09e071048d560ba9e9527cc0b786b8d210b62c3d07c3aeadaee12dc0d060d144af4b5c3178576fde65b052
|
||||
DIST certbot-1.32.0.tar.gz 1372897 BLAKE2B ce0be11e07186fa5ec71c52bb728161be3326b86214e13951335f460ed19b3fd7a66eaca242cb51767e0c335c02ceba1c964fc39ab79dd7c3dd2b6a383e47732 SHA512 6addbb14e69dd6206749c5659a114bc2421d948b5d01c95cacf389fc9c23a735881f3eb0c2fc18e6729e3fac95bc86b4b6a1575affe28e94b81255d4ec13b242
|
||||
DIST certbot-2.0.0.tar.gz 1326589 BLAKE2B d1dc7e2c2a807f767d5dd4209b0fe079e18a8859c9a1b1dbdf62f240c123f20d5a63f01c5a92a4463b99f50b343e6956ac9a53c14c576b16bcd46c07f6f775f3 SHA512 c72d428a43d19b105a206931f8fe74e0c68dfc288a2e8667f25b9e292820eccd9ad04a11d9d3c4fcdbcb08cf2adc5f5fad12bd53b8df09dcc77c0a500a30e518
|
||||
EBUILD certbot-1.31.0.ebuild 1256 BLAKE2B 5fe946cfd4172ae554cc5f1d47460c957c92171a86af42ec567ded30ee0fd45c42ef6629077d372e062f46525f5e8229149d2c3e1d24b2e5824f0306134b9ca5 SHA512 1145bf5344bd778950e0a75496b05b3190729f830d7b9b872a2f3676355c873be39db236ed4fb39f8d454588cee3cdde900321903b444423fdc43e171de6b5c0
|
||||
EBUILD certbot-1.32.0.ebuild 1258 BLAKE2B 2eb9240732ce68f2e81c9df527b2d9f58af94043a22c3c1dbc0d6ea5141f91866d40ca0eb35306657d5bb2bae07199ffbecd4510f5877ac3a844f67079accc20 SHA512 43de46e0b64a794b40ab7b05392442ee8e0f7187a6f89bc4ced6bc509e585946ce90d77799f48d9be522e69155cbb0e29da64f3c824f89998764888a75620941
|
||||
EBUILD certbot-9999.ebuild 1258 BLAKE2B 2eb9240732ce68f2e81c9df527b2d9f58af94043a22c3c1dbc0d6ea5141f91866d40ca0eb35306657d5bb2bae07199ffbecd4510f5877ac3a844f67079accc20 SHA512 43de46e0b64a794b40ab7b05392442ee8e0f7187a6f89bc4ced6bc509e585946ce90d77799f48d9be522e69155cbb0e29da64f3c824f89998764888a75620941
|
||||
EBUILD certbot-2.0.0.ebuild 1258 BLAKE2B 8e297849572a6c78e169b56d3560b2e67669827cffd5e2b850634d37a713a77b3d000b322d3325719ed8dcb28013a5105d46919ee1ff5a861feefcf7daab2161 SHA512 59169cf0f87dbb644f05d34cdc96ecd050be0492693345fa10c32c545ebe5fcad8fe208289593232021055133ebdfface4558568d054914c585909d25a03fac4
|
||||
EBUILD certbot-9999.ebuild 1258 BLAKE2B 8e297849572a6c78e169b56d3560b2e67669827cffd5e2b850634d37a713a77b3d000b322d3325719ed8dcb28013a5105d46919ee1ff5a861feefcf7daab2161 SHA512 59169cf0f87dbb644f05d34cdc96ecd050be0492693345fa10c32c545ebe5fcad8fe208289593232021055133ebdfface4558568d054914c585909d25a03fac4
|
||||
MISC metadata.xml 359 BLAKE2B 7f8ac46ecea304579baca80978cc35905720d1950caa183b5b5b297afab8bf6ea328324bacc438e9ecd91176230e42e55deda1c15e1ba73c63b2021ac2842c0f SHA512 a50b1db5a30eac290ac6645fcb30b0d5c4d8e51d83cff284e76358ee4fe7cef9366e40b06f532ba64a2131672972ea10b73541a9bd42cc323c17f6d26f6b0197
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
S=${WORKDIR}/${P}/${PN}
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
|
||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="
|
||||
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/ConfigArgParse-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/parsedatetime-2.4[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
||||
dev-python/zope-interface[${PYTHON_USEDEP}]
|
||||
selinux? ( sec-policy/selinux-certbot )"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -0,0 +1,31 @@
|
||||
https://github.com/krb5/krb5/commit/d864d740d019fdf2c640460f2aa2760c7fa4d5e9
|
||||
|
||||
From d864d740d019fdf2c640460f2aa2760c7fa4d5e9 Mon Sep 17 00:00:00 2001
|
||||
From: Julien Rische <jrische@redhat.com>
|
||||
Date: Thu, 17 Nov 2022 15:01:24 +0100
|
||||
Subject: [PATCH] Fix aclocal.m4 syntax error for autoconf 2.72
|
||||
|
||||
An incorrect closure inside KRB5_AC_INET6 is innocuous with autoconf
|
||||
versions up to 2.71, but will cause an error at configure time with
|
||||
the forthcoming autoconf 2.72.
|
||||
|
||||
[ghudson@mit.edu: added more context to commit message]
|
||||
|
||||
ticket: 9077 (new)
|
||||
tags: pullup
|
||||
target_version: 1.20-next
|
||||
target_version: 1.19-next
|
||||
--- a/aclocal.m4
|
||||
+++ b/aclocal.m4
|
||||
@@ -409,8 +409,8 @@ else
|
||||
[[struct sockaddr_in6 in;
|
||||
AF_INET6;
|
||||
IN6_IS_ADDR_LINKLOCAL(&in.sin6_addr);]])],
|
||||
- [krb5_cv_inet6=yes], [krb5_cv_inet6=no])])
|
||||
-fi
|
||||
+ [krb5_cv_inet6=yes], [krb5_cv_inet6=no])
|
||||
+fi])
|
||||
AC_MSG_RESULT($krb5_cv_inet6)
|
||||
if test "$krb5_cv_inet6" = no && test "$ac_cv_func_inet_ntop" = yes; then
|
||||
AC_MSG_CHECKING(for IPv6 compile-time support with -DINET6)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue