From a7a5772a22f02a5e3e8505151fd18178d3342b7f Mon Sep 17 00:00:00 2001 From: Giorgos Keramidas Date: Mon, 8 May 2006 14:34:46 +0000 Subject: [PATCH] Add a description of how a port should be removed, and a note about the `rmport' script of vd@ PR: docs/96639 Submitted by: clsung Reviewed by: vd --- .../articles/committers-guide/article.sgml | 80 +++++++++++++++++-- 1 file changed, 74 insertions(+), 6 deletions(-) diff --git a/en_US.ISO8859-1/articles/committers-guide/article.sgml b/en_US.ISO8859-1/articles/committers-guide/article.sgml index 572352ed2d..aa64ac7932 100644 --- a/en_US.ISO8859-1/articles/committers-guide/article.sgml +++ b/en_US.ISO8859-1/articles/committers-guide/article.sgml @@ -729,11 +729,11 @@ alias scvs env CVS_RSH=ssh cvs -d user@ncvs.FreeBSD.o You will almost certainly get a conflict because - of the $Id: article.sgml,v 1.237 2006-03-10 07:16:55 marck Exp $ (or in FreeBSD's case, + of the $Id: article.sgml,v 1.238 2006-05-08 14:34:46 keramida Exp $ (or in FreeBSD's case, $FreeBSD$) lines, so you will have to edit the file to resolve the conflict - (remove the marker lines and the second $Id: article.sgml,v 1.237 2006-03-10 07:16:55 marck Exp $ line, - leaving the original $Id: article.sgml,v 1.237 2006-03-10 07:16:55 marck Exp $ line intact). + (remove the marker lines and the second $Id: article.sgml,v 1.238 2006-05-08 14:34:46 keramida Exp $ line, + leaving the original $Id: article.sgml,v 1.238 2006-05-08 14:34:46 keramida Exp $ line intact). @@ -2422,6 +2422,74 @@ docs:Documentation Bug:freebsd-doc: + + 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. + + + + + + Alternatively, you can use the rmport + script, from ports/Tools/scripts. + This script has been written by &a.vd;, who is also its current + maintainer, so please send questions, patches or suggestions + about rmport to him. + + + + Repository Copies @@ -2495,9 +2563,9 @@ docs:Documentation Bug:freebsd-doc: 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.