Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/star archivers/star: Update to 1.6.1nb10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2957abea9af
branches:  trunk
changeset: 437564:f2957abea9af
user:      micha <micha%pkgsrc.org@localhost>
date:      Wed Aug 26 13:51:36 2020 +0000

description:
archivers/star: Update to 1.6.1nb10

New features with AN-2020-07-18:
- star: star could dump core if it was used as "star -t ..." or.
  "star -x ..." while being in a UTF-8 based locale and trying to deal
  with extremely long pathnames (more than PATH_MAX) in the archive.

  This bug was caused by the dummy conversion routines _to_utf8() or
  _from_utf8() that did not stop after "tolen" bytes (the current size
  of the dynamically growing path structure) have been copied.
  This bug has been introduced in 2018 when the dynamic path name
  variables have been introduced together with support for extremely
  long path names.

- star: lpath_unix.c and lhash.c renamed a local variable buflen to bflen
  to avoid a gcc shadowing warning with the rest of star.

- star: star.c fixed some fallthrough warnings from lint.

- star: The FIFO code (which is 30 years old) did use an int for the size
  which historically was OK, but this did limit the size of the FIFO to
  2 GB. Now with modern tape drives that are really fast, a FIFO with
  2 GB would only give a tape streaming reserve for approx. 8 seconds,
  which is not sufficient. Approx. 30 seconds reserve are recommended.
  With modern tape drives, this would need approx. 8 GB of FIFO. Be.
  however careful not to use more than half of the real RAM available
  in the whole system for the star FIFO.

  Note that this change induced the need for a lot of derived changes
  in approx. 1000 lines of code spread over the whole star project and
  for this reason, it is advised to carefully test the new version and
  to report if problems occur.


New features with AN-2020-08-12:
- autoconf: added a new test for the existence of <sys/auxv.h>

- autoconf: added new tests for Linux getauxval() and FreeBSD elf_aux_info()

- libschily: getexecpath.c now uses getauxval() on Linux and elf_aux_info()
  on FreeBSD. This was needed since readlink("/proc/curproc/file") on
  FreeBSD returns random values for hardlinked files, making it impossible
  to use the result in order to find out which behavior variant of a
  fat binary is requested.

- star: GNU cpio archives may contain longer path names than permitted by
  the AT&T documentation. This did cause problems with our automated
  recognition of swapped CPIO headers. We now use a more robust method.

- star: GNU cpio archives may contain longer path names than permitted by
  the AT&T documentation. This could cause star to dump core because the
  cpio module did not yet call the routine to grow our new dynamic path
  store.

- star: older GNU compilers seem to decide that a division:

      long long / long results in a long.

  We now cast the divisor to long long to definitely get the right
  result for a printf argument.

- star: changed a name in a parameter list for lreadlink() to avoid
  a GCC shadow warning.

- star: The variable use_fifo is also needed if the FIFO is not
  available (e.g. on DOS). The previous code did not compile on platforms
  that did not support to implement the FIFO. We moved
  extern BOOL use_fifo out of a #ifdef FIFO

  Thanks to a hint from Albert Wik.

- star: The file README.otherbugs has been changed to match the
  state of today and a geocrawler based URL now includes an
  archive.org prefix as geocrawler no longer exists.

diffstat:

 archivers/star/Makefile |   6 +++---
 archivers/star/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (30 lines):

diff -r 799b0fe4f1e0 -r f2957abea9af archivers/star/Makefile
--- a/archivers/star/Makefile   Wed Aug 26 13:47:14 2020 +0000
+++ b/archivers/star/Makefile   Wed Aug 26 13:51:36 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.52 2020/07/17 10:58:41 micha Exp $
+# $NetBSD: Makefile,v 1.53 2020/08/26 13:51:36 micha Exp $
 
-DISTNAME=      schily-2020-07-01
+DISTNAME=      schily-2020-08-12
 PKGNAME=       star-1.6.1
-PKGREVISION=   9
+PKGREVISION=   10
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=schilytools/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 799b0fe4f1e0 -r f2957abea9af archivers/star/distinfo
--- a/archivers/star/distinfo   Wed Aug 26 13:47:14 2020 +0000
+++ b/archivers/star/distinfo   Wed Aug 26 13:51:36 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.24 2020/07/17 10:58:41 micha Exp $
+$NetBSD: distinfo,v 1.25 2020/08/26 13:51:36 micha Exp $
 
-SHA1 (schily-2020-07-01.tar.bz2) = 7653c8b99d1aebe85337df681aae8ec1352c1ac1
-RMD160 (schily-2020-07-01.tar.bz2) = 4c7989eb95cff9a4bdd5f521b95135902912ab8d
-SHA512 (schily-2020-07-01.tar.bz2) = 512f0c3488bde5812d2011b2c1b1f308b9c139331a16c40fc0b61983fd8ff26d60845ddc8adc4d5bf651405cde786e63de61a473a1c658d08e5a8fdf949312d6
-Size (schily-2020-07-01.tar.bz2) = 4828878 bytes
+SHA1 (schily-2020-08-12.tar.bz2) = dbfff482d6c3f0cfbfaf3a43989cbf91f3e0402b
+RMD160 (schily-2020-08-12.tar.bz2) = 5e5f5e6ba8ba271c9b54e9eaf4eebf3e89b44dcf
+SHA512 (schily-2020-08-12.tar.bz2) = 2b86408107bcc0d928e9b3596be9da98f5e711df42b0d329f2bc91d35e191675ad3d297d8314ba2000ef6687f796b3115fd4de196da56314e7b5e452445ad3d3
+Size (schily-2020-08-12.tar.bz2) = 4850267 bytes



Home | Main Index | Thread Index | Old Index