From owner-freebsd-stable@FreeBSD.ORG Fri Nov 11 13:53:27 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 E277916A41F for ; Fri, 11 Nov 2005 13:53:27 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71BD643D45 for ; Fri, 11 Nov 2005 13:53:27 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so188274nzo for ; Fri, 11 Nov 2005 05:53:26 -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=InSR1LDXdqrV/nONPD6bs7F+Xd5AMdW4W16tiq86R4NqgGeZBYbr8Bvj3D8hOCU7IzTCPT42b1K2syb7rLdowp2erJ1U2J8AH1Ag2udux9Qzf75JYgf1CJwy+8th9mE+YL+qoIShvWbUsAVW1SNpDQzyrtnEsJzQWMF6eoky4w4= Received: by 10.36.221.32 with SMTP id t32mr1299085nzg; Fri, 11 Nov 2005 05:53:26 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id 18sm971471nzo.2005.11.11.05.53.24; Fri, 11 Nov 2005 05:53:26 -0800 (PST) From: "Michael C. Shultz" To: Jan Grant Date: Fri, 11 Nov 2005 05:43:57 -0800 User-Agent: KMail/1.8.3 References: <43726E40.3090701@iaces.com> <200511110509.13451.ringworm01@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511110543.58104.ringworm01@gmail.com> 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:53:28 -0000 On Friday 11 November 2005 05:44, Jan Grant wrote: > 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. Silly me, I get it now. Not supported yet but I like the idea so am adding it to the things to do list. This one will be near the top. > > > Stopping/starting is a new feature just introduced in 0.3.3_3. > > Cheers, that's very handy. -Mike