From 01a7c536a3516267a8527044242cfcce026f8c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Sun, 5 Aug 2012 23:48:01 -0700 Subject: [PATCH] now we bundle and enable by default the new lua-resty-dns library. --- util/configure | 3 ++- util/mirror-tarballs | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/util/configure b/util/configure index 6ae2de3..9de4bd6 100755 --- a/util/configure +++ b/util/configure @@ -776,7 +776,7 @@ _EOC_ "\$(MAKE) install$extra_opts"; } - for my $key (qw(memcached redis mysql string upload)) { + for my $key (qw(dns memcached redis mysql string upload)) { unless ($opts->{"no_lua_resty_$key"}) { my $name = "lua-resty-$key"; my $dir = auto_complete $name; @@ -891,6 +891,7 @@ _EOC_ --without-lua_cjson disable the lua-cjson library --without-lua_redis_parser disable the lua-redis-parser library --without-lua_rds_parser disable the lua-rds-parser library + --without-lua_resty_dns disable the lua-resty-dns library --without-lua_resty_memcached disable the lua-resty-memcached library --without-lua_resty_redis disable the lua-resty-redis library --without-lua_resty_mysql disable the lua-resty-mysql library diff --git a/util/mirror-tarballs b/util/mirror-tarballs index 5c17dd3..b7b7171 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -308,6 +308,13 @@ mv agentzh-lua-rds-parser-* lua-rds-parser-$ver || exit 1 ################################# +ver=0.04 +$root/util/get-tarball "http://github.com/agentzh/lua-resty-dns/tarball/v$ver" -O "lua-resty-dns-$ver.tar.gz" || exit 1 +tar -xzf lua-resty-dns-$ver.tar.gz || exit 1 +mv agentzh-lua-resty-dns-* lua-resty-dns-$ver || exit 1 + +################################# + ver=0.07 $root/util/get-tarball "http://github.com/agentzh/lua-resty-memcached/tarball/v$ver" -O "lua-resty-memcached-$ver.tar.gz" || exit 1 tar -xzf lua-resty-memcached-$ver.tar.gz || exit 1