Re: Qmailqueue woes

2001-06-21 Thread Charles Cazabon

Lars Hansson [EMAIL PROTECTED] wrote:
  
  Which patch is this?  Give us an URL, or post just the Makefile part of
  the patch.
  
  You can probably get around this by patching it by hand if you have to.
  
 
 It's the QMAILQUEUE patch from www.qmail.org
 (http://www.qmail.org/qmailqueue-patch).

Hmmm.  Have you checked to see if there's a newer version from the author's
site (untroubled.org)?  I don't run with QMAILQUEUE myself at the moment, but
it's not typical of Bruce to release a patch that doesn't apply cleanly,
especially against a static target.

What version of patch do you use?  If it's the one included by your OS vendor,
and it's not GNU patch, try using GNU patch instead.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Qmailqueue woes

2001-06-21 Thread Lars Hansson

Well, I solved it by getting the patch from another source
(http://www.kvikkjokk.net/~oden/softwares/qmail/SOURCES/) and it worked
without any problems. I guess either Nutscrape messed up in the cut and
paste or the patch on qmail.org isn't quite up-to-date.
At any rate, qmail is up and running now with several patches flawlessly
applied so I'm a happy camper. Now, if only I could figure out why the
radius server keeps locking up...

 Hmmm.  Have you checked to see if there's a newer version from the
 author's site (untroubled.org)?  I don't run with QMAILQUEUE myself at
 the moment, but it's not typical of Bruce to release a patch that
 doesn't apply cleanly, especially against a static target.
 
 What version of patch do you use?  If it's the one included by your OS
 vendor, and it's not GNU patch, try using GNU patch instead.
 
Some age-old Slackware release in desperate need of an upgrade (or, more
likely, replacement by OpenBSD) using the supplied GNU patch 2.5.3.
However, the qmail.org patch fails on my openbsd 2.8 systems too (Patch
v2.0, patch level 12u8).

Lars Hansson
Whatever






Re: Qmailqueue woes

2001-06-21 Thread Charles Cazabon

Lars Hansson [EMAIL PROTECTED] wrote:
 Well, I solved it by getting the patch from another source
 (http://www.kvikkjokk.net/~oden/softwares/qmail/SOURCES/) and it worked
 without any problems. I guess either Nutscrape messed up in the cut and
 paste or the patch on qmail.org isn't quite up-to-date.

No, it's the copy  paste that likely did it.  Possibly tab-space
mutilation, which is likely in a Makefile.  If you have to use a browser to
grab patches, try using Save link as... instead of copying and pasting the
result.  Or better yet, use wget or something like that to retrieve the file
in the first place.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Qmailqueue woes

2001-06-21 Thread Henning Brauer

On Fri, Jun 22, 2001 at 09:02:03AM +0800, Lars Hansson wrote:
 without any problems. I guess either Nutscrape messed up in the cut and
 paste or the patch on qmail.org isn't quite up-to-date.

You don't really cut-n-paste source code/patches from netscape?! ever heard
of wget?

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: Qmailqueue woes

2001-06-21 Thread Lars Hansson

 You don't really cut-n-paste source code/patches from netscape?! ever
 heard of wget?
 

Yes, I did. Guilty as charged. I had not installed wget yet so I figured I'd
cut-n-paste from Netscape. Should have known better of course, using
Netscape is never a receipe for success...

Lars Hansson






Qmailqueue woes

2001-06-20 Thread Lars Hansson

The qmailqueue patch just wont work properly for me. This is what i get:

# patch  qmailqueue.patch
patching file Makefile
Hunk #1 FAILED at 1483.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file qmail.c

It always fails on the Makefile. Am I doing something wrong or what's going
on here?
CHeers
Lars





Re: Qmailqueue woes

2001-06-20 Thread Charles Cazabon

Lars Hansson [EMAIL PROTECTED] wrote:
 The qmailqueue patch just wont work properly for me. This is what i get:
[...] 
 It always fails on the Makefile. Am I doing something wrong or what's going
 on here?

Which patch is this?  Give us an URL, or post just the Makefile part of the
patch.

You can probably get around this by patching it by hand if you have to.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Qmailqueue woes

2001-06-20 Thread Lars Hansson

 
 Which patch is this?  Give us an URL, or post just the Makefile part of
 the patch.
 
 You can probably get around this by patching it by hand if you have to.
 

It's the QMAILQUEUE patch from www.qmail.org
(http://www.qmail.org/qmailqueue-patch).
I've pasted Makefile.rej below.

Yeah, I could do it manually but I'm curious as to why it fails. Although my
c-coding and Makefile skills has dimished significantly since my university
days I think that all i have to do is to add env.a after auto_split.o in one
the lines marked with the +, right?

Lars

Makefile.rej:
***
*** 1483,1494 
  trigger.o fmtqfn.o quote.o now.o readsubdir.o qmail.o date822fmt.o \
  datetime.a case.a ndelay.a getln.a wait.a seek.a fd.a sig.a open.a \
  lock.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
- auto_split.o
 ./load qmail-send qsutil.o control.o constmap.o newfield.o \
 prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \
 qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \
 wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \
-substdio.a error.a str.a fs.a auto_qmail.o auto_split.o

  qmail-send.0: \
  qmail-send.8
--- 1483,1494 
  trigger.o fmtqfn.o quote.o now.o readsubdir.o qmail.o date822fmt.o \
  datetime.a case.a ndelay.a getln.a wait.a seek.a fd.a sig.a open.a \
  lock.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
+ auto_split.o env.a
 ./load qmail-send qsutil.o control.o constmap.o newfield.o \
 prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \
 qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \
 wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \
+substdio.a error.a str.a fs.a auto_qmail.o auto_split.o env.a

  qmail-send.0: \
  qmail-send.8