From scode@starfury.scode.org  Mon May  2 18:35:39 2005
Return-Path: <scode@starfury.scode.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3415816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 May 2005 18:35:39 +0000 (GMT)
Received: from starfury.scode.org (starfury.scode.org [194.145.249.108])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DB6F743D79
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 May 2005 18:35:38 +0000 (GMT)
	(envelope-from scode@starfury.scode.org)
Received: from starfury.scode.org (localhost [127.0.0.1])
	by starfury.scode.org (Postfix) with ESMTP id 1CECD9A8836
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 May 2005 18:59:38 +0200 (CEST)
Received: (from scode@localhost)
	by starfury.scode.org (8.13.1/8.13.1/Submit) id j42GxbAa014784;
	Mon, 2 May 2005 18:59:37 +0200 (CEST)
	(envelope-from scode)
Message-Id: <200505021659.j42GxbAa014784@starfury.scode.org>
Date: Mon, 2 May 2005 18:59:37 +0200 (CEST)
From: Peter Schuller <peter.schuller@infidyne.com>
Reply-To: Peter Schuller <peter.schuller@infidyne.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] lang/sbcl: ASDF-INSTALL requires GNU tar
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         80560
>Category:       ports
>Synopsis:       [PATCH] lang/sbcl: ASDF-INSTALL requires GNU tar
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    barner
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 02 18:40:05 GMT 2005
>Closed-Date:    Sat Oct 08 18:38:03 GMT 2005
>Last-Modified:  Sat Oct 08 18:38:03 GMT 2005
>Originator:     Peter Schuller
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD starfury.scode.org 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Sun Nov 28 02:57:30 CET 2004 toor@.bredbandsbolaget.se:/usr/obj/usr/src/sys/STARFURY i386

>Description:
  ASDF-INSTALL that comes with SBCL requires GNU tar because it depends on the format
  of the output on stdout in verbose mode (-v).
>How-To-Repeat:
  Install the sbcl port and try to use ASDF-INSTALL:

  (require :asdf)
  (require :asdf-install)
  (asdf-install:install :cl-ppcre) ; or any other package

  It will download and unpack the software, but will then terminate without finishing
  the installation.
>Fix:
Suggest adding the following patch in ${PATCHDIR}.

--- contrib/asdf-install/installer.lisp.orig	Mon May  2 18:19:43 2005
+++ contrib/asdf-install/installer.lisp	Mon May  2 18:20:17 2005
@@ -249,8 +249,9 @@
   (let* ((tar
 	  (with-output-to-string (o)
 	    (or
-	     (sb-ext:run-program #-darwin "tar"
-				 #+darwin "gnutar"
+	     (sb-ext:run-program #+darwin "gnutar"
+				 #+freebsd "gtar"
+				 #-(or darwin freebsd) "tar"
 				 (list "-C" (namestring source)
 				       "-xzvf" (namestring packagename))
 				 :output o

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->des 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Sat May 7 20:41:51 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80560 
Responsible-Changed-From-To: des->freebsd-ports-bugs 
Responsible-Changed-By: des 
Responsible-Changed-When: Mon Oct 3 20:31:39 GMT 2005 
Responsible-Changed-Why:  
No longer my port 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80560 
Responsible-Changed-From-To: freebsd-ports-bugs->barner 
Responsible-Changed-By: barner 
Responsible-Changed-When: Mon Oct 3 22:09:13 GMT 2005 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80560 
State-Changed-From-To: open->feedback 
State-Changed-By: barner 
State-Changed-When: Mon Oct 3 22:46:55 GMT 2005 
State-Changed-Why:  
Forwarded to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80560 

From: Simon Barner <barner@FreeBSD.org>
To: Cc: bug-followup@FreeBSD.org
Subject: Re: ports/80560: [PATCH] lang/sbcl: ASDF-INSTALL requires GNU tar
Date: Tue, 4 Oct 2005 00:59:32 +0200

 I sent this patch to the new maintainer, but I'll put it here, too, so
 it doesn't get lost.
 
 It's completely untested btw.
 
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/lang/sbcl/Makefile,v
 retrieving revision 1.18
 diff -u -r1.18 Makefile
 --- Makefile	28 Sep 2005 14:06:33 -0000	1.18
 +++ Makefile	3 Oct 2005 22:41:39 -0000
 @@ -18,6 +18,16 @@
  MAINTAINER=	aeacides@gmail.com
  COMMENT=	A Common Lisp development system derived from the CMU CL system
  
 +.include <bsd.port.pre.mk>
 +
 +.if ${OSVERSION} >= 502124
 +EXTRA_PATCHES+=	${FILESDIR}/extra-patch-contrib_asdf-install_installer.lisp
 +.endif
 +
 +.if ${OSVERSION} >= 600022
 +BUILD_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
 +.endif
 +
  # If you have a previous version of SBCL installed, you can use it
  # instead of CMUCL to build the port, then deinstall it before
  # installing the new version.
 @@ -52,4 +62,4 @@
  	${RMDIR} ${DOCSDIR}/html ${DOCSDIR}/info
  .endif
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 Index: files/extra-patch-contrib_asdf-install_installer.lisp
 ===================================================================
 RCS file: files/extra-patch-contrib_asdf-install_installer.lisp
 diff -N files/extra-patch-contrib_asdf-install_installer.lisp
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ files/extra-patch-contrib_asdf-install_installer.lisp	3 Oct 2005 22:14:55 -0000
 @@ -0,0 +1,14 @@
 +--- contrib/asdf-install/installer.lisp.orig	Mon May  2 18:19:43 2005
 ++++ contrib/asdf-install/installer.lisp	Mon May  2 18:20:17 2005
 +@@ -249,8 +249,9 @@
 +   (let* ((tar
 + 	  (with-output-to-string (o)
 + 	    (or
 +-	     (sb-ext:run-program #-darwin "tar"
 +-				 #+darwin "gnutar"
 ++	     (sb-ext:run-program #+darwin "gnutar"
 ++				 #+freebsd "gtar"
 ++				 #-(or darwin freebsd) "tar"
 + 				 (list "-C" (namestring source)
 + 				       "-xzvf" (namestring packagename))
 + 				 :output o
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Sat Oct 8 18:37:52 GMT 2005 
State-Changed-Why:  
Fixed as part of update to 0.9.5 

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