From owner-freebsd-ports@FreeBSD.ORG Sun Aug 13 17:23:43 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59C2416A4DA for ; Sun, 13 Aug 2006 17:23:43 +0000 (UTC) (envelope-from bsd-unix@earthlink.net) Received: from pop-gadwall.atl.sa.earthlink.net (pop-gadwall.atl.sa.earthlink.net [207.69.195.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0356343D49 for ; Sun, 13 Aug 2006 17:23:42 +0000 (GMT) (envelope-from bsd-unix@earthlink.net) Received: from fl-71-54-28-212.dhcp.embarqhsd.net ([71.54.28.212] helo=kt.weeeble.com) by pop-gadwall.atl.sa.earthlink.net with smtp (Exim 3.36 #1) id 1GCJga-00052Q-00; Sun, 13 Aug 2006 13:23:40 -0400 Date: Sun, 13 Aug 2006 13:24:42 -0400 From: Randy Pratt To: "[LoN]Kamikaze" Message-Id: <20060813132442.e3550e78.bsd-unix@earthlink.net> In-Reply-To: <44DF389F.9010807@gmx.de> References: <1155466969.52536.15.camel@localhost> <44DF0843.8010303@gmx.de> <1155467479.52536.20.camel@localhost> <44DF0DFF.9000105@gmail.com> <20060813091219.a2d5377e.bsd-unix@earthlink.net> <44DF389F.9010807@gmx.de> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Kiffin Gish , freebsd-ports@freebsd.org, Rene Ladan Subject: Re: Skipping certain ports, no upgrade of installed packages ... 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: Sun, 13 Aug 2006 17:23:43 -0000 On Sun, 13 Aug 2006 16:35:11 +0200 "[LoN]Kamikaze" wrote: > > Randy Pratt wrote: > > On Sun, 13 Aug 2006 13:33:19 +0200 > > Rene Ladan wrote: > > > >> Kiffin Gish schreef: > >>> On Sun, 2006-08-13 at 13:08 +0200, [LoN]Kamikaze wrote: > >>>> Kiffin Gish wrote: > >>>>> How can prevent a given package from being reinstalled during the next > >>>>> portupgrade when I want to delete permanently? > >>>>> > >>>>> An example is the Galeon browser. Since it also appears in the > >>>>> gnome2-fifth-toe makefile t will automatically be rebuilt. > >>>>> > >>>>> 2nd question: how can I just keep a given version without having it > >>>>> upgraded? > >>>>> > >>>>> Thanks alot in advance. > >>>>> > >>>> .if ${.CURDIR:M/usr/ports/category/port} > >>>> IGNORE= not wanted > >>>> .endif > >>>> > >>>> This will keep the ports system from building them. But you will have to > >>>> edit dependant ports Makefiles. I'm doing that for arts and have to edit > >>>> the kdelibs Makefile every time kdelibs gets updated. > >>> The only problem with that approach is that every time I run cvsup the > >>> modified makefiles are overwritten. > >>> > >>> Can also just delete the dependencies line containing galeon for > >>> example, but overwritten by next cvsup. > >>> > >> You can also try portsnap, which only overwrites ports which have been > >> changed by a commit. > > > > I'm not sure that is true for portsnap under all conditions. From > > the portsnap man page: > > > > extract Extract a ports tree, replacing existing files and > > directories. NOTE: This will remove anything occupying > > the location where files or directories are being > > extracted; in particular, any changes made locally to > > ports tree (for example, adding new patches) will be > > silently obliterated. > > > > You forget that extract is only called for the first time portsnap is used. > Afterwards you use 'portsnap fetch update', which has the desired behaviour. Actually, I didn't forget. I was pointing out that portsnap will remove any local patches/modifications in an existing ports tree when extract is used. I think we both agree on this. Randy