SHA256
1
0
forked from pool/pv

curate changelog to what's relevant for end-users (configure is not)

OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2024-02-14 17:07:31 +00:00 committed by Git OBS Bridge
parent c061c62d7c
commit 3534ab8876
2 changed files with 34 additions and 79 deletions

View File

@ -2,78 +2,34 @@
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
* 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
* #### 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+
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

15
pv.spec
View File

@ -19,8 +19,8 @@
Name: pv
Version: 1.8.5
Release: 0
Summary: PipeViewer - Monitor the Progress of Data through Pipes
License: Artistic-2.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
@ -47,24 +47,23 @@ will be until completion.
%autosetup -p1
%build
%configure --enable-lfs --enable-nls --disable-debugging --docdir=%{_docdir}/pv
%configure --enable-lfs --enable-nls --disable-debugging --docdir="%_docdir/pv"
%make_build
%install
%make_install
%find_lang %name
rm %{buildroot}/%{_docdir}/pv/INSTALL
rm %buildroot/%_docdir/pv/INSTALL
%check
%ifarch s390x
exit 0
%endif
%ifnarch s390x
%make_build test
%endif
%files -f %name.lang
%license docs/COPYING
%_docdir/pv
%_bindir/pv
%_mandir/man1/pv.1%ext_man
%_mandir/man1/pv.1*
%changelog