I see. Nice explanation. Not fuzzy at all! :)

Sounds like we need a policy to deal with fuzziness. Having not thought much about this, I'll wait to let Jake (and Steve??) chime in on this one. Jake will make the final call of course, but it'd be nice if we can recommend a way to reliably handle this sort of change (line numbers shifting a tad) in the future. I expect something could be scripted, but someone would need to write the script.

--
-Eric 'shubes'

Martin Waschbüsch wrote:
Hi Eric,

The way I see it, this happened:

Jake created the updated package using the same patch he had used for the 
original 0.96 build. It is still valid, but the conf file to patch changed 
slightly, so the patch hunks have some offset.
Now, for some reason, Fedora's build system enforces patch to run with fuzz=0, 
which causes this to break.
All I did was expand the current clamav package, apply the patch without the 
fuzzy option and created a new patch by using 'diff -Naur' just like the 
original patch from Jake's package.
The only thing that changed is line numbers in the .patch file. The content is 
otherwise identical.

So, yes, it is 100% compatible, it works for all distros and I guess 
re-creating the patch in this way should always be done to keep these problems 
from appearing. However, it does mean one or two more steps for the packager 
and, unless you use a system that enforces fuzzy=0, you'd not ever notice it in 
the first place.

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
mar...@waschbuesch.de
http://martin.waschbuesch.de

Am 06.10.2010 um 22:14 schrieb Eric Shubert:

Next question is, does it work with other distros? (Is it backwards 
compatible?) Is there one setting that that works for all, or does this need to 
be a per-distro setting?

--
-Eric 'shubes'

Martin Waschbüsch wrote:
Any Time! :-)
Von meinem iPhone gesendet
Am 06.10.2010 um 21:34 schrieb petrus <petr...@gmail.com 
<mailto:petr...@gmail.com>>:

2010/10/6 Martin Waschbüsch < <mailto:mar...@waschbuesch.de>mar...@waschbuesch.de 
<mailto:mar...@waschbuesch.de>>

   OK,

   Please give this one a try:

   
<http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm>http://martin.waschbuesch.de/clamav-toaster-0.96.3-1.3.38.src.rpm

   Cheers,


Yes this works.
Thank you!

/p

---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
  Vickers Consulting Group offers Qmailtoaster support and installations.
    If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
   Please visit qmailtoaster.com for the latest news, updates, and packages.
        To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
   For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to