From maxlor@maxlor.mine.nu  Fri Jun  9 10:33:39 2006
Return-Path: <maxlor@maxlor.mine.nu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7244316A41B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jun 2006 10:33:39 +0000 (UTC)
	(envelope-from maxlor@maxlor.mine.nu)
Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 771F643D78
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jun 2006 10:33:38 +0000 (GMT)
	(envelope-from maxlor@maxlor.mine.nu)
Received: from localhost (unknown [127.0.0.1])
	by maxlor.mine.nu (Postfix) with ESMTP id 1781F2E0C2
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  9 Jun 2006 12:33:37 +0200 (CEST)
Received: from maxlor.mine.nu ([127.0.0.1])
	by localhost (atlantis.intranet [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GUcsLutERdWP for <FreeBSD-gnats-submit@freebsd.org>;
	Fri,  9 Jun 2006 12:33:36 +0200 (CEST)
Received: by maxlor.mine.nu (Postfix, from userid 1000)
	id D731D2E0BC; Fri,  9 Jun 2006 12:33:36 +0200 (CEST)
Message-Id: <20060609103336.D731D2E0BC@maxlor.mine.nu>
Date: Fri,  9 Jun 2006 12:33:36 +0200 (CEST)
From: Benjamin Lutz <benlutz@datacomm.ch>
Reply-To: Benjamin Lutz <benlutz@datacomm.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Fix extraction on FreeBSD 4.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         98744
>Category:       ports
>Synopsis:       Fix extraction on FreeBSD 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 09 10:40:22 GMT 2006
>Closed-Date:    Wed Jun 14 14:32:28 GMT 2006
>Last-Modified:  Wed Jun 14 14:32:28 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Fri Jun 9 21:57:58 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98744 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Jun 14 14:32:27 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98744 
>Unformatted:
 
