osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-zip-archive revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-zip-archive?expand=0&rev=53
This commit is contained in:
parent
dbe2aeccd6
commit
a71f718c19
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 24 02:02:17 UTC 2019 - psimons@suse.com
|
||||||
|
|
||||||
|
- 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 4 03:02:25 UTC 2018 - psimons@suse.com
|
Tue Dec 4 03:02:25 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-zip-archive
|
# spec file for package ghc-zip-archive
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%global pkg_name zip-archive
|
%global pkg_name zip-archive
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.4
|
Version: 0.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for creating and modifying zip archives
|
Summary: Library for creating and modifying zip archives
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
3
zip-archive-0.4.1.tar.gz
Normal file
3
zip-archive-0.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c5d5c9976241dcc25b0d8753dc526bb1bfef60f30dee38c53a7ae56e6be9b1b1
|
||||||
|
size 20967
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5fbea91d95ae1b1ec73aed8a8c67c8bae89bc3b6f7d9da898f07209e4a4ada19
|
|
||||||
size 20859
|
|
@ -1,107 +1,107 @@
|
|||||||
Name: zip-archive
|
Name: zip-archive
|
||||||
Version: 0.4
|
Version: 0.4.1
|
||||||
x-revision: 1
|
x-revision: 1
|
||||||
Cabal-Version: 2.0
|
Cabal-Version: 2.0
|
||||||
Build-type: Simple
|
Build-type: Simple
|
||||||
Synopsis: Library for creating and modifying zip archives.
|
Synopsis: Library for creating and modifying zip archives.
|
||||||
Description:
|
Description:
|
||||||
The zip-archive library provides functions for creating, modifying, and
|
The zip-archive library provides functions for creating, modifying, and
|
||||||
extracting files from zip archives. The zip archive format is
|
extracting files from zip archives. The zip archive format is
|
||||||
documented in <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.
|
documented in <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.
|
||||||
.
|
.
|
||||||
Certain simplifying assumptions are made about the zip archives: in
|
Certain simplifying assumptions are made about the zip archives: in
|
||||||
particular, there is no support for strong encryption, zip files that
|
particular, there is no support for strong encryption, zip files that
|
||||||
span multiple disks, ZIP64, OS-specific file attributes, or compression
|
span multiple disks, ZIP64, OS-specific file attributes, or compression
|
||||||
methods other than Deflate. However, the library should be able to read
|
methods other than Deflate. However, the library should be able to read
|
||||||
the most common zip archives, and the archives it produces should be
|
the most common zip archives, and the archives it produces should be
|
||||||
readable by all standard unzip programs.
|
readable by all standard unzip programs.
|
||||||
.
|
.
|
||||||
Archives are built and extracted in memory, so manipulating large zip
|
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
|
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
|
need features not supported by this library, a better choice may be
|
||||||
<http://hackage.haskell.org/package/zip zip>, which uses a
|
<http://hackage.haskell.org/package/zip zip>, which uses a
|
||||||
memory-efficient streaming approach. However, zip can only read and
|
memory-efficient streaming approach. However, zip can only read and
|
||||||
write archives inside instances of MonadIO, so zip-archive is a better
|
write archives inside instances of MonadIO, so zip-archive is a better
|
||||||
choice if you want to manipulate zip archives in "pure" contexts.
|
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
|
As an example of the use of the library, a standalone zip archiver and
|
||||||
extracter is provided in the source distribution.
|
extracter is provided in the source distribution.
|
||||||
Category: Codec
|
Category: Codec
|
||||||
Tested-with: GHC == 7.8.2, GHC == 7.10.3, GHC == 8.0.2,
|
Tested-with: GHC == 7.8.2, GHC == 7.10.3, GHC == 8.0.2,
|
||||||
GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
|
GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
|
||||||
License: BSD3
|
License: BSD3
|
||||||
License-file: LICENSE
|
License-file: LICENSE
|
||||||
Homepage: http://github.com/jgm/zip-archive
|
Homepage: http://github.com/jgm/zip-archive
|
||||||
Author: John MacFarlane
|
Author: John MacFarlane
|
||||||
Maintainer: jgm@berkeley.edu
|
Maintainer: jgm@berkeley.edu
|
||||||
Extra-Source-Files: changelog
|
Extra-Source-Files: changelog
|
||||||
README.markdown
|
README.markdown
|
||||||
tests/test4.zip
|
tests/test4.zip
|
||||||
tests/test4/a.txt
|
tests/test4/a.txt
|
||||||
tests/test4/b.bin
|
tests/test4/b.bin
|
||||||
"tests/test4/c/with spaces.txt"
|
"tests/test4/c/with spaces.txt"
|
||||||
tests/zip_with_symlinks.zip
|
tests/zip_with_symlinks.zip
|
||||||
tests/zip_with_password.zip
|
tests/zip_with_password.zip
|
||||||
tests/zip_with_evil_path.zip
|
tests/zip_with_evil_path.zip
|
||||||
|
|
||||||
Source-repository head
|
Source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/jgm/zip-archive.git
|
location: git://github.com/jgm/zip-archive.git
|
||||||
|
|
||||||
flag executable
|
flag executable
|
||||||
Description: Build the Zip executable.
|
Description: Build the Zip executable.
|
||||||
Default: False
|
Default: False
|
||||||
|
|
||||||
Library
|
Library
|
||||||
Build-depends: base >= 4.5 && < 5,
|
Build-depends: base >= 4.5 && < 5,
|
||||||
pretty,
|
pretty,
|
||||||
containers,
|
containers,
|
||||||
binary >= 0.6,
|
binary >= 0.6,
|
||||||
zlib,
|
zlib,
|
||||||
filepath,
|
filepath,
|
||||||
bytestring >= 0.10.0,
|
bytestring >= 0.10.0,
|
||||||
array,
|
array,
|
||||||
mtl,
|
mtl,
|
||||||
text >= 0.11,
|
text >= 0.11,
|
||||||
digest >= 0.0.0.1,
|
digest >= 0.0.0.1,
|
||||||
directory >= 1.2.2,
|
directory >= 1.2.0,
|
||||||
time
|
time
|
||||||
Exposed-modules: Codec.Archive.Zip
|
Exposed-modules: Codec.Archive.Zip
|
||||||
Default-Language: Haskell98
|
Default-Language: Haskell98
|
||||||
Hs-Source-Dirs: src
|
Hs-Source-Dirs: src
|
||||||
Ghc-Options: -Wall
|
Ghc-Options: -Wall
|
||||||
if os(windows)
|
if os(windows)
|
||||||
cpp-options: -D_WINDOWS
|
cpp-options: -D_WINDOWS
|
||||||
else
|
else
|
||||||
Build-depends: unix
|
Build-depends: unix
|
||||||
|
|
||||||
Executable zip-archive
|
Executable zip-archive
|
||||||
if flag(executable)
|
if flag(executable)
|
||||||
Buildable: True
|
Buildable: True
|
||||||
else
|
else
|
||||||
Buildable: False
|
Buildable: False
|
||||||
Main-is: Main.hs
|
Main-is: Main.hs
|
||||||
Hs-Source-Dirs: .
|
Hs-Source-Dirs: .
|
||||||
Build-Depends: base >= 4.2 && < 5,
|
Build-Depends: base >= 4.2 && < 5,
|
||||||
directory >= 1.1,
|
directory >= 1.1,
|
||||||
bytestring >= 0.9.0,
|
bytestring >= 0.9.0,
|
||||||
zip-archive
|
zip-archive
|
||||||
Other-Modules: Paths_zip_archive
|
Other-Modules: Paths_zip_archive
|
||||||
Autogen-Modules: Paths_zip_archive
|
Autogen-Modules: Paths_zip_archive
|
||||||
Ghc-Options: -Wall
|
Ghc-Options: -Wall
|
||||||
Default-Language: Haskell98
|
Default-Language: Haskell98
|
||||||
|
|
||||||
Test-Suite test-zip-archive
|
Test-Suite test-zip-archive
|
||||||
Type: exitcode-stdio-1.0
|
Type: exitcode-stdio-1.0
|
||||||
Main-Is: test-zip-archive.hs
|
Main-Is: test-zip-archive.hs
|
||||||
Hs-Source-Dirs: tests
|
Hs-Source-Dirs: tests
|
||||||
Build-Depends: base >= 4.2 && < 5,
|
Build-Depends: base >= 4.2 && < 5,
|
||||||
directory >= 1.3, bytestring >= 0.9.0, process, time,
|
directory >= 1.3, bytestring >= 0.9.0, process, time,
|
||||||
HUnit, zip-archive, temporary, filepath
|
HUnit, zip-archive, temporary, filepath
|
||||||
Default-Language: Haskell98
|
Default-Language: Haskell98
|
||||||
Ghc-Options: -Wall
|
Ghc-Options: -Wall
|
||||||
if os(windows)
|
if os(windows)
|
||||||
cpp-options: -D_WINDOWS
|
cpp-options: -D_WINDOWS
|
||||||
else
|
else
|
||||||
Build-depends: unix
|
Build-depends: unix
|
||||||
build-tools: unzip
|
build-tools: unzip
|
||||||
|
Loading…
Reference in New Issue
Block a user