parent
7810329e87
commit
01e3d195a1
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29605 BLAKE2B fc65e1713ca1f1dd555a0f9caf2db5f9783ac4cc8bdc656c08015b94d5144f26cce415cccdf8a5334e8b25a77838b8bc890a0a2a9448030b2b30a785772c8de9 SHA512 89085f3e7a6b55fd4edc08fa17fea8ef342010d43c5dc5e56c123467d7e9e035bfba96f9ce5e6b189094daec755efe26c4211fd80be7bfe2334a29faeaee10db
|
||||
TIMESTAMP 2022-10-31T11:39:40Z
|
||||
MANIFEST Manifest.files.gz 29576 BLAKE2B a9c7a946390a643dd3b1479110949065ebbb3d2fd455d7c093c24c7cd97ab4ad549f112e08683dc6d220d10cd4af199e44f0af4ca8113f8d54c86d516c481d69 SHA512 393fd28b6baa52be79043df49330101d288541155dc8a8b6dc1c018d3728110854207d76f4e4f7a5f6d5a98418551853aa02ae2fd11a76d76cdfee7dca452464
|
||||
TIMESTAMP 2022-11-03T05:09:47Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmNfs/xfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmNjTRtfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDtTg/8CG7OPuU+tW+jVJBSRUwJlHnny3UpYqR7usur4J1KRSfkO+8ps9RlBd5M
|
||||
3s704mt1q7oH7vCr6vok4kd2+zxoANWFAmkGiKrjr2QTh5nGkA1Ua6KRU5aL1dZW
|
||||
p+l2Sh+SlxjQ/Acs3ghDnZgQCHLB8RDpOc2yT0gz4rc7Iq4G+xJECEvHf/adL8Qw
|
||||
HJXk0/+D92zDENeSIzKssxgibEgUUCA9VrAvm8GDkZFMkEelMX4Fk/YbuPRfMMbx
|
||||
/FSyQBm28gzV0EheqHYjNZJ6A8itLZH+dq/iQ6ZHtSicAT2wqIEpzdV1/tF8OAJU
|
||||
qSvlctrbk/BgABXBZ+0iwiwtuit/oZg/ydVkfOp/4YdK8Kt7a9PM9i/iIbQNKqjA
|
||||
yVi7OVqBmrvIOvIp1AfGnz/VVCJC9DTBULCRhvTAGFPOLgl2kNUJxM8z5l28qkm7
|
||||
H7sF9KuHXqISpEr4aiAKlC5rBE9JzCddVcY9H37rc5SannuuakU43i8afr4u2jA/
|
||||
alRjyjA6igAjujqqfb2jZ0xtcn1tYRZXRMFKFNkxRuuOUxxDka64IdfCVK6os7vG
|
||||
gbTcxBdtorvsI4xWRymQw5bEh35Dj2gtgaV0AtYT7wr7+YOcSyZfw1J++hv24Ud6
|
||||
iinkHH9pyOyUh+nksLM/g51svPP4l+KuKiQygSJIjeKZhIDzofA=
|
||||
=bXwk
|
||||
klD+8Q//eLIZM/AY7xZl5bRz4m/CZqC0G3IQbsF3G+D2iVjscICNKSWeVVoH0YEp
|
||||
rDXjncweAfmuP9iZLgWStCDK31ikCWQkl6cxXnBAD/dwmwaVRuLDW04IZ/26z7n+
|
||||
Hsu2Ev3ZA13GZErDJl4DZcKEzf7hndqKuu5PIIfgR/LyKCF46WsWn/JjGVunrUdz
|
||||
vHBEw0TeI7QictEYqpp1hV0MfD/e+/YO/aYKW1Bq7tEZEFT6U6WWFgI/SMdOrDGG
|
||||
9CBHo5d83zs7TwclW2I1tWB/YsaTTYf+MLUyJ+QO3UdbOu37eBBujzlTMXqtnHXi
|
||||
5pGNwxUuJCpKD3BPkIP4R37mtgXIZ5AFR0FK0caXBxZWfZbuOAMEVkGysN6uwtzr
|
||||
lUf7icyTZ9Hhypk152dtHNpyfsShr4Qearrh1H/iJnHAW98cx4RAr4ecK4efkjcO
|
||||
IaW2ZuaimCZsNNHBnl3G69JFSvkL9JTZH2T6cZlUO1E9mqKuKBnZgOFzrQ6xRBcN
|
||||
iD/h3BVJ/Ba/JBkw32Ojg7/egvJWZn773xVk+LD9ZZyUf0yblYzVHUh0+J1eC4n0
|
||||
r7iEaVgSW8QzHCfCnvAqX9/fTgh3ce+WLuJT3IpXjeLyKD0vytJ+V4sjJeWUbtvY
|
||||
OCACrrS4xZKtK8s4K8WqOiVoShZzD6cioiBDEmilhkf6V9uFRY0=
|
||||
=ZaD9
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,8 +1,11 @@
|
||||
AUX speech-dispatcher-0.11.1-include-pthread_h.patch 367 BLAKE2B 54e4cb3556f066c7291c6c601a0a9cf13c75dc14bfc2ef493d5fd6e38226d10b119612ed57ea4a44d65819653e76a2e74e54e286214f3fd353b8149c00de1ed2 SHA512 d7afc36cd26052576e0fb3af44ba438b5184d32b1d80c98409e227cc86858dfcfcb9287cf44f986042e2733004f30d30a9431e00653779e312543cf43e108537
|
||||
AUX speech-dispatcher-0.11.3-fix-dlopen.patch 2518 BLAKE2B 99490232eb3ea43451caf942ff605ca4f94a3917c525a4a67fd21183a0e7c8a99a2bc883c5a22c47ad3c3712a5560278105a5f35439c8d18215b8d5cf8d4e6af SHA512 2b6970624c3f7f88e80266760bc801c0b895c0e5730767ac66adf0cbc147fdd2ad2eaae7662e4939938555e30e0de57a6caa0e783dafaeeee1d04d10126fe2cc
|
||||
AUX speech-dispatcher-0.11.4-GNU_SOURCE.patch 3680 BLAKE2B 671b55d0418b92d299427fd2d457e3279f1ae9d97548dd1ff89b52a2487cd700c134e7bb042ae6b621883933d1b3c96765f6fc2ed040c0de4c7d97f017ad965f SHA512 d07edc73370fdb8d9c71f8cc9c9db15da8fe3b7d83ca42bd05a09fc4795899786e54436d7dbc8407ab08eb0384997126322352ed9d4c4250d41a11d0d68dd4b4
|
||||
DIST speech-dispatcher-0.11.2.tar.gz 7147526 BLAKE2B 6b11949736275d900e5e1d3909fab51fc04fbb45baf470a4c98aed19f61b7adb8cedf6b11f1a1aa69d9625383627beab4122c74ec78d9c07a5d0ddf4646669d6 SHA512 038ecaa5b9d56e3f915ec49fe7768cb4eebe1c8be79b95635f09fb3f6067e4c0ade13d2dd355e0b326579dcdf509dd180889b27282410b6bb252a2f642f028d4
|
||||
DIST speech-dispatcher-0.11.3.tar.gz 7150632 BLAKE2B 92bad589e453a243362a9e0142d2897b9651fa648012f2bd7ef00bc1ded389fd2c01b6f38f19002289357f7aa6361a6e7fa3ee35ec2ad7c044f34d87e7f2c409 SHA512 e9f5b862066c0292230fda32f16782f9a2d66e8d0c0e3aa0ccdb4628c1182661d2f40894f480ae5206af7fbbc49338189312afe02092f5d472095b053afd75c7
|
||||
DIST speech-dispatcher-0.11.4.tar.gz 7127323 BLAKE2B 651a20ec403c6158756ab6ff7fbedb38ce1cec413be49367128274c8d20ccc7080a2dccd68cb7ebbec6bab05599f06a4aafc561e4e5e53cf52d19fa1b94fa286 SHA512 d0ebe832e2586abdb1284be36f8427cfbbd94f1a2dead1b74526b151e9529f9e61679339274b73afab5f829d184337372ba0aad93d880c42d2a6a1bcb2b7afef
|
||||
EBUILD speech-dispatcher-0.11.2.ebuild 2868 BLAKE2B 343ddf0cbd7f970e93175e60385aa3869ab173ac51db10ee3f12b38dce0c68724e36b3da03682fe6b850b07a996e2f10d3921eba73c10d8b50bf3954869f7c23 SHA512 42539976ba09a7dfc6853201a23ca60bc6abb0e957bf1e69bd10b14f674c8724aa092ec487fbe5eb5551fa4336adf113a5b62b8445f55f3ad138ffb23867a162
|
||||
EBUILD speech-dispatcher-0.11.3-r1.ebuild 2912 BLAKE2B 0ac187c72682eb88a03e9382be2d2c3758ea53a96f0f4d188870fa955a5bc5a1e307dc6ac7eb7d8f0b106550e2cc40e6415a7c36739a4d8becda131384f05d70 SHA512 6ba9d5976a808bd3fa0fbae4d9e5c5375d83aa6cbb232740b22f9be7dd21c4884400b0a67aad040f2ec847c6312a610350c6a49c73ba471402d815aa975c6651
|
||||
EBUILD speech-dispatcher-0.11.3-r1.ebuild 2905 BLAKE2B f122ead63396f070a9cdbbf8d9fb7eaa225c09a0317ea06352261cdffa276551634bfc0310fe2561b71b4c5cb5584160785747ae372ecda4c5556bb28c091e0d SHA512 5e126acdd39699e1630759fd9e191798bd9c5b4e734db8e0cd01fc1f8aac39cc037010b6f639939cf7b0753223ab1c41d937da1c49b7bc86a63ee19677a62509
|
||||
EBUILD speech-dispatcher-0.11.3.ebuild 2875 BLAKE2B 7e43633fa593175d1bf889e1f11004c5d95973a0eaa25b9005dc7abc116e9cf393d2a708b92849a2d1581c3d5adf5da4cad711d2cefc7e53e91129a3095dab06 SHA512 e0180013b2599505b0bbcae9dc4dfaf1621af0b699bae5c88f81f7b550791371139113cef98ffcbc3de4a7bd689bf068c5e1e300ddc96cbd00b4dd28ca99a91c
|
||||
MISC metadata.xml 708 BLAKE2B fdccc4d8de7f22eb64469021786480527bd87f3718dd5746426874266b8a46dcb6cc2b7bb25a4561a523362b919e0ed77e3f829f3fe269d90060d17a69f1b2ed SHA512 770e54e5ddeacc46165b90d41dd3ea0d1060adfdfb95055a9dab778f757189b892250e66b515773ce7b4d8b1bbdd692386b4d8cb49d670af7af8dadfed5c8788
|
||||
EBUILD speech-dispatcher-0.11.4.ebuild 2970 BLAKE2B 053b7a75196d8142e79d2271628d68b3b06cad231cc563cbd90c74fa7ff18dc73eb6dbc9de95640ebbffbd0bee55c631ab9c9c17d5ab4ef5b353d5405f6d9c3f SHA512 0ef225e30c1b231e84eee07b64fe7ca02fc7735dfd7687c46dd8ff6d2f467a1654242172b5cd03b23c25701ed92b60241bf7f6553a25056dc7103899e029bbb6
|
||||
MISC metadata.xml 793 BLAKE2B bbb768aefee6e8685fc109b1c03a1b33436cbda492ac2d0657983cd5dbcefdeb7f70ea1022047a44548d9db380e499ea572f9a005d5ff7312bff3cdb377d5e77 SHA512 2f122e8cad49728e27539d6e39114cba61a178ec1944d386d63a34e9c203f0d4360257226251ce21b5acad626d802af597cef5db726017f8b4600c484a13c401
|
||||
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
# TODO: drop autotools + eautoreconf after 0.11.4
|
||||
inherit autotools python-r1 systemd
|
||||
|
||||
DESCRIPTION="Speech synthesis interface"
|
||||
HOMEPAGE="https://freebsoft.org/speechd"
|
||||
SRC_URI="https://github.com/brailcom/speechd/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="alsa ao espeak +espeak-ng flite nas pulseaudio python"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="python? ( ${PYTHON_DEPS} )
|
||||
>=dev-libs/dotconf-1.3
|
||||
>=dev-libs/glib-2.36:2
|
||||
>=media-libs/libsndfile-1.0.2
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao )
|
||||
espeak? ( app-accessibility/espeak )
|
||||
espeak-ng? ( app-accessibility/espeak-ng )
|
||||
flite? ( app-accessibility/flite )
|
||||
nas? ( media-libs/nas )
|
||||
pulseaudio? ( media-sound/pulseaudio )"
|
||||
RDEPEND="${DEPEND}
|
||||
python? ( dev-python/pyxdg[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="
|
||||
sys-apps/help2man
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.11.4-GNU_SOURCE.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bug 573732
|
||||
export GIT_CEILING_DIRECTORIES="${WORKDIR}"
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-ltdl
|
||||
--disable-python
|
||||
--disable-static
|
||||
--with-baratinoo=no
|
||||
--with-ibmtts=no
|
||||
--with-kali=no
|
||||
--with-pico=no
|
||||
--with-voxin=no
|
||||
$(use_with alsa)
|
||||
$(use_with ao libao)
|
||||
$(use_with espeak)
|
||||
$(use_with espeak-ng)
|
||||
$(use_with flite)
|
||||
$(use_with nas)
|
||||
$(use_with pulseaudio pulse)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use python && python_copy_sources
|
||||
|
||||
emake
|
||||
|
||||
if use python; then
|
||||
building() {
|
||||
cd src/api/python || die
|
||||
emake \
|
||||
pyexecdir="$(python_get_sitedir)" \
|
||||
pythondir="$(python_get_sitedir)"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir building
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
cd src/api/python || die
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
pyexecdir="$(python_get_sitedir)" \
|
||||
pythondir="$(python_get_sitedir)" \
|
||||
install
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
python_replicate_script "${ED}"/usr/bin/spd-conf
|
||||
python_foreach_impl python_optimize
|
||||
fi
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local editconfig="n"
|
||||
if ! use espeak-ng; then
|
||||
ewarn "You have disabled espeak-ng, which is speech-dispatcher's"
|
||||
ewarn "default speech synthesizer."
|
||||
ewarn
|
||||
editconfig="y"
|
||||
fi
|
||||
if ! use pulseaudio; then
|
||||
ewarn "You have disabled pulseaudio support."
|
||||
ewarn "pulseaudio is speech-dispatcher's default audio subsystem."
|
||||
ewarn
|
||||
editconfig="y"
|
||||
fi
|
||||
if [[ "${editconfig}" == "y" ]]; then
|
||||
ewarn "You must edit ${EROOT}/etc/speech-dispatcher/speechd.conf"
|
||||
ewarn "and make sure the settings there match your system."
|
||||
ewarn
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,7 +0,0 @@
|
||||
AUX abrt-2.0.12-r1-conf 687 BLAKE2B 771c5370e3f7f181c22f8a56d8a13a02759aed2fdd5f7182d4bf9e7bebf1f80f6178acbce4ffddff7ab292c773685148621d53528b96c3099d96dcd0f26b1280 SHA512 8dc19a07ca57a7a95184366e747f20e36b97eea6423aafb88390f9754f90bfa76b6d0c33806c714fcadfebeebda05e989b282bf07cd0ce50cf01efa8721357f2
|
||||
AUX abrt-2.0.12-r1-init 1921 BLAKE2B dc8bbe3d4902ac65165f1e71eb6400810980f6b90014619aa87614f0a8e1c6e9bb79afa964e5c0324ca090fefa9b90f2705c7388b488709f31619d824850e3e8 SHA512 a6f7c4029f974af083f33020756bc0eaa877c23f658d6b92388627e3a923aae499dd44e1b0e22af792a6c431a683ebe4604d6dec62bf09f70a2a5209cd45be81
|
||||
DIST abrt-2.15.0.tar.gz 6122114 BLAKE2B ac075a15d4621596bbe3009bf2e4725040139d78077f85bd4daebbe86504f9aa0a12dcedcf3b5b65404bc2851e93e6b1113dcc37923832c826d572ab9810ef94 SHA512 2d6c1287c1f01990aeb30f956f465c7a6399a6e53dc667602e263c136f94bc4090b58876acba678b29671c0db89ae8e7dd6994cf8d0d2d9fbc375f54ae6cd935
|
||||
DIST abrt-2.15.1.tar.gz 6122174 BLAKE2B e3b767929cc2303dcf90a935e0c9ba30641638666925d4707fb0dbed135d8635cd0a58c712f2965969218c64856a5fa3bd20a79410c0e6a5f176a7e82059dda0 SHA512 745c513969b78ee7c76c310a8c2fc0bafd1e50375130fa773ad950bf123ee50cfa237da9b331f2c0af2851b35b162cbc908f2e00d59283867ed8ffd72236d0ea
|
||||
EBUILD abrt-2.15.0.ebuild 3217 BLAKE2B f8ef650d66cd1f3103ed2063553dba6022568e03ec2c7d0056d98dbc025005fb1df0d8f595aef0355e0c12ffc0c39a71bb4fa5e137c126b993b1cb45777f27e5 SHA512 4f1551dbb6afbe2e6b5c56c5ae32206b7a77d815d3c91b73c6405be957e4c4fb4db4820354ca3fbe53c5c35d1d59237a30234b1582749319f83c5c512cfe9ad7
|
||||
EBUILD abrt-2.15.1.ebuild 3217 BLAKE2B f8ef650d66cd1f3103ed2063553dba6022568e03ec2c7d0056d98dbc025005fb1df0d8f595aef0355e0c12ffc0c39a71bb4fa5e137c126b993b1cb45777f27e5 SHA512 4f1551dbb6afbe2e6b5c56c5ae32206b7a77d815d3c91b73c6405be957e4c4fb4db4820354ca3fbe53c5c35d1d59237a30234b1582749319f83c5c512cfe9ad7
|
||||
MISC metadata.xml 318 BLAKE2B 09afc80150b955861543909cf2b31829ee72a6cf2ccb265fadf855d36f0d7666b9a4fc53c68ca47c3e72002ea70ec338186bee5808f65e2a8586ce5965711c46 SHA512 033123dd526fad2b3f7affc739255d15e806de3e7fe9fa1da56197288b5da997bbdc8025b0354a655ab6d4e5b77e2e72865955dffe5b7ebb8c037182d6ce4deb
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit autotools python-single-r1 tmpfiles xdg
|
||||
|
||||
DESCRIPTION="Automatic bug detection and reporting tool"
|
||||
HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project https://github.com/abrt/abrt"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="selinux test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2.56:2
|
||||
>=dev-libs/libreport-2.13.0:=[gtk,python]
|
||||
dev-libs/libxml2:2
|
||||
>=gnome-base/gsettings-desktop-schemas-3.15.1
|
||||
net-libs/libsoup:2.4
|
||||
sys-apps/dbus
|
||||
sys-apps/systemd:0=
|
||||
sys-auth/polkit
|
||||
sys-libs/libcap
|
||||
sys-fs/inotify-tools
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-user/abrt
|
||||
acct-group/abrt
|
||||
app-arch/cpio
|
||||
app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
|
||||
dev-libs/elfutils
|
||||
dev-libs/json-c:0=
|
||||
sys-apps/util-linux
|
||||
>=sys-devel/gdb-7
|
||||
$(python_gen_cond_dep '
|
||||
dev-libs/satyr[${PYTHON_USEDEP}]
|
||||
dev-python/argcomplete[${PYTHON_USEDEP}]
|
||||
dev-python/argh[${PYTHON_USEDEP}]
|
||||
dev-python/humanize[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
$(python_gen_cond_dep 'dev-python/python-systemd[${PYTHON_USEDEP}]')
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gettext-0.17
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
default
|
||||
|
||||
# Install under proper directory
|
||||
sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die
|
||||
|
||||
# Ensure this works for systems with and without /usr merge
|
||||
sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die
|
||||
|
||||
# Fix hardcoded "pytest-3"
|
||||
sed -i -e "s:pytest-3:pytest:" \
|
||||
configure.ac src/python-problem/tests/Makefile.am src/cli/test || die
|
||||
|
||||
# pyhook test is sensitive to the format of python's error messages, and
|
||||
# fails with certain python versions
|
||||
sed -e '/pyhook.at/ d' \
|
||||
-i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed"
|
||||
./gen-version || die # Needed to be run before autoreconf
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-bodhi
|
||||
# package breaks due to not finding libreport-web with bodhi plugin enabled
|
||||
--without-rpm
|
||||
$(usex selinux "" "--without-selinux")
|
||||
--with-python3
|
||||
--without-pythondoc
|
||||
# package breaks due to no sphinx-build-3
|
||||
$(use_with test pythontests)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
python_optimize
|
||||
|
||||
# /var/spool/abrt is created by dev-libs/libreport
|
||||
diropts -m 700 -o abrt -g abrt
|
||||
keepdir /var/spool/abrt-upload
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt
|
||||
newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt
|
||||
|
||||
# Drop empy dirs, handled by tmpfiles
|
||||
rm -r "${ED}"/var/run/ || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
tmpfiles_process abrt.conf
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit autotools python-single-r1 tmpfiles xdg
|
||||
|
||||
DESCRIPTION="Automatic bug detection and reporting tool"
|
||||
HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project https://github.com/abrt/abrt"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="selinux test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2.56:2
|
||||
>=dev-libs/libreport-2.13.0:=[gtk,python]
|
||||
dev-libs/libxml2:2
|
||||
>=gnome-base/gsettings-desktop-schemas-3.15.1
|
||||
net-libs/libsoup:2.4
|
||||
sys-apps/dbus
|
||||
sys-apps/systemd:0=
|
||||
sys-auth/polkit
|
||||
sys-libs/libcap
|
||||
sys-fs/inotify-tools
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-user/abrt
|
||||
acct-group/abrt
|
||||
app-arch/cpio
|
||||
app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
|
||||
dev-libs/elfutils
|
||||
dev-libs/json-c:0=
|
||||
sys-apps/util-linux
|
||||
>=sys-devel/gdb-7
|
||||
$(python_gen_cond_dep '
|
||||
dev-libs/satyr[${PYTHON_USEDEP}]
|
||||
dev-python/argcomplete[${PYTHON_USEDEP}]
|
||||
dev-python/argh[${PYTHON_USEDEP}]
|
||||
dev-python/humanize[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
$(python_gen_cond_dep 'dev-python/python-systemd[${PYTHON_USEDEP}]')
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gettext-0.17
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
default
|
||||
|
||||
# Install under proper directory
|
||||
sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die
|
||||
|
||||
# Ensure this works for systems with and without /usr merge
|
||||
sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die
|
||||
|
||||
# Fix hardcoded "pytest-3"
|
||||
sed -i -e "s:pytest-3:pytest:" \
|
||||
configure.ac src/python-problem/tests/Makefile.am src/cli/test || die
|
||||
|
||||
# pyhook test is sensitive to the format of python's error messages, and
|
||||
# fails with certain python versions
|
||||
sed -e '/pyhook.at/ d' \
|
||||
-i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed"
|
||||
./gen-version || die # Needed to be run before autoreconf
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-bodhi
|
||||
# package breaks due to not finding libreport-web with bodhi plugin enabled
|
||||
--without-rpm
|
||||
$(usex selinux "" "--without-selinux")
|
||||
--with-python3
|
||||
--without-pythondoc
|
||||
# package breaks due to no sphinx-build-3
|
||||
$(use_with test pythontests)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
python_optimize
|
||||
|
||||
# /var/spool/abrt is created by dev-libs/libreport
|
||||
diropts -m 700 -o abrt -g abrt
|
||||
keepdir /var/spool/abrt-upload
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt
|
||||
newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt
|
||||
|
||||
# Drop empy dirs, handled by tmpfiles
|
||||
rm -r "${ED}"/var/run/ || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
tmpfiles_process abrt.conf
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# abrtd command-line options
|
||||
# Default: ""
|
||||
ABRTD_OPTS=""
|
||||
|
||||
# Run abrt-harvest-vmcore to make new kdump dumps available for abrtd
|
||||
START_VMCORE="yes"
|
||||
|
||||
# Install abrt-ccpp hook to watch for segfaults
|
||||
START_CCPP="yes"
|
||||
|
||||
# Call abrt-dump-oops to log kernel oops
|
||||
START_OOPS="yes"
|
||||
# log file to watch for kernel oops
|
||||
# Default: "/var/log/messages"
|
||||
OOPS_WATCH_LOG="/var/log/messages"
|
||||
# abrt-dump-oops command-line options
|
||||
# Default: "-xD"
|
||||
OOPS_DUMP_OPTS="-xD"
|
||||
|
||||
# Call abrt-dump-xorg to log X crashes
|
||||
START_XORG="yes"
|
||||
# log file to watch for X crashes
|
||||
# Default: "/var/log/Xorg.0.log"
|
||||
XORG_WATCH_LOG="/var/log/Xorg.0.log"
|
||||
# abrt-dump-xorg command-line options
|
||||
# Default: "-xD"
|
||||
XORG_DUMP_OPTS="-xD"
|
@ -1,76 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Automated crash detection service"
|
||||
|
||||
depend() {
|
||||
need dbus logger
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting abrtd"
|
||||
start-stop-daemon --start --quiet --pidfile /var/run/abrt/abrtd.pid \
|
||||
--exec /usr/sbin/abrtd -- ${ABRTD_OPTS}
|
||||
eend $?
|
||||
|
||||
if [ "${START_VMCORE}" = "yes" ]; then
|
||||
ebegin "Running abrt-harvest-vmcore"
|
||||
/usr/sbin/abrt-harvest-vmcore
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if [ "${START_CCPP}" = "yes" ]; then
|
||||
ebegin "Installing abrt-ccpp hook"
|
||||
/usr/sbin/abrt-install-ccpp-hook install
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if [ "${START_OOPS}" = "yes" ]; then
|
||||
ebegin "Starting abrt-dump-oops"
|
||||
start-stop-daemon --start --quiet \
|
||||
--pidfile /var/run/abrt/abrt-dump-oops.pid \
|
||||
--make-pidfile --background \
|
||||
--exec /usr/bin/abrt-watch-log -- \
|
||||
-F "`/usr/bin/abrt-dump-oops -m`" ${OOPS_WATCH_LOG} -- \
|
||||
/usr/bin/abrt-dump-oops ${OOPS_DUMP_OPTS}
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if [ "${START_XORG}" = "yes" ]; then
|
||||
ebegin "Starting abrt-dump-xorg"
|
||||
start-stop-daemon --start --quiet \
|
||||
--pidfile /var/run/abrt/abrt-dump-xorg.pid \
|
||||
--make-pidfile --background \
|
||||
--exec /usr/bin/abrt-watch-log -- \
|
||||
-F "`/usr/bin/abrt-dump-xorg -m`" ${XORG_WATCH_LOG} -- \
|
||||
/usr/bin/abrt-dump-xorg ${XORG_DUMP_OPTS}
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [ "${START_XORG}" = "yes" ]; then
|
||||
ebegin "Stopping abrt-dump-xorg"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile /var/run/abrt/abrt-dump-xorg.pid
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if [ "${START_OOPS}" = "yes" ]; then
|
||||
ebegin "Stopping abrt-dump-oops"
|
||||
start-stop-daemon --stop --quiet \
|
||||
--pidfile /var/run/abrt/abrt-dump-oops.pid
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if [ "${START_CCPP}" = "yes" ]; then
|
||||
ebegin "Uninstalling abrt-ccpp hook"
|
||||
/usr/sbin/abrt-install-ccpp-hook uninstall
|
||||
eend $?
|
||||
fi
|
||||
|
||||
ebegin "Stopping abrtd"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/abrt/abrtd.pid
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# 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,72 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# 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,3 +1,3 @@
|
||||
DIST cpulimit-2.4.tar.gz 24669 BLAKE2B e0fe0d6766e76e6e2a68dcdc553039400233daabbb14ce4a9dae46a7b694d2ecd660f4c1d13f417a74b12365c719780c732a03bd91c6384d1e7118d0fce521fb SHA512 008dc3fbdcbd8afd875a2a1ce03d609db595c6e110803140c676d3713ea60f4877a1bb8e7aa0e8b669dce31522ad81e2703f616341a0f4cbc69a6b01865b66d0
|
||||
EBUILD cpulimit-2.4.ebuild 637 BLAKE2B efcc65d22d2e18aec1fcc72d2e6efce525e4c5eb5ddc295690cfe5e8075e8e7b551420a500118e1d19ba34892ad0f562566383a1e6235c0c33303a0c95ac079b SHA512 ede24c34a0a8f35f8127c81fbf0857f64817cd5f21be4c73cc53d32b80dfbc18eb558caad64eba93d052f14cfb4349359696dd906ebca104d910df08e10321d7
|
||||
EBUILD cpulimit-2.4.ebuild 644 BLAKE2B 2a8f0740196e5f4b2486febb25cdda806117545ccddd4d76590eed987e17a895231175494c8f14f5f869985ea4d48e3ebf24b64296bafcf8c55d9d753d0f2554 SHA512 d934fc8ef4724f7ede84ead40c651c1b9949e86c4a74e53a232cdb61d59e8f4ca7f25977200668e4818c4605ec745cf38268db2a26ad7200c4f8cd7fc0459d75
|
||||
MISC metadata.xml 329 BLAKE2B 3c7197920abb098e532aaac28dfa0e349df9ab7e9400cd6cfb2db6eb581c58de452a9e3dbd6c7b04bd440671e33bec907c89595d145526a17b3f847125f8c14e SHA512 fa471be33c6e8c68b924432381fdbbc4821179d92a71377458c50e36f41b4147dc7f95eb2ac49c23a61646720f2702551adce8cfa5dd6acd8ce5b96993860215
|
||||
|
@ -1,5 +0,0 @@
|
||||
DIST gnome-abrt-1.4.1.tar.gz 115107 BLAKE2B 6706e65f099056118b40e821325aa7861ef256bdf17d824a5222eeaa3355761bfc8f188e7b0a35305f47b66000c0992daa164d955bdf9d3f6005a1eb85b2a3c2 SHA512 c14397f94d39ce1a94247215679a36c0d1db5fee6a162956d5d87a4585207dbc1cafc60bd9b6b5e3cd5f8437a398ab4a983002d6d2a241a01d7d4da6b93060ae
|
||||
DIST gnome-abrt-1.4.2.tar.gz 115442 BLAKE2B b98a67619a9ca69708eef099614d936c015bfbe2b9cc2e9090f5a60dcd34a7d4eaa37aa7769ce04e52b400f0c8bebac3a933c1c323b11e8b84e347557ff0cc36 SHA512 41639ef3ee7ba090cd62da45d029c9f59613d6b844d59768385f0fc5a074185f6f350a4100aa35aad9a4c528524d2905f130904f6b4c31a4df22d621e0395253
|
||||
EBUILD gnome-abrt-1.4.1.ebuild 1158 BLAKE2B 72f2ff7a66cd07acc9c7e5e73e7e97003bdfb95ac561425970a3aa12d4d371472f480e2802e007f7a4cc829a064fb71508674af5cd5bf9d2a4ae10bddc28222a SHA512 1ba7d6b0146a4e813af830db6f14a8fc5593e7e97db916b6224c3571ee346fd1f50c44a1dccafeef05abfb46ec1392cce790fc76b7f2c2243cce3f5e1baf9e8a
|
||||
EBUILD gnome-abrt-1.4.2.ebuild 1158 BLAKE2B 41ef5026e706a8c4999d2cf10be6599669cf2e72d25471459ee743fce2f18601c30fbbd322f2b132ee8ef5205c11b4252d71765fa11a7f10bd068148b0b3730b SHA512 daea1c6d1c4f13e1aab602af74a5a2926fe083e1ddb0c87c70ef234d167fc3ab20f095a147375decd1430170e21eee361961d13333816e70a796b3433d40cc56
|
||||
MISC metadata.xml 324 BLAKE2B 1ffb7c15745814f3cd31a57d21c31626168e535f993691109ea2f5fafd53b6e5951b6ac86ef1a4542e8074d20fb197a211208373b218b4a3821577413fcbf3ef SHA512 5c2c35dc69f9560490724309a8039ef989d69ba3452db590292363e349070075efc9f6fa0c3c2dba3d459a09b59751f4c28a4058ba8bbef175397c106cb2ab95
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit meson python-r1
|
||||
|
||||
DESCRIPTION="A utility for viewing problems that have occurred with the system"
|
||||
HOMEPAGE="https://github.com/abrt/gnome-abrt"
|
||||
SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=x11-libs/gtk+-3.10.0:3
|
||||
>=dev-libs/libreport-2.14.0:0=[python,${PYTHON_USEDEP}]
|
||||
>=app-admin/abrt-2.14.0
|
||||
>=dev-python/pygobject-3.29.1:3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxdg-0.19[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
)
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gettext-0.17
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use doc docs)
|
||||
-Dlint=false
|
||||
)
|
||||
|
||||
python_foreach_impl meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl meson_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl meson_src_install
|
||||
python_foreach_impl python_optimize
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl meson_src_test
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit meson python-r1
|
||||
|
||||
DESCRIPTION="A utility for viewing problems that have occurred with the system"
|
||||
HOMEPAGE="https://github.com/abrt/gnome-abrt"
|
||||
SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=x11-libs/gtk+-3.10.0:3
|
||||
>=dev-libs/libreport-2.14.0:0=[python,${PYTHON_USEDEP}]
|
||||
>=app-admin/abrt-2.14.0
|
||||
>=dev-python/pygobject-3.29.1:3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxdg-0.19[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
)
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gettext-0.17
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use doc docs)
|
||||
-Dlint=false
|
||||
)
|
||||
|
||||
python_foreach_impl meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl meson_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl meson_src_install
|
||||
python_foreach_impl python_optimize
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl meson_src_test
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pacho@gentoo.org</email>
|
||||
<name>Pacho Ramos</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">abrt/gnome-abrt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,3 +1,3 @@
|
||||
DIST hardinfo-0.6_alpha_pre20201116.tar.gz 1294614 BLAKE2B d585be00603a5da2873d0e15829039f3f5212e2ab294b71d7f53299d7eecdfbb2d46ee8d56913039bf03807cebe3f100f41ce6560a1a33fcd712eab59c2a92a9 SHA512 34ce849f2d1a9ea129502abfb186b43a0d8ddecc853d2edc3128389944a34efa3580c6d8a35b8fc40b55d64cc8f3c0d33b97f198a449ed0cacdbff2520853c1c
|
||||
EBUILD hardinfo-0.6_alpha_pre20201116-r1.ebuild 800 BLAKE2B 6eb82d270a7b39663b092c58ca322d925c5eed7c4eae1dbdfa3ddbc3d53d44c3c638f9edefc653a001678fb1cf8a4587fe0dd6a324ae550cc6ac9156789e9276 SHA512 c6d39757141a1fd48bb9b3bd3cef67a03110e162ea8f5c3b01e3aed1a1bb4c6b8b5db27d033a6904411511139a5b669cd191411a45d7f8dbb3f58972e359eea5
|
||||
EBUILD hardinfo-0.6_alpha_pre20201116-r1.ebuild 807 BLAKE2B dc8c789d2a758ead03efc6b12b0ebf9015ecfa4629c6298df5060e76f7c24ba74feb3157a2d92a9f69a271d9a80632caa151165c366d2ac4175b2ff1a14f3a13 SHA512 9aa490c2632ca915a6c95cdfcea9f381bd688042f5165a85a1e03f372c0beeaf87cd587e64485ef45a6291731140d0a7e2e1665ccf1d5e7fa4c310beafbbfa2e
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST makepasswd_1.10.orig.tar.gz 12382 BLAKE2B f38e181da077650af760123e86cdbc2f39259db82d06198280ac37f5391a7de00ca7009a69b491a150ec9e542c25b7538141941819ef540714e2a6cd75ddd4c2 SHA512 215b8c3941f395c02be43044aed972425db8fe8472ec9f4f39f7f574d9f36c5a1af5bba495dd10570363e923bfe42c26d7571741ae2ef350e660c9973ac0a5ac
|
||||
EBUILD makepasswd-1.10.ebuild 542 BLAKE2B 869ee71e128bfa671a9f7894673c448ba7f93cb844d69889c90736ba34feb2c0278f41405403fac5eeba5cbac11d121b0d02f4e826065dd3a23f9c2c629ef557 SHA512 0e209d4fa46ed3261fffeb9383452e7d3cd1284dcc46913b5b1a54be0e170c13108ce5ba9ad84e20ff566980d14333124cf9b0dec9350e5381b817a099785faa
|
||||
EBUILD makepasswd-1.10.ebuild 549 BLAKE2B cb265ec500cacba01f9f321a62d5077a67ae20c89fbaf1906ba5ab59a6b3493cf57dae8625414e6d955e20daaf72476ce64d4dfc6713bda59f0056f674f885d9 SHA512 d0be78ee167217fe8c9a3d5002698703e09c17cfb73901215a136dabe16ceb9cac16f4fed5d51301f5c1a15c5a7f381020331ae6716e5bfb1c7d0fd194b7579c
|
||||
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
|
||||
|
@ -0,0 +1,37 @@
|
||||
commit b676e6338a7c094cb3335d11f851ac0e12222017
|
||||
Author: MKLeb <calebb@vmware.com>
|
||||
Date: Wed Oct 5 15:49:37 2022 -0400
|
||||
|
||||
Allow entrypoint compatibility for importlib-metadata>=5.0.0
|
||||
|
||||
diff --git a/salt/utils/entrypoints.py b/salt/utils/entrypoints.py
|
||||
index 3effa0b494..ac65ae2df4 100644
|
||||
--- a/salt/utils/entrypoints.py
|
||||
+++ b/salt/utils/entrypoints.py
|
||||
@@ -38,13 +38,20 @@ def iter_entry_points(group, name=None):
|
||||
entry_points_listing = []
|
||||
entry_points = importlib_metadata.entry_points()
|
||||
|
||||
- for entry_point_group, entry_points_list in entry_points.items():
|
||||
- if entry_point_group != group:
|
||||
- continue
|
||||
- for entry_point in entry_points_list:
|
||||
- if name is not None and entry_point.name != name:
|
||||
+ # pre importlib-metadata 5.0.0
|
||||
+ if hasattr(entry_points, "items"):
|
||||
+ for entry_point_group, entry_points_list in entry_points.items():
|
||||
+ if entry_point_group != group:
|
||||
continue
|
||||
- entry_points_listing.append(entry_point)
|
||||
+ for entry_point in entry_points_list:
|
||||
+ if name is not None and entry_point.name != name:
|
||||
+ continue
|
||||
+ entry_points_listing.append(entry_point)
|
||||
+ # starting with importlib-metadata 5.0.0
|
||||
+ for entry_point in entry_points.select(group=group):
|
||||
+ if name is not None and entry_point.name != name:
|
||||
+ continue
|
||||
+ entry_points_listing.append(entry_point)
|
||||
|
||||
return entry_points_listing
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index bd11ff95f7..3b83f7b6ff 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1173,7 +1173,7 @@ class SaltDistribution(distutils.dist.Distribution):
|
||||
return scripts
|
||||
|
||||
@property
|
||||
- def _property_entry_points(self):
|
||||
+ def _property_entry_points_disabled(self):
|
||||
entrypoints = {
|
||||
"pyinstaller40": [
|
||||
"hook-dirs = salt.utils.pyinstaller:get_hook_dirs",
|
@ -0,0 +1,40 @@
|
||||
diff --git a/tests/unit/utils/test_schema.py b/tests/unit/utils/test_schema.py
|
||||
index 8c648f5288..5886813e28 100644
|
||||
--- a/tests/unit/utils/test_schema.py
|
||||
+++ b/tests/unit/utils/test_schema.py
|
||||
@@ -528,7 +528,7 @@ class ConfigTestCase(TestCase):
|
||||
jsonschema.validate(
|
||||
{"personal_access_token": "foo"}, Requirements.serialize()
|
||||
)
|
||||
- if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0"):
|
||||
+ if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0") and JSONSCHEMA_VERSION < _LooseVersion("4.17.0"):
|
||||
self.assertIn(
|
||||
"'ssh_key_file' is a required property", excinfo.exception.message
|
||||
)
|
||||
@@ -1851,7 +1851,7 @@ class ConfigTestCase(TestCase):
|
||||
jsonschema.validate(
|
||||
{"item": {"sides": "4", "color": "blue"}}, TestConf.serialize()
|
||||
)
|
||||
- if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0"):
|
||||
+ if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0") and JSONSCHEMA_VERSION < _LooseVersion("4.17.0"):
|
||||
self.assertIn("'4'", excinfo.exception.message)
|
||||
self.assertIn("is not of type", excinfo.exception.message)
|
||||
self.assertIn("'boolean'", excinfo.exception.message)
|
||||
@@ -1974,7 +1974,7 @@ class ConfigTestCase(TestCase):
|
||||
|
||||
with self.assertRaises(jsonschema.exceptions.ValidationError) as excinfo:
|
||||
jsonschema.validate({"item": ["maybe"]}, TestConf.serialize())
|
||||
- if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0"):
|
||||
+ if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0") and JSONSCHEMA_VERSION < _LooseVersion("4.17.0"):
|
||||
self.assertIn("'maybe'", excinfo.exception.message)
|
||||
self.assertIn("is not one of", excinfo.exception.message)
|
||||
self.assertIn("'yes'", excinfo.exception.message)
|
||||
@@ -2036,7 +2036,7 @@ class ConfigTestCase(TestCase):
|
||||
|
||||
with self.assertRaises(jsonschema.exceptions.ValidationError) as excinfo:
|
||||
jsonschema.validate({"item": ["maybe"]}, TestConf.serialize())
|
||||
- if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0"):
|
||||
+ if JSONSCHEMA_VERSION >= _LooseVersion("3.0.0") and JSONSCHEMA_VERSION < _LooseVersion("4.17.0"):
|
||||
self.assertIn("'maybe'", excinfo.exception.message)
|
||||
self.assertIn("is not one of", excinfo.exception.message)
|
||||
self.assertIn("'yes'", excinfo.exception.message)
|
@ -1,205 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
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"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~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[${PYTHON_USEDEP}]
|
||||
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||
>=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycryptodome-3.9.8[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/markupsafe[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/toml-0.10.2[${PYTHON_USEDEP}]
|
||||
dev-python/watchdog[${PYTHON_USEDEP}]
|
||||
libcloud? ( >=dev-python/libcloud-2.5.0[${PYTHON_USEDEP}] )
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
libvirt? (
|
||||
$(python_gen_cond_dep 'dev-python/libvirt-python[${PYTHON_USEDEP}]' python3_8)
|
||||
)
|
||||
openssl? (
|
||||
dev-libs/openssl:0=[-bindist(-)]
|
||||
dev-python/pyopenssl[${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[${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-py[${PYTHON_USEDEP}] )
|
||||
selinux? ( sec-policy/selinux-salt )
|
||||
nova? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]' python3_8)
|
||||
)
|
||||
neutron? (
|
||||
$(python_gen_cond_dep '>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]' python3_8)
|
||||
)
|
||||
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||
vim-syntax? ( app-vim/salt-vim )
|
||||
zeromq? ( >=dev-python/pyzmq-19.1.0[${PYTHON_USEDEP}] )
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
>=dev-python/boto-2.32.1[${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-1.3.14[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
=dev-python/pytest-salt-factories-0.121*[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-subtests[${PYTHON_USEDEP}]
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/libcloud[${PYTHON_USEDEP}]
|
||||
net-dns/bind-tools
|
||||
>=dev-python/virtualenv-20.0.20[${PYTHON_USEDEP}]
|
||||
!x86? ( >=dev-python/boto3-1.19.63[${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.3-tests.patch"
|
||||
"${FILESDIR}/salt-3003.1-tests.patch"
|
||||
"${FILESDIR}/salt-3004.1-jinja-3.patch"
|
||||
"${FILESDIR}/salt-3003.4-tests.patch"
|
||||
"${FILESDIR}/salt-3003.4-relax-pyzmq-dep.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_{file,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
|
||||
|
||||
# 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
|
||||
|
||||
# tests require root access
|
||||
rm tests/integration/pillar/test_git_pillar.py || die
|
||||
rm tests/integration/states/test_supervisord.py || die
|
||||
rm tests/pytests/unit/client/test_ssh.py || 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_prepare() {
|
||||
einfo "Fixing collections.abc warnings for ${EPYTHON}"
|
||||
local abc
|
||||
abc="$("${EPYTHON}" -c 'import collections.abc; print("|".join((c for c in dir(collections.abc) if not c.startswith("_"))))')" || die
|
||||
find -name '*.py' -type f -print0 | xargs -0 sed -r -e "s:collections\\.(${abc}):collections.abc.\\1:g" -i || die
|
||||
|
||||
# removes contextvars, see bug: https://bugs.gentoo.org/799431
|
||||
sed -i '/^contextvars/d' requirements/base.txt || die
|
||||
}
|
||||
|
||||
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() {
|
||||
# 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)"
|
||||
(
|
||||
export TMPDIR
|
||||
cleanup() { rm -rf "${TMPDIR}" || die; }
|
||||
|
||||
trap cleanup EXIT
|
||||
|
||||
addwrite "${TMPDIR}"
|
||||
|
||||
USE_SETUPTOOLS=1 NO_INTERNET=1 SHELL="/bin/bash" \
|
||||
"${EPYTHON}" -m pytest -vv \
|
||||
|| die "testing failed with ${EPYTHON}"
|
||||
)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python_targets_python3_8; then
|
||||
if use nova; then
|
||||
ewarn "Salt's nova functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/python-novaclient does not support it yet"
|
||||
fi
|
||||
if use neutron; then
|
||||
ewarn "Salt's neutron functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/python-neutronclient does not support it yet"
|
||||
fi
|
||||
if use libvirt; then
|
||||
ewarn "Salt's libvirt functionality will not work with python3.8 since"
|
||||
ewarn "dev-python/libvirt-python does not support it yet"
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST system-config-printer-1.5.16.tar.xz 1382124 BLAKE2B 37548bd470f8e80026e014d4077a79a38ad54258d620654536890b67b688fc790c9a9a269b321f2e12d63ec21f24858866e39b41089195c528ddbdf1351bba5f SHA512 ed20a409def66bdea7de4cd5b397891eca220c841e1b5c8cab98e45f87389ae8ba881d9e24072dd07203141fc34c49c4b67cf099791857c007971e3b7d2e2fc2
|
||||
DIST system-config-printer-1.5.18.tar.xz 1396808 BLAKE2B 910e853829ee876edc597a3103b5ab857b3b8c1cb87096f25213b1088e35d9f4d320dad61f55b530283a7650b07abe028a53b4e144b33b1b66c733cb2caa8011 SHA512 33dc9c52d92f4234e055fb10a99cadd58424dcdb62554797b44bdd5319f1c3662bd2fa33417ac3a3f5ec51216d64e81e1897f3e671eb49f6be34057d7c38f3f4
|
||||
EBUILD system-config-printer-1.5.16-r1.ebuild 2074 BLAKE2B 6064a0cccc81f78fab6769164ddc870adbf2e2472421f162c0d6aa7bec9a67a8ed1cb19e7327bf8835b051a710fe5aeaca49b04722db40950631c23368728990 SHA512 0d077bc93964462ff9a79ebfcce6c5bef72e15bea4790549c9318bed814a7bf6b2702a7acd57c680010c1e76abb316099e54e53fd427985c6359c80a9ff1a3e6
|
||||
EBUILD system-config-printer-1.5.18.ebuild 2079 BLAKE2B c71d502bb5cb4e41b2e43faf2db3cd1e73cf0a12271a7aa7ae57d0052e36ff91ddc16af1fa2f4c0e0193c344190096356e91e4130bbfda4a54560f743505b82a SHA512 ebea287b17f3528335eba688f436a0518e5944af93ceaf3ce41892c5c8bf32c88760383ad3d44a5421024c0e0bec061b56a7b7bdd3e2b81bee35f1b7ce0fae3a
|
||||
EBUILD system-config-printer-1.5.18.ebuild 2086 BLAKE2B ce6893731af2a0da51c2ddbc4098c9920c8fa4d8af1ad45ab22085abc7b77ce75425e749b99c485ac37e42e788fa8da69d94ad42d34d4c78b3ea007e4bb6eafa SHA512 89fe58eee7b3dc8837bcf9a07b4594e413f63b5c8c7f5f932def745e2e4684f7f319526c5cf3dbfb340b5f60fc2eba61dee53fa50cc8e28a72c8777a52d6e69f
|
||||
MISC metadata.xml 597 BLAKE2B 4691f7f385a864b26ed00b5d05310d45aa52d1cbcfb118ec4b1323df470a761162bb7c037cc8eec253f1dd5302d0036379044e83257ba6be43d878b28ebf11e6 SHA512 e4b52d3a4070116472e4fb617796a7cdaef0b3cfc825ccdc39392b5ba63afdedad4232a9eacf89c209a3202d95c2c0cadf17ae8d3698d2e2258310cebfa89744
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for managing secrets"
|
||||
HOMEPAGE="https://vaultproject.io/"
|
||||
|
||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
||||
webui? (
|
||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
||||
)"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="+webui"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/zip
|
||||
dev-go/gox
|
||||
>=dev-lang/go-1.15.3"
|
||||
COMMON_DEPEND="acct-group/vault
|
||||
acct-user/vault"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
FILECAPS=(
|
||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
||||
)
|
||||
|
||||
RESTRICT+=" test"
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
||||
-i scripts/build.sh || die
|
||||
sed -e "/hooks/d" \
|
||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
||||
-e "s/gofumpt/gofmt/g" \
|
||||
-i Makefile || die
|
||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
||||
rm -rf "${S}/http/web_ui" || die
|
||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
||||
die "mv failed"
|
||||
else
|
||||
mkdir -p "${S}/http/web_ui" || die
|
||||
touch "${S}/http/web_ui/no_web_ui" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${T}"/bin || die
|
||||
BUILD_TAGS="$(usex webui ui '')" \
|
||||
GOPATH="${T}" \
|
||||
XC_ARCH=$(go env GOARCH) \
|
||||
XC_OS=$(go env GOOS) \
|
||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
||||
emake bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for managing secrets"
|
||||
HOMEPAGE="https://vaultproject.io/"
|
||||
|
||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
||||
webui? (
|
||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
||||
)"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+webui"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/zip
|
||||
dev-go/gox
|
||||
>=dev-lang/go-1.15.3"
|
||||
COMMON_DEPEND="acct-group/vault
|
||||
acct-user/vault"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
FILECAPS=(
|
||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
||||
)
|
||||
|
||||
RESTRICT+=" test"
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
||||
-i scripts/build.sh || die
|
||||
sed -e "/hooks/d" \
|
||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
||||
-e "s/gofumpt/gofmt/g" \
|
||||
-i Makefile || die
|
||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
||||
rm -rf "${S}/http/web_ui" || die
|
||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
||||
die "mv failed"
|
||||
else
|
||||
mkdir -p "${S}/http/web_ui" || die
|
||||
touch "${S}/http/web_ui/no_web_ui" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${T}"/bin || die
|
||||
BUILD_TAGS="$(usex webui ui '')" \
|
||||
GOPATH="${T}" \
|
||||
XC_ARCH=$(go env GOARCH) \
|
||||
XC_OS=$(go env GOOS) \
|
||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
||||
emake bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fcaps go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for managing secrets"
|
||||
HOMEPAGE="https://vaultproject.io/"
|
||||
|
||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
||||
webui? (
|
||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
||||
)"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
IUSE="+webui"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/zip
|
||||
dev-go/gox
|
||||
>=dev-lang/go-1.15.3"
|
||||
COMMON_DEPEND="acct-group/vault
|
||||
acct-user/vault"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
FILECAPS=(
|
||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
||||
)
|
||||
|
||||
RESTRICT+=" test"
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
||||
-i scripts/build.sh || die
|
||||
sed -e "/hooks/d" \
|
||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
||||
-e "s/gofumpt/gofmt/g" \
|
||||
-i Makefile || die
|
||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
||||
rm -rf "${S}/http/web_ui" || die
|
||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
||||
die "mv failed"
|
||||
else
|
||||
mkdir -p "${S}/http/web_ui" || die
|
||||
touch "${S}/http/web_ui/no_web_ui" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${T}"/bin || die
|
||||
BUILD_TAGS="$(usex webui ui '')" \
|
||||
GOPATH="${T}" \
|
||||
XC_ARCH=$(go env GOARCH) \
|
||||
XC_OS=$(go env GOOS) \
|
||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
||||
emake bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
DIST bzip3-1.1.5.tar.xz 265340 BLAKE2B 0226a97d564f1c9d9d1089b43ae79a9e43d0b77628298ef953c45505ad8d62caaf17bf6fa357857f123cf072b8ccd3003bfe138f25284baa5a5a5cdd8a555f71 SHA512 589c2e8e675a61014c7c4e82d0f2067201e3fb97bf7cfa6b7aa23690dc739824226089ac710509cc085b22eeb671ed5e23c6493967a433d3b284cb638af71be8
|
||||
DIST bzip3-1.1.6.tar.xz 265708 BLAKE2B 9429dcb3e9deef8aafdf890215ba95669dbcb135d6d2896f18cc70b482bab321497d3a26f36be59700ad0da879578b7c906f20629c72642aa15fc3b1507a788a SHA512 19120d3a850495a5bcc43b124e4a8eddf41bac55119d0898bf1e7c5b744f4bcc84c41b9018615f577fe3bfdceab8dd2ab6f2722cb9fbf86bf1c0a2da9ca32916
|
||||
DIST bzip3-1.1.8.tar.xz 269668 BLAKE2B fe85ba2ecca8e2433501c13e57856720da731b6c959340a68dd4654a516c12e034a90ff6cd6aed55dd2160c3860fdc3e60cddd47ffd00737a657a2e6c73704af SHA512 36141a48f0d5b35de4b06117ceca3c5d5cdc3df6be187856f1436751984b0154942e0eece531ee7b191cc0cd7056960de6a1ca3ec0fc2bcc7ff1d50444cd1e3e
|
||||
DIST bzip3-1.2.0.tar.xz 271664 BLAKE2B 5cdc257d86c88e808f506a4a3dd2a3eb365eda5ca064737386c46a65471934b32535383d844802574cc5274f306b82fef2e1adf12eb8c0059691c6e848d5eeda SHA512 02c653b9450ff41c7a164526d12fa601eed097c3badc6f7cce9b1f38db43c18b315a9f0cc49b47e9d87548b42f1a627b11eb4f956a60176465089f94f985562a
|
||||
EBUILD bzip3-1.1.5.ebuild 780 BLAKE2B 40c5d480da40010a89acd6f33a35048bdf5983017b9701840b917ff2fc56ffff93da2189cc783f1009d2de3063a41892bba33d3a59bf5a1d9d0c4104075dc71b SHA512 2b3d5355ca469a43563a54ffc1bc8f3e1378955e955e5e603659f7367296c68cbf0392550df77c2ae29f919b01ab33505371ed0a871e98ede7174eb7bf15c6f5
|
||||
EBUILD bzip3-1.1.6.ebuild 782 BLAKE2B 63fd29cc68cd7caa2e8108efbcfd7061d15dfbd5adab63c13c2214650fd6f443d4be06f7baa0f9c723b48eb9562976cfb8aa0c646784dfa3561d8374419959b6 SHA512 9183d00e40f9750cc71dc3d8b15e0fdea75122e2e32911c04cdfbdaf4b8b5ebfaa47c6d6ca2d2ab779a0c52d9221794f1353a6c980b5be2c81ed74d8a0d0ca58
|
||||
EBUILD bzip3-1.1.8.ebuild 782 BLAKE2B 63fd29cc68cd7caa2e8108efbcfd7061d15dfbd5adab63c13c2214650fd6f443d4be06f7baa0f9c723b48eb9562976cfb8aa0c646784dfa3561d8374419959b6 SHA512 9183d00e40f9750cc71dc3d8b15e0fdea75122e2e32911c04cdfbdaf4b8b5ebfaa47c6d6ca2d2ab779a0c52d9221794f1353a6c980b5be2c81ed74d8a0d0ca58
|
||||
EBUILD bzip3-1.2.0.ebuild 782 BLAKE2B 63fd29cc68cd7caa2e8108efbcfd7061d15dfbd5adab63c13c2214650fd6f443d4be06f7baa0f9c723b48eb9562976cfb8aa0c646784dfa3561d8374419959b6 SHA512 9183d00e40f9750cc71dc3d8b15e0fdea75122e2e32911c04cdfbdaf4b8b5ebfaa47c6d6ca2d2ab779a0c52d9221794f1353a6c980b5be2c81ed74d8a0d0ca58
|
||||
MISC metadata.xml 879 BLAKE2B eacb925ae4939be72ae25f0f333d8c8e1c08b2fd7946e27dfadd214b8fd5f27eef3f141f9ca911cf89151245f2fa11c7a8c5459c63badbfaf71e62aaca6d67f4 SHA512 963eae34b110b883993959f97a84c5fbaae914e009d024379d8b83ad02b335f3d7404ecd9020e291a38e78cb358dd4d0ff1b4b8f3604a2cc719e9d82ebee1e50
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A better and stronger spiritual successor to BZip2"
|
||||
HOMEPAGE="https://github.com/kspalaiologos/bzip3"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/kspalaiologos/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/kspalaiologos/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
src_configure() {
|
||||
# ./configure script will default to Clang if it is found on the system,
|
||||
# force the use of CC selected by the user with CC=$(tc-getCC)
|
||||
econf CC=$(tc-getCC)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
DIST upx-3.96-amd64_linux.tar.xz 462784 BLAKE2B bac24742528b241c15bb49cfd6f006c485c28c051606deefc9b3c64d045658d029fe8dd1110120b6c21c03c30c0220ff8638d7e254a0376037b0d0ab013e9f3d SHA512 b4e7ad9ca58e07a0a59bcc1959d7901b1960a0975e4030b16c6aebfccd2f5f9163318f8f5b4a08bfd513138fe4c0fa3e3683f9141f221faa7bdfb8eaba4d0782
|
||||
DIST upx-3.96-arm64_linux.tar.xz 462376 BLAKE2B 202e888def2d60dab9d119548ac85ac6dcd0bff7e0c442fccd9a81961dc10ad96e7fe19b4a7a250c65d0bf9dd49ced8cdc7fdfb08cc7b75953a02afbff682865 SHA512 f1f6556068df27747dd40cdce3f3dfeb5c9a8723bfa76772715db69473267dd11242bf026c5a45e869b0f343559ede232d9a0067f4e4adce555cef1f26013f65
|
||||
DIST upx-3.96-armeb_linux.tar.xz 418060 BLAKE2B bb987a0a1466b3e5f4f2797888bf28c844f42eab3800dae00106cf4078c7196d6737ce9a3b9d1792d1ad1a190da8e90f2d29272127a20e4b2a9f5551511659ff SHA512 1bb570926a44c5471e00e3e2797728fa8122bc4035884f8fe8d7f4f3100e7dbddb84c80ad13c02d1a7454b1df504f96b8c0543913b1963c434ee2191d748e486
|
||||
DIST upx-3.96-i386_linux.tar.xz 485836 BLAKE2B 1bbcbde3d510eec9a38876958bb127eebe46c1f18146a62e5697fcfac0aa34bc910f3908e1783541466e46b305cdfd353902682c97301df38cd0550ca0302c34 SHA512 c679ddaf447735378d116cbff48276e13f9703f19a11364cad411915a153e2d7a6377f2ae8ce0f0383557ec889f44bb9860fd0b65bafce9935c6f381d485b13d
|
||||
DIST upx-3.96-mipsel_linux.tar.xz 483832 BLAKE2B c7f79ecc0e9f0b3f4ae9beaf0dc06e43e4cd747fde5bbd8d24505a008171f55c14ef411927cd112dd7fb170923679266170975e89cbeab43b17d842c20e29ff0 SHA512 252f64bb2d44d687daca645b1e0cd91665a562e86e1ce8fa95b57709134f74810f29f5792f7b8a1fe6c0517728632613a202a209465f1bd56ccbb383d9eea1ae
|
||||
DIST upx-3.96-powerpc64le_linux.tar.xz 505260 BLAKE2B 9e92e5e72436a3309c788a96a03c98bfd53bf51d3a22e85c6e58669b8c5536e107949fa860b25e1abc759b229aef76607819e62db353983f6f87f04d59395599 SHA512 8b577444366288427d6b114793b3f8fb42bf223b82bb78a391e5233c3cb3fe6906722ff7430aeaa764ef3feb77f052da469eab9d0dee90182929beefc5b1f17c
|
||||
DIST upx-3.96-powerpc_linux.tar.xz 479488 BLAKE2B 2d07dd57b742dd5a3ddcc86298618a939bd46a4af6f9bed41a3e0f12456bffb0ba7d76c866076489cb03130a9b9d84493f5401db5e76571cda4d7e9d65bef691 SHA512 a8f38f2467bc31d8cff2dc0fed191d1451aed766ab49336c7c99fe1b1a48455b08d9d45b14c78d655bc3c811c5fa2466701e1a990a5c954b0ce84499458024cb
|
||||
EBUILD upx-bin-3.96.ebuild 1297 BLAKE2B d7b5e92863099b0b34266b9e1b6ca0eb3e9b5d6cc9f774e01330ef229d820eccaa9b1f7212606f2bf23df85456122b4105eb369023955d67732f82f176fe9773 SHA512 b8ed79d48bd3e279c975f616b859bc733c0243e5266990301de28ddf150ff31684ed36ff0cc4190e86f840b7d1410445ef364022c0eb4022bab0ddcec38b2049
|
||||
DIST upx-4.0.0-amd64_linux.tar.xz 509584 BLAKE2B 18ec4cb6ddd04abaa2493164938e65c868e457d9554a0a93f1526cc46effee8f70130d0351fb49399bb31e62b04b344905c69f0c337ca608c4cf1fb1e62ae190 SHA512 48e9e4c78fc7a7358fcb66996870eb9ae39945e99b68c87b196d33a95d7b8bfd7d9e904eb3dce8a8bdbde68c0d2c8dbec4e55014aae330c7faed324f000c9950
|
||||
DIST upx-4.0.0-arm64_linux.tar.xz 494992 BLAKE2B 53e029a4e7b9ec44f60eaaf2255860a30d2b27e288e60dbad223936f1cc5a61011b52341f89a1b62636adea28c27361fbe774917d2c7f0bc5a781e5f5bd067b9 SHA512 c35d8f96acbc35d3cf05236a811917c671b01c52fadf792379dc867b3b5bf1c0edb7f5a1255577622dec218e9cfa8808c37725810d16245c2d0b4c0764ca3451
|
||||
DIST upx-4.0.0-armeb_linux.tar.xz 571268 BLAKE2B f3921ac4dcf3aa30309e3f766b5ba5c2aca3f29832f99964ce6339bb2d432c20f70dc8f10ef56433cbe702b6eefca9b3fecf8592e5f3303c7f7313dac0a8d539 SHA512 0c9f73746bc7af8e21c9ae5ed30f0466141c35a21bcefc3d49b2e7056c1238bb17b996a4b264c73739c2c3334376e4eb9dbbd6c1ea59d4bdfb0f10b2059027e0
|
||||
DIST upx-4.0.0-i386_linux.tar.xz 540496 BLAKE2B 2e284c59f5330ce64d1bf99e2dae65dbd76ab2713be47ac36d03f263cf136343847d1e6554e318959c10f10f491fff739d92ad2785513ea39a039875d3d8b90a SHA512 34e83ad5f7509981291919d251a386a26c4eb6b0e4c2f6ad4d8c3023fd86c953f1e55f2aa8a93bf64134731f18f71236068a01c78e5e61340ec2875dd84c2176
|
||||
DIST upx-4.0.0-mipsel_linux.tar.xz 552492 BLAKE2B eeb3bf051d5770cd4cc3a776ff3bd824408fec284adb30aacd592d7b1705778cedad37ced0f7b4a9568f234209c69d3e73f8553d8ec638e6e064775332f88df5 SHA512 c29dd06e64a7c79a0e157e4eb135dd9540b40e58611c0b77c3cfab9c1ebac174c2dae512a3f2427b6f4a5c8f94d52e0574845056331067fe3954c616e8115427
|
||||
DIST upx-4.0.0-powerpc64le_linux.tar.xz 560504 BLAKE2B c34d3259af01990f934b643dd59fef89dcb7d7471aa5012b231e584c80eb7b763b331c9433813ea573e9b638077ab701d1cf02e387418e601eba08de5efe7497 SHA512 46319b4737e6d8f6dd4f6b72ddcfe3a2e6755b87a58ec789017a598f3ddc44706770f5fe3e820de6df8348fc6ad42baced240aad77275c867f55d6d4e13b7ab0
|
||||
DIST upx-4.0.0-powerpc_linux.tar.xz 552572 BLAKE2B 2569b29618d828c8a7ff08cb2e302c6201b8422f0ba8eaa78b483c770839795121d12165dd8448812524f63dce115a9d0cfbe07ffde4465ddde7aad0bace136d SHA512 6b9135d482704a81e14d99b223c7f623f79933f09901f94c31a605da3ae0118af513785c9efec6c66d1395d27ce56fe2e25b2830b34652264c8298bae975b882
|
||||
EBUILD upx-bin-4.0.0.ebuild 1317 BLAKE2B 533d34c253e36a66405fdd5ead3166d5a0e53961d3cd7d8fd4eebf05166b6ed90839371bfb2030c389bbc5feedfd646bdae7c358f71318ee115ed46fffa8ccec SHA512 a060f5843e23b785910fd9bf22d6611cb6128939e58a06d2d7de753744f880002fecfc126455009335819ab2b954db6865752564977e4ddddcb3ba1d6f75fe89
|
||||
MISC metadata.xml 479 BLAKE2B fafbeeb827ba16ec14c3682982e7cbb1ef9264b637086d58aca32a632b1f273f1cc7ede069d61439a498f04e09368e4095829de7dd95b17afafc80f7ceb15695 SHA512 956e31235fec93e773f9bdbe62de739e3994d92b3a56ea97f65db5b20f182f4fbeed62370a28bf98447fddfa89efec4b8b4d63daf9020210810bd8bb201534e4
|
||||
|
@ -1,5 +1,3 @@
|
||||
AUX upx-3.96_CVE-2020-24119.patch 1371 BLAKE2B 54209c114c4a8cab51e7e7ec13cfee055a5f940df4dcbe40b7a35664378a20effdbedfef7b34e4a98510272f221540f87bf47bb439db96a68cc19177e6be71ff SHA512 9b887882e7344d77635091cd01d3c7aa9f45156f43896155988e3e1b7726d76642b4bc9b6c2db06af14710aaa9bfda16e97bc0d1127b77190b72e683d394beff
|
||||
AUX upx-3.96_CVE-2021-20285.patch 4481 BLAKE2B 345bce505a045c53b48dad3102f52588ceb7f2736cdbeab31ed5f65a5cf5a5344cb9ca700cfc3d7fac2569a91f454a652a676c83aafb1be884b0fae229d3afae SHA512 f596f13634eb2173f4c549d41387bdb6785501afb7d3a68d70f90dcdbadc615e95de024e1810af2b3663137692a7322d32a290357e0f7a96ca2acf51228b0abc
|
||||
DIST upx-3.96-src.tar.xz 792524 BLAKE2B 21af85dbcfdd1bf0151a653c865db13c9f30b9de0b9b4b94557ddd55736c7053dd829c5d72b9a7e5aa94a71ecc0151145dd66d7d98ded178c50ff7357d0ba442 SHA512 2d4d1be21d274d9bfdee9b9815396f5e5ff0bcdfb781b7be5fafa4d1e224028e412ec5f5ba607c482671aae27ccf9069abb2db0fb58f78f3a102a51897df2b11
|
||||
EBUILD upx-3.96-r2.ebuild 950 BLAKE2B 8d82f08655dbebcee420bb234e846a607ba5927eed16cfede97b62a4a34e7d67633e5f4721081709f621d6b1b16a81b3a9677a8d09f3deef8cb2b80a6671f09e SHA512 72816d4a1f956032cde555d93e4dacd18393f808bc1ad662c2f3fb3c43d3354bf11afb719859654ab59dac25e171c31cb6de3a20a91604f8cbadc62809987ccf
|
||||
DIST upx-4.0.0-src.tar.xz 1159308 BLAKE2B d2626a63b626f9b4e913b822e699fa93b7080d322b19555d44d7cf4ce17b37f0d50ec1381d07d0e4f8827e8edcd29d525d497fa79acd18d520ac58e176fb2b72 SHA512 fe3e8c594e845a91338b1e11fe3cb6371430af40a567187d63835e27da8b2abf993a104b0693063f4db984234bada7b2bd16ad79e3ad90861a1f495d99de7de6
|
||||
EBUILD upx-4.0.0.ebuild 651 BLAKE2B 79aca51cc6fa40e8a39fecd5d512cd191d9981c3e584ab18629c52253d036fd52802476f24060c40117273853d7862c6359c47d8da69732402c89cf2e7c07398 SHA512 168ee21480b5b065f0ec20b3a6916a479db25a358b4a7894d7bdccad4a2505fe12d975ee363b8a687fe0f395e5a07f12d3fc44eb0eacae5bbbe087cfbc4e259c
|
||||
MISC metadata.xml 479 BLAKE2B fafbeeb827ba16ec14c3682982e7cbb1ef9264b637086d58aca32a632b1f273f1cc7ede069d61439a498f04e09368e4095829de7dd95b17afafc80f7ceb15695 SHA512 956e31235fec93e773f9bdbe62de739e3994d92b3a56ea97f65db5b20f182f4fbeed62370a28bf98447fddfa89efec4b8b4d63daf9020210810bd8bb201534e4
|
||||
|
@ -1,34 +0,0 @@
|
||||
From 87b73e5cfdc12da94c251b2cd83bb01c7d9f616c Mon Sep 17 00:00:00 2001
|
||||
From: John Reiser <jreiser@BitWagon.com>
|
||||
Date: Wed, 22 Jul 2020 19:34:27 -0700
|
||||
Subject: [PATCH] Unpack: Phdrs must be within expansion of first compressed
|
||||
block
|
||||
|
||||
https://github.com/upx/upx/issues/388
|
||||
modified: p_lx_elf.cpp
|
||||
---
|
||||
src/p_lx_elf.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp
|
||||
index cd9e4ec97..453d5c457 100644
|
||||
--- a/src/p_lx_elf.cpp
|
||||
+++ b/src/p_lx_elf.cpp
|
||||
@@ -4550,7 +4550,7 @@ void PackLinuxElf64::unpack(OutputFile *fo)
|
||||
unsigned c_adler = upx_adler32(NULL, 0);
|
||||
unsigned u_adler = upx_adler32(NULL, 0);
|
||||
#define MAX_ELF_HDR 1024
|
||||
- if ((MAX_ELF_HDR - sizeof(Elf64_Ehdr))/sizeof(Elf64_Phdr) < u_phnum) {
|
||||
+ if ((umin64(MAX_ELF_HDR, ph.u_len) - sizeof(Elf64_Ehdr))/sizeof(Elf64_Phdr) < u_phnum) {
|
||||
throwCantUnpack("bad compressed e_phnum");
|
||||
}
|
||||
#undef MAX_ELF_HDR
|
||||
@@ -5617,7 +5617,7 @@ void PackLinuxElf32::unpack(OutputFile *fo)
|
||||
unsigned c_adler = upx_adler32(NULL, 0);
|
||||
unsigned u_adler = upx_adler32(NULL, 0);
|
||||
#define MAX_ELF_HDR 512
|
||||
- if ((MAX_ELF_HDR - sizeof(Elf32_Ehdr))/sizeof(Elf32_Phdr) < u_phnum) {
|
||||
+ if ((umin(MAX_ELF_HDR, ph.u_len) - sizeof(Elf32_Ehdr))/sizeof(Elf32_Phdr) < u_phnum) {
|
||||
throwCantUnpack("bad compressed e_phnum");
|
||||
}
|
||||
#undef MAX_ELF_HDR
|
@ -1,76 +0,0 @@
|
||||
From 3781df9da23840e596d5e9e8493f22666802fe6c Mon Sep 17 00:00:00 2001
|
||||
From: John Reiser <jreiser@BitWagon.com>
|
||||
Date: Fri, 11 Dec 2020 13:38:18 -0800
|
||||
Subject: [PATCH] Check DT_REL/DT_RELA, DT_RELSZ/DT_RELASZ
|
||||
|
||||
https://github.com/upx/upx/issues/421
|
||||
modified: p_lx_elf.cpp
|
||||
---
|
||||
src/p_lx_elf.cpp | 34 +++++++++++++++++++++++++++++-----
|
||||
1 file changed, 29 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/src/p_lx_elf.cpp b/src/p_lx_elf.cpp
|
||||
index 182db192..3a4101cf 100644
|
||||
--- a/src/p_lx_elf.cpp
|
||||
+++ b/src/p_lx_elf.cpp
|
||||
@@ -2222,8 +2222,20 @@ bool PackLinuxElf32::canPack()
|
||||
int z_rsz = dt_table[Elf32_Dyn::DT_RELSZ];
|
||||
if (z_rel && z_rsz) {
|
||||
unsigned rel_off = get_te32(&dynseg[-1+ z_rel].d_val);
|
||||
+ if ((unsigned)file_size <= rel_off) {
|
||||
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||
+ "bad Elf32_Dynamic[DT_REL] %#x\n",
|
||||
+ rel_off);
|
||||
+ throwCantPack(msg);
|
||||
+ }
|
||||
Elf32_Rel *rp = (Elf32_Rel *)&file_image[rel_off];
|
||||
unsigned relsz = get_te32(&dynseg[-1+ z_rsz].d_val);
|
||||
+ if ((unsigned)file_size <= relsz) {
|
||||
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||
+ "bad Elf32_Dynamic[DT_RELSZ] %#x\n",
|
||||
+ relsz);
|
||||
+ throwCantPack(msg);
|
||||
+ }
|
||||
Elf32_Rel *last = (Elf32_Rel *)(relsz + (char *)rp);
|
||||
for (; rp < last; ++rp) {
|
||||
unsigned r_va = get_te32(&rp->r_offset);
|
||||
@@ -2562,14 +2574,26 @@ PackLinuxElf64::canPack()
|
||||
int z_rel = dt_table[Elf64_Dyn::DT_RELA];
|
||||
int z_rsz = dt_table[Elf64_Dyn::DT_RELASZ];
|
||||
if (z_rel && z_rsz) {
|
||||
- unsigned rel_off = get_te64(&dynseg[-1+ z_rel].d_val);
|
||||
+ upx_uint64_t rel_off = get_te64(&dynseg[-1+ z_rel].d_val);
|
||||
+ if ((u64_t)file_size <= rel_off) {
|
||||
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||
+ "bad Elf64_Dynamic[DT_RELA] %#llx\n",
|
||||
+ rel_off);
|
||||
+ throwCantPack(msg);
|
||||
+ }
|
||||
Elf64_Rela *rp = (Elf64_Rela *)&file_image[rel_off];
|
||||
- unsigned relsz = get_te64(&dynseg[-1+ z_rsz].d_val);
|
||||
+ upx_uint64_t relsz = get_te64(&dynseg[-1+ z_rsz].d_val);
|
||||
+ if ((u64_t)file_size <= relsz) {
|
||||
+ char msg[70]; snprintf(msg, sizeof(msg),
|
||||
+ "bad Elf64_Dynamic[DT_RELASZ] %#llx\n",
|
||||
+ relsz);
|
||||
+ throwCantPack(msg);
|
||||
+ }
|
||||
Elf64_Rela *last = (Elf64_Rela *)(relsz + (char *)rp);
|
||||
for (; rp < last; ++rp) {
|
||||
- unsigned r_va = get_te64(&rp->r_offset);
|
||||
+ upx_uint64_t r_va = get_te64(&rp->r_offset);
|
||||
if (r_va == user_init_ava) { // found the Elf64_Rela
|
||||
- unsigned r_info = get_te64(&rp->r_info);
|
||||
+ upx_uint64_t r_info = get_te64(&rp->r_info);
|
||||
unsigned r_type = ELF64_R_TYPE(r_info);
|
||||
if (Elf64_Ehdr::EM_AARCH64 == e_machine
|
||||
&& R_AARCH64_RELATIVE == r_type) {
|
||||
@@ -2581,7 +2605,7 @@ PackLinuxElf64::canPack()
|
||||
}
|
||||
else {
|
||||
char msg[50]; snprintf(msg, sizeof(msg),
|
||||
- "bad relocation %#x DT_INIT_ARRAY[0]",
|
||||
+ "bad relocation %#llx DT_INIT_ARRAY[0]",
|
||||
r_info);
|
||||
throwCantPack(msg);
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="https://upx.github.io/"
|
||||
SRC_URI="https://github.com/upx/upx/releases/download/v${PV}/${P}-src.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/ucl-1.03
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${RDEPEND}
|
||||
!app-arch/upx-bin"
|
||||
BDEPEND="
|
||||
app-arch/xz-utils[extra-filters]
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}_CVE-2020-24119.patch"
|
||||
"${FILESDIR}/${P}_CVE-2021-20285.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
emake CXXFLAGS_WERROR="" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin src/upx.out upx
|
||||
dodoc BUGS NEWS PROJECTS README* THANKS doc/*.txt doc/upx.html
|
||||
doman doc/upx.1
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL compression and not NRV)"
|
||||
HOMEPAGE="https://upx.github.io/"
|
||||
SRC_URI="https://github.com/upx/upx/releases/download/v${PV}/${P}-src.tar.xz"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="!app-arch/upx-bin"
|
||||
BDEPEND="app-arch/xz-utils[extra-filters]"
|
||||
|
||||
src_test() {
|
||||
# Don't run tests in parallel, #878977
|
||||
cmake_src_test -j1
|
||||
}
|
Binary file not shown.
@ -1,10 +1,8 @@
|
||||
AUX borgmatic-1.5.1-no_test_coverage.patch 284 BLAKE2B 91e041cb2d3d15b65c47075b0524e6e2a60631702eb10243da79b8051504e33476e6f8d61a3d9a172302b9859a01afb0d640a502cc95f69e45024a8fdb5ebc53 SHA512 1604d425f4c3267a41449f5d05675634f365d0be0630b49812e87d13ebc4ee78e01259f2371afbf2150b5b1203676e20c50c1613be24e0fa39df635d229f80bc
|
||||
AUX borgmatic-1.5.16-systemd_service_bin_path.patch 556 BLAKE2B f90b66d3d46ea972ed67bff74365b72e5e7df16199b439e5ad785b731eaa9a3eff5cfa6c9084c1b212b2359e9b8a14b1d0952ec6a560746acfbe594a2267e0ac SHA512 b23d899754762e29221b537c303e65a3b84e4a580d502f96870e8927ab2ef79b557f2c5638cfc4557ea5dfb6bea82b9776c6a67e65fda8a02138d3c57dfc00e6
|
||||
AUX borgmatic-1.7.3-systemd_service_bin_path.patch 604 BLAKE2B 9b1c613ce2667d2b8846e1bdf7e7bd838529fb9029af2ca572dcbafc5a8c9b64c79cab820be3b750c5fcb060da72cdf1c449cbe50efefe63ef1eb6a884e26e14 SHA512 6ca6c351697db1ae26de2b00ad543fc8f1cea1b0f4ef84f82f9578d9e56da58b4437ed48839c5aaf7d5ea66fcb79620d0cc12b8a2b30862b488fae07ad182638
|
||||
DIST borgmatic-1.6.6.tar.gz 323601 BLAKE2B b40d8f00e3b7bbd343336cf4c6992e34d8289de451c184717827e8e43519b84d4bb9b8cff6a835a7cc502d2e93045f0196d744e4b6ad800de1276e11c3189cec SHA512 f1a6dfa344ebee89e88f1aa6b43d8493c80815c637d8e0f7f6314462fd511b576e62246d957023ab2f9a68875d2818e2b8ef00cbf3339dc35a93d6ebad0bed19
|
||||
DIST borgmatic-1.7.2.tar.gz 333772 BLAKE2B fd628e9c77547686d4edf5d1066d3c171575f4d923ebc5205c5eb64f3a960e94c121282e9f4fb02b1291a81011a18dc393c6d13a07f215585459e7a5b55f8107 SHA512 6ec12ec25ae4d0210bb9114795c1ea292d8236f9e68c9425e24ee7b580796504e4c317a3fcf778806a33bbd3db68669beb4ef7a88ec538c1bd432db9a2845b3e
|
||||
DIST borgmatic-1.7.4.tar.gz 337521 BLAKE2B cbdf22c7428d2bd098a8bec0608c9d2fe41ab945aca4921cf78f72a5b73e2ea562a1e9e37705ada615f830b2655977179beca0f9a9bfa2937cc1cde0c292caed SHA512 bd320cbbb108fa20f7acc9a50fd4404166556a74df0a3631a2beca61de0e50c29e1e102345e6c3759538420040f359ff2f0cefe89b49c2c19250a4c7a27acd54
|
||||
EBUILD borgmatic-1.6.6.ebuild 1904 BLAKE2B b03ba369e333dc898f8b7901ee651470ccd83d05c37becedbc2f6ddea0b5d29515eb5331015645b1b5f17b921dc180907d1a02edf96a6a1546db4d444f01b415 SHA512 dc5208c3fbed40f6617effc59539e1fcf1cc166ce4083f8a0475b22b0f1a8e70e4f0dcaf35c3acecd6ee6c08b1dd32961d59284b2baba565ea4c558f0bfcebab
|
||||
EBUILD borgmatic-1.7.2.ebuild 2132 BLAKE2B f1fbbcda7472bb4b2d4faa8d7470fa23570498fe1299af1fbe01e710c209d467da1c72be978bf9ebf6668661ac7a6dd7b48c9969758f0f3f6fde0c3b92faaad1 SHA512 10962b09f1d1a20aa1937f99274aedcc1da7f97ce5116d2721502d284f1cf0cd4ee06d90d612c775c7a9ef451688e76c88a56cb00a0407b5911d79a0c867fa6b
|
||||
EBUILD borgmatic-1.7.4.ebuild 1696 BLAKE2B 60856bcf3b73f9ee31f2b49665637cbd9856f843f6dd62c8ec3cf4a058a3493dd9e7f241450a3644b478b0ed6f8435f374ece20f4863a0a8f929b516b798bf87 SHA512 f957bc2ae30f663388f87623836e0ab19168ccb0ed9c0970a2990f7c2c4861534d9a71fc0376b94ab9b5e01450eca225bac16b298a50b911af11b35dfab11a09
|
||||
EBUILD borgmatic-1.7.4.ebuild 1919 BLAKE2B 950adf648fe3fdafa0e141641ba93dcb98c4f69d8cc0286320dbc97b14556b482f4a5610d835d15e8d237af29fedb5166fd06a70d0a69aba74b0f5037f7821b4 SHA512 362067b080c624a817f5814e6dafe564e37fa14fc87f76c55ab26d04c71a3a739c826318c7e066fb8610b3bf3a86f26004001cfb9c78b76a331ed82b55bfeffa
|
||||
MISC metadata.xml 380 BLAKE2B bd4f6eb451caa6b36d51dff099c7885ad2c30f2f9f5397e12049a28214601d67853f0dc604e6e42a566b8bf57acf0d9e39c685af8743cce72ec3b5b07adea72e SHA512 1d2c0a22d3b844b58ed35f3fae261a1d6906e5e1b0e69bbe364e0409f335b44f04089ea1d0e6144e2ddfcf066cc8ad85d14c0b22a28ddd22d235c48e1401569f
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
|
||||
HOMEPAGE="https://torsion.org/borgmatic/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~riscv"
|
||||
|
||||
# borg is called as an external tool, hence no pythonic stuff
|
||||
RDEPEND="app-backup/borgbackup
|
||||
$(python_gen_cond_dep '
|
||||
<dev-python/colorama-0.5[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
<dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
')"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
|
||||
')
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
|
||||
"${FILESDIR}"/${PN}-1.5.16-systemd_service_bin_path.patch
|
||||
)
|
||||
|
||||
# test_borgmatic_version_matches_news_version tries to run the 'borgmatic'
|
||||
# executable so making it work would require passing --install
|
||||
# to distutils_enable_tests. Given that this is the only test requiring
|
||||
# this and that all it does is make sure the NEWS file has been updated
|
||||
# for the current version, just skip it.
|
||||
EPYTEST_DESELECT=(
|
||||
tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
systemd_dounit sample/systemd/borgmatic.{service,timer}
|
||||
keepdir /etc/borgmatic
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
elog "To generate a sample configuration file, run:"
|
||||
elog " generate-borgmatic-config"
|
||||
fi
|
||||
elog
|
||||
elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools systemd
|
||||
|
||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||
HOMEPAGE="https://burp.grke.org/"
|
||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="acl ipv6 test xattr"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="acct-group/burp
|
||||
acct-user/burp
|
||||
dev-libs/uthash
|
||||
dev-libs/openssl:0=
|
||||
net-libs/librsync:=
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/libcap
|
||||
sys-libs/zlib
|
||||
virtual/libcrypt:=
|
||||
acl? ( sys-apps/acl )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
test? ( dev-libs/check )"
|
||||
BDEPEND=">=sys-devel/autoconf-2.71
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/logger"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
|
||||
"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
||||
"${FILESDIR}"/${PN}-2.4.0-fix-musl-strptime.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--sysconfdir=/etc/burp
|
||||
--enable-largefile
|
||||
--runstatedir=/run
|
||||
$(use_enable acl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable xattr)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# See https://github.com/grke/burp/issues/869
|
||||
local -x CK_DEFAULT_TIMEOUT=10
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
keepdir /var/spool/burp
|
||||
fowners -R root:${PN} /var/spool/burp
|
||||
fperms 0770 /var/spool/burp
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0750 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||
elog "client and server mode. In both cases it is disabled by"
|
||||
elog "default. You almost certainly do NOT want to enable it in"
|
||||
elog "client mode because upgrades obtained this way will not be"
|
||||
elog "managed by Portage."
|
||||
|
||||
if [[ ! -e ${EROOT}/etc/burp/CA/index.txt ]]; then
|
||||
elog ""
|
||||
elog "At first run burp server will generate DH parameters and SSL"
|
||||
elog "certificates. You should adjust configuration before."
|
||||
elog "Server configuration is located at"
|
||||
elog ""
|
||||
elog " ${EROOT}/etc/burp/burp-server.conf"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
# According to PMS this can be a space-separated list of version
|
||||
# numbers, even though in practice it is typically just one.
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(ver_cut 1 ${oldver}) -lt 2 ]]; then
|
||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||
ewarn "the server config file by default. If you use bedup, please"
|
||||
ewarn "update your scripts to invoke it as"
|
||||
ewarn ""
|
||||
ewarn " bedup -c ${EROOT}/etc/burp/burp-server.conf"
|
||||
ewarn ""
|
||||
ewarn "Otherwise deduplication will not work!"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST dar-2.7.7.tar.gz 2410835 BLAKE2B c2b1cff205a7af0b714808bbb952677ffdfa8d62289d412e4e3056db16f5c204a2eecc8f770ff57d18839218ff1babcb5c56c9729e03316d698a351dacf47e25 SHA512 984328cff1ed3338707858aced83a6a18e950581f02dd686a2a01668f6c374d0af2d98ba49068a61624641fcfbb139ae893d02e5b5f303b8b26d8e05fcb6a229
|
||||
EBUILD dar-2.7.7.ebuild 2314 BLAKE2B 1c4cdff430fd7a0db122e8f840f1a06234ccc66c1341a4efa1df83584e0eb2140cff94b92688445242302532654c0226fe719ea9c9eff684b9e5352099c58ecb SHA512 9e323c96631a83c8a790f92a708f8bf0d40f2cbe5f8aada9e557ac9248aa6b4a2e7ac8fa44c0a504a16cf0ad4b1f9299e2fae854998087ddd9736076226c5876
|
||||
MISC metadata.xml 1284 BLAKE2B b70f06ea13076c3de9470fa1b65d9a17de048db8f52ade94246c62241828be74f308dcc39067b27ed99ff963c3554e371611aba0bb04ed6d57d14d4f7fd7f9dc SHA512 5cbbbff7e0652a85f717f2eb6a574d6fe52d478e049fa81e1c25b1bbe034086d433558952be1bc56ea4492c9c43f6da1e0968cc9132d18e7342890434c0a19d6
|
||||
MISC metadata.xml 1130 BLAKE2B 481cf9f0c5c146957c8f9c903f44a5975ed8a1d0d85834d8f65a6925cfa952538c1fc644ce8f2202dcd8b07c5e55a34088942c75211a8907214facda4eaacc75 SHA512 5efe6d44444b66a92cb6899cc516582be99a237083305a1b4bde8417b8e03e0bf36937a88302b31fa923e9be1dca44d5e1b8ab190968ba17f51fc6f534b57177
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST dolphin-plugins-22.04.3.tar.xz 257356 BLAKE2B e3d084e628920a08c9e1173c754002f6b0ecfad07bd4d89a64f5b29a7e93362a814ead6aeff80412b01e7198adce78c36f36428560a1ea9e555027113f7d8e6f SHA512 1b96511fbf8ec93b03a5f204c2e4cff232ca0d09e4d1599c89d4d514deb3fb889dfd3050a5cabe4e35b6e65a5283ad09635a13931c8484eebc98a22ba9057b42
|
||||
DIST dolphin-plugins-22.08.2.tar.xz 259816 BLAKE2B 0a7202e1a2397058b34d32976542e58a26602d4791bf2b6e1efcfb4fb5170393c768f7288dcdc00261e80f176c47ead3f299d8f6f2969d9ca36be338b85f7825 SHA512 8636ded42f0bed07cd26986032c111f98e6e5225176d6221cb7691fe4cc5cd29ba2512e741240c64ba7c4bd72cfdb5f21c4762dd45c1493b9f3aefff63936889
|
||||
EBUILD dolphin-plugins-mountiso-22.04.3.ebuild 1501 BLAKE2B feb1c5d9b6fef64ce4823b82e4737116415df23190a74479ddb02892a32bcaf57801aaf3da1535f97845b7254c38e5719320024ecb514abed30cfe24e3651a40 SHA512 6b533059b383784ea61f667d90fe78b0491a504a77c945aaba3a096fd6f459d617530a51ccdadce44d637c9dcbca818abbf0d10831f7c7accdb0599e92c4cd9f
|
||||
EBUILD dolphin-plugins-mountiso-22.08.2.ebuild 1491 BLAKE2B b110af886905527879985a032c7c45428bfda966f45a718c31ee476dda375642d22f5db417d0952a498805f81ed53723abfb245c7766630d7b9365bb90e91cd3 SHA512 16e1ddb0c56acf857ace1d5efa7d7b175fe4f2e00fa8e4acee9618cac4d4ac7a3117ad6a844b5233805b58a6afea3e9e33a0b7f3c2b2924c908f54f2c55f70b4
|
||||
EBUILD dolphin-plugins-mountiso-22.08.2.ebuild 1498 BLAKE2B fe3496bba15f0c0ed51953411c3d8bc547ad0ab3d17523d5ee7d45a251d2384a690086f893dd24caf9c76cb4fb44106ae7f48a415323d35d305e34aba8f7103b SHA512 fecf13650891d14247e55e145bed76ec264c9e5f33abe678853ebea427e751103c4702c1771f736429a2cd724dce12a7f5a43a682c132229967df265d35fca27
|
||||
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
|
||||
|
@ -1,12 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>ceamac.paragon@gmail.com</email>
|
||||
<maintainer type="person">
|
||||
<email>ceamac@gentoo.org</email>
|
||||
<name>Viorel Munteanu</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,159 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 linux-info meson optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="A userspace interface for the Linux kernel containment features"
|
||||
HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/lxc/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
|
||||
IUSE="apparmor +caps examples io-uring man pam seccomp selinux ssl systemd test +tools"
|
||||
|
||||
RDEPEND="acct-group/lxc
|
||||
acct-user/lxc
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
caps? ( sys-libs/libcap[static-libs] )
|
||||
io-uring? ( >=sys-libs/liburing-2:= )
|
||||
pam? ( sys-libs/pam )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tools? ( sys-libs/libcap[static-libs] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-kernel/linux-headers"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
man? ( app-text/docbook2X )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CONFIG_CHECK="~!NETPRIO_CGROUP
|
||||
~CGROUPS
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
|
||||
~MEMCG
|
||||
~NAMESPACES
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
ERROR_MEMCG="CONFIG_MEMCG: needed for memory resource control in containers"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
DOCS=( AUTHORS CONTRIBUTING MAINTAINERS README.md doc/FAQ.txt )
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dcoverity-build=false
|
||||
-Doss-fuzz=false
|
||||
|
||||
-Dcommands=true
|
||||
-Dmemfd-rexec=true
|
||||
-Dthread-safety=true
|
||||
|
||||
$(meson_use apparmor)
|
||||
$(meson_use caps capabilities)
|
||||
$(meson_use examples)
|
||||
$(meson_use io-uring io-uring-event-loop)
|
||||
$(meson_use man)
|
||||
$(meson_use pam pam-cgroup)
|
||||
$(meson_use seccomp)
|
||||
$(meson_use selinux)
|
||||
$(meson_use ssl openssl)
|
||||
$(meson_use test tests)
|
||||
$(meson_use tools)
|
||||
|
||||
-Ddata-path=/var/lib/lxc
|
||||
-Ddoc-path=/usr/share/doc/${PF}
|
||||
-Dlog-path=/var/log/lxc
|
||||
-Drootfs-mount-path=/var/lib/lxc/rootfs
|
||||
-Druntime-path=/run
|
||||
)
|
||||
|
||||
if use systemd; then
|
||||
local emesonargs+=( -Dinit-script="systemd" )
|
||||
local emesonargs+=( -Dsd-bus=enabled )
|
||||
else
|
||||
local emesonargs+=( -Dinit-script="sysvinit" )
|
||||
local emesonargs+=( -Dsd-bus=disabled )
|
||||
fi
|
||||
|
||||
use tools && local emesonargs+=( -Dcapabilities=true )
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
# The main bash-completion file will collide with lxd, need to relocate and update symlinks.
|
||||
mkdir -p "${ED}"/$(get_bashcompdir) || die "Failed to create bashcompdir."
|
||||
|
||||
if use tools; then
|
||||
bashcomp_alias lxc-start lxc-{attach,autostart,cgroup,checkpoint,config,console,copy,create,destroy,device,execute,freeze,info,ls,monitor,snapshot,stop,top,unfreeze,unshare,usernsexec,wait}
|
||||
else
|
||||
bashcomp_alias lxc-start lxc-usernsexec
|
||||
fi
|
||||
|
||||
keepdir /var/lib/cache/lxc /var/lib/lib/lxc
|
||||
|
||||
find "${ED}" -name '*.la' -delete -o -name '*.a' -delete || die
|
||||
|
||||
# Replace upstream sysvinit/systemd files.
|
||||
if use systemd; then
|
||||
rm -r "${D}$(systemd_get_systemunitdir)" || die "Failed to remove systemd lib dir"
|
||||
else
|
||||
rm "${ED}"/etc/init.d/lxc-{containers,net} || die "Failed to remove sysvinit scripts"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd.8" ${PN}
|
||||
systemd_newunit "${FILESDIR}"/lxc-monitord.service.5.0.0 lxc-monitord.service
|
||||
systemd_newunit "${FILESDIR}"/lxc-net.service.5.0.0 lxc-net.service
|
||||
systemd_newunit "${FILESDIR}"/lxc.service-5.0.0 lxc.service
|
||||
systemd_newunit "${FILESDIR}"/lxc_at.service.5.0.0 "lxc@.service"
|
||||
|
||||
if ! use apparmor; then
|
||||
sed -i '/lxc-apparmor-load/d' "${D}$(systemd_get_systemunitdir)/lxc.service" || die "Failed to remove apparmor references from lxc.service systemd unit."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please refer to "
|
||||
elog "https://wiki.gentoo.org/wiki/LXC for introduction and usage guide."
|
||||
elog
|
||||
elog "Run 'lxc-checkconfig' to see optional kernel features."
|
||||
elog
|
||||
|
||||
optfeature "automatic template scripts" app-containers/lxc-templates
|
||||
optfeature "Debian-based distribution container image support" dev-util/debootstrap
|
||||
optfeature "snapshot & restore functionality" sys-process/criu
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX pdfcrack-0.14-cflags.patch 236 BLAKE2B ce6e226f6bb8286437fa3a40abae4d1fbde59f7913f6d5fd0c3b510e8f92043f15e96ab790d777c4306a06291de9f8bab9633cf42b29ec0262f34558035b134e SHA512 8fd2f9bc024bff34bb1f7e90e7f27b80473ca12f340735f4cbb8d3717354df9907a9f05d57950a4a9f9604c2452a75cb7de341b4b84f2d248a63ca047131388b
|
||||
DIST pdfcrack-0.19.tar.gz 35383 BLAKE2B ddbbd813a8b76fd0b643ac5a9f63f8d82f76d2514e43dd0d4a4e4cc4feffb4b01598fc5438aef77f98b48c3df1f04139aa8db76d77eb3ed9d67a36a3b8ef57fb SHA512 e58819e7d90db9a66ebf9509c0b8aace7f8e7dbf5f8083edc70c3f2ca28cf16476bbdbaa77f7c563dcf824e440ca0df03e91d6aaf2a0435ec8f349f4e19ee626
|
||||
DIST pdfcrack-0.20.tar.gz 35647 BLAKE2B 31e0d1324254d660e5cb6cc57e401bf4fe7574630dcd902d73621a5e62c32e13f9cc6a9812c3ab904160727b27c08869f8f9f5b93657db5941a05fa10b49a4ce SHA512 50298aeec8a50b929d1440ea644bacb6afad638552948112b3fb2744124188e0cb52f67a804d76b09f747040aea56eadbab88e90481be8fce8e8147ed4c00188
|
||||
EBUILD pdfcrack-0.19.ebuild 517 BLAKE2B 12d10d2ba979a5637f408e9e0b2a55a934a1bd3885cc0d10e4ebc0828cc7f306092aec0ea3796f4e5c6835ad6ed11c803b2783d6be01d9e31e26b0f432dadb8c SHA512 00fc3f233d0be74c6b626c8d845357991d8904bbc8d391bd59beddbf7698192454730bc759290fa6d4f2f24f64071f3be7638cace4b7d3b0170a28e3bd9248bd
|
||||
EBUILD pdfcrack-0.20.ebuild 517 BLAKE2B 12d10d2ba979a5637f408e9e0b2a55a934a1bd3885cc0d10e4ebc0828cc7f306092aec0ea3796f4e5c6835ad6ed11c803b2783d6be01d9e31e26b0f432dadb8c SHA512 00fc3f233d0be74c6b626c8d845357991d8904bbc8d391bd59beddbf7698192454730bc759290fa6d4f2f24f64071f3be7638cace4b7d3b0170a28e3bd9248bd
|
||||
MISC metadata.xml 323 BLAKE2B 8bf6f35484582b427d43e9a028a027906d94b541f87948ab91c712cbb3ce7d8c912c2dc214919931ae2ca460b2b48ef2902cb4c7582e2d4017fa9eca57af4515 SHA512 35f9882efa018ba4342b5f04847ea6cbb2f573ecd4f0b2d2708346d4a1e3e2437ecb2ea5e63da689788ab9428267a694f2a4aaba40a6a81e09d685b7af1f95a6
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tool for recovering passwords and content from PDF-files"
|
||||
HOMEPAGE="http://pdfcrack.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.14-cflags.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pdfcrack
|
||||
dodoc changelog README
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
AUX 0.2.6-manpage-fixes.patch 1451 BLAKE2B bd67acde05230006a858d57adbe423960a625e095a80e94e4b43de0bbd4c2235fb5551a5b7612b1fe4a457457fbb7dc418aec68b831e1a523078924b28361da8 SHA512 10dbcfa52a7df57ef68dc58f21e1b2931adf0479697e13f99c56ccfbbd1c79188751d1ce7e2b160261170a678a4130a71a6b531820aa59e4ddbd131d5d9cb551
|
||||
AUX shash-0.2.6-binary-files.patch 898 BLAKE2B 892a6bed771a8906b5b00a47b1b13df3754480ef0b18637eed5ab29ac0aa17f4172e7f327d0a28f39fbbf1f29e247fd934d3c18b0591b2dd8130930f7c3cea07 SHA512 47f299097b8a9907ccfe2f877c42ab8f76f02546211643573796b378d67dd7941518341f8fd07e646c1aa11a665ddbca6ae113a4d58f6995007d9b5aec171d8b
|
||||
AUX shash-0.2.6-format-security.patch 413 BLAKE2B 4bcb4a803b8a69c7568d89dfbb900687627f1f51ddefd60b814aa1195daeb6c8026ad1dd55f17fa78ef54fc592b94e9704440f66a47a1c7a70fea0172167e0d7 SHA512 295e5d147c6b66814fb5b863ceab39bec87cdca0d3f1ff3e9d10e59b090a171d96efba080447f1520358ccc4daf8e926c3403e69f966cabdb33722d030ba1b04
|
||||
AUX 0.2.6-manpage-fixes.patch 1294 BLAKE2B e2a80a6178e755027df7c7acd2a647180ba39eca9753396d9d9cc056ca22f0c1acf6c586919fc0dfadce4d7b8acc174dc18e67b4ba9a01b7855ec4458e843a01 SHA512 12cb54fcfa3d09a0c48a3e5e6e7cf57b6879c92f982a5b8286ec8556ca6152f4615197ffda8afdf2dac1854dfd9f2acf0c04bd03845d7a71c1758bd800123442
|
||||
AUX shash-0.2.6-C99-decls.patch 3034 BLAKE2B d7613480c8ed56290591971822faa58e204a1bbdfd59ee736ee35dd3be6d60a945af4430a22a8f1fad6badff794b32303d330077a2846a1c745abe23ad5146dc SHA512 d6c53e2298aad4a6bb17c0be80634f7d9f83ff5a374b224da0dade14601c66cc2f9ace2a535144856549233a20a7f2766355179155933d977b822ba2faac7a16
|
||||
AUX shash-0.2.6-binary-files.patch 878 BLAKE2B f4dc2d5eb5b6e1a59007a2eae1819f9a035014dc7d92c9616c6806608cf5c14cb64a7a1c19c386b3fb3028e970ba7022c2e264d92512b52a81b0ad4e931c9ad9 SHA512 b653b5940408588198326239489be48baff34bb308317f9dd36180182a535040e4c2e52342396e29637711995e7a255236d6460fc64d8248f47d28e65b18087f
|
||||
AUX shash-0.2.6-format-security.patch 393 BLAKE2B 85ac84654272a04eefc3884d2b0dd22aafc52ff09b0736f8b5e6dcff6358e66a4c43bafad62ecb911ab6863da8c1e1cfa813cc748c0210da73275021312ce407 SHA512 312e58842396df88809cb125c29247a47c7397cd1ba1b193d7c17b6049552f91167a4666da125c9ce858c92455670b27e2bc43b83f68810090ece6f2908d20aa
|
||||
AUX shash.bash-completion 856 BLAKE2B 259204c4579326baa2b68d32e87bb8d6bcb4bd25646d851a68efe28927dc4c61e409092581036a777cddcf4941c12ff51e53f97c30b361cde05f4e89b65abda8 SHA512 1d6f57c5d1d75a576bb2536dc9a7518263e2c34da127f0450e1c7900038a8c9e4a379533ff34ddccf0c62cb53284f0fdab41510f71a05a337e39bcab578ed2b8
|
||||
DIST shash-0.2.6.tar.gz 105641 BLAKE2B f7421aa9ed7b242e14a585461e96f44e35f1acf38cba358807ec06e6678c82f7f3b070a218de71cccde9f18a1e7e13f8dd4cf66b48e9d6626f16b2e1fc33757d SHA512 340a59bd16b3e5069a076b56f8fe24d2306a6ddd5e6ad564c5e17a992d8e279a7109ba39bd5caa8438a0e85b4f94cb0878228f7aefe38221ff6efa80df64086b
|
||||
EBUILD shash-0.2.6-r3.ebuild 946 BLAKE2B b0c23bf6b3e901cc21d4b623ab62f6a5b058a1fc3ea870512d58b673240a58ed69718c2eb9fda4218932f2c434e897be7ddcabc6e1f55e328bedce5368de4efc SHA512 bf9dc0dd00bf55884f2430f7d201e41907654faf4b29eca1874d149bb72a8441e0f1b784470cd89917625ebb17e03f31c29fa58f75506eda2bf0d5354d8c7dcf
|
||||
EBUILD shash-0.2.6-r4.ebuild 983 BLAKE2B 73cfa61166cd881e057dc4708e26619f85e6b313a98f00f055271a27dcc48f9288f8b430aa808c39e12ee559fe48739bccb86cd9b563265029efee67bbf6fca9 SHA512 ac210df47a94927ca27d00cd97ccc2b24d7261b4ca8decfbe788feadf9f074a64b4420cf6c1851f7b13e1cb5d3df835e48db8e1c13e53cf369867a1e32984c3f
|
||||
MISC metadata.xml 390 BLAKE2B f58596b6b41e4cd8c5d07c2a281caeb496b606a8921bed82a5b5ec70d7826247826fb5135b51fa4b7705055d28e6731fa5df24092e5353f2324b185499e38157 SHA512 50aa7c011296dc7fb119ff25893cda2712353b935e56fbf8fe5d1c2ebd339975f5adc4146b2e1e46b5b6749ac7b9874d40b59bf1071d550df36a5bc8a919034e
|
||||
|
@ -0,0 +1,195 @@
|
||||
--- a/src/environ.c
|
||||
+++ b/src/environ.c
|
||||
@@ -4,7 +4,7 @@
|
||||
#endif
|
||||
#include "environ.h"
|
||||
|
||||
-int check_env()
|
||||
+int check_env(void)
|
||||
{
|
||||
|
||||
if (getenv(SHASH_KEY) != NULL
|
||||
@@ -15,7 +15,7 @@
|
||||
}
|
||||
|
||||
char *
|
||||
- get_env_key()
|
||||
+ get_env_key(void)
|
||||
{
|
||||
|
||||
if (getenv(SHASH_KEY) != NULL) {
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
}
|
||||
|
||||
-char *get_env_bit_mode()
|
||||
+char *get_env_bit_mode(void)
|
||||
{
|
||||
|
||||
return getenv(SHASH_KEYMODE);
|
||||
--- a/src/environ.h
|
||||
+++ b/src/environ.h
|
||||
@@ -3,7 +3,7 @@
|
||||
#define SHASH_KEY "SHASH_KEY"
|
||||
#define SHASH_KEYMODE "SHASH_KEYMODE"
|
||||
|
||||
-int check_env();
|
||||
-char * get_env_key();
|
||||
-char * get_env_bit_mode();
|
||||
+int check_env(void);
|
||||
+char * get_env_key(void);
|
||||
+char * get_env_bit_mode(void);
|
||||
|
||||
--- a/src/errors.c
|
||||
+++ b/src/errors.c
|
||||
@@ -1,5 +1,7 @@
|
||||
#include <defines.h>
|
||||
|
||||
+#include <stdio.h>
|
||||
+
|
||||
extern int quiet;
|
||||
|
||||
void err_quit(char *errmsg)
|
||||
--- a/src/extra.c
|
||||
+++ b/src/extra.c
|
||||
@@ -1,5 +1,10 @@
|
||||
#include <defines.h>
|
||||
|
||||
+#include <pwd.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
+#include <sys/stat.h>
|
||||
+
|
||||
#ifdef HAVE_STAT
|
||||
|
||||
int check_file(char *filename)
|
||||
--- a/src/gaaout.c
|
||||
+++ b/src/gaaout.c
|
||||
@@ -11,6 +11,11 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+void hash_license(void);
|
||||
+void hash_version(void);
|
||||
+void list_keygen_algorithms(void);
|
||||
+int hash_list(void);
|
||||
+
|
||||
void* gaa_malloc( size_t size) {
|
||||
void* ret;
|
||||
ret = malloc(size);
|
||||
--- a/src/random.c
|
||||
+++ b/src/random.c
|
||||
@@ -24,7 +24,7 @@
|
||||
static FILE *ffd;
|
||||
|
||||
word32
|
||||
-get_rand32()
|
||||
+get_rand32(void)
|
||||
{
|
||||
int fd, x;
|
||||
word32 rand_data;
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
word8
|
||||
-get_rand8()
|
||||
+get_rand8(void)
|
||||
{
|
||||
|
||||
int fd, x;
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
|
||||
word32
|
||||
-get_safe_rand32()
|
||||
+get_safe_rand32(void)
|
||||
{
|
||||
int fd, x;
|
||||
word32 rand_data;
|
||||
@@ -91,7 +91,7 @@
|
||||
|
||||
|
||||
word8
|
||||
-get_safe_rand8()
|
||||
+get_safe_rand8(void)
|
||||
{
|
||||
|
||||
int fd, x;
|
||||
@@ -131,13 +131,13 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
-void close_rand()
|
||||
+void close_rand(void)
|
||||
{
|
||||
fclose(ffd);
|
||||
}
|
||||
|
||||
word32
|
||||
-get_o_rand32()
|
||||
+get_o_rand32(void)
|
||||
{
|
||||
int x;
|
||||
word32 rand_data;
|
||||
@@ -152,7 +152,7 @@
|
||||
}
|
||||
|
||||
word8
|
||||
-get_o_rand8()
|
||||
+get_o_rand8(void)
|
||||
{
|
||||
|
||||
int x;
|
||||
--- a/src/random.h
|
||||
+++ b/src/random.h
|
||||
@@ -1,14 +1,14 @@
|
||||
|
||||
#ifdef HAVE_DEV_RANDOM
|
||||
|
||||
-word32 get_rand32();
|
||||
-word8 get_rand8();
|
||||
-word32 get_safe_rand32();
|
||||
-word8 get_safe_rand8();
|
||||
+word32 get_rand32(void);
|
||||
+word8 get_rand8(void);
|
||||
+word32 get_safe_rand32(void);
|
||||
+word8 get_safe_rand8(void);
|
||||
|
||||
int open_rand(int);
|
||||
-void close_rand();
|
||||
-word32 get_o_rand32();
|
||||
-word8 get_o_rand8();
|
||||
+void close_rand(void);
|
||||
+word32 get_o_rand32(void);
|
||||
+word8 get_o_rand8(void);
|
||||
|
||||
#endif
|
||||
--- a/src/shash.c
|
||||
+++ b/src/shash.c
|
||||
@@ -485,7 +485,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
-int hash_list()
|
||||
+int hash_list(void)
|
||||
{
|
||||
hashid i;
|
||||
char *y;
|
||||
@@ -715,7 +715,7 @@
|
||||
return counter;
|
||||
}
|
||||
|
||||
-void hash_license()
|
||||
+void hash_license(void)
|
||||
{
|
||||
fprintf(stdout, ("\nCopyright (C) 1999,2001,2002 Nikos Mavroyanopoulos\n"
|
||||
"This program is free software; you can redistribute it and/or modify \n"
|
||||
@@ -733,7 +733,7 @@
|
||||
"Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\n"));
|
||||
}
|
||||
|
||||
-void hash_version()
|
||||
+void hash_version(void)
|
||||
{
|
||||
fprintf(stderr, ("shash v.%s (%s-%s-%s)\n"), VERSION, T_CPU,
|
||||
T_VENDOR, T_OS);
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST NaturalDocs-1.52.zip 460793 BLAKE2B d4ecd8bb8dd3fa92a8d9366077c65ddd70e9c4944519cb453e0752e2df0ed22d7fe23aa1edb1e63ffea16b0d0f56794d50a6a0520b2b91f0193a83326ac34c5b SHA512 45d79dd2bf55a8cb7356eb5321a8c99cbab9d69a4d9a97033737090df2bfd86ee7a058a03016646c7fd6f20daf6523b2d77cd2248a7503a6c5c22684f08431c1
|
||||
EBUILD NaturalDocs-1.52-r2.ebuild 1210 BLAKE2B c8db1a6622e6b3e1bb780b7a10eac94e7696d25dcf8f127640dd4225a2ea41a44792eba8a93dc9c7967de97f8437fdaf1bb5d9fe9811cb362e5b1d8136331381 SHA512 638472a03103ceca8c1ad161937ecc3c13d0989170423c2d1e74c3440057c9f418db81113aa82b296e1b57d7a9b215ff466c382382b2338d874e047b7962098c
|
||||
EBUILD NaturalDocs-1.52-r2.ebuild 1217 BLAKE2B 2197a148dbd2228320efd4602c32ecaeacffbab836aa48305ddf3efbdca1cd24fccdf364128b734f9695f244437b5152f776b40cb53926062fb16ddfd71a38d7 SHA512 b75b7aa905ee964ec8d302249ef99824a8d72621a264ba9219e6f7c802e31ea7ae2e7ade29304e21b77793dd43f3b0549faba8dda77c97dce714feb53479bbd6
|
||||
MISC metadata.xml 750 BLAKE2B ac18ca6a34b91431c46771911c80dd37945febcd8c356b317f95153ec605fb2ae5a46cde4326ad94b89c7c146cb7654b7d2fc8793ea8f6b5b650f2fccd3d86b4 SHA512 270e00374ac5315783991a4e24ba0e8786b42fc430d4c402636e991c6e72ca212a7b16818b16fdfbfe3a2b95445a6206c68dfd679bcd54e6f4764df0d35e7f9a
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue