parent
71addc166d
commit
6bc107584f
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29297 BLAKE2B 67584288d8dd7114924c5b1371a254e7758b44dbff3f0cd7ad5e86315b4badd858ef82c2c5d8e80de6463bf7282b08d4de0c5f3d044a155dd08426112e3ef09d SHA512 4e4f698e2d2d5876156bc286f6b8fd8f9212077b42384f11963286b2d536dba001ad333124a6a0f8b709f0e8edcebc63df408d2a336e18e217bec3af1bedeb63
|
||||
TIMESTAMP 2023-08-15T18:09:52Z
|
||||
MANIFEST Manifest.files.gz 29291 BLAKE2B a705593e4c6102a36d2fa8ceddbaad6477cedd4c298b4a639d066d613733298fcc78d2a33baa1e16c15dedc32dd341ced4cbd748c4a06f2ad0a5dc973691e1fb SHA512 760ffc24c7b3c0fcba157b9b3bcc08644cce4105f8a3f94e106f0c0cd0e912570140c9d522613eed3026f55e71c029252b1c9f1e25d3b5f98a9e9193c03c4fd2
|
||||
TIMESTAMP 2023-08-19T08:40:06Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTbv3BfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTgf+ZfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klD4OQ//UuxD5u6plGruJ/aaWMv5YvyoyRA9ZMBePYJpxWRRIU4iCCn9cX7jf1B7
|
||||
4rkpS8/POaRXOdTQmw/IqbTHEVDoYd9TS9GYAkcnwD90hY5rTdzw5JHQcd1E4B8Q
|
||||
YCM5yQHRsUdJl/01vEpv5UG6kw/TRtOOB1tYctzh7s3eGu7mKcXvbM4VKMwU0VjU
|
||||
JAT+P/ykYfyL3i0tdKz21VDVxfjt2hj4hciV70EYKnK0aj2gGZavVsewmTDwLuBc
|
||||
7M5XZ+UxquRquIgZCkOhf6xi1TxAKplHwdWdrWkVChCdrB4VUU7l+nKI9c3zxeBL
|
||||
PPrLLaN63+OcRWm7Ato6K1tLhtJJXuJxGJCkoDFOIY4HIM4L2YMklHUPIBQkYJdh
|
||||
MJ4rczv28o8E1dFg+a4WQCYs6FZkRz2BjuCEvjdT9iQxdkZ99kDhlc7kkpRvHYJX
|
||||
M6a5lXzphy/VC1VVPBttcJ/tS0TfRYVm4Ekl/9GCCYZ8299SEyNmJAoKd9iPh1SB
|
||||
E5MHuYU/TEQjjb+c+l+Ws6RIaL9oOvKLnJV5XPYoiJ8DCHqNY99sR5DIiquX6OxP
|
||||
h3uwuIeFvGQ87OD9IYauRyJ7mJPH3+xT3hIT5h7uSfpF/th2zY+58vzQlM5TMgz+
|
||||
wOfTtGT8KsrefIUcc+yW8TIUptDBbxYxDsBzFS61GzkIsEH+4M8=
|
||||
=UUNm
|
||||
klCuXRAAsEOBzr+ooN6I438oCDJ9Tov128Q9okA0pe7JL48ZruhZ6nmjMRu+91oN
|
||||
OmyFAwOrKvQHO8Oa1lf3byigeiG8MZK9WFs3Zyzvv/JaOGZUw7p/kF1bSnCb2bES
|
||||
GoF+P+Qf2jce916V5yBCs/+eHl+PM/WhKnoTENFFp1hG+KotWcAZAz+tFCRu+6rM
|
||||
B1RhMAIBKpIK8078FYWLZ3u/mMIthS6j+4R/mpZOCoQ7HQT64USavHCRiXxq2sNp
|
||||
SktcXYkSEz32wiItreiCepo324jq4L8HrKdxeO0vterdq1lKLZ//F/s2cY4j203q
|
||||
esSRXDgdDHJuUFPI3uKbLXhRLWC0VQ8ghiHVQmmYTK0eHtFO1tqIxJny5FrEtFVi
|
||||
VAQE3vzcXee1K8hsBh6yWzl1XIHyQmcp6tCXIOkvbo6aYzRvvISU5Z97zKQuEt0U
|
||||
fw9Oi4Cbz+kbE43PebUIw2InP0hQgkuJ1UFfECHCj0s3ufGus9EuR6qrDnvLYddB
|
||||
jgM4U0qa2FzRIyk7Gewf6BLxz/dwLqoqHo1aiRQ7hY/H7qOTvIKk1+39hpLKTG9W
|
||||
E427rbBdF2JY4QWimpO6OTlcXGhII7aPLnHe4bNw9NULoDXmAUmlfSdfEh/HtZXG
|
||||
lJWOeSVEqZuxa6492jBqQL0ysH0/xm3E7z8JB1JA/esnVRvLNlE=
|
||||
=2/OL
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST at-spi2-core-2.48.0.tar.xz 554000 BLAKE2B b8f513256670d24ae9f08572ae7878f109b5d76090fa4f881b67324d1d270889c648e456fe3ca34aaead9e85589f5ae355c8b4803f35c2cb2ace831051b1000b SHA512 976dce741d640c5b5e006eca53170062ebc91cace0fb74df68606c8443b63317fe271d4e3238d1e3ee3e5586b4a4905c91d7987adb94c8f886a1aaddd54c632e
|
||||
DIST at-spi2-core-2.48.3.tar.xz 554388 BLAKE2B 9692df8cc0bc8de82f6e339b9358be7ab1bc598afdb39503f5f05ca772109b962a513fe2ef79d8f094ea732457225409f3c765784a54cbabf27b8fc72c893eb9 SHA512 e79ef0eb0f23241d61ba2a62f4024a5df5ff7125bc085590f9038b3397d255b88b8266deec14f3fe53bee4072ab85695a47d27d8be0529b18a103ad792fa0e54
|
||||
EBUILD at-spi2-core-2.48.0.ebuild 1785 BLAKE2B b90e1d2377bda0623adc15dea33b254131e70e7203678a60d88860eeaea7d5143df2ea1435453c96c55efab0305b98e8a5812b61737ba2f28837ebbdaa1154fe SHA512 bf003b366d6c5a078732d87f977418cffca604b1b01db7b41911d63997cff02a0a1530e93dab19544e8d9001908cb4500d65f055aaa5dc7e62b78428d2b8e2e6
|
||||
EBUILD at-spi2-core-2.48.3.ebuild 2020 BLAKE2B 61cee5483b6795ad9f397520e94ab8ae42b557850f7ecdc0e27c79f6551e0aa39bf5fb3ce7e807b4a4ab77ae2bf2f65a7a0631e34b63c3acf798a83e5cb8d337 SHA512 9bf210622379dea2a623d8bf8a6827b954e5397e4cba33407a6f77bc3e703b1325eacc5814587c3022184c56ba41e7a1a0f0350ebc622a5ae0cedde99a6767ca
|
||||
EBUILD at-spi2-core-2.48.3.ebuild 2019 BLAKE2B 731470a156ebc12180cd3e7a5f31d54d0cefa14dcd12671ad8c17da4ff3ccc5ae091ff2bc1df768098cd483cf061d16f315de8c36bc1f44012a2187d056bc15f SHA512 08980d0705f714579f587eb8b550a24efd85e27aad0251e5b31f3b60aa4a411a8730d05819041bdf0dd7a0964f9d19c34f6681ec923a4f5cad974327764bc4c6
|
||||
MISC metadata.xml 468 BLAKE2B f6b51c8c4da2bdff93f41f92cbe94687250f28d9c42c5cdb7de9eef0d1a6e208dd911d443298eb08fc83f8765d0b2c09e30e932d97b3fc1d28861ceae9b1ee6b SHA512 908b6e8c5929143a45cd108fed5b3375dc6f8f98b637a230c0eb0da4a261a8d9655954e1f98dc9967bd79a8c3aece79e1827097a5785494692f7655bcd73f331
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org meson-multilib systemd virtualx xdg
|
||||
|
||||
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
|
||||
HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="2"
|
||||
IUSE="X gtk-doc +introspection"
|
||||
REQUIRED_USE="gtk-doc? ( X )"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libxml2-2.9.1:2[${MULTILIB_USEDEP}]
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
)
|
||||
|
||||
!<dev-libs/atk-2.46.0
|
||||
!<app-accessibility/at-spi2-atk-2.46.0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
gtk-doc? (
|
||||
dev-python/sphinx
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gi-docgen-2021.1
|
||||
)
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Dsystemd_user_dir="$(systemd_get_userunitdir)"
|
||||
$(meson_native_use_bool gtk-doc docs)
|
||||
$(meson_native_use_feature introspection)
|
||||
$(meson_feature X x11)
|
||||
-Ddisable_p2p=false
|
||||
-Datk_only=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/{libatspi,atk} || die
|
||||
mv "${ED}"/usr/share/doc/libatspi "${ED}"/usr/share/gtk-doc/libatspi/html || die
|
||||
mv "${ED}"/usr/share/doc/atk "${ED}"/usr/share/gtk-doc/atk/html || die
|
||||
fi
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST orca-44.0.tar.xz 3764020 BLAKE2B 0ac7f837cf38cf15b63400d7ca7d631b4e3710680ea50c311ea60b81e57797e81411f6d2f82cde8434fab065e07a14a7e5d9192e73bf29bb79ac6fa9644d985f SHA512 7b1d4a8417283fc7586bd1a308529d8cc3bdc53f080b5bcd6f9dffc686b9eeeb6992df9d970996b44a3339492fb31bdc26c107cc5233521c655e46d4bea7efb2
|
||||
DIST orca-44.1.tar.xz 3760772 BLAKE2B 1e2825e9183b86563d85f106f80b7fa84d7d0cc06c818cb72c2a307c9c85a421cbbfc581df7829afde558ddf468bc048382d059ae995661a5163d390585961b4 SHA512 951a60b7efd9b61762404c20b62d476c1ebc3fc2662c0be1feef307fa1761feb5195c89ce725db1585dde4c39d96e1aa74c2b5c934115a3c2669880c3c7ac200
|
||||
EBUILD orca-44.0.ebuild 1451 BLAKE2B 0c926436900096c9c07475c261432a9f48edf20e592f775a25e8bad00f8bfc35733c01b4a58baf72174319cf2129dfb3aa32486141befd97cbd70056726f7904 SHA512 415993a87a11b8d8da8dd0cfe4fdcd5187c2b19533b60d3db077582b5d4f01f63f36b883aa1c1ddc10eee7918f7edf14c3bb99f116518fdd48d66c73e14ecfe6
|
||||
EBUILD orca-44.1.ebuild 1451 BLAKE2B 0c926436900096c9c07475c261432a9f48edf20e592f775a25e8bad00f8bfc35733c01b4a58baf72174319cf2129dfb3aa32486141befd97cbd70056726f7904 SHA512 415993a87a11b8d8da8dd0cfe4fdcd5187c2b19533b60d3db077582b5d4f01f63f36b883aa1c1ddc10eee7918f7edf14c3bb99f116518fdd48d66c73e14ecfe6
|
||||
MISC metadata.xml 762 BLAKE2B fca9ee6ac93d2e860f6791af78380e9d8d29ac10b254299946911a29b5893028e561a18320bc026dd7e9421f3c572e1c3ac63264276a1b292996db93e1cba4a3 SHA512 6bbe0cff5af52cb48adccbb61620fd75a0811cad313867b63cb09b5a7c259230019a54ad607ee46c986188ff11ac2f6878ef20381ef34965dfe918c88ec945d0
|
||||
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit gnome2 python-single-r1
|
||||
|
||||
DESCRIPTION="Extensible screen reader that provides access to the desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
|
||||
|
||||
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
|
||||
IUSE="+braille"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=app-accessibility/at-spi2-core-2.47:2[introspection]
|
||||
>=dev-libs/glib-2.28:2
|
||||
media-libs/gstreamer:1.0[introspection]
|
||||
>=x11-libs/gtk+-3.6.2:3[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/gst-python:1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.18:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
braille? (
|
||||
$(python_gen_cond_dep '
|
||||
>=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
|
||||
dev-libs/liblouis[python,${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
|
||||
>=dev-python/pyatspi-2.36[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
')
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# app-text/yelp-tools
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(use_with braille liblouis)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_optimize
|
||||
}
|
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
DIST awscli-exe-linux-aarch64-2.11.17.zip 56500418 BLAKE2B ced68deac081666c71d73bea7d48f19aa27c8a78835ad13acaa06dac65db8569e9cf446900c0a8ede169bf177168e47ad3bebd06ad295a5626d926d59e4ed57b SHA512 6424cfcd079007cf1519f0018555c589a154639c1f28596d51d227c9078abbcd16660488d9c7984468bd223a7e4a89296c42c8fbdb8b6d085e32163e71d1f641
|
||||
DIST awscli-exe-linux-aarch64-2.12.0.zip 56282131 BLAKE2B 147d200a134dc3f4ca3b6dff285b447d98eedb52207f923354cd748102ed0bf8e9bd4e883d59536f8bbe3a249de99102c8b5f239271cdef66d73df069add1491 SHA512 e0e72d951b0d3136b99b15d8abcc0b38492ef0c92a915e4f92a902318895ff580fface1ee202a5c06cf99a9f4ab935b2393e7318d1efc3df90152c18ed745b7f
|
||||
DIST awscli-exe-linux-aarch64-2.13.0.zip 56319289 BLAKE2B 8b8ad8536a339e2058c8c596b891e692ccd478de053e3f1049167e106719b133240a7adbb1e2c7616955989f8e70bd273fda034c642db76b639575eda14c523a SHA512 360259a5147fa7cda25604b6e9b871ebd5f87b41504880e23bc482206108a70d4dae488506651fa2903e0335716d155ea82dbde8b740500740d6295e27ba62cb
|
||||
DIST awscli-exe-linux-aarch64-2.13.10.zip 56599191 BLAKE2B 39da11b095202d247bc5350d3d47b74b6db1a53146212b387fa5c66434ccd519b600212249112265557e106d1558680e46835acd4295e1282363b3e9e8f015a8 SHA512 b8323d29ad3b7668adfe02df02490bc0b9bb9a780d5aa1ae1d13cd082d3da6b749ae2579720c036c9693a2f9d8305aa53ec94aee5322edb71f376e45f6665be4
|
||||
DIST awscli-exe-linux-x86_64-2.11.17.zip 57614965 BLAKE2B 0a711bc968b53dd08810ef857c9d51d332b016fd969491850f9dd8fc84e912f815e2b0a6e38223fe29c321ee784ad2ee41644b7027af3439742d3c2141f10098 SHA512 c05ada15a4e896850adbe04cc159141d84fabc955f3baf6d053200c6595cc77c8a75886ce5f1bd18370fe34a2c1c3d294312aa471a028104266fa45fa5aa4334
|
||||
DIST awscli-exe-linux-x86_64-2.12.0.zip 57965257 BLAKE2B 9c8fec1d30795af94807d60c62b28eeb84e682d99cbacc0c8ad5b022c569e310fe781d00a6e9bd0cc0222c0104d9e0d2521bf3fb2102f60fe76de75bfec90cf8 SHA512 c4688e09fa17ed89495c807ebb1826e0517c1a7e7e4e62981e17e86a11227434eb1c59b9e7fffbd8e9e7ff6cc05846bf6cf7cc1769e099c9c146d9d11c400ab5
|
||||
DIST awscli-exe-linux-x86_64-2.13.0.zip 58077746 BLAKE2B c7cc17617fe5bc7d1384ca4e67aae0c39d2b250cbec63be0f637429bd8f9136ee7eb663a8ce127705be0549ce44e09a7258f6f11989f47d430e4a2dde9520304 SHA512 21c2933e370d1c0ab906f295a8d3614c712f53232c4c6d29b2c5510474df6d8fc2fd0873ff8f2d82b37c03775a4916af7d6173448afa047af4bbc7b542569f16
|
||||
DIST awscli-exe-linux-x86_64-2.13.10.zip 58357637 BLAKE2B 6c2b5f3fa196586687914a2e0058c5d81d7f97d0bec4ce093a1fd2c928c76980326483e15e0d48cf83791ff3fa17f725c3de77f77077a9ad356391a590f1ec2e SHA512 c544a71eca545c24ab0cf171e8428811921627b10ead00791f95b6610fa11ff8a89c1d0ba7485b7b498a3daaef88bbd6260d2f1af1b998abaaeaa3b86f9010aa
|
||||
EBUILD awscli-bin-2.11.17.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e
|
||||
EBUILD awscli-bin-2.12.0.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e
|
||||
EBUILD awscli-bin-2.13.0.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e
|
||||
EBUILD awscli-bin-2.13.10.ebuild 2310 BLAKE2B b271c5f667a9e74d4f912969acc212d0859cc2e08f2c27f97eda4b5a93b731a26065447f1e2fbf457328eadcd028b30784cb3aba42aacda60d32e8acb493714d SHA512 7ca23b363f727e50e5eceeb5eb3240e6e7a2a0b674d1db3b6a9271025e8ce3a5183b8515b2b1924ddb6e60d63436e9a3ce40694f937a2a620fd2bb5f40ca0e1e
|
||||
MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,9 +1,10 @@
|
||||
AUX array-syntax.patch 2166 BLAKE2B 40c40456ea5f2deacb4f83f74abdb58300a1fd03f93544e05d0e4e58ec266422d5b2cffa0652b49022a6096801d8506779e2da5f11cabfbc2e15fb36f1a78fe1 SHA512 8fb8e243b885a40490b0e55a12e65639879e6adae60f2784e6c960338c9e842bb480d9d18d83c1dd834b8114c37c59a4709881936895faf0c3262878de62414a
|
||||
AUX drush-6.7.0-batch-signature-fix.patch 1545 BLAKE2B a23c3f57fc3dfeec789019734cc294435a09abfaa66f0ec860efa6ce9eaec82d950e6f15afce870e4009cb895e7e6f4936bde07937fc2996f6a49d0550325a13 SHA512 22507ad189429a14af6a2b6344bb9c803b4536f55b25c3ecf68be47f69eedb45953b25e574b9b03ed43b7f0b600c3f0db116b7f14c0c130cd73008b38d27d4f1
|
||||
AUX drush-6.7.0-dont-pass-null-to-strtoupper.patch 1076 BLAKE2B 3f2335b9d84e95705f38830d692902db9e460686e5b619840dc83116774a0fe5a7389bfe11cc213e2fcad398000a3b13d4c7cfba3c194d0df95d334fffad2b5f SHA512 5f506583a025f989d027519d5b64014274ddd69065890cc1ae3db1f89959b021dae849a25b9a35885f92b4e6ceb137990d13e0d1c0f7b0eb1b60bfac281ab008
|
||||
AUX drush-6.7.0-gzip-mime.patch 775 BLAKE2B 6ed1f540ecff96f798c6dedb97da136b8f43e46bc5696f8aeedaab2419641880d161562ea04b44cc565bb76a693bf1ac9183d1efefbe1d744977381b45be8a3d SHA512 67002c5653301823b9b8efee4c0c00ef0dda9ca05f516eb13d5a9b82dc5837c28c59fea038f881c90e0313bbcd30ff434d58a1736b00c6be73b8da3c46a9291d
|
||||
AUX drush-6.7.0-php8.0.patch 3341 BLAKE2B 681c7bef6f7007e52767c4429015791a8ceb1bbc3ca80c7a8a924e880b811433e67485e5211368dbf89f2f03400f960e06395d64fb67d6fbcb8d85a1c0ce08d1 SHA512 73d74911945a1e74c2ef361e0f1cf89656356062fdcb4c1f36ac9a07d7f62bd29488283fcbffbb2f41700a9a89f6273d8203052fbcadada48bb2002a098a64d4
|
||||
AUX update-bash-completion-script-for-2.1.patch 1332 BLAKE2B a54fa2cab268542a37f1020012cf7744106966419d2ba8415a2e2ead882feb3f3dc9bd9b1ab17f8592e5d021855f5361b05304efcc810362224935069ef1b897 SHA512 2e19a6be652684c1b1a2a9d6605c1404272391950408cd6ae964b2bdd9f95b1e59deec5111c1eaa563a92837ea394fcb2315a3032b2ab02996509b98eb7d1cf0
|
||||
DIST drush-6.7.0.tar.gz 511581 BLAKE2B d3a589e3de35afe120d790f96ffa7e88b530da1e1d04815b1dea2f05cd081ad7dc6f4b39fa6f19b5620b9913b952ab289ec538f1b7c0c0f298d3cd0129eb7026 SHA512 203870190dd8987ad3da71f7625476c1f94bc75513447a740fd8c16268fb9705bcbc3b2bffc49a44045998e3fa49fd5ee9d4c0634a1fb39605ba8e10b7373fa5
|
||||
EBUILD drush-6.7.0-r4.ebuild 1731 BLAKE2B 209588f8a0e5a2ec602600d8a5d10e465517230f102a7ab3af0753561469c2ad1fd06ca48dd06be0c18e79ef9f95c65a1bc142ce66adf7333606c08085a947d3 SHA512 492a35026e2c3e781c082a17e2a3d15fbad235bb5ed56bc50f98b501fb7c8f97efd0b98a807257fcbe0d0b420504a5ddeeef67339592dac7f49ad9a78defe0eb
|
||||
EBUILD drush-6.7.0-r5.ebuild 1788 BLAKE2B 2a7658b577625606c8cfeda4034e28ff52add96e2db8012d9afcf2092adae9924902ed921f6fc6fb8e3bca27b1ff7b3b9c642c220862dfa6269efc20c5f82286 SHA512 4bf2da1a45cdb1176d37fed7a953462f3a9d63d0e3d036d84fa03c728ab68cf3bed5b522c80aa8ccbedbb32b91e1a48d1a4ac45901dae359d3623c993c2d494e
|
||||
EBUILD drush-6.7.0-r6.ebuild 1834 BLAKE2B 63823d3a978773f3d91ad4c3591f8d7b5f301b83bab07caf140db30ba767e45c6273a1ecd707c090f5fa2cbaf20dd2e3cec76ba363956ebf49a71854c4575263 SHA512 c00eb1447ba68c748946dc68e8f24b9fc848b65fefe598684713ce007db211f2675ed285ea0402e29ec7ff7d4e69b4e884be16869a057bfd22e6ad2427f909dd
|
||||
MISC metadata.xml 532 BLAKE2B c6ca539149d500608519aa982f4a3ef7f8e15b472d5140b8569371df6585c9f80ea57d7802fee00267bfe76290f2b9836be20250472bd261500fd5de84b974f7 SHA512 ec95e30855e93d1d04eac73b3dcf538c2ab38fbeb44acb7f3f7f3c3c04af9a5adba7dc96181cc02f136ffd901e22aab362dadef70aa9f84b0dde78a70bd36716
|
||||
|
@ -0,0 +1,46 @@
|
||||
From 31d7a945230eaf1f8ab94d5f782619434f7f2b8c Mon Sep 17 00:00:00 2001
|
||||
From: Michael Orlitzky <michael@orlitzky.com>
|
||||
Date: Wed, 16 Aug 2023 21:21:39 -0400
|
||||
Subject: [PATCH 1/1] includes/batch.inc: synchronize sub and superclass
|
||||
parameter names
|
||||
|
||||
The DrushBatchContext class overrides the offsetSet() method of its
|
||||
superclass, ArrayObject, but changes the first parameter's name from
|
||||
$key to $name. This makes php-8.1 unhappy:
|
||||
|
||||
Error: Return type of DrushBatchContext::offsetSet($name, $value)
|
||||
should either be compatible with ArrayObject::offsetSet(mixed $key,
|
||||
mixed $value): void, or the #[\ReturnTypeWillChange] attribute should
|
||||
be used to temporarily suppress the notice in .../batch.inc, line 37
|
||||
|
||||
Renaming the parameter to $key throughout the function fixes the issue.
|
||||
---
|
||||
includes/batch.inc | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/includes/batch.inc b/includes/batch.inc
|
||||
index dd4adc9..785f411 100644
|
||||
--- a/includes/batch.inc
|
||||
+++ b/includes/batch.inc
|
||||
@@ -34,14 +34,14 @@
|
||||
* @see _drush_batch_worker().
|
||||
*/
|
||||
class DrushBatchContext extends ArrayObject {
|
||||
- function offsetSet($name, $value) {
|
||||
- if ($name == 'message') {
|
||||
+ function offsetSet($key, $value) {
|
||||
+ if ($key == 'message') {
|
||||
drush_log(strip_tags($value), 'ok');
|
||||
}
|
||||
- elseif ($name == 'error_message') {
|
||||
+ elseif ($key == 'error_message') {
|
||||
drush_set_error('DRUSH_BATCH_ERROR', strip_tags($value));
|
||||
}
|
||||
- parent::offsetSet($name, $value);
|
||||
+ parent::offsetSet($key, $value);
|
||||
}
|
||||
}
|
||||
|
||||
--
|
||||
2.41.0
|
||||
|
@ -1,5 +1,4 @@
|
||||
AUX fetchlog-1.4-fix-build-system.patch 631 BLAKE2B ebbc0d0e90c5183a2ac396ffc26356223b5b8072100a9a6dc2f7fd0c9c94287213f7f8f8749e3e54612f7c777848012f92fccfbb02295345d578dcbd974f3091 SHA512 480a30e040f56e3e1cf21172dc7f7f060fa81a8a0efb95e15a20b7762444b356547435f3eacc4cdb7a504f3049f6b05a7fab219f6cab9d3fe7901968a69c796e
|
||||
DIST fetchlog-1.4.tar.gz 32393 BLAKE2B 2741c536dfb17414ffaf90cebd9f8c7c1a1c80edb30bc726f15aa6acd610a07afb926c2566d27b30125e7f4733c1abde8eb81c68d81f609bc05328cf90755d44 SHA512 51590c0cdfa8f4a15fcb4a436375d960c25f35d84558ab46def58f83c97da30caee449eea7c62c539da786a613c2b1e51dbc223d70d56c21daad6e9faf8a51ad
|
||||
EBUILD fetchlog-1.4-r1.ebuild 900 BLAKE2B 48b41cf53fcde1a31406c75cecc7193aad803c2f8ed495e25bda0e937297a8100aa22fff11c649e8c35503a2922bd65318ac424be30aec8721e58a3a07d582d3 SHA512 66f07ba3529482e64bb3e71c9ae46ffac291aebf379c64fb988e62b89e5e4c859b2eee0988192536ce9535a45a4c676e2f22254b6a7111253c086ba597fe70a7
|
||||
EBUILD fetchlog-1.4-r2.ebuild 891 BLAKE2B fe79be0290f4fa6373a1d3051c833c84fe6b903f3658a2dc0b5cd1322463a03cde79f5b3112ba16e9190e1a3bc93db3764442d3fafcc41290f4cd1940712e714 SHA512 76823b5dd5bef171b24e2cddef141a82598e43aa3029258ff54cba79102e94bd92f2be5e877b036326f1dd556e76b9b8045d81b41861f5bc11c8c093dcb6ab39
|
||||
MISC metadata.xml 251 BLAKE2B c119f716a25eaf3897a61c2ffb6d3f03c9981141aade031b0f8878ae448b0c75f4dad96d6528db0dfcb39623eddc30cb5afeac072d316f47bf4ecfef2be95743 SHA512 8b8b0e3a412b4283748a5b0a25577fcd95c896b7bc54fa0125be1da0cd39e517ee25105516cc034e30efb421c559844579dd3c935fb7693061cdcce362a63da4
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Displays the last new messages of a logfile"
|
||||
HOMEPAGE="https://fetchlog.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/fetchlog/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
IUSE="snmp"
|
||||
|
||||
RDEPEND="
|
||||
snmp? (
|
||||
>=dev-perl/Net-SNMP-4.0.1-r2
|
||||
>=net-analyzer/net-snmp-5.0.6
|
||||
)"
|
||||
DEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.4-fix-build-system.patch )
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fetchlog
|
||||
einstalldocs
|
||||
dodoc *cfg*
|
||||
doman fetchlog.1
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
elog
|
||||
elog "This utility can be used together with Nagios"
|
||||
elog "To make use of these features you need to"
|
||||
elog "install net-analyzer/nagios."
|
||||
elog "This feature depends on SNMP, so make use you"
|
||||
elog "have 'snmp' in your USE flags"
|
||||
elog
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX keepassxc-2.7.4-tests.patch 402 BLAKE2B d1d88059d70e8c43f51bdd94ba17222a919059efadc68712e4f6b8e72885f3088ed96793c8ad26f53000e76414b13b9ebcd52ea447b17e7822ce7d3245f30414 SHA512 e401e341c34a117395cb5852f561770a1f65904e6f649cdd2904a89f7b068c53f46e8509d2e4cafc3c213e2326a01838f719d360fde21d63f29962969f3d16ef
|
||||
DIST keepassxc-2.7.5-src.tar.xz 8706996 BLAKE2B 6df7ec9e560b469b8e3ae9026464e6c2064ffd262b118842a3cd5fbf72758aa0e5614cb2581392b6ab35b3d202acbdad24e1679ca162468f78e88dd94af2422f SHA512 904fe319cb18a06e86162a0a4c4fbcac05b9e6936b69c5362b7fe2b89cd268061cadd6854f7dde80d3e8cfa2b9e22c27974277f3db1f6c32a2720e01a4c4aa1b
|
||||
DIST keepassxc-2.7.6-src.tar.xz 8474624 BLAKE2B 2ecdd387a7bc70aeeaef6eeabdfeed6aaf1d779056580375c011aa71d62459d38258617a4cb46fc3b215a2b6e1e3326cc8c62b228bee0be674923399421b0cbe SHA512 58bdf731e1ce15e4a9db5aae27b7740372c4b28e2998b9acf2d1be6ee5b4eead37149ddd3de039d1cb70d34f11b09f43969d36ce4241b3fe3af4adf53d8ba812
|
||||
EBUILD keepassxc-2.7.5-r1.ebuild 2445 BLAKE2B f9c77b86135647269ba4e811fb9c1bc8099c569bd7aa4fcef000646844bc8e16e07849448d1a7b40b2e1210018c6aac10ebca862eca8607cea290e7dfb69938d SHA512 d463f50715d1c40b3422ca15e3ec7a5b6865caf332a6c4b5f28af3f6e96625cd32d35c7055e275a5b7a8c14cfc8d77dffda75e2f738368a9525e9b461487a896
|
||||
EBUILD keepassxc-2.7.6.ebuild 2447 BLAKE2B 2acc06109da457eb0e3edeb01e9dd0fca71c554671ffcbefc3934cc6cac9132c3cbb6f7b10b291f25fa52b7336de1a50bb8a78a69a2927437e1b81724479422a SHA512 1bbd0f1a0cffb8d35e164fc08235114e6e492524bef26118b6d27b75f2fcb855330cdfed79f6c18eb1e15824c9c15d07da2295fdc46330aacace0891e44baab7
|
||||
EBUILD keepassxc-9999.ebuild 2396 BLAKE2B 0523cac18e769bb4d772a52340d4d118b8e349648f69a81de30ad3d8d76697349a1df025d0459811aa12057177efe69587265c940b6cb128756953826f9f4d5b SHA512 54435013e756bddb3fa39ba368af0b9961e2089f6801872db103d2078ba256304f30a57a52885c8c23329566140b47f6021ee97b52a096d8e50da4ab276c39c9
|
||||
MISC metadata.xml 1077 BLAKE2B 410793b2f278ccbddceb10a72e4a010f4b2d6fc81bd8a472b867e1230d43a0e6f461ff6459095d334536d462e2297c4978dbb247e3a5ccb82c36fd70c6f44b51 SHA512 d338787a7ea319d752c19314ee53ee1306293ae2dddeedd22bd010e990a1680fdd1b96c5173c653b4dbbe336d713a07f9fc1a771951fca8636b3973361787f20
|
||||
|
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://keepassxc.org/
|
||||
https://github.com/keepassxreboot/keepassxc/"
|
||||
|
||||
if [[ "${PV}" != *9999 ]] ; then
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/${PN}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
else
|
||||
SRC_URI="https://github.com/keepassxreboot/${PN}/releases/download/${PV}/${P}-src.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
[[ "${PV}" != 9999 ]] && EGIT_BRANCH="master"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="X autotype browser doc keeshare +network test yubikey"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="autotype? ( X )"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/argon2:=
|
||||
dev-libs/botan:3=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-gfx/qrencode:=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:=
|
||||
X? ( dev-qt/qtx11extras:5 )
|
||||
autotype? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXtst
|
||||
)
|
||||
keeshare? ( sys-libs/zlib:=[minizip] )
|
||||
yubikey? (
|
||||
dev-libs/libusb:1
|
||||
sys-apps/pcsc-lite
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-qt/qttest:5
|
||||
"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
doc? ( dev-ruby/asciidoctor )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-2.7.4-tests.patch )
|
||||
|
||||
src_prepare() {
|
||||
if [[ "${PV}" != *_beta* ]] && [[ "${PV}" != *9999 ]] && [[ ! -f .version ]] ; then
|
||||
printf '%s' "${PV}" > .version || die
|
||||
fi
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# https://github.com/keepassxreboot/keepassxc/issues/5801
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
# Gentoo users enable ccache via e.g. FEATURES=ccache or
|
||||
# other means. We don't want the build system to enable it for us.
|
||||
-DWITH_CCACHE=OFF
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_DOCS="$(usex doc)"
|
||||
-DWITH_XC_BROWSER="$(usex browser)"
|
||||
-DWITH_XC_BOTAN3=ON
|
||||
-DWITH_XC_FDOSECRETS=ON
|
||||
-DWITH_XC_KEESHARE="$(usex keeshare)"
|
||||
-DWITH_XC_NETWORKING="$(usex network)"
|
||||
-DWITH_XC_SSHAGENT=ON
|
||||
-DWITH_XC_UPDATECHECK=OFF
|
||||
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
-DWITH_XC_X11="$(usex X)"
|
||||
)
|
||||
if [[ "${PV}" == *_beta* ]] ; then
|
||||
mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" )
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST mktwpol-1.0.1.tar.gz 60491 BLAKE2B 66d7db396bbf7e5b2c4dd537ac9bcd387298ae733348b63c6d5cb6df79e9440ea751c27eccec66978371fa81a17929d25fcfbeca6787abf8b49f087b54a6468d SHA512 aa44af97533f130b89b83c6f2a8878d290770b677f6fb9fe654b033f57fcfb3d063a6a6ddf29599aa066452d75911cf8053d65b21c37e322851a10f4381cb33d
|
||||
EBUILD mktwpol-1.0.1-r1.ebuild 1809 BLAKE2B ee15e4d5a3acf4454057c71ff2e02280ec7e59c46b3bb61aee92b8855383de5f3e4fc64d315f6d538c34ba1eb9c41f387961a2a38d9a769182a018cee868d83b SHA512 eeb543df7acb291cbf47a53c55d7e3020dea578c1d2fec69d7fa48baa1ae417973615d15feb9eb16b1ee83a43ba95eb3fbff1bd87039f56f6f465c60541cf00a
|
||||
EBUILD mktwpol-1.0.1.ebuild 2234 BLAKE2B 3001ec982eae364a451a4302315ab7a3d774edcfce9d2db38c78f472a5ebe48fd90a1ddcde4660bb8032d80f4176ea3ea80684cab278c54498209974062b0111 SHA512 293252ea909b2e62c0e72bab04493313a08c8de7a6348616752a2cdf9ed3170a60663c46981e7cca0e74de368dc320c1e62e6b85caf2366ba02ab6b85333cf52
|
||||
MISC metadata.xml 1737 BLAKE2B 7987f89f5a273694583540df9701e4b0d77b6e3b9af607bda1abcb5ffae723e8c423862a9c5c45d3776c7ff543951e4ee3039dcde1ec820c0da9baee55fde8a1 SHA512 40170b03ebf1abf0eaa2fe0bb98e7489c197aa0a3aade6f7d8ef7573d8833e173c38ae583e146fc0ee391c22da3363fb29faf3db442a0d894988fe9a1bc259d8
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Bash scripts to install tripwire and generate tripwire policy files"
|
||||
HOMEPAGE="https://sourceforge.net/projects/mktwpol"
|
||||
SRC_URI="mirror://sourceforge/mktwpol/${PF}.tar.gz"
|
||||
|
||||
LICENSE="CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/tripwire"
|
||||
|
||||
S=${WORKDIR}/${PF}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's:/usr/local:/usr:' Makefile || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# one elog message for new/first installation
|
||||
# different elog message when updating
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog
|
||||
elog "To facilitate a new installation and setup of tripwire:"
|
||||
elog " - Run: \`twsetup.sh\`"
|
||||
elog
|
||||
elog "To update tripwire database as packages are added or deleted:"
|
||||
elog " - Run: \`mktwpol.sh -u\`"
|
||||
elog
|
||||
elog "Mktwpol is packaged with multiple policy-generating rules files."
|
||||
elog "A default \"rules file\" is installed in /etc/tripwire"
|
||||
elog "Alternatives are available in /usr/share/doc/${PF}"
|
||||
elog
|
||||
elog "mktwpol.sh uses the policy-generating rules file with the"
|
||||
elog "most recent date. To use an alternative \"rules file\","
|
||||
elog "copy it from /usr/share/doc/${PF} to /etc/tripwire,"
|
||||
elog " uncompress it, and \`touch\` it."
|
||||
elog
|
||||
elog "Read /usr/share/doc/${PF}/README for more tips."
|
||||
elog
|
||||
else
|
||||
elog
|
||||
elog "Version bump: mktwpol policy-generating rules have changed."
|
||||
elog "Run \`mktwpol.sh -u\` to update tripwire policy and database."
|
||||
elog
|
||||
elog "Alternative policy-generating rules are in /usr/share/doc/${PF}"
|
||||
elog "To use an alternative policy-generating rules file,"
|
||||
elog "copy it to /etc/tripwire, uncompress and \`touch\` it."
|
||||
elog
|
||||
fi
|
||||
# ewarn message if a version change from 0.x.x
|
||||
if [[ "${REPLACING_VERSIONS:0:1}" == "0" ]] ; then
|
||||
ewarn
|
||||
ewarn "Mktwpol default policy-generating rules no longer sort by package."
|
||||
ewarn
|
||||
ewarn " This change does not reduce the scope of system inspection!"
|
||||
ewarn " It only affects the tripwire report format."
|
||||
ewarn
|
||||
ewarn " The previous default reporting format is still available, at"
|
||||
ewarn " /usr/share/doc/${PF}/mktwpol-gentoo-packages.rules*"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST openrc-settingsd-v1.2.0.tar.bz2 41713 BLAKE2B e4630e934fc55549b3d81cc448adb35cb22cb99b898363a1113909a24acc0709d5693841a9c651b4ecf52044c3a45cc4b8207f9c9a3d0e1e8a4f85edefb23d65 SHA512 b1862e80454d3ca22d083f283f4ef3215dfad4da6d2aa495211fa31014c66fb6891ae87a3a1c6932944ed4c1e7100d247e80abc659f37868adcf5fce3b90385b
|
||||
DIST openrc-settingsd-v1.4.0.tar.bz2 41420 BLAKE2B 3890c65e22f1cc55aa8f067ae7d8a46de25618c7ab98acb8e01f38662da4d73f3d0d16583a0526ded3331c4fb4d80bf0b6852917ed875adfa0035d19e19219e6 SHA512 aa5bd4d2afb1b959c4c2d532b30d369ee0bd637010ea75adc8ca7444cdb13bf651ae4c6946141d326c8460f23ba4482c1a3f639a0b48190009a88298a17c22e3
|
||||
EBUILD openrc-settingsd-1.2.0.ebuild 1411 BLAKE2B 637c6b4f227778dfc953d1929fb10757e27bf836ef5a6774e7b0da81d25472dc7571c6ee0fa05ad9141077b9829f5b30864ca96a027185f0ea7aa947b91f9bd8 SHA512 afd3b64ba50379a5de82d387ef50ca7202591eee22b9169c5a4fdc0508b4aa517271aeb32504d4d22c8376a093a77236819cc82810af0fb0f2b97219c0166279
|
||||
EBUILD openrc-settingsd-1.4.0.ebuild 1442 BLAKE2B 032a097fd4d4ecfaceec3bd96210e0fc8dbcfcc2bf47df92203f5b1b6bececbaaa476e16af44025c123b68f0523403464169240e0cd94e0a32c46a843c2e3413 SHA512 ddda718b2c507fd6c415d760749096e8e8a9b667b1ef15cd459684e8daa778802e41c12d7986e0e829fa7e77ef40d5d184707732216487cfc8f897492d0badef
|
||||
MISC metadata.xml 489 BLAKE2B 9da8f8d72d161ece48f9f2bd5ac900836bf5be45de25e604b3742b3aa38820f2fb6b4039062a8701a1aa0e9b6f5893f389b99e178dd31f70ec008928587f661c SHA512 aeab0c7da85043d609af29f344fdefb7d8fcf62b7bdd113dd56131c99d82e738a2ea7d261b4de365443d9dd1747bce4069ec3e0fdcfe2de91fe117726024e127
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="System settings D-Bus service for OpenRC"
|
||||
HOMEPAGE="https://gitlab.com/postmarketOS/openrc-settingsd/"
|
||||
SRC_URI="https://gitlab.com/postmarketOS/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||
IUSE="systemd"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.30:2
|
||||
sys-apps/dbus
|
||||
sys-auth/polkit
|
||||
dev-libs/libdaemon:0=
|
||||
sys-apps/openrc
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
systemd? ( >=sys-apps/systemd-197 )
|
||||
!systemd? ( sys-auth/nss-myhostname !sys-apps/systemd )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/gdbus-codegen
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dopenrc=enabled
|
||||
-Denv-update=/usr/bin/env-update
|
||||
-Dhostname-style=gentoo
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use systemd; then
|
||||
# Avoid file collision with systemd
|
||||
rm -vr "${ED}"/usr/share/{dbus-1,polkit-1} "${ED}"/etc/dbus-1 || die "rm failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use systemd; then
|
||||
elog "You installed ${PN} with USE=systemd. In this mode,"
|
||||
elog "${PN} will not start via simple dbus activation, so you"
|
||||
elog "will have to manually enable it as an rc service:"
|
||||
elog " # /etc/init.d/openrc-settingsd start"
|
||||
elog " # rc-update add openrc-settingsd default"
|
||||
fi
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
AUX petrovich-1.0.0-gentoo.diff 1135 BLAKE2B cfb4a284f943e6e7dd97f63ff14641ef0c1c5a962926f3220640d8b76804bfb4e754a62c11988b7352b796b1646739a969690336316f657b98e831fde5804a53 SHA512 cccefe0f88bdc0c4665e38c7e9760e273c5a40dfbbff086839128f2f3556e1e9c1094c2d7380045899d02e5c56aa84280c578a91cef86776e06841a40581b3df
|
||||
AUX petrovich.conf 135 BLAKE2B 37e803f0a90805af7f2888d24ca64fb5eb25e2795ac8fb6bbd52e4cd0614b1005b5ebb8cb401054f7ff77703f957ccb41ccfa9e9fa0033e2dbddc2ee216c99b7 SHA512 eaede98ec4921e5b9dae0c79f685d71c1001eed313529ff5c20a55f956d4eb2682880aebb56717f40c090feb92eeba6060aa96ecf45b94fb764cf76993febce1
|
||||
DIST petrovich-1.0.0.tar.gz 17844 BLAKE2B 31815188d72656c0dcb4a49f7c1511213ebaf049c2f3961e6aa0ce8ba74f7705b38b414745a73b9c78f05b6e164940e6eea92a8f885b96ad1afbe0f811411734 SHA512 5f30cffffba670ee6c6b53b93427f380c389ba60ee5717cb6ac632aacbd81fba514c0843db4d8e093e164fd8cf275f280a9da5a184b27c077789f2e359b05b5d
|
||||
EBUILD petrovich-1.0.0-r1.ebuild 621 BLAKE2B 70ad5a70796983199e5fe5398abd6e7ec3589190d162b2b0d5f1c2f341dcd6a865238a3f879fe1c5bd07b26fa14c2f2531f6b1b27b6f0bfec4f3aa7aadad8940 SHA512 d5f5210399fc709679412554e9842a90846d3de8bac0abd212cdc87580fafc1f04670980709111795b067a2e48b0b96932052bbc18f29925b14360112b4c89cc
|
||||
EBUILD petrovich-1.0.0-r2.ebuild 617 BLAKE2B 32f79f08c7b3b05fbbfe3670c4a8a408c7f86f53df4558f67434b2a605c81830b4011e3dbb0d697fe6c8c4d130b7784dc4a1a7caff53c6df027a4fa438428631 SHA512 d075cf3cd671d425bb47f5be26282e35fc325903d10ed8078f12e60923d6adc261b40927637ba844fca71655de5f778257348a3813dcad9724caecf832464c91
|
||||
MISC metadata.xml 247 BLAKE2B 5e9860b832a8c0bf40fc3a0b21d9be80258b7a63f969b816aa5edb1ba3fd847759e098ae30450bff70a352c7b1f5a3472c073345bdea4aec1881699766b95e23 SHA512 f61c388c2cc592cb4c2ca6a3a9c45ccecb77b38fda1584f7cf5c0d0f30d486b9f2628f0b79d6e2dc7b3c0f52d0f6dde4ceafbc520f07a6a34ba4e06b1f366d50
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Filesystem Integrity Checker"
|
||||
SRC_URI="mirror://sourceforge/petrovich/${P}.tar.gz"
|
||||
HOMEPAGE="https://sourceforge.net/projects/petrovich"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
|
||||
RDEPEND="virtual/perl-Digest-MD5"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-gentoo.diff" )
|
||||
HTML_DOCS=( CHANGES.HTML LICENSE.HTML README.HTML TODO.HTML USAGE.HTML )
|
||||
|
||||
src_install() {
|
||||
dosbin "${PN}.pl"
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/${PN}.conf"
|
||||
|
||||
dodir "/var/db/${PN}"
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,11 +1,8 @@
|
||||
AUX puppet.initd2 758 BLAKE2B caf8c2e3563f24d9d313e790498dc362fcd14467ca2b6329cf454a5163bae5cfa2b7af1a212b2e5bfcb4693c7291d5306e47e574d3c937aaedd02625dc954a9e SHA512 df93f7dbcf61eee9f42f4a0c2fa0e2dfc806ac737ba98329cee158e04150c9bf346abd9364b2a6824df4bb862e676be7b2c23f5947ef5aa589df745ac5c5cd03
|
||||
DIST puppet-agent_7.24.0-1focal_amd64.deb 31418478 BLAKE2B 201c0a5adbeca2b6f572d3f8b89df06314171e5c7bb95f574311cee5af1910bdf7f5574eaa5f514bcf0c1ceb5c04c30a2079069183c4b37dd90581596a70092e SHA512 7912360597c21abf048d578783262821210d6568dc41f79b2d21cdb08851f8bd4cbe5a6114aa8af302c9046de424b8b15fe34be1fc51b529f36ccb99445bc7dc
|
||||
DIST puppet-agent_7.24.0-1focal_arm64.deb 31160744 BLAKE2B 22dfc3f0855c2e88c7202f2a9d98efd4ad9ef3a191ab9b5b8c37a6869306a47d1225d568fec9f0fc52cdf236f8258b5ca206a360049cc39e1825f1f8afc5d4af SHA512 db1b7cb25a04d6aeedd7f3bb125fe0fcac420c2881f9f3aba729143e253908376cd118073753de018d8fd1a6d7f38139766b4ec4bfb23f840ca7ee32143a8a48
|
||||
DIST puppet-agent_8.0.0-1focal_amd64.deb 35686934 BLAKE2B 1604178a8ce2a9112e411d2054b013a9bba5e28d6ecbb119da112ffd01cb620a482c118b84313a95f50efac755c0cb3551b966d95d77ae242c5ca515d3f82d72 SHA512 df6fe25f582fe5339648cada3563cd3820e39ebe383cf8189bb2517e03e21477af6cffcdf4d1894960fd69a5c4168990c45a1f74789bca0881f31fd09dccf0d2
|
||||
DIST puppet-agent_8.0.0-1focal_arm64.deb 35445806 BLAKE2B b66669c98d44eadead8d9b09faf679dd9ca938bfba7cd5c67d9083cd856afa61ee416a389672a978d8b9394a0ec7b404fd97db4a181b4ffbbdb813aff2b3d697 SHA512 c47167e2be146eb18fab055fb5dc94583e3b53006ce71573c41d76016e0a9ef57ba8a9d9807e020763acbfbe243ebb4080a84773f3d7339beb408f4b437cc864
|
||||
DIST puppet-agent_8.1.0-1focal_amd64.deb 35868180 BLAKE2B 9c3c952a35670883aae31e05a47b5d23e79c3e53cf54760444a8d0dbf7d7ca6385b043ec82eb748d0b6e9573fcb79de457323ec46441f3dd5a60c14cc51aeaae SHA512 450b37c556f39d02d124009d276c70e8b8f46f75ff14df4ab13656a54ace2612441202e8fcf5a266ec25998ad05271eda2f1088580091009b8f2c98b1b8462d8
|
||||
DIST puppet-agent_8.1.0-1focal_arm64.deb 35364600 BLAKE2B 25965e453f13b936962bf8a786171dc7fce3fe4868f856352a6a46c463f8e84d32d44f3a7ca7f4d9ce21880a9d38a623b7dffe1c0dbcff5c4e48971776dce960 SHA512 1d77cb14600d38547deac90a57218d0559797f011b9acae708d745946a20299c6a802276aac9e06eba2b8e5ae631e2f9da030b11fdfa26ab656ed7c2db631d7b
|
||||
EBUILD puppet-agent-7.24.0.ebuild 2593 BLAKE2B a73b46e5e5bd8f3d8bbd45478bcb311a80d0f2b6ca84c23e13b70ca82820be978912ee1e0019c5efc05bcc2c1f30590117ff1d28e789238adbf085e6fd0709fc SHA512 b5e3e76e28d1abaed04fd2749333d465272aacef931531e29041dc19e6206dbf66bb468e64deaa861348bb36d7d45ddd236d9bc2be84df41dbba54c7f3c3e857
|
||||
EBUILD puppet-agent-8.0.0.ebuild 2595 BLAKE2B 0f775b39ea28e424db14aab962e1f502a01e086cabd065bff638e08dece28ae18b01f56f35e44730eac8ba356038ebf057abb20bcc4f3c6cbdd3bfeebc6fdd29 SHA512 047349be58b6d724e56696f604233ba488354d39cfb301431b6fdb971c91c92fd6ff48993a7b8403dac28cb43be2021ec9599dba79668e81355e7d3985f6d5a0
|
||||
EBUILD puppet-agent-8.1.0.ebuild 2595 BLAKE2B 0f775b39ea28e424db14aab962e1f502a01e086cabd065bff638e08dece28ae18b01f56f35e44730eac8ba356038ebf057abb20bcc4f3c6cbdd3bfeebc6fdd29 SHA512 047349be58b6d724e56696f604233ba488354d39cfb301431b6fdb971c91c92fd6ff48993a7b8403dac28cb43be2021ec9599dba79668e81355e7d3985f6d5a0
|
||||
MISC metadata.xml 1032 BLAKE2B 35156eb59a786ad7dab4ac5c281796af6a8f3dcad2b7ebc2c6af926aee6fcbffaef39f0f7119f1aefed42a1e8148f323ee4d3d5f77dfb4d3671317af6fd078cc SHA512 b624438f825e288802e516637dd38f775a63b4a4aabaa53c5adfd1f71f694018dbf3d47f1622a90d5da25a00aac696f9203c085190e574a586f3a3e4fe14f9d1
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit systemd unpacker tmpfiles
|
||||
|
||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_URI="amd64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb )
|
||||
arm64? ( http://apt.puppetlabs.com/pool/focal/puppet8/${PN:0:1}/${PN}/${PN}_${PV}-1focal_arm64.deb )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
# virtual/libcrypt:= is in here despite being a pre-built package
|
||||
# to ensure that the has_version logic for the symlink doesn't become stale
|
||||
CDEPEND="!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
app-emulation/virt-what
|
||||
acct-user/puppet
|
||||
acct-group/puppet
|
||||
virtual/libcrypt:="
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-admin/augeas"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/libselinux
|
||||
sys-libs/glibc
|
||||
sys-libs/readline:0/8
|
||||
sys-libs/libxcrypt[compat]
|
||||
sys-libs/ncurses:0[tinfo]
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
keepdir var/log/puppetlabs/puppet/
|
||||
chmod 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd2" puppet
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
|
||||
# Handling of the path to the crypt library during the ongoing migration
|
||||
# from glibc[crypt] to libxcrypt
|
||||
# https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html
|
||||
if has_version "sys-libs/glibc[crypt]"; then
|
||||
local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1'
|
||||
else
|
||||
local crypt_target='../../../../usr/lib/libcrypt.so.1'
|
||||
fi
|
||||
dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet-agent.conf
|
||||
}
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_RUBY="ruby31"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit ruby-fakegem systemd tmpfiles
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="https://puppet.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86"
|
||||
IUSE="augeas diff doc emacs hiera ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
# <dev-ruby/concurrent-ruby-1.2 for bug #900206
|
||||
# - https://tickets.puppetlabs.com/browse/PUP-11722 (workaround, pinning)
|
||||
# - https://tickets.puppetlabs.com/browse/PUP-11723 (bug for fixing the pinning)
|
||||
ruby_add_rdepend "
|
||||
hiera? ( dev-ruby/hiera )
|
||||
dev-ruby/json:=
|
||||
dev-ruby/semantic_puppet
|
||||
>=dev-ruby/facter-3.0.0
|
||||
dev-ruby/deep_merge
|
||||
<dev-ruby/concurrent-ruby-1.2
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# fix systemd path
|
||||
eapply -p0 "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" \
|
||||
# "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
newtmpfiles "${FILESDIR}/tmpfiles.d-2" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"
|
||||
dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet.conf
|
||||
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
AUX puppetserver.init 2138 BLAKE2B 6c157cb6bbe9e085ae67920abadf99ff97798115f784a60e2be4fa565f5b897f60d8abea21af273b1951477a1662c778081ee9a31063780c179097e764b0845b SHA512 50e78feda08e06a16290f90b7d593653c7fe2e98efdfc8cc7cc4a85a5be528e8bc585b934330f3a87b6f038311942fd8bc6d73f0538069d7b132dd3a64e23f11
|
||||
AUX puppetserver.init-r1 2190 BLAKE2B 6e4b547af51989d678a52e0fb41e8b27a669d96aaa445998b532524651f2bf2349a26f8eb77ead92a9e0f613a5269fe464045937f318947c8c2878b93dad0d4f SHA512 de159346c4b1b5705d53337994cf77f4b70edd20d60f0e1338589be4ee67c4a1bddca5cfdf9a4e744ff9360676f86391a6675b137c3bef050d71f2964b885b58
|
||||
DIST puppetserver-7.11.0.tar.gz 59927771 BLAKE2B dcf2543ac6d5427f57bb451ff9cc6db6748522ffed6fd5a7e81bd63be899fbf722016975fdfca5154489bcaf93d973d11669dd455ad44c79b3be50ccc5e0f636 SHA512 4c9c8d05048ccc35fd729a9a37151451e97655eed131f7192be2dac7614c309ffa4cdb0dd77f1c9eb2666d7df630690faa52ad2b01266010533522b58fb06f79
|
||||
DIST puppetserver-8.0.0.tar.gz 60976845 BLAKE2B af9e389ec946ea20b7028535c12a0fbc99dc4ee0790cfb9625ae881e3024c96727e8eb671a25895ade878c5a2b264991a5b3f49dc7453e49ba85be0042ba0bc6 SHA512 1b67c472795c5baad5696f4b553fc95a3561b4fbb9fcd0cc7be2c168bbbbe3b788a6fc2d0821fa9d459c452a9e9ee754a6ba2f8b8cae55ab6490896bd228ce06
|
||||
DIST puppetserver-8.1.0.tar.gz 61109210 BLAKE2B 562f765d0f36926d16575d6c6fe9e55ee1d732f9288ae3ab0cfa653868de87f4de6176d616e49568298de754a94951e37d61e129b6723ca1f1da6bb3bb191d54 SHA512 a6112d8c4eeaa58dfcb72e91f60104a0918a3c55f8fce4e555b40fa42d0027aaddf94e8751ecd854240f3dcf6034233dc52a750ee7791e35f0a6a7a9609a8c35
|
||||
EBUILD puppetserver-7.11.0.ebuild 5355 BLAKE2B 5e11c389026d93c2ae38f28e2f8da12fe25bc65a1600a2f8051003b726e110498f7892355ff0e9ed556547db5cedc3c45c01253f3722f7ff7705f147585e2f82 SHA512 edfc5b094ea7db88c30cb71ecc3e3476b52789b37f7b893526db5dc7b96dbfd52a4e4bd2a38aa4164ebc8cd0b967cdd5b6af077a49fe242cf2c762b155c3ce16
|
||||
EBUILD puppetserver-8.0.0.ebuild 5352 BLAKE2B f9d2849e80e3baf2ed7567b7a744d75eb998dcc1b4bde77661033ffd5a90f17f6141c382dbea7c1cb8035b9e3a8e1a11a2739a94c79866fd5919c02deee63fcb SHA512 0e1e56bee2d15ad2f5dcba00be3d832fc62d6a284c716fed144238ec02ff996d3976919a6aa0bed16949bc1f320e246d6c3a2508405c86ff1336f70387842f3d
|
||||
EBUILD puppetserver-8.1.0.ebuild 5352 BLAKE2B f9d2849e80e3baf2ed7567b7a744d75eb998dcc1b4bde77661033ffd5a90f17f6141c382dbea7c1cb8035b9e3a8e1a11a2739a94c79866fd5919c02deee63fcb SHA512 0e1e56bee2d15ad2f5dcba00be3d832fc62d6a284c716fed144238ec02ff996d3976919a6aa0bed16949bc1f320e246d6c3a2508405c86ff1336f70387842f3d
|
||||
MISC metadata.xml 341 BLAKE2B 6e19f31ed866283c5827f9ca2550ca99c12d8b9506fbc13447d8bdad3ceaae844d3b103fe6cced8f829a75b7b1c317ef43bd2d1e885e9b509f70b8646a9e5bf6 SHA512 72945305ef496758676dba53925ebbd5cd0d01935fe82708559f941d831bf6b2ce34444d5b85a16b116f577596b2647183fe7b7c6ef92080a8e332fc0226d7ac
|
||||
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents"
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="puppetdb"
|
||||
# will need the same keywords in puppet-agent (puppet-agent now has arm64)
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RDEPEND+="
|
||||
>=virtual/jdk-11
|
||||
app-admin/puppet-agent[puppetdb?]"
|
||||
DEPEND+="acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
||||
insopts -m0774
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppet-server-release.jar
|
||||
insinto /etc/puppetlabs/puppetserver
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetserver/services.d
|
||||
doins ext/system-config/services.d/bootstrap.cfg
|
||||
doins ext/config/services.d/ca.cfg
|
||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
||||
doins ext/config/conf.d/puppetserver.conf
|
||||
doins ext/config/conf.d/auth.conf
|
||||
doins ext/config/conf.d/global.conf
|
||||
doins ext/config/conf.d/web-routes.conf
|
||||
doins ext/config/conf.d/metrics.conf
|
||||
doins ext/config/conf.d/webserver.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
||||
doins ext/cli/ca
|
||||
doins ext/cli/irb
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/gem
|
||||
doins ext/cli/ruby
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
||||
doins ext/cli_defaults/cli-defaults.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
||||
doins ext/bin/puppetserver
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
||||
# other sys stuff
|
||||
dodir /etc/puppetlabs/code
|
||||
# needed for systemd
|
||||
keepdir /var/log/puppetlabs/puppetserver
|
||||
dodir /etc/puppetlabs/puppet/ssl
|
||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
||||
# systemd type things
|
||||
insinto /etc/systemd/system/puppetserver.service.d/
|
||||
systemd_dounit ext/redhat/puppetserver.service
|
||||
insinto /etc/default
|
||||
newins ext/default puppetserver
|
||||
# normal init type tasks
|
||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
||||
newinitd "${FILESDIR}/puppetserver.init-r1" puppetserver
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetserver.logrotate.conf puppetserver
|
||||
# cleanup
|
||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
||||
insinto /opt/puppetlabs/server/data
|
||||
doins ext/build-scripts/jruby-gem-list.txt
|
||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
||||
newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppetserver.conf
|
||||
|
||||
elog "to install you may want to run the following:"
|
||||
elog
|
||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
||||
elog
|
||||
elog "# install puppetserver gems"
|
||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document --ignore-dependencies \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list-no-dependencies.txt"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST r10k-3.15.0.gem 257536 BLAKE2B 50ddb734bef782d9b061f17338d05c8fd824d0cc1e6005c538c4ef91c584bfe9ecbfb5bc5dc033317344bad7b14825cea6a56e136efec5081778582b8c714b18 SHA512 97cbb0a3e6f23591370de339e3320d9cbff726968b3b73d2bb00ebca7637406a371d1464d3ac955b7aacc4f5cfa898b828095aebaebe24bffd7d90be462457a9
|
||||
DIST r10k-3.15.4.tar.gz 258268 BLAKE2B 6f2f69895d84e13f54f2a7e6dba086c5b4234f0644709dafa8f88366dbe37fe8f165ef2d316f4c5b60df843448d164132878d67750bc3a65a2b8f66b205d3266 SHA512 521cf69a7372a60db74c3795b608c5ab4148f628365210228d79d9146a80d7105e4c757241e891e8e37027ae0cc2f37e59773c9838bd88042b0fdab13e36cd88
|
||||
EBUILD r10k-3.15.0.ebuild 1280 BLAKE2B 07783efec4028a34c7d870c844f27375b4ce2dc92080bdce3a5d9f1839f91a0e4951eebb52d1154687115c7311382c34088ddf346b668aa6012f966436544db3 SHA512 bfbaa654b1516994e384d91cc9915ef856e2f4d21c9e10e808475cf961b3916b62a9020b1b3fd36ab51f470fd5b3403de5eb3494a958f664d461bb561e75aebc
|
||||
DIST r10k-3.16.0.tar.gz 253547 BLAKE2B 683fdd5588c7b3c3b47ae0d28d75fbfb929d5595c715531eed86b8d89f76708c91f38f9ca558040b36fac38c038211086a74fdf109b37350126bc78b25f8b751 SHA512 399a357cf8617427632516e0f439a40464ba0c8201ee7b6ce15c893ae029bfd9ae1438b76aff3b9601685d14febf8fc71dbdd2954eb3352d6ce713e769cb586d
|
||||
EBUILD r10k-3.15.4.ebuild 1392 BLAKE2B 272088e7e8e0cfc59afba5e904dd490745664670905f2c3f9cfa81ef3347048821893f9fb9d8978f17d0dc5c364d725406e3277911f8f9a7f4fca111eeaae763 SHA512 e91232a6afbffda1dcc8e1f11a5ecf1cda219ea91c947eab47914959aa0ae40d0d175dba892133552e9800bdb26e3a6c5dd871a96f2e45f9378baaf9fe892dda
|
||||
EBUILD r10k-3.16.0.ebuild 1345 BLAKE2B 999cd1937b03cef17b186587a2f691d0944f7d2f49b65e1e543bf922e15bf5e77f2fcabf66540ec7d5cb17c24e22db60ff2c374c99c35a4eff658af7f0f1a421 SHA512 79e1e36896b236a03e2a1e3e124f54e8231db6dcf1bf8180b3dae1431816cff03373702eaada662476bec8f3da888b423e258bb3e14db331ee51655cb7f5180d
|
||||
MISC metadata.xml 583 BLAKE2B ba9d1aa2afa56933206aac7d21a4d68eba309714a20ceebdd93d3e2ec96a08af0b6ca67a0badc24065cf3422e0cf3ec8538fe4574e099715cfb0c923ad4b318c SHA512 609f9a84804a73f28fcebe1081296735b34cd54927b770fd10ef82113ffeceb2f04c3e8dd100d5c018659f11227d6807d138de318e65c8e5f6fe1dd800a2c207
|
||||
|
@ -0,0 +1,114 @@
|
||||
diff --git a/tests/pytests/unit/modules/dockermod/test_module.py b/tests/pytests/unit/modules/dockermod/test_module.py
|
||||
index 8fb7806497..584d416412 100644
|
||||
--- a/tests/pytests/unit/modules/dockermod/test_module.py
|
||||
+++ b/tests/pytests/unit/modules/dockermod/test_module.py
|
||||
@@ -354,10 +354,6 @@ def test_update_mine():
|
||||
mine_mock.assert_called_once()
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_list_networks():
|
||||
"""
|
||||
test list networks.
|
||||
@@ -378,10 +374,6 @@ def test_list_networks():
|
||||
client.networks.assert_called_once_with(names=["foo"], ids=["01234"])
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_create_network():
|
||||
"""
|
||||
test create network.
|
||||
@@ -422,10 +414,6 @@ def test_create_network():
|
||||
)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_remove_network():
|
||||
"""
|
||||
test remove network.
|
||||
@@ -444,10 +432,6 @@ def test_remove_network():
|
||||
client.remove_network.assert_called_once_with("foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_inspect_network():
|
||||
"""
|
||||
test inspect network.
|
||||
@@ -466,10 +450,6 @@ def test_inspect_network():
|
||||
client.inspect_network.assert_called_once_with("foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_connect_container_to_network():
|
||||
"""
|
||||
test connect_container_to_network
|
||||
@@ -491,10 +471,6 @@ def test_connect_container_to_network():
|
||||
client.connect_container_to_network.assert_called_once_with("container", "foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_disconnect_container_from_network():
|
||||
"""
|
||||
test disconnect_container_from_network
|
||||
@@ -513,10 +489,6 @@ def test_disconnect_container_from_network():
|
||||
client.disconnect_container_from_network.assert_called_once_with("container", "foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_list_volumes():
|
||||
"""
|
||||
test list volumes.
|
||||
@@ -539,10 +511,6 @@ def test_list_volumes():
|
||||
)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_create_volume():
|
||||
"""
|
||||
test create volume.
|
||||
@@ -569,10 +537,6 @@ def test_create_volume():
|
||||
)
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_remove_volume():
|
||||
"""
|
||||
test remove volume.
|
||||
@@ -591,10 +555,6 @@ def test_remove_volume():
|
||||
client.remove_volume.assert_called_once_with("foo")
|
||||
|
||||
|
||||
-@pytest.mark.skipif(
|
||||
- docker_mod.docker.version_info < (1, 5, 0),
|
||||
- reason="docker module must be installed to run this test or is too old. >=1.5.0",
|
||||
-)
|
||||
def test_inspect_volume():
|
||||
"""
|
||||
test inspect volume.
|
@ -0,0 +1,235 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit systemd distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||
https://github.com/saltstack"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
inherit pypi
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||
mongodb neutron nova openssl portage profile redis selinux test raet
|
||||
+zeromq vim-syntax
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pciutils
|
||||
>=dev-python/distro-1.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.1.2[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.9.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/markupsafe-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? (
|
||||
dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/aiosignal[${PYTHON_USEDEP}]
|
||||
>=dev-python/apache-libcloud-2.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
dev-python/libvirt-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
openssl? (
|
||||
dev-libs/openssl:0=[-bindist(-)]
|
||||
>=dev-python/pyopenssl-23.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
raet? (
|
||||
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||
cheetah? ( >=dev-python/cheetah3-3.2.2[${PYTHON_USEDEP}] )
|
||||
genshi? ( dev-python/genshi[${PYTHON_USEDEP}] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
neutron? (
|
||||
>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-19.0.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/apache-libcloud[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/certifi-2023.07.22[${PYTHON_USEDEP}]
|
||||
dev-python/cherrypy[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/moto-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-7.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-salt-factories-1.0.0_rc17[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-shell-utilities[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-system-statistics[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
net-dns/bind-tools
|
||||
>=dev-python/virtualenv-20.3.0[${PYTHON_USEDEP}]
|
||||
dev-util/yamllint[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.17.67[${PYTHON_USEDEP}] )
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst AUTHORS )
|
||||
|
||||
REQUIRED_USE="|| ( raet zeromq )
|
||||
test? ( cheetah genshi )"
|
||||
RESTRICT="!test? ( test ) x86? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/salt-3003-skip-tests-that-oom-machine.patch"
|
||||
"${FILESDIR}/salt-3003-gentoolkit-revdep.patch"
|
||||
"${FILESDIR}/salt-3002-tests.patch"
|
||||
"${FILESDIR}/salt-3003.1-tests.patch"
|
||||
"${FILESDIR}/salt-3005-tests.patch"
|
||||
"${FILESDIR}/salt-3005.1-no-entry-points.patch"
|
||||
"${FILESDIR}/salt-3005.1-importlib-metadata-5-r1.patch"
|
||||
"${FILESDIR}/salt-3005.1-tests.patch"
|
||||
"${FILESDIR}/salt-3005.1-modules-file-python-3.11-host.patch"
|
||||
"${FILESDIR}/salt-3006.2-tests.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# remove tests with external dependencies that may not be available, and
|
||||
# tests that don't work in sandbox
|
||||
rm tests/unit/{test_{zypp_plugins,module_names},utils/test_extend}.py || die
|
||||
rm tests/unit/modules/test_boto_{vpc,secgroup,elb}.py || die
|
||||
rm tests/unit/states/test_boto_vpc.py || die
|
||||
rm tests/support/gitfs.py tests/unit/runners/test_git_pillar.py || die
|
||||
rm tests/pytests/functional/transport/server/test_req_channel.py || die
|
||||
rm tests/pytests/functional/utils/test_async_event_publisher.py || die
|
||||
rm tests/pytests/functional/runners/test_winrepo.py || die
|
||||
|
||||
# tests that require network access
|
||||
rm tests/unit/{states,modules}/test_zcbuildout.py || die
|
||||
rm -r tests/integration/cloud || die
|
||||
rm -r tests/kitchen/tests/wordpress/tests || die
|
||||
rm tests/kitchen/test_kitchen.py || die
|
||||
rm tests/unit/modules/test_network.py || die
|
||||
rm tests/pytests/functional/modules/test_pip.py || die
|
||||
rm tests/pytests/unit/client/ssh/test_ssh.py || die
|
||||
rm -r tests/pytests/{integration,functional}/netapi tests/integration/netapi || die
|
||||
|
||||
# tests require root access
|
||||
rm tests/integration/pillar/test_git_pillar.py || die
|
||||
rm tests/integration/states/test_supervisord.py || die
|
||||
|
||||
# removes contextvars, see bug: https://bugs.gentoo.org/799431
|
||||
sed -i '/^contextvars/d' requirements/base.txt || die
|
||||
|
||||
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
|
||||
find "${S}" -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d ; /pycryptodomex/ d' -i || die
|
||||
# pycryptodome rather than pycryptodomex
|
||||
find "${S}" -name '*.py' -print0 | xargs -0 -- sed -i -e 's:Cryptodome:Crypto:g' -- || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local svc
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for svc in minion master syndic api; do
|
||||
newinitd "${FILESDIR}"/${svc}-initd-5 salt-${svc}
|
||||
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins -r conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -a EPYTEST_DESELECT=(
|
||||
# doesn't like the distutils warning
|
||||
tests/pytests/integration/cli/test_batch.py::test_batch_retcode
|
||||
tests/pytests/integration/cli/test_batch.py::test_multiple_modules_in_batch
|
||||
# hangs indefinitely
|
||||
tests/pytests/unit/test_minion.py::test_master_type_disable
|
||||
# needs root
|
||||
tests/pytests/unit/modules/test_cmdmod.py::test_runas_env_sudo_group
|
||||
# don't like sandbox
|
||||
tests/unit/cloud/clouds/test_joyent.py::JoyentTestCase::test_query_instance_has_ip
|
||||
tests/unit/cloud/clouds/test_joyent.py::JoyentTestCase::test_query_instance_init
|
||||
tests/unit/cloud/clouds/test_joyent.py::JoyentTestCase::test_query_instance_ready
|
||||
tests/unit/modules/test_win_ip.py::WinShadowTestCase::test_disable
|
||||
tests/unit/modules/test_win_ip.py::WinShadowTestCase::test_enable
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_finished_is_set_before_events_return_then_no_data_should_be_returned
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_finished_then_all_collected_data_should_be_returned
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_timed_out_is_set_before_other_events_are_completed_then_result_should_be_empty_dictionary
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_is_timed_out_then_all_collected_data_should_be_returned
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_min_wait_time_has_not_passed_then_disbatch_should_not_return_expected_data_until_time_has_passed
|
||||
tests/unit/netapi/rest_tornado/test_saltnado.py::TestDisbatchLocal::test_when_minions_all_return_then_all_collected_data_should_be_returned
|
||||
tests/unit/utils/test_vt.py::VTTestCase::test_split_multibyte_characters_shiftjis
|
||||
tests/unit/utils/test_vt.py::VTTestCase::test_split_multibyte_characters_unicode
|
||||
tests/pytests/unit/utils/test_vt.py::test_log_sanitize
|
||||
tests/pytests/unit/test_master.py::test_fileserver_duration
|
||||
tests/pytests/unit/modules/test_aptpkg.py::test_call_apt_dpkg_lock
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_anyof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_dict_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_hostname_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_not_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_oneof_config_validation
|
||||
tests/unit/utils/test_schema.py::ConfigTestCase::test_optional_requirements_config_validation
|
||||
)
|
||||
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 4096 || die
|
||||
|
||||
# ${T} is too long a path for the tests to work
|
||||
local TMPDIR
|
||||
TMPDIR="$(mktemp --directory --tmpdir=/tmp ${PN}-XXXX)" || die
|
||||
(
|
||||
export TMPDIR
|
||||
cleanup() { rm -rf "${TMPDIR}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${TMPDIR}"
|
||||
|
||||
USE_SETUPTOOLS=1 NO_INTERNET=1 SHELL="/bin/bash" \
|
||||
epytest
|
||||
)
|
||||
}
|
Binary file not shown.
@ -0,0 +1,239 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="bzip2 doc clamonacc clamdtop clamsubmit iconv ipv6 libclamav-only milter metadata-analysis-api selinux systemd test xml"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamdtop !clamsubmit !milter !metadata-analysis-api )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
|
||||
dev-libs/tomsfastmath
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses:0 )
|
||||
clamsubmit? ( net-misc/curl dev-libs/json-c:= )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
iconv? ( virtual/libiconv )
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
dev-libs/openssl:0=
|
||||
milter? ( mail-filter/libmilter:= )
|
||||
xml? ( dev-libs/libxml2 )"
|
||||
|
||||
# We need at least autoconf-2.69-r5 because that's the first (patched)
|
||||
# version of it in Gentoo that supports ./configure --runstatedir.
|
||||
BDEPEND=">=sys-devel/autoconf-2.69-r5
|
||||
virtual/pkgconfig"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
metadata-analysis-api? ( dev-libs/json-c:* )
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.102.1-libxml2_pkgconfig.patch" #661328
|
||||
"${FILESDIR}/${PN}-0.102.2-fix-curl-detection.patch" #709616
|
||||
"${FILESDIR}/${PN}-0.103.0-system-tomsfastmath.patch" # 649394
|
||||
"${FILESDIR}/${PN}-0.103.1-upstream-openrc.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Be extra sure that we're using the system copy of tomsfastmath
|
||||
einfo "removing bundled copy of dev-libs/tomsfastmath"
|
||||
rm -r libclamav/tomsfastmath || \
|
||||
die "failed to remove bundled tomsfastmath"
|
||||
|
||||
AT_NO_RECURSIVE="yes" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
# according to configure help it should be
|
||||
# $(use_enable xml)
|
||||
# but that does not work
|
||||
# do not add this, since --disable-xml seems to override
|
||||
# --without-xml
|
||||
JSONUSE="--without-libjson"
|
||||
|
||||
if use clamsubmit || use metadata-analysis-api; then
|
||||
# either of those 2 requires libjson.
|
||||
# clamsubmit will be built as soon as libjson and curl are found
|
||||
# but we only install the binary if requested
|
||||
JSONUSE="--with-libjson=${EPREFIX}/usr"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable bzip2)
|
||||
$(use_enable clamonacc)
|
||||
$(use_enable clamdtop)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable milter)
|
||||
$(use_enable test check)
|
||||
$(use_with xml)
|
||||
$(use_with iconv)
|
||||
${JSONUSE}
|
||||
$(use_enable libclamav-only)
|
||||
$(use_with !libclamav-only libcurl)
|
||||
--with-system-libmspack
|
||||
--cache-file="${S}"/config.cache
|
||||
--disable-experimental
|
||||
--disable-static
|
||||
--disable-zlib-vcheck
|
||||
--enable-id-check
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav
|
||||
# Don't call --with-zlib=/usr (see bug #699296)
|
||||
--with-zlib
|
||||
--disable-llvm
|
||||
--enable-openrc
|
||||
--runstatedir=/run
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd; then
|
||||
# The tmpfiles entry is behind USE=systemd because the
|
||||
# upstream OpenRC service files should (and do) ensure that
|
||||
# the directories they need exist and have the correct
|
||||
# permissions without the help of opentmpfiles. There are
|
||||
# years-old root exploits in opentmpfiles, the design is
|
||||
# fundamentally flawed, and the maintainer is not up to
|
||||
# the task of fixing it.
|
||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
||||
"freshclamd.service"
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/clamd.logrotate" clamd
|
||||
newins "${FILESDIR}/freshclam.logrotate" freshclam
|
||||
use milter && \
|
||||
newins "${FILESDIR}/clamav-milter.logrotate-r1" clamav-milter
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamd.conf.sample || die
|
||||
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/freshclam.conf.sample || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
||||
|
||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]]; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
doman docs/man/*.[1-8]
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use libclamav-only ; then
|
||||
ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..."
|
||||
return 0
|
||||
fi
|
||||
|
||||
emake quick-check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
tmpfiles_process clamav.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
}
|
@ -0,0 +1,384 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
ansi_term-0.12.1
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
bindgen-0.65.1
|
||||
bit_field-0.10.1
|
||||
bitflags-1.3.2
|
||||
block-buffer-0.10.3
|
||||
bumpalo-3.12.0
|
||||
bytemuck-1.13.0
|
||||
byteorder-1.4.3
|
||||
cbindgen-0.20.0
|
||||
cexpr-0.6.0
|
||||
cfg-if-1.0.0
|
||||
clang-sys-1.4.0
|
||||
clap-2.34.0
|
||||
color_quant-1.1.0
|
||||
cpufeatures-0.2.5
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.6
|
||||
crossbeam-deque-0.8.2
|
||||
crossbeam-epoch-0.9.13
|
||||
crossbeam-utils-0.8.14
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.6
|
||||
digest-0.10.6
|
||||
either-1.8.1
|
||||
exr-1.5.3
|
||||
fastrand-1.8.0
|
||||
flate2-1.0.25
|
||||
flume-0.10.14
|
||||
futures-core-0.3.26
|
||||
futures-sink-0.3.26
|
||||
generic-array-0.14.6
|
||||
getrandom-0.2.8
|
||||
gif-0.11.4
|
||||
glob-0.3.1
|
||||
half-2.2.1
|
||||
hashbrown-0.12.3
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
hermit-abi-0.2.6
|
||||
hex-0.4.3
|
||||
image-0.24.5
|
||||
indexmap-1.9.2
|
||||
instant-0.1.12
|
||||
itoa-1.0.5
|
||||
jpeg-decoder-0.3.0
|
||||
js-sys-0.3.61
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lebe-0.5.2
|
||||
libc-0.2.139
|
||||
libloading-0.7.4
|
||||
lock_api-0.4.9
|
||||
log-0.4.17
|
||||
memchr-2.5.0
|
||||
memoffset-0.7.1
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.6.2
|
||||
nanorand-0.7.0
|
||||
nom-7.1.3
|
||||
num-complex-0.4.3
|
||||
num-integer-0.1.45
|
||||
num-rational-0.4.1
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.15.0
|
||||
once_cell-1.17.0
|
||||
peeking_take_while-0.1.2
|
||||
pin-project-1.0.12
|
||||
pin-project-internal-1.0.12
|
||||
png-0.17.7
|
||||
prettyplease-0.2.4
|
||||
primal-check-0.3.3
|
||||
proc-macro2-1.0.66
|
||||
quote-1.0.26
|
||||
rayon-1.6.1
|
||||
rayon-core-1.10.2
|
||||
redox_syscall-0.2.16
|
||||
regex-1.7.1
|
||||
regex-syntax-0.6.28
|
||||
remove_dir_all-0.5.3
|
||||
rustc-hash-1.1.0
|
||||
rustdct-0.7.1
|
||||
rustfft-6.1.0
|
||||
ryu-1.0.12
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
serde-1.0.152
|
||||
serde_derive-1.0.152
|
||||
serde_json-1.0.93
|
||||
sha2-0.10.6
|
||||
shlex-1.1.0
|
||||
simd-adler32-0.3.4
|
||||
smallvec-1.10.0
|
||||
spin-0.9.5
|
||||
strength_reduce-0.2.4
|
||||
strsim-0.8.0
|
||||
syn-1.0.107
|
||||
syn-2.0.15
|
||||
tempfile-3.3.0
|
||||
textwrap-0.11.0
|
||||
thiserror-1.0.38
|
||||
thiserror-impl-1.0.38
|
||||
threadpool-1.8.1
|
||||
tiff-0.8.1
|
||||
toml-0.5.11
|
||||
transpose-0.2.2
|
||||
typenum-1.16.0
|
||||
unicode-ident-1.0.6
|
||||
unicode-segmentation-1.10.1
|
||||
unicode-width-0.1.10
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.4
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.84
|
||||
wasm-bindgen-backend-0.2.84
|
||||
wasm-bindgen-macro-0.2.84
|
||||
wasm-bindgen-macro-support-0.2.84
|
||||
wasm-bindgen-shared-0.2.84
|
||||
weezl-0.1.7
|
||||
which-4.4.0
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
zune-inflate-0.2.42
|
||||
"
|
||||
|
||||
inherit cargo cmake flag-o-matic llvm python-any-r1 systemd tmpfiles
|
||||
|
||||
MY_P=${P//_/-}
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://github.com/Cisco-Talos/clamav/archive/refs/tags/${MY_P}.tar.gz
|
||||
$(cargo_crate_uris ${CRATES})"
|
||||
S=${WORKDIR}/clamav-${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0 BSD GPL-2 ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
IUSE="doc clamonacc +clamapp experimental jit libclamav-only milter rar selinux systemd test"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter )
|
||||
clamonacc? ( clamapp )
|
||||
milter? ( clamapp )
|
||||
test? ( !libclamav-only )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="
|
||||
acct-group/clamav
|
||||
acct-user/clamav
|
||||
app-arch/bzip2
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/libpcre2:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:=
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
clamapp? ( sys-libs/ncurses:= net-misc/curl )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
jit? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
|
||||
milter? ( mail-filter/libmilter:= )
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.61
|
||||
doc? ( app-doc/doxygen )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use jit && llvm_pkg_setup
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.1-select-python.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DBYTECODE_RUNTIME=$(usex jit llvm interpreter)
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_EXPERIMENTAL=$(usex experimental ON OFF)
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DOPTIMIZE=ON
|
||||
)
|
||||
|
||||
if use test ; then
|
||||
# https://bugs.gentoo.org/818673
|
||||
# Used to enable some more tests but doesn't behave well in
|
||||
# sandbox necessarily(?) + needs certain debug symbols present
|
||||
# in e.g. glibc.
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
|
||||
-DPYTHON_FIND_VERSION="${EPYTHON#python}"
|
||||
)
|
||||
fi
|
||||
|
||||
if use jit ; then
|
||||
# Suppress CMake warnings that variables aren't consumed if we aren't using LLVM
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#llvm-optional-see-bytecode-runtime-section
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#bytecode-runtime
|
||||
mycmakeargs+=(
|
||||
-DLLVM_ROOT_DIR="$(get_llvm_prefix -d ${LLVM_MAX_SLOT})"
|
||||
-DLLVM_FIND_VERSION="$(best_version sys-devel/llvm:${LLVM_MAX_SLOT} | cut -c 16-)"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
# init scripts
|
||||
newinitd "${FILESDIR}/clamd.initd" clamd
|
||||
newinitd "${FILESDIR}/freshclam.initd" freshclam
|
||||
use clamonacc && \
|
||||
newinitd "${FILESDIR}/clamonacc.initd" clamonacc
|
||||
use milter && \
|
||||
newinitd "${FILESDIR}/clamav-milter.initd" clamav-milter
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
# The tmpfiles entry is behind USE=systemd because the
|
||||
# upstream OpenRC service files should (and do) ensure that
|
||||
# the directories they need exist and have the correct
|
||||
# permissions without the help of opentmpfiles. There are
|
||||
# years-old root exploits in opentmpfiles, the design is
|
||||
# fundamentally flawed, and the maintainer is not up to
|
||||
# the task of fixing it.
|
||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service-0.104.0" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
||||
"freshclamd.service"
|
||||
fi
|
||||
|
||||
if use clamapp ; then
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/clamd.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamd.conf || die
|
||||
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamav/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/freshclam.conf.sample > \
|
||||
"${ED}"/etc/clamav/freshclam.conf || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf || die
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-0.104.0" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]] ; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
|
||||
# Don't install man pages for utilities we didn't install
|
||||
if use libclamav-only ; then
|
||||
rm -r "${ED}"/usr/share/man || die
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
tmpfiles_process clamav.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
if ! systemd_is_booted ; then
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
fi
|
||||
}
|
@ -0,0 +1,419 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_MAX_SLOT=13
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.4
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
aho-corasick-0.7.20
|
||||
ansi_term-0.12.1
|
||||
atty-0.2.14
|
||||
autocfg-1.1.0
|
||||
base64-0.21.0
|
||||
bindgen-0.59.2
|
||||
bit_field-0.10.2
|
||||
bitflags-1.3.2
|
||||
block-buffer-0.10.4
|
||||
bumpalo-3.12.0
|
||||
bytemuck-1.13.1
|
||||
byteorder-1.4.3
|
||||
cbindgen-0.24.3
|
||||
cc-1.0.79
|
||||
cexpr-0.6.0
|
||||
cfg-if-1.0.0
|
||||
clang-sys-1.6.1
|
||||
clap-2.34.0
|
||||
clap-3.2.23
|
||||
clap_lex-0.2.4
|
||||
color_quant-1.1.0
|
||||
cpufeatures-0.2.6
|
||||
crc32fast-1.3.2
|
||||
crossbeam-channel-0.5.8
|
||||
crossbeam-deque-0.8.3
|
||||
crossbeam-epoch-0.9.14
|
||||
crossbeam-utils-0.8.15
|
||||
crunchy-0.2.2
|
||||
crypto-common-0.1.6
|
||||
digest-0.10.6
|
||||
either-1.8.1
|
||||
env_logger-0.9.3
|
||||
errno-0.3.1
|
||||
errno-dragonfly-0.1.2
|
||||
exr-1.6.3
|
||||
fastrand-1.9.0
|
||||
fdeflate-0.3.0
|
||||
flate2-1.0.25
|
||||
flume-0.10.14
|
||||
futures-core-0.3.28
|
||||
futures-sink-0.3.28
|
||||
generic-array-0.14.7
|
||||
getrandom-0.2.9
|
||||
gif-0.12.0
|
||||
glob-0.3.1
|
||||
half-2.2.1
|
||||
hashbrown-0.12.3
|
||||
heck-0.4.1
|
||||
hermit-abi-0.1.19
|
||||
hermit-abi-0.2.6
|
||||
hermit-abi-0.3.1
|
||||
hex-0.4.3
|
||||
humantime-2.1.0
|
||||
image-0.24.6
|
||||
indexmap-1.9.3
|
||||
instant-0.1.12
|
||||
io-lifetimes-1.0.10
|
||||
itoa-1.0.6
|
||||
jpeg-decoder-0.3.0
|
||||
js-sys-0.3.61
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lebe-0.5.2
|
||||
libc-0.2.141
|
||||
libloading-0.7.4
|
||||
linux-raw-sys-0.3.1
|
||||
lock_api-0.4.9
|
||||
log-0.4.17
|
||||
memchr-2.5.0
|
||||
memoffset-0.8.0
|
||||
minimal-lexical-0.2.1
|
||||
miniz_oxide-0.6.2
|
||||
miniz_oxide-0.7.1
|
||||
nanorand-0.7.0
|
||||
nom-7.1.3
|
||||
num-complex-0.4.3
|
||||
num-integer-0.1.45
|
||||
num-rational-0.4.1
|
||||
num-traits-0.2.15
|
||||
num_cpus-1.15.0
|
||||
once_cell-1.17.1
|
||||
os_str_bytes-6.5.0
|
||||
peeking_take_while-0.1.2
|
||||
pin-project-1.0.12
|
||||
pin-project-internal-1.0.12
|
||||
png-0.17.8
|
||||
primal-check-0.3.3
|
||||
proc-macro2-1.0.66
|
||||
qoi-0.4.1
|
||||
quote-1.0.26
|
||||
rayon-1.7.0
|
||||
rayon-core-1.11.0
|
||||
redox_syscall-0.3.5
|
||||
regex-1.7.3
|
||||
regex-syntax-0.6.29
|
||||
rustc-hash-1.1.0
|
||||
rustdct-0.7.1
|
||||
rustfft-6.1.0
|
||||
rustix-0.37.11
|
||||
ryu-1.0.13
|
||||
scopeguard-1.1.0
|
||||
serde-1.0.160
|
||||
serde_derive-1.0.160
|
||||
serde_json-1.0.96
|
||||
sha1-0.10.5
|
||||
sha2-0.10.6
|
||||
shlex-1.1.0
|
||||
simd-adler32-0.3.5
|
||||
smallvec-1.10.0
|
||||
spin-0.9.8
|
||||
strength_reduce-0.2.4
|
||||
strsim-0.8.0
|
||||
strsim-0.10.0
|
||||
syn-1.0.109
|
||||
syn-2.0.15
|
||||
tempfile-3.5.0
|
||||
termcolor-1.2.0
|
||||
textwrap-0.11.0
|
||||
textwrap-0.16.0
|
||||
thiserror-1.0.40
|
||||
thiserror-impl-1.0.40
|
||||
tiff-0.8.1
|
||||
toml-0.5.11
|
||||
transpose-0.2.2
|
||||
typenum-1.16.0
|
||||
unicode-ident-1.0.8
|
||||
unicode-segmentation-1.10.1
|
||||
unicode-width-0.1.10
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.4
|
||||
wasi-0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-0.2.84
|
||||
wasm-bindgen-backend-0.2.84
|
||||
wasm-bindgen-macro-0.2.84
|
||||
wasm-bindgen-macro-support-0.2.84
|
||||
wasm-bindgen-shared-0.2.84
|
||||
weezl-0.1.7
|
||||
which-4.4.0
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
windows-sys-0.45.0
|
||||
windows-sys-0.48.0
|
||||
windows-targets-0.42.2
|
||||
windows-targets-0.48.0
|
||||
windows_aarch64_gnullvm-0.42.2
|
||||
windows_aarch64_gnullvm-0.48.0
|
||||
windows_aarch64_msvc-0.42.2
|
||||
windows_aarch64_msvc-0.48.0
|
||||
windows_i686_gnu-0.42.2
|
||||
windows_i686_gnu-0.48.0
|
||||
windows_i686_msvc-0.42.2
|
||||
windows_i686_msvc-0.48.0
|
||||
windows_x86_64_gnu-0.42.2
|
||||
windows_x86_64_gnu-0.48.0
|
||||
windows_x86_64_gnullvm-0.42.2
|
||||
windows_x86_64_gnullvm-0.48.0
|
||||
windows_x86_64_msvc-0.42.2
|
||||
windows_x86_64_msvc-0.48.0
|
||||
zune-inflate-0.2.53
|
||||
"
|
||||
|
||||
inherit cargo cmake flag-o-matic llvm python-any-r1 systemd tmpfiles
|
||||
|
||||
MY_P=${P//_/-}
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://github.com/Cisco-Talos/clamav/archive/refs/tags/${MY_P}.tar.gz
|
||||
$(cargo_crate_uris ${CRATES})"
|
||||
S=${WORKDIR}/clamav-${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0 BSD GPL-2 ISC MIT MPL-2.0 Unicode-DFS-2016 ZLIB"
|
||||
SLOT="0"
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
IUSE="doc clamonacc +clamapp experimental jit libclamav-only milter rar selinux systemd test"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter )
|
||||
clamonacc? ( clamapp )
|
||||
milter? ( clamapp )
|
||||
test? ( !libclamav-only )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="
|
||||
acct-group/clamav
|
||||
acct-user/clamav
|
||||
app-arch/bzip2
|
||||
dev-libs/json-c:=
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/libpcre2:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:=
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
clamapp? ( sys-libs/ncurses:= net-misc/curl )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
jit? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= )
|
||||
milter? ( mail-filter/libmilter:= )
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.61
|
||||
doc? ( app-doc/doxygen )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
test? ( dev-libs/check )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use jit && llvm_pkg_setup
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
#PATCHES=(
|
||||
#)
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DBYTECODE_RUNTIME=$(usex jit llvm interpreter)
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DENABLE_DOXYGEN=$(usex doc)
|
||||
-DENABLE_EXPERIMENTAL=$(usex experimental ON OFF)
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DOPTIMIZE=ON
|
||||
)
|
||||
|
||||
if use test ; then
|
||||
# https://bugs.gentoo.org/818673
|
||||
# Used to enable some more tests but doesn't behave well in
|
||||
# sandbox necessarily(?) + needs certain debug symbols present
|
||||
# in e.g. glibc.
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Valgrind=ON
|
||||
-DPYTHON_FIND_VERSION="${EPYTHON#python}"
|
||||
)
|
||||
fi
|
||||
|
||||
if use jit ; then
|
||||
# Suppress CMake warnings that variables aren't consumed if we aren't using LLVM
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#llvm-optional-see-bytecode-runtime-section
|
||||
# https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#bytecode-runtime
|
||||
mycmakeargs+=(
|
||||
-DLLVM_ROOT_DIR="$(get_llvm_prefix -d ${LLVM_MAX_SLOT})"
|
||||
-DLLVM_FIND_VERSION="$(best_version sys-devel/llvm:${LLVM_MAX_SLOT} | cut -c 16-)"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
# init scripts
|
||||
newinitd "${FILESDIR}/clamd.initd" clamd
|
||||
newinitd "${FILESDIR}/freshclam.initd" freshclam
|
||||
use clamonacc && \
|
||||
newinitd "${FILESDIR}/clamonacc.initd" clamonacc
|
||||
use milter && \
|
||||
newinitd "${FILESDIR}/clamav-milter.initd" clamav-milter
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
# The tmpfiles entry is behind USE=systemd because the
|
||||
# upstream OpenRC service files should (and do) ensure that
|
||||
# the directories they need exist and have the correct
|
||||
# permissions without the help of opentmpfiles. There are
|
||||
# years-old root exploits in opentmpfiles, the design is
|
||||
# fundamentally flawed, and the maintainer is not up to
|
||||
# the task of fixing it.
|
||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service-0.104.0" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
||||
"freshclamd.service"
|
||||
fi
|
||||
|
||||
if use clamapp ; then
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/clamd.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamd.conf || die
|
||||
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamav/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/freshclam.conf.sample > \
|
||||
"${ED}"/etc/clamav/freshclam.conf || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf || die
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-0.104.0" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]] ; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
|
||||
# Don't install man pages for utilities we didn't install
|
||||
if use libclamav-only ; then
|
||||
rm -r "${ED}"/usr/share/man || die
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
tmpfiles_process clamav.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
if ! systemd_is_booted ; then
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX engrampa-1.26.0-clang16.patch 700 BLAKE2B f737fb50695275afc0e0a148bbfcc72ff33251fd506823d107880883e90a9c28404fc937f7752ee065bc07bcde3507321469b6ee3f0e11e9c6c4912e705aca7c SHA512 c2086e26e65005916cecbb89392eba9090d8a8c02181878735fc7ed05996fe6cf7149bac3fc08cafb63814123620fb7237d1d859007df0ee4490b61ae1581951
|
||||
DIST engrampa-1.26.0.tar.xz 1761596 BLAKE2B c72def523f6589ab97351568e0562898d996e640ffefa66f32096e5a0ad97ad0b05b21ebdcc16ba1f75d9b75a444f8ed4ed492a412cc16c018e65135a88f3398 SHA512 8058627af19744d26f0997fca37a9a1d9902c63e4008e1af44b2a3b15ebc03e27f2018c60351ee503a28aa072836d201625074abb838e0a95071ce65c64a52bc
|
||||
DIST engrampa-1.26.1.tar.xz 1792452 BLAKE2B ff87f21848919654a2392c02e6050ac0b4c80308361ec7c829a2acf3fb25b088e164a3722be0312b2c814022bf0e06c80ae0796add182e6ac8e5d696409c5afe SHA512 6e3e59503d3d55df3eddc63f5f8f67c80a84b2b602801f9bcbaf4e38b6e991fffaa879e1cd44c1173b5c11096587122438bda51401c2694654c99b87a52b9f5e
|
||||
EBUILD engrampa-1.26.0-r1.ebuild 1821 BLAKE2B a7b2964900bdb27a319164580b95ff27ab3cb1450d57710f15932fd8f8e51729316474abb00b045c86db4b98fe6cd770fc712464b9929e2035b32fc2e0130bc5 SHA512 2228f66f0dca58ce06b5d53bca511cd4c912d39f5c55fd2e14a1edcaded3f94909a54e06eaa5a04608864dd89c27085bc69fd7d6f8432249b85666fbadf88058
|
||||
EBUILD engrampa-1.26.1.ebuild 1823 BLAKE2B 5b3d32f2741013f09190032a8a28607e6d8992ec2113e4dfedb3eb132921656e6193b062660e7b4c0b6598b9e390cf1c7676b26b6be96af4d47640501083a257 SHA512 6ff6146f1b76e0e73a378da7f342b70f8ac2be7a351a6fce7cb9cb523e22d53ad43bc6f41b7765e7d2e68efc5dfa0550989e371e0701637dabbf9fe33c7321df
|
||||
MISC metadata.xml 488 BLAKE2B 94c92acef521db2b65cf3cfe1d28cf20de16ea9546a64554450d3cf9c95deb5863fa0880b7009e8501401736a39c2bde2e86bd4e848f40d565f0a07d5b4a6745 SHA512 c50ee7773f9c81653b7248f7187cf379312a3a36e89a7093840e43f89f8cc3a96cdfa91b1f29a51def525226349bfdc66d5bc028ffed80c7b778c7687feef1ce
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mate-desktop/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/mate-desktop/${PN}/archive/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
|
||||
fi
|
||||
|
||||
inherit mate optfeature
|
||||
|
||||
DESCRIPTION="Engrampa archive manager for MATE"
|
||||
HOMEPAGE="https://mate-desktop.org/ https://github.com/mate-desktop/engrampa"
|
||||
|
||||
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="caja magic"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=dev-libs/json-glib-0.14
|
||||
virtual/libintl
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.22:3[X]
|
||||
x11-libs/libSM
|
||||
x11-libs/pango
|
||||
caja? ( >=mate-base/caja-1.17.1 )
|
||||
magic? ( sys-apps/file )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
virtual/libintl
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/yelp-tools
|
||||
dev-util/glib-utils
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.26.0-clang16.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
mate_src_configure \
|
||||
--disable-run-in-place \
|
||||
$(use_enable caja caja-actions) \
|
||||
$(use_enable magic) \
|
||||
--disable-packagekit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
mate_pkg_postinst
|
||||
|
||||
optfeature "Support for 7-zip" app-arch/p7zip
|
||||
optfeature "Support for ace" app-arch/unace
|
||||
optfeature "Support for arj" app-arch/arj
|
||||
optfeature "Support for cpio" app-arch/cpio
|
||||
optfeature "Support for deb" app-arch/dpkg
|
||||
optfeature "Support for iso" app-cdr/cdrtools
|
||||
optfeature "Support for jar,zip" app-arch/zip app-arch/unzip
|
||||
optfeature "Support for lha" app-arch/lha
|
||||
optfeature "Support for lzma" app-arch/xz-utils
|
||||
optfeature "Support for lzop" app-arch/lzop
|
||||
optfeature "Support for rar" app-arch/unrar
|
||||
optfeature "Support for rpm" app-arch/rpm
|
||||
optfeature "Support for unstuff" app-arch/stuffit
|
||||
optfeature "Support for zoo" app-arch/zoo
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX pigz-2.7-memcpy-ub.patch 863 BLAKE2B 33cb4879445cb296031b7579a358a8188e7d856506911c0a02cdc93b542feda0e617b53b566b005ed544ef2c4b14bf347a3bacd3822af61fa281a9e3ca369cc3 SHA512 4edb365718e6649264388e6f60be7867ae240f096f828ff3cf0ec355dcf93ca65c54453525e2103f71b8a16673d0e7908fb7f917316d3cde47113eab7eccc420
|
||||
AUX pigz-2.7-zlib-1.3.patch 740 BLAKE2B eafc2eae2bb31600c49f09cf5a9d13aebdc2c94698f1392d4252cae53167a4a34ee6c5c820436e18eea07bd2d7471f44b3faf2c39c56fe103c08f3b1a01a0b1d SHA512 467fd252b3ee1030c5bbb2642497353827036d15156a5ab27251c5c1022ca5b13628aa8a58c062785fd127bda33d2c7cf897892a6ac4637a81d7e5c7cb70f482
|
||||
DIST pigz-2.7.tar.gz 108102 BLAKE2B d391522fd6f8eb6918d671fb1c9517034941f3ae8e05ffcd7bece141e6dae110cde1560bad02bd2bcca2f868cdba2a8a16b5606ad6637d40d5ced5ec9bfffcc8 SHA512 9f9f61de4a0307fc057dc4e31a98bd8d706d9e709ecde0be02a871534fddf6a1fe1321158aa72708603aaaece43f83d2423b127f7689b6219b23aea4f989e8f5
|
||||
EBUILD pigz-2.7-r1.ebuild 909 BLAKE2B 38b15d02595a81aac73d31c5ff8c6a3de884973fa30578ef0f5e169f533451f59dde1edd9a23a5dbab3ae7855faf3f66bf316bc5a78bf4e71a5cb991487e4878 SHA512 a577375cc6418961cfef4eee432f3eb7d8d96aefa14f6e31b2be78bf1ac1f5b0d956bf21ce51d6415750114ec57c7409385aadeadba2cf84e100d107a68eed62
|
||||
EBUILD pigz-2.7.ebuild 860 BLAKE2B dd0d063e9bb93fc52c6e52641f63752ba164fcdea39a28944fd92f4df51d615e148dab6ccddbd4cf93bea091883e49c9edd8583bdb9dbff73d1b62e73ecc6b6a SHA512 cf3131c30b26ef04f68dfed855e54f237932ca76d75111001f9d527de9aa40444105b916a3dcd77a09426ab9b8e8660344d413b240bb1554ea20158e94e32565
|
||||
EBUILD pigz-2.7-r1.ebuild 917 BLAKE2B 40f60aa627bc4a8795efd87c84b0146dbce4227528d82d0d844d599768dc84f02a3a5eeb4ac0639ad88ccd749ff2fe1eb60212d262ca2b4479b7d2af70682285 SHA512 59bc668e396a30c8be5596be70e863f964abdc1e9446a2f09c82da480f057584a4f74b5a72b2557f21ce364a979aa3514e727c64e5358528926eed24d8773c5f
|
||||
EBUILD pigz-2.7-r2.ebuild 963 BLAKE2B 94429270ede5333b4c75ec88bfcb101b8d5439ab78571d078c2b71287e7c87d15f1194c47e9b34015aec73901932f34a7ed1d3f095a1bb86d77cf41fb4a40920 SHA512 6e8a460ed489a03632555bfb8902fb647e670f0aaa9896ff365007d64dabd3180e8e73f5333b24b64ba65149f8de8a70251d1034ea69998046d0d8a97fcf991c
|
||||
EBUILD pigz-2.7.ebuild 868 BLAKE2B 6d74bf44001679355699b496ad34d987c5336a021e45eca5646ea1d3c04d60ac134207f6e3a307771067910143983bb04651dbcca6f25d5b62c35084c06ea17c SHA512 256170660f02c10ef5bb0ed9c91426bfc29540a51345ccdd96e602d74e1b35b74cdf3969667346ba42e2403783ae9a5c79a58ca2410866b8a4b7da5740825333
|
||||
MISC metadata.xml 623 BLAKE2B d072cc2f7d8e182752cc3c4ae118ec674782f2e0cb08c4ca6b2d4d56a6e4621a837143bf782ae0f65af418f0a90c01f24b5603bfe7f75d0221be68f9d193d34f SHA512 3a7fdb19cf75dd27f1c7a30707ee23d8e4c300f5fa419820e7aaf9b75aa9c09add1dcc488e0241a75552cc91a45a37e8603285da7c631d1c7860a18c28929859
|
||||
|
@ -0,0 +1,22 @@
|
||||
https://github.com/madler/pigz/issues/111
|
||||
https://github.com/madler/pigz/commit/907ca0763be4547a9b0cce8c1057217488149744
|
||||
|
||||
From 907ca0763be4547a9b0cce8c1057217488149744 Mon Sep 17 00:00:00 2001
|
||||
From: Mark Adler <madler@alumni.caltech.edu>
|
||||
Date: Fri, 18 Aug 2023 03:27:12 -0700
|
||||
Subject: [PATCH] Make pigz compatible with two-component zlib version numbers.
|
||||
|
||||
zlib 1.3 (not 1.3.0) broke the zlib_vernum() function in pigz.
|
||||
This commit fixes that.
|
||||
--- a/pigz.c
|
||||
+++ b/pigz.c
|
||||
@@ -1333,7 +1333,7 @@ local long zlib_vernum(void) {
|
||||
}
|
||||
ver++;
|
||||
} while (left);
|
||||
- return left < 2 ? num << (left << 2) : -1;
|
||||
+ return left < 3 ? num << (left << 2) : -1;
|
||||
}
|
||||
|
||||
// -- check value combination routines for parallel calculation --
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="A parallel implementation of gzip"
|
||||
HOMEPAGE="https://www.zlib.net/pigz/"
|
||||
SRC_URI="https://www.zlib.net/pigz/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos"
|
||||
IUSE="static test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/zlib-1.2.3[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
test? ( app-arch/ncompress )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-memcpy-ub.patch
|
||||
"${FILESDIR}"/${P}-zlib-1.3.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dosym ${PN} /usr/bin/un${PN}
|
||||
dodoc README
|
||||
doman ${PN}.1
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST stress-ng-0.16.02.tar.gz 3896753 BLAKE2B 6db57f629b01b80e5b89febf56f00cb94611833002484f6fbe9b9afce3f4a6fd3cb9ef0631312a9924b5d24f50b9f4b5bbe54a7dadb9e98eeca0c2f0cc03ec81 SHA512 08290ca83da9124667a9e0794d88735f0281fea39b8ad6ddd6bdab602edd4a268ce5aa838c60ae8e98f654bd89c94ddca784dc126e10857539db480d77619539
|
||||
EBUILD stress-ng-0.16.02.ebuild 1136 BLAKE2B c652d1d73074aa8d283a17b457770ed1bd27cb299726d8786fb735d6542c5092554684f2814e3e4d606fa6bf5aed26d0f20f80de6f051820f98a5d425a96af09 SHA512 c5649e1d1db6f66762602a5c0f7c494c3e27ad30ebf049cca9f1da168a7f19f834bc9c00b6b2bba6f35e5fbdc705a392eb3afa9218eb64511898af124eafa2f5
|
||||
DIST stress-ng-0.16.04.tar.gz 3918769 BLAKE2B 5e2b457be2e38c583dcfc72719c5abacfaca658f7861a4faee5b709568ff4dd646e595b88be9542cf2b977e0184678c4c15a2aabfd421df8d92f8c18040a4773 SHA512 9c0ebcef697cb1fcf6f0836a8d0d88da0be20ed0683c35304e540bf040beff4152e231ba98c8a3ebe3c22bbde66a22ff8929397c35f7e070b9498ad1275e7a8d
|
||||
EBUILD stress-ng-0.16.04.ebuild 1136 BLAKE2B c652d1d73074aa8d283a17b457770ed1bd27cb299726d8786fb735d6542c5092554684f2814e3e4d606fa6bf5aed26d0f20f80de6f051820f98a5d425a96af09 SHA512 c5649e1d1db6f66762602a5c0f7c494c3e27ad30ebf049cca9f1da168a7f19f834bc9c00b6b2bba6f35e5fbdc705a392eb3afa9218eb64511898af124eafa2f5
|
||||
MISC metadata.xml 835 BLAKE2B 88b503bcc225861dfd5a5e016bc0c6df87d13e758f9eb8d73103deb5f1d88163f260f24efcb4988a245b1ea2888e18da86d031d52c9dcdc702dbd9a7c510b691 SHA512 dfc8c9cb83e0960fd0881affc5cd12fe843743faa92e3af0edf0ba86ad8107de60669cd32e156be9ea645a817f38f7091be2b9c870902e7109f937e584feac99
|
||||
|
Binary file not shown.
@ -1,186 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit autotools db-use multilib-minimal python-any-r1 virtualx flag-o-matic
|
||||
|
||||
MY_P="${P}"
|
||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
||||
HOMEPAGE="https://www.heimdal.software/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
virtual/libcrypt:=[${MULTILIB_USEDEP}]
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] )
|
||||
gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|
||||
sys-libs/ncurses:0=
|
||||
>=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}]
|
||||
afs? ( net-fs/openafs )
|
||||
hdb-ldap? ( >=net-nds/openldap-2.3.0:= )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXt
|
||||
)
|
||||
!!app-crypt/mit-krb5
|
||||
!!app-crypt/mit-krb5-appl"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-perl/JSON
|
||||
virtual/pkgconfig
|
||||
sys-apps/texinfo
|
||||
>=sys-devel/autoconf-2.62
|
||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/krb5-types.h
|
||||
/usr/include/cms_asn1.h
|
||||
/usr/include/digest_asn1.h
|
||||
/usr/include/hdb_asn1.h
|
||||
/usr/include/krb5_asn1.h
|
||||
/usr/include/pkcs12_asn1.h
|
||||
/usr/include/pkinit_asn1.h
|
||||
/usr/include/rfc2459_asn1.h
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/heimdal_disable-check-iprop.patch"
|
||||
"${FILESDIR}/heimdal_tinfo.patch"
|
||||
"${FILESDIR}/heimdal_build-headers-before-use.patch"
|
||||
"${FILESDIR}/heimdal_fix-db60.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-kcm
|
||||
--disable-osfc2
|
||||
--enable-shared
|
||||
--with-libintl="${EPREFIX}"/usr
|
||||
--with-readline="${EPREFIX}"/usr
|
||||
--with-sqlite3="${EPREFIX}"/usr
|
||||
--libexecdir="${EPREFIX}"/usr/sbin
|
||||
--enable-pthread-support
|
||||
--enable-kx509
|
||||
--enable-pk-init
|
||||
--with-ipv6
|
||||
$(use_enable afs afs-support)
|
||||
$(use_enable gdbm ndbm-db)
|
||||
$(use_enable lmdb mdb-db)
|
||||
$(use_enable otp)
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_with caps capng)
|
||||
$(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(multilib_native_use_with X x)
|
||||
)
|
||||
if use berkdb; then
|
||||
myeconfargs+=(
|
||||
--with-berkeley-db
|
||||
--with-berkeley-db-include="$(db_includedir)"
|
||||
)
|
||||
else
|
||||
myeconfargs+=(
|
||||
--without-berkeley-db
|
||||
)
|
||||
fi
|
||||
|
||||
CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi; then
|
||||
emake
|
||||
else
|
||||
emake -C include
|
||||
emake -C lib
|
||||
emake -C kdc
|
||||
emake -C tools
|
||||
emake -C tests/plugin
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
|
||||
else
|
||||
emake -C include DESTDIR="${D}" install
|
||||
emake -C lib DESTDIR="${D}" install
|
||||
emake -C kdc DESTDIR="${D}" install
|
||||
emake -C tools DESTDIR="${D}" install
|
||||
emake -C tests/plugin DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc ChangeLog* README NEWS TODO
|
||||
|
||||
# client rename
|
||||
mv "${ED}"/usr/share/man/man1/{,k}su.1
|
||||
mv "${ED}"/usr/bin/{,k}su
|
||||
|
||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
|
||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
|
||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
|
||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
||||
|
||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
||||
|
||||
insinto /etc
|
||||
newins "${S}"/krb5.conf krb5.conf.example
|
||||
|
||||
if use hdb-ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/lib/hdb/hdb.schema"
|
||||
fi
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
fi
|
||||
|
||||
# default database dir
|
||||
keepdir /var/heimdal
|
||||
}
|
@ -1,186 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit autotools db-use multilib-minimal python-any-r1 virtualx flag-o-matic
|
||||
|
||||
MY_P="${P}"
|
||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
||||
HOMEPAGE="https://www.heimdal.software/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="
|
||||
virtual/libcrypt:=[${MULTILIB_USEDEP}]
|
||||
ssl? (
|
||||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
berkdb? ( >=sys-libs/db-4.8.30-r1:*[${MULTILIB_USEDEP}] )
|
||||
gdbm? ( >=sys-libs/gdbm-1.10-r1:=[${MULTILIB_USEDEP}] )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|
||||
sys-libs/ncurses:0=
|
||||
>=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}]
|
||||
afs? ( net-fs/openafs )
|
||||
hdb-ldap? ( >=net-nds/openldap-2.3.0:= )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXt
|
||||
)
|
||||
!!app-crypt/mit-krb5
|
||||
!!app-crypt/mit-krb5-appl"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-perl/JSON
|
||||
virtual/pkgconfig
|
||||
sys-apps/texinfo
|
||||
>=sys-devel/autoconf-2.62
|
||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/krb5-types.h
|
||||
/usr/include/cms_asn1.h
|
||||
/usr/include/digest_asn1.h
|
||||
/usr/include/hdb_asn1.h
|
||||
/usr/include/krb5_asn1.h
|
||||
/usr/include/pkcs12_asn1.h
|
||||
/usr/include/pkinit_asn1.h
|
||||
/usr/include/rfc2459_asn1.h
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/heimdal_disable-check-iprop.patch"
|
||||
"${FILESDIR}/heimdal_tinfo.patch"
|
||||
"${FILESDIR}/heimdal_build-headers-before-use.patch"
|
||||
"${FILESDIR}/heimdal_fix-db60.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-kcm
|
||||
--disable-osfc2
|
||||
--enable-shared
|
||||
--with-libintl="${EPREFIX}"/usr
|
||||
--with-readline="${EPREFIX}"/usr
|
||||
--with-sqlite3="${EPREFIX}"/usr
|
||||
--libexecdir="${EPREFIX}"/usr/sbin
|
||||
--enable-pthread-support
|
||||
--enable-kx509
|
||||
--enable-pk-init
|
||||
--with-ipv6
|
||||
$(use_enable afs afs-support)
|
||||
$(use_enable gdbm ndbm-db)
|
||||
$(use_enable lmdb mdb-db)
|
||||
$(use_enable otp)
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_with caps capng)
|
||||
$(multilib_native_use_with hdb-ldap openldap "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(multilib_native_use_with X x)
|
||||
)
|
||||
if use berkdb; then
|
||||
myeconfargs+=(
|
||||
--with-berkeley-db
|
||||
--with-berkeley-db-include="$(db_includedir)"
|
||||
)
|
||||
else
|
||||
myeconfargs+=(
|
||||
--without-berkeley-db
|
||||
)
|
||||
fi
|
||||
|
||||
CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
if multilib_is_native_abi; then
|
||||
emake
|
||||
else
|
||||
emake -C include
|
||||
emake -C lib
|
||||
emake -C kdc
|
||||
emake -C tools
|
||||
emake -C tests/plugin
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if multilib_is_native_abi; then
|
||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
|
||||
else
|
||||
emake -C include DESTDIR="${D}" install
|
||||
emake -C lib DESTDIR="${D}" install
|
||||
emake -C kdc DESTDIR="${D}" install
|
||||
emake -C tools DESTDIR="${D}" install
|
||||
emake -C tests/plugin DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
dodoc ChangeLog* README NEWS TODO
|
||||
|
||||
# client rename
|
||||
mv "${ED}"/usr/share/man/man1/{,k}su.1
|
||||
mv "${ED}"/usr/bin/{,k}su
|
||||
|
||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r2 heimdal-kdc
|
||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r2 heimdal-kadmind
|
||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r2 heimdal-kpasswdd
|
||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
||||
|
||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
||||
|
||||
insinto /etc
|
||||
newins "${S}"/krb5.conf krb5.conf.example
|
||||
|
||||
if use hdb-ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/lib/hdb/hdb.schema"
|
||||
fi
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
fi
|
||||
|
||||
# default database dir
|
||||
keepdir /var/heimdal
|
||||
}
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools python-any-r1 systemd toolchain-funcs multilib-minimal
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(ver_cut 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
!!app-crypt/heimdal
|
||||
>=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
||||
)
|
||||
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||
openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] )
|
||||
pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-alternatives/yacc
|
||||
cpu_flags_x86_aes? (
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/yasm )
|
||||
)
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-util/cmocka )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
||||
"${FILESDIR}/${PN}_dont_create_rundir.patch"
|
||||
"${FILESDIR}/${PN}-1.18.2-krb5-config.patch"
|
||||
)
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Make sure we always use the system copies.
|
||||
rm -rf util/{et,ss,verto}
|
||||
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
AR="$(tc-getAR)" \
|
||||
WARN_CFLAGS="set" \
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
$(use_with lmdb) \
|
||||
$(use_with keyutils) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dodoc -r doc/html
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
AUX rhash-1.4.4-prefix.patch 836 BLAKE2B 9c3b953e5249c4ee0be5d23cb595ed1c84611ce6299b29b2b3fd38b7de1f891fb5a8f6a4a5fed3e3b8862fff9f8623f310a0d436ab4eab44e42ff79e0b1f99f5 SHA512 3740a2ea78d28fa916533af27740011c2dd520eb2bc18a6a19fc530a0414a8eb7bd911a7a39ddd0a1a2fec5def20b61ed1731349880346c413d7d6000569bf32
|
||||
DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea888885175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7
|
||||
DIST rhash-1.4.4-src.tar.gz 435691 BLAKE2B f3d42f333ad9a82fe4a8ef5af5d8008abf526c05c06a00c7033881d5a27ba663c3cc5cefb73ea8157ac24cb10a50a4e500706d489e61a03dbaee74a4735d1722 SHA512 00a7e5e058b53ce20ae79509815452ed9cb699d1322b678220b72c61dea3ea2f8fa131acfade8bb6d9f6af913f0c3c472330841181b22314b8755166310c946f
|
||||
EBUILD rhash-1.4.3.ebuild 2114 BLAKE2B e1394d4b75cf07a74d9317a26ea8f86806dacebd4bd75c8de4e7cf612fd712a6b996f067140897a983a2a7cf09570cd8354415d99157be6e78e94fb8afcc94c5 SHA512 9c96f681f4d9a898442460f4dd2bba2f30316dff556965fa23f2874ffe2ad1b17abeece1457f673e826238f7bf051b76b6de216a4bfac6e01ff0b92d47d95c5f
|
||||
EBUILD rhash-1.4.4.ebuild 2124 BLAKE2B 8172e1e6781d80860a0e475f61f0e14ea057d2488b794bbff6bdae46968ab291dba39de79a890ca210f6b83f01a3900c19e14690bfd0ec753de0496653b8b93c SHA512 b64368b8b936a88546b39757f957d4578b059094b70f302e644a1e1bf7ac0e8ec22b17ff53c92d2bfbc62135b401f2ef5929517548a109dfdf6e8c46f55bc88e
|
||||
EBUILD rhash-1.4.4.ebuild 2170 BLAKE2B 643c1916263badf3e13bc8971624cc1cc121a832e828f89aa03d7dea4275d0b24aac9e2292ab503afe1e9382a7f95bbab4cb87de66b56978433427e934f8301a SHA512 9132e5ba3ef5a413b06521d6ed7d40a30743d14b649a182274dcde47f278c08a781f092175a3ed75d70b131d5bc7db249422cbee930fbca61561415d1493a34b
|
||||
MISC metadata.xml 817 BLAKE2B eeb15cde9e06507f73330759d44dca59dea3bbcb972cb25af71d91f065eb64dbd1ddc61e43f8fad50c264c269542f92efdace36d3397647c3c53972e695da22f SHA512 3e2f688b57c74e051fcfb90d34685346c459c5e9f425266fd3d8e099f586037b14c2bfdac76f135a046c77cc850bb49954c0e7d8dc9ded1db47bf0919ab3ea93
|
||||
|
@ -0,0 +1,22 @@
|
||||
From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001
|
||||
From: Aleksey Kravchenko <rhash.admin@gmail.com>
|
||||
Date: Mon, 7 Aug 2023 01:00:37 +0300
|
||||
Subject: [PATCH] Fix #243: Incorrect assigment in the configure script
|
||||
|
||||
---
|
||||
configure | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 39ef8c1b..63cbd8d0 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -877,7 +877,7 @@ if test "$OPT_STATIC" = "no"; then
|
||||
RHASH_TEST_OPTIONS=--shared
|
||||
test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes
|
||||
test "$INSTALL_LIB_STATIC" = "yes" && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)"
|
||||
- RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS
|
||||
+ RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS)
|
||||
else
|
||||
LIBRHASH_TYPE=static
|
||||
LIBRHASH_PATH="\$(LIBRHASH_STATIC)"
|
Binary file not shown.
@ -1,9 +1,7 @@
|
||||
DIST dict-en-20230401_lo.oxt 6100359 BLAKE2B 4a1b8bfa8e7987d0ba957d483ec55d3e1d7912cf56556af11c9ef9941c5725467cdb276363bfec253b788d06dfb9232e733055d74113749f69c73cd092822502 SHA512 79e4c143ebfb20e5b3b2aa3b20c68594ed2bd5d0bc203fc865a9924f2470b3436a502712de1f660cdb0dc9804bd826591a1bb416c6cf00b72e25ab8db3a18377
|
||||
DIST dict-en-20230501_lo.oxt 6101115 BLAKE2B f0acdeccf1c4b58b7becabfd61167eb3f4767c5ae3da7ad752645cce49f3f3262219cfb08d373d02b49b67ddaff184102683c2981f4c28eb6b97d92961b07219 SHA512 bc8172f61cf3d18c0ac519f800b39ed69736e085d51251c60c527677552eefd4fe08e5b5e9fdba3a5856605ea44d3831901b00745f00f16146136d6e8376e4ee
|
||||
DIST dict-en-20230601_lo.oxt 6101573 BLAKE2B 22949c952b1545016b298056a46e08f09f5e2865fd7b626df125c055553e72f1ba27d6adcbb22cb9340803989ced44158d4e8ceb2344820b3cd8058864568e66 SHA512 d8f2ad124cea03888856e6b845d94f5df5002852025b28a7217a4d5809069b0c59bb3432766be4b82641e55f17cf76addb5def4669bc41eac4a22ad209453e71
|
||||
DIST dict-en-20230701_lo.oxt 6102145 BLAKE2B ecf95d76415317fb3dbe4c8e2d30fa37f9d798ae979d83d7e3eaab566264a7db12ed3133e8ed5d1580225171143056edd5189b1685064dab201fadbf59466b7e SHA512 3e495fb7c130d2767d88c4ff21f556c4c64f3739d7b1974355f252329fa526b8ac647a6121f1341396ec9170dda96346463a51b2df06d15e1dcccec4f800593e
|
||||
EBUILD myspell-en-20230401.ebuild 1527 BLAKE2B cb05dbf9a9385491ac8ed8daf8870778122348c3d385b997433ca67f3bc044fb739e21db3aa8dd54fdf8444233587da8c004dae7f7880bcc2292801cde3fd4b4 SHA512 f830480b4a3aca2d22180c863db5280a6c6e66487d835a76fbefeee6167a4f1a27661e103d9f2fa569996749d695203330931854cd91ca957840de18debc644a
|
||||
EBUILD myspell-en-20230501.ebuild 1527 BLAKE2B 82c301b74dab1270113cc5c1c8a9616de0e4e34f34370c0e3a5e51543359259502b9d8064d8695769480859e98b7d37c4561c80853e10633d193992db2d7ca5b SHA512 facebfeee708b16041ec5eb2d4e5d651cc0af789265266673c00beaea942b526dcceda77843398ae287065adc34843db2e0b9eca2fb004b0fe5dffccb9e4159b
|
||||
DIST dict-en-20230801_lo.oxt 6101620 BLAKE2B 1f7d1f223e40179ffd844fef48f3994e5be6d4015098b6cd639f8a9dcfb21a43c1da72683b973bb7f1eb4b1bdf1e68392d672dcd82e6a360b1cec3dcb5fecaaa SHA512 9716c6579d8c1121e24896d69d82ececd794f3c9161b82a7fa6405e8f4d5259bbd67ec6f026d95ee5927638b34876f63708e9315a2dbed0089ffb9310c7defd0
|
||||
EBUILD myspell-en-20230601.ebuild 1527 BLAKE2B 91ae2215f514ba04543b8cb6cf48ec537acaf23fd6eaee5332c7cb630f66053ad4bd934e24f8af053dcf26d03f838b9900c256b37b664fe87495e2b26fcbde5d SHA512 e1dd5269ee9f66ff3fb3c5136b580f2a800dc66d99553d74c589d6ba1defa404d220bfc74919edaae973c69da70fd84f369dc1a96f26c18e791a02df3efa2fc2
|
||||
EBUILD myspell-en-20230701.ebuild 1534 BLAKE2B 9ddf3a34111dac4e9851c4164d00e9a8933d920ffa35c8703ae1fc60b67253ed8290b3e34cc48df2d3e174cb44a4c2562392a1e1a3ed4d64f36c897a51ac040f SHA512 da6a6ccd0fe0c69e1db1e1e306f6e832e58596ccd92e45d3e796f43edffcfaa479fb4ac37920e3286f37265dddbc80f390d64e9a00d2fc074d7407fe527f719e
|
||||
EBUILD myspell-en-20230801.ebuild 1534 BLAKE2B 1729a8f06d8cb8110b3fe4052784496b481424305d95aab1361adfbe2f7843b324a8bf6c6567c15cb8e6eaee7a0309a40cf56837186166d65d9d0cb59419476a SHA512 53442b2d1b02d7e060f07b51da9b677883c4fcb1e67293e1dbda014cb56a9fd34f9a4f05a2a8950744ef9c7b199a0858238d2bf298f96dd99922f398170b8414
|
||||
MISC metadata.xml 289 BLAKE2B 3b19ce0204dedac8876e4a00fa12dd23cadca14d8b422165467e4da65edfb91e3bb924505016333bad4ed1cb2612db674bb857f1a3dc9e1033b53dcdf20cb164 SHA512 9147be5e8b62a3de0ee8aafc33c61132f9856b28653a390be9ee7a89e3057cf06cc0b53149f08c525a6f01b2fac91e8ba6d1ed89ea46e33d8c279e76c22bec54
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="English dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="
|
||||
https://extensions.libreoffice.org/extensions/english-dictionaries
|
||||
https://proofingtoolgui.org
|
||||
https://github.com/marcoagpinto/aoo-mozilla-en-dict
|
||||
"
|
||||
SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1680302696/dict-en-20230401_lo.oxt"
|
||||
|
||||
LICENSE="BSD MIT LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
|
||||
IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
|
||||
REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
|
||||
|
||||
src_prepare() {
|
||||
if use l10n_en-GB || use l10n_en; then
|
||||
MYSPELL_HYPH+=( "hyph_en_GB.dic" )
|
||||
fi
|
||||
if use l10n_en-US || use l10n_en; then
|
||||
MYSPELL_THES+=(
|
||||
"th_en_US_v2.dat"
|
||||
"th_en_US_v2.idx"
|
||||
)
|
||||
MYSPELL_HYPH+=( "hyph_en_US.dic" )
|
||||
fi
|
||||
|
||||
MYSPELL_DICT=( )
|
||||
for lang in "${PLOCALES[@]}"; do
|
||||
if [[ "${lang}" == "en" ]]; then
|
||||
continue
|
||||
fi
|
||||
local mylinguas="${lang//-/_}"
|
||||
if use "l10n_${lang}" || use l10n_en; then
|
||||
MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
|
||||
else
|
||||
rm "README_${mylinguas}.txt" || die
|
||||
if [[ ${lang} == "en-US" ]]; then
|
||||
rm "README_hyph_en_US.txt" || die
|
||||
fi
|
||||
if [[ ${lang} == "en-GB" ]]; then
|
||||
rm "README_hyph_en_GB.txt" || die
|
||||
rm "README_en_GB_thes.txt" || die
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
default
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX ydpdict-1.0.3-clang16-build-fix.patch 246 BLAKE2B 0eac87877bf119dd0252e8b1a7a7ac78d5e1b07c7057785c2d41748885080f6863d583783760d8a73687d6aced0a02c59b8e7519389f52f4c1a1519f28037004 SHA512 cc1d029b13b7b892350174908af29fb6a761a14b77bf1b39273d64a0e1484ca67f74e30998e4376e1fe826d835871d06bde9376cd843fcb799a42574c554c489
|
||||
AUX ydpdict-1.0.3-tinfo.patch 322 BLAKE2B bfde4da1cb49749e8023f7c8ce56dad45b9ee39e974eb59df41e40a4770debdc8f47f4ae03bba41739bdbfbde5ba90315f454e3fa8f5cf8cee668ffbb109e0d5 SHA512 70e0b4b528dabcf9889eaff2909e11a8481ece94ff50d90c7c53e1b5f655f3954bbf694446ee3cf4fa2ac21b1c329d627412337f17da2e8a0a1ba73a45304857
|
||||
DIST ydpdict-1.0.3.tar.gz 185721 BLAKE2B 1db80dc20dd6d71c4b7fed2051bbfae1021fd1ea15ca1f993e8e095912fbcc8d599d8f480143d185fd11c6a1414d7f29ae67a9f5cffda624b434d198cddc5c68 SHA512 ca50c485f10aa4c4691a27a474a5ae814be3bb183b4927728f14de67af1e11a281e5272fc5777d6573e69dd00d3da2223b78d729132764338c92489f20eb17e8
|
||||
EBUILD ydpdict-1.0.3-r1.ebuild 1128 BLAKE2B 123b72f70e9486fcff45df65503d9550616eb0354059b7c8ba035d78fd3ae76e53b2c1fe691e0e462d2feb8261a10e3946434fbe0805c37e0fbd874ec87e4122 SHA512 bc02d02d05550878549fbd1e795c5e4d7ba76058ad160f46aea5dba3b7b6b462e6dc6f6525b5da27a75e16ae9113a1d08b4f0dd05fb2ea72ba16e34b7fe66e46
|
||||
EBUILD ydpdict-1.0.3-r2.ebuild 1181 BLAKE2B 833992dad602e5b7f330e462eaf0e341dfd9e330e260849f9c3dcbae6c67f4bcab3c995cada0ae3f60148e5646c6dcccfb9ea3653b17981ccdfd947577159a9c SHA512 e6c04c55dd22ca2662713fd17061259bab08e525f3658bab14527804deca9fb5ca681ce8bacb62e2b2910c0517408da6e32d029fa0ed9fbc8b3fc3d4d6c72f20
|
||||
MISC metadata.xml 249 BLAKE2B 7da21f257854aaa71c2ffdb3f700dddf6b4c5aafd3fbb923100c263e210a647d7c0ddf48cfe2bcd9801a594d4fbf73df5ef095a3ca4c786cce6f95560e8964b8 SHA512 afa1ecf431f11a622e8fcabefbd0fb26086fab18df5a9b75064e42429e02cbaf00e729df4ec82f6e34c1a98bb58f25e20fd9fdce2cc072aa8d4b418b1730f153
|
||||
|
@ -0,0 +1,12 @@
|
||||
Bug: https://bugs.gentoo.org/894364
|
||||
Upstream PR: https://github.com/wojtekka/ydpdict/pull/4
|
||||
--- a/src/ydpdict.c
|
||||
+++ b/src/ydpdict.c
|
||||
@@ -55,6 +55,7 @@
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
+#include <libintl.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBAO
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Interface for the Collins Dictionary"
|
||||
HOMEPAGE="https://github.com/wojtekka/ydpdict"
|
||||
SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
IUSE="ao"
|
||||
|
||||
RDEPEND="
|
||||
app-dicts/libydpdict
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
ao? ( media-libs/libao )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DOCS=(
|
||||
README.md
|
||||
)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0.3-tinfo.patch
|
||||
"${FILESDIR}"/${PN}-1.0.3-clang16-build-fix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with ao libao)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "/etc"
|
||||
default
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Note that to use this program you'll need the original Collins Dictionary"
|
||||
elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/"
|
||||
elog "directory of the Windows version of the Collins dictionary. Once you obtain"
|
||||
elog "the files, put them into /usr/share/ydpdict"
|
||||
elog
|
||||
elog "Some configuration options can be set in /etc/ydpdict.conf"
|
||||
echo
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST mathjax-docs-2.7.7.tar.gz 233452 BLAKE2B 280db6c794471d369a17161ad859dc73ddf1494af35114b69356aae41ea52d771f92b0b85ba82df8ed542039af152938f5fda71d752da4410ab183fe6a24ab81 SHA512 25fa97294ae153298d45b449d995c0402c481c6425ea4ebb38dcc509df741aed02d5469a520c8b793b8135b4140a6d1ad6688a42e3cb26004cfd7fcb838c32e6
|
||||
DIST mathjax-docs-3.2.2.tar.gz 227724 BLAKE2B 1b2d25073e4f141f5c832f1139e6bcfbdb15c039b820f3662d6fb261faebedac8ea72fb324d76389c35cd28cd41556689501d8795d7a426d735d4eaf88eb61ee SHA512 94167e58deb4f899d5c49a6b1efec24f57fff7aa497a019e9f775e251927c698b7c5598b88087c2964b8cb7238b73152dea01e091b8afaeab8979b396270d429
|
||||
EBUILD mathjax-docs-2.7.7.ebuild 1034 BLAKE2B d28e0fe24177526242ab8ff2a7e81f2220cec2e0ea6efc00a62dc97f4f3fea10476a9a08ba26fd2eff766ac02f528a6065f891904fdc598eff5af05acfc3e3cb SHA512 766c67cb85027bacd3e756baf7c3e14765c3ffe083864c58a61a45753b4be2888a0b1afab8bc9d7247cc9deafaec605eff26c1d0999c9c712b776281ac620ebd
|
||||
EBUILD mathjax-docs-3.2.2.ebuild 943 BLAKE2B befad04de948d7c9e7e7cf33e6be731178fb9004ad23df167974753df4ad61ecdc65ccc13632a9f5de9f7204519f3cb98665911569055c3d6b3d83f75aa226e1 SHA512 99b21e0939c1a85e2c22376c0bf869d6943a66a42cdf42ba5932dff248f5501680dcd6887ef8fa553e3cb331c42f4c02d534d446add5352380e8dababd369eb5
|
||||
MISC metadata.xml 1063 BLAKE2B 6b785658c601cb16b92118a2880c648d76bfb98982f18205096921f2481aabe02149d98df3dca4a7e183dfdf8d8dd9357e51e2c663ca79b2727c5751ca3ffea4 SHA512 99d7a932fb21946669e0f1464b100b60f5cab866052443e6d90062b33cd513fded6aad1a07be31c49b065095f72565f8e44630bd97bf929ca3b145df38b097d4
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
inherit python-any-r1 vcs-clean
|
||||
|
||||
# MathJax-docs doesn't have releases, so this is the commit that was
|
||||
# current when mathjax-${PV} was released.
|
||||
COMMIT="c4a733d6d0ced4242a4df1c46137d4be6b3aaaee"
|
||||
|
||||
DESCRIPTION="MathJax documentation"
|
||||
HOMEPAGE="https://docs.mathjax.org/"
|
||||
SRC_URI="https://github.com/mathjax/MathJax-docs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/MathJax-docs-${COMMIT}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
$(python_gen_any_dep '
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
egit_clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
build_sphinx "${S}"
|
||||
}
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
DIST gedit-plugins-44.1.tar.xz 913228 BLAKE2B a153b82da23f7838da9fa24b28687eae2fd0e4381693515f45e665fc6d9bc2715b37fa6bdac7a8a6ebd947ba0a3a70e5c12708bb14a053c9ad0384549e8ef4f6 SHA512 d5d767210b362747e4ba51b61b4d1c58bf5b37aa5f942cb9654f71c534d8bce2594ebc9004bed686627403fe1c3a6af84a45f4ce72af1f27fa7b644d11cdc9e2
|
||||
DIST gedit-plugins-45.0.tar.xz 902452 BLAKE2B 2569de052fee9401561e874a0387799c582fd69c177034595e9bb61c9ebd75fb6333b4bd7d1c8460d4bb13c5cb0c1ea8abeeaac1bf53f2279d4a920d71b5069e SHA512 41ada11d4cfc99d3f8edab46916490bfb6282c82bc35952331a5e920ffb8490c9ca543d459ed670390e4268bf2068b86382be4049443ce73cd4bb60b9a31b879
|
||||
DIST gedit-plugins-46.0.tar.xz 897216 BLAKE2B 9dac94c03147fa3a949df5d924a2a18d9cf29a7928f088a0ab6bd07538dc316c28f9f6a5f7cb91b386d25b4a15b5178265c808a7d327367902c7077980a56be8 SHA512 fe9d975273df1ec7d3729d76d3e652b04ec90595f2fcd90a64f9bc01de6bf7955aa96fb663966d8dab5952a01552a70123eecee81861c4c6d219199ca2ada579
|
||||
EBUILD gedit-plugins-44.1.ebuild 2587 BLAKE2B 89f009a541f6d10c06a8208b7521ac57c23675da04871d7f4b3396dce5527ef94ae7c8dba873d26a29fce038744163239f5fae985894638ac1ef7c03de9020f5 SHA512 62a9a0b4fc3e63dd50ceb089fba6629aa7b613da925982a96abe6773fb51267b4a8e53a75ff59323fc0ea52be31c3f786c57111dd91881a298b9e8913fe9d2be
|
||||
EBUILD gedit-plugins-45.0.ebuild 2449 BLAKE2B a90490a5770058f741dc08dc82fd231ac4a75db4a149d718cae1ee67ff2d36b6d6d222f6d8370acfbdc48e350e6fc352b62b9c5b49beb52c08f34de6c2c44c66 SHA512 04ac542fca66d5606fefce52d3a7d44af27bbff681650f59af2f1f86144cbac8f8a6ef202f3a7e447c6061e256900eeb4904bb62951425342f43a97a8d349ba1
|
||||
EBUILD gedit-plugins-46.0.ebuild 2447 BLAKE2B 2da48e17bc70eddfa29a2306d6882089c8a00b00ebd7f2e0df859589af6b29ef3e8443933f712d07a86054c9ecb60fa00bc605af724d92d240eb0e8d85018f0b SHA512 e312658c3730e54361b882f1c156cbf24043722567c11ecca69422b0f751a61b03c0db65dbcf9588e4e09e6ee4b7e50709b7c8f718416503654c4b34f89075b3
|
||||
MISC metadata.xml 596 BLAKE2B cf545e591c160fc584c5c2b1e3f5fa6a47922a958f981daa5c85f3f6c8f7eaed2a520d6265241998dfe211098f70c75a0fdfff033e55e892e5775b678ea9ef5b SHA512 0a3b9e748bc2d22ea16a694f8ebd6196d05e6652f552523bfe6fa60f1c69ab50110692cda7a59239c8f6946c06d3139a4225f1744e0dd40ccbdef3e8b396f692
|
||||
|
@ -1,100 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
|
||||
|
||||
DESCRIPTION="Collection of extra plugins for the gedit Text Editor"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ThirdPartyPlugins"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="charmap git +python terminal vala"
|
||||
REQUIRED_USE="
|
||||
charmap? ( python )
|
||||
git? ( python )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
terminal? ( python )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libpeas-1.14.1[gtk]
|
||||
>=app-editors/gedit-45.0
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=x11-libs/gtk+-3.9:3
|
||||
gui-libs/libgedit-gtksourceview:300
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
|
||||
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
|
||||
>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||
')
|
||||
>=x11-libs/gtk+-3.9:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
)
|
||||
charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
|
||||
git? ( >=dev-libs/libgit2-glib-0.0.6[python] )
|
||||
terminal? ( >=x11-libs/vte-0.52:2.91[introspection] )
|
||||
" # vte-0.52+ for feed_child API compatibility
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-libs/libxml2
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dplugin_bookmarks=true
|
||||
$(meson_use python plugin_bracketcompletion)
|
||||
$(meson_use charmap plugin_charmap)
|
||||
$(meson_use python plugin_codecomment)
|
||||
$(meson_use python plugin_colorpicker)
|
||||
-Dplugin_drawspaces=true
|
||||
$(meson_use git plugin_git)
|
||||
$(meson_use python plugin_joinlines)
|
||||
$(meson_use python plugin_multiedit)
|
||||
$(meson_use python plugin_sessionsaver)
|
||||
-Dplugin_smartspaces=true
|
||||
$(meson_use terminal plugin_terminal)
|
||||
$(meson_use python plugin_textsize)
|
||||
-Dplugin_wordcompletion=true
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST gedit-44.2.tar.xz 2741932 BLAKE2B ef069084b0a11d86a081f10542ddfe39e9a6989dd0d7e5749af3f62267ea52c6885bf3a50065227307cca6062098c460b05da89f1cd2de0b8d2e6c9c81feb8ad SHA512 c9dd412a16d7d0ba17214164017948bd1184ee5f9c44475e9e02880c0597b2fd9840f9488df7262cb413baedf5e16ce49dd32410b02ed0f53cf4bc94d3e3a4c7
|
||||
DIST gedit-45.0.tar.xz 2756252 BLAKE2B 70f998e1df2d9dc8be9019c68c91ad5b3b5c66a922b9e2501d914dda9e460a315c1456b8d048ea8653e3f39e94b5c58ebcca524fe8d9beb30da6e49de88e0612 SHA512 5f9ea9df9fe2572127f97980a4f3fe96931dc4e9beea6f08c2e20777ca7dfd58569de0ca09c9b9e03ed0beb27c2bf277a910c50babf9c1d258b495d364d60cf5
|
||||
DIST gedit-46.1.tar.xz 2756336 BLAKE2B b79c04b12b0220429d6284c9d966e7a8cc2a454b0cd0b7ef807576b4a3e0dccab52f5fdbdaf9f774880c801eb842484260818036e30e5853d573c1fbb4dd14b6 SHA512 42cf210afd35df8d6d3590ebb5ff310b74ccf9da803277cd375474629e2bd32bc542f34e3c307a1f591c04e861b92e153e4c9a2daa852e5250fc1294d4bbf72d
|
||||
EBUILD gedit-44.2.ebuild 1770 BLAKE2B d39fd4a51787a1b29bb369fdbde8e220aeb5e71ff9186e10321bb73ff96d1ef502207061ce7b3a00158413cead0bbc09aa43b14fab47fdfe5cc779a9ef7739ab SHA512 0f1b68c2233c8e4d644d9757b92263f7ec49171fc64b4da237c3bc3d5be7f4017124af5b3de609aafdffb7231630c78775b7c10681d411f320e810d4a6892284
|
||||
EBUILD gedit-45.0.ebuild 1733 BLAKE2B 4507b39d4b0245d1c0b311f6e0ff546cee030322418e7985b16aa99f6cf8934a9c2de7afa48899d38e522c5f4967a83aaa7f32bbe3acb52250defec619c539da SHA512 a8d3c409b4be60cb39188c7dcb67981b3f571823f6fc2a1304bc62268a92f457f1ea370d82f9796b0b0c41eb920ed8dcf8b37832434493c0004c8e31b0657fab
|
||||
EBUILD gedit-46.1.ebuild 1742 BLAKE2B ee21edd6a21b2fd5cf83c8553af16d365615f3fe42e69590c53d71ab26ca90a4a370d9cbfa2c1460f0c277dbc5e030fdf52a85d680b21c9c1daf574ad87faaba SHA512 025074d79af5ccf06041dc0465967d8b17b1bda0f69204912c9fe0f99c98d5c3dfcd435a83b17d1507382b8a1968c249227f5c027a04fa3b68b24105c1abd56f
|
||||
MISC metadata.xml 346 BLAKE2B 59226b3220bd9b1770fad0f5acf3b1888a57a3496f9e0a6eb0eb09c12b7a5aa461961753dd8a5a6f01db1cdb97af5b28d6a8d1d632b60f499f86e0864e29264f SHA512 3e1d83ad67b85a681b85f8fece9d6c2c3eab2f2f726447230dc1f2399a21cba211d97e11d8c06d0d1b1803fafe67be4b32c04b39c5f8586a421c525624f6697d
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
|
||||
|
||||
DESCRIPTION="A text editor for the GNOME desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
IUSE="+python gtk-doc"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.70:2
|
||||
>=x11-libs/gtk+-3.22.0:3[introspection]
|
||||
>=gui-libs/amtk-5.6:=
|
||||
>=gui-libs/tepl-6.5.1:=
|
||||
>=dev-libs/libpeas-1.14.1[gtk]
|
||||
>=dev-libs/gobject-introspection-1.54:=
|
||||
>=app-text/gspell-0.2.5:0=
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
|
||||
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
|
||||
')
|
||||
)
|
||||
|
||||
gui-libs/libgedit-gtksourceview:300
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-themes/adwaita-icon-theme
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
gnome-base/gvfs
|
||||
"
|
||||
BDEPEND="
|
||||
$(vala_depend)
|
||||
dev-util/glib-utils
|
||||
gtk-doc? ( >=dev-util/gtk-doc-1 )
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.18
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Duser_documentation=true
|
||||
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use python; then
|
||||
python_optimize
|
||||
python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue