From owner-freebsd-doc@FreeBSD.ORG Thu May 4 08:10:25 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB76116A402 for ; Thu, 4 May 2006 08:10:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B82443D53 for ; Thu, 4 May 2006 08:10:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k448AP1D039826 for ; Thu, 4 May 2006 08:10:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k448APlt039825; Thu, 4 May 2006 08:10:25 GMT (envelope-from gnats) Date: Thu, 4 May 2006 08:10:25 GMT Message-Id: <200605040810.k448APlt039825@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Vasil Dimov Cc: Subject: Re: docs/96639: [patch] suggestion to committer's guide that should have a description about remove ports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vasil Dimov List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 08:10:25 -0000 The following reply was made to PR docs/96639; it has been noted by GNATS. From: Vasil Dimov To: Cheng-Lung Sung Cc: bug-followup@FreeBSD.org, erwin@FreeBSD.org Subject: Re: docs/96639: [patch] suggestion to committer's guide that should have a description about remove ports Date: Thu, 4 May 2006 11:09:33 +0300 On Thu, May 04, 2006 at 03:29:17PM +0800, Cheng-Lung Sung wrote: > Hi, > Thank to your suggestions. > > I made some modification, and the patch now is placed at > > http://people.freebsd.org/~clsung/patch-committers-guide_v2 > > If you are free can you help me review that? > Looks fine, here is a slightly modified version: --- patch-committers-guide_v2 begins here --- --- article.sgml.orig Thu Apr 20 09:49:55 2006 +++ article.sgml Thu May 4 15:22:53 2006 @@ -2423,6 +2423,74 @@ + Removing an Existing Port + + + + How do I remove an existing port? + + + + First, please read the section about repository + copies. Before you remove the port, you have to verify + there are no other ports depending on it. + + + Make sure there is no dependency on the port + in the ports collection: + + + The port's PKGNAME should appear in exactly one + line in a recent INDEX file. + + + No other ports should contain any reference to + the port's directory or PKGNAME in their + Makefiles + + + + + Then, remove the port: + + + + Remove the port's files via cvs remove. + + + + Remove SUBDIR listing of the port + in the parent directory Makefile. + + + + Remove the module entry in + CVSROOT/modules. + + + + Add an entry to + ports/MOVED. + + + + Remove the port from + ports/LEGAL if it is there. + + + + + However, there is a + ports/Tools/scripts/rmport script + that automates all the necessary steps for removing a port. + It was written by &a.vd;, who is also the current maintainer + so please send questions/patches about + rmport to him. + + + + + Repository Copies @@ -2495,9 +2563,9 @@ Add the new subdirectory to the SUBDIR listing in the parent - directory Makefile. You can run make - checksubdirs in the parent directory to check - this. + directory Makefile. You can run + make checksubdirs in the parent + directory to check this. --- patch-committers-guide_v2 ends here --- -- Vasil Dimov gro.DSBeerF@dv Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra