summaryrefslogtreecommitdiffstats
path: root/archivers/unshield
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2004-04-09 12:47:57 +0000
committerse <se@FreeBSD.org>2004-04-09 12:47:57 +0000
commit49ac29735c0f3b6c1ebe5436710ada8bac3c356e (patch)
tree87ffc96d239bba359861e86bd0e9894b76adb01d /archivers/unshield
parent18a0cbdae06e75fc2592b40cf4b59fa8bd8a5d9c (diff)
downloadFreeBSD-ports-49ac29735c0f3b6c1ebe5436710ada8bac3c356e.zip
FreeBSD-ports-49ac29735c0f3b6c1ebe5436710ada8bac3c356e.tar.gz
New port of unshield, a InstallShield cabinet file reader.
This prgogarm is particularly useful to extract .SYS and .INF files from NDIS drivers packaged as InstallShield archives, which are required as input to ndiscvt (i.e. for the NDISulator).
Diffstat (limited to 'archivers/unshield')
-rw-r--r--archivers/unshield/Makefile27
-rw-r--r--archivers/unshield/distinfo2
-rw-r--r--archivers/unshield/files/patch-aa10
-rw-r--r--archivers/unshield/files/patch-ab14
-rw-r--r--archivers/unshield/pkg-descr14
-rw-r--r--archivers/unshield/pkg-plist5
6 files changed, 72 insertions, 0 deletions
diff --git a/archivers/unshield/Makefile b/archivers/unshield/Makefile
new file mode 100644
index 0000000..157ab32
--- /dev/null
+++ b/archivers/unshield/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: unshield
+# Date created: 08 April 2004
+# Whom: se
+#
+# $FreeBSD$
+#
+
+PORTNAME= unshield
+PORTVERSION= 0.2
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR=synce
+
+MAINTAINER= se@FreeBSD.org
+COMMENT= Extract data from InstallShield CAB files
+
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/unshield ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/libunshield.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/lib/.libs/libunshield.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/lib/.libs/libunshield.so.0 ${PREFIX}/lib
+ ${LN} -sf ${PREFIX}/lib/libunshield.so.0 ${PREFIX}/lib/libunshield.so
+
+.include <bsd.port.mk>
diff --git a/archivers/unshield/distinfo b/archivers/unshield/distinfo
new file mode 100644
index 0000000..131f031
--- /dev/null
+++ b/archivers/unshield/distinfo
@@ -0,0 +1,2 @@
+MD5 (unshield-0.2.tar.gz) = 06aef0726ad58bf51ad929860506c4b5
+SIZE (unshield-0.2.tar.gz) = 216230
diff --git a/archivers/unshield/files/patch-aa b/archivers/unshield/files/patch-aa
new file mode 100644
index 0000000..75ff1be
--- /dev/null
+++ b/archivers/unshield/files/patch-aa
@@ -0,0 +1,10 @@
+--- src/unshield.c~ Mon Aug 25 19:17:29 2003
++++ src/unshield.c Fri Apr 9 13:55:47 2004
+@@ -1,5 +1,7 @@
+ #define _BSD_SOURCE 1
++#if !defined(__FreeBSD__)
+ #define _POSIX_C_SOURCE 2
++#endif
+ #include <libunshield.h>
+ #include <ctype.h>
+ #include <stdio.h>
diff --git a/archivers/unshield/files/patch-ab b/archivers/unshield/files/patch-ab
new file mode 100644
index 0000000..ebc1e8a
--- /dev/null
+++ b/archivers/unshield/files/patch-ab
@@ -0,0 +1,14 @@
+--- lib/cabfile.h~ Mon Aug 25 10:17:28 2003
++++ lib/cabfile.h Fri Apr 9 05:30:19 2004
+@@ -4,7 +4,11 @@
+
+ #include "internal.h"
+
++#if __GNUC__ > 2
+ #define P __attribute__((packed))
++#else
++#define P
++#endif
+
+ #define OFFSET_COUNT 0x47
+ #define CAB_SIGNATURE 0x28635349
diff --git a/archivers/unshield/pkg-descr b/archivers/unshield/pkg-descr
new file mode 100644
index 0000000..c6c174e
--- /dev/null
+++ b/archivers/unshield/pkg-descr
@@ -0,0 +1,14 @@
+An installer created by the InstallShield software stores the files it will
+install inside of InstallShield Cabinet Files. It would thus be desirable
+to be able to extract the Microsoft Cabinet Files from the InstallShield
+Cabinet Files in order to be able to install the applications without access
+to Microsoft Windows.
+
+- Use a well known open source license (MIT)
+- Work on both little-endian and big-endian systems
+- Separate the implementation in a tool and a library
+- Support InstallShield versions 5 and later
+- Be able to list contents of InstallShield Cabinet Files
+- Be able to extract files from InstallShield Cabinet Files
+
+WWW: http://synce.sourceforge.net/synce/unshield.php
diff --git a/archivers/unshield/pkg-plist b/archivers/unshield/pkg-plist
new file mode 100644
index 0000000..3788b86
--- /dev/null
+++ b/archivers/unshield/pkg-plist
@@ -0,0 +1,5 @@
+bin/unshield
+include/libunshield.h
+lib/libunshield.a
+lib/libunshield.so
+lib/libunshield.so.0
OpenPOWER on IntegriCloud