[imp] How to use Patch?

Brent J. Nordquist bjn@horde.org
Fri, 16 Feb 2001 13:04:40 -0600 (CST)


On Fri, 16 Feb 2001, Devin Atencio <dreamboy@aros.net> wrote:

> I am currently using Horde 1.2.3 and IMP 2.2.4 and I just want to
> upgrade the horde to 1.2.4 with the patch file I downloaded called
> patch-horde-1.2.3-1.2.4 but I'm not sure how to use it.

(The -p works in FreeBSD, which Devin says he's using.)

Make a complete copy of your horde/imp and phplib trees first.  :-)  Then
cd so that you're in the horde directory ("ls" shows "test.php3" among
other things), and then do "patch -p1 <.../patch-horde-1.2.3-1.2.4" --
then do the same thing for imp.

When it's done, you'll have to search for any ".rej" files (rejected
patches) and apply them by hand.  You'll also want to compare the .dist
files in the config directories to your customized ones, to make sure that
you spot any configuration parameters that have been added in the current
release.

-- 
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942