From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 16:34:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82AF316A41F for ; Sat, 3 Dec 2005 16:34:54 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B52443D72 for ; Sat, 3 Dec 2005 16:34:49 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so570617nzo for ; Sat, 03 Dec 2005 08:34:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=TcCFsdypgZ8z15VS8he2kB/1p/pqRPtEAdqtihJWLM2dn1a2V2xi9sK0EOFwrCu8dSQ9lmcbBVYCNb5Olg7UxWDp5FcCSspwdW5MHDI+WCHIIf8DrXFFNs0R/YNyJQyb3boybwVCa1AfVnII4gkoXQ7Slkv1452oebn7Bx+L0+s= Received: by 10.36.109.5 with SMTP id h5mr1677478nzc; Sat, 03 Dec 2005 08:34:49 -0800 (PST) Received: from ringworm.mechee.com ( [71.102.14.129]) by mx.gmail.com with ESMTP id 39sm4791333nzk.2005.12.03.08.34.48; Sat, 03 Dec 2005 08:34:49 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org, Daniel Bye Date: Sat, 3 Dec 2005 08:34:45 -0800 User-Agent: KMail/1.8.3 References: <20051203152503.GC35163@catflap.slightlystrange.org> <200512030749.11241.ringworm01@gmail.com> <20051203160319.GD35163@catflap.slightlystrange.org> In-Reply-To: <20051203160319.GD35163@catflap.slightlystrange.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512030834.46493.ringworm01@gmail.com> Cc: Daniel Bye Subject: Re: pkgtools-to-portmanager.rb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 16:34:54 -0000 On Saturday 03 December 2005 08:03, Daniel Bye wrote: > On Sat, Dec 03, 2005 at 07:49:10AM -0800, Michael C. Shultz wrote: > > The ruby script doesn't convert pkgtools.conf if > > it's entries are in array format, but if they are like this: > > > > 'editors/openoffice*' => 'LOCALIZED_LANG=en-US WITH_KDE=1', > > 'emulators/qemu' => 'WITH_KQEMU=1', > > > > then it works fine. That script was donated and I haven't had the time > > to fix it, if your patch solves the problem that would be great! I'm > > still tied up for most of today so testing it myself might not happen > > until tonight or tomorrow. > > > > For your information, the converted output goes to: > > > > /usr/local/etc/portmanager/pm-039-pkg-tools.conf > > > > see if your patch keeps it in the same format as: > > > > /usr/local/etc/portmanager/pm-020.conf > > > > if so I'll apply it to the ruby script, and be very thankful for your > > help with this :) > > > > -Mike > > Rats! Don't anybody use the patch! It doesn't work. I'll try to > figure out how to do it right (damn, should be writing my assignments > for college!) > > Bear with me... ;-) > > Dan I thank you for your effort! Need to make sure that both formats convert BTW: both of these should be allowed, right now only the top method works: 'editors/openoffice*' => 'LOCALIZED_LANG=en-US WITH_KDE=1', 'emulators/qemu' => [ 'WITH_KQEMU=1', 'WITH_SOMETHING=1', ], -Mike