From owner-freebsd-ports@FreeBSD.ORG Sat Apr 24 06:14:36 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E72B5106566C for ; Sat, 24 Apr 2010 06:14:36 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id A1B688FC15 for ; Sat, 24 Apr 2010 06:14:35 +0000 (UTC) Received: by qyk11 with SMTP id 11so12472800qyk.13 for ; Fri, 23 Apr 2010 23:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0t7jJt06/H6PfgWArJgNl8JoqtA2Qi/iIAhurrxDyZc=; b=xoq2Z30CejaWDip7fGAy7L5DXNnynvf9uerV3f7n6VAgdFc1NnI4pKi1SvQOU41y1l vxN4XwSalQwbZdWhlLv8e3fy4ZKe+2stBtQcIuEI/Sa0QtTHX0A8koMn0a6lzg++r53d vEby2LbNb8+O6pswnOhg+UJ8oN72UwaLxXQu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VCGLTMxdzT5BgHDqOZw/CPza7G6cVuMaVohVbGODskSYMPstbTb8lU2pOaD0GWY6rn 3YeW5tqwme9A44Qlcvzps/2qccex2siUt7NvhSUqaqV6VeiWLZKgtHNqOo7IMIkBUr1o FaTHm15OrHUdiKASNs0xwmDJ5nKfj9pAhYPe0= MIME-Version: 1.0 Received: by 10.229.228.83 with SMTP id jd19mr1242188qcb.72.1272089675194; Fri, 23 Apr 2010 23:14:35 -0700 (PDT) Received: by 10.229.233.11 with HTTP; Fri, 23 Apr 2010 23:14:35 -0700 (PDT) In-Reply-To: <4BD28512.2010506@ish.com.au> References: <4BD28512.2010506@ish.com.au> Date: Fri, 23 Apr 2010 23:14:35 -0700 Message-ID: From: Garrett Cooper To: Aristedes Maniatis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: portmaster and IGNOREME X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 06:14:37 -0000 On Fri, Apr 23, 2010 at 10:43 PM, Aristedes Maniatis wrote= : > I have a package which is not built from a port (it is commercial softwar= e). > I've put an +IGNOREME file in the package folder. But portmaster will not > ignore it: It's not ignoring it for -a (update). Kind of funny though why this functionality exists if pkg_install doesn't even check it. I've gotten a lot of noise similar to that related to homegrown packages I've dealt with at work when running pkg_add // pkg_create as it builds up package origins when it reads the contents of the plists -- not sure why a ports-ism made it into pkg_install though, but flz most likely knows why. > #portmaster -a > > [snip...] > > =3D=3D=3D>>> Proceed? y/n [y] > > =3D=3D=3D>>> Starting build for for ports that need updating <<<=3D=3D=3D > > =3D=3D=3D>>> Launching child to update CGatePro-5.3.5 > > =3D=3D=3D>>> No ORIGIN in /var/db/pkg/CGatePro-5.3.5/+CONTENTS > =3D=3D=3D>>> Aborting update > > =3D=3D=3D>>> Update for CGatePro-5.3.5 failed > =3D=3D=3D>>> Aborting update > > > Unless there is some clear documented reason, portmaster should ignore po= rts > which are marked to be ignored. The documentation reads: > > =A0 =A0 =A0 =A0If you do a regular update of the port, or if the > =A0 =A0 =A0 =A0-a option is being used you will be asked if you want to u= pdate > =A0 =A0 =A0 =A0the port anyway. > > I am not being asked, it just fails the entire port upgrade process, unle= ss > I use -ia and specifically exclude this package. I don't know enough abou= t > package files to know why ORIGIN is required, even for packages which are= n't > generated from the ports system. This I don't know (and is potentially a bug or a needed enhancement with portmaster). dougb would be able to fill you in on this. Cheers, -Garrett