From 0cb7275311f38b4aace49dc04aad3796e2bf63d4 Mon Sep 17 00:00:00 2001 From: wimpunk Date: Tue, 10 Jul 2007 19:36:37 +0000 Subject: [PATCH] Added patches and applied regex_vlan.patch. See bug #1747337 git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@62 3873ddee-7413-0410-b6c4-c2c57c1ab35a --- svn/ddclient | 2 +- svn/patches/create_patch.sh | 16 ++++++++++++++++ svn/patches/regex_vlan.patch | 18 ++++++++++++++++++ svn/patches/typo_namecheap_patch.diff.new | 18 ++++++++++++++++++ 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100755 svn/patches/create_patch.sh create mode 100644 svn/patches/regex_vlan.patch create mode 100644 svn/patches/typo_namecheap_patch.diff.new diff --git a/svn/ddclient b/svn/ddclient index a82cf7d..1910ea5 100755 --- a/svn/ddclient +++ b/svn/ddclient @@ -1601,7 +1601,7 @@ sub check_value { return undef if $value eq ""; } elsif ($type eq T_IF) { - return undef if $value !~ /^[a-z0-9:_-]+$/; + return undef if $value !~ /^[a-z0-9:._-]+$/; } elsif ($type eq T_PROG) { return undef if $value eq ""; diff --git a/svn/patches/create_patch.sh b/svn/patches/create_patch.sh new file mode 100755 index 0000000..1661ac2 --- /dev/null +++ b/svn/patches/create_patch.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# whichlist +# * add getopt +# * automatic version + +{ +cat < patches/$2\` +# on $(date) +# applied on r$1 +# +EOF +svn diff -r$1 ddclient +} > patches/$2.new + diff --git a/svn/patches/regex_vlan.patch b/svn/patches/regex_vlan.patch new file mode 100644 index 0000000..1462808 --- /dev/null +++ b/svn/patches/regex_vlan.patch @@ -0,0 +1,18 @@ +# +# patch created with `svn diff -r61 . > patches/regex_vlan.patch` +# on Tue Jul 10 21:29:49 CEST 2007 +# applied on r61 +# +Index: ddclient +=================================================================== +--- ddclient (revision 61) ++++ ddclient (working copy) +@@ -1601,7 +1601,7 @@ + return undef if $value eq ""; + + } elsif ($type eq T_IF) { +- return undef if $value !~ /^[a-z0-9:_-]+$/; ++ return undef if $value !~ /^[a-z0-9:._-]+$/; + + } elsif ($type eq T_PROG) { + return undef if $value eq ""; diff --git a/svn/patches/typo_namecheap_patch.diff.new b/svn/patches/typo_namecheap_patch.diff.new new file mode 100644 index 0000000..53704f8 --- /dev/null +++ b/svn/patches/typo_namecheap_patch.diff.new @@ -0,0 +1,18 @@ +# +# patch created with `svn diff -r57 . > patches/typo_namecheap_patch.diff` +# on Tue Jul 10 09:25:19 CEST 2007 +# applied on r57 +# +Index: ddclient +=================================================================== +--- ddclient (revision 59) ++++ ddclient (working copy) +@@ -3014,7 +3014,7 @@ + + The 'namecheap' protocol is used by DNS service offered by www.namecheap.com. + +-Configuration variables applicable to the 'easydns' protocol are: ++Configuration variables applicable to the 'namecheap' protocol are: + protocol=namecheap ## + server=fqdn.of.service ## defaults to dynamicdns.park-your-domain.com + login=service-login ## login name and password registered with the service