From owner-freebsd-questions Wed Aug 15 6:18:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp04.prc.uic.edu (comp04.prc.uic.edu [128.248.230.104]) by hub.freebsd.org (Postfix) with SMTP id DBBDD37B40A for ; Wed, 15 Aug 2001 06:18:04 -0700 (PDT) (envelope-from lucas@comp04.prc.uic.edu) Received: (qmail 5774 invoked by uid 1000); 15 Aug 2001 13:18:24 -0000 Date: Wed, 15 Aug 2001 08:18:24 -0500 From: Lucas Bergman To: Dave Cc: freebsd-questions@freebsd.org Subject: Re: create patch file for xtradius port Message-ID: <20010815081824.E4491@comp04.prc.uic.edu> Reply-To: lucas@slb.to References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from dave@nexusinternetsolutions.net on Wed, Aug 15, 2001 at 12:45:39AM -0400 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 > have the need to upgrade the xtradius 1.0beta3 port to the 1.1pre2 > (or pre1 plus patch). > > not a porter, but took a look at the patch files for the beta3 port > and there isn't much to them. Anyone have a quick tutorial on > creating patch/diff files that are distributed with the ports? > > get the - and + part, but am getting errors and assuming it has to > do with the numbers indication where the patches are taking place... > through messing around, need to get this done :) > > RTFM's and other helful pointers appreciated Okay, RTFM it is... :) man diff Specifically, I think 'diff -u' is preferred. There's also the porter's handbook on the website. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message