From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 13 19:50:07 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 436E31065670 for ; Sat, 13 Aug 2011 19:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1B9F98FC1B for ; Sat, 13 Aug 2011 19:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7DJo6Cg058468 for ; Sat, 13 Aug 2011 19:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7DJo64D058467; Sat, 13 Aug 2011 19:50:06 GMT (envelope-from gnats) Resent-Date: Sat, 13 Aug 2011 19:50:06 GMT Resent-Message-Id: <201108131950.p7DJo64D058467@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, olivier@cochard.me Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA578106564A for ; Sat, 13 Aug 2011 19:49:20 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6505D8FC0C for ; Sat, 13 Aug 2011 19:49:20 +0000 (UTC) Received: by wwi36 with SMTP id 36so4149218wwi.31 for ; Sat, 13 Aug 2011 12:49:19 -0700 (PDT) Received: by 10.216.62.213 with SMTP id y63mr2082645wec.12.1313263449656; Sat, 13 Aug 2011 12:24:09 -0700 (PDT) Received: from _HOSTNAME_ ([2a01:e35:8b8d:a1a0:beae:c5ff:fe94:d41f]) by mx.google.com with ESMTPS id m38sm2612532weq.45.2011.08.13.12.24.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Aug 2011 12:24:08 -0700 (PDT) Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat, 13 Aug 2011 21:24:11 +0200 Message-Id: <4e46cf58.26e8d80a.598b.ffffab2e@mx.google.com> Date: Sat, 13 Aug 2011 21:24:11 +0200 From: olivier@cochard.me Sender: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/159747: New port: sysutlis/wiimms : Wii and GameCube ISO Tools X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: olivier@cochard.me List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2011 19:50:07 -0000 >Number: 159747 >Category: ports >Synopsis: New port: sysutlis/wiimms : Wii and GameCube ISO Tools >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: Sat Aug 13 19:50:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD bigdev.bsdrp.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Hi, here is a new port: wiimms: It's a collection of tools for manipulating/converting Wii/GameCube ISO files. Important Note: The official source code is on a public SVN only (no source archive file available), then I've create an archive file and upload-it to my own server. I would prefer to upload this source archive file to a more "official" FTP server: Do you know where can I upload it ? >How-To-Repeat: >Fix: --- wiimms.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: # # wiimms # wiimms/distinfo # wiimms/Makefile # wiimms/files # wiimms/files/patch-setup.sh # wiimms/files/patch-load-titles.sh # wiimms/pkg-descr # wiimms/pkg-plist # echo c - wiimms mkdir -p wiimms > /dev/null 2>&1 echo x - wiimms/distinfo sed 's/^X//' >wiimms/distinfo << '9a3a605e8719d90c835a15d928ed1d0d' XSHA256 (wit-2.00.tar.gz) = f0585ee24493200904616005d4b67c30b710058f8a424e1e6f6810301c14bc89 XSIZE (wit-2.00.tar.gz) = 1391309 9a3a605e8719d90c835a15d928ed1d0d echo x - wiimms/Makefile sed 's/^X//' >wiimms/Makefile << '8d79bb31860d242d89877e14c7e3fa03' X# New ports collection makefile for: wiimms X# Date created: 4 august 2011 X# Whom: Olivier Cochard-Labbe X# X# $FreeBSD$ X# X XPORTNAME= wiimms XPORTVERSION= 2.00 XCATEGORIES= sysutils XMASTER_SITES= http://gugus69.free.fr/wiimms/ XDISTNAME= wit-${PORTVERSION} X XMAINTAINER= olivier@cochard.me XCOMMENT= Wiimms ISO Tools X XLICENSE= GPLv2 X XBUILD_DEPENDS= bash:${PORTSDIR}/shells/bash XRUN_DEPENDS= bash:${PORTSDIR}/shells/bash X XUSE_GMAKE= yes X X.include X Xpost-patch: X @${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|g' \ X ${WRKSRC}/*.sh \ X ${WRKSRC}/scripts/*.sh \ X ${WRKSRC}/setup/*.sh \ X ${WRKSRC}/Makefile X Xpre-configure: X ${CHMOD} +x ${WRKSRC}/setup.sh X cd ${WRKSRC} && ./setup.sh X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/wit ${PREFIX}/bin X @${INSTALL_PROGRAM} ${WRKSRC}/wwt ${PREFIX}/bin X @${INSTALL_PROGRAM} ${WRKSRC}/wdf ${PREFIX}/bin X @${LN} -sf wdf ${PREFIX}/bin/wdf-cat X @${LN} -sf wdf ${PREFIX}/bin/wdf-dump X @${MKDIR} ${DATADIR} X @${INSTALL_DATA} ${WRKSRC}/share/* ${DATADIR} X @${INSTALL_SCRIPT} ${WRKSRC}/load-titles.sh ${DATADIR} X X.include 8d79bb31860d242d89877e14c7e3fa03 echo c - wiimms/files mkdir -p wiimms/files > /dev/null 2>&1 echo x - wiimms/files/patch-setup.sh sed 's/^X//' >wiimms/files/patch-setup.sh << '92ec23aa07a711d3905bec4643838d1b' X--- setup.sh.orig 2011-07-08 20:21:46.000000000 +0200 X+++ setup.sh 2011-08-04 01:55:05.000000000 +0200 X@@ -19,8 +19,9 @@ X tim=($(date '+%s %Y-%m-%d %T')) X X have_fuse=0 X-[[ $NO_FUSE != 1 && -r /usr/include/fuse.h || -r /usr/local/include/fuse.h ]] \ X- && have_fuse=1 X+# TO DO: Fix fuse compilation (need to add a dependency to the port Makefile too X+#[[ $NO_FUSE != 1 && -r /usr/include/fuse.h || -r /usr/local/include/fuse.h ]] \ X+# && have_fuse=1 X X if [[ $M32 = 1 ]] X then X@@ -38,9 +39,13 @@ X && grep -qw fallocate /usr/include/bits/fcntl.h \ X && defines="$defines -DHAVE_FALLOCATE=1" X X-[[ -r /usr/include/fcntl.h ]] \ X- && grep -qw posix_fallocate /usr/include/fcntl.h \ X- && defines="$defines -DHAVE_POSIX_FALLOCATE=1" X+# Wrong test: FreeBSD fcntl.h include a comment with string "posix_fallocate" X+#[[ -r /usr/include/fcntl.h ]] \ X+# && grep -qw posix_fallocate /usr/include/fcntl.h \ X+# && defines="$defines -DHAVE_POSIX_FALLOCATE=1" X+ X+# FreeBSD didn't support Pre-alloc X+defines="$defines -DNO_PREALLOC" X X [[ $STATIC = 1 ]] || STATIC=0 X 92ec23aa07a711d3905bec4643838d1b echo x - wiimms/files/patch-load-titles.sh sed 's/^X//' >wiimms/files/patch-load-titles.sh << '7f8ed6b819b06d425f3c2db601d9a530' X--- setup/load-titles.sh.orig 2011-08-04 07:50:20.000000000 +0200 X+++ setup/load-titles.sh 2011-08-04 07:51:47.000000000 +0200 X@@ -1,4 +1,4 @@ X-#!/bin/bash X+#!/usr/bin/env bash X X ##################################################################### X ## __ __ _ ___________ ## X@@ -28,7 +28,7 @@ X X #------------------------------------------------------------------------------ X X-NEEDED="wit wget tr" X+NEEDED="wit tr" X X BASE_PATH="@@INSTALL-PATH@@" X SHARE_PATH="@@SHARE-PATH@@" X@@ -68,7 +68,7 @@ X X echo "*** load $DEST from $URI" X X- if wget -q -O- "$URI" | wit titles / - >"$DEST.tmp" && test -s "$DEST.tmp" X+ if fetch -q -o- "$URI" | wit titles / - >"$DEST.tmp" && test -s "$DEST.tmp" X then X if [[ $ADD != "" ]] X then 7f8ed6b819b06d425f3c2db601d9a530 echo x - wiimms/pkg-descr sed 's/^X//' >wiimms/pkg-descr << '5bd0f45c51c779152f0c1decd6035fa6' XWiimms ISO Tools is a set of command line tools to manipulate Wii and GameCube XISO images and WBFS containers. X XWWW: http://wit.wiimm.de 5bd0f45c51c779152f0c1decd6035fa6 echo x - wiimms/pkg-plist sed 's/^X//' >wiimms/pkg-plist << '659fb491f344c663d8ac620e46cb7049' Xbin/wdf Xbin/wdf-cat Xbin/wdf-dump Xbin/wit Xbin/wwt X%%DATADIR%%/load-titles.sh X%%DATADIR%%/system-menu.txt X%%DATADIR%%/titles-de.txt X%%DATADIR%%/titles-es.txt X%%DATADIR%%/titles-fr.txt X%%DATADIR%%/titles-it.txt X%%DATADIR%%/titles-ja.txt X%%DATADIR%%/titles-ko.txt X%%DATADIR%%/titles-nl.txt X%%DATADIR%%/titles-pt.txt X%%DATADIR%%/titles-ru.txt X%%DATADIR%%/titles-zhcn.txt X%%DATADIR%%/titles-zhtw.txt X%%DATADIR%%/titles.txt X@dirrm %%DATADIR%% 659fb491f344c663d8ac620e46cb7049 exit --- wiimms.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: