SHA256
1
0
forked from pool/pv

Accepting request 1146593 from home:pgajdos

- version update to 1.8.5
  ### 1.8.5 - 19 November 2023
  * fix: corrected percentage formatting so it doesn't jump from
    2 to 3 characters wide at 100% (#80)
  * fix: replaced "`--remote`" mechanism, using a temporary file
    instead of SysV IPC, so it can work reliably even when there
    are multiple PV instances
  * fix: corrected compilation failure when without IPC support
  * security: addressed all issues highlighted by the software
    auditing tools "`splint`" and "`flawfinder`" (see "`make
    analyse`") (#77)
  * cleanup: compilation warnings fixed on non-IPC and MacOS
    systems
  * ### 1.8.0 - 24 September 2023
  * #### Features
  * feature: new "`--discard`" option to discard input as if
    writing to */dev/null* (#42)
  * feature: new "`--error-skip-block`" option to make "`--skip-
    errors`" skip whole blocks (#37)
  * feature: use `posix_fadvise()` like `cat`(1) does, to improve
    efficiency (#39)
  * feature: new "`--enable-static`" option to "`configure`" for
    static builds (#75)
  * #### Security
  * security: with "`--pidfile`", write to a temporary file and
    rename it into place, to improve security
  * security: keep self-contained copies of name and format
    string in PV internal state for memory safety
  * security: ignore _TMP_ / _TMPDIR_ environment variables when
    using a terminal lock file

OBS-URL: https://build.opensuse.org/request/show/1146593
OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=45
This commit is contained in:
Jan Engelhardt 2024-02-14 17:01:42 +00:00 committed by Git OBS Bridge
parent a99ba982ac
commit c061c62d7c
6 changed files with 100 additions and 21 deletions

BIN
pv-1.7.24.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,14 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQHLBAABCgA1FiEEQme0+Q8meKESFpvWHR73WBtF6aAFAmTGtlQXHGFuZHJldy53
b29kQGl2YXJjaC5jb20ACgkQHR73WBtF6aBnEwwArjl3/RyxSNjhYUOe/IVAKeUf
1FIR4cn1CbEpKIaaTwa3fHnHao9tElaQKR4QZlZTXnErWwZ47zCaJq0ax4qnRlvI
oenqaBNmMau9ib2SJNBXi/MmtpciL9ZAWhQwHZTGJndVQQwTV5I2cybcSWW4YDd0
e0FQ5gOJQ/k6ynco1CckaYCnIMbRa0Om/fxvhVdkBciLfXUPpem8I5MukdMp9jyu
ltLvMqqZ0gkP5xjn6FW+oiQfKSIGPWQCMNI9iNmA0cdFo1wF4Sj98QuLZQL4QadA
PDsE5csP1rfcwP+oHRRwhx6THMh5k6AXfuCbAEi8FZMIZIAX4fpfgG8hGhFHSMso
+H1v18EYljimQJdv+7kuSV3HwjXmOxD8cXhycE0XJrhAQHc13tfRzaE2grTJHR1C
0FnPLTMkzZSrYeny3u7Ylql9IesRsgwy3M9usLx/XzXNyEm24DmxfFEWNceVN2qX
kGMDUKuvDP7tbIOvN/XlYjHYHwxZxWDrWUntsUXY
=pPkX
-----END PGP SIGNATURE-----

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-----

View File

@ -1,3 +1,80 @@
-------------------------------------------------------------------
Wed Feb 14 14:46:34 UTC 2024 - pgajdos@suse.com
- version update to 1.8.5
### 1.8.5 - 19 November 2023
* fix: corrected percentage formatting so it doesn't jump from
2 to 3 characters wide at 100% (#80)
* fix: replaced "`--remote`" mechanism, using a temporary file
instead of SysV IPC, so it can work reliably even when there
are multiple PV instances
* fix: corrected compilation failure when without IPC support
* security: addressed all issues highlighted by the software
auditing tools "`splint`" and "`flawfinder`" (see "`make
analyse`") (#77)
* cleanup: compilation warnings fixed on non-IPC and MacOS
systems
* ### 1.8.0 - 24 September 2023
* #### Features
* feature: new "`--discard`" option to discard input as if
writing to */dev/null* (#42)
* feature: new "`--error-skip-block`" option to make "`--skip-
errors`" skip whole blocks (#37)
* feature: use `posix_fadvise()` like `cat`(1) does, to improve
efficiency (#39)
* feature: new "`--enable-static`" option to "`configure`" for
static builds (#75)
* #### Security
* security: with "`--pidfile`", write to a temporary file and
rename it into place, to improve security
* security: keep self-contained copies of name and format
string in PV internal state for memory safety
* security: ignore _TMP_ / _TMPDIR_ environment variables when
using a terminal lock file
* #### Fixes
* fix: 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
* fix: auto-calculate total line count with "`--line-mode`"
when all inputs are regular files
* fix: use `clock_gettime()` in ETA calculation to cope with
machine suspend/resume (#13)
* fix: if "`--width`" or "`--height`" were provided, do not
change them when the window size changes (#36)
* fix: when a file descriptor position in "`--watchfd`" moves
backwards, show the rate using the correct prefix (#41)
* fix: rewrite terminal state save/restore so state is not
intermittently garbled on exit when using "`--cursor`" (#20),
(#24)
* #### Cleanups
* cleanup: addressed many potential issues highlighted by the
software auditing tools "`splint`" and "`flawfinder`" (see
new target "`make analyse`")
* cleanup: switched the build system to GNU Automake
* cleanup: replaced the test harness with the one native to GNU
Automake
* cleanup: added a test for terminal width detection to "`make
check`"
* cleanup: added a test to "`make check`" to ensure that "`make
install`" installs everything expected
* cleanup: replaced *AC_HEADER_TIOCGWINSZ* with
*AC_CHECK_HEADERS(sys/ioctl.h)* for better MacOS
compatibility (#74)
* cleanup: with "`--sync`", call `fsync()` instead of
`fdatasync()` on incapable systems (#73)
* cleanup: the manual is now a static file instead of needing
to be built with "`configure`"
* #### Dropped items
* dropped: dropped support for "`--enable-static-nls`"
* dropped: removed the Linux Software Map file, as the LSM
project appears to be long dead
* dropped: will no longer publish to SourceForge as it has a
chequered history and is unnecessary
* dropped: removed project from GitHub and moved to Codeberg -
see "Give Up GitHub"
* #### Other items
* licensing change from Artistic 2.0 to GPLv3+
-------------------------------------------------------------------
Thu Nov 30 11:24:57 UTC 2023 - pgajdos@suse.com

10
pv.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package pv
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -17,7 +17,7 @@
Name: pv
Version: 1.7.24
Version: 1.8.5
Release: 0
Summary: PipeViewer - Monitor the Progress of Data through Pipes
License: Artistic-2.0
@ -47,12 +47,13 @@ will be until completion.
%autosetup -p1
%build
%configure --enable-lfs --enable-nls --disable-debugging
%configure --enable-lfs --enable-nls --disable-debugging --docdir=%{_docdir}/pv
%make_build
%install
%make_install
%find_lang %name
rm %{buildroot}/%{_docdir}/pv/INSTALL
%check
%ifarch s390x
@ -61,7 +62,8 @@ exit 0
%make_build test
%files -f %name.lang
%license doc/COPYING
%license docs/COPYING
%_docdir/pv
%_bindir/pv
%_mandir/man1/pv.1%ext_man