[Dnsmasq-discuss] how to add regex matching ?
Jan 'RedBully' Seiffert
redbully at cc.hs-owl.de
Mon Dec 21 19:32:09 GMT 2009
pulleman at web.de schrieb:
> hi,
> gibt es deinen patch auch für die 2.51 ?
>
> bin kein coder....
>
> :~/dnsmasq-2.51# patch < attachment-0001.bin
> patching file Makefile
> Hunk #1 FAILED at 27.
> Hunk #2 FAILED at 36.
> Hunk #3 FAILED at 56.
> 3 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
> patching file Makefile
> Hunk #1 FAILED at 8.
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
> can't find file to patch at input line 45
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |
> |=== modified file 'src/dnsmasq.h'
> |--- old/src/dnsmasq.h 2009-09-10 23:32:18 +0000
> |+++ new/src/dnsmasq.h 2009-09-10 23:41:19 +0000
> --------------------------
Looks, my regex patch does not apply to 2.51, so i imported 2.51 into my VCS,
merged it and regenerated the patch.
Apply with:
cd dnsmasq-2.51
patch -p1 < patchfile_name.patch
Only compile tested.
No warranty it won't eat your kitten.
[snip]
>>>> <hr>
>>>> hi all,
>>>>
>>>>
>>>> running 2.5.1 I would like to reply with 0.0.0.0 for something like ^ad\.*
>>>> I found a hint in early 2007 that a patch exists, unfortunately I can't find it.
>>>> any pointers appreciated.
>>>>
>>>> thanks
>>>> pulle
[snip]
Greetings
Jan
--
assert(!"The excrement has collided with the air circulation device");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsmasq-2.51-regex.patch
Type: text/x-patch
Size: 4708 bytes
Desc: not available
Url : http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20091221/56845042/attachment.bin
More information about the Dnsmasq-discuss
mailing list