Re: Using extra patches with the ports collection and qmail-mysql - Found Solution

2004-11-04 Thread CHris Rich
For anyone else wondering here is how the problem was solved. put the
patch (name doesn't matter it just does them in alphabetical order
into the /work/qmail-1.03 directory.
Did a make patch, which resulted in an error but after editing the
Makefile the compile worked fine.

Thanks everyone for suggestions


On Fri, 29 Oct 2004 15:44:28 -0500, CHris Rich <[EMAIL PROTECTED]> wrote:
> Ah I love this mailing listthanks for the suggestions will try
> them as soon as possible.
> 
> 
> 
> 
> On Fri, 29 Oct 2004 12:35:32 -0700, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> > On Fri, Oct 29, 2004 at 01:29:43PM -0600, Danny MacMillan wrote:
> >
> > > Disclaimer:  This could all be complete nonsense, and probably is.
> >
> > Looks right to me..
> >
> > Kris
> >
> >
> >
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using extra patches with the ports collection and qmail-mysql

2004-10-29 Thread CHris Rich
Ah I love this mailing listthanks for the suggestions will try
them as soon as possible.


On Fri, 29 Oct 2004 12:35:32 -0700, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 29, 2004 at 01:29:43PM -0600, Danny MacMillan wrote:
> 
> > Disclaimer:  This could all be complete nonsense, and probably is.
> 
> Looks right to me..
> 
> Kris
> 
> 
>
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using extra patches with the ports collection and qmail-mysql

2004-10-29 Thread Kris Kennaway
On Fri, Oct 29, 2004 at 01:29:43PM -0600, Danny MacMillan wrote:

> Disclaimer:  This could all be complete nonsense, and probably is.

Looks right to me..

Kris


pgpUzHE3eQOiq.pgp
Description: PGP signature


Re: Using extra patches with the ports collection and qmail-mysql

2004-10-29 Thread Danny MacMillan
On Fri, Oct 29, 2004 at 08:46:18AM -0600, CHris Rich wrote:
> Here's the story...
> 
> I'm trying to compile qmail-mysql with a new patch that I have found.
> We've got a test mail server set up explicitly for trying this. Did
> some googling and asked a question on here earlier about how exactly
> you get a patch to compile with the ports collection. The answer was
> to put into the files folder of the port you are trying to install.
> Well qmail-mysql did not have the particular directory but after
> looking into the qmail directory I found such a folder. (This is after
> doing a make fetch WITH_BIG_CONCURRENCY=yes and make extract in the
> qmail-mysql port). We put our patch into the
> /usr/ports/mail/qmail/files directory and then did a make install.
> Once that was finished and finishing the other tasks of getting qmail
> to work we find that the patch didn't compile. It didn't do what we
> thought it would do.
> 
> So my question is this...what did we do wrong? Should the patch have
> been somewhere else? This is the patch we were trying to use:
> http://www3.sympatico.ca/humungusfungus/code/validrcptto.html
> Version of FreeBSD is 5.2.1.
> 
> Thanks in advance

I'm no expert on this, but I'll give it a go...

I believe the name of the patch is significant.  It =must= be called
patch-somethingorother.  I would follow the naming conventions of the
patches already present.  (I believe the patches are applied in
lexical filename order).  I don't know if you've named the patch
correctly or not.

Also, it seems that the patch needs to be adjusted to work within the
context of its location in the ports tree.  The very first things I
see when I look at the patch are references to files in the relative
path ../qmail-1.03-patched/  Since it would seem that neither that
directory nor the files within exist when FreeBSD applies the patches,
I doubt the patch is properly applied. :)

As long as all other things are equal (but remember, Spock said
"Things are not equal,") you should just be able to adjust the paths
to the patched files to match their actual location.

If things are not equal, you might have to make other changes to the
Makefile patch (in particular) to get it to play nicely in the FreeBSD
environment.  It shouldn't be too hard, the patch looks quite compact.

Disclaimer:  This could all be complete nonsense, and probably is.

-- 
Danny
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Using extra patches with the ports collection and qmail-mysql

2004-10-29 Thread CHris Rich
Here's the story...

I'm trying to compile qmail-mysql with a new patch that I have found.
We've got a test mail server set up explicitly for trying this. Did
some googling and asked a question on here earlier about how exactly
you get a patch to compile with the ports collection. The answer was
to put into the files folder of the port you are trying to install.
Well qmail-mysql did not have the particular directory but after
looking into the qmail directory I found such a folder. (This is after
doing a make fetch WITH_BIG_CONCURRENCY=yes and make extract in the
qmail-mysql port). We put our patch into the
/usr/ports/mail/qmail/files directory and then did a make install.
Once that was finished and finishing the other tasks of getting qmail
to work we find that the patch didn't compile. It didn't do what we
thought it would do.

So my question is this...what did we do wrong? Should the patch have
been somewhere else? This is the patch we were trying to use:
http://www3.sympatico.ca/humungusfungus/code/validrcptto.html
Version of FreeBSD is 5.2.1.

Thanks in advance
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"