From owner-freebsd-ports@FreeBSD.ORG Sun Aug 13 13:44:59 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 AA3AF16A4DF for ; Sun, 13 Aug 2006 13:44:59 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id C430D43D49 for ; Sun, 13 Aug 2006 13:44:58 +0000 (GMT) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id g2so1668244nfe for ; Sun, 13 Aug 2006 06:44:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=FjlTHEQfZ1bKKsQn6evmTDJBdfzihp3ixNALzeKNFUeoypvSZGmIfO6JAPVvYH2/jKt6+3pqBI8LZGE5H5/Ugo//BGd0/OqK9EqQkYD1QQxdsRKxSf8rEIcxRgkz0LR48kPhYYi9l7yQyUyQVXAC0F1wR+/cyj8mINlXeCwQYFs= Received: by 10.49.26.18 with SMTP id d18mr223834nfj; Sun, 13 Aug 2006 06:44:57 -0700 (PDT) Received: from ?192.168.123.146? ( [195.241.221.201]) by mx.gmail.com with ESMTP id l27sm9303582nfa.2006.08.13.06.44.56; Sun, 13 Aug 2006 06:44:57 -0700 (PDT) Message-ID: <44DF2CD7.7080302@gmail.com> Date: Sun, 13 Aug 2006 15:44:55 +0200 From: Rene Ladan User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Randy Pratt 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> In-Reply-To: <20060813091219.a2d5377e.bsd-unix@earthlink.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "\[LoN\]Kamikaze" , freebsd-ports@freebsd.org, Kiffin Gish 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 13:44:59 -0000 Randy Pratt schreef: > 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. > Running `portsnap extract` will overwrite the ports tree. But `portsnap update` will only overwrite ports to which a commit has been made. > The conventional tool, portupgrade, uses /usr/local/etc/pkgtools.conf > to HOLD a package (not upgrade). The pkgtools.conf.sample file is > well annotated and has many other available options. > > Take a look at that and see if it will do the job. > HOLD_PKGS = ['openoffice*', 'other-port', ] Note the trailing comma, it is required. > HTH, > > Randy > > Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001