Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116439 - ez-ipupdate dnsexit support
Summary: ez-ipupdate dnsexit support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-22 17:23 UTC by Pedro Algarvio
Modified: 2006-02-10 13:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ez-ipupdate dnsexit support (ez-ipupdate-3.0.11b8-dnsexit-support.path,17.58 KB, patch)
2005-12-22 17:27 UTC, Pedro Algarvio
Details | Diff
ez-ipupdate-3.0.11b8-dnsexit-support-after-ez-ipupdate_3.0.11b8-8.1.diff.path (ez-ipupdate-3.0.11b8-dnsexit-support-after-ez-ipupdate_3.0.11b8-8.1.diff.path,214.93 KB, patch)
2005-12-22 17:30 UTC, Pedro Algarvio
Details | Diff
ez-ipupdate-3.0.11b8-dnsexit-support-after-ez-ipupdate_3.0.11b8-8.1.diff.path (ez-ipupdate-3.0.11b8-dnsexit-support-after-ez-ipupdate_3.0.11b8-8.1.diff.path,6.17 KB, patch)
2005-12-22 17:36 UTC, Pedro Algarvio
Details | Diff
ez-ipupdate-3.0.11_beta8-r3.ebuild (ez-ipupdate-3.0.11_beta8-r3.ebuild,2.70 KB, text/plain)
2005-12-22 18:16 UTC, Pedro Algarvio
Details
ez-ipupdate-3.0.11b8-dnsexit-support.diff (ez-ipupdate-3.0.11b8-dnsexit-support.diff,6.71 KB, patch)
2005-12-22 19:00 UTC, Pedro Algarvio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Algarvio 2005-12-22 17:23:54 UTC
Patch that provides ez-ipupdate dnsexit support
Comment 1 Pedro Algarvio 2005-12-22 17:27:15 UTC
Created attachment 75361 [details, diff]
ez-ipupdate dnsexit support
Comment 2 Pedro Algarvio 2005-12-22 17:30:53 UTC
Created attachment 75362 [details, diff]
ez-ipupdate-3.0.11b8-dnsexit-support-after-ez-ipupdate_3.0.11b8-8.1.diff.path
Comment 3 Pedro Algarvio 2005-12-22 17:36:04 UTC
Created attachment 75363 [details, diff]
ez-ipupdate-3.0.11b8-dnsexit-support-after-ez-ipupdate_3.0.11b8-8.1.diff.path
Comment 4 Pedro Algarvio 2005-12-22 18:16:19 UTC
Created attachment 75367 [details]
ez-ipupdate-3.0.11_beta8-r3.ebuild
Comment 5 Pedro Algarvio 2005-12-22 18:18:23 UTC
If you want to use the above ebuild, rename the patch to 'ez-ipupdate-3.0.11b8-dnsexit-support.diff', and place it on the files/ dir
Comment 6 Pedro Algarvio 2005-12-22 19:00:31 UTC
Created attachment 75368 [details, diff]
ez-ipupdate-3.0.11b8-dnsexit-support.diff

no renames needed with this patch update.

Patch adds all dnsexit possible server responses.
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2005-12-24 04:41:33 UTC
ok, I will check it.
Comment 8 Stefan Briesenick (RETIRED) gentoo-dev 2006-02-10 05:28:37 UTC
btw: what is the source of the patch?
where did you found it?
Comment 9 Pedro Algarvio 2006-02-10 07:17:38 UTC
(In reply to comment #8)
> btw: what is the source of the patch?
> where did you found it?
> 

I got the patch from the ez-ipupdate dnsexit.com makes available, but the one they provided stops at revision 1.44, I just applied
the changes they made to 1.44 to 1.47, the latest available. Another
change I made was to use all dnsexit.com server responses, the ones they provided on their doc, while they only had a response to '0=success' in the 'case
200:', ie:
case 200:
        if(strstr(buf, "0=Success") != NULL)
        ....
        else if(strstr(buf, "1=IP is the same as the IP on the system") != NULL)
        ...
        else if(strstr(buf, "2=Invalid passwords") != NULL)
        ...
        else if(strstr(buf, "3=User not found") != NULL)
        ...
        else if(strstr(buf, "4=Update too often") != NULL)
        ....

And basicly that was it.
Comment 10 Stefan Briesenick (RETIRED) gentoo-dev 2006-02-10 13:02:34 UTC
ok, thanks. new revision is in portage now. please test!