pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/hs-tar



Module Name:    pkgsrc
Committed By:   pho
Date:           Mon Apr 29 03:57:17 UTC 2024

Modified Files:
        pkgsrc/archivers/hs-tar: Makefile PLIST buildlink3.mk distinfo

Log Message:
archivers/hs-tar: Update to 0.6.2.0

0.6.2.0 Bodigrim andrew.lelechenko%gmail.com@localhost March 2024
  * Fix issues with Unicode support in filenames.

0.6.1.0 Bodigrim andrew.lelechenko%gmail.com@localhost January 2024
  * Support Unicode in filenames (encoded as UTF-8).
  * Reduce peak memory consumption when unpacking large files.

0.6.0.0 Bodigrim andrew.lelechenko%gmail.com@localhost December 2023
  This release features support for long file paths and symlinks (thanks to
  Julian Ospald) and variety of changes and improvements across entire
  package, fixing multiple causes of silent data corruption.

  Breaking changes:

  * Generalize Entries, Entry and EntryContent to GenEntries, GenEntry and
    GenEntryContent.
    - Functions working on entries have been generalized to more
      polymorphic types, where possible.
    - Modules which used to import Codec.Archive.Tar (Entry(..)) should now
      import Codec.Archive.Tar (Entry, pattern Entry) and similar for other
      Gen-types. Another option is to import the entire module qualified.
  * Redesign Codec.Archive.Tar.Check.
    - Change types of checkSecurity, checkTarbomb, checkPortability.
    - Add offending path as new field to TarBombError constructor.
    - Extend FileNameError with UnsafeLinkTarget constructor.
  * Drop deprecated emptyIndex and finaliseIndex.

  Examples of migration:

  * hackage-security: https://github.com/haskell/hackage-security/commit/24693ce115c9769fe3c6ec9ca1d137d14d0d27ff
  * archive-backpack: https://github.com/vmchale/archive-backpack/commit/4b3d1bdff15fcf044d6171ca649a930c775d491b
  * keter:            https://github.com/snoyberg/keter/commit/20a33d9276d5781ca6993b857d8d097085983ede
  * libarchive:       https://github.com/vmchale/libarchive/commit/c0e101fede924a6e12f1d726587626c48444e65d
  * cabal-install:    https://github.com/haskell/cabal/commit/51e6483f95ecb4f395dce36e47af296902a75143
  * ghcup:            https://github.com/haskell/ghcup-hs/commit/6ae312c1f9dd054546e4afe4c969c37cd54b09a9
  * hackage-server:   https://github.com/haskell/hackage-server/commit/6b71d1659500aba50b6a1e48aa53039046720af8

  Bug fixes:

  * Add support for over-long filepaths via GNU extension.
    - Now entryPath corresponds to an internal, low-level path, limited to
      255 characters. To list filenames properly use decodeLongNames,
      followed by entryTarPath.
  * Fix handling of hardlinks and symlinks.
  * Handle > 8 GB files insted of silent corruption.
  * Prohibit non-ASCII file names instead of silent corruption.
  * Set permissions on extracted files.
  * Ignore FAT32 errors when setting modification time.
  * Switch to trailer parsing mode only after a full block of NUL.

  New API:

  * Add Traversable Entries instance.
  * Add toTarPath', ToTarPathResult, longLinkEntry, longSymLinkEntry.
  * Add packSymlinkEntry and symbolicLinkPermission.
  * Add packAndCheck and unpackAndCheck.
  * Add checkEntrySecurity, checkEntryTarbomb and checkEntryPortability.
  * Add encodeLongNames, decodeLongNames, DecodeLongNamesError.

  Improvements:

  * Speed up fromTarPath, fromTarPathToPosixPath and
    fromTarPathToWindowsPath.
  * Alleviate leakage of file handles in packFileEntry.
  * Fix tests on 32-bit architectures.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/archivers/hs-tar/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/archivers/hs-tar/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/archivers/hs-tar/buildlink3.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/archivers/hs-tar/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/hs-tar/Makefile
diff -u pkgsrc/archivers/hs-tar/Makefile:1.12 pkgsrc/archivers/hs-tar/Makefile:1.13
--- pkgsrc/archivers/hs-tar/Makefile:1.12       Thu Nov  2 06:36:10 2023
+++ pkgsrc/archivers/hs-tar/Makefile    Mon Apr 29 03:57:17 2024
@@ -1,18 +1,12 @@
-# $NetBSD: Makefile,v 1.12 2023/11/02 06:36:10 pho Exp $
+# $NetBSD: Makefile,v 1.13 2024/04/29 03:57:17 pho Exp $
 
-DISTNAME=      tar-0.5.1.1
-PKGREVISION=   7
+DISTNAME=      tar-0.6.2.0
 CATEGORIES=    archivers
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       Reading, writing, and manipulating ".tar" archive files
 LICENSE=       modified-bsd
 
-HASKELL_UNRESTRICT_DEPENDENCIES+=      \
-       base    \
-       bytestring      \
-       directory       \
-       time
-
+.include "../../devel/hs-os-string/buildlink3.mk"
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/archivers/hs-tar/PLIST
diff -u pkgsrc/archivers/hs-tar/PLIST:1.4 pkgsrc/archivers/hs-tar/PLIST:1.5
--- pkgsrc/archivers/hs-tar/PLIST:1.4   Fri Oct 27 08:19:43 2023
+++ pkgsrc/archivers/hs-tar/PLIST       Mon Apr 29 03:57:17 2024
@@ -1,54 +1,67 @@
-@comment $NetBSD: PLIST,v 1.4 2023/10/27 08:19:43 pho Exp $
-lib/tar-${PKGVERSION}/${HS_VERSION}/package-description
+@comment $NetBSD: PLIST,v 1.5 2024/04/29 03:57:17 pho Exp $
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID.1}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Check.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Check.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Check.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Check/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Check/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Check/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Entry.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Entry.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Entry.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/IntTrie.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/IntTrie.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/IntTrie.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/StringTable.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/StringTable.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Index/StringTable.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/LongNames.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/LongNames.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/LongNames.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Pack.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Pack.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Pack.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/PackAscii.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/PackAscii.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/PackAscii.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Read.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Read.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Read.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Types.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Types.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Unpack.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Unpack.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Unpack.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Write.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Write.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/Codec/Archive/Tar/Write.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID.1}/libHS${HS_PKGID.1}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID.1}/libHS${HS_PKGID.1}_p.a
+lib/tar-${PKGVERSION}/${HS_VERSION}/package-description/1
+lib/tar-${PKGVERSION}/${HS_VERSION}/package-description/2
 lib/tar-${PKGVERSION}/${HS_VERSION}/package-id
-${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Check.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Check.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Check.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Entry.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Entry.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Entry.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index/IntTrie.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index/IntTrie.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index/IntTrie.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index/StringTable.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index/StringTable.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Index/StringTable.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Pack.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Pack.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Pack.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Read.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Read.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Read.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Types.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Types.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Types.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Unpack.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Unpack.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Unpack.p_hi
-${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Write.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Write.hi
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Tar/Write.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
-${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
 share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/LICENSE
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/Codec-Archive-Tar-Check.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/Codec-Archive-Tar-Entry.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/Codec-Archive-Tar-Index.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/Codec-Archive-Tar.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/README.md
+${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/changelog.md
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/doc-index.json
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/haddock-bundle.min.js
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/index.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/linuwial.css
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/meta.json
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/quick-jump.css
-${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/quick-jump.min.js
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/synopsis.png
 ${PLIST.doc}share/doc/${HS_PLATFORM}/tar-${PKGVERSION}/html/tar.haddock

Index: pkgsrc/archivers/hs-tar/buildlink3.mk
diff -u pkgsrc/archivers/hs-tar/buildlink3.mk:1.8 pkgsrc/archivers/hs-tar/buildlink3.mk:1.9
--- pkgsrc/archivers/hs-tar/buildlink3.mk:1.8   Thu Nov  2 06:36:10 2023
+++ pkgsrc/archivers/hs-tar/buildlink3.mk       Mon Apr 29 03:57:17 2024
@@ -1,13 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.8 2023/11/02 06:36:10 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2024/04/29 03:57:17 pho Exp $
 
 BUILDLINK_TREE+=       hs-tar
 
 .if !defined(HS_TAR_BUILDLINK3_MK)
 HS_TAR_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-tar+= hs-tar>=0.5.1
-BUILDLINK_ABI_DEPENDS.hs-tar+= hs-tar>=0.5.1.1nb7
+BUILDLINK_API_DEPENDS.hs-tar+= hs-tar>=0.6.2
+BUILDLINK_ABI_DEPENDS.hs-tar+= hs-tar>=0.6.2.0
 BUILDLINK_PKGSRCDIR.hs-tar?=   ../../archivers/hs-tar
+
+.include "../../devel/hs-os-string/buildlink3.mk"
 .endif # HS_TAR_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-tar

Index: pkgsrc/archivers/hs-tar/distinfo
diff -u pkgsrc/archivers/hs-tar/distinfo:1.6 pkgsrc/archivers/hs-tar/distinfo:1.7
--- pkgsrc/archivers/hs-tar/distinfo:1.6        Wed Jan 25 09:57:38 2023
+++ pkgsrc/archivers/hs-tar/distinfo    Mon Apr 29 03:57:17 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2023/01/25 09:57:38 pho Exp $
+$NetBSD: distinfo,v 1.7 2024/04/29 03:57:17 pho Exp $
 
-BLAKE2s (tar-0.5.1.1.tar.gz) = 48de9f5ef6affeb1cd05abc038947443e39e6671d345b920c789343bd54acc96
-SHA512 (tar-0.5.1.1.tar.gz) = 8d0a8d3ae178570e0842a2321a7fc86a6bba28c471ec27bafbc07fc4ac0e4183f8113c99ebc7126dc71759c33083791122be32563fb0d5a2b2d39cb3b36171f2
-Size (tar-0.5.1.1.tar.gz) = 39155 bytes
+BLAKE2s (tar-0.6.2.0.tar.gz) = c85ad6372c9778be7eb79d7ea4f3f690ebc380b9684f7a36d59502fd44b5024d
+SHA512 (tar-0.6.2.0.tar.gz) = e37a7a1ba63d1e862fdf044643ae299e0d090026faf9ea0a0670c5b29746e11494019804bd7c4dbabbad51b147b175b3da1a048c0726701527e146738e1a149b
+Size (tar-0.6.2.0.tar.gz) = 53278 bytes



Home | Main Index | Thread Index | Old Index