projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e470b
)
ddns-scripts: - urlencode exclamation marks (#7607) - support new token [HTTPAUTH...
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 13 Jul 2010 12:10:13 +0000
(12:10 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 13 Jul 2010 12:10:13 +0000
(12:10 +0000)
SVN-Revision: 22165
net/ddns-scripts/Makefile
patch
|
blob
|
history
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh
patch
|
blob
|
history
net/ddns-scripts/files/usr/lib/ddns/url_escape.sed
patch
|
blob
|
history
diff --git
a/net/ddns-scripts/Makefile
b/net/ddns-scripts/Makefile
index 930e60e54d7ed9d3ae09e53a35163efb3abebacc..a0ba7d580af6c17b6848f4fe03a4acaedcad0a23 100644
(file)
--- a/
net/ddns-scripts/Makefile
+++ b/
net/ddns-scripts/Makefile
@@
-2,7
+2,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts
PKG_VERSION:=1.0.0
-PKG_RELEASE:=
8
+PKG_RELEASE:=
9
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
diff --git
a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh
b/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh
index b7824326b4e8e8436be1a19e39a2abddf71508b6..6bdc9c0661b87aa9e9358d4ea221e510b75aa3ff 100755
(executable)
--- a/
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh
+++ b/
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh
@@
-256,6
+256,7
@@
do
final_url=$(echo $final_url | sed s^"$replace_name"^"$replace_value"^g )
fi
done
+ final_url=$(echo $final_url | sed s/"\[HTTPAUTH\]"/"$username${password:+$password}"/g )
final_url=$(echo $final_url | sed s/"\[IP\]"/"$current_ip"/g )
diff --git
a/net/ddns-scripts/files/usr/lib/ddns/url_escape.sed
b/net/ddns-scripts/files/usr/lib/ddns/url_escape.sed
index eb7011beb24eb7d7577b80d2fe113c1660f9887f..feae98fa8e91c4a9c2636abc246a1d7f75cdbf5b 100644
(file)
--- a/
net/ddns-scripts/files/usr/lib/ddns/url_escape.sed
+++ b/
net/ddns-scripts/files/usr/lib/ddns/url_escape.sed
@@
-21,3
+21,5
@@
s:@:%40:g
s:=:%3D:g
s:&:%26:g
s:\$:%24:g
+s:\!:%21:g
+