mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-22 17:52:12 +01:00
sys-apps/pv: Sync with Gentoo
It's from Gentoo commit 488fd04baf42cc8792281ae724f479b79d7ba05e. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
55efb2abd3
commit
7591fa504c
@ -1,3 +1,7 @@
|
||||
DIST pv-1.10.0.tar.gz 419674 BLAKE2B 64e27b693cfd9ec5186a0414f5e38a79958ce3cff0788b1af1209b3097bbb93ba7297a3686322d0a9d76041eca9a008a8e58502ef1068602f646ac83c487e13b SHA512 134dd070d25f3583f8852844148da886d7b4092f076dbeb1949e77237687fad0135a10249e9220ae9ab863f4eb7fbbe1c2ed96c42dec3b5c35b7b0d563a75e68
|
||||
DIST pv-1.10.0.tar.gz.asc 691 BLAKE2B 5e200ad6c7329bb59252d08485f65830875fe1fcbba85f89d35c4160e1f7f521153408f6bc425997e42ddde1c0d9fcb8c10ec0c6b22796145fa883a46f29063f SHA512 2eda30440a1f660c5827c3e206feda9f0213ea133a1061f89faac63d46a906926d810abd386d2c245dbfaf2340e8761310875bae3db1cc3d8530b8fdf38a6684
|
||||
DIST pv-1.10.1.tar.gz 420331 BLAKE2B d654ccf78782b77fef106e73a46cc2408147745a4a56589cd8cf86fbfc083d34039c4aea32f87e9f816b302b45c497c7c45a21a957ee5c6e40626a671150e8b7 SHA512 235da351bab786c1961b7b91c5beb5997ad80ded93b4a56cd22c0679a45167862325a52fc30f262ff6110aa19e4af337fbc8d43f4f66b828cef8c77b9ecd8283
|
||||
DIST pv-1.10.1.tar.gz.asc 691 BLAKE2B 5a0cb1c5b2bbec1d92a6987d012ee8847370bc516c56a7bc4671aec7125c7732bd9fd92b0e52e3f1023c8da0c5f2c3a93f23ea1634ca815a278b35b89d95c05c SHA512 0a22d7b9a0215cfaeee634fcb9e76b8ef550be3eb12547b2f3574826215e19f4a217f861d9b8c986e1001b5951dba13403ec8e802518d984bede640e55740b8d
|
||||
DIST pv-1.9.31.tar.gz 417551 BLAKE2B 6018abe674834f45312faa5ce07b49e11258e29fffc11d88ce73f50ae58c47e94defa3d5d819099a6909610e7423d9e42a8ce939fa39fe476cdbf35e89aa0112 SHA512 63cdc6223cde4f3f0daf47b5808a3f72a9cfaf2c05751e971a99d9dd3df2f36430958213c023931f428c87341a5f6c1f3772f30ca992123ea4c2a2e48000ff1d
|
||||
DIST pv-1.9.31.tar.gz.asc 691 BLAKE2B 7b5b998341db887b14c56fc080d87cb4abb186b4df2c8def638822889a734436fe0c4c132396415bbc0dcb0754f76d0456bb667533ef7ed92ed0c09a62522e8b SHA512 549a3bb3f4f404b3a6e407663ba335e3d4e14303185654771c974335ed5e7ac46dbba71bbf4f26e640217829e58a0da8d6fa139b02f426b60ab074ec97084374
|
||||
DIST pv-1.9.34.tar.gz 416551 BLAKE2B aa2d56408a96de9b472a3ef5215a270c3c993543dc72b980948ffd2f6f6181bf69beaf911df284ea934c43d5053ada57a35e3dc43de08a184dca89fa75e945e5 SHA512 c590e376d33f49d8bb0d4463a54bb8c5a8dd25737f2d413f83c53c64cf6cb6d5ad977ff907fb6a8d8004ee371d35de08d3a5fb312b07a6c7237565e0bc55a104
|
||||
|
||||
59
sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.10.0.ebuild
vendored
Normal file
59
sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.10.0.ebuild
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/pv.asc
|
||||
inherit linux-info toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe"
|
||||
HOMEPAGE="https://ivarch.com/p/pv https://codeberg.org/ivarch/pv"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://codeberg.org/ivarch/pv"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://ivarch.com/s/${P}.tar.gz
|
||||
verify-sig? ( https://ivarch.com/s/${P}.tar.gz.txt -> ${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="debug ncurses nls"
|
||||
|
||||
RDEPEND="ncurses? ( sys-libs/ncurses:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-pv-20251012 )"
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
CONFIG_CHECK="~SYSVIPC"
|
||||
ERROR_SYSVIPC="You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option."
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
|
||||
econf \
|
||||
$(use_enable debug debugging) \
|
||||
$(use_with ncurses) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Valgrind is unreliable within sandbox
|
||||
local -x SKIP_VALGRIND_TESTS=1
|
||||
emake -Onone check
|
||||
}
|
||||
59
sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.10.1.ebuild
vendored
Normal file
59
sdk_container/src/third_party/portage-stable/sys-apps/pv/pv-1.10.1.ebuild
vendored
Normal file
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/pv.asc
|
||||
inherit linux-info toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe"
|
||||
HOMEPAGE="https://ivarch.com/p/pv https://codeberg.org/ivarch/pv"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://codeberg.org/ivarch/pv"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://ivarch.com/s/${P}.tar.gz
|
||||
verify-sig? ( https://ivarch.com/s/${P}.tar.gz.txt -> ${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="debug ncurses nls"
|
||||
|
||||
RDEPEND="ncurses? ( sys-libs/ncurses:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-pv-20251012 )"
|
||||
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
CONFIG_CHECK="~SYSVIPC"
|
||||
ERROR_SYSVIPC="You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option."
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
|
||||
econf \
|
||||
$(use_enable debug debugging) \
|
||||
$(use_with ncurses) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Valgrind is unreliable within sandbox
|
||||
local -x SKIP_VALGRIND_TESTS=1
|
||||
emake -Onone check
|
||||
}
|
||||
@ -18,7 +18,7 @@ else
|
||||
verify-sig? ( https://ivarch.com/s/${P}.tar.gz.txt -> ${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user