From owner-freebsd-questions Sat Oct 19 18:37:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64BBA37B401 for ; Sat, 19 Oct 2002 18:37:37 -0700 (PDT) Received: from smtp09.wxs.nl (smtp09.wxs.nl [195.121.6.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69C4843E91 for ; Sat, 19 Oct 2002 18:37:36 -0700 (PDT) (envelope-from freebsd@akruijff.dds.nl) Received: from cybertron.kruijff ([213.10.151.186]) by smtp09.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id H49B6M03.J75; Sun, 20 Oct 2002 03:37:34 +0200 Date: Sun, 20 Oct 2002 03:37:05 +0200 From: Alex X-Mailer: The Bat! (v1.53d) Reply-To: freebsd-reply@akruijff.dds.nl X-Priority: 3 (Normal) Message-ID: <9712156690.20021020033705@dds.nl> To: "Omer Faruk Sen" Cc: freebsd-questions@freebsd.org Subject: Re: ports update? In-Reply-To: <20021017060318.52233.qmail@istanbul.enderunix.org> References: <20021017060318.52233.qmail@istanbul.enderunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thursday, October 17, 2002, 8:03:18 AM, you wrote: OFS> First I am sorry if here is not the right place to ask it. I am trying to OFS> update a port but I am having a problem. I am in fact having problems while OFS> patch'ing my old port. Here is what I have done. I use the portupgrade for this. First you have to install it. 1) cd /usr/ports/sysutils/portupgrade (please check if this is the rigth directory) 2) make clean install clean 3) rehash (Afther this you can use the tools 4) portversion (port that end with < are old ports, ready for a update) 5) portupgrade -fRr port (This will update your port) (Rr = update all dependency ports to) (f = force a recompile even if the port is up to date) (Check pkg_deinstall to remove a port) Your done. The bottom seem to me to be all wrong to me. OFS> #cp -r category/ports category/ports.old OFS> #cd category/ports OFS> OFS> #cd /usr/ports/category OFS> #diff -ruN ports.old ports >patch OFS> I have 2 questions here. OFS> 1)I have to remove a directory from my port. How can I do that? I have rm OFS> -fr /usr/ports/category/ports/files but it didn't work since patch didn't OFS> remove that directory. OFS> 2)After patching ports with `patch < patch' i see files with *.orig but I OFS> think they shouldn't be there. OFS> I have read the porters' handbook of course. But I think there can be a OFS> ports' upgraders :) section too in that guide. OFS> Thanks for your help. OFS> To Unsubscribe: send mail to majordomo@FreeBSD.org OFS> with "unsubscribe freebsd-questions" in the body of the message Dear Omer, -- Best regards, Alex The FreeBSD handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html How to get the best results from FreeBSD-Questions http://www.lemis.com/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message