From nobody@FreeBSD.org  Thu Sep 12 11:54:03 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9705E37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2002 11:54:03 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 41AC243E3B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2002 11:54:03 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g8CIs2OT014534
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Sep 2002 11:54:02 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g8CIs260014533;
	Thu, 12 Sep 2002 11:54:02 -0700 (PDT)
Message-Id: <200209121854.g8CIs260014533@www.freebsd.org>
Date: Thu, 12 Sep 2002 11:54:02 -0700 (PDT)
From: Jason Baugher <jason@baugher.pike.il.us>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pkg_add tries to use tar/gzip to unpack ftp URL-defined .tbz packages
X-Send-Pr-Version: www-1.0

>Number:         42709
>Category:       misc
>Synopsis:       pkg_add tries to use tar/gzip to unpack ftp URL-defined .tbz packages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 12:00:09 PDT 2002
>Closed-Date:    Tue Jan 07 01:33:37 PST 2003
>Last-Modified:  Tue Jan 07 01:33:37 PST 2003
>Originator:     Jason Baugher
>Release:        4.6.2-RELEASE
>Organization:
Virtual Adept Professional Consulting Services
>Environment:
FreeBSD gilligan 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #4: Sat Aug 17 07:19:07 CDT 2002     root@gilligan:/usr/obj/usr/src/sys/GILLIGAN  i386

>Description:
[PATCH] When using pkg_add with a FTP URL package location, and the package is a .tbz package, pkg_add still attempts to use tar/gzip to unpack the package.

a cvsup with tag RELENG_4_6 on Sep. 12, 2002 at 1:35PM CDT still had the problem.
>How-To-Repeat:
pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/shells/zsh-4.0.6.tbz
>Fix:
[PATCH] uuencoded...

begin 644 diff
M+2TM(&9I;&4N8PE4=64@3V-T(#(S(#`T.C$V.C`T(#(P,#$**RLK(&YE=V9I
M;&4N8PE4:'4@4V5P(#$R(#$S.C4Q.C4S(#(P,#(*0$`@+3$T-BPV("LQ-#8L
M-R!`0`H@("`@(&-H87(@9FYA;65;1DE,14Y!345?34%873L*("`@("!C:&%R
M('!E;EM&24Q%3D%-15]-05A=.PH@("`@(&-H87(@8G5F6S@Q.3)=.PHK"6-H
M87(@<W5F9ELX,%T["B`@("`@1DE,12`J9G1P.PH@("`@('!I9%]T('1P:60[
M"B`@("`@:6YT('!F9%LR72P@<'-T870L('(L('<["D!`("TR,C0L-R`K,C(U
M+#(R($!`"B`)9'5P,BAP9F1;,%TL(#`I.PH@"69O<B`H9F0@/2!G971D=&%B
M;&5S:7IE*"D@+2`Q.R!F9"`^/2`S.R`M+69D*0H@"2`@("!C;&]S92AF9"D[
M"BT)97AE8VPH(B]U<W(O8FEN+W1A<B(L(")T87(B+"!697)B;W-E(#\@(BUX
M>G9F(B`Z("(M>'IF(BP@(BTB+"`P*3L**PHK"0DO*B!&;VQL;W=I;F<@8V]D
M92!M87D@8F4@82!L:71T;&4@=6=L>2`J+PHK"0DO*B!C;W!Y('1H92!E>'1E
M;G-I;VX@;V8@=&AE(&9I;&4@=&\@<W5F9B`J+PHK"0ES=')C<'DH<W5F9BP@
M<W1R<F-H<BAF;F%M92P@)RXG*2`K(#$I.PHK"0DO*B!C:&5C:R!T;R!S964@
M:68@=&AE(&9I;&4@97AT96YS:6]N('-E96US('1O('-A>2!T:&4@9FEL92!I
M<R!C;VUP<F5S<V5D("HO"BL)"6EF("AS=')C:'(H<W5F9BP@)WHG*2!\?"!S
M=')C:'(H<W5F9BP@)UHG*2D@>PHK"0D)+RH@=&AE(&9I;&4@:7,@8V]M<')E
M<W-E9"P@8VAE8VL@9F]R('1H92!B(&9O<B!B>FEP,B!C;VUP<F5S<VEO;B`J
M+PHK"0D):68@*'-T<F-H<BAS=69F+"`G8B<I*2!["BL)"0D)+RH@=7-E(&)Z
M:7`R(&-O;7!R97-S:6]N('1O('5N<&%C:R!T:&4@87)C:&EV92`J+PHK"0D)
M"65X96-L*"(O=7-R+V)I;B]T87(B+"`B=&%R(BP@5F5R8F]S92`_("(M>'EV
M9B(@.B`B+7AY9B(L("(M(BP@,"D["BL)"0E](&5L<V4@>PHK"0D)"2\J('5S
M92!G>FEP(&-O;7!R97-S:6]N('1O('5N<&%C:R!T:&4@87)C:&EV92`J+PHK
M"0D)"65X96-L*"(O=7-R+V)I;B]T87(B+"`B=&%R(BP@5F5R8F]S92`_("(M
M>'IV9B(@.B`B+7AZ9B(L("(M(BP@,"D["BL)"0E]"BL)"7T**PH@"5]E>&ET
@*#(I.PH@("`@('T*("`@("!C;&]S92AP9F1;,%TI.PH`
`
end


      
>Release-Note:
>Audit-Trail:

From: "Jason Baugher" <jason@baugher.pike.il.us>
To: <freebsd-gnats-submit@FreeBSD.org>,
	"Jason Baugher" <jason@baugher.pike.il.us>
Cc:  
Subject: Re: misc/42709: pkg_add tries to use tar/gzip to unpack ftp URL-defined .tbz packages
Date: Thu, 12 Sep 2002 14:46:31 -0500

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_048C_01C25A6B.2EBF6190
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit
 
 This may in retrospect not be a code issue.  I finally got a response to my
 problem on comp.unix.bsd.freebsd.misc after I entered this PR.  Apparently
 even though the pkg_add manpage and the Handbook specifically say to go to
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages to get packages, it looks
 like there are specific distribution areas for package releases and the URL
 above should be for -curren and -stable.
 
 So it might be that the code is fine, but the manpage and Handbook need
 clarification.
 
 ------=_NextPart_000_048C_01C25A6B.2EBF6190
 Content-Type: text/x-vcard;
 	name="Jason Baugher.vcf"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
 	filename="Jason Baugher.vcf"
 
 BEGIN:VCARD
 VERSION:2.1
 N:Baugher;Jason;R
 FN:Jason Baugher
 ORG:Virtual Adept
 TEL;WORK;VOICE:(217) 221-5406
 TEL;HOME;VOICE:(217) 221-5406
 ADR;WORK:;;1406 Adams St.;Quincy;IL;62301;USA
 LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:1406 Adams St.=3D0D=3D0AQuincy, =
 IL 62301=3D0D=3D0AUSA
 ADR;HOME:;;1406 Adams St.;Quincy;IL;62301;USA
 LABEL;HOME;ENCODING=3DQUOTED-PRINTABLE:1406 Adams St.=3D0D=3D0AQuincy, =
 IL 62301=3D0D=3D0AUSA
 URL;WORK:http://baugher.pike.il.us/virtualadept
 EMAIL;PREF;INTERNET:jason@baugher.pike.il.us
 REV:20020912T194631Z
 END:VCARD
 
 ------=_NextPart_000_048C_01C25A6B.2EBF6190--
 
State-Changed-From-To: open->feedback 
State-Changed-By: tom 
State-Changed-When: Sun Nov 24 11:25:22 PST 2002 
State-Changed-Why:  
Do you still encounter this problem?  The .tbz problems should be fixed 
now.  If you still feel any correction or clarification to the 
documentation is required, please give further details. 

Thanks for your report. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42709 
State-Changed-From-To: feedback->closed 
State-Changed-By: tom 
State-Changed-When: Tue Jan 7 01:32:27 PST 2003 
State-Changed-Why:  
The submitter did not respond to a request for further information.  I 
believe this problem has been fixed. 

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