Re: [Exim] Announce: exiscan-4.10-12

Pàgina inicial
Delete this message
Reply to this message
Autor: Dave C.
Data:  
A: R W C
CC: Tom Kistner, exiscanusers, exim-users
Assumpte: Re: [Exim] Announce: exiscan-4.10-12
On Wed, 11 Sep 2002, R W C wrote:

> Hi Dave,
>
> I think you might have overdone it there with that patch, Can you not just
> change to your exim directory and do a patch -p1 instead of all that or
> are you not using gnu patch? At least thats what you do on pretty much


The FreeBSD ports system applies the patches itself, you dont do them
manually. It expects the patches to be relative to the package directory
itself.

To install exim4 on Freebsd, you do

cd /usr/ports/mail/exim-devel
make
make install
make clean

Everything else is handled by the port.




> any other unix that has gnu patch. -p1 takes one directory level off the
> patches, so if you are already in your new exim directory and use -p1 it
> removed the exim-4.10-xxx part and it will patch on its own. If bsd dont
> use gnu patch, perhaps you can save yourself work from now own by
> installing gnu patch and naming it something like gnupatch and using it
> when yours dont work (which I suspect will be a lot of the time since
> most are structured this way that I use).
>
> For example
>
> cd exim-4.10-whatevername
> patch -p1 < /path_to_file/exiscan-4.10-14.patch
>
> This should work with any patch file afaik, always has for me. Note that
> if a patch has two levels that dont match yours you can use -p2 and so
> own, -p0 is the default. BTW this is in the INSTALL text that you need
> to use -p1.
>
> Randal
>
> On Tue, 10 Sep 2002, Dave C. wrote:
>
> >
> > On Tue, 10 Sep 2002, Tom Kistner wrote:
> >
> > > Dave C. wrote:
> > >
> > > > Never did get a reply to this - how do I find out which version I have
> > > > of the patch? Nothing in either the patch file, or the resultant exim
> > > > binary, seems to give any indication.
> > >
> > > Well, if you deleted the sources, you won't see it anywhere :) I'll
> > > extend exims version string in the next release.
> >
> > Ah ok.. And that would show up in the patchfile itself too of course
> > then.
> >
> > BTW, I am using FreeBSD ports, and I had to modify your patch file as
> > follows. It seems to want the origin to be within the exim directory.
> > This might be useful to any other FreeBSD persons out there..
> >
> >
> > # head -3 exiscan-4.10-15.patch
> >
> > diff -urN exim-4.10-orig/OS/Makefile-Base exim-4.10/OS/Makefile-Base
> > --- exim-4.10-orig/OS/Makefile-Base    Mon Jul 22 10:59:45 2002
> > +++ exim-4.10/OS/Makefile-Base    Mon Jul 22 16:39:08 2002

> >
> > # cat exiscan-4.10-15.patch | sed 's~^--- exim-4.10-orig/~--- ~g' |\
> > sed 's~^+++ exim-4.10/~+++ ~g' > exiscan-patch-for-freebsd
> >
> >
> > # head -3 exiscan-patch-for-freebsd
> >
> > diff -urN exim-4.10-orig/OS/Makefile-Base exim-4.10/OS/Makefile-Base
> > --- OS/Makefile-Base    Mon Jul 22 10:59:45 2002
> > +++ OS/Makefile-Base    Mon Jul 22 16:39:08 2002

> >
> >
> >
> >
> >
> > --
> >
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
> >
> >
> >
> >
>
>