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 Wed Feb 14 14:46:34 UTC 2024 - pgajdos@suse.com
- version update to 1.8.5 - version update to 1.8.5
### 1.8.5 - 19 November 2023 * Corrected percentage formatting so it does not jump from 2 to 3
* fix: corrected percentage formatting so it doesn't jump from characters wide at 100%.
2 to 3 characters wide at 100% (#80) * Replaced `--remote` mechanism to use a temporary file instead
* fix: replaced "`--remote`" mechanism, using a temporary file of SysV IPC, so it can work reliably even when there are
instead of SysV IPC, so it can work reliably even when there multiple pv instances.
are multiple PV instances * feature: new `--discard` option to discard input as if writing
* fix: corrected compilation failure when without IPC support to /dev/null.
* security: addressed all issues highlighted by the software * feature: new `--error-skip-block` option to make `--skip-
auditing tools "`splint`" and "`flawfinder`" (see "`make errors` skip whole blocks.
analyse`") (#77) * feature: use `posix_fadvise()` like cat(1) does, to improve
* cleanup: compilation warnings fixed on non-IPC and MacOS efficiency.
systems * security: with `--pidfile`, write to a temporary file and
* ### 1.8.0 - 24 September 2023 rename it into place, to improve security.
* #### 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 * security: ignore _TMP_ / _TMPDIR_ environment variables when
using a terminal lock file using a terminal lock file.
* #### Fixes * Only report errors about missing files when starting to
* fix: only report errors about missing files when starting to transfer from them, not while calculating size, and behave more
transfer from them, not while calculating size, and behave like cat(1) by skipping them and moving on.
more like `cat`(1) by skipping them and moving on * Auto-calculate total line count with `--line-mode` when all
* fix: auto-calculate total line count with "`--line-mode`" inputs are regular files.
when all inputs are regular files * Cope with machine suspend/resume and botched timestamps.
* fix: use `clock_gettime()` in ETA calculation to cope with * If `--width` or `--height` were provided, do not change them
machine suspend/resume (#13) when the window size changes.
* fix: if "`--width`" or "`--height`" were provided, do not * When a file descriptor position in `--watchfd` moves backwards,
change them when the window size changes (#36) show the rate using the correct prefix.
* fix: when a file descriptor position in "`--watchfd`" moves * Rewrite terminal state save/restore so state is not
backwards, show the rate using the correct prefix (#41) intermittently garbled on exit when using `--cursor`.
* fix: rewrite terminal state save/restore so state is not * Licensing change from Artistic 2.0 to GPLv3+.
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 Thu Nov 30 11:24:57 UTC 2023 - pgajdos@suse.com

15
pv.spec
View File

@ -19,8 +19,8 @@
Name: pv Name: pv
Version: 1.8.5 Version: 1.8.5
Release: 0 Release: 0
Summary: PipeViewer - Monitor the Progress of Data through Pipes Summary: Tool for monitor the progress of data through pipes
License: Artistic-2.0 License: GPL-3.0-or-later
Group: System/Base Group: System/Base
URL: http://ivarch.com/programs/pv.shtml URL: http://ivarch.com/programs/pv.shtml
@ -47,24 +47,23 @@ will be until completion.
%autosetup -p1 %autosetup -p1
%build %build
%configure --enable-lfs --enable-nls --disable-debugging --docdir=%{_docdir}/pv %configure --enable-lfs --enable-nls --disable-debugging --docdir="%_docdir/pv"
%make_build %make_build
%install %install
%make_install %make_install
%find_lang %name %find_lang %name
rm %{buildroot}/%{_docdir}/pv/INSTALL rm %buildroot/%_docdir/pv/INSTALL
%check %check
%ifarch s390x %ifnarch s390x
exit 0
%endif
%make_build test %make_build test
%endif
%files -f %name.lang %files -f %name.lang
%license docs/COPYING %license docs/COPYING
%_docdir/pv %_docdir/pv
%_bindir/pv %_bindir/pv
%_mandir/man1/pv.1%ext_man %_mandir/man1/pv.1*
%changelog %changelog