Sync from SUSE:ALP:Source:Standard:1.0 pv revision c8e65e119d2ca0e57d1c2e9e80b63e84

This commit is contained in:
Adrian Schröter 2024-02-20 00:09:08 +01:00
commit b508f366c5
6 changed files with 469 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
pv-1.8.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

14
pv-1.8.5.tar.gz.asc Normal file
View File

@ -0,0 +1,14 @@
-----BEGIN PGP SIGNATURE-----
iQHLBAABCgA1FiEEQme0+Q8meKESFpvWHR73WBtF6aAFAmVaUC8XHGFuZHJldy53
b29kQGl2YXJjaC5jb20ACgkQHR73WBtF6aCQIgv/QdGADADs3fYvZKLu2+rDbD2J
y4CUl2o5LBXXlU7MxnEEvBEj/d/PWY6X+8VsJkVwnpIbBydx/zfby1NBsrbP8n98
Sm4fIz65Blq74gW7tRzzd16/8082ESwREZRaLfeiu/BTlZ+9Y+3csm3cXgjRR69G
1662gJlFnTuTNSY6z88OG5BOjR7tZ0Zv1E74lSoL/9yTmMCUAsgmDSF8o887020O
tF6ZkVDWgQLpoMMd9K5gmM1hukpKWyy1JMXZNYd62A+eIyLcwM6MjdeJ1QRmf0qf
ATFOK6jcoVDc5RP2FgzCZTA7poFMyldC72vVfE1nOwfqdlCBjsullpw2cMX5w4tb
IMouPY/YWncdABsnDtusOgzh8FC8V2uHKSWqrdq0f2kmZtXPRlu3yQRPnUTj8zMG
CVw3Md4l1y0tE/A9mYBaJCeZp663fN5p0N9mJqN3NThqUxFv7UtNi6sIUJLluc2W
uUA0KRYVMCCqC60XDqO0askpFp0yXCjF2m4g8Dn+
=ZzLi
-----END PGP SIGNATURE-----

319
pv.changes Normal file
View File

@ -0,0 +1,319 @@
-------------------------------------------------------------------
Wed Feb 14 14:46:34 UTC 2024 - pgajdos@suse.com
- version update to 1.8.5
* Corrected percentage formatting so it does not jump from 2 to 3
characters wide at 100%.
* Replaced `--remote` mechanism to use a temporary file instead
of SysV IPC, so it can work reliably even when there are
multiple pv instances.
* feature: new `--discard` option to discard input as if writing
to /dev/null.
* feature: new `--error-skip-block` option to make `--skip-
errors` skip whole blocks.
* feature: use `posix_fadvise()` like cat(1) does, to improve
efficiency.
* security: with `--pidfile`, write to a temporary file and
rename it into place, to improve security.
* security: ignore _TMP_ / _TMPDIR_ environment variables when
using a terminal lock file.
* Only report errors about missing files when starting to
transfer from them, not while calculating size, and behave more
like cat(1) by skipping them and moving on.
* Auto-calculate total line count with `--line-mode` when all
inputs are regular files.
* Cope with machine suspend/resume and botched timestamps.
* If `--width` or `--height` were provided, do not change them
when the window size changes.
* When a file descriptor position in `--watchfd` moves backwards,
show the rate using the correct prefix.
* Rewrite terminal state save/restore so state is not
intermittently garbled on exit when using `--cursor`.
* Licensing change from Artistic 2.0 to GPLv3+.
-------------------------------------------------------------------
Thu Nov 30 11:24:57 UTC 2023 - pgajdos@suse.com
- disable testsuite for s390x [bsc#1215338]
- remove _constraints again as it didn't help
- deleted sources
- _constraints (not needed)
-------------------------------------------------------------------
Wed Nov 15 12:03:39 UTC 2023 - pgajdos@suse.com
- increase required memory in _constraints [bsc#1217165]
(tests still fails in ETA related tests)
-------------------------------------------------------------------
Tue Sep 26 13:31:17 UTC 2023 - pgajdos@suse.com
- add _constraints [bsc#1215338]
-------------------------------------------------------------------
Sun Jul 30 23:59:53 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.7.24
* correct terminal size detection (was broken by 1.7.17)
-------------------------------------------------------------------
Fri Jul 28 11:42:58 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.7.18
* New "--sync" option to flush cache to disk after every write
* New "--direct-io" option to bypass cache
-------------------------------------------------------------------
Mon Jul 17 21:18:13 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.7.0
* The "--size" option now accepts "@filename" to use the size
of another file.
* New "--bits" option to show bit count instead of byte count.
* New "--average-rate-window" option, to set the window over
which the average rate is calculated, also used for ETA.
* The "--watchfd" option will now show relative filenames, if
they are under the current directory.
* Add burst rate limit to transfer, so rate limits are not
broken by bursty traffic.
* Corrected elapsed time display to show as D:HH:MM:SS after 1
day, like the ETA does.
-------------------------------------------------------------------
Fri Nov 5 19:58:05 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.6.20
* Starting pv in the background no longer immediately stops
unless the transfer is to/from the terminal.
* Using -B, -A, or -T now switches on -C implicitly.
-------------------------------------------------------------------
Tue Sep 8 08:48:09 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Trim old specfile constructs.
-------------------------------------------------------------------
Mon Aug 7 23:34:32 UTC 2017 - jengelh@inai.de
- Update to new upstream release 1.6.6
* Fix target buffer size (-B) being ignored
* Cap read/write sizes, and check elapsed time during read/write
cycle to avoid display hangs with large buffers or slow media.
* Report error in "-d" if process fd directory is unreadable, or
if process disappears before we start the main loop.
-------------------------------------------------------------------
Fri Mar 27 17:00:05 UTC 2015 - jengelh@inai.de
- Update to new upstream release 1.6.0
* new option "-D" / "--delay-start" to only show bar after
N seconds
* new option "--fineta" / "-I" to show ETA as time of day rather
than time remaining
* change ETA (--eta / -e) so that days are given if the hours
remaining are 24 or more
* repeat read and write attempts on partial buffer fill/empty to
work around post-signal transfer rate drop
* output errors on a new line to avoid overwriting transfer bar
-------------------------------------------------------------------
Mon Dec 8 00:36:36 UTC 2014 - jengelh@inai.de
- Update to new upstream release 1.5.7
* show KiB instead of incorrect kiB
* work around awk bug in tests/016-numeric-timer in decimal ","
locales
-------------------------------------------------------------------
Mon May 5 06:12:30 UTC 2014 - jengelh@inai.de
- Update to new upstream release 1.5.3
* Added new display options --buffer-percent, --last-written
* New transfer option --no-splice
* New option --watchfd to monitor file descriptor status of another
process, rather than moving data from stdin to stdout.
-------------------------------------------------------------------
Mon Aug 12 10:47:57 UTC 2013 - jengelh@inai.de
- Update to new upstream release 1.4.12
* A fix for splice() not using stdin was implemented
* A new -0/--null option has been added to count NUL-terminated
"lines"
-------------------------------------------------------------------
Wed Jun 5 17:11:16 UTC 2013 - jengelh@inai.de
- Add explicit BuildRequires for usleep
-------------------------------------------------------------------
Fri Jan 25 03:26:52 UTC 2013 - jengelh@inai.de
- Update to new upstream release 1.4.6
* updated manual page to show known problem with "-R" on Cygwin
* added patch from Pawel Piatek to omit O_NOFOLLOW in AIX
-------------------------------------------------------------------
Mon Dec 24 06:48:09 UTC 2012 - jengelh@inai.de
- Update to new upstream release 1.4.4
* fix crash when progress is displayed with too-small terminal
* new option --skip-errors
* new option --stop-at-size to stop after --size bytes
* autodetermine size if stdout is a block device
* fix a use-after-free bug
-------------------------------------------------------------------
Tue Nov 20 15:18:41 UTC 2012 - jengelh@inai.de
- Update to new upstream release 1.3.9
* new --pidfile option to save process ID to a file
* integrated patch for --numeric with --timer and --bytes
* removed signalling from --remote to prevent accidental process kills
* new --format option and allow --format parameters to be sent
with --remote
-------------------------------------------------------------------
Sat Sep 1 11:09:24 UTC 2012 - jengelh@inai.de
- Update to new upstream release 1.3.4
* new --disable-splice configure script option
* fixed line mode size count with multiple files
- Use RH-friendly make install
-------------------------------------------------------------------
Mon Jun 25 22:14:15 UTC 2012 - pascal.bleser@opensuse.org
- update to 1.3.1:
* do not use splice() if the write buffer is not empty
- changes from 1.3.0:
* fix 1024-boundary display garble
* use splice(2) where available
* added known bugs section of the manual page
* use IEEE1541 units
* bug with rate limit under 10 fixed
* speed up PV line mode
-------------------------------------------------------------------
Tue May 22 05:53:15 UTC 2012 - jengelh@inai.de
- Feed through format_spec_file to get copyright header required
for factory inclusion
-------------------------------------------------------------------
Mon Feb 20 06:52:34 UTC 2012 - jengelh@medozas.de
- Update license field to SPDX format
- Use short URL
- Remove redundant tags/sections from specfile
- Parallel build with %_smp_mflags
-------------------------------------------------------------------
Fri Jan 14 19:00:38 UTC 2011 - pascal.bleser@opensuse.org
- change RPM group to System/Base instead of invalid group System/Tools
-------------------------------------------------------------------
Tue Dec 14 16:06:49 UTC 2010 - pascal.bleser@opensuse.org
- update to 1.2.0:
* an average rate display option was added to better show progress with bursty traffic
* a consistent exit status is set to help script writers
* various minor cleanups and bug fixes were made
-------------------------------------------------------------------
Tue Nov 9 21:55:09 UTC 2010 - pascal.bleser@opensuse.org
- moved to utilities
-------------------------------------------------------------------
Thu Mar 6 00:00:00 UTC 2008 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Mon Oct 22 00:00:00 UTC 2007 - guru@unixtech.be
- moved to openSUSE Build Service
-------------------------------------------------------------------
Thu Aug 30 00:00:00 UTC 2007 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Fri Aug 3 00:00:00 UTC 2007 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Mon Feb 5 00:00:00 UTC 2007 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Tue Feb 28 00:00:00 UTC 2006 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Thu Dec 8 00:00:00 UTC 2005 - guru@unixtech.be
- added debuginfo support
- use makeinstall macro
- use configure macro
- added autoreconf
- use install_info SUSE macros
- use find_lang macro
- rewrote spec file
- new upstream version
-------------------------------------------------------------------
Fri Jun 17 00:00:00 UTC 2005 - guru@unixtech.be
- version 0.9.1
-------------------------------------------------------------------
Sun Nov 7 00:00:00 UTC 2004 - guru@unixtech.be
- version 0.8.9
-------------------------------------------------------------------
Mon May 3 00:00:00 UTC 2004 - guru@unixtech.be
- version 0.8.5
-------------------------------------------------------------------
Sun Apr 25 00:00:00 UTC 2004 - guru@unixtech.be
- version 0.8.2
-------------------------------------------------------------------
Tue Apr 20 00:00:00 UTC 2004 - guru@unixtech.be
- version 0.8.1
-------------------------------------------------------------------
Sun Feb 8 00:00:00 UTC 2004 - guru@unixtech.be
- version 0.7.0
-------------------------------------------------------------------
Tue Jan 6 00:00:00 UTC 2004 - guru@unixtech.be
- new spec-file

41
pv.keyring Normal file
View File

@ -0,0 +1,41 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGTD2hgBDADLskTVb3sWzKUJlY0JAMFJg7ElsH2oA5f0SehTdwGil6mcH+C2
58xR9IouawHiXr6DLR2ET4/woFv2zhv8e8USEuL5NxCP0A4p1lU+8+EOQ9Hfa08+
WrQv2tkvB6luVE/NRHQzkND4jVrJgoFy1vZgL8sPXieBsbpKtnACgtSznCxj0Ykl
DhNviRo5W4pIwsHZ+RZUZ25XZ1kG9mtfESQpSjHGqBwml5KSxeWbTOVC2QYGGGTN
jjJT3aRWmQycw2F3MjS7NnhHx8Y/N83c9ow905Ny8WLoJCFdkSFdpJEUtnI/2ZRC
iqdRnVP2ft8z0tnaobR6VJpna992jbxAYYhDEPWCUcmFuBiBCzq+dbBT7EYl2Uwd
pePno3F08PiGXpWV+VNML1e15NPfz4izhVAR+AfCwt7sBMUdROaPbTmYmzkypILj
ArYfeCQlhaXN+tnL88EVXiBJPAb+Ws8P1nC+RC1gklQNR+MuDMJPMqfsT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ouAuxeAHJqXpZ8+ZIbYKX9
jZZSUtVETUw7OI5iY6V/lJGBYQ8qpE8deEBFOfm22Dx5EYh4Kx+xtTl1mdarsdGy
42GH+vC2XE9+DKXAWtDfjSu3RECTPD2aYCzoQGpGhy3pCRP1YT5m2IL9+pWgZJql
yhUjwGqxC7cAEQEAAYkBvAQYAQoAJhYhBEJntPkPJnihEhab1h0e91gbRemgBQJk
w9oYAhsMBQkDwmcAAAoJEB0e91gbRemg12wL/RQ29giXypJSUb6TnVidafJnwfwP
0+d97TCqCh6VBC9ag7ly/XxfjvnklaE4fJ1O62IEm75aftqr1N/gFdtFkra+enX3
0GJP1/DY0v1O9yXrmhy1nYc6vrU2n1CSyk6hYAUt0mcbHr3IwFkf4JdaPs+0Azn+
ex7Fh8TJtDAWtmPs0CnLXbiCAgl1N/uHuHlFmNPsCZ7Aowk/xJHxJUrZ4AH6ns7k
DqO+aiZ094fMxfoomrvo9VQyDxdRGAY1YScVcZCBNp3qrcmWW/N4QpGwj/6ef1M4
fuhYBFnlsSIUL/aCRFnFpXDP715sdcehGTOpOWqfNl1TUx+Ny0whGBUpJHXVJs5n
VRpXiJzKjQzxDAm1D4BASxvrkSxAuXJTYSNn2m6Q6JgCSTw7vS8wk/l8K8j8Rhm2
JxC1B85wt5blyuv58uwwobsJG/iQnZv0xM5sLjvhhD/YhZ7B2fZOBH1CwCnLIKzv
XCcU5kSJcwOeO0lTBN42Lfh1Osbb0f0WYDIV4A==
=7Tck
-----END PGP PUBLIC KEY BLOCK-----

69
pv.spec Normal file
View File

@ -0,0 +1,69 @@
#
# spec file for package pv
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pv
Version: 1.8.5
Release: 0
Summary: Tool for monitor the progress of data through pipes
License: GPL-3.0-or-later
Group: System/Base
URL: http://ivarch.com/programs/pv.shtml
#Git-Clone: https://github.com/a-j-wood/pv
Source: http://ivarch.com/programs/sources/%name-%version.tar.gz
Source2: http://ivarch.com/programs/sources/%name-%version.tar.gz.txt#/%name-%version.tar.gz.asc
Source3: %name.keyring
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: gettext-devel
BuildRequires: glibc-devel
BuildRequires: intltool
BuildRequires: make
BuildRequires: sysvinit-tools
%description
PV ("Pipe Viewer") is a tool for monitoring the progress of data through a
pipeline. It can be inserted into any normal pipeline between two processes
to give a visual indication of how quickly data is passing through, how long
it has taken, how near to completion it is, and an estimate of how long it
will be until completion.
%prep
%autosetup -p1
%build
%configure --enable-lfs --enable-nls --disable-debugging --docdir="%_docdir/pv"
%make_build
%install
%make_install
%find_lang %name
rm %buildroot/%_docdir/pv/INSTALL
%check
%ifnarch s390x
%make_build test
%endif
%files -f %name.lang
%license docs/COPYING
%_docdir/pv
%_bindir/pv
%_mandir/man1/pv.1*
%changelog