From owner-freebsd-ports Thu May 11 17: 4:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id A058437B985 for ; Thu, 11 May 2000 17:04:08 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (tao.sea.tera.com [207.108.223.55]) by gershwin.tera.com (8.9.3/8.9.3) with ESMTP id RAA25351; Thu, 11 May 2000 17:04:34 -0700 (PDT) Received: (from kline@localhost) by tao.thought.org (8.9.3/8.7.3) id RAA84611; Thu, 11 May 2000 17:05:59 -0700 (PDT) From: Gary Kline Message-Id: <200005120005.RAA84611@tao.thought.org> Subject: Re: How to submit port updates (Re: ports/18502: Mutt is now at 1.2) To: hetzels@westbend.net (Scot W. Hetzel) Date: Thu, 11 May 2000 17:05:59 -0700 (PDT) Cc: freebsd-ports@FreeBSD.ORG In-Reply-To: <009201bfbb9f$44184a60$8dfee0d1@westbend.net> from "Scot W. Hetzel" at May 11, 2000 06:18:49 PM Organization: <> thought.org: pvblic service Unix since 1986... <> X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Scot W. Hetzel: > > From: "Gary Kline" > > I could use some insight here since my muuz port will be > > updated within the next several weeks. Who can tell me > > how to send patches for the Makefile and for the md5 file > > that would be bundled in one patchfile?? > > > To update a port I follow this procedure: > > 1. Make a copy of the original port (muuz) > > cp -rp muuz muuz.orig > > 2. Make changes to port (muuz) > > 3. Create a diff between the original and the changed version. > > diff -ruN muuz.orig muuz > muuz.patch > > 4. Use send-pr to create Problem Report > > 5. Exit send-pr without sending the Problem Report and note what filename it > saved the PR as (/tmp/????) > > 6. Cat your patch to the end of the PR > > cat /tmp/mypr muuz.patch > muuz.pr > > 7. Execute send-pr with the PR file > > send-pr -f muuz.pr > > NOTE: You'll be asked to send/edit/abort the PR > > 8. Use edit to make changes to your PR > > 9. Use send to submit your PR > > There's probably an easier way to generate and submit the PR, but I am not > sure what the vi command is to insert text from a file. > Thank you; this fits exactly:: a cookbook-style howto. Once I've done this procedure a few times the edges (reasons, whys, and wherefores) will become clear. ;-) gary > -- Gary D. Kline kline@tao.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message