the Fink project is an effort to port
popular Unix programs to Mac OS X
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: unshield
Version: 0.5.1
Revision: 3
Maintainer: Max Horn
Depends: %N-shlibs (=%v-%r)
BuildDepends: fink (>= 0.24.12)
Source: mirror:sourceforge:synce/%n-%v.tar.gz
Source-MD5: cc06e5573a4d5095871bf1bb14f3da1f
PatchFile: %n.patch
PatchFile-MD5: d2ea90b41cd85fdc586287f90efacc5e
ConfigureParams: --disable-dependency-tracking
InstallScript: make install DESTDIR=%d
DocFiles: LICENSE README
Description: Extracts InstallShield CAB files
DescDetail: <<
This software extracts CAB (cabinet) files from InstallShield installers
used to be installed on Windows CE devices or Windows desktop machines.
See also the cabextract package, which does a similar thing for
Microsoft cabinet files files
<<
DescPort: <<
The patch allows unshield to extract some CAB files the stock version does
not support (e.g. of the game "The Feeble Files").
<<
License: BSD
Homepage: http://synce.sourceforge.net/synce/unshield.php
SplitOff: <<
Package: %N-shlibs
Description: Shared libraries for unshield
DocFiles: LICENSE README
Files: <<
lib/libunshield.0.0.0.dylib
lib/libunshield.0.dylib
<<
Shlibs: %p/lib/libunshield.0.dylib 1.0.0 %n (>=0.5-1)
<<
SplitOff2: <<
Package: %N-dev
Depends: %N-shlibs (=%v-%r)
Description: Development package for unshield
BuildDependsOnly: true
DocFiles: LICENSE README
Files: <<
include
lib/libunshield.a
lib/libunshield.la
lib/libunshield.dylib
lib/pkgconfig/libunshield.pc
<<
<<
diff -ru unshield-0.5.1/lib/file.c unshield-0.5.1-patched/lib/file.c
--- unshield-0.5.1/lib/file.c 2009-05-26 00:42:18.000000000 +0200
+++ unshield-0.5.1-patched/lib/file.c 2009-05-26 00:43:00.000000000 +0200
@@ -266,7 +266,7 @@
if (err != Z_OK)
return err;
- err = inflate(&stream, Z_BLOCK);
+ err = inflate(&stream, Z_SYNC_FLUSH);
if (err != Z_OK)
{
inflateEnd(&stream);
diff -ru unshield-0.5.1/lib/libunshield.c unshield-0.5.1-patched/lib/libunshield.c
--- unshield-0.5.1/lib/libunshield.c 2009-05-26 00:42:18.000000000 +0200
+++ unshield-0.5.1-patched/lib/libunshield.c 2009-05-26 00:42:54.000000000 +0200
@@ -271,7 +271,7 @@
header->major_version = (header->common.version >> 12) & 0xf;
-#if 0
+#if 1
if (header->major_version < 5)
header->major_version = 5;
#endif