diff options
author | edwin <edwin@FreeBSD.org> | 2005-01-14 08:13:20 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-01-14 08:13:20 +0800 |
commit | 0f71ceedfb80ba77481ec60655d9d9dd7a550949 (patch) | |
tree | 45e4fdbbc9a89d6e913f9aa9cb2181e0b8892160 /archivers | |
parent | c05e8e1b5fba57a236ab353ec52c17443a2eaa79 (diff) | |
download | freebsd-ports-gnome-0f71ceedfb80ba77481ec60655d9d9dd7a550949.tar.gz freebsd-ports-gnome-0f71ceedfb80ba77481ec60655d9d9dd7a550949.tar.zst freebsd-ports-gnome-0f71ceedfb80ba77481ec60655d9d9dd7a550949.zip |
[NEW PORT] archivers/orange: Extract Microsoft Cabinet files from self-extracting installers
Orange is a tool and library for squeezing out juicy
installable Microsoft Cabinet Files from self-extracting
installers for Microsoft Windows.
Supported installers include VISE, InstallShield, Setup
Factory and more.
WWW: http://synce.sourceforge.net
PR: ports/76030
Submitted by: Sam Lawrance <boris@brooknet.com.au>
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/liborange/Makefile | 40 | ||||
-rw-r--r-- | archivers/liborange/distinfo | 2 | ||||
-rw-r--r-- | archivers/liborange/files/patch-inno.h | 67 | ||||
-rw-r--r-- | archivers/liborange/pkg-descr | 7 | ||||
-rw-r--r-- | archivers/liborange/pkg-plist | 6 | ||||
-rw-r--r-- | archivers/orange/Makefile | 40 | ||||
-rw-r--r-- | archivers/orange/distinfo | 2 | ||||
-rw-r--r-- | archivers/orange/files/patch-inno.h | 67 | ||||
-rw-r--r-- | archivers/orange/pkg-descr | 7 | ||||
-rw-r--r-- | archivers/orange/pkg-plist | 6 |
11 files changed, 245 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 6047e15d857e..54ebed9cdca8 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -43,6 +43,7 @@ SUBDIR += nomarch SUBDIR += nulib SUBDIR += nwreckdum + SUBDIR += orange SUBDIR += p5-Archive-Tar SUBDIR += p5-Archive-Zip SUBDIR += p5-Compress-Bzip2 diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile new file mode 100644 index 000000000000..c5f93e0e2453 --- /dev/null +++ b/archivers/liborange/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: orange +# Date Created: January 2005 +# Whom: Sam Lawrance <boris@brooknet.com.au> +# +# $FreeBSD$ +# + +PORTNAME= orange +PORTVERSION= 0.2 +CATEGORIES= archivers +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= synce + +MAINTAINER= boris@brooknet.com.au +COMMENT= Extract Microsoft Cabinet files from self-extracting installers + +LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \ + rapi.2:${PORTSDIR}/palm/synce-librapi2 \ + dynamite.0:${PORTSDIR}/archivers/dynamite \ + unshield.0:${PORTSDIR}/archivers/unshield + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-libsynce=${LOCALBASE} +USE_ICONV= yes +USE_LIBTOOL_VER=15 +USE_REINPLACE= yes +INSTALLS_SHLIB= yes + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|-Werror||' \ + ${WRKSRC}/lib/Makefile.in \ + ${WRKSRC}/src/Makefile.in +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/lib/inno.h +.endif + +.include <bsd.port.post.mk> diff --git a/archivers/liborange/distinfo b/archivers/liborange/distinfo new file mode 100644 index 000000000000..9f0053a5bb94 --- /dev/null +++ b/archivers/liborange/distinfo @@ -0,0 +1,2 @@ +MD5 (orange-0.2.tar.gz) = 50863dd7b29112049bf52b83e6c8c2a2 +SIZE (orange-0.2.tar.gz) = 214255 diff --git a/archivers/liborange/files/patch-inno.h b/archivers/liborange/files/patch-inno.h new file mode 100644 index 000000000000..2d3cd73d60ed --- /dev/null +++ b/archivers/liborange/files/patch-inno.h @@ -0,0 +1,67 @@ +--- lib/inno.h.orig Mon Sep 8 17:17:28 2003 ++++ lib/inno.h Mon Jan 10 05:07:47 2005 +@@ -3,7 +3,7 @@ + #define __inno_h__ + + #include <stdbool.h> +-#include <stdint.h> ++#include <inttypes.h> + #include <stdio.h> + #include <zlib.h> + +@@ -100,7 +100,7 @@ + uint32_t NumUninstallDeleteEntries; + uint32_t NumRunEntries; + uint32_t NumUninstallRunEntries; +- P uint8_t stuff[0x35]; ++ uint8_t P stuff[0x35]; + } TSetupHeader; + + #define SETUP_HEADER_SIZE 0xd9 +@@ -144,9 +144,9 @@ + + typedef struct + { +- P uint32_t WinVersion; +- P uint32_t NTVersion; +- P uint16_t Word; ++ uint32_t P WinVersion; ++ uint32_t P NTVersion; ++ uint16_t P Word; + } TSetupVersionData; + + #if 0 +@@ -173,12 +173,12 @@ + char* InstallFontName; + char* Components; + char* Tasks; +- P TSetupVersionData MinVersion; +- P TSetupVersionData OnlyBelowVersion; ++ TSetupVersionData P MinVersion; ++ TSetupVersionData P OnlyBelowVersion; + uint32_t LocationEntry; + uint32_t Attribs; + uint32_t ExternalSize; +- P char stuff[4]; ++ char P stuff[4]; + #if 0 + Options: set of (foConfirmOverwrite, foUninsNeverUninstall, foRestartReplace, + foDeleteAfterInstall, foRegisterServer, foRegisterTypeLib, foSharedFile, +@@ -191,7 +191,7 @@ + #endif + } TSetupFileEntry; + +-P typedef struct ++typedef struct + { + uint32_t FirstDisk; + uint32_t LastDisk; +@@ -202,7 +202,7 @@ + uint32_t Date; + uint32_t FileVersionMS; + uint32_t FileVersionLS; +-} TSetupFileLocationEntry; ++} P TSetupFileLocationEntry; + + #define SETUP_FILE_LOCATION_ENTRY_SIZE 0x29 + diff --git a/archivers/liborange/pkg-descr b/archivers/liborange/pkg-descr new file mode 100644 index 000000000000..e0fb7124737c --- /dev/null +++ b/archivers/liborange/pkg-descr @@ -0,0 +1,7 @@ +Orange is a tool and library for squeezing out juicy installable +Microsoft Cabinet Files from self-extracting installers for Microsoft +Windows. + +Supported installers include VISE, InstallShield, Setup Factory and more. + +WWW: http://synce.sourceforge.net diff --git a/archivers/liborange/pkg-plist b/archivers/liborange/pkg-plist new file mode 100644 index 000000000000..7afe552be5ae --- /dev/null +++ b/archivers/liborange/pkg-plist @@ -0,0 +1,6 @@ +bin/orange +include/liborange.h +lib/liborange.so.0 +lib/liborange.so +lib/liborange.la +lib/liborange.a diff --git a/archivers/orange/Makefile b/archivers/orange/Makefile new file mode 100644 index 000000000000..c5f93e0e2453 --- /dev/null +++ b/archivers/orange/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: orange +# Date Created: January 2005 +# Whom: Sam Lawrance <boris@brooknet.com.au> +# +# $FreeBSD$ +# + +PORTNAME= orange +PORTVERSION= 0.2 +CATEGORIES= archivers +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= synce + +MAINTAINER= boris@brooknet.com.au +COMMENT= Extract Microsoft Cabinet files from self-extracting installers + +LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \ + rapi.2:${PORTSDIR}/palm/synce-librapi2 \ + dynamite.0:${PORTSDIR}/archivers/dynamite \ + unshield.0:${PORTSDIR}/archivers/unshield + +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-libsynce=${LOCALBASE} +USE_ICONV= yes +USE_LIBTOOL_VER=15 +USE_REINPLACE= yes +INSTALLS_SHLIB= yes + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|-Werror||' \ + ${WRKSRC}/lib/Makefile.in \ + ${WRKSRC}/src/Makefile.in +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/lib/inno.h +.endif + +.include <bsd.port.post.mk> diff --git a/archivers/orange/distinfo b/archivers/orange/distinfo new file mode 100644 index 000000000000..9f0053a5bb94 --- /dev/null +++ b/archivers/orange/distinfo @@ -0,0 +1,2 @@ +MD5 (orange-0.2.tar.gz) = 50863dd7b29112049bf52b83e6c8c2a2 +SIZE (orange-0.2.tar.gz) = 214255 diff --git a/archivers/orange/files/patch-inno.h b/archivers/orange/files/patch-inno.h new file mode 100644 index 000000000000..2d3cd73d60ed --- /dev/null +++ b/archivers/orange/files/patch-inno.h @@ -0,0 +1,67 @@ +--- lib/inno.h.orig Mon Sep 8 17:17:28 2003 ++++ lib/inno.h Mon Jan 10 05:07:47 2005 +@@ -3,7 +3,7 @@ + #define __inno_h__ + + #include <stdbool.h> +-#include <stdint.h> ++#include <inttypes.h> + #include <stdio.h> + #include <zlib.h> + +@@ -100,7 +100,7 @@ + uint32_t NumUninstallDeleteEntries; + uint32_t NumRunEntries; + uint32_t NumUninstallRunEntries; +- P uint8_t stuff[0x35]; ++ uint8_t P stuff[0x35]; + } TSetupHeader; + + #define SETUP_HEADER_SIZE 0xd9 +@@ -144,9 +144,9 @@ + + typedef struct + { +- P uint32_t WinVersion; +- P uint32_t NTVersion; +- P uint16_t Word; ++ uint32_t P WinVersion; ++ uint32_t P NTVersion; ++ uint16_t P Word; + } TSetupVersionData; + + #if 0 +@@ -173,12 +173,12 @@ + char* InstallFontName; + char* Components; + char* Tasks; +- P TSetupVersionData MinVersion; +- P TSetupVersionData OnlyBelowVersion; ++ TSetupVersionData P MinVersion; ++ TSetupVersionData P OnlyBelowVersion; + uint32_t LocationEntry; + uint32_t Attribs; + uint32_t ExternalSize; +- P char stuff[4]; ++ char P stuff[4]; + #if 0 + Options: set of (foConfirmOverwrite, foUninsNeverUninstall, foRestartReplace, + foDeleteAfterInstall, foRegisterServer, foRegisterTypeLib, foSharedFile, +@@ -191,7 +191,7 @@ + #endif + } TSetupFileEntry; + +-P typedef struct ++typedef struct + { + uint32_t FirstDisk; + uint32_t LastDisk; +@@ -202,7 +202,7 @@ + uint32_t Date; + uint32_t FileVersionMS; + uint32_t FileVersionLS; +-} TSetupFileLocationEntry; ++} P TSetupFileLocationEntry; + + #define SETUP_FILE_LOCATION_ENTRY_SIZE 0x29 + diff --git a/archivers/orange/pkg-descr b/archivers/orange/pkg-descr new file mode 100644 index 000000000000..e0fb7124737c --- /dev/null +++ b/archivers/orange/pkg-descr @@ -0,0 +1,7 @@ +Orange is a tool and library for squeezing out juicy installable +Microsoft Cabinet Files from self-extracting installers for Microsoft +Windows. + +Supported installers include VISE, InstallShield, Setup Factory and more. + +WWW: http://synce.sourceforge.net diff --git a/archivers/orange/pkg-plist b/archivers/orange/pkg-plist new file mode 100644 index 000000000000..7afe552be5ae --- /dev/null +++ b/archivers/orange/pkg-plist @@ -0,0 +1,6 @@ +bin/orange +include/liborange.h +lib/liborange.so.0 +lib/liborange.so +lib/liborange.la +lib/liborange.a |