From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 10 08:20:23 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEC5E16A4CE for ; Mon, 10 Jan 2005 08:20:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B899643D3F for ; Mon, 10 Jan 2005 08:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0A8KNxh076922 for ; Mon, 10 Jan 2005 08:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0A8KNu6076921; Mon, 10 Jan 2005 08:20:23 GMT (envelope-from gnats) Resent-Date: Mon, 10 Jan 2005 08:20:23 GMT Resent-Message-Id: <200501100820.j0A8KNu6076921@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sam Lawrance Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 036B516A4CE for ; Mon, 10 Jan 2005 08:16:35 +0000 (GMT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CFB743D1F for ; Mon, 10 Jan 2005 08:16:33 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from localhost (ppp2F4E.dyn.pacific.net.au [61.8.47.78]) j0A8GT3q009917 for ; Mon, 10 Jan 2005 19:16:30 +1100 Received: by localhost (Postfix, from userid 0) id 7B4031448; Mon, 10 Jan 2005 19:17:08 +1100 (EST) Message-Id: <20050110081708.7B4031448@localhost> Date: Mon, 10 Jan 2005 19:17:08 +1100 (EST) From: Sam Lawrance To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/76030: [NEW PORT] archivers/orange: Extract Microsoft Cabinet files from self-extracting installers X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 08:20:24 -0000 >Number: 76030 >Category: ports >Synopsis: [NEW PORT] archivers/orange: Extract Microsoft Cabinet files from self-extracting installers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 10 08:20:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sam Lawrance >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD dirk.no.domain 5.3-STABLE FreeBSD 5.3-STABLE #1: Sat Jan 1 22:56:44 EST >Description: 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 Note: * This port is required for the update of synce-kde >How-To-Repeat: >Fix: --- orange-0.2.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # orange # orange/Makefile # orange/distinfo # orange/pkg-descr # orange/pkg-plist # orange/files # orange/files/patch-inno.h # echo c - orange mkdir -p orange > /dev/null 2>&1 echo x - orange/Makefile sed 's/^X//' >orange/Makefile << 'END-of-orange/Makefile' X# New ports collection makefile for: orange X# Date Created: January 2005 X# Whom: Sam Lawrance X# X# $FreeBSD$ X# X XPORTNAME= orange XPORTVERSION= 0.2 XCATEGORIES= archivers XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= synce X XMAINTAINER= boris@brooknet.com.au XCOMMENT= Extract Microsoft Cabinet files from self-extracting installers X XLIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \ X rapi.2:${PORTSDIR}/palm/synce-librapi2 \ X dynamite.0:${PORTSDIR}/archivers/dynamite \ X unshield.0:${PORTSDIR}/archivers/unshield X XGNU_CONFIGURE= yes XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ARGS= --with-libsynce=${LOCALBASE} XUSE_ICONV= yes XUSE_LIBTOOL_VER=15 XUSE_REINPLACE= yes XINSTALLS_SHLIB= yes X X.include X Xpost-patch: X @${REINPLACE_CMD} -e 's|-Werror||' \ X ${WRKSRC}/lib/Makefile.in \ X ${WRKSRC}/src/Makefile.in X.if ${OSVERSION} < 500000 X @${REINPLACE_CMD} -e 's|||' ${WRKSRC}/lib/inno.h X.endif X X.include END-of-orange/Makefile echo x - orange/distinfo sed 's/^X//' >orange/distinfo << 'END-of-orange/distinfo' XMD5 (orange-0.2.tar.gz) = 50863dd7b29112049bf52b83e6c8c2a2 XSIZE (orange-0.2.tar.gz) = 214255 END-of-orange/distinfo echo x - orange/pkg-descr sed 's/^X//' >orange/pkg-descr << 'END-of-orange/pkg-descr' XOrange is a tool and library for squeezing out juicy installable XMicrosoft Cabinet Files from self-extracting installers for Microsoft XWindows. X XSupported installers include VISE, InstallShield, Setup Factory and more. X XWWW: http://synce.sourceforge.net END-of-orange/pkg-descr echo x - orange/pkg-plist sed 's/^X//' >orange/pkg-plist << 'END-of-orange/pkg-plist' Xbin/orange Xinclude/liborange.h Xlib/liborange.so.0 Xlib/liborange.so Xlib/liborange.la Xlib/liborange.a END-of-orange/pkg-plist echo c - orange/files mkdir -p orange/files > /dev/null 2>&1 echo x - orange/files/patch-inno.h sed 's/^X//' >orange/files/patch-inno.h << 'END-of-orange/files/patch-inno.h' X--- lib/inno.h.orig Mon Sep 8 17:17:28 2003 X+++ lib/inno.h Mon Jan 10 05:07:47 2005 X@@ -3,7 +3,7 @@ X #define __inno_h__ X X #include X-#include X+#include X #include X #include X X@@ -100,7 +100,7 @@ X uint32_t NumUninstallDeleteEntries; X uint32_t NumRunEntries; X uint32_t NumUninstallRunEntries; X- P uint8_t stuff[0x35]; X+ uint8_t P stuff[0x35]; X } TSetupHeader; X X #define SETUP_HEADER_SIZE 0xd9 X@@ -144,9 +144,9 @@ X X typedef struct X { X- P uint32_t WinVersion; X- P uint32_t NTVersion; X- P uint16_t Word; X+ uint32_t P WinVersion; X+ uint32_t P NTVersion; X+ uint16_t P Word; X } TSetupVersionData; X X #if 0 X@@ -173,12 +173,12 @@ X char* InstallFontName; X char* Components; X char* Tasks; X- P TSetupVersionData MinVersion; X- P TSetupVersionData OnlyBelowVersion; X+ TSetupVersionData P MinVersion; X+ TSetupVersionData P OnlyBelowVersion; X uint32_t LocationEntry; X uint32_t Attribs; X uint32_t ExternalSize; X- P char stuff[4]; X+ char P stuff[4]; X #if 0 X Options: set of (foConfirmOverwrite, foUninsNeverUninstall, foRestartReplace, X foDeleteAfterInstall, foRegisterServer, foRegisterTypeLib, foSharedFile, X@@ -191,7 +191,7 @@ X #endif X } TSetupFileEntry; X X-P typedef struct X+typedef struct X { X uint32_t FirstDisk; X uint32_t LastDisk; X@@ -202,7 +202,7 @@ X uint32_t Date; X uint32_t FileVersionMS; X uint32_t FileVersionLS; X-} TSetupFileLocationEntry; X+} P TSetupFileLocationEntry; X X #define SETUP_FILE_LOCATION_ENTRY_SIZE 0x29 X END-of-orange/files/patch-inno.h exit --- orange-0.2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: