Skip to content

Commit

Permalink
Update to 0.1.3.4
Browse files Browse the repository at this point in the history
changes:
0.1.3.4
  - mv Codec/Archive/Zip.hs src/Codec/Archive/Zip.hs

0.1.3.3
  - Add back binary 0.5 support

0.1.3.2
  - Fixed digital signature magic numbers

0.1.3.1
  - fix build failure against directory-1.2 (missing liftM)
      Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

0.1.3
  - Rewrote to use new binary API (binary >= 0.6).
      Closes jgm/zip-archive#7
      Closes jgm/zip-archive#4
  - Removed unneeded pragma.
  - Removed unnecessary import.

0.1.2.1
  - Added proper cabal test suite.
  - Constrain binary to < 0.6, since 0.6 removes lookAhead.
      We'll need to find a workaround going forward, but for now
      the constraint is needed in order for zip-archive to compile.
  - Support directory 1.2
      The type of getModificationTime has changed, leading to some CPP

0.1.1.8
  - Fix parsing of "version needed to extract" field
      This field consists of two bytes, upper one indicating host OS and
      lower one indicating version of Zip (de)compressor. Tomake sure if
      one can unpack given archive it's only lower byte which is needed to
      be checked, but library used to check both.

0.1.1.7
  - Correctly calculate length of file paths.
      Be sure to use zipifyFilePath and convert to UTF8 before
      calculating length.
  - Fixed problems with zipifyFilePath:
      + Don't ever put drive in zip file path!
      + Don't put leading "./" supplied by some versions of
        System.FilePath.splitDirectories.
  - Fixed Test.hs so it will pick up right zip executable on Mac OSX.

0.1.1.6
  - epochTimeToMSDOSDateTime: return minimum DOS datetime for earlier epoch times.
      The previous behavior was just to crash. Epoch times start in 1970,
      while DOS datetimes start in 1980.
      Returning the minimum seems the best solution,
      since you simply can't create a zip archive entry with an earlier time.
      This is also the solution used by zip30.
      Thanks to Radoslav Dorcik for reporting.

0.1.1.5
  - Fixed warnings uncovered by GHC 6.12.

0.1.1.4
  - Added explicit upper bound for base version
  - Removed -O2 option
  - Version bump in Zip executable
  - Handle data descriptor record
      OpenOffice-created zip archives sometimes use the "data descriptor
      record" to store checksums and lengths.
      getLocalFile now checks the general purpose bit flags to see
      if there is a data descriptor record; if there is,
      it ignores the compressed size field and instead reads data
      until the data descriptor record is encountered.

      This patch should fix problems reading ODS and other OpenOffice created
      zip archives.
      Thanks to Joel Lehtone for calling the problem to my attention.
  • Loading branch information
szptvlfn committed Aug 21, 2013
1 parent e36c250 commit fd85a74
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
21 changes: 11 additions & 10 deletions hs-zip-archive/Makefile
@@ -1,15 +1,16 @@
# $NetBSD$
#
DISTNAME= zip-archive-0.1.1.3
PKGNAME= hs-zip-archive-0.1.1.3
CATEGORIES= lang
MASTER_SITES= http://hackage.haskell.org/packages/archive/zip-archive/0.1.1.3/

MAINTAINER= zecrazytux@zecrazytux.net
HOMEPAGE= http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zip-archive
COMMENT= Haskell library providing functions for manipulating zip archives
DISTNAME= zip-archive-0.1.3.4
CATEGORIES= lang

MAINTAINER= zecrazytux@zecrazytux.net
COMMENT= Haskell library providing functions for manipulating zip archives
LICENSE= modified-bsd

.include "../../wip/mk/haskell.mk"
USE_LANGUAGES= c

.include "../../wip/mk/haskell.mk"
.include "../../wip/hs-digest/buildlink3.mk"
.include "../../wip/hs-mtl/buildlink3.mk"
.include "../../wip/hs-utf8-string/buildlink3.mk"
.include "../../wip/hs-zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
2 changes: 1 addition & 1 deletion hs-zip-archive/buildlink3.mk
Expand Up @@ -5,7 +5,7 @@ BUILDLINK_TREE+= hs-zip-archive
.if !defined(HS_ZIP_ARCHIVE_BUILDLINK3_MK)
HS_ZIP_ARCHIVE_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.1.1.3
BUILDLINK_API_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.1.3.4
BUILDLINK_PKGSRCDIR.hs-zip-archive?= ../../wip/hs-zip-archive
.endif # HS_ZIP_ARCHIVE_BUILDLINK3_MK

Expand Down
6 changes: 3 additions & 3 deletions hs-zip-archive/distinfo
@@ -1,5 +1,5 @@
$NetBSD$

SHA1 (zip-archive-0.1.1.3.tar.gz) = cbba0a5d2bc5efdb3ae6601cb6be3a1a49851609
RMD160 (zip-archive-0.1.1.3.tar.gz) = c4350e34d0a4e62a37880bc23d2bba7c5565b4d8
Size (zip-archive-0.1.1.3.tar.gz) = 16425 bytes
SHA1 (zip-archive-0.1.3.4.tar.gz) = 18a795060191f2c9f7723f673206d82c0544c57d
RMD160 (zip-archive-0.1.3.4.tar.gz) = 77f3b929bf6b3b836a80bdaf41653ddcb37a1bb9
Size (zip-archive-0.1.3.4.tar.gz) = 11250 bytes

0 comments on commit fd85a74

Please sign in to comment.