[Samba] patching 3.0.0 to 3.0.1

Greg Chavez gregarious_mark at yahoo.com
Mon Jan 19 16:22:14 GMT 2004


On Mon, 19 Jan 2004, Gerald Carter wrote:
> On Sun, 18 Jan 2004, Greg Chavez wrote:

> > I'm running Samba 3.0 on Solaris 9.  I'm hoping that the new release
> > will help me with some problems I've been having with character
> > conversions using smbprint.sysv (you will hear more form me if it
> > doesn't).
> >
> > I do this:
> >
> >   # cd samba-3.0.0/source
> >   # make distclean
> >   # ls patch*
> >   patch-3.0.0-3.0.1.gz
>
> cd ..
>
> >   # gzcat patch* | patch -p0	## GNU patch 2.5.4
>
> gzcat source/patch* | patch -p1

That was the magic pill.  I grep'd "source/" from the patchfile and
noticed that many of the file paths begin with samba/source.  So you
need run patch from the samba/ directory, not samba/source, and strip
off samba/ with -p1.  Weird.  Thanks to jerry for a speedy response.

--Greg


More information about the samba mailing list