Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-zip-archive | Distribution: SUSE Linux Enterprise 15 |
Version: 0.4.2.1 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 150500.1.1 | Build date: Tue Dec 13 22:19:55 2022 |
Group: Unspecified | Build host: nebbiolo |
Size: 680258 | Source RPM: ghc-zip-archive-0.4.2.1-150500.1.1.src.rpm |
Packager: https://www.suse.com/ | |
Url: https://hackage.haskell.org/package/zip-archive | |
Summary: Library for creating and modifying zip archives |
The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. The zip archive format is documented in <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>. Certain simplifying assumptions are made about the zip archives: in particular, there is no support for strong encryption, zip files that span multiple disks, ZIP64, OS-specific file attributes, or compression methods other than Deflate. However, the library should be able to read the most common zip archives, and the archives it produces should be readable by all standard unzip programs. Archives are built and extracted in memory, so manipulating large zip files will consume a lot of memory. If you work with large zip files or need features not supported by this library, a better choice may be <http://hackage.haskell.org/package/zip zip>, which uses a memory-efficient streaming approach. However, zip can only read and write archives inside instances of MonadIO, so zip-archive is a better choice if you want to manipulate zip archives in "pure" contexts. As an example of the use of the library, a standalone zip archiver and extracter is provided in the source distribution.
BSD-3-Clause
* Thu Mar 03 2022 [email protected] - Update zip-archive to version 0.4.2.1. zip-archive 0.4.2.1 * Fix Windows build regression (#61). zip-archive 0.4.2 * Fix problem with files with colon (#89). * Remove build-tools. This was used to indicate that the 'unzip' executable was needed for testing, but it was never intended to be used this way and now the field is deprecated. The current test suite simply skips the test using the unzip executable (with a warning) if 'unzip' is not in the path. * Remove existing symlinks when extracting zip files with symlinks (#60, Vikrem). Previously, writeEntry would raise an error if it tried to create a symlink and a symlink already existed at that path. This behavior was inconsistent with its behavior for regular files, which it overwrote without comment. This commit causes symlinks to be replaced by writeEntry instead of an error being raised. * Remove binary < 0.6 CPP. It's no longer needed because we don't support binary < 0.6. Also use manySig instead of many, to get better error messages. * Add type annotation for printf. * Better checking for unsafe paths (#55). This method allows things like `foo/bar/../../baz`. * Require base >= 4.5 (#56) * Add GitHub CI. * Thu Dec 17 2020 [email protected] - disable %{ix86} build * Mon Aug 31 2020 [email protected] - Update zip-archive to version 0.4.1 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Tue Aug 18 2020 [email protected] - Replace %setup -q with the more modern %autosetup macro. * Tue Jun 16 2020 [email protected] - Re-generate file with latest version of spec-cleaner. * Fri Nov 08 2019 [email protected] - Drop obsolete group attributes. * Wed Apr 24 2019 [email protected] - Update zip-archive to version 0.4.1. zip-archive 0.4.1 * writEntry behavior change: Improve raising of UnsafePath error (#55). Previously we raised this error spuriously when archives were unpacked outside the working directory. Now we raise it if eRelativePath contains ".." as a path component, or eRelativePath path is an absolute path and there is no separate destination directory. (Note that `/foo/bar` is fine as a path as long as a destination directory, e.g. `/usr/local`, is specified.) * Tue Dec 04 2018 [email protected] - Update zip-archive to version 0.4. zip-archive 0.4 * Implement read-only support for PKWARE encryption (Sergii Rudchenko). The "traditional" PKWARE encryption is a symmetric encryption algorithm described in zip format specification in section 6.1. This change allows to extract basic "password-protected" entries from ZIP files. Note that the standard file extraction function extractFilesFromArchive does not decrypt entries (it will raise an exception if it encounters an encrypted entry). To handle archives with encrypted entries, use the new function fromEncryptedEntry. API changes: + Add eEncryptionMethod field to Entry. + Add EncryptionMethod type. + Add function isEncryptedEntry. + Add function fromEncryptedEntry. * Add CannotWriteEncryptedEntry constructor to ZipException. * Add UnsafePath to ZipException (#50). * writeEntry: raise UnsafePath exception for unsafe paths (#50). This prevents malicious zip files from overwriting paths above the working directory. * Add Paths_zip_archive to autogen-modules. * Clarify README and cabal description. * Specify cabal-version: 2.0. Otherwise we get an unknown build tool error using `build-depends` without a custom Setup.hs. * Change build-type to simple. Retain 'build-tools: unzip' in test stanza, though now it doesn't do anything except give a hint to external tools. If unzip is not found in the path, the test suite prints a message and counts the test that requires unzip as succeeding (see #51). * Sat Oct 20 2018 [email protected] - Use https URL to refer to bugs.opensuse.org. * Wed Jul 18 2018 [email protected] - Cosmetic: replace tabs with blanks, strip trailing white space, and update copyright headers with spec-cleaner. * Fri Jul 13 2018 [email protected] - Update zip-archive to version 0.3.3. zip-archive 0.3.3 * Remove dependency on old-time (typedrat). * Drop splitBase flag and support for base versions < 3. zip-archive 0.3.2.5 * Move 'build-tools: unzip' from library stanza to test stanza. unzip should only be required for testing, not for regular builds of the library. * Mon May 14 2018 [email protected] - Update zip-archive to version 0.3.2.4. * Use createSymbolicLink instead of createFileLink in tests. This allows us to lower the directory lower bound (#40). * Fixes for handling of symbolic links (#39, Tommaso Piazza). * Fixes for symbolic link tests, and additional tests. * Add ZipOption to preserve symbolic links (#37, Tommaso Piazza). Add OptPreserveSymbolicLinks constructor to ZipOption. If this option is set, symbolic links will be preserved. Symbolic links are not supported on Windows. * Require binary >= 0.6 (#36). * Improve exit handling in zip-archive program. * Sun Jun 25 2017 [email protected] - Update to version 0.3.1.1. * Mon Jun 12 2017 [email protected] - Update to version 0.3.1. * Wed May 03 2017 [email protected] - Update to version 0.3.0.6 with cabal2obs. * Mon Jan 23 2017 [email protected] - Update to version 0.3.0.5 revision 1 with cabal2obs. * Thu Sep 15 2016 [email protected] - Update to version 0.3.0.5 revision 0 with cabal2obs. * Sun Jul 10 2016 [email protected] - Update to version 0.2.3.7 revision 0 with cabal2obs. * Sun Feb 01 2015 [email protected] - Update to 0.2.3.7: * Declared test suite's dependency on 'zip' using custom Setup.lhs (#21,#22). * Removed hard-coded path to zip in test suite (#21). * Removed misplaced build-depends in cabal file. * Allow compilation with binary >= 0.5. Note that toArchiveOrFail is not safe when compiled against binary < 0.7; it will never return a Left value, and will raise an error if parsing fails, just like toArchive. This is documented in the haddocks. This is ugly, but justified by the need to have a version of zip-archive that compiles against older versions of binary. * Make sure all path comparisons compare normalized paths. So, findEntryByPath "foo" will find something stored as "./foo" in the zip container. * Better normalization of file paths: "./foo/bar" and "foo/./bar" are now treated the same, for example. Note that we do not yet treat "foo/../bar" and "bar" as the same. * Removed lower bound on directory (>= 1.2), which caused build failures with GHC 7.4 and 7.6. * Added travis script for automatic testing on 3 GHC versions. * Require binary >= 0.7 and directory >= 1.2. The newer binary is needed to provide toArchiveOrFail. The other change is mainly for convenience, to avoid lots of ugly conditional compilation. * Export new function `toArchiveOrFail`. Closes #17. * Set general purpose bit flag to use UTF8 in local file header. Otherwise we get a mismatch between the flag in the central directory and the flag in the local file header, which causes some programs not to be able to extract the files. Closes #19. * Fix a stack overflow in getWordsTillSig (Tristan Ravitch). recognize UTF-8 encoded file names (Tobias Brandt). * Added OptLocation, to specify the path to which a file is to be added when readEntry is used (Stephen McIntosh).
/usr/lib64/ghc-8.10.7/zip-archive-0.4.2.1 /usr/lib64/ghc-8.10.7/zip-archive-0.4.2.1/libHSzip-archive-0.4.2.1-GkwfvyzF3Mj3XQdfyzzkFz-ghc8.10.7.so /usr/share/licenses/ghc-zip-archive /usr/share/licenses/ghc-zip-archive/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 17:57:49 2024