parent
e7514977cf
commit
9150bda3a9
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29286 BLAKE2B aeddb5cf2b9f46bbe473ed218002d07f0d5a6cff91055dce2c8d7f49fe1a003fc5557630f0baad7d1fc0610c502f9016ff163426c164c2536fa6d85d6e8c20b3 SHA512 c11ad54b21472d917470a1468baf2885e5ef4480eeea5f467843c1608813494622363efdfd07754d7017ca3fca1460e72275769ed4c8fa7a293958bccbdf7412
|
||||
TIMESTAMP 2023-12-11T18:39:58Z
|
||||
MANIFEST Manifest.files.gz 29292 BLAKE2B 8924ceb496ffa5a2ef642c21a89b82b62ea736fdc13d44566e686f73d0c7276ac42e891dbe2c4c77dafaf1c8680cbec0554a9903f93c3c9313fc8aff98b54a74 SHA512 c3dda88fd351bd8185af9a6c1b8c900f1b2fb06a2062d270f87d7c91dbeba6d59787585c4281b01982708879d79b751dfa4f9d6956f5efbc6339512b88ac3fc8
|
||||
TIMESTAMP 2023-12-14T20:40:02Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmV3V35fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmV7aCJfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCTFxAAhp2AHiWGJIT01PNhjUCjYmug0RkuBd/O/8or6Yt3uAWnxX7LHYegVVTH
|
||||
bVN/Xg1IDuMupqxftjUcdaHFbwnYeKoywepJR3slHZDEZe7ufOuTzjHEXNREqsdX
|
||||
jplex6MYjBE6FbSihKm9If3IEU2NL9nkjeAc+utWPNGm5F8PW2GCQVviz/yvRPKa
|
||||
raQp19MFA//17tXJwHH3fM36t+CyMdxiUX9GkHdta43V/T3NVim9aJLLmx86tg/X
|
||||
Vv6ymaAge0q4nXsauaURN2sioxjL8P3SAA+dABQ8qF5YzQtoUJBKoJzPK6+3VS6N
|
||||
WsWbyQTCcfdu3Vv7Faa6rYOmPsvsMWpKO4Jfzi5Or//BN/u/GxtG5M0jbVa9Vb1p
|
||||
LC/OCIxc+m45TCVMR+I6yOP9lqF3mgSdJNpBca4as0gdEDz6Z2TUhnl3h7rjp6wo
|
||||
Suzm/fr6zuWnY0H8wZwWwjKXbSXsEM7uqTCUdgEl9isjUlgWajZKHDf0z/2G0+40
|
||||
3Xu1oL1+/CW6kQUwDLsYD2LB0WPAjHyHLCiEuTQXhhfE+mPsxvPbs1zMk23Hv4ZK
|
||||
PMEYt19Szbeu107D02AHGbW5psGcWaF8KZquJuaZt6Qd6Zyjgc5O11xZXtK/jDne
|
||||
MWigYUB4zMBAwoQERcFHvuxHME2LcIkMYZHXvLSg7IcbOVLChzE=
|
||||
=BMJE
|
||||
klDBvxAAsyTvm0Y3LJQDcdHOzdcCkDRjBe2rHCB7VfbkxJpm6md6zviXefWcmzYh
|
||||
+HoW54hpfqUxoFykhhl8xGEIEqm8Y4Q0/SMURkhT0aHvHyKh/U9qFT7PBzEl47EC
|
||||
3DzFpWscuUcA3DyMjDoKRgbXbgsl3rcIcrEiN6rrI33VfjXvuIUkaQlPR3kFlNUK
|
||||
3JMwtPgpg/XO4kkjDw08dfOjZrHCF1E4WPnEJ/zFzeECRl1bC4DXC+DISU7tYxI7
|
||||
IARGhczPILP5dUZNC8wlFTziOxKA12acS6zoqgBhflR35dxvLEwfZ00wgMy5GH4h
|
||||
JtvABD7tRhhYMeKwTnAbieOYb6ZtnBTayyeOg7Pr6e3NnEuB7s67RDOPkVJqzLTi
|
||||
e4e+nq4zIAwyMTWy4NJ/P5oShKqMsUgarIJ9bIkxvPzuxEvYSGi1LAHd2peOqfVN
|
||||
SaiDuntv+ylVsHSE2xdLVZvwJJTl6FJoG85ADBYja+Kut9Iq6urAHUdKh60XVWIM
|
||||
JErorHbV3liC5UdYTNM57MpZOfc3FL408GmCtxKyqFA+bfteCQVn3RZcKjPvBJPI
|
||||
MK90C/ZZufbNbrdLXwDvTm/8tZT/sbwOkZXJQFXiltLzN2m2e7dQMQiHNmruWNwH
|
||||
sSjcerk8YvRIDBw2u3ERb0jEFmbMkrnyPNAhndJTGTkKk2hHLNw=
|
||||
=lmfk
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,15 +1,21 @@
|
||||
AUX resolvelib.patch 5731 BLAKE2B fdc0660ea786e02475e7e9735de6493cd6b96048c238ee050d1751a46cce12048112e495e1de48e1d1bb41d5d4415b16dfe294621bd0f6bbb0786c3df52dd35b SHA512 baf5f8c42c85628dffda987dc81b98f56f1a60857f4cc9e6f1b9938f4978d1ba4d84dc7904685dbe02e19a4b91a7a2f979772bbdd42268e6754bcd5208e40d37
|
||||
DIST ansible-core-2.14.11.tar.gz 3144040 BLAKE2B b9ae1b284219650a764af6b2a341172730cbfe3481b9ff3d1e33549ddd9b687071455a6349124019f0dd8448d5c61ada9e0011375f2ffc74ca4ae44cd1ce285b SHA512 778d7b2646d59ac45994a0d33e59d0f85ca2cbf58605d94185fc86d9bc782d642d155c056213703c95e5b144939e287176096d833b9487971efa5cc22624bd27
|
||||
DIST ansible-core-2.14.12.tar.gz 3144432 BLAKE2B 7c7e1f73a19e6033b7b230ac6505d34aeb57b75bfe0ece88332b98aa1cd0c6a27eb843829cbe25b5956dd602143171a6eea313cdd97f53b0ddeceefe905955e5 SHA512 648835f2b025ca37c1b88a47eb34ce972c15e66563e14573b9ad9e518cf0d96af882784495311724a5d66cb028fc65aa351e56f827d328032a95c9fb0c882bd8
|
||||
DIST ansible-core-2.14.13.tar.gz 3145413 BLAKE2B 75b11feaaefa9a63c6f83f64c796ceacf7c6b08322ac0b85f6dcf968db7b80cc97262ea6f8f839e5e41e800ad7cae610e96f312c1ae0f58882c8891246a81b8a SHA512 195885815d40448d8497eae9533a4104c4b9f17ab3a812d544a403f41d2e77e7be2c15bae5a6df07563499052beb273580a569d51b667d0a9c5a16e55b35258a
|
||||
DIST ansible-core-2.15.6.tar.gz 3154982 BLAKE2B 3c69671639d11e13aab266659fffeea2a213b8ed0e87d343926791428f4ad1c5a5e32e1d841eca2080d78af58c2a68b833cfa900b29403a6e86663fe8671154f SHA512 e1876b59c3393429d42e03bb74252e0f22f3d7cec8f80c74d2f024e1204c2bfa354c4240a283c16c63186cf8e7a705c2f99b08715ea2dcfe290884ce1f8b9114
|
||||
DIST ansible-core-2.15.7.tar.gz 3159286 BLAKE2B 8efcc68dc01beaf9dfd7b7988dcc8c9581e390813a0b04514c69d674cbf6fef19e8b46950a03b558cd7de0c394d6923ddae85aa8a4f32f60b7abb63f73ad2a3c SHA512 f94416122040c945dc871fa0f897e3bc3d02e43459573bc5e7fa4f1988b1d7b5be306cb48e9ebc59dd111e710c462a5e421312f909f8476d6ae5d3bc6b493c4d
|
||||
DIST ansible-core-2.15.8.tar.gz 3160606 BLAKE2B 439a3f584940e5ab46b43b0b47395e0618a3ea52c67ebcd51667f31220cb038dda35506e7843d177d555b77a55a9d2c6245a916741ab1dcdf222c535afb5f83d SHA512 020191ef4b005abbf799204da68270bd4f13a85c7f23cb9dffe85b1c5c093c0ad86e061211ab9fcc8fd0be9367717fb0baadefb1ebecd3579471120fb2e8647f
|
||||
DIST ansible-core-2.16.0.tar.gz 3155083 BLAKE2B b488548d01bc5a1eb3826533241a35948b029cbc83c8b1d8e78d0f9e2d9c88ee16dbc6858b4e1e3c656fee760ff839d445c2ab6bfa2ae72686933f668113731a SHA512 1a94d958423f8a6b3f74f3c88157c21cced9c5332db2e3f601aa54360a0d9434082f61c2d5c3356beb19cd17b876f27d5c8f6b12e17360334a41ce25cf7fd5c0
|
||||
DIST ansible-core-2.16.1.tar.gz 3162449 BLAKE2B b31b0a7506cd753131745b10734a79af5aa41ce2842e15effda88b81deef59978704d3b8d17b4434a657dc984ad8466a0dff807f63db06c190d8e24509f36327 SHA512 c01ad95fedc47a8467c9ddf00ac05875d11507ad63da4978c1e6a9d17f3ae200da288851175378147302eb590af9fe6071042695faad3b9aee60161a0df27a6b
|
||||
DIST ansible-core-2.16.2.tar.gz 3163899 BLAKE2B 6365dd573ae4a2f3ebfc870ae3ea399b268615333de2ddf7e21323189dfdd9bf61ae836b536c86d713f4a934468ed36835084e06e4b6d9b32c4b633f55353ad9 SHA512 6e2389fc6b34645c0f1566eca960da36616619a5ed5e35b46f3d659979fe519db20d89b4f598344a389f4b6ac33bb660ea91a1a6509002bbf4ac791ea3cb4cbd
|
||||
EBUILD ansible-core-2.14.11.ebuild 1351 BLAKE2B b00902f00b8f1371777e41651460ecd2925d20a165ee8e491ff7e4d7cd902d380eed501556bc8c393e2236f79818eeffff05f8e2f093408ca61cee70d0ee8642 SHA512 94e9821734f241f745301bea4676c7d7aee48628d61b910cd694d6d541a660fe226bf9e5b50129b5263221ef9986898f656831a63531ada6916ba63d4b620724
|
||||
EBUILD ansible-core-2.14.12.ebuild 1354 BLAKE2B b338058c316d4c5ba00e2af886f80b0d30e2d35b21e7c761a9ae4c07a0a538f04980c19de72eb19f8a3267482c3c6a50b8a3bdaaca42c101e84cae71439f53d7 SHA512 fb2b58338c253cde83c375882cc648a8dc7930408f3e235b146144b067ce754f2bbfcb8e1de8429e13d2eb693fa68f7bac89cbe1861c10424d26057ebd020936
|
||||
EBUILD ansible-core-2.14.13.ebuild 1354 BLAKE2B b338058c316d4c5ba00e2af886f80b0d30e2d35b21e7c761a9ae4c07a0a538f04980c19de72eb19f8a3267482c3c6a50b8a3bdaaca42c101e84cae71439f53d7 SHA512 fb2b58338c253cde83c375882cc648a8dc7930408f3e235b146144b067ce754f2bbfcb8e1de8429e13d2eb693fa68f7bac89cbe1861c10424d26057ebd020936
|
||||
EBUILD ansible-core-2.15.6.ebuild 1306 BLAKE2B c77afe15bd0127bc975a099bd4c9989b71c78cb3b5159d79cf9f105d5189f3aa80615d7ab32827f98a0215aec31a94ac11efe433e461e60be1baf5dddb3f72ee SHA512 e374e539dd6f49bcab15a502d6ef7c4c31643ca1161992745517d1e08727d4f48beaf067209133908eef904ccbd054cd81ce2fa97639394d033ea94c1c3eb535
|
||||
EBUILD ansible-core-2.15.7.ebuild 1309 BLAKE2B 5288758a95f5be33854ed6093801b954adbd067213b825eefb2ac56945f15cef99aae4d82e87de8af26b48068b0a98f424a12861efff111c2007e2f1f1d61420 SHA512 c9c81036d86440c692ccf304c229caa8929d1e34519831d62b627141192d33cf832462b3ef2fbe65ac8351f4b56cd3b3f898e0c829b45b5440a0753a88f0fc1e
|
||||
EBUILD ansible-core-2.15.8.ebuild 1309 BLAKE2B 5288758a95f5be33854ed6093801b954adbd067213b825eefb2ac56945f15cef99aae4d82e87de8af26b48068b0a98f424a12861efff111c2007e2f1f1d61420 SHA512 c9c81036d86440c692ccf304c229caa8929d1e34519831d62b627141192d33cf832462b3ef2fbe65ac8351f4b56cd3b3f898e0c829b45b5440a0753a88f0fc1e
|
||||
EBUILD ansible-core-2.16.0.ebuild 1306 BLAKE2B c77afe15bd0127bc975a099bd4c9989b71c78cb3b5159d79cf9f105d5189f3aa80615d7ab32827f98a0215aec31a94ac11efe433e461e60be1baf5dddb3f72ee SHA512 e374e539dd6f49bcab15a502d6ef7c4c31643ca1161992745517d1e08727d4f48beaf067209133908eef904ccbd054cd81ce2fa97639394d033ea94c1c3eb535
|
||||
EBUILD ansible-core-2.16.1.ebuild 1309 BLAKE2B 5288758a95f5be33854ed6093801b954adbd067213b825eefb2ac56945f15cef99aae4d82e87de8af26b48068b0a98f424a12861efff111c2007e2f1f1d61420 SHA512 c9c81036d86440c692ccf304c229caa8929d1e34519831d62b627141192d33cf832462b3ef2fbe65ac8351f4b56cd3b3f898e0c829b45b5440a0753a88f0fc1e
|
||||
EBUILD ansible-core-2.16.2.ebuild 1309 BLAKE2B 5288758a95f5be33854ed6093801b954adbd067213b825eefb2ac56945f15cef99aae4d82e87de8af26b48068b0a98f424a12861efff111c2007e2f1f1d61420 SHA512 c9c81036d86440c692ccf304c229caa8929d1e34519831d62b627141192d33cf832462b3ef2fbe65ac8351f4b56cd3b3f898e0c829b45b5440a0753a88f0fc1e
|
||||
EBUILD ansible-core-9999.ebuild 1309 BLAKE2B 5288758a95f5be33854ed6093801b954adbd067213b825eefb2ac56945f15cef99aae4d82e87de8af26b48068b0a98f424a12861efff111c2007e2f1f1d61420 SHA512 c9c81036d86440c692ccf304c229caa8929d1e34519831d62b627141192d33cf832462b3ef2fbe65ac8351f4b56cd3b3f898e0c829b45b5440a0753a88f0fc1e
|
||||
MISC metadata.xml 1042 BLAKE2B bf5f9a6d7f2b7a0465332ce47a343566749ac3e6b8c29d37c21140c69e56a3c58ba2bc6335b6839da43993dc427a12350506dc55b0f727856f16b173c0df90a4 SHA512 4adc7776bc6f02d91f2229ea96566e94b1e8155f75bac27d7391f87d6fc3100da425235f2c02dccd1ce7534abc9c30be0ab5a15ec9dc4278463f10dcf95e8b4d
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/resolvelib.patch"
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-1.1.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-1.1.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||
<dev-python/resolvelib-1.1.0[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
@ -1,9 +1,13 @@
|
||||
DIST ansible-7.7.0.tar.gz 40709642 BLAKE2B ee2f8d124f79ca3a3f131bfbc4f93e10d104a38262b7d60edd2a88284275fecdd3acf0e566a5cc81a1fb6a179a0b7c51215f2945d669be4c6af7aa2a4f31ade0 SHA512 7da6845c9a68f2b8c10cf3e4cc6ea347861d5b59daa6ac895731ac79b733c6724d234345054fe9e3bf4ea460345b9026492fda42dce22bfbc027c9b4de093fd9
|
||||
DIST ansible-8.6.0.tar.gz 41548019 BLAKE2B 01506ff418045b138fb7b8cb7c12b30e269c1001a66d2ba3c67fd50542f3823f83f1c85d934985bbeec18ec7275bffdecba47b1a3e6cbb0f350422751eccf319 SHA512 b316f1d6e8ffd4739f142d9add50f39802d8a57bac026f8ab833fd3d07c2ccd9df1d2ba5bcf68b3486db99e12943e8787203e22b16d1ecd1c4c1655a3573cf5d
|
||||
DIST ansible-8.6.1.tar.gz 41550388 BLAKE2B bfa1d1a3fd3a32270f0551942594c117c3637e1556e838ff25fc2116e10e40556fcf0c495228c5aa52238466857194898329cf16dfa9e16d5499a86d80018ea0 SHA512 92cb3909693b54c47b88987aa92b3ca7caa1765f16a7e4c88abf0e3ff70e9d764de145fffdc56d04c40b4d4d6551775cfd7b99423373feffe6706ef80c84baa4
|
||||
DIST ansible-8.7.0.tar.gz 49317896 BLAKE2B d5923753e368e908a569c5f8f261b1afe7c51d5381db190bf7de1e81f0a6359136581852faa2974f174e816944c66e2c0f625d3d62bdde324758309982c90de9 SHA512 6a67f8553c3fa56559e4a31ec627cfe2c5f42e147d94bea305ec4580af9ba8add136092b209a5a3d7f9022407e9d557484f044d23cb227973fe4e4341fed7983
|
||||
DIST ansible-9.0.1.tar.gz 41021796 BLAKE2B d5127e5be9ec2f835e4d32a4a30889f9c0cd50f63f843472b36bce7220a3c7063fefa9e47cba1ea790f44e2a55fd8c1652df49518f76cfa1cac6ad84d7f076c3 SHA512 8ae5f6a3e5039129d3a918a538b6b16644a2b489894cbd8a455cbb71ba73b0b0eeb326b7d72b238698af4f7f19cd4ac3fed8e8d55518f817eeae8651776ae503
|
||||
DIST ansible-9.1.0.tar.gz 48839908 BLAKE2B caa652b339fb93334bff7246d1bab6bbdd9672a096637aa0695cd94a7f50d0e5ca7a1bfeb559792833c97eb9d16486965776b609354dc05ca63b1474d43e767b SHA512 ec6d86b3d05e66053001720b6b7d7bd1dba8bd50917c913e1f08a63b0c94f76a5d69732c78e793d038622a0b8c652860290a89cee1dfb22491a81763923ef843
|
||||
EBUILD ansible-7.7.0.ebuild 655 BLAKE2B 737b7e75834d55ee6bbbdc00797896cfed122cfba478bf076156befa70e873899a3b4313408030aaa3214175e7a45bf3c86c21b4e84c2de5940c42cb5e68780d SHA512 4765ba667b64e4eb5659423a8ccc1eb8e52bd6c0f4e287b4aa4f79877d11ef88b95bca3518413f93cea3b785c27f739754af64781f783fa7e46cb2d44c1d7b57
|
||||
EBUILD ansible-8.6.0.ebuild 655 BLAKE2B e96d3b6f66b59129c746ef2d923f4b542830573bcdb935278db27ddbe6ceb2a795fcddf6d65f4b7f4f6f718a83a11f2a5d320f79decb472c5f75072ed1f85da7 SHA512 253436714f409d4357a608f99a0f656828a8a926a10ec97801f0e42a3ff8515767892f3c66af24ae4a089b035cf767c5a87b835bec51c7194af7a549bcf843f1
|
||||
EBUILD ansible-8.6.1.ebuild 658 BLAKE2B 0c63fce5ceb5cd73b43be260e92fd368d466e9cfefc5e994f11737ef5ee1d1e0c9092a3bc25fda06fade5dcb7b2fa2f6cd1b9bc26f866c61072c8f33e1e72727 SHA512 9a38c6d5eb8d890fdc25221ea5890a6f5789fa937ef98c04af9e047299dbdb81be148877ec687883f28bb7ccc8db6463d87c2ae3589d4e4f5f71c7f38874504d
|
||||
EBUILD ansible-8.7.0.ebuild 658 BLAKE2B 0c63fce5ceb5cd73b43be260e92fd368d466e9cfefc5e994f11737ef5ee1d1e0c9092a3bc25fda06fade5dcb7b2fa2f6cd1b9bc26f866c61072c8f33e1e72727 SHA512 9a38c6d5eb8d890fdc25221ea5890a6f5789fa937ef98c04af9e047299dbdb81be148877ec687883f28bb7ccc8db6463d87c2ae3589d4e4f5f71c7f38874504d
|
||||
EBUILD ansible-9.0.1.ebuild 659 BLAKE2B 2ff1976cca83d9a79732cb50e132b309f7060d25300fd97a46a5d93ade348effc230c9e612570dbef7f502898397e887cd693ec306a0b3c107c4a43c9e6715ab SHA512 8be298cfa1d2bf1bd3f5bf206bedcff3f0bbb7f97546f093615796a7c01e4915c634d3c6b76d97302d03a8383c64ab3fb25e930aeb82608e51da397988e5a8fd
|
||||
EBUILD ansible-9.1.0.ebuild 659 BLAKE2B 2ff1976cca83d9a79732cb50e132b309f7060d25300fd97a46a5d93ade348effc230c9e612570dbef7f502898397e887cd693ec306a0b3c107c4a43c9e6715ab SHA512 8be298cfa1d2bf1bd3f5bf206bedcff3f0bbb7f97546f093615796a7c01e4915c634d3c6b76d97302d03a8383c64ab3fb25e930aeb82608e51da397988e5a8fd
|
||||
MISC metadata.xml 731 BLAKE2B 26c756a1f3d67f68ba824b56b8a7a48f13e6586c761da02d61852c7669c419ecab686ed1bb59ac7e229038413fdf9c0521b11d005e8250b63380c1b5282586d2 SHA512 e6d8bf5b9748c6aaccae0fdeb3f187be80d5a956dbc57578f6fa344a667624a0a4ffbaba689d2f7bc812dd91fb3b959b3293260729ce7c995a20fe47b2cdf097
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=app-admin/ansible-core-2.15.0
|
||||
<app-admin/ansible-core-2.16"
|
||||
|
||||
python_compile() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
python_install() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://www.ansible.com/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=app-admin/ansible-core-2.16.0
|
||||
<app-admin/ansible-core-2.17"
|
||||
|
||||
python_compile() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
python_install() {
|
||||
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -1,7 +1,13 @@
|
||||
DIST aws-cli-1.30.6.gh.tar.gz 2596217 BLAKE2B 3b4cbd540ede2826d212233e76a4431f090fdaa1848f3ddd5e52c3d637e8ccb6ed406072b5b4b3f62b67a29a995d984bfcf1f961915594459e52199dba2341b8 SHA512 8273d234428eb42e8845052c4122e06bb6d0693d2878296a101fa3ce72c5690787c6151aa8f819db83fe36f5263d14efd1e4b469494da8994d47d1f213c394b3
|
||||
DIST aws-cli-1.31.11.gh.tar.gz 2605881 BLAKE2B 816846d5dd50a382b837cb25e01be330cb345b55819907ddc8bd3a6623752322d5eb79526a42addb85e9b4dedbf86cee0f064f8ae87d9bd2b3ee996751f37265 SHA512 8147f2c39618317755903a49b02cbfacdc514fd76df31fd354526a684c8da97753d7e2429ca9d46f035fc12263cdec847078f7461dd1ed7948d6614d6408debb
|
||||
DIST aws-cli-1.31.12.gh.tar.gz 2606087 BLAKE2B f36825a15265ed7a260b42251dc6ed9b6a414fa1c27a6209395cc195fc1b30f0df3dec3c58deb9a9a003e3c6fa6cde5bd9b28b3f89e03d9adef1852dbc0bf49b SHA512 ef6de63c6540a4ac87280f5d557096a827939db5de258b62cd8b8fed5740e3c866e250c402ab6bd41bfc369891945605c79f5799be76e1166e0fa2495e129da5
|
||||
DIST aws-cli-1.31.13.gh.tar.gz 2606313 BLAKE2B fb2df38db566d07a44eeca9793cd043e58ef773a09122b69a084498ac3eb55ec65177c55d287a48f1739e743b3b642504b9fc87a8b8537fc870844b9a00fe838 SHA512 dde6e3494d841906a3670577f8619742d5957afca53db58cab31a90962ccf368d28aa04f7c3d39ff91be3c96ac6e13a4f399758c2cb73516221c9fdcf70b8d49
|
||||
DIST aws-cli-1.31.6.gh.tar.gz 2605365 BLAKE2B 30e7789a2a4f47b3b4dce9fb3c8083d56ebec8501d66fa03e34309c1c9e0c6302ce79c044fb1aecd879f2784443db5a9927bfb1c22e94883709600f0e1c538b4 SHA512 5da1be164d4e52b255093c0685b4add43a21b2f0259a6ad9b6e6bc1c7bbb17e1ee0db0f6b29ff0227b301d7f66e1d63b3d92047ccef5578b9de6b5579319be6c
|
||||
DIST aws-cli-1.32.0.gh.tar.gz 2605997 BLAKE2B 03d0b9fffd2c0cbd075196902e08e9b3b85b4c542603c6e9bdc981731c2e65b2685d352a74fd355667d7ca398e41fdbc79aede03dea0855458fe940d7245d2fe SHA512 3aa4aba02a35d50a3acc7cce4ab3631795e16ec2cda4588ca55e523c37b26d7128cf0a975d35308344331a060091b7727b18ae593252f99e6953b9bc2ead06bf
|
||||
EBUILD awscli-1.30.6.ebuild 2744 BLAKE2B 210da13d12323d2293af81522241b228d94d9368227f37a05a1d6e3c83ac41738cbc7016b1f11df65cf6b094fbb92d0cca8ab856d6ad6915ac7819a01e25ce77 SHA512 30c717703a5123e908eac6d782bbe1ee68baf546917feddd0f7d827fedd1583b4ca1b47303669eb53f7517fb39efc8261d3c947be0bb363e5b0f37d72e33a9a4
|
||||
EBUILD awscli-1.31.11.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
|
||||
EBUILD awscli-1.31.12.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
|
||||
EBUILD awscli-1.31.13.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
|
||||
EBUILD awscli-1.31.6.ebuild 2870 BLAKE2B 0f04852324dac59dbc0f8587268a00dbc9c89815eab9391af22c2b9294d5890e70cdd2ace78ad388048546954db0aa37efe6d0d2304529c2fd51ebcb4bb2bc88 SHA512 907955cc560559f84aa6ed1c1969c7e409bbf2edf7ebeea7c1d95bdc2dccadc2a344d09c76ab8fcac2cacaea97ac39a606f6319976d37b4ef36548ee44c28e7f
|
||||
EBUILD awscli-1.32.0.ebuild 2870 BLAKE2B 07e1565a1eb323a5fa24c087c1e3ce1e7f9cf861460924eec0c23310c3cd1c8ab888d1fca17901e59801c3f902e6b0207c365d7adc59a96cd7705f3a0b209555 SHA512 15c4651cb87670b9e6841aac87a96a7fa9d9d058a374057d4603fa73724e418c3b86f76d2a717f073208b5b2d0b40bdb3d904a7c606c20b84f4fb70910474d85
|
||||
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST gentoo-retirement-scripts-2.tar.gz 6614 BLAKE2B 9ad448c57cbfc51214023d49b5c36f65071aa27bdcad5146d2f78ff457465f35f3430699c51befffe7a22a47057891c085b1b7cc77fbf76877c5fd99fc3cbe9f SHA512 d884d5a11d498fd7e0bca3d72f915002c43de1bebe283d6628229de0c0d8af3b819e0410cc12269c06c7fcd7af087faa9366590e13aa5db3eae353e7d35c1438
|
||||
EBUILD gentoo-retirement-scripts-2.ebuild 841 BLAKE2B 39256e4fd9bc624c80f166c738049b0f5b90ff44f759a80c24320a0548697491da9eb0b0412ef4911e285465f9cab20b1341293445caf44d67d202d25c6d5837 SHA512 d70f7ec541f5a5b7f4def752ee56e022a7a46b9ed9ac3ffab6444ccb5d7dc3cc49ca39bf75abf6c66d89c5cec6a2083477eb8a35ed1b827e69a42f813f9b3d66
|
||||
EBUILD gentoo-retirement-scripts-2.ebuild 842 BLAKE2B 584e58db61e9834c56a0e7f2a9355f61baee8035fdfe812a8c0af362e6b47d9e01289e98cb71877e5735eae19b1d0c573b0140f4f8c6b9f2f738695180912c1b SHA512 5f3021f9c68165c8db5bc693e2347142f370c99eeaeeca8f130414f904db35b81a5a981c5729cc370fa8025fca47f4370ba2d22b52abb951108d650b6bd89a00
|
||||
MISC metadata.xml 369 BLAKE2B ff4691565e128a49ee2c8503ab55b678c5a648d2d6464de3cff08072393cef5f7c4b990320fda1993235298d36ce5327a73445c9bc36ae71722ac09f04ee9174 SHA512 3a827f006deeb770f08b27aa9e6e545dcca5b910c874279b841776fe2da7f9cd2baf375fceb6d7d015df8d1d4a56c6116952e02966d929371a3b777933c9ff1f
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST linode-cli-5.45.2.tar.gz 126870 BLAKE2B adfb0862159fbd1dc887726a9d40c2534526b9fe7326c6340c52ed928aff5c9960b20a5961ed6aac7e276201e52a254fd6ba5e6aaa80da7d68e95cc0dc949f27 SHA512 9a6697b3306434cc4f59ef695d0b51e33f71b2d1be4d942e369a22328c3cbf78da0efc939f39f8da928ba5fb5bc2bc06a6ee5d0c9a8e0deb78b657738f19501d
|
||||
DIST linode-cli-5.46.0.tar.gz 127805 BLAKE2B a1ef51195bb853d57c41763c465885e3d3b429ede4cac4abb6408f9375499122780f5fc45c52e83a60772e88f3ed82d3e4e093e419d651e116a7b8430079cc4e SHA512 70751b1609ae6888325937e6a6855763c170682e9dad7ce82303199922fb48cd5eecc5e86bb25b578c1019ae74a6eee9850b10f6c10852154e91095ad6b38e11
|
||||
EBUILD linode-cli-5.45.2.ebuild 660 BLAKE2B a201c1d2337d075d6195e262c2555947e691f35c76c57ab3dc92207b7b7b7650ceba39988fc4ce5809b2fab6b7b19a07c9c0355a34e1edc6cef99858304c3736 SHA512 6f22dbce83ece2297dd270725cf4a99a1f54abeafe4972042fefcc7851c8ea3e5626f54e59e92fba80141c7dd5aa6a2d4d8d511492a297635e756e50b1a83a6b
|
||||
EBUILD linode-cli-5.46.0.ebuild 660 BLAKE2B a201c1d2337d075d6195e262c2555947e691f35c76c57ab3dc92207b7b7b7650ceba39988fc4ce5809b2fab6b7b19a07c9c0355a34e1edc6cef99858304c3736 SHA512 6f22dbce83ece2297dd270725cf4a99a1f54abeafe4972042fefcc7851c8ea3e5626f54e59e92fba80141c7dd5aa6a2d4d8d511492a297635e756e50b1a83a6b
|
||||
MISC metadata.xml 483 BLAKE2B 7b3a4b824e16ba32424777359d0daf09d17cc498a06f9ce5acfd7baec80ffea26220145676f37edfe46302257fd0a2bc5071d60f955dc19cda582419b2027f5c SHA512 33c8fae2235a7a6d2653a4db3341b2d69e390ed6dfa33868dd7e6b3a384f78013ae3c42a91d8eddd25929086f7705ce0869a34e28eedadb497e286ae59570be4
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Linode Command Line Interface"
|
||||
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/boto3[${PYTHON_USEDEP}]
|
||||
dev-python/openapi3[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/rich[${PYTHON_USEDEP}]
|
||||
<dev-python/urllib3-3[${PYTHON_USEDEP}]
|
||||
"
|
@ -1,496 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit autotools linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp"
|
||||
IUSE+=" impcap jemalloc kafka kerberos kubernetes mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl"
|
||||
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl"
|
||||
IUSE+=" systemd test usertools +uuid xxhash zeromq"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-archive-2015.02.24
|
||||
sys-apps/lsb-release
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
imhttp? (
|
||||
dev-libs/apr-util
|
||||
www-servers/civetweb
|
||||
virtual/libcrypt:=
|
||||
)
|
||||
impcap? ( net-libs/libpcap )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
normalize? (
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
clickhouse? ( >=net-misc/curl-7.35.0 )
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? (
|
||||
>=dev-libs/hiredis-0.11.0:=
|
||||
dev-libs/libevent[threads(+)]
|
||||
)
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
>=dev-libs/openssl-0.9.8y:0=
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-4:=[drafts]
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
BDEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
BDEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
BDEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
BDEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-8.2112.0-pr5024-configure.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/rsyslog/rsyslog/issues/3626
|
||||
sed -i \
|
||||
-e '\|^#!/bin/bash$|a exit 77' \
|
||||
tests/mmkubernetes-cache-expir*.sh \
|
||||
|| die "Failed to disabled known test failure mmkubernetes-cache-expir*.sh"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
--disable-imfile-tests # Some imfile tests fail (noticed in version 8.2208.0)
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without dependencies
|
||||
--enable-imbatchreport
|
||||
--enable-imdiag
|
||||
--enable-imdocker
|
||||
--enable-imfile
|
||||
--enable-improg
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without dependencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmtaghostname
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
--enable-fmunflatten
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmdb2diag
|
||||
--enable-pmlastmsg
|
||||
$(use_enable normalize pmnormalize)
|
||||
--enable-pmnull
|
||||
--enable-pmpanngfw
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis imhiredis)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable clickhouse)
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable imhttp)
|
||||
$(use_enable impcap)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/${PN}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/${PN}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! hash certtool &>/dev/null; then
|
||||
die "certtool not found! Is net-libs/gnutls[tools] is installed?"
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -1,6 +1,10 @@
|
||||
AUX fix-Makefile.patch 480 BLAKE2B c0228dc813a780c0a92ce3f931b90ce786debc5c6d6f514470e59e5a79090ee0bd36a565165c10c2c71b15aacb0723fd3f7eae58589434233f9222c4af5e9ff1 SHA512 67214dfeee57031eb069aafe284c537fdf980e3c5ee3c50ed12c8cb0f04413a4bb75bf73b769f1b8237ced1ca7eb1fcdf2f1d2b3672077c8e896ed3219978406
|
||||
DIST ryzen_monitor-1.0.4.tar.gz 33716 BLAKE2B f755cc946b26ea5566c1bd304f84e3a3aee80383d151ec8e702919837d04287d4b3b4000b4f9587003cb20b2be45d4af727eb941c0080772b5f94104d68f8b78 SHA512 93cb55b64db75596da88d8f1f3c5eab38cce52d7ae9bb8b7895d62d39ec0b4c0157bad3ed688c32cc0aecf09eb211614b81159a31c704a0f028751ded46723c5
|
||||
DIST ryzen_monitor-1.0.5.tar.gz 37372 BLAKE2B 021b417a60a284020e7f9e96348f5e0745aede68e01c1b560e2205c4738fd504d4565bbc5b9c6824ea697a8c0a1d981722f9e6e178a8cfa9213b2e703c5f6b72 SHA512 8e1f02f59f40a3e4fe84c805a1053939a20d21e5c40223bb6b7c41716eff361b86e87fc67fd90078d3ffa9d78d2016284af5362aad2212b9cf35979427906ca8
|
||||
EBUILD ryzen_monitor-1.0.4-r1.ebuild 623 BLAKE2B 908b07b7b838ff46f57ecbd329a1c1b350d22a92427fb6110e35930a6a0cb142fb542d622a887aee44b9b57fabeaeece09a0185e667ff9501deaf43ca047cc35 SHA512 b32fd4ba7cb4897a501e78a34bf7c008f7d01387a955c9f0f22358c28797f4336c154ac515d3ddf80c4e00e8c3533f10a3b98460d8eb44a76857a3eb90b4d313
|
||||
EBUILD ryzen_monitor-1.0.5.ebuild 576 BLAKE2B e2b86f0218cf46689c73fcaf594e72074d7b7e68e86a0d4d6cc58d401e456648faa99852b221f44682e55284574e5cbcb7228a6981845aaf76bdaf1be655b1d7 SHA512 152070bbe40f5afc16c8616aec6712b84d0f26500a4e1ee6d8b2c41f8cbd0cbf61c6da916ea69da45809effb345b4e04c78551f0677c4ed3e51e390215628c9e
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
DIST ryzen_monitor-1.0.6_pre20220901.tar.gz 37992 BLAKE2B 550e3f4da0d5d22a503953c0746c35c2508915e7722230678943a0227a3a0f8b675a044b0e742fb4b1e77ed8abbb5b6ce5bd256e4ed4cd434076a739a761a5a2 SHA512 1f09759ef7c68c5240bbcaf756d6ed87047f452522352a47d07d7121bc21a230fd679fd4b400728919f489009b162ded050aaa8c3eb0cace15bebe9049cfdb87
|
||||
DIST ryzen_smu-v0.1.5.tar.bz2 415723 BLAKE2B 0fed89aad85a5080d4c1a6ecdaaef6ffe2b70f0cebbf58392c725f1aa626151e4b5335096bd63cf73ff29d6f5768ce6e0a844dc7030e8c1e4dc5e04990521651 SHA512 5793beae8204a16800ed876da2a07d2f477a21cef706fed6076e1dcc6e74118b7c45a330e264302d644fdb49f7c44e4fca53dc67e43b2f2a62b3b1ea4ad00d8f
|
||||
EBUILD ryzen_monitor-1.0.4-r1.ebuild 605 BLAKE2B e562d7d3e8ea6e391f510dbe0cb9f6c4d578f93a8adef0ee0415e524bdfc7b57c6dc90048a0e1eae127d51130731c00dc7f5783ae8d10e80e9245f4766a52133 SHA512 19f82508ccc2b5f5f6ceaf2c5ab53b1e7984aaa073ce0e420b1ec5effcd52742288953fd322fb25ec32b8935813cdc0c986d6972c8d0fb46bbacaae66b78f21b
|
||||
EBUILD ryzen_monitor-1.0.5-r1.ebuild 889 BLAKE2B d24c96e486a14745a59d8e38c383fe7cf4e3b1bef8b9c52d9f8ded486f52aa3ae82f01fda8c7cd96ef3f798549e6eb094dc0fdeeef01206e2b440d86d10443ea SHA512 1ef4d2fbeb3221ff45257ea20052844bf58015f5f27af57e5335865809b270e8539e29b088ed386630e75cd53bdd74a33b85dbb1c0f3859c3c347fac21331b6b
|
||||
EBUILD ryzen_monitor-1.0.5.ebuild 558 BLAKE2B 8923bb419b7720eb550c13b106f140f02cf210b8261bd944d4e65223582520201980fc70ead132b7935e27922855ba87e78a5eff735d476f40c3a57b53905d00 SHA512 9c3c00ce87906273106fb9ef9006790965324a633575c29d357f0583825829d6d6b5ece8fdcc949c0d948b5e153f6025241ca6d53335e22b2578faa9c877a53e
|
||||
EBUILD ryzen_monitor-1.0.6_pre20220901.ebuild 986 BLAKE2B 7eff797a347507690fe110c53809d25482918ca136a29682208c23dddef9eeb3c530eb8dfdc71a4208078869ec3abdbdc0a0ec920eed10383e8423e66bbe26d1 SHA512 538da2ba5f64f5a4e6034559837932ba41827e0b0e24c583f3dccf632417179ce4fe380a60b38bf3b7adbe26e038e03b23fed556a71424789b5998dbf4cc65fe
|
||||
MISC metadata.xml 551 BLAKE2B 8d071e1793a70b0424d23a8feb9b05128c028f1ec99d7be8565e4d16b345e63ae07658c663c4ea4e02088bfdd93ac7f444f3dbc544dfb8acbc1f510f5fed7c6a SHA512 6cfb4d2ccb3127e7f8cdce0bc152171daa3541f7c5f6a34fb7e2496b39dba68d0e42281af4555c97264337d88ddbe2ed28a9aa4aa8f58a5fc20b5d042db4fe1b
|
||||
|
@ -1,5 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>negril.nx+gentoo@gmail.com</email>
|
||||
<name>Paul Zander</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">hattedsquirrel/ryzen_monitor</remote-id>
|
||||
<remote-id type="gitlab">leogx9r/ryzen_smu</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
SMU_PN="ryzen_smu"
|
||||
SMU_PV="0.1.5"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Monitor power information of Ryzen processors via the PM table of the SMU"
|
||||
HOMEPAGE="https://github.com/hattedsquirrel/ryzen_monitor"
|
||||
SRC_URI="
|
||||
https://github.com/hattedsquirrel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://gitlab.com/leogx9r/${SMU_PN}/-/archive/v${SMU_PV}/${SMU_PN}-v${SMU_PV}.tar.bz2
|
||||
"
|
||||
|
||||
LICENSE="AGPL-3 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-admin/ryzen_smu"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz" "${SMU_PN}-v${SMU_PV}.tar.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm "src/lib/"* || die
|
||||
cp -a "${WORKDIR}/${SMU_PN}-v${SMU_PV}/lib/libsmu."{c,h} "src/lib/" || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/ryzen_monitor
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
GIT_COMMIT="7529c7cfc2688d9781912c84adfc0343d83dc78c"
|
||||
SMU_PN="ryzen_smu"
|
||||
SMU_PV="0.1.5"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Monitor power information of Ryzen processors via the PM table of the SMU"
|
||||
HOMEPAGE="https://github.com/hattedsquirrel/ryzen_monitor"
|
||||
SRC_URI="
|
||||
https://github.com/hattedsquirrel/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
https://gitlab.com/leogx9r/${SMU_PN}/-/archive/v${SMU_PV}/${SMU_PN}-v${SMU_PV}.tar.bz2
|
||||
"
|
||||
|
||||
LICENSE="AGPL-3 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-admin/ryzen_smu"
|
||||
|
||||
S="${WORKDIR}/${PN}-${GIT_COMMIT}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz" "${SMU_PN}-v${SMU_PV}.tar.bz2"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm "src/lib/"* || die
|
||||
cp -a "${WORKDIR}/${SMU_PN}-v${SMU_PV}/lib/libsmu."{c,h} "src/lib/" || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/ryzen_monitor
|
||||
}
|
@ -1,8 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>negril.nx+gentoo@gmail.com</email>
|
||||
<name>Paul Zander</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">leogx9r/ryzen_smu</remote-id>
|
||||
<remote-id type="gitlab">leogx9r/ryzen_smu</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,247 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||
https://github.com/saltstack"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||
mongodb neutron nova openssl portage profile redis selinux test raet
|
||||
+zeromq vim-syntax
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pciutils
|
||||
>=dev-python/cryptography-41.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/distro-1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
dev-python/looseversion[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.9.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? (
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/aiosignal[${PYTHON_USEDEP}]
|
||||
>=dev-python/apache-libcloud-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
dev-python/libvirt-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
openssl? (
|
||||
dev-libs/openssl:0=[-bindist(-)]
|
||||
>=dev-python/pyopenssl-23.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||
cheetah? ( >=dev-python/cheetah3-3.2.2[${PYTHON_USEDEP}] )
|
||||
genshi? ( dev-python/genshi[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
neutron? (
|
||||
>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-19.0.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/apache-libcloud[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2023.07.22[${PYTHON_USEDEP}]
|
||||
dev-python/cherrypy[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-7.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-salt-factories-1.0.0_rc28[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-shell-utilities[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-system-statistics[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-custom-exit-code[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
net-dns/bind-tools
|
||||
>=dev-python/virtualenv-20.3.0[${PYTHON_USEDEP}]
|
||||
dev-util/yamllint[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.21.46[${PYTHON_USEDEP}] )
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst AUTHORS )
|
||||
|
||||
REQUIRED_USE="|| ( raet zeromq )
|
||||
test? ( cheetah genshi )"
|
||||
RESTRICT="!test? ( test ) x86? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/salt-3003-gentoolkit-revdep.patch"
|
||||
"${FILESDIR}/salt-3005.1-no-entry-points.patch"
|
||||
"${FILESDIR}/salt-3006-skip-tests-that-oom-machine.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# remove tests with external dependencies that may not be available, and
|
||||
# tests that don't work in sandbox
|
||||
rm tests/unit/{test_{zypp_plugins,module_names},utils/test_extend}.py || die
|
||||
rm tests/unit/modules/test_boto_{vpc,secgroup,elb}.py || die
|
||||
rm tests/unit/states/test_boto_vpc.py || die
|
||||
|
||||
#rm tests/support/gitfs.py || die
|
||||
rm tests/pytests/functional/transport/server/test_req_channel.py || die
|
||||
rm tests/pytests/functional/utils/test_async_event_publisher.py || die
|
||||
rm tests/pytests/functional/runners/test_winrepo.py || die
|
||||
rm tests/unit/netapi/rest_tornado/test_saltnado.py || die
|
||||
|
||||
# tests that require network access
|
||||
rm tests/unit/{states,modules}/test_zcbuildout.py || die
|
||||
rm -r tests/integration/cloud || die
|
||||
rm -r tests/kitchen/tests/wordpress/tests || die
|
||||
rm tests/kitchen/test_kitchen.py || die
|
||||
rm tests/unit/modules/test_network.py || die
|
||||
rm tests/pytests/functional/modules/test_pip.py || die
|
||||
rm tests/pytests/unit/client/ssh/test_ssh.py || die
|
||||
rm -r tests/pytests/{integration,functional}/netapi tests/integration/netapi || die
|
||||
|
||||
# tests require root access
|
||||
rm tests/integration/pillar/test_git_pillar.py || die
|
||||
rm tests/integration/states/test_supervisord.py || die
|
||||
rm tests/pytests/scenarios/performance/test_performance.py || die
|
||||
|
||||
# removes contextvars, see bug: https://bugs.gentoo.org/799431
|
||||
sed -i '/^contextvars/d' requirements/base.txt || die
|
||||
|
||||
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
|
||||
find "${S}" -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d ; /pycryptodomex/ d' -i || die
|
||||
# pycryptodome rather than pycryptodomex
|
||||
find "${S}" -name '*.py' -print0 | xargs -0 -- sed -i -e 's:Cryptodome:Crypto:g' -- || die
|
||||
# called_once should be assert_called_once_with
|
||||
find "${S}/tests" -name '*.py' -print0 | xargs -0 -- sed -i -e 's:[.]called_once:.assert_called_once:g' -- || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local svc
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-5 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -a EPYTEST_DESELECT=(
|
||||
# doesn't like the distutils warning
|
||||
tests/pytests/integration/cli/test_batch.py::test_batch_retcode
|
||||
tests/pytests/integration/cli/test_batch.py::test_multiple_modules_in_batch
|
||||
# hangs indefinitely
|
||||
tests/pytests/unit/test_minion.py::test_master_type_disable
|
||||
# needs root
|
||||
tests/pytests/unit/modules/test_cmdmod.py::test_runas_env_sudo_group
|
||||
# don't like sandbox
|
||||
tests/pytests/functional/cli/test_salt.py::test_help_log
|
||||
tests/pytests/functional/cli/test_salt.py::test_versions_report
|
||||
tests/pytests/integration/ssh/test_pillar_compilation.py::test_gpg_pillar
|
||||
tests/pytests/integration/ssh/test_pillar_compilation.py::test_saltutil_runner
|
||||
tests/unit/utils/test_vt.py::test_split_multibyte_characters_unicode
|
||||
tests/unit/utils/test_vt.py::test_split_multibyte_characters_shiftjis
|
||||
tests/pytests/unit/utils/test_vt.py::test_log_sanitize
|
||||
tests/pytests/unit/client/ssh/test_single.py::test_run_with_pre_flight_args
|
||||
tests/pytests/unit/modules/test_aptpkg.py::test_call_apt_dpkg_lock
|
||||
tests/pytests/unit/modules/test_yumpkg.py::test_get_yum_config
|
||||
tests/pytests/unit/test_master.py::test_fileserver_duration
|
||||
tests/pytests/unit/test_template.py::test_compile_template_str_mkstemp_cleanup
|
||||
tests/pytests/unit/_logging/handlers/test_deferred_stream_handler.py::test_deferred_write_on_flush
|
||||
tests/pytests/unit/_logging/handlers/test_deferred_stream_handler.py::test_sync_with_handlers
|
||||
tests/pytests/unit/modules/test_portage_config.py::test_enforce_nice_config
|
||||
tests/pytests/unit/modules/test_msteams.py::test_post_card
|
||||
tests/pytests/unit/renderers/test_yamlex.py::test_basic
|
||||
tests/pytests/unit/renderers/test_yamlex.py::test_complex
|
||||
tests/pytests/unit/states/test_file.py::test_file_recurse_directory_test
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_anyof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_dict_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_hostname_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_not_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_oneof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_optional_requirements_config_validation
|
||||
# tests that need network access
|
||||
tests/pytests/unit/utils/test_http.py::test_query_proxy
|
||||
tests/pytests/unit/utils/test_http.py::test_backends_decode_body_false
|
||||
tests/pytests/unit/utils/test_http.py::test_backends_decode_body_true
|
||||
tests/pytests/unit/utils/test_network.py::test_isportopen
|
||||
)
|
||||
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 4096 || die
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
local TMPDIR
|
||||
TMPDIR="$(mktemp --directory --tmpdir=/tmp ${PN}-XXXX)" || die
|
||||
(
|
||||
export TMPDIR
|
||||
cleanup() { rm -rf "${TMPDIR}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${TMPDIR}"
|
||||
|
||||
USE_SETUPTOOLS=1 NO_INTERNET=1 SHELL="/bin/bash" \
|
||||
epytest
|
||||
)
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
|
||||
HOMEPAGE="https://www.terraform.io/"
|
||||
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="BUSL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
|
||||
BDEPEND="dev-go/gox"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( {README,CHANGELOG}.md )
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED=0
|
||||
gox \
|
||||
-os=$(go env GOOS) \
|
||||
-arch=$(go env GOARCH) \
|
||||
-output bin/terraform \
|
||||
-verbose \
|
||||
. || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like to install shell completions please run:"
|
||||
elog " terraform -install-autocomplete"
|
||||
}
|
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
AUX rpm-4.17.0-libdir.patch 855 BLAKE2B 81a2daf0577c8dc3feac190764125da7a616e24ccdd38c3715c3c68f7fc831cf2662e629f23ed88f7d133961a40ac7f63acd6c7f52e99f17abe53442b2a5f14e SHA512 68d884cf9d57d89138ee7d6882869b0560aa9cd3dc82b837c47732f2d0248b42fbdafbbcc1f3f04322cd750744d97e4512491fb0591eb0622b2a5d1918391c46
|
||||
AUX rpm-4.8.1-clang.patch 1519 BLAKE2B 7338b739782296e8be1d4a0ce9cdbeae558831897585d9b0d3fee935a82ed68e4066e7bbb1e722f212277dd3ede8be2ebad65f4a3f1286911c64263034c8b766 SHA512 7e6400f1782d536a26f322338be798c675ca69e755df0cacb3af1c56b3dc6487ae1c813f3579cba007cefa5b62c5e474576a4b8fd9230bb29536d246db860795
|
||||
AUX rpm-4.8.1-db-path.patch 628 BLAKE2B 69ac0d4541c4d6e74fd716529c4cfd482432d400f84f39775bd585931e786acf45ab7a1da617f0214dcba90c78511ca22fc556896ae1963ec9160787fdaab902 SHA512 12539bbeda99d261890d50304945c7f022681ca0a283c70f17a6b1f188e9e24e9ce05b71d541ed6d951f94576b5183c49c4db784d5016d075a859c1e4dcb9005
|
||||
DIST rpm-4.18.0.tar.bz2 6600013 BLAKE2B 127c3b1427884d04c3db4fc73eb73a978a58241bc740620e3e46c7557d99833092866b5d9c8b4fdf72cd106668d9e5f5cb8c4b918decf1513a82d10258975116 SHA512 c218b811c0c2db368a2919f60742904a4a5abf09dc20804d649eb42f1853d1c21d121086d6014cd210b2040643c37b5d86b53052958cf702ae2e54fe65f1c0ec
|
||||
DIST rpm-4.18.1.tar.bz2 6396363 BLAKE2B 4bc582bdc34a89d83346a8e18133c4f1846f2e8741c85ae2d0fd3398166e5a5d81ed86869e34700d3ea414fbf8ccf6c918692e865b956b1e6b70830b64cd323e SHA512 0ede2138b9b4c3b50d7e914cf82655507fcc207ba67804c749ea17560002976cb26b95801e9138a51589b60459494a991213a1131dbef5af2eca9b5050a4f29c
|
||||
EBUILD rpm-4.18.0.ebuild 4096 BLAKE2B 371c8d3817a9d9046dd62dd333a6d95f93378fb5ae43cdf1ec51705caf85a94444b580f07cd32bdf9eb4779681f281328d8a651464975563c0d2291f676bd669 SHA512 91e71e8f963100fbafe72aa4b3119db70112398ed728e425df59e13dcf530c8856a55ac6d6ca9273a08588479765b669711b70d342bd7880b142e3c0eb5aef4d
|
||||
EBUILD rpm-4.18.1.ebuild 4080 BLAKE2B cfca19b94531dd62a7bbf653d5cbbe55dfe0e5bea72de641668c90b49db06396dd8a6efe31626eac1fa6a17d1716e32d5b41ac1f5369ec14753af88146ae5aa7 SHA512 6203fb03324a87159a7ecc4172ec85fe34b9ddad9eb2b5b662db08ff728898436d7601dbf678f6ad55f24425f3655a913c0b3f2f3f76f62568a373ae54ca75f4
|
||||
EBUILD rpm-4.18.1.ebuild 4119 BLAKE2B fdb015484110dbe4e8292a3b0a2ee2a4021d2f358b1a038cb96e46a66342204625c41fa8eacbca4877a25656c2aa5cfcafa61a3b42e79fff0de02134838cd7eb SHA512 777b10bc145d0761bb785174b2849ef00dfd4f0a8f1699053d70eecf9c83c7b02a71e4d9e4a9c919e668e6a106911edba2cf0a1c80ee76c0904938daefca443e
|
||||
MISC metadata.xml 260 BLAKE2B 00f83151d62c157bea18101b36007f01e6da9d16d438671c37b929b1e19cfc202f379816a1b0d9e3faea99c44a43f97a5d43100266c683487dabba09f1378eea SHA512 d6fc386bd5be91d5dff3d7aa514f4d72e7301a47f888db95573d72505ee86987ae6412fdd8aec82842c006abe831d99f6178b1ac78a04a7dbf9e5bce1d249cb7
|
||||
|
@ -0,0 +1,52 @@
|
||||
https://github.com/rpm-software-management/rpm/commit/6ad8a71407b173b6c50d389f01edd8a4aecd6807
|
||||
--- a/lib/fsm.c
|
||||
+++ b/lib/fsm.c
|
||||
@@ -1015,27 +1015,28 @@
|
||||
}
|
||||
|
||||
setmeta:
|
||||
- /* Special files require path-based ops */
|
||||
- int mayopen = S_ISREG(fp->sb.st_mode) || S_ISDIR(fp->sb.st_mode);
|
||||
- if (!rc && fd == -1 && mayopen) {
|
||||
- int flags = O_RDONLY;
|
||||
- /* Only follow safe symlinks, and never on temporary files */
|
||||
- if (fp->suffix)
|
||||
- flags |= AT_SYMLINK_NOFOLLOW;
|
||||
- fd = fsmOpenat(di.dirfd, fp->fpath, flags,
|
||||
- S_ISDIR(fp->sb.st_mode));
|
||||
- if (fd < 0)
|
||||
- rc = RPMERR_OPEN_FAILED;
|
||||
- }
|
||||
+ {
|
||||
+ /* Special files require path-based ops */
|
||||
+ int mayopen = S_ISREG(fp->sb.st_mode) || S_ISDIR(fp->sb.st_mode);
|
||||
+ if (!rc && fd == -1 && mayopen) {
|
||||
+ int flags = O_RDONLY;
|
||||
+ /* Only follow safe symlinks, and never on temporary files */
|
||||
+ if (fp->suffix)
|
||||
+ flags |= AT_SYMLINK_NOFOLLOW;
|
||||
+ fd = fsmOpenat(di.dirfd, fp->fpath, flags,
|
||||
+ S_ISDIR(fp->sb.st_mode));
|
||||
+ if (fd < 0)
|
||||
+ rc = RPMERR_OPEN_FAILED;
|
||||
+ }
|
||||
+ if (!rc && fp->setmeta) {
|
||||
+ rc = fsmSetmeta(fd, di.dirfd, fp->fpath,
|
||||
+ fi, plugins, fp->action,
|
||||
+ &fp->sb, nofcaps);
|
||||
+ }
|
||||
|
||||
- if (!rc && fp->setmeta) {
|
||||
- rc = fsmSetmeta(fd, di.dirfd, fp->fpath,
|
||||
- fi, plugins, fp->action,
|
||||
- &fp->sb, nofcaps);
|
||||
- }
|
||||
-
|
||||
- if (fd != firstlinkfile)
|
||||
- fsmClose(&fd);
|
||||
+ if (fd != firstlinkfile)
|
||||
+ fsmClose(&fd);
|
||||
+ }
|
||||
}
|
||||
|
||||
/* Notify on success. */
|
Binary file not shown.
@ -1,16 +1,16 @@
|
||||
AUX duplicity-1.0.1-fix-docs-cmd.patch 642 BLAKE2B 02fc2a2efcfbd6cabe6da997efbf02401df0560edc239b949f89357c66735b6a7282c356fd93ce2b1163543e1fb95ab17332a4ac9f0aea16ae5ec92f232c6c8b SHA512 410515e48aa5c64aa72bb6930bedc5542f57265d31c80bca1c95244d2e87bcf74a822308d27263f48726349a8271db6663b14159c6c3f4b10d25869078fdce6b
|
||||
AUX duplicity-1.2.2-fix-docs-cmd.patch 616 BLAKE2B e138d8778896254cbf0daabf5457ff7a4fdc6600d9618eef2ce1cc8eb24d88bb8d8ba69ae691d31f5dfa1937c474dedd67cb2fd0a8f1270617ec64fa3300fc00 SHA512 e94433b2c7e50c8e3a5f1c46653b656ac079cc87501c4dfb8b8c78b5895a666c537bea713e51de299b7f05eeb3c68bc3d224ea570f79a0f425f744b1e52c15af
|
||||
AUX duplicity-1.2.3-fix-docs-cmd.patch 621 BLAKE2B ca8f2aa4099ffac152cb7844e5f871679fac0a8c28a19f9c445b820b4a40ec95835f70cdbd2db16f22e2f7dacbb961147f85810682744e058525930ef78dd4e6 SHA512 df3da633bd6d2d1ff250a8d51824be13756d59809fb893ddc48fa7449ef80b5f43464bbfaaaba5efb1bbb3782745a2375e321944b86d2e902f617381b088a9d9
|
||||
AUX duplicity-2.1.0-fix-docs-cmd.patch 607 BLAKE2B dce894101c4b0d5eeb81f229e473f0671c03e44fa57d4175af38a8d696a0bae3aa8767ab76579425bb33a71dbd41729d7aebce0bff1e0f4df4c4dff3fc388b2c SHA512 52252c28c5d3f186fa32e208ae0fcc933982a58ceabbd9db1f99e66524d0451549dfd7050890a1ac72a69fe6869b0a1befd51419e1669aabc7c305b805c4e1ec
|
||||
AUX duplicity-2.1.1-fix-docs-cmd.patch 612 BLAKE2B 5ca3ddb929e492d54ff337b08d5e729c2e54054838541783eee9685313191e844eaadc19362c488c24d3cf9538bf279729b021ed458af1cc34d1034842467f10 SHA512 531028745892557ea133c28d0c6f8816991bada6f5134e5623eeb83db35e1d5b59790458406279af427a2b166c3b5d5d22b052939f8ae34b4dfd0699ed318fb8
|
||||
AUX duplicity-2.1.4-fix-docs-cmd.patch 583 BLAKE2B 0f57dee13013e53b21196a2ee0a6518d472d20203b69daf0042051d3b3b0288d376b505167c3442da1ff7944e7f7e5444f0c5cd25a54ebc89ed87ca7f84f8b31 SHA512 a438332f371f8c23ddcb7ef66820490652cad6036e93b0e1bf258a979460f512e091cf562d301aee4d8340feb0d7ac780bdb740f75fcbd9427f682b6131cbe2c
|
||||
DIST duplicity-1.0.1.tar.gz 1928618 BLAKE2B f7ffdd488e42219b66b6174dbb944283d02910f57cae9fcf849e8f5363986664a49ba7e316d6b3efdce89deec7e4c6a65a95bcb365fa23b928244b5e8f29d48b SHA512 dab8341b990b1899de6080f2539681f0a84f1875fabf04ccd68908e8dcdf55cd31f26d1431488b49ac6b048a1e7ff2e0a0afa27f6eccfd6a20f47dd7193b4563
|
||||
DIST duplicity-1.2.2.tar.gz 1427493 BLAKE2B d30f91054c59695483a60a684ebc11440b1a490dc635fdc856d7e3e75d7c3b8bc3f8680ecec0af435fe3064c292c6ff0db392e6bb33c682e9527561196e842e1 SHA512 5da4addd0742afa93c62c506f49235b396a7d4bb6576bfd5ec223e04936072ef92e874c533f0f7ece3c1460bf017c2e1875d4ed5c08181113e2509dd28b4521b
|
||||
DIST duplicity-1.2.3.tar.gz 1438570 BLAKE2B 12afa69f537d2207343c1638df1cf69ad3e170b2f1368e5d8b86716ccc67564834798e2076a90f021bae8f1d8574ff50f0615fd873cdcddf1399349974d8d4c2 SHA512 d2a31b4ed2c0a188d6d2ac543d3d4a474b4c10028a3005b26f57bd57e8c7441eb96e361aa9805fedc6aa09e76e86d3d1e99800669dfb7b2510233e2c0aba15de
|
||||
DIST duplicity-2.1.0.tar.gz 1502980 BLAKE2B eb90898b75128cd4140f0ab49172da439b675cb512b03c7a449db295ffb6e0beee77773fcf364e69c9303b094ab5572a4bf72fb4fbbbfdec29bc3ab40812ab8f SHA512 c8777903935391b0968aeea562202a175625d6c2cac5cfab422ec0c9c002652b34f14f74a820971a74b2f62c58efea49d37bef3918943210fe623a12278f4ce8
|
||||
DIST duplicity-2.1.1.tar.gz 1420132 BLAKE2B 35cfa7c6c2caa647f3b2046783185973203b5d838c0d1a1a8e24982f1c7f74a1d025e0b0740c0c7bc14d516c59d3e691a2712b19b30882e9dbb411cecb90f4be SHA512 fb19b1723e1e220ca72a41c3678ca29d889b2315c7fd043334d55cc2040d991e66480d71c6cc3f2ee5d17d9e1d9fb24ddc4c0ed771bbbefb6f1f6aa14cbe0347
|
||||
DIST duplicity-2.1.4.tar.gz 1556341 BLAKE2B d8302a7097519fd593fc05c8390101e615eaf11333e9d15e1ba7756b8ed9764709db80df41c741ee39eda0fa6de22c910b53db32d558c1ab09867c66724a056c SHA512 91804c6f4dc13d700cbe4747317f9611f530996de8a22a0907d714fb6f8a7fadc3371c270a2257c24324c0233bb4501a4b7d33aea7631862568c8530f7173ef1
|
||||
EBUILD duplicity-1.0.1-r1.ebuild 1093 BLAKE2B ad89ffef1f265315f0d17557314d3d864a8220d4891b08e01a1077abadad66076530fc03ef4ba20e12d9c2621368cab486b84035389e6ab64477d3b52613fd60 SHA512 6c0c8a13954b22ebe7b24ff1aee17d505ca4ffcf68e28168456d4b33cddf6d3dd2b729846df878de1bb6410f32cdcb3a3dbd03505f06254bd06b7dd64e30bcee
|
||||
EBUILD duplicity-1.2.2.ebuild 1127 BLAKE2B a7aaaf28b6fef482d6859f9a15e54ba8e215226b5f8bd67284955e107e15b40cb8797589a804c347b083aa4b9e46558742e3133a25b7d6f6a1831fb44fb4cb26 SHA512 a7986e75be1320bf0c9e9bb00d23a9f2888efc16bcc9e4b4e0f00e38f8580a878658281c4baf8aa00dabf37e562055fe99179e879445eaaf67fa92a6de3f60ea
|
||||
EBUILD duplicity-1.2.3.ebuild 1125 BLAKE2B 9874a0f6755e920108d0f470ed49019244f490f2b0e3b6764b81760d5e0bdfcbe2687ea0195e6fa7477e74ab9d040f9271d69eeee205436952621c036bec1ce5 SHA512 ed5c81c476a67b5d0680a6277d6f0001140cea1916ddecc9cac695183948a89a20528af83a6c0f148220d28bb5abc6805f81e07cecffba2b6298700b9b047314
|
||||
EBUILD duplicity-2.1.0.ebuild 1106 BLAKE2B 00f2105cdc6b2f27998734a9cce83faa46f33c8010fc86739a4e1477d48356fe9c80af65062f52f20a633c68a010b0cc674bffacb91fa8b3239be146fae34e57 SHA512 9df3d61d61a466351cc0991ba70a1a212ea07900634cd3dbaf21ab357ae27b429d1d208df4169928cbb5b11fe87e0615e43a2ed3ca8db106cff484a7ec83b174
|
||||
EBUILD duplicity-2.1.1.ebuild 1106 BLAKE2B 00f2105cdc6b2f27998734a9cce83faa46f33c8010fc86739a4e1477d48356fe9c80af65062f52f20a633c68a010b0cc674bffacb91fa8b3239be146fae34e57 SHA512 9df3d61d61a466351cc0991ba70a1a212ea07900634cd3dbaf21ab357ae27b429d1d208df4169928cbb5b11fe87e0615e43a2ed3ca8db106cff484a7ec83b174
|
||||
EBUILD duplicity-2.1.4.ebuild 1106 BLAKE2B 00f2105cdc6b2f27998734a9cce83faa46f33c8010fc86739a4e1477d48356fe9c80af65062f52f20a633c68a010b0cc674bffacb91fa8b3239be146fae34e57 SHA512 9df3d61d61a466351cc0991ba70a1a212ea07900634cd3dbaf21ab357ae27b429d1d208df4169928cbb5b11fe87e0615e43a2ed3ca8db106cff484a7ec83b174
|
||||
MISC metadata.xml 404 BLAKE2B 9fa4c854c3f8ad4cf2583806f1335a86271123390ff3b2ae887fa5c2acae5e7a69c38a79d6ca09d9a6a30d2d81b5806f1fa0e580a55ac37fa61a54a52d348193 SHA512 9c0ff92038e96fca050bd49d48d5dd0027fa1e5e1cd5269e7cb42e3fdf2b526365ce8df8dba918feeb2dbe246bf1e2163b42b77ce0f8b5bf5b990ab8b9722dd8
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- duplicity-2.1.0/setup.py 2023-08-30 13:39:42.430023811 -0400
|
||||
+++ duplicity-2.1.0/setup.py 2023-08-30 13:41:59.154868245 -0400
|
||||
@@ -92,17 +92,6 @@
|
||||
'bin/duplicity.1',
|
||||
]
|
||||
),
|
||||
- (f'share/doc/duplicity-{Version}',
|
||||
- [
|
||||
- 'CHANGELOG.md',
|
||||
- 'CONTRIBUTING.md',
|
||||
- 'COPYING',
|
||||
- 'README.md',
|
||||
- 'README-LOG.md',
|
||||
- 'README-REPO.md',
|
||||
- 'README-TESTING.md',
|
||||
- ],
|
||||
- ),
|
||||
]
|
||||
|
||||
# short circuit fot READTHEDOCS
|
@ -0,0 +1,23 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 6711c8a1..2bc0bd95 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -108,18 +108,6 @@ def get_data_files():
|
||||
"bin/duplicity.1",
|
||||
],
|
||||
),
|
||||
- (
|
||||
- f"share/doc/duplicity-{Version}",
|
||||
- [
|
||||
- "CHANGELOG.md",
|
||||
- "CONTRIBUTING.md",
|
||||
- "COPYING",
|
||||
- "README.md",
|
||||
- "README-LOG.md",
|
||||
- "README-REPO.md",
|
||||
- "README-TESTING.md",
|
||||
- ],
|
||||
- ),
|
||||
]
|
||||
|
||||
# short circuit fot READTHEDOCS
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST GeekbenchML-0.6.0-Linux.tar.gz 451747506 BLAKE2B bd08fc83192c1af827278765922411c708e6d971a04d0d6613bef94277e36fd8c0a2e0d9ec7abca0175a8ede46106ad92d8d10303b05806f8e5a3ce7ffde1920 SHA512 70fcace831d6ce89fef853f963fede592044b19fe23c5cd2b9d514d94bdb3b61070975435e061aa5ab657400aeb60d4fda623a1c2ef589e7429481ff7b0a9300
|
||||
EBUILD geekbench-ml-0.6.0.ebuild 926 BLAKE2B 1e809b358cc0b4fc7db23278bc31f85d083885aa22ab2650930b07f5eb47a06cea02a873bf729aa8eb2a9fa6b520f08d84900ecb6fc84ed1347d405d88d05465 SHA512 e71302a8197924341965aa2624c60e8fed9f027ab418374920b749d8272721b62b2e1a28a70b6a7c249b9a3fdc15525f11d06632a283bcc11d1e319df2e106b7
|
||||
MISC metadata.xml 251 BLAKE2B ba937d5724c861b8bfd1d287a325357d6a63656cf5c2314185a486be769eb22b39fa780b38c05407bce5f0707585d499a849a28e15a2fde9eebba6f529e686a3 SHA512 0fb5b55fc7db96153970767478727504fd0e87c1c8a77593f1f30720064e95776b92e4993f9aed076c983eee5cebca446fe8894e36fbcc02802bb1c158747dd3
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A Cross-Platform ML workloads Benchmark"
|
||||
HOMEPAGE="https://www.geekbench.com/"
|
||||
SRC_URI="amd64? ( https://cdn.geekbench.com/GeekbenchML-${PV}-Linux.tar.gz )"
|
||||
S="${WORKDIR}/GeekbenchML-${PV}-Linux"
|
||||
|
||||
KEYWORDS="-* ~amd64"
|
||||
LICENSE="geekbench"
|
||||
SLOT="6"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/geekbench-ml/banff_avx2
|
||||
opt/geekbench-ml/banff_x86_64
|
||||
opt/geekbench-ml/banff
|
||||
"
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/geekbench-ml
|
||||
doexe banff{,_avx2,_x86_64}
|
||||
|
||||
insinto /opt/geekbench-ml
|
||||
doins banff.plar banff-workload.plar
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../geekbench-ml/banff /opt/bin/geekbench-ml
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you have purchased a commercial license, you can enter"
|
||||
elog "your email address and your license key with the following command:"
|
||||
elog "geekbench-ml -r <email address> <license key>"
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +1,3 @@
|
||||
DIST stress-ng-0.17.01.tar.gz 6168897 BLAKE2B 37fbee68094dc4d840a804bd9256bc51341c4daa199b99cd008cb0675edadb2ac2e69efb6dedb7b089af115d5299d373df8b9977361eaa547132f9192954bfb6 SHA512 1fc4ec634c000b6fa314d6b48f66ff0f26ffb2bd47894c7a88eaf51f292e8ae5534f766c307588d14dcee9fd926955b30071eebb41610c47c9a23c7e01ff6c50
|
||||
EBUILD stress-ng-0.17.01.ebuild 1136 BLAKE2B c652d1d73074aa8d283a17b457770ed1bd27cb299726d8786fb735d6542c5092554684f2814e3e4d606fa6bf5aed26d0f20f80de6f051820f98a5d425a96af09 SHA512 c5649e1d1db6f66762602a5c0f7c494c3e27ad30ebf049cca9f1da168a7f19f834bc9c00b6b2bba6f35e5fbdc705a392eb3afa9218eb64511898af124eafa2f5
|
||||
DIST stress-ng-0.17.03.tar.gz 6187795 BLAKE2B d5c08a9d46b65c254f60e6192e3de305be7fb74769cff1714553006645fbccb7d94238c48c5612fe20f1b809962e8093c4d5bf96bc39720f162b0e17d7111bb3 SHA512 8d4bcab77682e448f524c8e2f5bed35a4a3e946ac4b3ff2df451178fc520db13c84bfb112ad09c96db4467b41c06d9a33ded99efe90f17009effccb2310653c0
|
||||
EBUILD stress-ng-0.17.03.ebuild 1136 BLAKE2B c652d1d73074aa8d283a17b457770ed1bd27cb299726d8786fb735d6542c5092554684f2814e3e4d606fa6bf5aed26d0f20f80de6f051820f98a5d425a96af09 SHA512 c5649e1d1db6f66762602a5c0f7c494c3e27ad30ebf049cca9f1da168a7f19f834bc9c00b6b2bba6f35e5fbdc705a392eb3afa9218eb64511898af124eafa2f5
|
||||
MISC metadata.xml 835 BLAKE2B 88b503bcc225861dfd5a5e016bc0c6df87d13e758f9eb8d73103deb5f1d88163f260f24efcb4988a245b1ea2888e18da86d031d52c9dcdc702dbd9a7c510b691 SHA512 dfc8c9cb83e0960fd0881affc5cd12fe843743faa92e3af0edf0ba86ad8107de60669cd32e156be9ea645a817f38f7091be2b9c870902e7109f937e584feac99
|
||||
|
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
From 8bd2b3b3f889787de515eaea532ff728527a8788 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
|
||||
Date: Tue, 12 Dec 2023 23:12:41 -0500
|
||||
Subject: [PATCH] lxd-to-incus: Update for LXD 5.20
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
|
||||
---
|
||||
cmd/lxd-to-incus/validate.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmd/lxd-to-incus/validate.go b/cmd/lxd-to-incus/validate.go
|
||||
index 8e8020ebf..0078f8793 100644
|
||||
--- a/cmd/lxd-to-incus/validate.go
|
||||
+++ b/cmd/lxd-to-incus/validate.go
|
||||
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
var minLXDVersion = &version.DottedVersion{4, 0, 0}
|
||||
-var maxLXDVersion = &version.DottedVersion{5, 19, 0}
|
||||
+var maxLXDVersion = &version.DottedVersion{5, 20, 0}
|
||||
|
||||
func (c *cmdMigrate) validate(source Source, target Target) error {
|
||||
srcClient, err := source.Connect()
|
@ -0,0 +1,191 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/incus
|
||||
acct-group/incus-admin
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
dev-libs/cowsql
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:*
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND="dev-lang/go
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/incus
|
||||
/usr/bin/lxc-to-incus
|
||||
/usr/bin/incus-agent
|
||||
/usr/bin/incus-benchmark
|
||||
/usr/bin/incus-migrate
|
||||
/usr/sbin/lxd-to-incus
|
||||
/usr/sbin/incusd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/incus-0.3-lxd-5.20-compatibility.patch )
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
internal/server/apparmor/instance.go \
|
||||
internal/server/apparmor/instance_qemu.go \
|
||||
internal/server/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
internal/server/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/incus-0.1.service "${T}"/incus.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/incus.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
# fuidshift should be packaged for incus-lts, making it conflict with lxd.
|
||||
for k in incus-benchmark incus-user incus lxc-to-incus ; do
|
||||
ego install -v -x "${S}/cmd/${k}"
|
||||
done
|
||||
|
||||
ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/cmd/incus-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/cmd/incus-agent
|
||||
|
||||
cd "${S}"/cmd/lxd-to-incus || die
|
||||
ego build -v -x ./
|
||||
cd "${S}" || die
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/incusd
|
||||
dosbin cmd/lxd-to-incus/lxd-to-incus
|
||||
|
||||
for l in incus-agent incus-benchmark incus-migrate incus-user incus lxc-to-incus ; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
dobashcomp scripts/bash/incus
|
||||
|
||||
newconfd "${FILESDIR}"/incus-0.1.confd incus
|
||||
newinitd "${FILESDIR}"/incus-0.1.initd incus
|
||||
|
||||
systemd_dounit "${T}"/incus.service
|
||||
systemd_newunit "${FILESDIR}"/incus-containers-0.1.service incus-containers.service
|
||||
systemd_newunit "${FILESDIR}"/incus-0.1.socket incus.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please see"
|
||||
elog " https://linuxcontainers.org/incus/introduction/"
|
||||
elog " https://linuxcontainers.org/incus/docs/main/tutorial/first_steps/"
|
||||
elog " https://linuxcontainers.org/incus/docs/main/howto/server_migrate_lxd/"
|
||||
elog "before a Gentoo Wiki page is made."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "full incus-migrate support" net-misc/rsync
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the incus group."
|
||||
elog
|
||||
}
|
@ -0,0 +1,188 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://ubuntu.com/lxd https://github.com/canonical/lxd"
|
||||
SRC_URI="https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz
|
||||
verify-sig? ( https://github.com/canonical/lxd/releases/download/${P}/${P}.tar.gz.asc
|
||||
)"
|
||||
|
||||
LICENSE="Apache-2.0 AGPL-3+ BSD LGPL-3 MIT"
|
||||
SLOT="0/stable"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/lxd
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dqlite-1.13.0:=
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
|| (
|
||||
net-firewall/nftables[json]
|
||||
(
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
)
|
||||
)
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:3
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND=">=dev-lang/go-1.20
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-canonical )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/fuidshift
|
||||
/usr/bin/lxc
|
||||
/usr/bin/lxc-to-lxd
|
||||
/usr/bin/lxd-agent
|
||||
/usr/bin/lxd-benchmark
|
||||
/usr/bin/lxd-migrate
|
||||
/usr/sbin/lxd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/canonical.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
lxd/apparmor/instance.go \
|
||||
lxd/apparmor/instance_qemu.go \
|
||||
lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
lxd/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/lxd-4.0.9-r1.service "${T}"/lxd.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/lxd.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
||||
go install -v -x "${S}/${k}" || die "failed compiling ${k}"
|
||||
done
|
||||
|
||||
go install -v -x -tags libsqlite3 "${S}"/lxd || die "Failed to build the daemon"
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/lxd-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/lxd-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/lxd
|
||||
|
||||
for l in fuidshift lxd-agent lxd-benchmark lxd-migrate lxc lxc-to-lxd; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
newbashcomp scripts/bash/lxd-client lxc
|
||||
|
||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
||||
newinitd "${FILESDIR}"/lxd-5.0.2-r1.initd lxd
|
||||
|
||||
systemd_dounit "${T}"/lxd.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
elog "including a Quick Start."
|
||||
elog "For virtual machine support, see:"
|
||||
elog "https://wiki.gentoo.org/wiki/LXD#Virtual_machines"
|
||||
elog
|
||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "full lxd-migrate support" net-misc/rsync
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the lxd group."
|
||||
}
|
Binary file not shown.
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
PARENT_PN="certbot"
|
||||
PARENT_P="${PARENT_PN}-${PV}"
|
||||
|
||||
if [[ "${PV}" == *9999 ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
EGIT_SUBMODULES=()
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||
-> ${PARENT_P}.gh.tar.gz
|
||||
"
|
||||
KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An implementation of the ACME protocol"
|
||||
HOMEPAGE="
|
||||
https://github.com/certbot/certbot
|
||||
https://letsencrypt.org/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
S="${WORKDIR}/${PARENT_P}/${PN}"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
# The requirement is really 17.5.0 but easier to require latest stable >= 23.1.1
|
||||
# to avoid broken 23.1.0.
|
||||
RDEPEND="
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-3.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.1.1[${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,3 +1,3 @@
|
||||
DIST jitterentropy-3.4.1.tar.gz 86110 BLAKE2B 729ef7d01a17c9eb16cc352da0286bd292f2faae63754b06036dbb44d52e85e2e2e0d2a38ac57d4350eaebbc47457f0457a988a657f7fe6c5d782d50922552d2 SHA512 c832b33c084a8c56fb9ee0c0f7397fa9206cbd6fcbea047495e543566fc0d9b5d8978c8668103203d87b5b70c0e177f9ef7cc614b3ce689b90fbb8b85e6fedbb
|
||||
EBUILD jitterentropy-3.4.1.ebuild 1611 BLAKE2B cbac2e59cf9c2eadc177a288134e9d7e141a1798c0ba32c14064f1f174a3206f1696e46ec3e1f13e6ee4d2a573cd4c7505733f59aeeb1d5352a342adce395770 SHA512 97760c7ad5934cddff17d6bc0c57b15df856076a15f845775d8a652fbfa49be33058b277c6b34be631cce5af6abddf6ca6e2b09dd59f454181b6632fb0cf3561
|
||||
EBUILD jitterentropy-3.4.1.ebuild 1618 BLAKE2B c9948daa8dbd9e1f649b916a170e6c2bf6fa1e6cb340d98eb86636df0b4c7f4ec9a66ddfd97f947be0b194074e3bb4c321298efd5378163874f87df8ce5c22bd SHA512 1877add8a218de7696c7f2b42203332403e9aabd6cb4ff0e2531378aca6fe851156e95f74167a0c25a8ad2e24cf7384c132289ede5ec884d9854510cb130bb23
|
||||
MISC metadata.xml 681 BLAKE2B c0777e7525bc36dd9a65680b2cb0b918d73f9e091fe686b7d7ec3ec4441b73c776bf8d3526cf8f16dcb34228532a633b9d6d9df18b2dc626f602eb813cf53634 SHA512 1cc9f7bdca491ac96ce85adf9a0fe1462e52e1da99181750aaf362197dde3c68e9278ead72e0ca81b689812edcb3670e1a143ef37c5dab7b646b818df5c893a1
|
||||
|
@ -1,8 +1,11 @@
|
||||
AUX 50-mooltipass.rules 963 BLAKE2B cb2d382eb57f3d802e23b115d6978373dd5e4c250e82804af59ae5ea15db3853765fb0afe9a7ba928be6dbd9069714480b683b3129802b9fe2cb234e10cfcdb8 SHA512 223bdc6b8c5b87ef2691d45cb3888ad83a58d42383331a1fbf9ffa359f8c78b51b4ea188dc1d52db7f5cdaa8b6a1393452fcfc22fbcb1b4bfed0cb146f68be0f
|
||||
AUX moolticute-1.03.0-fix-return-type.patch 428 BLAKE2B f85cd7f9e8eb788236eabf4d6a58d45f1f82abca1ecd01189368088783089538f1f07f051bc4648a0fb98adb88c9af82f1d849dea0e8e7cf498ecb1e21fdde35 SHA512 845fe2502375d76017b38c7318c5479d1eca411bffae825889ecb301c0bd59a4603e4889939433dab10b64a7189155f13269601942f65f4974bd313b7ed09fa2
|
||||
AUX moolticuted.init 262 BLAKE2B f4eb3e905d03de4586d040dbcbeb3e381e6ae64d80b10f69b0f3016018276d8f0d5a0f42102f5e75c43531fe94693565d29417c116f9e0ea196f3634f6e69355 SHA512 42ab6aa95943bc16e32914d05a6f418e7e84f60b9516304ab3790e3992f51d9d552e14606b944b96868d826e86ba10ac1e2ba57568fe8ca13eb107c4bd433f35
|
||||
DIST moolticute-1.00.1.tar.gz 5911062 BLAKE2B c3e20d4466c6020842447cb2fa54eee309664e8bbbb52aff8582ff7d333c8e5a9a2d286dace8207f62aacc41e0d9a99b733cfc5788dac72933ae7e15dc91a779 SHA512 c1a4ab39abc8360d088f267ae06f69deb135975caaf9224488d5e33127c1a9c1d2c80795d901e83bd13c82f80f1e362acfe59b03ad024b88ef7b8a7d56acd79b
|
||||
DIST moolticute-1.01.0.tar.gz 5912712 BLAKE2B dd6e22235978424744a6b0791c479c6cf233645a1a3879db6913acfca16ccb49eec45be5e9e2f6ba0f730edec658daa3aba91fcbd0389e734aeab7f89ca7a7ba SHA512 b5998f6739bd095e0ce8a18a9cc576a9f97b6e214b47670e5858937358f35c9dc36c3357b9ff943eabcd4a3feb7179cbc2640888aae8d59481abb41a81527c52
|
||||
DIST moolticute-1.03.0.tar.gz 5963926 BLAKE2B a5b5f98bb501811891c9ac22754538cd1df21b9cc848cb883d5babad89bb76bb9f9b4c533250b0eedca7a8b79ff44f85e6de1e00cdd6d6220ba61b67958be3fc SHA512 450753c5d7f1e226d9b75b8ab4d61970120a2685d249a637c1323141b73108321b346001d2310558e2365ca842c7a3d5ab2f7773d32b5365d2bb3f937108d186
|
||||
EBUILD moolticute-1.00.1.ebuild 1357 BLAKE2B b1d01c117607f24f66d78a700ed270ca045080af61ae3f26b176387bd16e97467dd0e4c514047ca9d3c739838113e0aaf7c9477448a908ab96892273041aeb2d SHA512 333701b211629d8a0fe8caf28f53cf87d3ab3daa1cc95489ec2906fbaa8d4ed1742ba2ca8467945796f3379afc7e3b8f3f0e93638d56f3bac060167c96f92aaa
|
||||
EBUILD moolticute-1.01.0.ebuild 1357 BLAKE2B b1d01c117607f24f66d78a700ed270ca045080af61ae3f26b176387bd16e97467dd0e4c514047ca9d3c739838113e0aaf7c9477448a908ab96892273041aeb2d SHA512 333701b211629d8a0fe8caf28f53cf87d3ab3daa1cc95489ec2906fbaa8d4ed1742ba2ca8467945796f3379afc7e3b8f3f0e93638d56f3bac060167c96f92aaa
|
||||
EBUILD moolticute-1.03.0.ebuild 1420 BLAKE2B 648e5f3a7a8ae401aec580cd0ef338093d1729563b9bdd9023ba9d872eca9a83f70457f400897abdb6509585a970f1bc2751e331d1ede7909251fc6489392c9e SHA512 293b782fb8dedaae6ee88fd3e9cb43588588dc9754b63651e49df8e468e7799c3df0d3c42eabd57fd4d1a444329855cdec467fb9dc40c7cc5a4f090ddd3f406a
|
||||
EBUILD moolticute-9999.ebuild 1357 BLAKE2B b1d01c117607f24f66d78a700ed270ca045080af61ae3f26b176387bd16e97467dd0e4c514047ca9d3c739838113e0aaf7c9477448a908ab96892273041aeb2d SHA512 333701b211629d8a0fe8caf28f53cf87d3ab3daa1cc95489ec2906fbaa8d4ed1742ba2ca8467945796f3379afc7e3b8f3f0e93638d56f3bac060167c96f92aaa
|
||||
MISC metadata.xml 561 BLAKE2B 3acaed8d64be983605a440f04e23f2ea9c6a8f8506276900a1b7256e863d2ebd1713a5310740e3b670997c3420b038703ead60db752d1d8a1b7ff0d0885dc854 SHA512 a83b9cfd8d7d94df853e5d1abde7bc01137d847679c9dc96203af4cd87547ec747e557502a1e34e713e11f4867da4b0b784428b75a6af2e97d57f63b920cb730
|
||||
|
@ -0,0 +1,13 @@
|
||||
https://github.com/mooltipass/moolticute/pull/1204
|
||||
https://bugs.gentoo.org/916994
|
||||
--- a/src/MPDeviceBleImpl.cpp
|
||||
+++ b/src/MPDeviceBleImpl.cpp
|
||||
@@ -735,7 +735,7 @@ bool MPDeviceBleImpl::processReceivedData(const QByteArray &data, QByteArray &da
|
||||
{
|
||||
if (data.size() < 2)
|
||||
{
|
||||
- return {0};
|
||||
+ return {QByteArray::number(0)};
|
||||
}
|
||||
QVector<QByteArray> res;
|
||||
for (int i = 0; i < data.size() - 1; i += 2)
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils systemd udev xdg-utils
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mooltipass/moolticute.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/mooltipass/moolticute/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Mooltipass crossplatform daemon/tools"
|
||||
HOMEPAGE="https://github.com/mooltipass/moolticute"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="systemd"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libusb-1.0.20
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwebsockets:5
|
||||
dev-qt/qtwidgets:5
|
||||
systemd? ( sys-apps/systemd )
|
||||
!systemd? ( sys-apps/systemd-utils )
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.03.0-fix-return-type.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fill version.h with package version
|
||||
if [[ ${PV} != 9999* ]]; then
|
||||
sed -i "s/\"git\"/\"v${PV/_/-}\"/" src/version.h || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 PREFIX="/usr" Moolticute.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install INSTALL_ROOT="${D}"
|
||||
|
||||
udev_dorules "${FILESDIR}/50-mooltipass.rules"
|
||||
systemd_dounit systemd/moolticuted.service
|
||||
newinitd "${FILESDIR}/moolticuted.init" moolticuted
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
xdg_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST cppman-0.5.4.tar.gz 3560915 BLAKE2B 37dae8d4f4884582fd4556bfb8778b62e332286b9438a4507dd1a401f40014964a2409a57f1b8d234bb6143555719a6b81ccdf939fcf95a46ddb0fdfd475ac32 SHA512 e401813772c393aaf0e403ee253510ad4aac9cd9733c015e195bb66dad70cb2db0ea3e3c9749d87aed04b49aee04639fa3f822dc8e69a5a8812c3992b3e5c86d
|
||||
DIST cppman-0.5.6.tar.gz 3820427 BLAKE2B ca4c3bc05e3f8b7de432147dcff861ab4b1d3b3de2729da2dc4cb8513f96b3b92e9a7ebbbf0ad577d7372ebc7d152290431d4d95127c63a1a9122c2dd5f12aae SHA512 bf4c0aa01d0a7158818f5769c66c420fb982fb3c0daaf83e4089f122e59ac5d9d2637b9ff079ea3ee7259bbb92b72992bcb2b1a593fc1bb7223288077fb523b6
|
||||
EBUILD cppman-0.5.4-r1.ebuild 1171 BLAKE2B 0f40607a8a0e67d55f81983b82aecd557f1614d5ddf6b18834c2d3e49761fc9c76846db210fe7827be0b8d37e8bdbcfae06860ba4ab1dc430673649130ec0614 SHA512 a5058885f913ec3bc09b6c1e862bf47c245a80f87385d2403cd8b04536ab39213de5c3d075b651061d291214de9bbd7eda9990f0e1f1521cec497fc83537f47b
|
||||
EBUILD cppman-0.5.6.ebuild 1171 BLAKE2B 0f40607a8a0e67d55f81983b82aecd557f1614d5ddf6b18834c2d3e49761fc9c76846db210fe7827be0b8d37e8bdbcfae06860ba4ab1dc430673649130ec0614 SHA512 a5058885f913ec3bc09b6c1e862bf47c245a80f87385d2403cd8b04536ab39213de5c3d075b651061d291214de9bbd7eda9990f0e1f1521cec497fc83537f47b
|
||||
EBUILD cppman-0.5.6.ebuild 1265 BLAKE2B af4f73b79f551b7b19ddb1f06c239913c6da165948961a3f5babe3f3f98db7294d94f5d7b7b017831b65dc84c2b7b7697da867b66237647c2ff1c4cda4c505db SHA512 827be8cebd7a9f34101caf79b701f9131d293e4412e21aa1ace9de3ee13088a3eac2874990957e01d6f101c00f48a4611db0e93b8e11a27752d580e7ec25f3ad
|
||||
MISC metadata.xml 490 BLAKE2B 4cc099727e7e108bc92709683a020e98e88e7f095018755fbed4214f4d3fa12e695268e23678b1be35864b42aeba8cfa75eadae44f7b424baa059ecd441f7010 SHA512 241fb920bd14116440a6b5358ed21ae8de5009cc56f3fdca72afe9f44d1a94f294326303317f8ab1c08949b44b8d24171888d95bccc72325193d4c4425bb64e2
|
||||
|
@ -1,17 +1,25 @@
|
||||
DIST BookFAQ-4.10.7.pdf 182327 BLAKE2B 5a625b1d455a7313ccd9a36296b11390c7497ba7cab4fe952933c29b9e706cac370332057a79d444100130dc5d4097258f71c6d51e36cc7b74cd62d8685f5479 SHA512 79a10f6b0d318ef19b05fc28b499d7d60a358a7a15cf8194a4a935721e35fe34c50b05b50032eb7134183b4ef8f4fc8f43f742007e2ffa0db0bf9c6ddd8ec917
|
||||
DIST BookFAQ-4.11.0.pdf 182265 BLAKE2B 9fcefdf8685eae15ad4a9906e5aae660be813f804d42d11292636e9ba7ec42e91bfc58b6204295372fcba8c327cf8dea5c2e20439ee3e8a73118e1a7845c04d5 SHA512 ead5bd2ec2f7dea6320b7246d09b9fc65beebb551c5b4ae7a875dfd75f874f14927468e1a0a033c2a530d403887e35f2e8ad4b2d417eadb37018cd7a2bef75b9
|
||||
DIST BookFAQ-4.11.2.pdf 188958 BLAKE2B 4a8926ccdd5eb25251f39c29efaebd6f7c90cc385cea1b44dbcd5fa59f695920d85d6829e9e18e6d44a209d5eb3b29a04c83a4e5dd6126acebe178e88370c172 SHA512 91e6d14f9baf01029e463ddb1ae02915e7dfc9798ce59f2bf54b81eb2f85c5888e650b13c443d94edc9a563fc6c8910e2ca14f250d565eedeedf9eebe79188c8
|
||||
DIST BookForApplicationDevelopers-4.10.7.pdf 3796649 BLAKE2B 75acd17cfd29245604fb95ffd606b72ef59943d3916e34e0c33ed271d92f2091994c99ebbae0b95fc09bc42092e1983a320142bc62a7156d702584dd276273ec SHA512 273c0b0ca94dc9d26b44955ea13150417e766b08762b5b2c94d743fbf6ea7b47dada9009cc8765b62e3e7e6a2ad37b95168c45f206e20cbb23cea9c577da3f64
|
||||
DIST BookForApplicationDevelopers-4.11.0.pdf 3893374 BLAKE2B 7fa8259a81e6d5ca704576b5c77c5940a12ee3fe916b6aa90c6ece050cb648ccf1ab3b4add95199acad9a29c5c8ae34386ef726554bc5cc8d29115fa10fc52b6 SHA512 9a3e475c7f6506d47b5e72982c3e5a41deb30e9e6cf1f699b90fbeca2176d9dbb900f68be5f241e9e0335551d84d4b4ffcd576cb16f381b296c163dd5b3d972c
|
||||
DIST BookForApplicationDevelopers-4.11.2.pdf 4819904 BLAKE2B 4364e1e953a85ec07d3157e521320526d40daef54f65f6bc12a2c33caf502ef2276e4612d2af19b8254fd7e97b8edfaaf938860ffbcf61accf30d7c07997b8b7 SHA512 b1a9f7a48318894f8877eb08b5be5d2f2fd9384264ac80fb25f0d2671e4b889c4610e60aea58a60bc719bbcba6dfb82f567d6b258ca80b00768494f59c487d9f
|
||||
DIST BookForToolkitDevelopers-4.10.7.pdf 7336024 BLAKE2B f217c2bd01b73138f5b6b7f4211f5277fe2ea0f48e9849fedc4d5c56b766b69705fac2cf3d7523c8d008d6a546e4753ce485d852c4b8886a2403c6ba7212704e SHA512 62a68b3c02dc301f3c627da3b029620606e975316f90637b76e06e5e766647608d69eb29a14fdbe3264401d664eecd5d128b9990cef0c5f6f69d244dc804cfb8
|
||||
DIST BookForToolkitDevelopers-4.11.0.pdf 7330097 BLAKE2B e17b8c1b9bca837f0ea5587fdb1df4360bae433ac9583e32c6a07d81841e2fa89e2b816338c874bd55e92a355fe46381c9d604765d04c52a0f3769d9151b9827 SHA512 03876b7ba031e46bbb206244c180d42ceae5b9e66c2d78586fe2358e64aacf146b9c04cef9aed74a41f00598f905727e0a0723e7b8b8febcaa9e39b8f66a6106
|
||||
DIST BookForToolkitDevelopers-4.11.2.pdf 7350281 BLAKE2B cc048f81bda2cf58b12d9b91aae17a5eb4f7a21e91b7ac5c2fd6c1816876202499277b99981f4333d5c1e920f020f660bf0e10f317a1e183403e0249c9a1267b SHA512 61ad284dc4a5e0889f5a5d31afd45dfc5eeabbb1a016155ac422a7ddb775eab1deee11a684693c6329acc09a2b368b31dd1961498ae6f77f84bdf9017e1df1d8
|
||||
DIST Geant4InstallationGuide-4.10.7.pdf 282056 BLAKE2B 36e3ce01c836796973a63f1f48248024d55e6cb4c2383aa245baaf85b57fbc722d2ff518c11078434571160d2ccfe8d8b7770c58e31a24b264100cdf792b7508 SHA512 13372a61629c6ccadbec4416da06db1c8f53be5f69d8918997643de16f8547d74eb604cbf1b6fba55001093ce3cfbf74f0ebf249cc6f7dae877c9397d67d153b
|
||||
DIST Geant4InstallationGuide-4.11.0.pdf 279989 BLAKE2B 6c4b18aef9d35ac539c212a5fb01c041aac68e0ba9a99e4eda59316c3fdf699b44f61c1af652bf8225424e5e7b2dcc4643ebc68c95a7b7bcba04c9bd5b2ec9cf SHA512 c190a1c5c1c6fa5a23e08046b3ca0003e98df740117a9b60b3458e3b07eed2cf4c23dc1558c6fbe11644ff8c352a2c8707e30b9c3460da47d43a8e4a80ffa130
|
||||
DIST Geant4InstallationGuide-4.11.2.pdf 305635 BLAKE2B 59a584dabaa0c03784a4b235244ff4edc6408db8f79e98540381f439368c1a7592f0688cba1606c7a0ea0051d49d23b9833057f59ee4c6090f25f333f1e52c31 SHA512 02a12e426ba1955f82f98aff318a38a5f8764d464ec3d44f10f4fa63730d79c47a0916f1ffc801d6004e423210d93f5f18beef7f55ab41e8c409b14c90f89a1f
|
||||
DIST IntroductionToGeant4-4.10.7.pdf 142118 BLAKE2B 975906d4cc1dd2a54bd283c228cc4ff577f842eac853b491899dbce243732231843ee9296c4511f171fdb089f98a4bf8dc14fbed85b3e3fd908f77d7e4395a6c SHA512 940cfe00e9ffac83ceedde03438a2b05b80ce6f7d763811924ec07e2eb8f69516c3a2ba18bf7bfab37c1026a00481d483129835830ecfd75e4277ef063dbd464
|
||||
DIST IntroductionToGeant4-4.11.0.pdf 142056 BLAKE2B 5316bc4474300cf340e1cd84c883aa2ae3f3cc38ebf67e9c2e30deab585eb0da95adf472d86099432601400cbccab027d3e30c46031dd87a42b563304230190c SHA512 f6a24b98ff43bf69e36eef3cb161698866be30db404fe5cb764d09feadf55a74c7e6be20dbca98b820f7704fd2c5c31e75b729821f4fddb0b38ec6eaa0515a87
|
||||
DIST IntroductionToGeant4-4.11.2.pdf 146059 BLAKE2B 0ef2a51ef404f7fdc2732c3d28c8600755836883375ae4a433540b842226e2cc6823516ca768320ced22d3e7cf036db0b613800b6240c3d1a70ffc57096a3a85 SHA512 c9a8b6fba769faed7526111f23c03843577f5739c9b9fafe4418e6cdf5e7766e8eea15194320f9b04f44b62d1e508c0cd59c3403464b5e5a937a53fcdf7c20a1
|
||||
DIST PhysicsListGuide-4.10.7.pdf 347016 BLAKE2B eaf1ba5fadf80180478715e69074e88377a036f4e69d42dbff50b8c8112ecfe32f6265b7397965432b077c34b4e81d8740f008e03f1445b697702d521b1e6944 SHA512 ca90ccfecd9f1c8a3cc34589359d3d1e5ccd8499a2d747fe8735a776b3dd7815e6090d01e42beca2c61c330bc21e34ea0948e8e62cea7ed1e59f61fbad102799
|
||||
DIST PhysicsListGuide-4.11.0.pdf 347136 BLAKE2B b90b34000c17311e5eb8b6fe49252973a7670fce6038bbbd34f12db73bd3a75c93c35eadfb0985239086bba84a1547594e617fd0cdc772506d2d1434573c7946 SHA512 7d66d44e3fc3b53a77622478eecaf8db72f373154d028fde95ae0608b12333f0b483c7855b73955de00d73ce2014d072fd4cc39a2ff64d847b643d2411490f67
|
||||
DIST PhysicsListGuide-4.11.2.pdf 358850 BLAKE2B 2870d93862111eb578bdf7b4ce99f11e799270ab6ecadac4a8fa0d5c53a81cb52bdcd19b4929fe5b8dbf88a5d6f9f45215058480cd2a5fcc7101c6022cb51623 SHA512 4ff3dac94171d02123fb2bd962165786eb7e6e237a76d0511bbf6a9fe926ccdc7322272236d38e968bf841eb01ca94ea2693b8c996bb8a6f1789414837759c31
|
||||
DIST PhysicsReferenceManual-4.10.7.pdf 19522499 BLAKE2B 9d386c81910ac695c172c2c692ce5b8d6c4b9e7213f07851ddbbad43b299da5788d1027238a25d00fbcae47091c5194d43fd6b8abe0d6385376c4cd98c6f73a2 SHA512 269ddc752a11c8257e9fe042dcc0a115a1bdeb5f312dd16378df6db751477f36758189894a0f07a6303f8fef9a26cff05e99aa691fb83e17c8db3a1de674a8ae
|
||||
DIST PhysicsReferenceManual-4.11.0.pdf 19507777 BLAKE2B 6bdfeccbdf0dd7b6c2d056e38ade607b2003434e9178cf6ee51a570441c481612e747f7af63e77dcefd9abdf4fb4e9a4a30521385f18595e93f009f0e5fbb17b SHA512 96fca5e2c9b9a550e6d34502d17ec8c80307b534a1aff19df623109e11543afed917657822941b9091b100028012d8a724c7ed82ad3739358c7be27e2d01e9cd
|
||||
DIST PhysicsReferenceManual-4.11.2.pdf 19799124 BLAKE2B cf196ce398958abb136a28dcbdd62c8891cf1d7998d0609482ccc99a590ab47ac596d2e4962e086fccb483becf6dabc104b07ebf067209025b8b10a4a3f8a611 SHA512 fe82d95b6f681de6079d3a882c6267b30fac69c9570223fd5c3ce456936ae619dbc08210fbd64e3ae12108b351af3dfa7ec7102c599533ce00daada9b300b955
|
||||
EBUILD geant-docs-4.10.7.ebuild 1375 BLAKE2B 475343ec638ae194e2cc9ca5aa2fea8f9bff2196cd3d3266c819aa6fe07e3aa3241ebaa9458ef525634c8eeb6e21039c1248a159975ac999b854812954da3a0e SHA512 35921852c65f4d0c7541a7234d4ca2c2d054ff8d631985bf77b0850335c605b2c05c9941b181603781dadc5cb85bcb560569ac247aa8fb302a91f820a60bc398
|
||||
EBUILD geant-docs-4.11.0.ebuild 1424 BLAKE2B 37cc4af061fe956d1c916259fc743b2a10e45a8cb8ee4bf7d74cd929b10e17d8bf00a9eb5d8dae30909badce16c085f1a9ae2a886f6e8e8b90a6cf994ddc585b SHA512 7689360ca17b7a04d54fad75d26ea565cdc3f5be27f5962be1d93f6173182391d788c7b9f38e709e983c98c72c68a6041632a684516bc47fc41d9a3b04fabdd2
|
||||
EBUILD geant-docs-4.11.2.ebuild 1424 BLAKE2B 45f3e5346ff1c0df87ca89701ef457e558e53bee046ba0f163a000edd53074ebeffd3123338634bc8356032e308242aead5058ee3014ebf9de967265a713fbca SHA512 7406cc5bb2e79408454c38b4051792872df5bd3697b7ade43d105de59afb57c0d075fbe9480d122309aa45186b4e52d80711741b90315e88bc0313c3dfa7c200
|
||||
MISC metadata.xml 281 BLAKE2B f8e8298fc83302a0c74e74860e9657b3654d61a217720da7334554b5214f1ce81c3c3544d247f2c5158e837d4b6646c37d8c5da04bf136167474cfbf0702213a SHA512 e4b700e5dfb1c1e3fedd0d5241456fd92b2e508aee4a80ab6cb89f4c8838a8ab968d300369b5bb1b15d4e4475c36ccaaca733d58dd0310f7951fcd3d6c508fb1
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PV=V$(ver_cut 2-3)
|
||||
|
||||
DESCRIPTION="User documentation for Geant4 physics simulation toolkit"
|
||||
HOMEPAGE="https://geant4.web.cern.ch/support/user_documentation"
|
||||
SRC_DOC="https://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides"
|
||||
SRC_URI="
|
||||
${SRC_DOC}/FAQ/BackupVersions/${MY_PV}/fo/BookFAQ.pdf
|
||||
-> BookFAQ-${PV}.pdf
|
||||
${SRC_DOC}/ForApplicationDeveloper/BackupVersions/${MY_PV}/fo/BookForApplicationDevelopers.pdf
|
||||
-> BookForApplicationDevelopers-${PV}.pdf
|
||||
${SRC_DOC}/ForToolkitDeveloper/BackupVersions/${MY_PV}/fo/BookForToolkitDevelopers.pdf
|
||||
-> BookForToolkitDevelopers-${PV}.pdf
|
||||
${SRC_DOC}/InstallationGuide/BackupVersions/${MY_PV}/fo/Geant4InstallationGuide.pdf
|
||||
-> Geant4InstallationGuide-${PV}.pdf
|
||||
${SRC_DOC}/IntroductionToGeant4/BackupVersions/${MY_PV}/fo/IntroductionToGeant4.pdf
|
||||
-> IntroductionToGeant4-${PV}.pdf
|
||||
${SRC_DOC}/PhysicsListGuide/BackupVersions/${MY_PV}/fo/PhysicsListGuide.pdf
|
||||
-> PhysicsListGuide-${PV}.pdf
|
||||
${SRC_DOC}/PhysicsReferenceManual/BackupVersions/${MY_PV}/fo/PhysicsReferenceManual.pdf
|
||||
-> PhysicsReferenceManual-${PV}.pdf
|
||||
"
|
||||
|
||||
LICENSE="geant4"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${DISTDIR}"
|
||||
|
||||
src_unpack() {
|
||||
: # empty, nothing to unpack
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc
|
||||
for doc in *.pdf; do
|
||||
newdoc ${doc} ${doc/-${PV}};
|
||||
done
|
||||
}
|
@ -1,9 +1,12 @@
|
||||
AUX gnucash-docs-4.13-reverese-kde-help-dir.patch 3431 BLAKE2B 77079f8c271044a5bffc92e20fa49b72e6f7e180cc9ddfc861a038b0f62371a875fee9343c523a3c839583407cb0bdaaef3c489a8fe8f4c35cad45c337a715e2 SHA512 64a4fa5c8b7d0787377ec8494a2289ae4f9b190e13b568e2e2f73209eb726baceaeb07874d685d2f49a81cee73b38a45a06c65d4a35e5259aecda32a2e0239a6
|
||||
AUX gnucash-docs-5.1-partially-revert-kde-help-dir.patch 1960 BLAKE2B d9d6c92a15c3d77627c9afa372b154be4c9562f363d59432c4fc2de479239af65cc2e093dce8f2d9d0f3bcccb13b699328efc77892947e754957d0181d37280c SHA512 26b6cc4da72ad5e6cdbc0be1de36a7b6f1c6d2bde2e4920e5bd6209168c7608590f497b14760108bc3c500460217ee8e33883689c6a9b51723c0e5aef19814b3
|
||||
AUX gnucash-docs-5.4-partially-revert-kde-help-dir.patch 1933 BLAKE2B f9d2c67a0dd599a35a74c6515acce8471a9f3ae4ebccaadc00c6595a333bdef9d867cc710f9807e5268846ad26852dec371ac29b7474707a7a7fa27c46c46ffb SHA512 20f0e773d4979a09cf33262b7f19a7d60ba128daf58bc4f94c016d6b21ce4b0ed893c37c8a54f10e544d1913204cca762e9883890983183a42687b9e664cc95d
|
||||
DIST gnucash-docs-4.13.tar.gz 76306335 BLAKE2B 61944e3da12d4f7b4a26f1301e640deca87656c4a9c7cd935f4c52ae69e49bf746850f09513d8fbd92314827f683c3a9c83c59479d583c192d977afdf9d8fce4 SHA512 7081a84c3426ef84e88aef520458a0d06382853cb9a51880766033b655f873d0926848387d573a38eca82cf0c6bceecdbd56704ab9ecb3068c78d7ce5c8d4da0
|
||||
DIST gnucash-docs-5.1.tar.gz 76533404 BLAKE2B 6601548123b6c1bdb3f04f54a5a598eb12ca803b604c02357a4126a52ce2d39f4f44b3cc35eb874590898b0792a99190d8ddca795bd45457c9ee565b95405b39 SHA512 6976964c4163987c867142bbf5c23ebf05585a73bd78926e35983602cf0caa024e5e334c19603a568e3fc5cd1e2f6b96e61ca888d5c6679b76f764429b8acdd1
|
||||
DIST gnucash-docs-5.2.tar.gz 76537611 BLAKE2B 6abd9981cd0380358548ab5260bce766417ad25509eb4f8f5c890ad8b87a9d69a8d5b3a97227780d936986d2385a0d9cdb89aefb46d5fc533ccebd2472ea14ae SHA512 0b52d1d08cf217c6e9ebc0641b7f717abae960d801ee2f23e0a4bd2f21b7f82ca37f87359b4fb5329d8321dc2576e88bc1fcbc85935d69ba1f2205a4be153cf4
|
||||
DIST gnucash-docs-5.4.tar.gz 130584435 BLAKE2B 7d2fe9bdcb098e3273a71a3bbc59001b3166bead5fef730a6893e8f50c1aed70aa367d6361bc2c018262ee27ab8f80b3adceb846e27c9f83082dd120c565b142 SHA512 0a9d945d089a5f7e2e0c241fadcdde58d7412223e40fd09faca843f0f25c2a46b48b40f5ad97ac4222baf984d7f438e267fee916935f6d58eebe8bfc37e8f223
|
||||
EBUILD gnucash-docs-4.13.ebuild 1502 BLAKE2B e9cca71e947920e81d8b08ea8f1b4af9348ff5a4359406b35447f186d358b86b8ef3734dca0447eea7f60fd2b413ca444b62753a801fced51b48494665edeb84 SHA512 506c7038fcb83ddb1476c1dde70644506600ccbec1dee30c34c9e5cf8f8029b23cea4083bfb6c48502639007488b8888737633ad598b70b63e665bfe30a5891f
|
||||
EBUILD gnucash-docs-5.1.ebuild 1509 BLAKE2B 3e657cb050a236606d09b53722f6cedd42b5631669cf09891bb954f2e0657ef511c73aea60e51de792f2721f24d273f32e9a4afa02efea58672f291421050d7c SHA512 ad732dc6e1a72e918b630c68e1acdf820cc704be6b6597b49792a2fa36d962e3e7862c0e2d80c784f0a8cd79ce3ec672d9fd3b538af8fcbb55638b6a2180607f
|
||||
EBUILD gnucash-docs-5.2.ebuild 1510 BLAKE2B 3eaa9317037cc810b5d98c0f8bce6c176a06fd078989ea09981a35b9ee618ca88c2dcc76ac7763c608eb2565d3a1721572a8ffcd554277bf6ee33ce4fd2a1989 SHA512 fbcea8e2ba11312c7bd502aee3e7761f08983bb41d37e510b3f81b85628b8ae63bc8f0c60625c4e2b01b6600b785f1cba8f3858c5a7fd2edaa85359569cb848e
|
||||
EBUILD gnucash-docs-5.4.ebuild 1510 BLAKE2B d24ce3d54c9f02b1cf302763c53eed7e3f089aa936c52dfde55c103d0ed44bc1b0c0cdaad399c7a450997b5cb1b0de66a6042e67168f0d7e0058630eb47f1c71 SHA512 e60bb760fcacbeb019f12a61b8587174db9b0e7d5b6fa61bae354527225a76422048ab7408a6a3255e04267513f754d6959e211f1204c4446313edc8c54d52cc
|
||||
MISC metadata.xml 386 BLAKE2B c95b7a099a8d78b544782ba18dbf5bdc094e22e4afad4e97427a16e2bb4f0706104271b88db6cfec7670d78d21d61b717772f195ce6217e993099a5b13e547cd SHA512 f95171ae4ab46811574dc77d943f1c5f575cad1c92b979daefcd36eebe00b71aa9fdd12d09e451cb60d50edbd38df335ad05dd0cbcefc35c93150ffbb39af3e8
|
||||
|
@ -0,0 +1,29 @@
|
||||
diff -Naruw gnucash-docs-5.4.orig/cmake/AddXdgHelpTarget.cmake gnucash-docs-5.4/cmake/AddXdgHelpTarget.cmake
|
||||
--- gnucash-docs-5.4.orig/cmake/AddXdgHelpTarget.cmake 2023-10-01 08:51:09.262878879 -0400
|
||||
+++ gnucash-docs-5.4/cmake/AddXdgHelpTarget.cmake 2023-10-01 08:53:23.973040657 -0400
|
||||
@@ -45,8 +45,8 @@
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}/figures"
|
||||
|
||||
# Add links to make our documentation visible for KDE's help system
|
||||
- COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR_KDE_BASE}/${kde_lang}"
|
||||
- COMMAND ${CMAKE_COMMAND} -E create_symlink "${BUILD_DIR}" "${BUILD_DIR_KDE_BASE}/${kde_lang}/${docname}"
|
||||
+ # COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR_KDE_BASE}/${kde_lang}"
|
||||
+ # COMMAND ${CMAKE_COMMAND} -E create_symlink "${BUILD_DIR}" "${BUILD_DIR_KDE_BASE}/${kde_lang}/${docname}"
|
||||
COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger")
|
||||
|
||||
|
||||
@@ -90,9 +90,9 @@
|
||||
COMPONENT "xdghelp")
|
||||
|
||||
# Add links to make our documentation visible for KDE's help system
|
||||
- set(doc_install_dir_kde_base "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/doc/HTML")
|
||||
- install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")"
|
||||
- COMPONENT "xdghelp")
|
||||
- install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")"
|
||||
- COMPONENT "xdghelp")
|
||||
+ # set(doc_install_dir_kde_base "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/doc/HTML")
|
||||
+ # install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E make_directory \"${doc_install_dir_kde_base}\")"
|
||||
+ # COMPONENT "xdghelp")
|
||||
+ # install(CODE "execute_process (COMMAND ${CMAKE_COMMAND} -E create_symlink \"../../../${doc_install_dir_base}\" \"${doc_install_dir_kde_base}/${kde_lang}\")"
|
||||
+ # COMPONENT "xdghelp")
|
||||
endfunction()
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Please bump with app-office/gnucash
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake optfeature
|
||||
|
||||
DESCRIPTION="Documentation package for GnuCash"
|
||||
HOMEPAGE="https://www.gnucash.org/"
|
||||
SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 FDL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
LOCALES=( de it ja pt )
|
||||
IUSE="${LOCALES[*]/#/l10n_}"
|
||||
|
||||
BDEPEND="
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${PN}-5.4-partially-revert-kde-help-dir.patch"
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local doc_type my_lang
|
||||
|
||||
for doc_type in manual guide; do
|
||||
for my_lang in C ${L10N}; do
|
||||
[[ -z ${my_lang} ]] && continue
|
||||
|
||||
case "${my_lang}" in
|
||||
# Both help and guides translated
|
||||
C|de|it|pt) ;;
|
||||
ja|ru) # Only guides translated
|
||||
if [[ "${doc_type}" == "manual" ]] ; then
|
||||
elog "Help documentation hasn't been translated for ${my_lang}"
|
||||
elog "Will do English instead."
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "Invalid locale: ${my_lang}"
|
||||
;;
|
||||
esac
|
||||
|
||||
emake \
|
||||
-C "${BUILD_DIR}/${my_lang}/${doc_type}" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
done
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "generating PDF files" dev-java/fop
|
||||
optfeature "viewing the docs" gnome-extra/yelp
|
||||
}
|
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
From 41eca94bb6bf3642b1cdb80e89845813a9d03edc Mon Sep 17 00:00:00 2001
|
||||
From: Nimrod <ndh42@cornell.edu>
|
||||
Date: Mon, 27 Nov 2023 20:31:20 -0500
|
||||
Subject: [PATCH] Update git source of Gemini grammar
|
||||
|
||||
The author's username changed from "sfr" to "nbsp"
|
||||
---
|
||||
languages.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/languages.toml b/languages.toml
|
||||
index ef4687af8a71..33b27626e720 100644
|
||||
--- a/languages.toml
|
||||
+++ b/languages.toml
|
||||
@@ -2916,7 +2916,7 @@ file-types = ["gmi"]
|
||||
|
||||
[[grammar]]
|
||||
name = "gemini"
|
||||
-source = { git = "https://git.sr.ht/~sfr/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" }
|
||||
+source = { git = "https://git.sr.ht/~nbsp/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" }
|
||||
|
||||
[[language]]
|
||||
name = "templ"
|
@ -1,4 +1,4 @@
|
||||
AUX logseq-desktop.desktop 235 BLAKE2B de29e2c811f2f240ab24f92873977df168d69e90e4c9721471beacdd5279b2242eca4a120356418c0009522a467c68d9189abae76c800e0c7e95b9783cd5f73c SHA512 ef58e407ff19e9da20731bdaa870472b5d38b70567927fdbdf725fa330e3d2b8f7a719215207c7193b1e4c4e0fb94485fb0c970c03b378dedaab443f266404aa
|
||||
DIST logseq-desktop-bin-0.10.1.zip 190660046 BLAKE2B d9f781518220ecddb176e5c89948803ab73b6376aa5b165fd3ec2235a291022b88e99dce03190d80688a40a6bf55d3e699264f1420f346a222ea4346ba7d8000 SHA512 21f11c7b1ea5fde4f07dfec676fe05556040dd3fae84340bbe9cc1447556fc0ad1f10d53ee94a4ade7e93f0358fbc5386297605b28c0320e6ad25dc572055909
|
||||
EBUILD logseq-desktop-bin-0.10.1.ebuild 869 BLAKE2B a80894da6dcdd9a99f80bf425cd49bb25b67703d5e92ac57c90b5a749d685e48923645b63cb904f6eb1557700cb05983d093465b6229783caa14a322a5ab1752 SHA512 063aa5ebb2de08a78ecd813f0e86b60dd45f52c871c52f30663a9e749ea5d0a38e35f697008865dc726d0719e22d13fbdb4a789fe2dce0c3bdba09a5587c7893
|
||||
EBUILD logseq-desktop-bin-0.10.1-r1.ebuild 1291 BLAKE2B a36ff67d7392aedb87250a036891665aac6feffa80fd68002640223f9d411f5b46e38e20bfc9396b50e7c0502c78baa3f4b8402fd4e41611a8e7701abf70fe16 SHA512 c576be8c858b0d925e80a3237be3ff06678bbab981ced156a874d8c250b38783fd64a1cade279e1f5525cf582ace8d7ddb65d3fa185a049231728e189844b860
|
||||
MISC metadata.xml 329 BLAKE2B 74a2591f14fe7ddb0f786edec16cc6febf88ba1f84ea72b5d36ce7237aef4878e24b27a22f1a0562d4335ec1737ee99f16a2e5c8bc0bc090a1b4f68d6800c44c SHA512 cfd29744fcdb92629ae4492e3fa0f9f3f8539e212309e013b0567b7b50333ab1490498c7440d06c55531797a79ee783eb96fa7cc5128390b0e67b63b4bf2266d
|
||||
|
@ -1,4 +1,6 @@
|
||||
AUX okteta-0.26.13-doctools-optional.patch 1002 BLAKE2B c56d0c5de30895f2de11b09ad4095de93f3ed7d4f83cc049788995ebad13774887792c46d93748f3232138ed1092eb0b2e2b52ca1f37d9fe2bec7c435e070bff SHA512 ec7f3cd8eb53e667ce80418f86e62ea541929150d97e3c306ef25db9eb408f291e1d744720a9e4c1abb76f5cf35001fd559eb9946736e9ca4f5bf315913fe7f3
|
||||
DIST okteta-0.26.13.tar.xz 1080884 BLAKE2B 1e5382b6832d7b77d3739bd4dc90b3317a33c7df1e55627a3bb718ee9fb7fcf58145f0decff0cc037a88c44fdab86cf57fd8174216cbfc29d4e607557226aa57 SHA512 1f7d099acda1d39382b9d36fc75e301588a4f026e46a363f0ac15f3025a37c2edd2fac20c8097761469f4259adc20874d90acae5fa7b378f2d88e88521952fd8
|
||||
DIST okteta-0.26.14.tar.xz 1088636 BLAKE2B 13666d6a91ef4c269ca1677a0495723c101cf02d60361c87b9528ac535dd98e1dcce948770ed3bbe9364e4e9a2ec2fb7f35ee90897f56b04295abd3125a4477b SHA512 f6222bd4674cd70b3414dd6b0608661bb878bac39280994cf16b9846d4e3a06d356438760080018be797fbdd1a7eb7006b1f35c0a2a3b74c7e68c089450dd38b
|
||||
EBUILD okteta-0.26.13.ebuild 1797 BLAKE2B c62d8c58ac5af69831ea22fccbb82f02d0ee19953b91f7be1355aab263c4b262b5bd2688d03f415a2381d671082db7fd1b618013f2116f58b97f875c38e562ba SHA512 574f145961e10e6dce9455a96363f18e937e7e14b346320b243c676b9ca1e938f30bcb691b75fa65b1b7e165ba5ceac9a6f4205c7c3f527d851523b88d5971bb
|
||||
EBUILD okteta-0.26.14.ebuild 1809 BLAKE2B d9ab8ef39e38d5129a8287a08d63a83bb26c06aeeccdb5b04a5008f6397469953f1764f026d747ad7c19adb98f2f5ed077e53be8ba73d0b6914452db829e9b1c SHA512 4a91bbd0855515ec7bfb37e4d496443e8aec5fa2190ba80d4ba803568c6595e460705886a28dccb958ca6cef95a35f653b2af5f6e5980a1b3c7d5cd7037c1eb4
|
||||
MISC metadata.xml 409 BLAKE2B efa27a2a8769a56200077d2d606e930a14fe7b8dad531386da39675c501ea7298939b6c197b668379430840b002c0a5ff34da592fcb2af18734649cb5d527f6c SHA512 0966b96a06e7315574724c75c6c3c680b6ea7da71278885ae65d214ca6a18a4b2d11b101221caa89ef5682d91f7a4cc7c2108f9741072cb12f97e95af0bcb09b
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_DESIGNERPLUGIN="true"
|
||||
ECM_HANDBOOK="forceoptional"
|
||||
ECM_TEST="true"
|
||||
KFMIN=5.92.0
|
||||
QTMIN=5.15.5
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Hex editor by KDE"
|
||||
HOMEPAGE="https://apps.kde.org/okteta/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
IUSE="crypt"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtscript-${QTMIN}:5[scripttools]
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/kbookmarks-${KFMIN}:5
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:5
|
||||
>=kde-frameworks/kcodecs-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kcrash-${KFMIN}:5
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
||||
>=kde-frameworks/kparts-${KFMIN}:5
|
||||
>=kde-frameworks/kservice-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
crypt? ( >=app-crypt/qca-2.3.0:2[qt5(+)] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.26.13-doctools-optional.patch" ) # downstream
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOMIT_EXAMPLES=ON
|
||||
$(cmake_use_find_package crypt Qca-qt5)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=( -j1 )
|
||||
|
||||
ecm_src_test
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 ~arm ~arm64"
|
||||
IUSE="kerberos"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libcanberra[gtk3]
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-misc/curl
|
||||
sys-apps/dbus
|
||||
sys-libs/zlib
|
||||
sys-process/lsof
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libnotify
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/ThirdPartyNotices.txt || die
|
||||
|
||||
# Disable update server
|
||||
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -r ./resources/app/node_modules.asar.unpacked/kerberos || die
|
||||
fi
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -r . "${ED}/opt/${PN}" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
domenu "${FILESDIR}/vscode-wayland.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "keyring support inside vscode" "virtual/secret-service"
|
||||
}
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
DIST cloud-init-22.2.2.tar.gz 1349451 BLAKE2B fdb6669e9762984614fefe787834f20f056345d304327679fa8bc7b4d6566509a23ecc4a7ac4e6368b9b9078a72fe6fe35533a67e7aeb0c0accbf5ad014f8aae SHA512 18b75ebbb5e808e19df5ceddb6402cc881c33443fb169f736f54837254ba43836994f2392a26febbd8df3342b3467ee72759b6942cfeb96d07c0e452c11dd0bf
|
||||
DIST cloud-init-22.4.tar.gz 1494295 BLAKE2B 5f961c895c0d6c78a7cee47d2b52acd57d959baeb5172cea89d75ffe23424e3a8a3170a0ecdcad729c6cb0c898477ea94c43a5f8bdf200fc3f122c32fdb2e96d SHA512 6151d1d5e4be241219cb5804ca2bad2dd790f366bc847d286a8840faad1fb4adf5d780c9418ce574c2cfcefc16851a49961f33c5da1fbc84bb8299cf138bfcfc
|
||||
DIST cloud-init-23.4.tar.gz 1648908 BLAKE2B 0acec9c437c7a5a86ed9cd8718830a7311c257ae9f223a68959b8d1eccc693b35f6a716de5c04112d848c1e2e54f6461a3919fd733debba18989145f6669d359 SHA512 34966b173571764bf83779bef0e89a86971310ff0fa62feceef4fbe17c9fa6d1b69f11f57caaa32cc4ae4a74f598f157dfb3ce356221044666401230cfb1ad13
|
||||
EBUILD cloud-init-22.2.2.ebuild 2349 BLAKE2B 7d07d812fd91251e685abc7896c27d37f6b73c8fe6459fbb844e009fac79b29621f4f6dfc1e5f53f62dea78f3e49ebf44fc27ba486e3d0df0ba59978a60e3608 SHA512 561c83ee47dbb3ea4c6265cfcf79b10e9feff76a1ed3c9a7cc6d09e7b1cb730e3684c89bc12eff0d3cd943cc0529aad469aeedf2a953f86782cbe363d6103982
|
||||
EBUILD cloud-init-22.4.ebuild 2360 BLAKE2B 40394aaadaacb9b629b521f612aac61bb995f4d179c324ed20f5fcd479d42356af2ec1a8f5476cbed047d8d590a4c2925aeac42b16f8701eef526c72a1b5da58 SHA512 a9a56b8d950bb123b4dc634da1b532ab529c963433e0295b9c5e03536abe288f51cfa37cb3a4d0720fdfae199d20e73c85d6f860e8b0fa9dd6d4ba9a39616f92
|
||||
EBUILD cloud-init-23.4.ebuild 2364 BLAKE2B d914f622169e3bc9a0c6c5027fa182bcf3cec874128725cef49783b02e05dcffd2abb2a6838088e918ed9f3fe44e938eb1944810095040877a1403887c8d73fa SHA512 4a4b2f7ec4b3bce1700d051c0ea3e0e20418fe21cc2fe8a72c52fac862071ab31f6dc552416973f40a97f0c15a48492b2ab8e9879177575dc91aaf6068287bfb
|
||||
EBUILD cloud-init-9999.ebuild 2326 BLAKE2B 6c69dc42fe0a60afa4544ebba10fbdcc0e6f47b25ce33ec1b3f4461b639fbee2cc787ec8477f47ad7d17e4d04e7d7d7dd66f72f184bb39be4bf5851f8613e7d6 SHA512 6d73f07bab62fce9349f44758755a9249f2de655e0e94702b76aca49178adc251309d2d0c975030ab5b4479a0c4ad6d3a5ab18fcd0938cbed9ea1699a7616a9e
|
||||
MISC metadata.xml 714 BLAKE2B 22888016216cea9e471f7cef63e94022c344961263a3319508d5b23db64eeaaeb34a470fc51482bf7a0a4cb658dd814f5655393ee4498a7212ccec28caee5256 SHA512 3bd7be60f29d5a1e4a830577c0afc8c5925123f1258a78b82dbc36c8f76f096149db8bcebfaf3b6db5feeab0bc82ccb65d7d71ec12feb4f56027f05eeb930401
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Disabled for now: bug #850628
|
||||
# https://bugs.launchpad.net/cloud-init/+bug/1978328
|
||||
#DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_10 python3_11 )
|
||||
|
||||
inherit distutils-r1 udev
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.launchpad.net/cloud-init"
|
||||
else
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Cloud instance initialisation magic"
|
||||
HOMEPAGE="https://launchpad.net/cloud-init"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="selinux test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/oauthlib[${PYTHON_USEDEP}]
|
||||
dev-python/pyserial[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/netifaces[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
net-analyzer/macchanger
|
||||
sys-apps/iproute2
|
||||
sys-fs/growpart
|
||||
virtual/logger
|
||||
selinux? ( sec-policy/selinux-cloudinit )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Fix location of documentation installation
|
||||
sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" setup.py || die
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
sed -i 's/version=get_version(),/version=9999,/g' setup.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --init-system=sysvinit_openrc,systemd --distro gentoo
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
keepdir /etc/cloud
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# installs as non-executable
|
||||
chmod +x "${D}"/etc/init.d/* || die
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
elog "cloud-init-local needs to be run in the boot runlevel because it"
|
||||
elog "modifies services in the default runlevel. When a runlevel is started"
|
||||
elog "it is cached, so modifications that happen to the current runlevel"
|
||||
elog "while you are in it are not acted upon."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue