summaryrefslogtreecommitdiff
path: root/sys-apps/pv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-23 23:59:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-23 23:59:27 +0100
commite3f21c8aff8a76afe3423721c437a088e9232840 (patch)
treefde2c1906a9787adec106c5d6b708cd60de02c60 /sys-apps/pv
parent1f00990debeffd0052c194989d0a02baac23eb96 (diff)
gentoo auto-resync : 23:04:2024 - 23:59:26
Diffstat (limited to 'sys-apps/pv')
-rw-r--r--sys-apps/pv/Manifest5
-rw-r--r--sys-apps/pv/pv-1.8.9.ebuild61
-rw-r--r--sys-apps/pv/pv-9999.ebuild9
3 files changed, 73 insertions, 2 deletions
diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest
index ad8a82586c44..22a177ce43fe 100644
--- a/sys-apps/pv/Manifest
+++ b/sys-apps/pv/Manifest
@@ -1,5 +1,8 @@
DIST pv-1.8.5.tar.gz 327072 BLAKE2B ef7fcf64430a72e04ca3a922115e7012c999109bb7e1a52f480c27eeb6c49952f4be52e6041a063c710d934c68555cfb65796103920fd240e4ebde2fa6a323c7 SHA512 6d7a0f785ace5e25c5677af4cf38a003386774e60563865de7f1dae60f1785685541da93e1f88236b8b2e14431584bc2cb2adb3a575fb90dc774bc6bacf22e21
DIST pv-1.8.5.tar.gz.asc 691 BLAKE2B ac5bd2b05e145d4ea5aedbb148b39a317d68329787f06f39f808be75951da0e0f460254b4a5049a8eafabad07edfbe936be00154f5dfa660628c8a3dfa3b7ffd SHA512 8414b2485347579a54233a2f241c080ab6461799c149567ab1063ce812b08ab2293f55bf8a24bcadabf94d12ce3dce36fe57277d822d115db9e53c957fe99c20
+DIST pv-1.8.9.tar.gz 330129 BLAKE2B a8e8b567a0e9eed9fa9b938b5ef52623adda8907b26d6dc3664fb0e3c8bee193e615ad0f357f688a53fa0014d978bf98a157a072d0159e9aaded447d3e4b16e0 SHA512 d6e483d2cb5ef3def1df9c72774ab70a5210e7a45f165d3d1527f11366e7bbab57320f1987d460783eda94605a17c5ef2a027fa4a7e9d58b529f4b1b05ec07a8
+DIST pv-1.8.9.tar.gz.asc 691 BLAKE2B 24640b3ba4d3306175f6e63d5efe86bc4a29da3b822417098f66892c0c59ddab713b202ebcc6e8fbe97de104b0583221ee12b4ef72adb2402912e3f799403e92 SHA512 ad4791b094caacc05485ee817c3162c65110c46bd7feaf06617fcf7d42c0d407e5696cf35ff881aa19340a13d02e04183c5e4db51cc68bb443fa524d9573ce57
EBUILD pv-1.8.5.ebuild 1278 BLAKE2B 0705970b9d42634081269d25fac77f86e7a584484a6699c6a5392ac252cdc3abe4a49d35d498316992b87996fdd7ac1724d0c5bfa7c727fe009581a3b95b154a SHA512 ea240f0733beb2460fa6b5b6cc5c33637bda265e1be86830dfa622a2f9f00f82c8dd4bc602cbdca9986690c57640e001fa739938f0a260f5825405633580c88d
-EBUILD pv-9999.ebuild 1286 BLAKE2B d706213997fa9347003871e733498eb6cd7772506d3af209f6d6114827308fe27df92baccdf0285c740fb1d8a792b965d2368bafaf855aef5ee52e804a66b5fd SHA512 435a956dedf403f7fd6710383df5e7dfe8c249b24e795c259c58b5fead2d4dddcd459005badb6ad3fb7d79576ca5d5752152446a2c17b17f2009ce6439353ad3
+EBUILD pv-1.8.9.ebuild 1437 BLAKE2B 9857385f7e9aa8ef5f2dd86f442488f2d3608b9291ab7260736c1c29550dcdb5048d854c2fe77fe8ae11f3b893efd8a0e7403f8f61078b303658fbaa62a2354d SHA512 fe05ad4bca36d84d3d24101403aa68afbbe77a8aceaa6012c8173f8216076a53c98063fc73bf0d716eb423586f117a4087ae4c9f268c329a6ca0514f055d5621
+EBUILD pv-9999.ebuild 1437 BLAKE2B 9857385f7e9aa8ef5f2dd86f442488f2d3608b9291ab7260736c1c29550dcdb5048d854c2fe77fe8ae11f3b893efd8a0e7403f8f61078b303658fbaa62a2354d SHA512 fe05ad4bca36d84d3d24101403aa68afbbe77a8aceaa6012c8173f8216076a53c98063fc73bf0d716eb423586f117a4087ae4c9f268c329a6ca0514f055d5621
MISC metadata.xml 318 BLAKE2B 784fb52623d9590f78551ca793501497ee0838584119a606a34c6ecd92b872b583e05a9da7ca979e30bba983dd4d5c8b499c1b764f23bf6fb22062b2a0b96200 SHA512 a8e06d0f2f20359e4a45c42a6db544c7efd08adc69843eaf2b1004003c4c03d1bf484214283016db560f1f6952104574287747f14bc42cfe4a184218d3783187
diff --git a/sys-apps/pv/pv-1.8.9.ebuild b/sys-apps/pv/pv-1.8.9.ebuild
new file mode 100644
index 000000000000..5e5b703403bd
--- /dev/null
+++ b/sys-apps/pv/pv-1.8.9.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 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://www.ivarch.com/programs/pv.shtml https://codeberg.org/a-j-wood/pv"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://codeberg.org/a-j-wood/pv"
+ inherit autotools git-r3
+else
+ SRC_URI="
+ https://www.ivarch.com/programs/sources/${P}.tar.gz
+ verify-sig? ( https://www.ivarch.com/programs/sources/${P}.tar.gz.txt -> ${P}.tar.gz.asc )
+ "
+
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="debug nls"
+
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-pv )"
+
+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
+
+ # Valgrind isn't reliable within sandbox.
+ cat <<-EOF > tests/run-valgrind.sh || die
+ #!/bin/sh
+ exit 77
+ EOF
+ chmod +x tests/run-valgrind.sh || Die
+
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ tc-export AR
+
+ econf \
+ $(use_enable debug debugging) \
+ $(use_enable nls)
+}
+
+src_test() {
+ emake -Onone check
+}
diff --git a/sys-apps/pv/pv-9999.ebuild b/sys-apps/pv/pv-9999.ebuild
index 7d003e10536d..5e5b703403bd 100644
--- a/sys-apps/pv/pv-9999.ebuild
+++ b/sys-apps/pv/pv-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -38,6 +38,13 @@ pkg_setup() {
src_prepare() {
default
+ # Valgrind isn't reliable within sandbox.
+ cat <<-EOF > tests/run-valgrind.sh || die
+ #!/bin/sh
+ exit 77
+ EOF
+ chmod +x tests/run-valgrind.sh || Die
+
[[ ${PV} == 9999 ]] && eautoreconf
}