diff options
author | martin <martin@pkgsrc.org> | 2005-08-01 14:22:02 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2005-08-01 14:22:02 +0000 |
commit | 99b336d5232bc4e8d268582aa5d4342dda8a7e7c (patch) | |
tree | 9bddb61a754f42134809eb115f45c73694d71304 /archivers/unshield | |
parent | 014c8480421adc2c5b88b9789a784cc523dff40a (diff) | |
download | pkgsrc-99b336d5232bc4e8d268582aa5d4342dda8a7e7c.tar.gz |
Import of unshield-0.5, a tool to extract .CAB archives in InstallShield
format.
Diffstat (limited to 'archivers/unshield')
-rw-r--r-- | archivers/unshield/DESCR | 1 | ||||
-rw-r--r-- | archivers/unshield/Makefile | 14 | ||||
-rw-r--r-- | archivers/unshield/PLIST | 5 | ||||
-rw-r--r-- | archivers/unshield/distinfo | 7 | ||||
-rw-r--r-- | archivers/unshield/patches/patch-aa | 13 | ||||
-rw-r--r-- | archivers/unshield/patches/patch-ab | 37 |
6 files changed, 77 insertions, 0 deletions
diff --git a/archivers/unshield/DESCR b/archivers/unshield/DESCR new file mode 100644 index 00000000000..1725315b33b --- /dev/null +++ b/archivers/unshield/DESCR @@ -0,0 +1 @@ +Extract file from the InstallShield variant of windows .CAB files. diff --git a/archivers/unshield/Makefile b/archivers/unshield/Makefile new file mode 100644 index 00000000000..91360ac9ace --- /dev/null +++ b/archivers/unshield/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $ +# + +DISTNAME= unshield-0.5 +CATEGORIES= archivers +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=synce/} + +MAINTAINER= martin@NetBSD.org +HOMEPAGE= http://sourceforge.net/projects/synce/ +COMMENT= Extract InstallShield .CAB files + +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/unshield/PLIST b/archivers/unshield/PLIST new file mode 100644 index 00000000000..2220fceb310 --- /dev/null +++ b/archivers/unshield/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $ +bin/unshield +include/libunshield.h +lib/libunshield.la +share/aclocal/unshield.m4 diff --git a/archivers/unshield/distinfo b/archivers/unshield/distinfo new file mode 100644 index 00000000000..dc0992516e6 --- /dev/null +++ b/archivers/unshield/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $ + +SHA1 (unshield-0.5.tar.gz) = 317990841cceea95d51638bd4f29456e2cfaf5af +RMD160 (unshield-0.5.tar.gz) = cf56cb3be917b8c20f131a0e82469c11b585b142 +Size (unshield-0.5.tar.gz) = 325744 bytes +SHA1 (patch-aa) = 0e100b18c85f72bd7b7bf2fd7ef0eed6d0d20ad9 +SHA1 (patch-ab) = d0e0945dc8d6fc897f78922cbb979119892cc991 diff --git a/archivers/unshield/patches/patch-aa b/archivers/unshield/patches/patch-aa new file mode 100644 index 00000000000..0d1655784b7 --- /dev/null +++ b/archivers/unshield/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $ + +--- lib/libunshield.c.orig 2004-08-24 08:10:27.000000000 +0200 ++++ lib/libunshield.c 2005-08-01 15:28:22.000000000 +0200 +@@ -27,7 +27,7 @@ + + for (; *p != '\0'; p++) + { +- if ('.' == *p || isdigit(*p)) ++ if ('.' == *p || isdigit((unsigned char)*p)) + { + *p = '\0'; + break; diff --git a/archivers/unshield/patches/patch-ab b/archivers/unshield/patches/patch-ab new file mode 100644 index 00000000000..2e3063d788a --- /dev/null +++ b/archivers/unshield/patches/patch-ab @@ -0,0 +1,37 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/08/01 14:22:02 martin Exp $ + +--- src/unshield.c.orig 2005-07-08 16:08:37.000000000 +0200 ++++ src/unshield.c 2005-08-01 15:31:14.000000000 +0200 +@@ -2,5 +2,5 @@ + #define _BSD_SOURCE 1 +-#define _POSIX_C_SOURCE 2 ++/* #define _POSIX_C_SOURCE 2 */ + #include "../lib/libunshield.h" + #include <ctype.h> + #include <locale.h> +@@ -278,10 +278,10 @@ + break; + + default: +- if (!isprint(*p)) ++ if (!isprint((unsigned char)*p)) + *p = '_'; + else if (make_lowercase) +- *p = tolower(*p); ++ *p = tolower((unsigned char)*p); + break;; + } + } +@@ -298,10 +298,10 @@ + + for (p = filename; *p != '\0'; p++) + { +- if (!isprint(*p)) ++ if (!isprint((unsigned char)*p)) + *p = '_'; + else if (make_lowercase) +- *p = tolower(*p); ++ *p = tolower((unsigned char)*p); + } + + printf(" extracting: %s\n", filename); |