Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Jun 2006 12:33:36 +0200 (CEST)
From:      Benjamin Lutz <benlutz@datacomm.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98744: Fix extraction on FreeBSD 4.x
Message-ID:  <20060609103336.D731D2E0BC@maxlor.mine.nu>
Resent-Message-ID: <200606091040.k59AeNMA021394@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98744
>Category:       ports
>Synopsis:       Fix extraction on FreeBSD 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 10:40:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Benjamin Lutz
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
>Description:
On FreeBSD 4.x, tar doesn't use libarchive and thus can't handle zip files.
Therefore use unzip.
>How-To-Repeat:
>Fix:

--- patch begins here ---
diff -ruN games/linux-enemyterritory.orig/Makefile games/linux-enemyterritory/Makefile
--- games/linux-enemyterritory.orig/Makefile	Fri Jun  9 12:23:36 2006
+++ games/linux-enemyterritory/Makefile	Fri Jun  9 12:28:48 2006
@@ -19,6 +19,7 @@
 
 ONLY_FOR_ARCHS=	i386
 USE_LINUX=	yes
+USE_ZIP=	yes
 NO_CDROM=	Redistribution is limited, see license
 ETDIR=		${PREFIX}/lib/${PORTNAME}
 INSTALL_DIR=	${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
@@ -27,9 +28,9 @@
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@cd ${WRKSRC} && \
-		${TAIL} +374 ${_DISTDIR}/et-linux-2.60.x86.run | ${TAR} xfz -
+		${TAIL} +374 ${_DISTDIR}et-linux-2.60.x86.run | ${TAR} xfz -
 	@cd ${WRKSRC} && \
-		${TAR} xf ${_DISTDIR}/ET-2.60b.zip
+		${UNZIP_CMD} -q ${_DISTDIR}ET-2.60b.zip
 
 post-patch:
 .for FILE in et etded
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060609103336.D731D2E0BC>