From owner-freebsd-stable@FreeBSD.ORG Fri Nov 11 13:44:24 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25F3316A420 for ; Fri, 11 Nov 2005 13:44:23 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DBD643D45 for ; Fri, 11 Nov 2005 13:44:23 +0000 (GMT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by diri.bris.ac.uk with esmtp (Exim 4.54) id 1EaZCV-00014Z-TJ; Fri, 11 Nov 2005 13:44:22 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 4.50) id 1EaZCU-0007mv-Df; Fri, 11 Nov 2005 13:44:19 +0000 Date: Fri, 11 Nov 2005 13:44:18 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: "Michael C. Shultz" In-Reply-To: <200511110509.13451.ringworm01@gmail.com> Message-ID: References: <43726E40.3090701@iaces.com> <200511100943.30024.ringworm01@gmail.com> <200511110509.13451.ringworm01@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant X-Spam-Score: -1.4 X-Spam-Level: - Cc: freebsd-stable@freebsd.org Subject: Re: gnome-upgrade.sh X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 13:44:24 -0000 On Fri, 11 Nov 2005, Michael C. Shultz wrote: > On Friday 11 November 2005 01:43, Jan Grant wrote: > > My pkgtools.conf has hundreds(! - busy workstation) of entries along > > these lines - some entries apply to several ports, and the portupgrade > > toolset just basically uses the union of all matching rules: > > > > [[[ > > '*/*' => 'BATCH=yes', > > '*/kde*' => 'WITH_KDE_DEBUG=yes', > > 'databases/p5-DBI' => 'WITH_PROXY=yes', > > 'deskutils/kdepim3' => 'WITH_KPILOT=yes', > > 'devel/gnomevfs2' => 'WITH_X11=yes', > > 'devel/sdl12' => 'WITH_X11=yes', > > 'devel/subversion' => 'WITH_PYTHON=yes WITH_MOD_DAV_SVN=yes > > WITHOUT_BDB=yes', > > ]]] > > > > ... and so on; so deskutils/kdepim3 gets built with > > BATCH=yes WITH_KPILOT=yes WITH_KDE_DEBUG=yes > > but more importantly, any future kde packages also get > > WITH_KDE_DEBUG=yes automatically. > > > > It'd be convenient if portmanager supported the same wildcard > > ability (it'd make the script to migrate settings from pkgtools.conf to > > portmanager much more straightforward). > Port build options are covered in man portmanager(1). You didn't provide an > example where wild cards are used so I'm not sure what you mean there. The asterisks in the snippet above are wildcards. When portupgrade looks for the options to a port, it pattern-matches against all the entries. The deskutils/kdepim3 is a simple example above. > Stopping/starting is a new feature just introduced in 0.3.3_3. Cheers, that's very handy. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Goedel would be proud - I'm both inconsistent _and_ incomplete.