Date: Sat, 16 Jul 2011 02:25:31 +0100 From: Chris Rees <crees@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158962: Make EXTRACT_CMD more flexible-- support uncompressed tars (bsd.port.mk) Message-ID: <BLU0-SMTP718DA3D1A9DCBE1CA75190A9480@phx.gbl> Resent-Message-ID: <201107160130.p6G1UA3F030547@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158962 >Category: ports >Synopsis: Make EXTRACT_CMD more flexible-- support uncompressed tars (bsd.port.mk) >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 Jul 16 01:30:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Chris Rees >Release: FreeBSD 8.2-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD zeus.bayofrum.net 8.2-RELEASE-p1 FreeBSD 8.2-RELEASE-p1 #0: Sat Apr 30 15:09:06 BST 2011 root@zeus.bayofrum.net:/usr/obj/usr/src/sys/ZEUS i386 >Description: ports/158403 downloads a plain tar file, which isn't supported by bsd.port.mk. Rather than define another USE_ flag, how about replacing gzip with cat? Our tar can handle that perfectly, and if it weren't for the suffix I'd also suggest doing the same for bzip2. >How-To-Repeat: >Fix: --- bsd-port-mk-extract-using-cat.diff begins here --- Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.688 diff -u -r1.688 bsd.port.mk --- bsd.port.mk 15 Jul 2011 08:26:30 -0000 1.688 +++ bsd.port.mk 16 Jul 2011 01:18:39 -0000 @@ -2390,7 +2390,7 @@ .elif defined(USE_XZ) EXTRACT_CMD?= ${XZ_CMD} .else -EXTRACT_CMD?= ${GZIP_CMD} +EXTRACT_CMD?= ${CAT} .endif .endif --- bsd-port-mk-extract-using-cat.diff ends here --- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP718DA3D1A9DCBE1CA75190A9480>