nutcracker 0.2.4.10mac → 0.2.4.10
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/nutcracker/ChangeLog +0 -0
- data/ext/nutcracker/LICENSE +0 -0
- data/ext/nutcracker/Makefile.am +0 -0
- data/ext/nutcracker/Makefile.in +190 -82
- data/ext/nutcracker/NOTICE +0 -0
- data/ext/nutcracker/README.md +0 -0
- data/ext/nutcracker/aclocal.m4 +231 -122
- data/ext/nutcracker/conf/nutcracker.leaf.yml +0 -0
- data/ext/nutcracker/conf/nutcracker.root.yml +0 -0
- data/ext/nutcracker/conf/nutcracker.yml +0 -0
- data/ext/nutcracker/config/config.guess +278 -248
- data/ext/nutcracker/config/config.sub +234 -77
- data/ext/nutcracker/config/depcomp +143 -39
- data/ext/nutcracker/config/install-sh +136 -116
- data/ext/nutcracker/config/ltmain.sh +1704 -788
- data/ext/nutcracker/config/missing +29 -65
- data/ext/nutcracker/config.h.in +0 -15
- data/ext/nutcracker/configure +1998 -1052
- data/ext/nutcracker/configure.ac +2 -34
- data/ext/nutcracker/contrib/Makefile.am +0 -0
- data/ext/nutcracker/contrib/Makefile.in +120 -47
- data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
- data/ext/nutcracker/extconf.rb +5 -0
- data/ext/nutcracker/m4/libtool.m4 +960 -396
- data/ext/nutcracker/m4/ltoptions.m4 +17 -2
- data/ext/nutcracker/m4/ltversion.m4 +6 -6
- data/ext/nutcracker/notes/c-styleguide.txt +0 -0
- data/ext/nutcracker/notes/debug.txt +0 -0
- data/ext/nutcracker/notes/memcache.txt +0 -0
- data/ext/nutcracker/notes/recommendation.md +0 -0
- data/ext/nutcracker/notes/redis.md +0 -0
- data/ext/nutcracker/notes/socket.txt +0 -0
- data/ext/nutcracker/scripts/nutcracker.init +0 -0
- data/ext/nutcracker/scripts/nutcracker.spec +0 -0
- data/ext/nutcracker/scripts/redis-check.py +0 -0
- data/ext/nutcracker/src/Makefile.am +1 -1
- data/ext/nutcracker/src/Makefile.in +167 -81
- data/ext/nutcracker/src/hashkit/Makefile.am +0 -0
- data/ext/nutcracker/src/hashkit/Makefile.in +72 -37
- data/ext/nutcracker/src/hashkit/nc_crc16.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_fnv.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_hashkit.h +0 -0
- data/ext/nutcracker/src/hashkit/nc_hsieh.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_jenkins.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_ketama.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_md5.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_modula.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_murmur.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_random.c +0 -0
- data/ext/nutcracker/src/nc.c +0 -0
- data/ext/nutcracker/src/nc_array.c +0 -0
- data/ext/nutcracker/src/nc_array.h +0 -0
- data/ext/nutcracker/src/nc_client.c +0 -0
- data/ext/nutcracker/src/nc_client.h +0 -0
- data/ext/nutcracker/src/nc_conf.c +0 -0
- data/ext/nutcracker/src/nc_conf.h +0 -0
- data/ext/nutcracker/src/nc_connection.c +0 -0
- data/ext/nutcracker/src/nc_connection.h +0 -0
- data/ext/nutcracker/src/nc_core.c +26 -29
- data/ext/nutcracker/src/nc_core.h +5 -13
- data/ext/nutcracker/src/{nc_epoll.c → nc_event.c} +30 -94
- data/ext/nutcracker/src/nc_event.h +13 -33
- data/ext/nutcracker/src/nc_log.c +0 -0
- data/ext/nutcracker/src/nc_log.h +0 -0
- data/ext/nutcracker/src/nc_mbuf.c +0 -0
- data/ext/nutcracker/src/nc_mbuf.h +0 -0
- data/ext/nutcracker/src/nc_message.c +0 -0
- data/ext/nutcracker/src/nc_message.h +0 -0
- data/ext/nutcracker/src/nc_proxy.c +8 -8
- data/ext/nutcracker/src/nc_proxy.h +0 -0
- data/ext/nutcracker/src/nc_queue.h +0 -0
- data/ext/nutcracker/src/nc_rbtree.c +0 -0
- data/ext/nutcracker/src/nc_rbtree.h +0 -0
- data/ext/nutcracker/src/nc_request.c +3 -3
- data/ext/nutcracker/src/nc_response.c +6 -4
- data/ext/nutcracker/src/nc_server.c +5 -5
- data/ext/nutcracker/src/nc_server.h +0 -0
- data/ext/nutcracker/src/nc_signal.c +0 -0
- data/ext/nutcracker/src/nc_signal.h +0 -0
- data/ext/nutcracker/src/nc_stats.c +21 -16
- data/ext/nutcracker/src/nc_stats.h +4 -3
- data/ext/nutcracker/src/nc_string.c +0 -0
- data/ext/nutcracker/src/nc_string.h +0 -0
- data/ext/nutcracker/src/nc_util.c +0 -16
- data/ext/nutcracker/src/nc_util.h +0 -1
- data/ext/nutcracker/src/proto/Makefile.am +0 -0
- data/ext/nutcracker/src/proto/Makefile.in +72 -37
- data/ext/nutcracker/src/proto/nc_memcache.c +0 -0
- data/ext/nutcracker/src/proto/nc_proto.h +0 -0
- data/ext/nutcracker/src/proto/nc_redis.c +0 -0
- data/lib/nutcracker/version.rb +1 -1
- metadata +8 -201
- data/ext/nutcracker/Makefile +0 -643
- data/ext/nutcracker/autom4te.cache/output.0 +0 -18664
- data/ext/nutcracker/autom4te.cache/output.1 +0 -18664
- data/ext/nutcracker/autom4te.cache/output.2 +0 -18664
- data/ext/nutcracker/autom4te.cache/requests +0 -494
- data/ext/nutcracker/autom4te.cache/traces.0 +0 -2415
- data/ext/nutcracker/autom4te.cache/traces.1 +0 -945
- data/ext/nutcracker/autom4te.cache/traces.2 +0 -2415
- data/ext/nutcracker/config.h +0 -332
- data/ext/nutcracker/config.log +0 -2684
- data/ext/nutcracker/config.status +0 -2317
- data/ext/nutcracker/contrib/Makefile +0 -494
- data/ext/nutcracker/contrib/yaml-0.1.4/Makefile +0 -736
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +0 -13102
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +0 -13085
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +0 -13085
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +0 -476
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +0 -2339
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +0 -545
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +0 -2339
- data/ext/nutcracker/contrib/yaml-0.1.4/config.h +0 -81
- data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/config.log +0 -688
- data/ext/nutcracker/contrib/yaml-0.1.4/config.status +0 -2032
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/annotated.html +0 -51
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/bc_s.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/classes.html +0 -41
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/closed.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.css +0 -656
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/files.html +0 -40
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x62.html +0 -84
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x63.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x64.html +0 -83
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x65.html +0 -110
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x66.html +0 -79
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x68.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x69.html +0 -92
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6b.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6c.html +0 -88
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6d.html +0 -96
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6e.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6f.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x70.html +0 -100
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x71.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x72.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x73.html +0 -163
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x74.html +0 -115
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x75.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x76.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x77.html +0 -77
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x62.html +0 -84
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x63.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x64.html +0 -83
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x65.html +0 -110
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x66.html +0 -79
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x68.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x69.html +0 -92
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6b.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6c.html +0 -88
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6d.html +0 -96
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6e.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6f.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x70.html +0 -100
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x71.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x72.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x73.html +0 -163
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x74.html +0 -115
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x75.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x76.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x77.html +0 -77
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals.html +0 -667
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_defs.html +0 -81
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_enum.html +0 -78
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_eval.html +0 -373
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_func.html +0 -196
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_type.html +0 -126
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__basic.html +0 -320
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__emitter.html +0 -819
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__events.html +0 -664
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__export.html +0 -60
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__nodes.html +0 -795
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__parser.html +0 -606
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__styles.html +0 -222
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__tokens.html +0 -246
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__version.html +0 -106
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/index.html +0 -31
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/modules.html +0 -42
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_f.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_h.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/open.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__alias__data__s.html +0 -108
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__document__s.html +0 -235
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__emitter__s.html +0 -1300
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__event__s.html +0 -496
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__mark__s.html +0 -108
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__pair__s.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__s.html +0 -420
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__parser__s.html +0 -1229
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__simple__key__s.html +0 -97
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__tag__directive__s.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__token__s.html +0 -413
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__version__directive__s.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_a.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_b.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_h.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_s.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tabs.css +0 -59
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/yaml_8h.html +0 -525
- data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.am +0 -17
- data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.in +0 -470
- data/ext/nutcracker/contrib/yaml-0.1.4/libtool +0 -8890
- data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile +0 -484
- data/ext/nutcracker/contrib/yaml-0.1.4/src/api.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/api.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/libyaml.la +0 -41
- data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/stamp-h1 +0 -1
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile +0 -675
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc +0 -10
- data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc.in +0 -10
- data/ext/nutcracker/libtool +0 -9403
- data/ext/nutcracker/src/Makefile +0 -647
- data/ext/nutcracker/src/hashkit/Makefile +0 -476
- data/ext/nutcracker/src/hashkit/libhashkit.a +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc16.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_fnv.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_hsieh.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_jenkins.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_ketama.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_md5.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_modula.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_murmur.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_one_at_a_time.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_random.o +0 -0
- data/ext/nutcracker/src/nc.o +0 -0
- data/ext/nutcracker/src/nc_array.o +0 -0
- data/ext/nutcracker/src/nc_client.o +0 -0
- data/ext/nutcracker/src/nc_conf.o +0 -0
- data/ext/nutcracker/src/nc_connection.o +0 -0
- data/ext/nutcracker/src/nc_core.o +0 -0
- data/ext/nutcracker/src/nc_epoll.o +0 -0
- data/ext/nutcracker/src/nc_kqueue.c +0 -296
- data/ext/nutcracker/src/nc_kqueue.o +0 -0
- data/ext/nutcracker/src/nc_log.o +0 -0
- data/ext/nutcracker/src/nc_mbuf.o +0 -0
- data/ext/nutcracker/src/nc_message.o +0 -0
- data/ext/nutcracker/src/nc_proxy.o +0 -0
- data/ext/nutcracker/src/nc_rbtree.o +0 -0
- data/ext/nutcracker/src/nc_request.o +0 -0
- data/ext/nutcracker/src/nc_response.o +0 -0
- data/ext/nutcracker/src/nc_server.o +0 -0
- data/ext/nutcracker/src/nc_signal.o +0 -0
- data/ext/nutcracker/src/nc_stats.o +0 -0
- data/ext/nutcracker/src/nc_string.o +0 -0
- data/ext/nutcracker/src/nc_util.o +0 -0
- data/ext/nutcracker/src/nutcracker +0 -0
- data/ext/nutcracker/src/proto/Makefile +0 -454
- data/ext/nutcracker/src/proto/libproto.a +0 -0
- data/ext/nutcracker/src/proto/nc_memcache.o +0 -0
- data/ext/nutcracker/src/proto/nc_redis.o +0 -0
- data/ext/nutcracker/stamp-h1 +0 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
# install - install a program, script, or datafile
|
3
3
|
|
4
|
-
scriptversion=
|
4
|
+
scriptversion=2011-01-19.21; # UTC
|
5
5
|
|
6
6
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
7
7
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
@@ -48,7 +48,7 @@ IFS=" "" $nl"
|
|
48
48
|
# set DOITPROG to echo to test this script
|
49
49
|
|
50
50
|
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
51
|
-
doit
|
51
|
+
doit=${DOITPROG-}
|
52
52
|
if test -z "$doit"; then
|
53
53
|
doit_exec=exec
|
54
54
|
else
|
@@ -58,34 +58,49 @@ fi
|
|
58
58
|
# Put in absolute file names if you don't have them in your path;
|
59
59
|
# or use environment vars.
|
60
60
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
61
|
+
chgrpprog=${CHGRPPROG-chgrp}
|
62
|
+
chmodprog=${CHMODPROG-chmod}
|
63
|
+
chownprog=${CHOWNPROG-chown}
|
64
|
+
cmpprog=${CMPPROG-cmp}
|
65
|
+
cpprog=${CPPROG-cp}
|
66
|
+
mkdirprog=${MKDIRPROG-mkdir}
|
67
|
+
mvprog=${MVPROG-mv}
|
68
|
+
rmprog=${RMPROG-rm}
|
69
|
+
stripprog=${STRIPPROG-strip}
|
70
|
+
|
71
|
+
posix_glob='?'
|
72
|
+
initialize_posix_glob='
|
73
|
+
test "$posix_glob" != "?" || {
|
74
|
+
if (set -f) 2>/dev/null; then
|
75
|
+
posix_glob=
|
76
|
+
else
|
77
|
+
posix_glob=:
|
78
|
+
fi
|
79
|
+
}
|
80
|
+
'
|
69
81
|
|
70
|
-
posix_glob=
|
71
82
|
posix_mkdir=
|
72
83
|
|
73
84
|
# Desired mode of installed file.
|
74
85
|
mode=0755
|
75
86
|
|
87
|
+
chgrpcmd=
|
76
88
|
chmodcmd=$chmodprog
|
77
89
|
chowncmd=
|
78
|
-
|
79
|
-
stripcmd=
|
90
|
+
mvcmd=$mvprog
|
80
91
|
rmcmd="$rmprog -f"
|
81
|
-
|
92
|
+
stripcmd=
|
93
|
+
|
82
94
|
src=
|
83
95
|
dst=
|
84
96
|
dir_arg=
|
85
|
-
|
97
|
+
dst_arg=
|
98
|
+
|
99
|
+
copy_on_change=false
|
86
100
|
no_target_directory=
|
87
101
|
|
88
|
-
usage="
|
102
|
+
usage="\
|
103
|
+
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
|
89
104
|
or: $0 [OPTION]... SRCFILES... DIRECTORY
|
90
105
|
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
|
91
106
|
or: $0 [OPTION]... -d DIRECTORIES...
|
@@ -95,65 +110,59 @@ In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
|
|
95
110
|
In the 4th, create DIRECTORIES.
|
96
111
|
|
97
112
|
Options:
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
|
107
|
-
|
113
|
+
--help display this help and exit.
|
114
|
+
--version display version info and exit.
|
115
|
+
|
116
|
+
-c (ignored)
|
117
|
+
-C install only if different (preserve the last data modification time)
|
118
|
+
-d create directories instead of installing files.
|
119
|
+
-g GROUP $chgrpprog installed files to GROUP.
|
120
|
+
-m MODE $chmodprog installed files to MODE.
|
121
|
+
-o USER $chownprog installed files to USER.
|
122
|
+
-s $stripprog installed files.
|
123
|
+
-t DIRECTORY install into DIRECTORY.
|
124
|
+
-T report an error if DSTFILE is a directory.
|
108
125
|
|
109
126
|
Environment variables override the default commands:
|
110
|
-
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG
|
127
|
+
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
|
128
|
+
RMPROG STRIPPROG
|
111
129
|
"
|
112
130
|
|
113
131
|
while test $# -ne 0; do
|
114
132
|
case $1 in
|
115
|
-
-c)
|
116
|
-
continue;;
|
133
|
+
-c) ;;
|
117
134
|
|
118
|
-
-
|
119
|
-
|
120
|
-
|
135
|
+
-C) copy_on_change=true;;
|
136
|
+
|
137
|
+
-d) dir_arg=true;;
|
121
138
|
|
122
139
|
-g) chgrpcmd="$chgrpprog $2"
|
123
|
-
|
124
|
-
shift
|
125
|
-
continue;;
|
140
|
+
shift;;
|
126
141
|
|
127
142
|
--help) echo "$usage"; exit $?;;
|
128
143
|
|
129
144
|
-m) mode=$2
|
130
|
-
shift
|
131
|
-
shift
|
132
145
|
case $mode in
|
133
146
|
*' '* | *' '* | *'
|
134
147
|
'* | *'*'* | *'?'* | *'['*)
|
135
148
|
echo "$0: invalid mode: $mode" >&2
|
136
149
|
exit 1;;
|
137
150
|
esac
|
138
|
-
|
151
|
+
shift;;
|
139
152
|
|
140
153
|
-o) chowncmd="$chownprog $2"
|
141
|
-
|
142
|
-
shift
|
143
|
-
continue;;
|
154
|
+
shift;;
|
144
155
|
|
145
|
-
-s) stripcmd=$stripprog
|
146
|
-
shift
|
147
|
-
continue;;
|
156
|
+
-s) stripcmd=$stripprog;;
|
148
157
|
|
149
|
-
-t)
|
150
|
-
|
151
|
-
|
152
|
-
|
158
|
+
-t) dst_arg=$2
|
159
|
+
# Protect names problematic for `test' and other utilities.
|
160
|
+
case $dst_arg in
|
161
|
+
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
162
|
+
esac
|
163
|
+
shift;;
|
153
164
|
|
154
|
-
-T) no_target_directory=true
|
155
|
-
shift
|
156
|
-
continue;;
|
165
|
+
-T) no_target_directory=true;;
|
157
166
|
|
158
167
|
--version) echo "$0 $scriptversion"; exit $?;;
|
159
168
|
|
@@ -165,21 +174,26 @@ while test $# -ne 0; do
|
|
165
174
|
|
166
175
|
*) break;;
|
167
176
|
esac
|
177
|
+
shift
|
168
178
|
done
|
169
179
|
|
170
|
-
if test $# -ne 0 && test -z "$dir_arg$
|
180
|
+
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
|
171
181
|
# When -d is used, all remaining arguments are directories to create.
|
172
182
|
# When -t is used, the destination is already specified.
|
173
183
|
# Otherwise, the last argument is the destination. Remove it from $@.
|
174
184
|
for arg
|
175
185
|
do
|
176
|
-
if test -n "$
|
186
|
+
if test -n "$dst_arg"; then
|
177
187
|
# $@ is not empty: it contains at least $arg.
|
178
|
-
set fnord "$@" "$
|
188
|
+
set fnord "$@" "$dst_arg"
|
179
189
|
shift # fnord
|
180
190
|
fi
|
181
191
|
shift # arg
|
182
|
-
|
192
|
+
dst_arg=$arg
|
193
|
+
# Protect names problematic for `test' and other utilities.
|
194
|
+
case $dst_arg in
|
195
|
+
-* | [=\(\)!]) dst_arg=./$dst_arg;;
|
196
|
+
esac
|
183
197
|
done
|
184
198
|
fi
|
185
199
|
|
@@ -194,7 +208,11 @@ if test $# -eq 0; then
|
|
194
208
|
fi
|
195
209
|
|
196
210
|
if test -z "$dir_arg"; then
|
197
|
-
|
211
|
+
do_exit='(exit $ret); exit $ret'
|
212
|
+
trap "ret=129; $do_exit" 1
|
213
|
+
trap "ret=130; $do_exit" 2
|
214
|
+
trap "ret=141; $do_exit" 13
|
215
|
+
trap "ret=143; $do_exit" 15
|
198
216
|
|
199
217
|
# Set umask so as not to create temps with too-generous modes.
|
200
218
|
# However, 'strip' requires both read and write access to temps.
|
@@ -222,9 +240,9 @@ fi
|
|
222
240
|
|
223
241
|
for src
|
224
242
|
do
|
225
|
-
# Protect names
|
243
|
+
# Protect names problematic for `test' and other utilities.
|
226
244
|
case $src in
|
227
|
-
-*) src=./$src
|
245
|
+
-* | [=\(\)!]) src=./$src;;
|
228
246
|
esac
|
229
247
|
|
230
248
|
if test -n "$dir_arg"; then
|
@@ -242,22 +260,17 @@ do
|
|
242
260
|
exit 1
|
243
261
|
fi
|
244
262
|
|
245
|
-
if test -z "$
|
263
|
+
if test -z "$dst_arg"; then
|
246
264
|
echo "$0: no destination specified." >&2
|
247
265
|
exit 1
|
248
266
|
fi
|
249
|
-
|
250
|
-
dst=$dstarg
|
251
|
-
# Protect names starting with `-'.
|
252
|
-
case $dst in
|
253
|
-
-*) dst=./$dst ;;
|
254
|
-
esac
|
267
|
+
dst=$dst_arg
|
255
268
|
|
256
269
|
# If destination is a directory, append the input filename; won't work
|
257
270
|
# if double slashes aren't ignored.
|
258
271
|
if test -d "$dst"; then
|
259
272
|
if test -n "$no_target_directory"; then
|
260
|
-
echo "$0: $
|
273
|
+
echo "$0: $dst_arg: Is a directory" >&2
|
261
274
|
exit 1
|
262
275
|
fi
|
263
276
|
dstdir=$dst
|
@@ -378,33 +391,26 @@ do
|
|
378
391
|
# directory the slow way, step by step, checking for races as we go.
|
379
392
|
|
380
393
|
case $dstdir in
|
381
|
-
/*) prefix
|
382
|
-
|
383
|
-
*) prefix=
|
394
|
+
/*) prefix='/';;
|
395
|
+
[-=\(\)!]*) prefix='./';;
|
396
|
+
*) prefix='';;
|
384
397
|
esac
|
385
398
|
|
386
|
-
|
387
|
-
'')
|
388
|
-
if (set -f) 2>/dev/null; then
|
389
|
-
posix_glob=true
|
390
|
-
else
|
391
|
-
posix_glob=false
|
392
|
-
fi ;;
|
393
|
-
esac
|
399
|
+
eval "$initialize_posix_glob"
|
394
400
|
|
395
401
|
oIFS=$IFS
|
396
402
|
IFS=/
|
397
|
-
$posix_glob
|
403
|
+
$posix_glob set -f
|
398
404
|
set fnord $dstdir
|
399
405
|
shift
|
400
|
-
$posix_glob
|
406
|
+
$posix_glob set +f
|
401
407
|
IFS=$oIFS
|
402
408
|
|
403
409
|
prefixes=
|
404
410
|
|
405
411
|
for d
|
406
412
|
do
|
407
|
-
test
|
413
|
+
test X"$d" = X && continue
|
408
414
|
|
409
415
|
prefix=$prefix$d
|
410
416
|
if test -d "$prefix"; then
|
@@ -459,41 +465,54 @@ do
|
|
459
465
|
# ignore errors from any of these, just make sure not to ignore
|
460
466
|
# errors from the above "$doit $cpprog $src $dsttmp" command.
|
461
467
|
#
|
462
|
-
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; }
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
#
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
468
|
+
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
|
469
|
+
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
|
470
|
+
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
|
471
|
+
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
472
|
+
|
473
|
+
# If -C, don't bother to copy if it wouldn't change the file.
|
474
|
+
if $copy_on_change &&
|
475
|
+
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
|
476
|
+
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
|
477
|
+
|
478
|
+
eval "$initialize_posix_glob" &&
|
479
|
+
$posix_glob set -f &&
|
480
|
+
set X $old && old=:$2:$4:$5:$6 &&
|
481
|
+
set X $new && new=:$2:$4:$5:$6 &&
|
482
|
+
$posix_glob set +f &&
|
483
|
+
|
484
|
+
test "$old" = "$new" &&
|
485
|
+
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
|
486
|
+
then
|
487
|
+
rm -f "$dsttmp"
|
488
|
+
else
|
489
|
+
# Rename the file to the real destination.
|
490
|
+
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
|
491
|
+
|
492
|
+
# The rename failed, perhaps because mv can't rename something else
|
493
|
+
# to itself, or perhaps because mv is so ancient that it does not
|
494
|
+
# support -f.
|
495
|
+
{
|
496
|
+
# Now remove or move aside any old file at destination location.
|
497
|
+
# We try this two ways since rm can't unlink itself on some
|
498
|
+
# systems and the destination file might be busy for other
|
499
|
+
# reasons. In this case, the final cleanup might fail but the new
|
500
|
+
# file should still install successfully.
|
501
|
+
{
|
502
|
+
test ! -f "$dst" ||
|
503
|
+
$doit $rmcmd -f "$dst" 2>/dev/null ||
|
504
|
+
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
|
505
|
+
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
|
506
|
+
} ||
|
507
|
+
{ echo "$0: cannot unlink or rename $dst" >&2
|
508
|
+
(exit 1); exit 1
|
509
|
+
}
|
510
|
+
} &&
|
511
|
+
|
512
|
+
# Now rename the file to the real destination.
|
513
|
+
$doit $mvcmd "$dsttmp" "$dst"
|
514
|
+
}
|
515
|
+
fi || exit 1
|
497
516
|
|
498
517
|
trap '' 0
|
499
518
|
fi
|
@@ -503,5 +522,6 @@ done
|
|
503
522
|
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
504
523
|
# time-stamp-start: "scriptversion="
|
505
524
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
506
|
-
# time-stamp-
|
525
|
+
# time-stamp-time-zone: "UTC"
|
526
|
+
# time-stamp-end: "; # UTC"
|
507
527
|
# End:
|