debian/0000775000000000000000000000000012277552766007213 5ustar debian/rdoc1.9.1.rd0000664000000000000000000001072712247132667011056 0ustar =begin = NAME rdoc1.9 - Generate documentation from Ruby script files = SYNOPSIS rdoc1.9 [options] [names...] = DESCRIPTION Files are parsed, and the information they contain collected, before any output is produced. This allows cross references between all files to be resolved. If a name is a directory, it is traversed. If no names are specified, all Ruby files in the current directory (and subdirectories) are processed. Available output formatters: chm, html, ri, xml For information on where the output goes, use: rdoc --help-output = OPTIONS : --accessor, -A ((|accessorname[,..]|)) comma separated list of additional class methods that should be treated like 'attr_reader' and friends. Option may be repeated. Each accessorname may have '=text' appended, in which case that text appears where the r/w/rw appears for normal accessors. : --all, -a include all methods (not just public) in the output. : --charset, -c ((|charset|)) specifies HTML character-set : --debug, -D displays lots on internal stuff : --diagram, -d generate diagrams showing modules and classes. You need dot V1.8.6 or later to use the --diagram option correctly. Dot is available from (()). : --exclude, -x ((|pattern|)) do not process files or directories matching pattern. Files given explicitly on the command line will never be excluded. : --extension, -E ((|new|))=((|old|)) treat files ending with .new as if they ended with .old. Using '-E cgi=rb' will cause xxx.cgi to be parsed as a Ruby file : --fileboxes, -F classes are put in boxes which represents files, where these classes reside. Classes shared between more than one file are shown with list of files that sharing them. Silently discarded if --diagram is not given Experimental. : --fmt, -f ((|formatname|)) set the output formatter (see below). : --help, -h print usage. : --help-output, -O explain the various output options. : --image-format, -I ((|(('gif|png|jpg|jpeg'))|)) sets output image format for diagrams. Can be png, gif, jpeg, jpg. If this option is omitted, png is used. Requires --diagram. : --include, -i ((|dir[,dir...]|)) set (or add to) the list of directories to be searched when satisfying ((':include:')) requests. Can be used more than once. : --inline-source, -S show method source code inline, rather than via a popup link. : --line-numbers, -N include line numbers in the source code : --main, -m ((|name|)) ((|name|)) will be the initial page displayed. : --merge, -M when creating ri output, merge processed classes into previously documented classes of the name name. : --one-file, -1 put all the output into a single file. : --op, -o ((|dir|)) set the output directory. : --opname, -n ((|name|)) set the ((|name|)) of the output. Has no effect for HTML. : --promiscuous, -p When documenting a file that contains a module or class also defined in other files, show all stuff for that module/class in each files page. By default, only show stuff defined in that particular file. : --quiet, -q don't show progress as we parse. : --ri, -r generate output for use by 'ri.' The files are stored in the '.rdoc' directory under your home directory unless overridden by a subsequent --op parameter, so no special privileges are needed. : --ri-site, -R generate output for use by 'ri.' The files are stored in a site-wide directory, making them accessible to others, so special privileges are needed. : --ri-system, -Y generate output for use by 'ri.' The files are stored in a system-level directory, making them accessible to others, so special privileges are needed. This option is intended to be used during Ruby installations. : --show-hash, -H a name of the form #name in a comment is a possible hyperlink to an instance method name. When displayed, the '#' is removed unless this option is specified. : --style, -s ((|stylesheet-url|)) specifies the URL of a separate stylesheet. : --tab-width, -w ((|n|)) set the width of tab characters (default 8). : --template, -T ((|template-name|)) set the template used when generating output. : --title, -t ((|text|)) set ((|text|)) as the title for the output. : --version, -v display RDoc's version. : --webcvs, -W ((|url|)) specify a URL for linking to a web frontend to CVS. If the URL contains a '%s', the name of the current file will be substituted; if the URL doesn't contain a '%s', the filename will be appended to it. =end debian/ruby1.9.1.preinst0000664000000000000000000000027512277552563012170 0ustar #!/bin/sh set -e if [ "$1" = "upgrade" ]; then update-alternatives --remove gem /usr/bin/gem1.9.1 || true update-alternatives --remove ruby /usr/bin/ruby1.9.1 || true fi #DEBHELPER# debian/ruby1.9.3.links0000664000000000000000000000152412247132667011620 0ustar /usr/share/man/man1/rdoc1.9.1.1.gz /usr/share/man/man1/rdoc1.9.3.1.gz /usr/share/man/man1/testrb1.9.1.1.gz /usr/share/man/man1/testrb1.9.3.1.gz /usr/share/man/man1/rake1.9.1.1.gz /usr/share/man/man1/rake1.9.3.1.gz /usr/share/man/man1/ri1.9.1.1.gz /usr/share/man/man1/ri1.9.3.1.gz /usr/share/man/man1/irb1.9.1.1.gz /usr/share/man/man1/irb1.9.3.1.gz /usr/share/man/man1/erb1.9.1.1.gz /usr/share/man/man1/erb1.9.3.1.gz /usr/share/man/man1/gem1.9.1.1.gz /usr/share/man/man1/gem1.9.3.1.gz /usr/share/man/man1/ruby1.9.1.1.gz /usr/share/man/man1/ruby1.9.3.1.gz /usr/bin/erb1.9.1 /usr/bin/erb1.9.3 /usr/bin/rake1.9.1 /usr/bin/rake1.9.3 /usr/bin/ri1.9.1 /usr/bin/ri1.9.3 /usr/bin/irb1.9.1 /usr/bin/irb1.9.3 /usr/bin/gem1.9.1 /usr/bin/gem1.9.3 /usr/bin/rdoc1.9.1 /usr/bin/rdoc1.9.3 /usr/bin/testrb1.9.1 /usr/bin/testrb1.9.3 /usr/bin/ruby1.9.1 /usr/bin/ruby1.9.3 debian/run-test-suites.bash0000775000000000000000000000170212247132667013137 0ustar #!/bin/bash set -e MAXFAIL=30 MAXERR=3 echo "*******************************************************************" echo "Running 'make test'" echo make OPTS=-v test echo echo "*******************************************************************" echo "Running 'make test-all'" echo mv test/drb _test_drb # DRB tests hang make TESTS=-v test-all 2>&1 |tee make-test-all.log || true mv _test_drb test/drb # DRB tests hang echo echo "'make test-all' finished. checking number of failures and errors." echo "max number allowed: failures:$MAXFAIL errors:$MAXERR" if ! grep -q tests, make-test-all.log; then echo "Could not find number of failures. Interpreter crash? Failing build." exit 1 fi f=$(grep tests, make-test-all.log) fail=$(echo $f | cut -d ' ' -f 5) err=$(echo $f | cut -d ' ' -f 7) if [ $err -gt $MAXERR ];then echo "Too many errors. Failing build." exit 1 fi if [ $fail -gt $MAXFAIL ];then echo "Too many failures. Failing build." exit 1 fi exit 0 debian/libruby1.9.1.symbols0000664000000000000000000011655712247132667012672 0ustar libruby-1.9.1.so.1.9 libruby1.9.1 #MINVER# OnigDefaultCaseFoldFlag@Base 1.9.2.0 OnigDefaultSyntax@Base 1.9.2.0 OnigEncAsciiCtypeTable@Base 1.9.2.0 OnigEncAsciiToLowerCaseTable@Base 1.9.2.0 OnigEncAsciiToUpperCaseTable@Base 1.9.2.0 OnigEncDefaultCharEncoding@Base 1.9.2.0 OnigEncISO_8859_1_ToLowerCaseTable@Base 1.9.2.0 OnigEncISO_8859_1_ToUpperCaseTable@Base 1.9.2.0 OnigEncodingASCII@Base 1.9.2.0 OnigSyntaxASIS@Base 1.9.2.0 OnigSyntaxEmacs@Base 1.9.2.0 OnigSyntaxGnuRegex@Base 1.9.2.0 OnigSyntaxGrep@Base 1.9.2.0 OnigSyntaxJava@Base 1.9.2.0 OnigSyntaxPerl@Base 1.9.2.0 OnigSyntaxPerl_NG@Base 1.9.2.0 OnigSyntaxPosixBasic@Base 1.9.2.0 OnigSyntaxPosixExtended@Base 1.9.2.0 OnigSyntaxRuby@Base 1.9.2.0 dln_find_exe@Base 1.9.2.0 dln_find_exe_r@Base 1.9.2.0 dln_find_file@Base 1.9.2.0 dln_find_file_r@Base 1.9.2.0 dln_load@Base 1.9.2.0 nucomp_canonicalization@Base 1.9.2.0 nurat_canonicalization@Base 1.9.2.0 onig_bbuf_init@Base 1.9.2.0 onig_chain_link_add@Base 1.9.2.0 onig_chain_reduce@Base 1.9.2.0 onig_compile@Base 1.9.2.0 onig_copy_encoding@Base 1.9.2.0 onig_copy_syntax@Base 1.9.2.0 onig_end@Base 1.9.2.0 onig_error_code_to_format@Base 1.9.2.0 onig_error_code_to_str@Base 1.9.2.0 onig_foreach_name@Base 1.9.2.0 onig_free@Base 1.9.2.0 onig_free_body@Base 1.9.2.0 onig_free_node_list@Base 1.9.2.0 onig_free_shared_cclass_table@Base 1.9.2.0 onig_get_case_fold_flag@Base 1.9.2.0 onig_get_default_case_fold_flag@Base 1.9.2.0 onig_get_encoding@Base 1.9.2.0 onig_get_match_stack_limit_size@Base 1.9.2.0 onig_get_options@Base 1.9.2.0 onig_get_syntax@Base 1.9.2.0 onig_get_syntax_behavior@Base 1.9.2.0 onig_get_syntax_op2@Base 1.9.2.0 onig_get_syntax_op@Base 1.9.2.0 onig_get_syntax_options@Base 1.9.2.0 onig_init@Base 1.9.2.0 onig_is_code_in_cc@Base 1.9.2.0 onig_is_code_in_cc_len@Base 1.9.2.0 onig_is_in_code_range@Base 1.9.2.0 onig_match@Base 1.9.2.0 onig_memsize@Base 1.9.2.0 onig_name_to_backref_number@Base 1.9.2.0 onig_name_to_group_numbers@Base 1.9.2.0 onig_names_free@Base 1.9.2.0 onig_new@Base 1.9.2.0 onig_new_without_alloc@Base 1.9.2.0 onig_node_conv_to_str_node@Base 1.9.2.0 onig_node_free@Base 1.9.2.0 onig_node_list_add@Base 1.9.2.0 onig_node_new_alt@Base 1.9.2.0 onig_node_new_anchor@Base 1.9.2.0 onig_node_new_enclose@Base 1.9.2.0 onig_node_new_list@Base 1.9.2.0 onig_node_new_str@Base 1.9.2.0 onig_node_str_cat@Base 1.9.2.0 onig_node_str_clear@Base 1.9.2.0 onig_node_str_set@Base 1.9.2.0 onig_noname_group_capture_is_active@Base 1.9.2.0 onig_null_warn@Base 1.9.2.0 onig_number_of_capture_histories@Base 1.9.2.0 onig_number_of_captures@Base 1.9.2.0 onig_number_of_names@Base 1.9.2.0 onig_parse_make_tree@Base 1.9.2.0 onig_reduce_nested_quantifier@Base 1.9.2.0 onig_reg_init@Base 1.9.2.0 onig_region_clear@Base 1.9.2.0 onig_region_copy@Base 1.9.2.0 onig_region_free@Base 1.9.2.0 onig_region_init@Base 1.9.2.0 onig_region_new@Base 1.9.2.0 onig_region_resize@Base 1.9.2.0 onig_region_set@Base 1.9.2.0 onig_renumber_name_table@Base 1.9.2.0 onig_scan_env_set_error_string@Base 1.9.2.0 onig_scan_unsigned_number@Base 1.9.2.0 onig_search@Base 1.9.2.0 onig_set_default_case_fold_flag@Base 1.9.2.0 onig_set_default_syntax@Base 1.9.2.0 onig_set_match_stack_limit_size@Base 1.9.2.0 onig_set_meta_char@Base 1.9.2.0 onig_set_syntax_behavior@Base 1.9.2.0 onig_set_syntax_op2@Base 1.9.2.0 onig_set_syntax_op@Base 1.9.2.0 onig_set_syntax_options@Base 1.9.2.0 onig_set_verb_warn_func@Base 1.9.2.0 onig_set_warn_func@Base 1.9.2.0 onig_snprintf_with_pattern@Base 1.9.2.0 onig_st_init_strend_table_with_size@Base 1.9.2.0 onig_st_insert_strend@Base 1.9.2.0 onig_st_lookup_strend@Base 1.9.2.0 onig_strcpy@Base 1.9.2.0 onig_strncmp@Base 1.9.2.0 onig_transfer@Base 1.9.2.0 onigenc_always_false_is_allowed_reverse_match@Base 1.9.2.0 onigenc_always_true_is_allowed_reverse_match@Base 1.9.2.0 onigenc_apply_all_case_fold_with_map@Base 1.9.2.0 onigenc_ascii_apply_all_case_fold@Base 1.9.2.0 onigenc_ascii_get_case_fold_codes_by_str@Base 1.9.2.0 onigenc_ascii_is_code_ctype@Base 1.9.2.0 onigenc_ascii_mbc_case_fold@Base 1.9.2.0 onigenc_get_case_fold_codes_by_str_with_map@Base 1.9.2.0 onigenc_get_default_encoding@Base 1.9.2.0 onigenc_get_left_adjust_char_head@Base 1.9.2.0 onigenc_get_prev_char_head@Base 1.9.2.0 onigenc_get_right_adjust_char_head@Base 1.9.2.0 onigenc_get_right_adjust_char_head_with_prev@Base 1.9.2.0 onigenc_init@Base 1.9.2.0 onigenc_is_mbc_newline_0x0a@Base 1.9.2.0 onigenc_mb2_code_to_mbc@Base 1.9.2.0 onigenc_mb2_code_to_mbclen@Base 1.9.2.0 onigenc_mb2_is_code_ctype@Base 1.9.2.0 onigenc_mb4_code_to_mbc@Base 1.9.2.0 onigenc_mb4_code_to_mbclen@Base 1.9.2.0 onigenc_mb4_is_code_ctype@Base 1.9.2.0 onigenc_mbclen_approximate@Base 1.9.2.0 onigenc_mbn_mbc_case_fold@Base 1.9.2.0 onigenc_mbn_mbc_to_code@Base 1.9.2.0 onigenc_minimum_property_name_to_ctype@Base 1.9.2.0 onigenc_not_support_get_ctype_code_range@Base 1.9.2.0 onigenc_property_list_add_property@Base 1.9.2.0 onigenc_property_list_init@Base 1.9.2.0 onigenc_set_default_caseconv_table@Base 1.9.2.0 onigenc_set_default_encoding@Base 1.9.2.0 onigenc_single_byte_code_to_mbc@Base 1.9.2.0 onigenc_single_byte_code_to_mbclen@Base 1.9.2.0 onigenc_single_byte_left_adjust_char_head@Base 1.9.2.0 onigenc_single_byte_mbc_enc_len@Base 1.9.2.0 onigenc_single_byte_mbc_to_code@Base 1.9.2.0 onigenc_step@Base 1.9.2.0 onigenc_step_back@Base 1.9.2.0 onigenc_str_bytelen_null@Base 1.9.2.0 onigenc_strlen@Base 1.9.2.0 onigenc_strlen_null@Base 1.9.2.0 onigenc_unicode_apply_all_case_fold@Base 1.9.2.0 onigenc_unicode_ctype_code_range@Base 1.9.2.0 onigenc_unicode_get_case_fold_codes_by_str@Base 1.9.2.0 onigenc_unicode_is_code_ctype@Base 1.9.2.0 onigenc_unicode_mbc_case_fold@Base 1.9.2.0 onigenc_unicode_property_name_to_ctype@Base 1.9.2.0 onigenc_utf16_32_get_ctype_code_range@Base 1.9.2.0 onigenc_with_ascii_strncmp@Base 1.9.2.0 rb_Array@Base 1.9.2.0 rb_Complex@Base 1.9.2.0 rb_Float@Base 1.9.2.0 rb_Integer@Base 1.9.2.0 rb_Rational@Base 1.9.2.0 rb_String@Base 1.9.2.0 rb_add_event_hook@Base 1.9.2.0 rb_alias@Base 1.9.2.0 rb_alias_variable@Base 1.9.2.0 rb_alloc_tmp_buffer@Base 1.9.3~rc1 rb_any_to_s@Base 1.9.2.0 rb_apply@Base 1.9.2.0 rb_argv0@Base 1.9.2.0 rb_ary_aref@Base 1.9.2.0 rb_ary_assoc@Base 1.9.2.0 rb_ary_clear@Base 1.9.2.0 rb_ary_cmp@Base 1.9.2.0 rb_ary_concat@Base 1.9.2.0 rb_ary_delete@Base 1.9.2.0 rb_ary_delete_at@Base 1.9.2.0 rb_ary_dup@Base 1.9.2.0 rb_ary_each@Base 1.9.2.0 rb_ary_entry@Base 1.9.2.0 rb_ary_free@Base 1.9.2.0 rb_ary_freeze@Base 1.9.2.0 rb_ary_includes@Base 1.9.2.0 rb_ary_join@Base 1.9.2.0 rb_ary_memsize@Base 1.9.2.0 rb_ary_modify@Base 1.9.3~rc1 rb_ary_new2@Base 1.9.2.0 rb_ary_new3@Base 1.9.2.0 rb_ary_new4@Base 1.9.2.0 rb_ary_new@Base 1.9.2.0 rb_ary_plus@Base 1.9.2.0 rb_ary_pop@Base 1.9.2.0 rb_ary_push@Base 1.9.2.0 rb_ary_rassoc@Base 1.9.2.0 rb_ary_replace@Base 1.9.2.0 rb_ary_resize@Base 1.9.3~rc1 rb_ary_resurrect@Base 1.9.2.0 rb_ary_reverse@Base 1.9.2.0 rb_ary_shift@Base 1.9.2.0 rb_ary_sort@Base 1.9.2.0 rb_ary_sort_bang@Base 1.9.2.0 rb_ary_store@Base 1.9.2.0 rb_ary_subseq@Base 1.9.2.0 rb_ary_tmp_new@Base 1.9.2.0 rb_ary_to_ary@Base 1.9.2.0 rb_ary_to_s@Base 1.9.2.0 rb_ary_unshift@Base 1.9.2.0 rb_ascii8bit_encindex@Base 1.9.2.0 rb_ascii8bit_encoding@Base 1.9.2.0 rb_assoc_new@Base 1.9.2.0 rb_attr@Base 1.9.2.0 rb_attr_get@Base 1.9.2.0 rb_autoload@Base 1.9.2.0 rb_autoload_load@Base 1.9.2.0 rb_autoload_p@Base 1.9.2.0 rb_backref_get@Base 1.9.2.0 rb_backref_set@Base 1.9.2.0 rb_backtrace@Base 1.9.2.0 rb_barrier_destroy@Base 1.9.2.0 rb_barrier_new@Base 1.9.2.0 rb_barrier_release@Base 1.9.2.0 rb_barrier_wait@Base 1.9.2.0 rb_big2dbl@Base 1.9.2.0 rb_big2ll@Base 1.9.2.0 rb_big2long@Base 1.9.2.0 rb_big2str0@Base 1.9.2.0 rb_big2str@Base 1.9.2.0 rb_big2ull@Base 1.9.2.0 rb_big2ulong@Base 1.9.2.0 rb_big2ulong_pack@Base 1.9.2.0 rb_big_2comp@Base 1.9.2.0 rb_big_and@Base 1.9.2.0 rb_big_clone@Base 1.9.2.0 rb_big_cmp@Base 1.9.2.0 rb_big_div@Base 1.9.2.0 rb_big_divmod@Base 1.9.2.0 rb_big_eq@Base 1.9.2.0 rb_big_eql@Base 1.9.3.362 rb_big_idiv@Base 1.9.2.0 rb_big_lshift@Base 1.9.2.0 rb_big_minus@Base 1.9.2.0 rb_big_modulo@Base 1.9.2.0 rb_big_mul@Base 1.9.2.0 rb_big_new@Base 1.9.2.0 rb_big_norm@Base 1.9.2.0 rb_big_or@Base 1.9.2.0 rb_big_pack@Base 1.9.2.0 rb_big_plus@Base 1.9.2.0 rb_big_pow@Base 1.9.2.0 rb_big_resize@Base 1.9.2.0 rb_big_rshift@Base 1.9.2.0 rb_big_unpack@Base 1.9.2.0 rb_big_xor@Base 1.9.2.0 rb_bigzero_p@Base 1.9.2.0 rb_binding_new@Base 1.9.2.0 rb_block_call@Base 1.9.2.0 rb_block_given_p@Base 1.9.2.0 rb_block_lambda@Base 1.9.3.448 rb_block_proc@Base 1.9.2.0 rb_bug@Base 1.9.2.0 rb_bug_errno@Base 1.9.2.0 rb_cArray@Base 1.9.2.0 rb_cBasicObject@Base 1.9.2.0 rb_cBignum@Base 1.9.2.0 rb_cBinding@Base 1.9.2.0 rb_cClass@Base 1.9.2.0 rb_cComplex@Base 1.9.2.0 rb_cData@Base 1.9.2.0 rb_cDir@Base 1.9.2.0 rb_cEncoding@Base 1.9.2.0 rb_cEnumerator@Base 1.9.2.0 rb_cEnv@Base 1.9.2.0 rb_cFalseClass@Base 1.9.2.0 rb_cFile@Base 1.9.2.0 rb_cFixnum@Base 1.9.2.0 rb_cFloat@Base 1.9.2.0 rb_cHash@Base 1.9.2.0 rb_cIO@Base 1.9.2.0 rb_cISeq@Base 1.9.2.0 rb_cInteger@Base 1.9.2.0 rb_cMatch@Base 1.9.2.0 rb_cMethod@Base 1.9.2.0 rb_cModule@Base 1.9.2.0 rb_cNameErrorMesg@Base 1.9.2.0 rb_cNilClass@Base 1.9.2.0 rb_cNumeric@Base 1.9.2.0 rb_cObject@Base 1.9.2.0 rb_cProc@Base 1.9.2.0 rb_cRandom@Base 1.9.2.0 rb_cRange@Base 1.9.2.0 rb_cRational@Base 1.9.2.0 rb_cRegexp@Base 1.9.2.0 rb_cRubyVM@Base 1.9.2.0 rb_cStat@Base 1.9.2.0 rb_cString@Base 1.9.2.0 rb_cStruct@Base 1.9.2.0 rb_cSymbol@Base 1.9.2.0 rb_cThread@Base 1.9.2.0 rb_cTime@Base 1.9.2.0 rb_cTrueClass@Base 1.9.2.0 rb_cUnboundMethod@Base 1.9.2.0 rb_call_super@Base 1.9.2.0 rb_catch@Base 1.9.2.0 rb_catch_obj@Base 1.9.2.0 rb_char_to_option_kcode@Base 1.9.2.0 rb_check_array_type@Base 1.9.2.0 rb_check_convert_type@Base 1.9.2.0 rb_check_frozen@Base 1.9.2.0 rb_check_funcall@Base 1.9.2.0 rb_check_hash_type@Base 1.9.3~rc1 rb_check_inheritable@Base 1.9.2.0 rb_check_safe_obj@Base 1.9.2.0 rb_check_safe_str@Base 1.9.2.0 rb_check_string_type@Base 1.9.2.0 rb_check_to_float@Base 1.9.2.0 rb_check_to_integer@Base 1.9.2.0 rb_check_type@Base 1.9.2.0 rb_check_typeddata@Base 1.9.2.0 rb_class2name@Base 1.9.2.0 rb_class_boot@Base 1.9.2.0 rb_class_get_superclass@Base 1.9.3~rc1 rb_class_inherited@Base 1.9.2.0 rb_class_inherited_p@Base 1.9.2.0 rb_class_instance_methods@Base 1.9.2.0 rb_class_name@Base 1.9.2.0 rb_class_new@Base 1.9.2.0 rb_class_new_instance@Base 1.9.2.0 rb_class_path@Base 1.9.2.0 rb_class_private_instance_methods@Base 1.9.2.0 rb_class_protected_instance_methods@Base 1.9.2.0 rb_class_public_instance_methods@Base 1.9.2.0 rb_class_real@Base 1.9.2.0 rb_class_superclass@Base 1.9.3~rc1 rb_clear_cache@Base 1.9.2.0 rb_clear_cache_by_class@Base 1.9.2.0 rb_close_before_exec@Base 1.9.2.0 rb_cmperr@Base 1.9.2.0 rb_cmpint@Base 1.9.2.0 rb_compile_cstr@Base 1.9.2.0 rb_compile_error@Base 1.9.2.0 rb_compile_error_append@Base 1.9.2.0 rb_compile_error_with_enc@Base 1.9.3~rc1 rb_compile_file@Base 1.9.2.0 rb_compile_string@Base 1.9.2.0 rb_compile_warn@Base 1.9.2.0 rb_compile_warning@Base 1.9.2.0 rb_complex_new@Base 1.9.2.0 rb_complex_polar@Base 1.9.2.0 rb_complex_raw@Base 1.9.2.0 rb_const_defined@Base 1.9.2.0 rb_const_defined_at@Base 1.9.2.0 rb_const_defined_from@Base 1.9.2.0 rb_const_get@Base 1.9.2.0 rb_const_get_at@Base 1.9.2.0 rb_const_get_from@Base 1.9.2.0 rb_const_list@Base 1.9.2.0 rb_const_remove@Base 1.9.2.0 rb_const_set@Base 1.9.2.0 rb_convert_type@Base 1.9.2.0 rb_copy_generic_ivar@Base 1.9.2.0 rb_cstr2inum@Base 1.9.2.0 rb_cstr_to_dbl@Base 1.9.2.0 rb_cstr_to_inum@Base 1.9.2.0 rb_cv_get@Base 1.9.2.0 rb_cv_set@Base 1.9.2.0 rb_cvar_defined@Base 1.9.2.0 rb_cvar_get@Base 1.9.2.0 rb_cvar_set@Base 1.9.2.0 rb_data_object_alloc@Base 1.9.2.0 rb_data_typed_object_alloc@Base 1.9.2.0 rb_dbl2big@Base 1.9.2.0 rb_dbl_cmp@Base 1.9.2.0 rb_declare_transcoder@Base 1.9.2.0 rb_default_external_encoding@Base 1.9.2.0 rb_default_internal_encoding@Base 1.9.2.0 rb_default_rs@Base 1.9.2.0 rb_define_alias@Base 1.9.2.0 rb_define_alloc_func@Base 1.9.2.0 rb_define_attr@Base 1.9.2.0 rb_define_class@Base 1.9.2.0 rb_define_class_id@Base 1.9.2.0 rb_define_class_id_under@Base 1.9.2.0 rb_define_class_under@Base 1.9.2.0 rb_define_class_variable@Base 1.9.2.0 rb_define_const@Base 1.9.2.0 rb_define_dummy_encoding@Base 1.9.2.0 rb_define_global_const@Base 1.9.2.0 rb_define_global_function@Base 1.9.2.0 rb_define_hooked_variable@Base 1.9.2.0 rb_define_method@Base 1.9.2.0 rb_define_method_id@Base 1.9.2.0 rb_define_module@Base 1.9.2.0 rb_define_module_function@Base 1.9.2.0 rb_define_module_id@Base 1.9.2.0 rb_define_module_id_under@Base 1.9.2.0 rb_define_module_under@Base 1.9.2.0 rb_define_private_method@Base 1.9.2.0 rb_define_protected_method@Base 1.9.2.0 rb_define_readonly_variable@Base 1.9.2.0 rb_define_singleton_method@Base 1.9.2.0 rb_define_variable@Base 1.9.2.0 rb_define_virtual_variable@Base 1.9.2.0 rb_detach_process@Base 1.9.2.0 rb_dir_getwd@Base 1.9.2.0 rb_disable_interrupt@Base 1.9.2.0 rb_during_gc@Base 1.9.2.0 rb_eArgError@Base 1.9.2.0 rb_eEOFError@Base 1.9.2.0 rb_eEncCompatError@Base 1.9.2.0 rb_eEncodingError@Base 1.9.2.0 rb_eException@Base 1.9.2.0 rb_eFatal@Base 1.9.2.0 rb_eFloatDomainError@Base 1.9.2.0 rb_eIOError@Base 1.9.2.0 rb_eIndexError@Base 1.9.2.0 rb_eInterrupt@Base 1.9.2.0 rb_eKeyError@Base 1.9.2.0 rb_eLoadError@Base 1.9.2.0 rb_eLocalJumpError@Base 1.9.2.0 rb_eMathDomainError@Base 1.9.2.0 rb_eNameError@Base 1.9.2.0 rb_eNoMemError@Base 1.9.2.0 rb_eNoMethodError@Base 1.9.2.0 rb_eNotImpError@Base 1.9.2.0 rb_eRangeError@Base 1.9.2.0 rb_eRegexpError@Base 1.9.2.0 rb_eRuntimeError@Base 1.9.2.0 rb_eScriptError@Base 1.9.2.0 rb_eSecurityError@Base 1.9.2.0 rb_eSignal@Base 1.9.2.0 rb_eStandardError@Base 1.9.2.0 rb_eStopIteration@Base 1.9.2.0 rb_eSyntaxError@Base 1.9.2.0 rb_eSysStackError@Base 1.9.2.0 rb_eSystemCallError@Base 1.9.2.0 rb_eSystemExit@Base 1.9.2.0 rb_eThreadError@Base 1.9.2.0 rb_eTypeError@Base 1.9.2.0 rb_eZeroDivError@Base 1.9.2.0 rb_each@Base 1.9.2.0 rb_econv_asciicompat_encoding@Base 1.9.2.0 rb_econv_binmode@Base 1.9.2.0 rb_econv_check_error@Base 1.9.2.0 rb_econv_close@Base 1.9.2.0 rb_econv_convert@Base 1.9.2.0 rb_econv_decorate_at_first@Base 1.9.2.0 rb_econv_decorate_at_last@Base 1.9.2.0 rb_econv_encoding_to_insert_output@Base 1.9.2.0 rb_econv_has_convpath_p@Base 1.9.2.0 rb_econv_insert_output@Base 1.9.2.0 rb_econv_make_exception@Base 1.9.2.0 rb_econv_open@Base 1.9.2.0 rb_econv_open_exc@Base 1.9.2.0 rb_econv_open_opts@Base 1.9.2.0 rb_econv_prepare_options@Base 1.9.3~rc1 rb_econv_prepare_opts@Base 1.9.2.0 rb_econv_putback@Base 1.9.2.0 rb_econv_putbackable@Base 1.9.2.0 rb_econv_set_replacement@Base 1.9.2.0 rb_econv_str_append@Base 1.9.2.0 rb_econv_str_convert@Base 1.9.2.0 rb_econv_substr_append@Base 1.9.2.0 rb_econv_substr_convert@Base 1.9.2.0 rb_enable_interrupt@Base 1.9.2.0 rb_enc_ascget@Base 1.9.2.0 rb_enc_associate@Base 1.9.2.0 rb_enc_associate_index@Base 1.9.2.0 rb_enc_check@Base 1.9.2.0 rb_enc_codelen@Base 1.9.2.0 rb_enc_codepoint@Base 1.9.2.0 rb_enc_codepoint_len@Base 1.9.2.0 rb_enc_compatible@Base 1.9.2.0 rb_enc_copy@Base 1.9.2.0 rb_enc_default_external@Base 1.9.2.0 rb_enc_default_internal@Base 1.9.2.0 rb_enc_fast_mbclen@Base 1.9.2.0 rb_enc_find@Base 1.9.2.0 rb_enc_find_index@Base 1.9.2.0 rb_enc_from_encoding@Base 1.9.2.0 rb_enc_from_index@Base 1.9.2.0 rb_enc_get@Base 1.9.2.0 rb_enc_get_index@Base 1.9.2.0 rb_enc_mbclen@Base 1.9.2.0 rb_enc_nth@Base 1.9.2.0 rb_enc_path_end@Base 1.9.3.327 rb_enc_path_last_separator@Base 1.9.3.327 rb_enc_path_next@Base 1.9.3.327 rb_enc_path_skip_prefix@Base 1.9.3.327 rb_enc_precise_mbclen@Base 1.9.2.0 rb_enc_reg_new@Base 1.9.2.0 rb_enc_register@Base 1.9.2.0 rb_enc_replicate@Base 1.9.2.0 rb_enc_set_base@Base 1.9.2.0 rb_enc_set_default_external@Base 1.9.2.0 rb_enc_set_default_internal@Base 1.9.2.0 rb_enc_set_index@Base 1.9.2.0 rb_enc_sprintf@Base 1.9.2.0 rb_enc_str_asciionly_p@Base 1.9.2.0 rb_enc_str_buf_cat@Base 1.9.2.0 rb_enc_str_coderange@Base 1.9.2.0 rb_enc_str_new@Base 1.9.2.0 rb_enc_strlen@Base 1.9.2.0 rb_enc_symname2_p@Base 1.9.2.0 rb_enc_symname_p@Base 1.9.2.0 rb_enc_tolower@Base 1.9.2.0 rb_enc_toupper@Base 1.9.2.0 rb_enc_uint_chr@Base 1.9.2.290 rb_enc_unicode_p@Base 1.9.2.0 rb_enc_vsprintf@Base 1.9.2.0 rb_encdb_alias@Base 1.9.2.0 rb_encdb_declare@Base 1.9.2.0 rb_encdb_dummy@Base 1.9.2.0 rb_encdb_replicate@Base 1.9.2.0 rb_ensure@Base 1.9.2.0 rb_enumeratorize@Base 1.9.2.0 rb_env_clear@Base 1.9.2.0 rb_env_path_tainted@Base 1.9.2.0 rb_eof_error@Base 1.9.2.0 rb_eql@Base 1.9.2.0 rb_equal@Base 1.9.2.0 rb_errinfo@Base 1.9.2.0 rb_error_frozen@Base 1.9.2.0 rb_eval_cmd@Base 1.9.2.0 rb_eval_string@Base 1.9.2.0 rb_eval_string_protect@Base 1.9.2.0 rb_eval_string_wrap@Base 1.9.2.0 rb_exc_fatal@Base 1.9.2.0 rb_exc_new2@Base 1.9.2.0 rb_exc_new3@Base 1.9.2.0 rb_exc_new@Base 1.9.2.0 rb_exc_raise@Base 1.9.2.0 rb_exec@Base 1.9.2.0 rb_exec_arg_addopt@Base 1.9.2.0 rb_exec_arg_fixup@Base 1.9.2.0 rb_exec_arg_init@Base 1.9.2.0 rb_exec_end_proc@Base 1.9.2.0 rb_exec_err@Base 1.9.2.0 rb_exec_recursive@Base 1.9.2.0 rb_exec_recursive_outer@Base 1.9.2.0 rb_exec_recursive_paired@Base 1.9.2.0 rb_exit@Base 1.9.2.0 rb_extend_object@Base 1.9.2.0 rb_external_str_new@Base 1.9.2.0 rb_external_str_new_cstr@Base 1.9.2.0 rb_external_str_new_with_enc@Base 1.9.2.0 rb_f_abort@Base 1.9.2.0 rb_f_exec@Base 1.9.2.0 rb_f_exit@Base 1.9.2.0 rb_f_global_variables@Base 1.9.2.0 rb_f_kill@Base 1.9.2.0 rb_f_lambda@Base 1.9.2.0 rb_f_notimplement@Base 1.9.2.0 rb_f_require@Base 1.9.2.0 rb_f_sprintf@Base 1.9.2.0 rb_f_trace_var@Base 1.9.2.0 rb_f_untrace_var@Base 1.9.2.0 rb_fatal@Base 1.9.2.0 rb_fd_clr@Base 1.9.2.0 rb_fd_copy@Base 1.9.2.0 rb_fd_dup@Base 1.9.3~rc1 rb_fd_init@Base 1.9.2.0 rb_fd_isset@Base 1.9.2.0 rb_fd_select@Base 1.9.2.0 rb_fd_set@Base 1.9.2.0 rb_fd_term@Base 1.9.2.0 rb_fd_zero@Base 1.9.2.0 rb_fdopen@Base 1.9.2.0 rb_feature_provided@Base 1.9.2.0 rb_fiber_alive_p@Base 1.9.2.0 rb_fiber_current@Base 1.9.2.0 rb_fiber_new@Base 1.9.2.0 rb_fiber_resume@Base 1.9.2.0 rb_fiber_yield@Base 1.9.2.0 rb_file_absolute_path@Base 1.9.2.0 rb_file_const@Base 1.9.2.0 rb_file_directory_p@Base 1.9.2.0 rb_file_dirname@Base 1.9.2.0 rb_file_expand_path@Base 1.9.2.0 rb_file_load_ok@Base 1.9.2.0 rb_file_open@Base 1.9.2.0 rb_file_open_str@Base 1.9.2.0 rb_file_s_absolute_path@Base 1.9.2.0 rb_file_s_expand_path@Base 1.9.2.0 rb_filesystem_encindex@Base 1.9.2.0 rb_filesystem_encoding@Base 1.9.2.0 rb_filesystem_str_new@Base 1.9.2.0 rb_filesystem_str_new_cstr@Base 1.9.2.0 rb_find_file@Base 1.9.2.0 rb_find_file_ext@Base 1.9.2.0 rb_find_file_ext_safe@Base 1.9.2.0 rb_find_file_safe@Base 1.9.2.0 (arch=amd64)rb_fix2int@Base 1.9.2.0 rb_fix2str@Base 1.9.2.0 (arch=amd64)rb_fix2uint@Base 1.9.2.0 rb_float_new@Base 1.9.2.0 rb_fork@Base 1.9.2.0 rb_fork_err@Base 1.9.2.0 rb_frame_callee@Base 1.9.2.0 rb_frame_method_id_and_class@Base 1.9.2.0 rb_frame_pop@Base 1.9.2.0 rb_frame_this_func@Base 1.9.2.0 rb_free_generic_ivar@Base 1.9.2.0 rb_free_tmp_buffer@Base 1.9.3~rc1 rb_frozen_class_p@Base 1.9.2.0 rb_fs@Base 1.9.2.0 rb_funcall2@Base 1.9.2.0 rb_funcall3@Base 1.9.2.0 rb_funcall@Base 1.9.2.0 rb_funcall_passing_block@Base 1.9.2.290 rb_funcall_with_block@Base 1.9.3.448 rb_gc@Base 1.9.2.0 rb_gc_call_finalizer_at_exit@Base 1.9.2.0 rb_gc_copy_finalizer@Base 1.9.2.0 rb_gc_disable@Base 1.9.2.0 rb_gc_enable@Base 1.9.2.0 rb_gc_finalize_deferred@Base 1.9.2.0 rb_gc_force_recycle@Base 1.9.2.0 rb_gc_mark@Base 1.9.2.0 rb_gc_mark_global_tbl@Base 1.9.2.0 rb_gc_mark_locations@Base 1.9.2.0 rb_gc_mark_maybe@Base 1.9.2.0 rb_gc_mark_parser@Base 1.9.2.0 rb_gc_mark_symbols@Base 1.9.2.0 rb_gc_mark_threads@Base 1.9.2.0 rb_gc_register_address@Base 1.9.2.0 rb_gc_register_mark_object@Base 1.9.2.0 rb_gc_set_params@Base 1.9.3~rc1 rb_gc_start@Base 1.9.2.0 rb_gc_unregister_address@Base 1.9.2.0 rb_generic_ivar_memsize@Base 1.9.2.0 rb_generic_ivar_table@Base 1.9.2.0 rb_genrand_int32@Base 1.9.2.0 rb_genrand_real@Base 1.9.2.0 rb_genrand_ulong_limited@Base 1.9.3~rc1 rb_get_alloc_func@Base 1.9.2.0 rb_get_argv@Base 1.9.2.0 rb_get_coverages@Base 1.9.2.0 rb_get_path@Base 1.9.2.0 rb_get_path_no_checksafe@Base 1.9.2.0 rb_get_values_at@Base 1.9.2.0 rb_gets@Base 1.9.2.0 rb_glob@Base 1.9.2.0 rb_global_entry@Base 1.9.2.0 rb_global_variable@Base 1.9.2.0 rb_gv_get@Base 1.9.2.0 rb_gv_set@Base 1.9.2.0 rb_gvar_defined@Base 1.9.2.0 rb_gvar_get@Base 1.9.2.0 rb_gvar_readonly_setter@Base 1.9.2.0 rb_gvar_set@Base 1.9.2.0 rb_gvar_undef_getter@Base 1.9.2.0 rb_gvar_undef_marker@Base 1.9.2.0 rb_gvar_undef_setter@Base 1.9.2.0 rb_gvar_val_getter@Base 1.9.2.0 rb_gvar_val_marker@Base 1.9.2.0 rb_gvar_val_setter@Base 1.9.2.0 rb_gvar_var_getter@Base 1.9.2.0 rb_gvar_var_marker@Base 1.9.2.0 rb_gvar_var_setter@Base 1.9.2.0 rb_hash@Base 1.9.2.0 rb_hash_aref@Base 1.9.2.0 rb_hash_aset@Base 1.9.2.0 rb_hash_delete@Base 1.9.2.0 rb_hash_delete_if@Base 1.9.2.0 rb_hash_dup@Base 1.9.2.0 rb_hash_fetch@Base 1.9.2.0 rb_hash_foreach@Base 1.9.2.0 rb_hash_freeze@Base 1.9.2.0 rb_hash_lookup2@Base 1.9.2.0 rb_hash_lookup@Base 1.9.2.0 rb_hash_new@Base 1.9.2.0 rb_hash_start@Base 1.9.2.0 rb_hash_tbl@Base 1.9.2.0 rb_hash_update_by@Base 1.9.3~rc1 rb_id2name@Base 1.9.2.0 rb_id2str@Base 1.9.2.0 rb_id_attrset@Base 1.9.2.0 rb_include_module@Base 1.9.2.0 rb_infinity@Base 1.9.2.0 rb_insecure_operation@Base 1.9.2.0 rb_inspect@Base 1.9.2.0 rb_int2big@Base 1.9.2.0 rb_int2inum@Base 1.9.2.0 rb_intern2@Base 1.9.2.0 rb_intern3@Base 1.9.2.0 rb_intern@Base 1.9.2.0 rb_intern_str@Base 1.9.2.0 rb_interrupt@Base 1.9.2.0 rb_invalid_str@Base 1.9.2.0 rb_io_addstr@Base 1.9.2.0 rb_io_ascii8bit_binmode@Base 1.9.2.0 rb_io_binmode@Base 1.9.2.0 rb_io_bufwrite@Base 1.9.3~rc1 rb_io_check_byte_readable@Base 1.9.2.0 rb_io_check_char_readable@Base 1.9.2.0 rb_io_check_closed@Base 1.9.2.0 rb_io_check_initialized@Base 1.9.2.0 rb_io_check_readable@Base 1.9.2.0 rb_io_check_writable@Base 1.9.2.0 rb_io_close@Base 1.9.2.0 rb_io_eof@Base 1.9.2.0 rb_io_extract_encoding_option@Base 1.9.2.0 rb_io_fdopen@Base 1.9.2.0 rb_io_flush@Base 1.9.2.0 rb_io_fptr_finalize@Base 1.9.2.0 rb_io_get_io@Base 1.9.2.0 rb_io_get_write_io@Base 1.9.2.0 rb_io_getbyte@Base 1.9.2.0 rb_io_gets@Base 1.9.2.0 rb_io_memsize@Base 1.9.2.0 rb_io_modestr_fmode@Base 1.9.2.0 rb_io_modestr_oflags@Base 1.9.2.0 rb_io_oflags_fmode@Base 1.9.2.0 rb_io_print@Base 1.9.2.0 rb_io_printf@Base 1.9.2.0 rb_io_puts@Base 1.9.2.0 rb_io_read_check@Base 1.9.2.0 rb_io_read_pending@Base 1.9.2.0 rb_io_set_nonblock@Base 1.9.2.0 rb_io_set_write_io@Base 1.9.3~rc1 rb_io_stdio_file@Base 1.9.2.0 rb_io_synchronized@Base 1.9.2.0 rb_io_taint_check@Base 1.9.2.0 rb_io_ungetbyte@Base 1.9.2.0 rb_io_ungetc@Base 1.9.2.0 rb_io_wait_readable@Base 1.9.2.0 rb_io_wait_writable@Base 1.9.2.0 rb_io_write@Base 1.9.2.0 rb_is_absolute_path@Base 1.9.2.0 rb_is_class_id@Base 1.9.2.0 rb_is_const_id@Base 1.9.2.0 rb_is_instance_id@Base 1.9.2.0 rb_is_junk_id@Base 1.9.2.0 rb_is_local_id@Base 1.9.2.0 rb_isalnum@Base 1.9.2.0 rb_isalpha@Base 1.9.2.0 rb_isblank@Base 1.9.2.0 rb_iscntrl@Base 1.9.2.0 rb_isdigit@Base 1.9.2.0 rb_iseq_build_from_ary@Base 1.9.2.0 rb_iseq_compile@Base 1.9.2.0 rb_iseq_compile_node@Base 1.9.2.0 rb_iseq_compile_with_option@Base 1.9.2.0 rb_iseq_disasm@Base 1.9.2.0 rb_iseq_disasm_insn@Base 1.9.2.0 rb_iseq_eval@Base 1.9.2.0 rb_iseq_eval_main@Base 1.9.2.0 rb_iseq_first_lineno@Base 1.9.2.0 rb_iseq_load@Base 1.9.2.0 rb_iseq_new@Base 1.9.2.0 rb_iseq_new_main@Base 1.9.2.0 rb_iseq_new_top@Base 1.9.2.0 rb_iseq_new_with_bopt@Base 1.9.2.0 rb_iseq_new_with_opt@Base 1.9.2.0 rb_iseq_parameters@Base 1.9.2.0 rb_iseq_translate_threaded_code@Base 1.9.2.0 rb_isgraph@Base 1.9.2.0 rb_islower@Base 1.9.2.0 rb_isprint@Base 1.9.2.0 rb_ispunct@Base 1.9.2.0 rb_isspace@Base 1.9.2.0 rb_isupper@Base 1.9.2.0 rb_isxdigit@Base 1.9.2.0 rb_iter_break@Base 1.9.2.0 rb_iterate@Base 1.9.2.0 rb_iv_get@Base 1.9.2.0 rb_iv_set@Base 1.9.2.0 rb_ivar_count@Base 1.9.2.0 rb_ivar_defined@Base 1.9.2.0 rb_ivar_foreach@Base 1.9.2.0 rb_ivar_get@Base 1.9.2.0 rb_ivar_set@Base 1.9.2.0 rb_jump_tag@Base 1.9.2.0 rb_last_status_get@Base 1.9.2.0 rb_last_status_set@Base 1.9.2.0 rb_lastline_get@Base 1.9.2.0 rb_lastline_set@Base 1.9.2.0 rb_ll2inum@Base 1.9.2.0 rb_load@Base 1.9.2.0 rb_load_fail@Base 1.9.2.0 rb_load_file@Base 1.9.2.0 rb_load_protect@Base 1.9.2.0 rb_loaderror@Base 1.9.2.0 rb_locale_charmap@Base 1.9.2.0 rb_locale_encindex@Base 1.9.2.0 rb_locale_encoding@Base 1.9.2.0 rb_locale_str_new@Base 1.9.2.0 rb_locale_str_new_cstr@Base 1.9.2.0 rb_mComparable@Base 1.9.2.0 rb_mEnumerable@Base 1.9.2.0 rb_mErrno@Base 1.9.2.0 rb_mFileTest@Base 1.9.2.0 rb_mGC@Base 1.9.2.0 rb_mKernel@Base 1.9.2.0 rb_mMath@Base 1.9.2.0 rb_mProcess@Base 1.9.2.0 rb_mRubyVMFrozenCore@Base 1.9.2.0 rb_mWaitReadable@Base 1.9.2.0 rb_mWaitWritable@Base 1.9.2.0 rb_make_backtrace@Base 1.9.2.0 rb_make_exception@Base 1.9.2.0 rb_make_metaclass@Base 1.9.2.0 rb_mark_end_proc@Base 1.9.2.0 rb_mark_generic_ivar@Base 1.9.2.0 rb_mark_generic_ivar_tbl@Base 1.9.2.0 rb_mark_hash@Base 1.9.2.0 rb_mark_set@Base 1.9.2.0 rb_mark_tbl@Base 1.9.2.0 rb_marshal_define_compat@Base 1.9.2.0 rb_marshal_dump@Base 1.9.2.0 rb_marshal_load@Base 1.9.2.0 rb_match_busy@Base 1.9.2.0 rb_mem_clear@Base 1.9.2.0 rb_memcicmp@Base 1.9.2.0 rb_memerror@Base 1.9.2.0 rb_memhash@Base 1.9.2.0 rb_memsearch@Base 1.9.2.0 rb_method_basic_definition_p@Base 1.9.2.0 rb_method_boundp@Base 1.9.2.0 rb_method_call@Base 1.9.2.0 rb_method_call_with_block@Base 1.9.3.448 rb_method_get_iseq@Base 1.9.2.0 rb_mod_ancestors@Base 1.9.2.0 rb_mod_class_variables@Base 1.9.2.0 rb_mod_const_at@Base 1.9.2.0 rb_mod_const_missing@Base 1.9.2.0 rb_mod_const_of@Base 1.9.2.0 rb_mod_constants@Base 1.9.2.0 rb_mod_include_p@Base 1.9.2.0 rb_mod_included_modules@Base 1.9.2.0 rb_mod_init_copy@Base 1.9.2.0 rb_mod_method_arity@Base 1.9.2.0 rb_mod_module_eval@Base 1.9.2.0 rb_mod_module_exec@Base 1.9.2.0 rb_mod_name@Base 1.9.2.0 rb_mod_remove_const@Base 1.9.2.0 rb_mod_remove_cvar@Base 1.9.2.0 rb_mod_sys_fail@Base 1.9.2.0 rb_mod_sys_fail_str@Base 1.9.3.194 rb_mod_syserr_fail@Base 1.9.3~rc1 rb_mod_syserr_fail_str@Base 1.9.3.194 rb_module_new@Base 1.9.2.0 rb_mutex_lock@Base 1.9.2.0 rb_mutex_locked_p@Base 1.9.2.0 rb_mutex_new@Base 1.9.2.0 rb_mutex_sleep@Base 1.9.2.0 rb_mutex_synchronize@Base 1.9.2.0 rb_mutex_trylock@Base 1.9.2.0 rb_mutex_unlock@Base 1.9.2.0 rb_name_class@Base 1.9.2.0 rb_name_error@Base 1.9.2.0 rb_nan@Base 1.9.2.0 rb_need_block@Base 1.9.2.0 rb_newobj@Base 1.9.2.0 rb_node_newnode@Base 1.9.2.0 rb_notimplement@Base 1.9.2.0 rb_num2dbl@Base 1.9.2.0 rb_num2fix@Base 1.9.2.0 (arch=amd64)rb_num2int@Base 1.9.2.0 rb_num2ll@Base 1.9.2.0 rb_num2long@Base 1.9.2.0 (arch=amd64)rb_num2uint@Base 1.9.2.0 rb_num2ull@Base 1.9.2.0 rb_num2ulong@Base 1.9.2.0 rb_num_coerce_bin@Base 1.9.2.0 rb_num_coerce_cmp@Base 1.9.2.0 rb_num_coerce_relop@Base 1.9.2.0 rb_num_zerodiv@Base 1.9.2.0 rb_obj_alloc@Base 1.9.2.0 rb_obj_as_string@Base 1.9.2.0 rb_obj_call_init@Base 1.9.2.0 rb_obj_class@Base 1.9.2.0 rb_obj_classname@Base 1.9.2.0 rb_obj_clone@Base 1.9.2.0 rb_obj_dup@Base 1.9.2.0 rb_obj_encoding@Base 1.9.2.0 rb_obj_freeze@Base 1.9.2.0 rb_obj_frozen_p@Base 1.9.2.0 rb_obj_id@Base 1.9.2.0 rb_obj_infect@Base 1.9.2.0 rb_obj_init_copy@Base 1.9.2.0 rb_obj_instance_eval@Base 1.9.2.0 rb_obj_instance_exec@Base 1.9.2.0 rb_obj_instance_variables@Base 1.9.2.0 rb_obj_is_instance_of@Base 1.9.2.0 rb_obj_is_kind_of@Base 1.9.2.0 rb_obj_is_method@Base 1.9.3~rc1 rb_obj_is_proc@Base 1.9.2.0 rb_obj_method@Base 1.9.2.0 rb_obj_method_arity@Base 1.9.2.0 rb_obj_remove_instance_variable@Base 1.9.2.0 rb_obj_respond_to@Base 1.9.2.0 rb_obj_singleton_methods@Base 1.9.2.0 rb_obj_taint@Base 1.9.2.0 rb_obj_tainted@Base 1.9.2.0 rb_obj_trust@Base 1.9.2.0 rb_obj_untaint@Base 1.9.2.0 rb_obj_untrust@Base 1.9.2.0 rb_obj_untrusted@Base 1.9.2.0 rb_objspace_data_type_memsize@Base 1.9.2.0 rb_objspace_data_type_name@Base 1.9.2.0 rb_objspace_each_objects@Base 1.9.2.0 (arch=amd64)rb_out_of_int@Base 1.9.2.0 rb_output_fs@Base 1.9.2.0 rb_output_rs@Base 1.9.2.0 rb_p@Base 1.9.2.0 rb_parser_append_print@Base 1.9.2.0 rb_parser_calloc@Base 1.9.2.0 rb_parser_compile_cstr@Base 1.9.2.0 rb_parser_compile_file@Base 1.9.2.0 rb_parser_compile_string@Base 1.9.2.0 rb_parser_dump_tree@Base 1.9.2.0 rb_parser_encoding@Base 1.9.2.0 rb_parser_end_seen_p@Base 1.9.2.0 rb_parser_free@Base 1.9.2.0 rb_parser_get_yydebug@Base 1.9.2.0 rb_parser_malloc@Base 1.9.2.0 rb_parser_new@Base 1.9.2.0 rb_parser_realloc@Base 1.9.2.0 rb_parser_set_yydebug@Base 1.9.2.0 rb_parser_while_loop@Base 1.9.2.0 rb_path2class@Base 1.9.2.0 rb_path_check@Base 1.9.2.0 rb_path_to_class@Base 1.9.2.0 rb_pipe@Base 1.9.2.0 rb_proc_arity@Base 1.9.2.0 rb_proc_call@Base 1.9.2.0 rb_proc_call_with_block@Base 1.9.2.0 rb_proc_exec@Base 1.9.2.0 rb_proc_exec_n@Base 1.9.2.0 rb_proc_get_iseq@Base 1.9.2.0 rb_proc_lambda_p@Base 1.9.2.0 rb_proc_new@Base 1.9.2.0 rb_proc_times@Base 1.9.2.0 rb_protect@Base 1.9.2.0 rb_provide@Base 1.9.2.0 rb_provided@Base 1.9.2.0 rb_quad_pack@Base 1.9.2.0 rb_quad_unpack@Base 1.9.2.0 rb_raise@Base 1.9.2.0 rb_random_bytes@Base 1.9.2.0 rb_random_int32@Base 1.9.2.0 rb_random_real@Base 1.9.2.0 rb_range_beg_len@Base 1.9.2.0 rb_range_new@Base 1.9.2.0 rb_range_values@Base 1.9.2.0 rb_rational_new@Base 1.9.2.0 rb_rational_raw@Base 1.9.2.0 rb_read_check@Base 1.9.2.0 rb_reg_adjust_startpos@Base 1.9.2.0 rb_reg_alloc@Base 1.9.2.0 rb_reg_backref_number@Base 1.9.2.0 rb_reg_init_str@Base 1.9.2.0 rb_reg_last_match@Base 1.9.2.0 rb_reg_match2@Base 1.9.2.0 rb_reg_match@Base 1.9.2.0 rb_reg_match_last@Base 1.9.2.0 rb_reg_match_post@Base 1.9.2.0 rb_reg_match_pre@Base 1.9.2.0 rb_reg_new@Base 1.9.2.0 rb_reg_new_str@Base 1.9.2.0 rb_reg_nth_defined@Base 1.9.2.0 rb_reg_nth_match@Base 1.9.2.0 rb_reg_options@Base 1.9.2.0 rb_reg_prepare_re@Base 1.9.2.0 rb_reg_quote@Base 1.9.2.0 rb_reg_regcomp@Base 1.9.2.0 rb_reg_regsub@Base 1.9.2.0 rb_reg_search@Base 1.9.2.0 rb_register_transcoder@Base 1.9.2.0 rb_remove_event_hook@Base 1.9.2.0 rb_remove_method@Base 1.9.2.0 rb_remove_method_id@Base 1.9.2.0 rb_require@Base 1.9.2.0 rb_require_safe@Base 1.9.2.0 rb_rescue2@Base 1.9.2.0 rb_rescue@Base 1.9.2.0 rb_reserved_fd_p@Base 1.9.3~rc1 rb_reserved_word@Base 1.9.2.0 rb_reset_coverages@Base 1.9.2.0 rb_reset_random_seed@Base 1.9.2.0 rb_respond_to@Base 1.9.2.0 rb_rs@Base 1.9.2.0 rb_ruby_debug_ptr@Base 1.9.2.0 rb_ruby_verbose_ptr@Base 1.9.2.0 rb_run_exec_options@Base 1.9.2.0 rb_run_exec_options_err@Base 1.9.2.0 rb_safe_level@Base 1.9.2.0 rb_scan_args@Base 1.9.2.0 rb_secure@Base 1.9.2.0 rb_secure_update@Base 1.9.2.0 rb_set_class_path@Base 1.9.2.0 rb_set_class_path_string@Base 1.9.2.0 rb_set_coverages@Base 1.9.2.0 rb_set_end_proc@Base 1.9.2.0 rb_set_errinfo@Base 1.9.2.0 rb_set_safe_level@Base 1.9.2.0 rb_set_safe_level_force@Base 1.9.2.0 rb_singleton_class@Base 1.9.2.0 rb_singleton_class_attached@Base 1.9.2.0 rb_singleton_class_clone@Base 1.9.2.0 rb_sourcefile@Base 1.9.2.0 rb_sourceline@Base 1.9.2.0 rb_spawn@Base 1.9.2.0 rb_spawn_err@Base 1.9.2.0 rb_sprintf@Base 1.9.2.0 rb_stderr@Base 1.9.2.0 rb_stdin@Base 1.9.2.0 rb_stdout@Base 1.9.2.0 rb_str2inum@Base 1.9.2.0 rb_str_append@Base 1.9.2.0 rb_str_associate@Base 1.9.2.0 rb_str_associated@Base 1.9.2.0 rb_str_buf_append@Base 1.9.2.0 rb_str_buf_cat2@Base 1.9.2.0 rb_str_buf_cat@Base 1.9.2.0 rb_str_buf_cat_ascii@Base 1.9.2.0 rb_str_buf_new2@Base 1.9.2.0 rb_str_buf_new@Base 1.9.2.0 rb_str_buf_new_cstr@Base 1.9.2.0 rb_str_capacity@Base 1.9.2.0 rb_str_cat2@Base 1.9.2.0 rb_str_cat@Base 1.9.2.0 rb_str_catf@Base 1.9.2.0 rb_str_cmp@Base 1.9.2.0 rb_str_coderange_scan_restartable@Base 1.9.2.0 rb_str_comparable@Base 1.9.2.0 rb_str_concat@Base 1.9.2.0 rb_str_conv_enc@Base 1.9.2.0 rb_str_conv_enc_opts@Base 1.9.2.0 rb_str_drop_bytes@Base 1.9.2.0 rb_str_dump@Base 1.9.2.0 rb_str_dup@Base 1.9.2.0 rb_str_dup_frozen@Base 1.9.2.0 rb_str_ellipsize@Base 1.9.3~rc1 rb_str_encode@Base 1.9.2.0 rb_str_encode_ospath@Base 1.9.2.0 rb_str_equal@Base 1.9.2.0 rb_str_export@Base 1.9.2.0 rb_str_export_locale@Base 1.9.2.0 rb_str_export_to_enc@Base 1.9.2.0 rb_str_format@Base 1.9.2.0 rb_str_free@Base 1.9.2.0 rb_str_freeze@Base 1.9.2.0 rb_str_hash@Base 1.9.2.0 rb_str_hash_cmp@Base 1.9.2.0 rb_str_inspect@Base 1.9.2.0 rb_str_intern@Base 1.9.2.0 rb_str_length@Base 1.9.2.0 rb_str_locktmp@Base 1.9.2.0 rb_str_memsize@Base 1.9.2.0 rb_str_modify@Base 1.9.2.0 rb_str_modify_expand@Base 1.9.3.125 rb_str_new2@Base 1.9.2.0 rb_str_new3@Base 1.9.2.0 rb_str_new4@Base 1.9.2.0 rb_str_new5@Base 1.9.2.0 rb_str_new@Base 1.9.2.0 rb_str_new_cstr@Base 1.9.2.0 rb_str_new_frozen@Base 1.9.2.0 rb_str_new_shared@Base 1.9.2.0 rb_str_new_with_class@Base 1.9.2.0 rb_str_offset@Base 1.9.2.0 rb_str_plus@Base 1.9.2.0 rb_str_replace@Base 1.9.2.0 rb_str_resize@Base 1.9.2.0 rb_str_resurrect@Base 1.9.2.0 rb_str_set_len@Base 1.9.2.0 rb_str_setter@Base 1.9.2.0 rb_str_shared_replace@Base 1.9.2.0 rb_str_split@Base 1.9.2.0 rb_str_strlen@Base 1.9.2.0 rb_str_sublen@Base 1.9.2.0 rb_str_subseq@Base 1.9.2.0 rb_str_substr@Base 1.9.2.0 rb_str_succ@Base 1.9.2.0 rb_str_times@Base 1.9.2.0 rb_str_tmp_new@Base 1.9.2.0 rb_str_to_dbl@Base 1.9.2.0 rb_str_to_inum@Base 1.9.2.0 rb_str_to_str@Base 1.9.2.0 rb_str_unlocktmp@Base 1.9.2.0 rb_str_update@Base 1.9.2.0 rb_str_vcatf@Base 1.9.2.0 rb_string_value@Base 1.9.2.0 rb_string_value_cstr@Base 1.9.2.0 rb_string_value_ptr@Base 1.9.2.0 rb_struct_alloc@Base 1.9.2.0 rb_struct_alloc_noinit@Base 1.9.2.0 rb_struct_aref@Base 1.9.2.0 rb_struct_aset@Base 1.9.2.0 rb_struct_define@Base 1.9.2.0 rb_struct_define_without_accessor@Base 1.9.2.0 rb_struct_getmember@Base 1.9.2.0 rb_struct_initialize@Base 1.9.2.0 rb_struct_iv_get@Base 1.9.2.0 rb_struct_members@Base 1.9.2.0 rb_struct_new@Base 1.9.2.0 rb_struct_s_members@Base 1.9.2.0 rb_sym_all_symbols@Base 1.9.2.0 rb_sym_to_s@Base 1.9.2.0 rb_symname_p@Base 1.9.2.0 rb_sys_fail@Base 1.9.2.0 rb_sys_fail_str@Base 1.9.3.194 rb_sys_warning@Base 1.9.2.0 rb_syserr_fail@Base 1.9.3~rc1 rb_syserr_fail_str@Base 1.9.3.194 rb_syserr_new@Base 1.9.3~rc1 rb_syserr_new_str@Base 1.9.3.194 rb_syswait@Base 1.9.2.0 rb_tainted_str_new2@Base 1.9.2.0 rb_tainted_str_new@Base 1.9.2.0 rb_tainted_str_new_cstr@Base 1.9.2.0 rb_thread_alone@Base 1.9.2.0 rb_thread_atfork@Base 1.9.2.0 rb_thread_atfork_before_exec@Base 1.9.2.0 rb_thread_blocking_region@Base 1.9.2.0 rb_thread_call_with_gvl@Base 1.9.2.0 rb_thread_call_without_gvl@Base 1.9.2.0 rb_thread_check_ints@Base 1.9.2.0 rb_thread_check_trap_pending@Base 1.9.2.0 rb_thread_create@Base 1.9.2.0 rb_thread_current@Base 1.9.2.0 rb_thread_fd_close@Base 1.9.2.0 rb_thread_fd_select@Base 1.9.2.0 rb_thread_fd_writable@Base 1.9.2.0 rb_thread_interrupted@Base 1.9.2.0 rb_thread_io_blocking_region@Base 1.9.3~rc1 rb_thread_kill@Base 1.9.2.0 rb_thread_local_aref@Base 1.9.2.0 rb_thread_local_aset@Base 1.9.2.0 rb_thread_main@Base 1.9.2.0 rb_thread_polling@Base 1.9.2.0 rb_thread_run@Base 1.9.2.0 rb_thread_schedule@Base 1.9.2.0 rb_thread_select@Base 1.9.2.0 rb_thread_sleep@Base 1.9.2.0 rb_thread_sleep_forever@Base 1.9.2.0 rb_thread_stop@Base 1.9.2.0 rb_thread_wait_fd@Base 1.9.2.0 rb_thread_wait_for@Base 1.9.2.0 rb_thread_wakeup@Base 1.9.2.0 rb_thread_wakeup_alive@Base 1.9.3~rc1 rb_throw@Base 1.9.2.0 rb_throw_obj@Base 1.9.2.0 rb_time_interval@Base 1.9.2.0 rb_time_nano_new@Base 1.9.2.0 rb_time_new@Base 1.9.2.0 rb_time_num_new@Base 1.9.2.0 rb_time_succ@Base 1.9.2.0 rb_time_timespec@Base 1.9.2.0 rb_time_timeval@Base 1.9.2.0 rb_to_encoding@Base 1.9.2.0 rb_to_encoding_index@Base 1.9.2.0 rb_to_float@Base 1.9.2.0 rb_to_id@Base 1.9.2.0 rb_to_int@Base 1.9.2.0 rb_tolower@Base 1.9.2.0 rb_toupper@Base 1.9.2.0 rb_trap_exit@Base 1.9.2.0 rb_typeddata_inherited_p@Base 1.9.3~rc1 rb_typeddata_is_kind_of@Base 1.9.2.0 rb_uint2big@Base 1.9.2.0 rb_uint2inum@Base 1.9.2.0 rb_ull2inum@Base 1.9.2.0 rb_undef@Base 1.9.2.0 rb_undef_alloc_func@Base 1.9.2.0 rb_undef_method@Base 1.9.2.0 rb_update_max_fd@Base 1.9.3~rc1 rb_usascii_encindex@Base 1.9.2.0 rb_usascii_encoding@Base 1.9.2.0 rb_usascii_str_new2@Base 1.9.2.0 rb_usascii_str_new@Base 1.9.2.0 rb_usascii_str_new_cstr@Base 1.9.2.0 rb_utf8_encindex@Base 1.9.2.0 rb_utf8_encoding@Base 1.9.2.0 rb_uv_to_utf8@Base 1.9.2.0 rb_vm_get_sourceline@Base 1.9.2.0 rb_vm_make_env_object@Base 1.9.2.0 rb_vsprintf@Base 1.9.2.0 rb_wait_for_single_fd@Base 1.9.3~rc1 rb_waitpid@Base 1.9.2.0 rb_warn@Base 1.9.2.0 rb_warning@Base 1.9.2.0 rb_write_error2@Base 1.9.2.0 rb_write_error@Base 1.9.2.0 rb_yield@Base 1.9.2.0 rb_yield_splat@Base 1.9.2.0 rb_yield_values2@Base 1.9.2.0 rb_yield_values@Base 1.9.2.0 ruby_Init_Continuation_body@Base 1.9.2.0 ruby_Init_Fiber_as_Coroutine@Base 1.9.2.0 ruby_api_version@Base 1.9.3~rc1 ruby_brace_glob@Base 1.9.2.0 ruby_cleanup@Base 1.9.2.0 ruby_copyright@Base 1.9.2.0 ruby_debug_breakpoint@Base 1.9.2.0 ruby_debug_print_id@Base 1.9.2.0 ruby_debug_print_indent@Base 1.9.2.0 ruby_debug_print_node@Base 1.9.2.0 ruby_debug_print_value@Base 1.9.2.0 ruby_default_signal@Base 1.9.2.0 ruby_description@Base 1.9.2.0 ruby_each_words@Base 1.9.2.0 ruby_enc_find_basename@Base 1.9.3.327 ruby_enc_find_extname@Base 1.9.3.327 ruby_engine@Base 1.9.2.0 ruby_exec_node@Base 1.9.2.0 ruby_executable_node@Base 1.9.2.0 ruby_finalize@Base 1.9.2.0 ruby_getcwd@Base 1.9.2.0 ruby_glob@Base 1.9.2.0 ruby_incpush@Base 1.9.2.0 ruby_init@Base 1.9.2.0 ruby_init_ext@Base 1.9.2.0 ruby_init_loadpath@Base 1.9.2.0 ruby_init_stack@Base 1.9.2.0 ruby_native_thread_p@Base 1.9.2.0 ruby_node_name@Base 1.9.2.0 ruby_options@Base 1.9.2.0 ruby_patchlevel@Base 1.9.2.0 ruby_platform@Base 1.9.2.0 ruby_posix_signal@Base 1.9.2.0 ruby_process_options@Base 1.9.2.0 ruby_prog_init@Base 1.9.2.0 ruby_qsort@Base 1.9.2.0 ruby_release_date@Base 1.9.2.0 ruby_run_node@Base 1.9.2.0 ruby_scan_hex@Base 1.9.2.0 ruby_scan_oct@Base 1.9.2.0 ruby_script@Base 1.9.2.0 ruby_set_argv@Base 1.9.2.0 ruby_set_debug_option@Base 1.9.3~rc1 ruby_setenv@Base 1.9.2.0 ruby_show_copyright@Base 1.9.2.0 ruby_show_version@Base 1.9.2.0 ruby_sig_finalize@Base 1.9.2.0 ruby_signal_name@Base 1.9.2.0 ruby_snprintf@Base 1.9.2.0 ruby_stack_check@Base 1.9.2.0 ruby_stack_length@Base 1.9.2.0 ruby_stop@Base 1.9.2.0 ruby_strdup@Base 1.9.2.0 ruby_strtod@Base 1.9.2.0 ruby_strtoul@Base 1.9.2.0 ruby_sysinit@Base 1.9.2.0 ruby_unsetenv@Base 1.9.2.0 ruby_version@Base 1.9.2.0 ruby_vm_at_exit@Base 1.9.3~rc1 ruby_vm_destruct@Base 1.9.2.0 ruby_vsnprintf@Base 1.9.2.0 ruby_xcalloc@Base 1.9.2.0 ruby_xfree@Base 1.9.2.0 ruby_xmalloc2@Base 1.9.2.0 ruby_xmalloc@Base 1.9.2.0 ruby_xrealloc2@Base 1.9.2.0 ruby_xrealloc@Base 1.9.2.0 setproctitle@Base 1.9.3~rc1 st_add_direct@Base 1.9.2.0 st_cleanup_safe@Base 1.9.2.0 st_clear@Base 1.9.2.0 st_copy@Base 1.9.2.0 st_delete@Base 1.9.2.0 st_delete_safe@Base 1.9.2.0 st_foreach@Base 1.9.2.0 st_foreach_safe@Base 1.9.2.0 st_free_table@Base 1.9.2.0 st_get_key@Base 1.9.2.0 st_hash@Base 1.9.2.0 st_hash_end@Base 1.9.2.0 st_hash_start@Base 1.9.2.0 st_hash_uint32@Base 1.9.2.0 st_hash_uint@Base 1.9.2.0 st_init_numtable@Base 1.9.2.0 st_init_numtable_with_size@Base 1.9.2.0 st_init_strcasetable@Base 1.9.2.0 st_init_strcasetable_with_size@Base 1.9.2.0 st_init_strtable@Base 1.9.2.0 st_init_strtable_with_size@Base 1.9.2.0 st_init_table@Base 1.9.2.0 st_init_table_with_size@Base 1.9.2.0 st_insert2@Base 1.9.2.0 st_insert@Base 1.9.2.0 st_lookup@Base 1.9.2.0 st_memsize@Base 1.9.2.0 st_numcmp@Base 1.9.2.0 st_numhash@Base 1.9.2.0 st_shift@Base 1.9.3.448 st_strcasecmp@Base 1.9.2.0 st_strncasecmp@Base 1.9.2.0 strlcat@Base 1.9.2.0 strlcpy@Base 1.9.2.0 debian/copyright0000664000000000000000000000774612247132667011153 0ustar This package was debianized by akira yamada on Sun, 13 Apr 2003 13:04:13 +0900. It was downloaded from Upstream Author: Yukihiro Matsumoto Copyright: Ruby's License: Ruby is copyrighted free software by Yukihiro Matsumoto . You can redistribute it and/or modify it under either the terms of the 2-clause BSDL (see the file BSDL), or the conditions below: 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. b) use the modified software only within your corporation or organization. c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. d) make other distribution arrangements with the author. 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. b) accompany the distribution with the machine-readable source of the software. c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. d) make other distribution arrangements with the author. 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. For the list of those files and their copying conditions, see the file LEGAL. 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Content of the BSDL file: Copyright (C) 1993-2010 Yukihiro Matsumoto. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/extfixup_rubylibs.sh0000664000000000000000000000035012247132666013322 0ustar #!/bin/sh ruby_libdir=$1 pkg_name=$2 ext_dir=$3 if [ -d "$ext_dir/lib" ] then for f in `find "$ext_dir/lib" -type f -name '*.rb'` do dh_movefiles -p"$pkg_name" "$ruby_libdir"/`expr "$f" : "$ext_dir/lib/\(.*\)"` done fi debian/README.porters0000664000000000000000000000074712247132667011567 0ustar Run a test that fails during 'make test': LD_LIBRARY_PATH=. ./ruby1.9.1 -Ilib -I. -I.ext/common tool/runruby.rb --extout=.ext bootstraptest/runner.rb --ruby="./ruby1.9.1" -v bootstraptest/test_thread.rb Run a test that fails during 'make test-all': LD_LIBRARY_PATH=. ./ruby1.9.1 -Ilib -I. -I.ext/common tool/runruby.rb --extout=.ext test/drb/test_drb.rb -v or even: LD_LIBRARY_PATH=. ./ruby1.9.1 -Ilib -I. -I.ext/common tool/runruby.rb --extout=.ext test/drb/test_drb.rb -v -n test_04 debian/source/0000775000000000000000000000000012247132722010472 5ustar debian/source/format0000664000000000000000000000001412247132667011710 0ustar 3.0 (quilt) debian/rmshebang.sh0000664000000000000000000000021412247132666011500 0ustar #!/bin/sh set -e target_dir=$1 [ -d $target_dir ] || exit 0 find "$target_dir" -name '*.rb' -type f -exec sed -i -e '1,1{ /^#!/d }' {} \+ debian/changelog0000664000000000000000000015033512277552766011074 0ustar ruby1.9.1 (1.9.3.484-2ubuntu1) trusty; urgency=medium * Merge from Debian unstable. Remaining changes: - debian/control: Add ca-certificates to libruby1.9.1 depends so that rubygems can perform certificate verification - debian/rules: Don't install SSL certificates from upstream sources - debian/patches/20120927-rubygems_disable_upstream_certs.patch: Use /etc/ssl/certs/ca-certificates.crt for the trusted CA certificates. - debian/patches/20131218-stack-size.patch: Increase thread stack size on 64-bit platforms to prevent testsuite failure on ppc64el. - Build-depend on Tcl/Tk 8.5, ruby is not yet ready for Tcl/Tk 8.6. -- Adam Conrad Fri, 14 Feb 2014 19:48:22 -0700 ruby1.9.1 (1.9.3.484-2) unstable; urgency=medium * new strategy for Ruby version transitions: - ruby1.9.1 depends on ruby - libruby1.9.1 depends on ruby1.9.1 * Drop alternatives entries. -- Antonio Terceiro Sat, 01 Feb 2014 20:40:01 -0300 ruby1.9.1 (1.9.3.484-1ubuntu2) trusty; urgency=medium * Build-depend on tcl8.5-dev and tk8.5-dev, ruby is not yet ready for Tcl/Tk 8.6. -- Matthias Klose Sat, 04 Jan 2014 18:00:42 +0100 ruby1.9.1 (1.9.3.484-1ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Add ca-certificates to libruby1.9.1 depends so that rubygems can perform certificate verification - debian/rules: Don't install SSL certificates from upstream sources - debian/patches/20120927-rubygems_disable_upstream_certs.patch: Use /etc/ssl/certs/ca-certificates.crt for the trusted CA certificates. * Drop debian/patches/CVE-2013-4164.patch; applied upstream. * debian/patches/20131218-stack-size.patch: Increase thread stack size on 64-bit platforms to prevent testsuite failure on ppc64el. -- Adam Conrad Wed, 18 Dec 2013 03:16:39 -0700 ruby1.9.1 (1.9.3.484-1) unstable; urgency=low * New upstream release + Includes fix for Heap Overflow in Floating Point Parsing (CVE-2013-4164) Closes: #730178 + drop debian/patches/2013-09-08-restore-rb_f_lambda-declaration.patch, already applied upstream. -- Antonio Terceiro Mon, 25 Nov 2013 22:31:23 -0300 ruby1.9.1 (1.9.3.448-1ubuntu2) trusty; urgency=low * SECURITY UPDATE: denial of service and possible code execution via heap overflow in floating point parsing. - debian/patches/CVE-2013-4164.patch: check lengths in util.c, added test to test/ruby/test_float.rb. - CVE-2013-4164 -- Marc Deslauriers Mon, 25 Nov 2013 15:12:24 -0500 ruby1.9.1 (1.9.3.448-1ubuntu1) trusty; urgency=low * Merge from Debian. Remaining changes: - debian/control: Add ca-certificates to libruby1.9.1 depends so that rubygems can perform certificate verification - debian/rules: Don't install SSL certificates from upstream sources - debian/patches/20120927-rubygems_disable_upstream_certs.patch: Use /etc/ssl/certs/ca-certificates.crt for the trusted CA certificates. -- Marc Deslauriers Mon, 25 Nov 2013 09:59:41 -0500 ruby1.9.1 (1.9.3.448-1) unstable; urgency=low * New upstream release + Includes fix for potential thread deadlock after fork() Closes: #698208 + Includes fix for test error originally introduced by patch for CVE-2012-4522 Closes: #701142 + Includes fix for CVE-2012-4466 and CVE-2012-4464 Closes: #701144 + Includes fix for incorrect setting of FD_CLOEXEC with F_SETFL instead of F_SETFD Closes: #696281 + debian/patches/2013-09-08-restore-rb_f_lambda-declaration.patch: backport upstream patch to reintroduce the declaration of rb_f_lamdba for backwards compatibility. + Dropped patches already applied upstream; refreshed all others. * Review of remaining patches in debian/patches/series: + 909_update_lib_README.diff: obsolete and ultimately wrong. Removed + 903_skip_base_ruby_check.diff: can't see a reason why this would be needed. Removed. * move logic to skip DRB tests inside debian/run-test-suites.bash * Acknowledge security-related NMU's by Salvatore Bonaccorso. + Both CVE-2013-1821.patch and CVE-2013-4073.patch already applied in this upstream version, not included anymore * debian/rules: acknowledge reality, put myself as maintainer. * debian/rules: dropped --with-baseruby=/usr/bin/ruby1.8. This way the build will just use `ruby` for bootstrapping. Also, build-depend on ruby | ruby-interpreter instead of ruby1.8; this way ruby1.9.1 can be bootstrapped with any Ruby interpreter, and we can leave ruby1.8 Rest In Peace. * debian/rules: applied patch from Timothy Pearson to install pkg-config file. Closes: #688002 * debian/libruby1.9.1.symbols: removed debian revision from version numbers for symbols introduced in 1.9.3.194 * debian/control: bump Standards-Version to 3.9.4. No changes needed. * debian/control: remove -1 from build dependency on coreutils -- Antonio Terceiro Sun, 08 Sep 2013 22:57:14 -0300 ruby1.9.1 (1.9.3.194-8.2) unstable; urgency=high * Non-maintainer upload. * Add CVE-2013-4073.patch patch. CVE-2013-4073: Fix hostname check bypassing vulnerability in SSL client. (Closes: #714543) -- Salvatore Bonaccorso Sun, 07 Jul 2013 10:37:03 +0200 ruby1.9.1 (1.9.3.194-8.1ubuntu2) saucy; urgency=low * SECURITY UPDATE: incorrect ssl hostname verification - debian/patches/CVE-2013-4073.patch: fix hostname check and regression in ext/openssl/lib/openssl/ssl-internal.rb, added test to test/openssl/test_ssl.rb. - CVE-2013-4073 -- Marc Deslauriers Mon, 08 Jul 2013 13:00:47 -0400 ruby1.9.1 (1.9.3.194-8.1ubuntu1) raring; urgency=low * Merge from Debian testing. Remaining changes: - debian/control: Add ca-certificates to libruby1.9.1 depends so that rubygems can perform certificate verification - debian/rules: Don't install SSL certificates from upstream sources - debian/patches/20120927-rubygems_disable_upstream_certs.patch: Use /etc/ssl/certs/ca-certificates.crt for the trusted CA certificates. - debian/patches/CVE-2012-4522.patch: Adjust patch to fix build test error. Use the version of the fix from upstream's 1.9.3 tree to fix the NoMethodError for assert_file_not, which doesn't exist in 1.9.3. Adjust the Origin patch tag accordingly. -- Marc Deslauriers Mon, 25 Mar 2013 10:33:34 -0400 ruby1.9.1 (1.9.3.194-8.1) unstable; urgency=high * Non-maintainer upload. * Add CVE-2013-1821.patch patch. CVE-2013-1821: Fix entity expansion DoS vulnerability in REXML. When reading text nodes from an XML document, the REXML parser could be coerced into allocating extremely large string objects which could consume all available memory on the system. (Closes: #702525) -- Salvatore Bonaccorso Fri, 08 Mar 2013 21:48:20 +0100 ruby1.9.1 (1.9.3.194-7ubuntu1) raring; urgency=low * Merge from Debian testing (LP: #1131493). Remaining changes: - debian/control: Add ca-certificates to libruby1.9.1 depends so that rubygems can perform certificate verification - debian/rules: Don't install SSL certificates from upstream sources - debian/patches/20120927-rubygems_disable_upstream_certs.patch: Use /etc/ssl/certs/ca-certificates.crt for the trusted CA certificates. * Changes dropped: - debian/patches/20121016-cve_2012_4522.patch: Debian is carrying a patch for this issue. - debian/patches/20121011-cve_2012_4464-cve_2012_4466.patch: Debian is carrying a patch for this issue, but the patch is incorrectly named 20120927-cve_2011_1005.patch. I'll work with Debian to change the patch name, but there's no need in carrying a delta because of this. To be clear, the Ubuntu ruby1.9.1 package is patched for CVE-2012-4464 and CVE-2012-4466, despite the incorrect patch name. * debian/patches/CVE-2012-4522.patch: Adjust patch to fix build test error. Use the version of the fix from upstream's 1.9.3 tree to fix the NoMethodError for assert_file_not, which doesn't exist in 1.9.3. Adjust the Origin patch tag accordingly. -- Tyler Hicks Thu, 21 Feb 2013 17:11:23 -0800 ruby1.9.1 (1.9.3.194-5) unstable; urgency=high * Disable running the test suite during the build on sparc again. Keeping urgency=high because the previous release, which contains a security bug fix, did not reach testing yet because of a segfault when running tests in the sparc buildd. -- Antonio Terceiro Sun, 25 Nov 2012 19:12:28 -0300 ruby1.9.1 (1.9.3.194-4) unstable; urgency=high [ James Healy ] * debian/patches/CVE-2012-5371.patch: avoid DOS vulnerability in hash implementation, this fixes CVE-2012-5371. (Closes: #693024). -- Antonio Terceiro Thu, 22 Nov 2012 10:30:37 -0300 ruby1.9.1 (1.9.3.194-3) unstable; urgency=high * debian/patches/CVE-2012-4522.patch: avoid vulnerability with strings containing NUL bytes passed to file creation methods. This fixes CVE-2012-4522 (Closes: #690670). -- Antonio Terceiro Tue, 16 Oct 2012 10:27:20 -0300 ruby1.9.1 (1.9.3.194-2) unstable; urgency=low * debian/patches/20120927-cve_2011_1005.patch: patch sent by upstream; fixes CVE-2011-1005 which was thought of as not affecting the Ruby 1.9.x series (Closes: #689075). Thanks to Tyler Hicks for reporting the issue. -- Antonio Terceiro Sat, 06 Oct 2012 16:29:42 -0300 ruby1.9.1 (1.9.3.194-1ubuntu1.2) quantal-security; urgency=low * SECURITY UPDATE: Safe level bypass - debian/patches/20121011-cve_2012_4464-cve_2012_4466.patch: Remove incorrect string taint in exception handling methods. Based on upstream patch. - CVE-2012-4464 - CVE-2012-4466 * SECURITY UPDATE: Missing input sanitization of file paths - debian/patches/20121016-cve_2012_4522.patch: NUL characters are not valid filename characters, so ensure that Ruby strings used for file paths do not contain NUL characters. Based on upstream patch. - CVE-2012-4522 * debian/patches/20120927-cve_2011_1005.patch: Drop since ruby1.9.x is technically not affected by CVE-2011-1005. CVE-2012-4464 is the id assigned to the vulnerability in the ruby1.9.x branch. -- Tyler Hicks Tue, 16 Oct 2012 09:38:57 -0700 ruby1.9.1 (1.9.3.194-1ubuntu1) quantal; urgency=low * SECURITY UPDATE: Safe level bypass - debian/patches/20120927-cve_2011_1005.patch: Remove incorrect string taint in exception handling methods. Based on upstream patch. - CVE-2011-1005 * Make the RubyGems fetcher use distro-provided ca-certificates (LP: #1057926) - debian/control: Add ca-certificates to libruby1.9.1 depends so that rubygems can perform certificate verification - debian/rules: Don't install SSL certificates from upstream sources - debian/patches/20120927-rubygems_disable_upstream_certs.patch: Use /etc/ssl/certs/ca-certificates.crt for the trusted CA certificates. -- Tyler Hicks Thu, 27 Sep 2012 20:37:54 -0700 ruby1.9.1 (1.9.3.194-1) unstable; urgency=low [ Lucas Nussbaum ] * Add hurd-path-max.diff. Fixes FTBFS on Hurd. (Closes: #648055) [ Daigo Moriwaki ] * Removed debian/patches/debian/patches/sparc-continuations.diff, which the upstream has applied. * debian/rules: - Bumped up tcltk_ver to 8.5. - Used chrpath for tcltklib.so to fix a lintian error, binary-or-shlib-defines-rpath. * debian/control: - Suggests ruby-switch. (Closes: #654312) - Build-Depends: chrpath. * debian/libruby1.9.1.symbols: Added a new symbol for rb_str_modify_expand@Base. * debian/run-test-suites.bash: - Corrected options for test-all. - Enabled timeout to allow hang tests to be aborted. [ James Healy ] * New upstream release: 1.9.3p194 (Closes: #669582) + This release includes a fix for CVE-2011-0188 (Closes: #628451) + This release also does not segfault when running the test suite under amd64 (Closes: #674347) * Enable hardened build flags (Closes: #667964) * debian/control: - depend on specific version on coreutils - update policy version (no changes) [ Antonio Terceiro ] * debian/ruby1.9.1.postinst: + bump alternatives priority for `ruby` to 51 so that Ruby 1.9 has a higher priority than Ruby 1.8 (50). + bump alternatives priority for `gem` to 181 so that the Rubygems provided by Ruby 1.9 has priority over the one provided by the rubygems package. * debian/control: added myself to Uploaders: * debian/libruby1.9.1.symbols: update with new symbols added in 1.9.3p194 upstream release. * debian/manpages/*: fix references to command names with s/1.9/1.9.1/ * debian/rules: skip running DRB tests, since they seem to make the build hang. This should close #647296, but let's way and see. Also, with this do not need to timeout the test suite anymore. -- Antonio Terceiro Sat, 02 Jun 2012 07:42:28 -0300 ruby1.9.1 (1.9.3.0-2) unstable; urgency=low * gcc's #635126 requiring -fno-tree-sra has been fixed. Disable workaround in that package. * add sparc-continuations.diff: fixes segfault during test suite on sparc. Closes: #593138, #545345. Many thanks to Jurij Smakov. -- Lucas Nussbaum Mon, 19 Dec 2011 21:33:37 +0100 ruby1.9.1 (1.9.3.0-1) unstable; urgency=low * New upstream release: 1.9.3p0. * Disable test suites on ia64 sparc kfreebsd-i386 kfreebsd-amd64. Those architectures are known to be broken at the moment. Details: http://lists.debian.org/debian-release/2011/10/msg00279.html -- Lucas Nussbaum Mon, 31 Oct 2011 08:44:23 +0100 ruby1.9.1 (1.9.3~rc1-3) experimental; urgency=low * Update symbols file to fix FTBFS on i386, mips, mipsel, powerpc, s390. Closes: #644705. -- Lucas Nussbaum Sun, 09 Oct 2011 11:09:13 +0200 ruby1.9.1 (1.9.3~rc1-2) experimental; urgency=low * Add symbols file. Some symbols were removed between 1.9.2.0 and 1.9.3~rc1, but this does not constitute an ABI change as those symbols were not supposed to be used by third-party extensions (not in header files, etc.) See http://redmine.ruby-lang.org/issues/4666 for details. Closes: #636966. * Upload to experimental to test-build this. -- Lucas Nussbaum Sat, 08 Oct 2011 10:30:33 +0200 ruby1.9.1 (1.9.3~rc1-1) unstable; urgency=low * New upstream release: 1.9.3 RC1. + Includes load.c fixes. Closes: #639959. * Upload to unstable. -- Lucas Nussbaum Sat, 24 Sep 2011 19:16:17 +0200 ruby1.9.1 (1.9.3~preview1+svn33236-1) experimental; urgency=low * New upstream snapshot. * add README.porters: instructions on how to run specific tests. * 110829-freebsd_map_stack.patch: merged usptream, dropped. * 110829-hurd_dirent_usage.patch: refresh. -- Lucas Nussbaum Sat, 10 Sep 2011 10:07:12 +0200 ruby1.9.1 (1.9.3~preview1+svn33077-3) experimental; urgency=low * Add debian/run-test-suites.bash: test suites wrapper that checks the number of failures and exit if there are too many. * debian/rules: optimizations were dropped on ia64. Revert. * 20100829-rubygems_default_dir.diff, 20100829-rubygems_disable_update_system.diff: disable tests that are broken by those changes. -- Lucas Nussbaum Tue, 30 Aug 2011 07:44:33 +0200 ruby1.9.1 (1.9.3~preview1+svn33077-2) experimental; urgency=low * Also add --no-tree-sra on sparc. * Add 110829-freebsd_map_stack.patch. Work around FreeBSD bug. * Add 110829-freebsd_assert_normal_exit.patch: workaround FreeBSD bug in testsuite runner. * Add 110829-hurd_dirent_usage.patch: Fix dirent issue on hurd. Closes: #639664 * Modified 20100829-rubygems_default_dir.diff: avoid warning. -- Lucas Nussbaum Mon, 29 Aug 2011 22:41:14 +0200 ruby1.9.1 (1.9.3~preview1+svn33077-1) experimental; urgency=low * New upstream snapshot (SVN rev 33029, ruby_1_9_3 branch). + Should fix FTBFS on m68k. Closes: #611691. * Cleanup disabled patches in debian/patches: + Drop patch 110801-ftbfs-ia64-missing-semicolon.diff: fixed upstream. + remove patch 110411_disable_osslv2.patch (was already disabled) + Remove 201_gem_prelude.diff and 202_gem_default_dir.diff. Merged into 20100829-rubygems_default_dir.diff + Remove 203_adjust_base_of_search_path.diff. Not needed anymore. + Remove 900_ri_pager.diff. Applied upstream in lib/rdoc/ri/driver.rb + Remove 902_define_YAML_in_yaml_stringio.rb.diff. This code has changed, and the reason for this patch has been lost. + Remove 904_linux_target_os.diff. This patch was only required for the LPIA Ubuntu architecture, which no longer exists. + Remove 931_libruby_suffix.diff. No longer needed. + Remove 940_hppa_disable_test_propag_signal.diff. hppa is dead. + Remove 940_test_file_exhaustive_fails_as_root.diff. Applied upstream. + Remove 940_test_priority_fails.diff. Fixed upstream. + re-enable and refresh 090729_fix_Makefile_deps.diff + re-enable and refresh 090803_exclude_rdoc.diff + Remove 091207_test_dl_free_func.diff. Merged upstream. + Remove 100327_r24850_bootstraptest_test_thread.diff. Applied upstream. + Remove 100503_r27337_rb_string_value_cstr.diff. Applied upstream. + Remove 100503_r27356_queue_race.diff.diff. Applied upstream. + Remove 100518_load_libc_libm.diff, 100518_r23483_suppress_pathname_warning.diff and 100518_r26515_free_rb_classext.diff. Were upstream backports. + Remove 110801-ftbfs-ia64-missing-semicolon.diff. fixed upstream. * Add 110825-run-tests-verbose.patch: run tests in verbose mode * Add openssl to build-depends. Needed for test_constants(OpenSSL::TestConfig). * Improve rubygems_default_dir.diff to avoid warnings. * Add 110825-tests_broken_as_root.patch: skip some tests when root. * Introduce ruby1.9.3 package to improve the confusing situation. * Fix 1.9.2 -> 1.9.3 in descriptions. -- Lucas Nussbaum Fri, 26 Aug 2011 11:37:58 +0200 ruby1.9.1 (1.9.3~preview1-2) experimental; urgency=low * Add -fno-tree-sra on armel. Same workaround as for ruby1.8 (see #634260) -- Lucas Nussbaum Mon, 01 Aug 2011 20:58:07 +0200 ruby1.9.1 (1.9.3~preview1-1) experimental; urgency=low * New upstream version: 1.9.3 preview 1. * debian/patches/20100829-rubygems_default_dir.diff: refreshed patch. * debian/patches/20100829-rubygems_disable_update_system.diff: refreshed patch. * Add 110801-ftbfs-ia64-missing-semicolon.diff. Fixes FTBFS on ia64. -- Lucas Nussbaum Mon, 01 Aug 2011 16:59:35 +0200 ruby1.9.1 (1.9.2.180+svn32566-1) experimental; urgency=low * New SVN snapshot based on revision 32566 from the ruby_1_9_3 branch. * Add patch 110720_tcltk_disable_rpath.diff: disable rpath in tcltk. * Add patch 110720_tcltk_disable_rpath.diff: disable rpath in tcltk. -- Lucas Nussbaum Wed, 20 Jul 2011 11:25:23 +0200 ruby1.9.1 (1.9.2.180+svn32099-1) experimental; urgency=low * New SVN snapshot based on revision 32099 from trunk. * 20100829-rubygems_default_dir.diff: refresh * 20100829-rubygems_disable_update_system.diff: refresh * 909_update_lib_README.diff: refresh * 110411_disable_osslv2.patch: drop, cleaner solution implemented upstream * Update Lucas' email address. * Build-depend on tcl-dev and tk-dev instead of {tcl,tk}8.4-dev. * Relicensed under Ruby || BSDL. + Update debian/copyright. + Build-depend on libreadline6-dev. -- Lucas Nussbaum Wed, 15 Jun 2011 14:01:51 +0200 ruby1.9.1 (1.9.2.180-5) unstable; urgency=low * Build-depend on libreadline-gplv2-dev instead of libreadline5-dev. Ruby is dual-licensed under GPLv2 (only) || Ruby license, so we cannot use libreadline6-dev. -- Lucas Nussbaum Sun, 15 May 2011 10:46:43 +0200 ruby1.9.1 (1.9.2.180-4) unstable; urgency=low [ Daigo Moriwaki ] * debian/control: Corrected wording. (Closes: #624574) [ Lucas Nussbaum ] * Change 01_default_gem_path.diff: + executables are now installed to /usr/local/bin. + but the other files created by rubygems stay in /var/lib/gems/. Several commenters in #448639 and #403407 argued in favor of the switch to /usr/local/bin. Those two bugs can therefore be closed. However, the issue is not completely solved, as rubygems still installs files in /var/lib/gems. Nobody in the bug logs explained why that was an issue. If you care about it, please open a new bug. Fixes the rubygems bugs: #448639, #403407 * Update Standards-Version to 3.9.2. No changes needed. -- Lucas Nussbaum Tue, 03 May 2011 16:26:04 +0200 ruby1.9.1 (1.9.2.180-3) unstable; urgency=low * Remove --with-lookup-order-hack=INET. That breaks IPv6-only systems. See #619209 * Drop ruby1.9.1-elisp. The Ruby emacs mode is now provided in emacs 23. * Add patch 110411_disable_osslv2.patch Disables SSLv2. Closes: #620998 * Move the ri1.9.1 binary and manpage to the ruby1.9.1 package. ri1.9.1 still exists, but only contains the documentation. This is needed to fix #621058. * Make libruby1.9.1 Conflict, Replace irb1.9.1, rdoc1.9.1. fixes #608582 -- Lucas Nussbaum Tue, 12 Apr 2011 12:03:14 +0200 ruby1.9.1 (1.9.2.180-2) unstable; urgency=low * Switch to git. Update Vcs-*. * Upload to unstable. -- Lucas Nussbaum Fri, 25 Mar 2011 10:11:47 +0100 ruby1.9.1 (1.9.2.180-2~experimental.1) experimental; urgency=low * Remove the patchsys-quilt CDBS rule. It is not needed since we are using 3.0 (quilt). * Add Provides for ruby-interpreter and ruby1.9.2-full. * Switch to alternatives to manage Ruby versions. * Decrease gem alternatives priority to 10 to be consistent with the interpreter priority. * Upload to experimental. Changes are very intrusive and need extensive testing. -- Lucas Nussbaum Sat, 05 Mar 2011 20:57:31 +0100 ruby1.9.1 (1.9.2.180-1) unstable; urgency=low * New upstream release. - (CVE-2011-1004; Closes: #615519) - No longer found in 1.9.2 (Closes: #509500) * debian/rules: correctly skip making rdoc for DEB_BUILD_OPTIONS="nordoc". * debian/control: Build-Depends libncursesw5-dev as well. (Closes: #578169) -- Daigo Moriwaki Sun, 27 Feb 2011 16:28:32 +0900 ruby1.9.1 (1.9.2.0-2) unstable; urgency=low * Clarify versioning in package description to reduce 1.9.1 <-> 1.9.2 confusion. Closes: #601526. * Remove README.Debian. It only contained outdated information. * Build with -mieee on SH4. Closes: #591785. * Update debian/NEWS to mention LOAD_PATH change. Closes: #593098. * ruby1.9.1: add Suggests on ruby1.9.1-dev as it is need to build many gems, and that's a FAQ. * ruby1.9.1-dev: mention building gems in package description. -- Lucas Nussbaum Mon, 01 Nov 2010 09:03:33 +0100 ruby1.9.1 (1.9.2.0-1) unstable; urgency=high [ Lucas Nussbaum ] * New upstream release. The 1.9.2 branch was in deep freeze at the time of the last snapshot, and all the changes between that snapshot and the present final tarball are bugfixes, as shown by svn log -r28788:HEAD http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_2 Also, it sounds much easier to support a released version on the long term, rather than an SVN snapshot. Also fixes CVE-2010-0541. Closes: #593298. Could also improve kFreeBSD support as some changes are FreeBSD-related. * Add build-dependency on libyaml-dev to build psych, which is a new, faster YAML library provided in Ruby 1.9.2. [ Daigo Moriwaki ] * debian/watch: support new URL for Ruby 1.9.2. * debian/rules: DEB_BUILD_OPTIONS="nordoc" provides no-doc build for build testing. * Merged rubygems1.9.1: this package used to be provided by the libgems-ruby source package, but the version of rubygems provided by libgems-ruby is incompatible with Ruby 1.9.2. Also, Rubygems is shipped as part of Ruby. Closes: #588125 [ Lucas Nussbaum ] * Provide a way to override Debian's disabling of gem update --system by setting an environment variable. This is the same change as the one done for libgems-ruby. -- Lucas Nussbaum Sat, 11 Sep 2010 08:38:44 +0200 ruby1.9.1 (1.9.2~svn28788-1) unstable; urgency=low * New release based on upstream snapshot from the 1.9.2 branch, after 1.9.2 RC2. That branch is (supposed to be) binary-compatible with the 1.9.1 branch. + Builds fine on i386. Closes: #580852. * Upgrade to Standards-Version: 3.9.1. No changes needed. * Updated generated incs. * Patches that still need work: + Unclear status, need more investigation: 090729_fix_Makefile_deps.dpatch 090803_exclude_rdoc.dpatch 203_adjust_base_of_search_path.dpatch 902_define_YAML_in_yaml_stringio.rb.dpatch 919_common.mk_tweaks.dpatch 931_libruby_suffix.dpatch 940_test_thread_mutex_sync_shorter.dpatch + Maybe not needed anymore, keeping but not applying. 102_skip_test_copy_stream.dpatch (test doesn't block anymore?) 104_skip_btest_io.dpatch (test doesn't block anymore?) 201_gem_prelude.dpatch (we don't use that rubygems anyway?) 202_gem_default_dir.dpatch (we don't use that rubygems anyway?) 940_test_file_exhaustive_fails_as_root.dpatch 940_test_priority_fails.dpatch 100518_load_libc_libm.dpatch * Add disable-tests.diff: disable some tests that cause failures on FreeBSD. Closes: #590002, #543805, #542927. * However, many new failures on FreeBSD. Since that version is still an improvement, add the check that makes test suite failures non-fatal on FreeBSD again. That still needs to be investigated. * Re-add 903_skip_base_ruby_check.dpatch * Add build-dependency on ruby1.8 and drop all pre-generated files. -- Lucas Nussbaum Sat, 31 Jul 2010 17:08:39 -0400 ruby1.9.1 (1.9.1.429-1) unstable; urgency=low * New upstream release * Switch to dpkg-source 3.0 (quilt) format. -- Daigo Moriwaki Mon, 19 Jul 2010 22:02:35 +0900 ruby1.9.1 (1.9.1.378-4) unstable; urgency=low * Added debian/patches/100518_r26515_free_rb_classext.dpatch LP: #514322, LP: #529011 * Added 100518_load_libc_libm.dpatch Fixes loading of libc and libm. Closes: #560293 * Added 100518_r23483_suppress_pathname_warning.dpatch Remove warning in pathname.rb. Closes: #566612 * Added 100518_r27464_threading_non-nptl.dpatch Fixes threading issues on kfreebsd. Closes: #542927 * Make test suite failures on FreeBSD fatal. * Run the test suite on hppa too. -- Lucas Nussbaum Tue, 18 May 2010 22:24:49 +0200 ruby1.9.1 (1.9.1.378-3) unstable; urgency=low * Added patches: - debian/patches/100503_r27337_rb_string_value_cstr.dpatch Back port from the upstream r27337. - debian/patches/100503_r27356_queue_race.diff.dpatch Back port from the upstream r27356. -- Daigo Moriwaki Tue, 04 May 2010 01:46:05 +0900 ruby1.9.1 (1.9.1.378-2) unstable; urgency=low [ Lucas Nussbaum ] * Merge lib{dbm,gdbm,readline,openssl}-ruby1.9.1 into libruby1.9.1. * Merge irb1.9.1 and rdoc1.9.1 into ruby1.9.1. * Update lintian override. * Update emacs dependency. * Fix ri1.9.1 dep: make it binNMUable again. * Update debian/copyright. * Upgrade to Standards-Version: 3.8.4. No changes needed. * Add lintian override for package-name-doesnt-match-sonames. * Remove duplicate section/priority stanzas. * Fix a few minor problems in manpages. [ Daigo Moriwaki ] * Added a patch: - debian/patches/100327_r24850_bootstraptest_test_thread.dpatch Back port from the upstream r24850, fixing a test failure. -- Daigo Moriwaki Sat, 27 Mar 2010 11:00:48 +0900 ruby1.9.1 (1.9.1.378-1) unstable; urgency=medium * New upstream release * The upstream has fixed a vulnerability in WEBrick, a part of Ruby's standard library. WEBrick lets attackers to inject malicious escape sequences to its logs, making it possible for dangerous control characters to be executed on a victim's terminal emulator. (Closes: #564646) -- Daigo Moriwaki Mon, 11 Jan 2010 09:46:28 +0900 ruby1.9.1 (1.9.1.376-1) unstable; urgency=low * New upstream release -- Daigo Moriwaki Mon, 07 Dec 2009 22:34:25 +0900 ruby1.9.1 (1.9.1.375-1) unstable; urgency=low * Interim upstream 1.9.1-p375 (26021) * removed debian/patches/090908_regexp_unicode_class.dpatch: it is included upstream release. -- akira yamada Mon, 07 Dec 2009 08:24:55 +0900 ruby1.9.1 (1.9.1.339-1) unstable; urgency=low * Interim upstream 1.9.1-p339 (r25816) * Updated debian/generated-incs/*. * Updated patches - 909_update_lib_README * Updated debian/copyright. (s/ruby1\.9/ruby1.9.1/g) * Added debian/libopenssl-ruby1.9.1.lintian-overrides. -- akira yamada Wed, 18 Nov 2009 09:51:36 +0900 ruby1.9.1 (1.9.1.243-2) unstable; urgency=low [ Lucas Nussbaum ] * Removed Fumitoshi UKAI from Uploaders. Thanks a lot for the past help! * Removed obsolete Build-Conflicts: on gcc-3.3 (<< 1:3.3.2-0pre1) * Add ${misc:Depends} to Depends of all binary packages. Avoids debhelper-but-no-misc-depends lintian warning. * Add build-dependency on debhelper >= 5, since that's the compatibility level with request in debian/compat. Avoids package-lacks-versioned-build-depends-on-debhelper lintian warning. * Fix menu file for irb1.9.1. Avoids two menu-related lintian warnings. * Optimized debian/rmshebang.sh a bit. * Removed outdated option from DEB_CONFIGURE_USER_FLAGS: --with-default-kcode=none * Remove 901_extra_search_path: no longer needed. * Use --program-suffix=1.9.1 and hack configure.in so that all the paths except the ri path match what was done before. * Added debian/README.source. Avoids lintian warning. * Added a ruby1.9.1-full meta-package that depends on all the ruby 1.9.1 binary packages. Closes: #503580. * Ignore failures of test suite on FreeBSD. * Bumped Standards-Version to 3.8.3. No changes needed. * Remove executable mode on all example scripts. (fix lintian warning) * Run all tests, not just the ones in ruby/. [ akira yamada ] * Added debian/patches/090908_regexp_unicode_class.dpatch: - \d, \s and \w are now non Unicode class. [ruby-dev:39026] - warn duplicated characters in character class. [ruby-core:24593] (backported from r24387 and r24544.) -- Lucas Nussbaum Wed, 09 Sep 2009 21:55:24 +0200 ruby1.9.1 (1.9.1.243-1) unstable; urgency=low [ Daigo Moriwaki ] * debian/watch: corrected to follow the new versioning by the upstream such as 1.9.1-p0.tar.gz * Added debian/patches/090301_r22440_OCSP_basic_verify.dpatch Not properly checking the return value of OCSP_basic_verify (Closes: #513528) * Added debian/patches/090803_exclude_rdoc.dpatch to avoid errors to for generating RDoc documents. * debian/fixshebang.sh: skip non-text files, which works around hanging of sed on scanning gif images. * The upstream's COPYING* is no longer installed (due to Debian policy). That informatin is included in debian/copyright. * debian/ruby1.9.1-elisp.emacsen-{remove|startup|install}: Corrected the package name. [ Lucas Nussbaum ] * Build-Depends on procps. Closes: #510914. * Added patch 940_test_thread_mutex_sync_shorter: makes test_mutex_synchronize much shorter to deal with slow arches. Closes: #514696. * Added patch 940_hppa_disable_test_propag_signal: disable test_should_propagate signal on hppa. Closes: #514695. * Checked that 1.9.1.0 fixes CVE-2008-3905. Closes: #498977. * debian/patches cleanups. Removed obsolete patches. * Added 940_test_file_exhaustive_fails_as_root and 940_test_priority_fails to deal with test suite failures. * Disable 102_skip_test_copy_stream and 104_skip_btest_io: I couldn't reproduce the failure on x86-64. Is it arch-specific? * common-post-build-arch:: fail if the test suites fail. * Fix location of vendor dir in configure option. /usr/lib[...], not usr/lib[...]. * New upstream release: 1.9.1.243. + 090301_r22440_OCSP_basic_verify.dpatch no longer needed (was a backport) + Updated debian/generated-incs/*. * Added 090729_fix_Makefile_deps.dpatch: add dependency in common.mk between do-install-nodoc and $(PROGRAM). * Handle DEB_BUILD_OPTIONS="nocheck" to allow to skip the test suite. * Move manpages to debian/manpages/ * Started the rename from *1.9 to *1.9.1: source package and binary packages done. * Fix building on lpia (Fixes: #532057). * Disable the test suite on hppa since it blocks because of strange signal semantics. * Bumped Standards-Version to 3.8.2. No changes needed. * Agree with ftpmaster's overrides. -- Lucas Nussbaum Thu, 30 Jul 2009 01:24:03 +0200 ruby1.9 (1.9.1.0-1) experimental; urgency=low * new upstream version. * updated debian/generated-incs/*. * change package name to libruby1.9.1 from librub1.9-1.9. Here "1.9.1" indicates Ruby API version. libruby1.9.1 conflicts/replaces: libruby1.9. (No confilcts/replaces for libruby1.9-1.9 because these packages are note relased to Debian.) It is preparations for ABI changes in the future version of Ruby 1.9. * adjusted 903_skip_base_ruby_check. * updated 931_libruby_suffix. ruby runtime library is libRUBYNAME-1.9.1.so*. * updated debian/NEWS. -- akira yamada Tue, 03 Feb 2009 22:23:42 +0900 ruby1.9 (1.9.1~rc2-1) experimental; urgency=low * new upstream release. * updated debian/generated-incs/*. * updated 202_gem_default_dir. * change package name to libruby1.9-1.9 from librub1.9. (libruby1.9-1.9 conflicts/replaces: libruby1.9.) It is preparations for ABI changes in the future version of Ruby 1.9. * added 931_libruby_suffix. It filechanges name of ruby runtime library to libRUBYNAME-1.9.so* from libRUBYNAME.so. -- akira yamada Thu, 22 Jan 2009 10:08:27 +0900 ruby1.9 (1.9.1~rc1-1) experimental; urgency=low * new upstream release. * updated 202_gem_default_dir. * updated 201_gem_prelude and re-entered to 00list. * removed unneeded dpatches: - 308_r20120_rexml_DoS_fix_regression - 920_rexml_document_transitive.dpatch * added 203_adjust_base_of_search_path: it changes base directory of search path to /usr/lib/ruby from /usr/lib/ruby1.9 for compatibility. ("ruby1.9" come from ruby_install_name.) [experimental] * debian/rules: configure with --vendor-ruby=/usr/lib/ruby/vendor_ruby for compatibility. [experimental] -- akira yamada Thu, 15 Jan 2009 11:17:40 +0900 ruby1.9 (1.9.1~preview1-1) experimental; urgency=low * new upstream release. * old "i386-linux" directory is no longer supported. * updated debian/generated-incs/*. * removed unneeded dpatch from 00list: - 101_parse_rb.dpatch - 103_array_c_r17570_to_r17756.dpatch - 201_gem_prelude.dpatch - 301_dns_spoofing_r18424 - 302_r18220_webrick_DoS - 303_r17726_syslog_safeleve4 - 304_r17577_trace_var_safeleve4 - 305_r18496_dl_tain - 306_r17586_methods_called_safelevel13 - 307_r19033_rexml_DoS - 930_zero_tainted * applied patches: - 202_gem_default_dir: regenerated from 201_gem_prelude. - 308_r20120_rexml_DoS_fix_regression: fixes regression. -- akira yamada Thu, 13 Nov 2008 16:06:57 +0900 ruby1.9 (1.9.0.2-9) unstable; urgency=high * fixes regression: - 307_r19033_rexml_DoS.dpatch: fixed DoS vulnerability in REXML. (ref: #502535) -- akira yamada Thu, 13 Nov 2008 13:26:36 +0900 ruby1.9 (1.9.0.2-8) unstable; urgency=high * Added patch: 930_zero_tainted.dpatch backport of upstream r17612. Closes: #501408 (RC bug). -- Lucas Nussbaum Thu, 16 Oct 2008 22:15:33 +0200 ruby1.9 (1.9.0.2-7) unstable; urgency=low * debian/rules: Fixed a FTBFS on hurd-i386: failure of cat /proc/cpuinfo no more stops the build process. (Closes: #497737) -- Daigo Moriwaki Fri, 05 Sep 2008 12:07:57 +0900 ruby1.9 (1.9.0.2-6) unstable; urgency=low * Added patches under debian/patches which were backported from the upstream and fixed multiple vulnerabilities: - 301_dns_spoofing_r18424.dpatch: fixed DNS spoofing vulnerability in resolv.rb. (CVE-2008-1447) - 302_r18220_webrick_DoS.dpatch: fixed DoS vulnerability in WEBrick. - 303_r17726_syslog_safeleve4.dpatch: syslog operations should be protected from $SAFE level 4. - 304_r17577_trace_var_safeleve4.dpatch: rb_f_trace_var should not be allowed at safe level 4. - 305_r18496_dl_tain.dpatch: dl doesn't check taintness, so it could allow attackers to call dangerous functions. - 306_r17586_methods_called_safelevel13.dpatch: Insecure methods may be called at safe level 1-3. (Closes: #494402) - 307_r19033_rexml_DoS.dpatch: fixed DoS vulnerability in REXML. (CVE-2008-3790) (Closes: #497610) -- Daigo Moriwaki Tue, 02 Sep 2008 22:11:34 -0400 ruby1.9 (1.9.0.2-5) unstable; urgency=low [ Lucas Nussbaum ] * Because of make's dependency handling on phony targets after the addition of the watch in 1.9.0.1-4, parse.o was rebuilt three times during the build process. Build it only once, which should reduce the build time significantly. [ Daigo Moriwaki ] * RubyGems did not work completely due to a gem_relude mechanism . This issue has been fixed. (Closes: #492206) - debian/patches/201_gem_prelude.dpatch - debian/rules -- Daigo Moriwaki Thu, 31 Jul 2008 00:54:00 +0900 ruby1.9 (1.9.0.2-4) unstable; urgency=low * Modified computing of arch_name to cope with armel. This was broken because of the change for lpia. We are now using the same code as ruby1.8's debian/rules. Closes: #490663. * Cleaned up debian/rules to use DEB_HOST_* instead of DEB_BUILD_*. -- Lucas Nussbaum Sun, 13 Jul 2008 16:30:24 +0200 ruby1.9 (1.9.0.2-3) unstable; urgency=low * Updated 102_skip_test_copy_stream.dpatch to also ignore test_copy_stream_socket. -- Lucas Nussbaum Sat, 12 Jul 2008 16:12:53 +0200 ruby1.9 (1.9.0.2-2) unstable; urgency=low * applied debian/patches/103_array_c_r17570_to_r17756.dpatch: - fixed an integer overflow bug. -- Daigo Moriwaki Wed, 09 Jul 2008 00:06:50 +0900 ruby1.9 (1.9.0.2-1) unstable; urgency=high * New upstream release. * debian/generated-incs/*.inc: updated. They were created directly from the source using ruby1.8. * Fixed vulnerability: arbitrary code execution vulnerability and so on (Closes: #487239) * debian/watch: supported the version numbering of the upstream. * removed patches that the upstream has applied: - debian/patches/800_parse_shebang_in_usascii.dpatch - debian/patches/801_too_strict_encoding_check.dpatch - debian/patches/802_hash_compare_by_identity.dpatch - debian/patches/803_syntaxerror_irb_bug.dpatch - debian/patches/804_debug.rb_is_bloken.dpatch - debian/patches/805_webrick_file_access_vulnerability.dpatch * removed patches since this package no longer provides rubygems. - debian/patches/910_gem_prelude.dpatch - debian/patches/911_default_gem_path.dpatch - debian/patches/913_disable_update_system.dpatch - debian/patches/917_avoid_ioseek.dpatch - debian/patches/918_tighter_search_regex.dpatch * Added debian/patches/101_parse_rb.dpatch: RDoc might have failed to parse. * Added debian/patches/102_skip_test_copy_stream.dpatch: skip a test -- Daigo Moriwaki Sat, 21 Jun 2008 16:02:58 +0900 ruby1.9 (1.9.0.1-5) experimental; urgency=low * The gem1.9 package is removed. Use rubygems1.9 instead. -- Daigo Moriwaki Sun, 08 Jun 2008 22:58:14 +0900 ruby1.9 (1.9.0.1-4) experimental; urgency=low * Improved 919_common.mk_tweaks.dpatch: outputs the result of "ps" on a regular basis, so the build doesn't timeout on slow arches like mips(el). * Move gem1.9 to a seperate package. This is necessary because gem1.9 requires rdoc1.9 (see https://bugs.launchpad.net/ubuntu/+source/ruby1.9/+bug/228345 ), so there are two solutions: - keep gem1.9 in ruby1.9, and merge back rdoc1.9. This cause people interested in running ruby apps (not developing ruby scripts) to install lots of unnecessary stuff. - move rubygems to a separate package. -- Lucas Nussbaum Sat, 24 May 2008 11:25:34 +0200 ruby1.9 (1.9.0.1-3) experimental; urgency=low * Add uname and /proc/cpuinfo output to the build log. * Added 919_common.mk_tweaks.dpatch: build more verbosely. Needed to avoid a timeout on mips(el). * Added 904_linux_target_os.dpatch from Ubuntu. Robustifies check for target_os. * debian/rules: Improved substitutions in arch_name (also from Ubuntu). -- Lucas Nussbaum Sat, 17 May 2008 18:04:13 +0200 ruby1.9 (1.9.0.1-2) experimental; urgency=low * Build with -O2 everywhere by default. * Upload to experimental to see how things work out. -- Lucas Nussbaum Wed, 07 May 2008 15:45:40 +0200 ruby1.9 (1.9.0.1-1) unstable; urgency=low [ akira yamada ] * new upstream snapshot 1.9.0-1. * debian/generated-incs/*: updated. * applied some bug fix patches: - 800_parse_shebang_in_usascii: [ruby-dev:33955] --encoding affects script encoding - 801_too_strict_encoding_check: [ruby-dev:33966] remove too strict encoding check - 802_hash_compare_by_identity: [ruby-dev:33989] Hash#compare_by_identity breaks commutativity of Hash#== - 803_syntaxerror_irb_bug: [ruby-dev:33991] SyntaxError should not be considered as IRB bug - 804_debug.rb_is_bloken: [ruby-dev:33992] debug.rb causes NoMethodError - 805_webrick_file_access_vulnerability: fixes vulnerbility of WEBrick which is described at - 900_ri_pager: updated. [ Lucas Nussbaum ] * debian/control: Added myself to Uploaders:. * debian/control: Added Homepage and Vcs-* fields. * added 909_update_lib_README.dpatch, backported from ruby1.8. * Improved description of ruby1.9-dev. * No longer build using gcc-4.1 on m68k. Use the default gcc version. (Closes: #463294) * debian/control: bumped Standards-Version to 3.7.3. No changes needed. * added watch file. [ Daigo Moriwaki ] * debian/control: - imporoved the description for libopenssl-ruby1.8. - ruby1.9-dev now depends on libc6-dev. -- Lucas Nussbaum Fri, 07 Mar 2008 17:35:14 +0100 ruby1.9 (1.9.0.0-2) unstable; urgency=low * Added debian/patches/910_gem_prelude.dpatch: changed the default rubygems home directory in prelude as well. (Closes: #458620) -- Daigo Moriwaki Wed, 02 Jan 2008 18:09:03 +0900 ruby1.9 (1.9.0.0-1) unstable; urgency=low [Akira Yamada] * new upstream version, 1.9.0-0. (closes: #457519, #446220) * added manpages for gem1.9 and rake1.9. * debian/generated-incs/*.inc: updated by files in upstream tarball. * debian/patches/801_update_sample_README.dpatch: removed. * debian/patches/903_skip_base_ruby_check.dpatch: updated. * debian/NEWS, debian/README.Debian: updated. [Daigo Moriwaki] * supported rubygems that has been merged with the upstream. I imported files and changes from libgems-ruby1.8_1.0.1.deb package. - added debian/patches/911_default_gem_path.dpatch - added debian/patches/913_disable_update_system.dpatch - added debian/patches/918_tighter_search_regex.dpatch - added debian/patches/917_avoid_ioseek.dpatch - added debian/libruby1.9.postrm.in - debian/patches/00list: applied above changes. - debian/README.Debian: added a note for rubygems - debian/libruby1.9.postinst.in: script to remove a cache file. - debian/rules: applied above changes. -- akira yamada Wed, 26 Dec 2007 12:46:09 +0900 ruby1.9 (1.9.0+20071225-1) unstable; urgency=low * new upstream snapshot. (r14640) * updated debian/generated-incs/* files. -- akira yamada Tue, 25 Dec 2007 10:49:38 +0900 ruby1.9 (1.9.0+20071016-1) unstable; urgency=high * new upstream snapshot. (r13713) - fixed CVE-2007-5162. - fixed illegal instructions at runtime on sparc. (closes: #366444) Thanks to Lucas Nussbaum. * updated debian/generated-incs/* files. * debian/rules: fixed wrong arch_name for arm-linux-gnueabi. (closes: #445433) Thanks to Riku Voipio. * debian/ruby1.9-elisp.emacsen-startup: uses "\\\\'" for ignore newlines in filenames. (closes: #446180) Thanks to Trent W. Buck. * debian/control: added Daigo Moriwaki to uploaders and removed Akira Tagoh from uploaders. -- akira yamada Thu, 18 Oct 2007 09:36:36 +0900 ruby1.9 (1.9.0+20070910-1) unstable; urgency=low * new upstream snapshot. (r13426) * debian/rules: added -g option to CPPFLAGS and CXXFLAGS. -- akira yamada Tue, 11 Sep 2007 10:46:09 +0900 ruby1.9 (1.9.0+20070830-2) unstable; urgency=low * configure.in: skip host ruby check. * debian/generated-incs/prelude.c: added. (closes: #440480) -- akira yamada Sun, 02 Sep 2007 09:20:54 +0900 ruby1.9 (1.9.0+20070830-1) unstable; urgency=low * new upstream snapshot. (r13318) (closes: #426134, #426267) * updated debian/generated-incs/* files. * added debian/patches/902_define_YAML_in_yaml_stringio.rb.dpatch. -- akira yamada Thu, 30 Aug 2007 13:53:44 +0900 ruby1.9 (1.9.0+20070606-1) unstable; urgency=low * new upstream snapshot. (2006-06-06) * updated debian/generated-incs/* files. -- akira yamada Wed, 06 Jun 2007 11:58:24 +0900 ruby1.9 (1.9.0+20070526-1) unstable; urgency=low * new upstream snapshot. (2006-05-26) -- akira yamada Sat, 26 May 2007 21:02:58 +0900 ruby1.9 (1.9.0+20070523-1) unstable; urgency=low * new upstream snapshot. (2006-07-23) * added debian/generated-incs/* files: They are are generated by "make incs". Updating these files is needed when the source is updated. (Closes: #425607) -- akira yamada Wed, 23 May 2007 13:21:02 +0900 ruby1.9 (1.9.0+20070521-1) unstable; urgency=low * new upstream snapshot. (2006-07-21) (Closes: #414856, #388344) -- akira yamada Mon, 21 May 2007 14:00:19 +0900 ruby1.9 (1.9.0+20060609-1) unstable; urgency=low * new upstream snapshot. (2006-06-09) * configure with -fno-strict-aliasing (Bug#370553) * rdoc1.9 suggests graphviz (Bug#339524) * debian/copyright: added a note for using libopenssl-ruby1.9. (Bug#367024) * debian/README.Debian: updated. (Closes: #344294) * added debian/patches/802_mkconfig.dpatch -- akira yamada Thu, 13 Jul 2006 22:43:47 +0900 ruby1.9 (1.9.0+20060423-4) unstable; urgency=low * reverted to 1.9.0+20060423-3. - 1.9.0+20060423-3.1 is not enough to fix the probleam and - 1.9.0+20060423-3.1 ignores dpatch :-< -- akira yamada Thu, 7 Jul 2006 22:44:23 +0900 ruby1.9 (1.9.0+20060423-3.1) unstable; urgency=low * Non-maintainer upload. * Make mkconfig.rb understand autoconf >2.59a's new way of doing config.status; it inserts #|_!!_|# into the sed lines temporarily, then removes them at the end. Since mkconfig.rb only parses these lines instead of executing the entire sed script, it has to remove #|_!!_|# by itself. This fixes FTBFS with newer autoconf. (Closes: #373953) -- Steinar H. Gunderson Sun, 25 Jun 2006 16:05:24 +0200 ruby1.9 (1.9.0+20060423-3) unstable; urgency=low * akira yamada - debian/control, debian/rules: uses gcc-4.1 for m68k. (Closes: #360745) -- akira yamada Tue, 25 Apr 2006 23:00:39 +0900 ruby1.9 (1.9.0+20060423-2) unstable; urgency=medium * akira yamada - debian/rules: CFLAGS=-O0 for avoiding a bug of gcc-4.0 on m68k. (Closes: #360745) -- akira yamada Tue, 25 Apr 2006 12:46:34 +0900 ruby1.9 (1.9.0+20060423-1) unstable; urgency=low * akira yamada - new upstream snapshot. (2006-04-23) -- akira yamada Sun, 23 Apr 2006 18:14:31 +0900 ruby1.9 (1.9.0+20050921-1) unstable; urgency=high * akira yamada - new upstream snapshot. (2005-09-21) - [security] JVN#62914675 CVE-2005-2337 - preserve safe level in the environment where a method is defined. - prohibit calling tainted method (>2) when $SAFE == 0. - removed debian/patches/802_workaround_for_send.dpatch: - the patch is in upstream. - debian/control: build-depends on libreadline5-dev. (closes: #326333) -- akira yamada Wed, 21 Sep 2005 13:16:19 +0900 ruby1.9 (1.9.0+20050902-1) unstable; urgency=high * akira yamada - new upstream snapshot. (2005-09-02) - [security] preserve safe level in the environment where a method is defined. - added debian/patches/802_workaround_for_send.dpatch: - workaround for changed behavior of __send__. [ruby-dev:26935] -- akira yamada Fri, 2 Sep 2005 15:21:10 +0900 ruby1.9 (1.9.0+20050727-1) unstable; urgency=low * akira yamada - new upstream snapshot. (2005-07-27) - removed debian/patches/803_runruby.rb_loadpath.dpatch: - the patch is in upstream source. -- akira yamada Wed, 3 Aug 2005 19:56:18 +0900 ruby1.9 (1.9.0+20050623-2) unstable; urgency=high * akira yamada - debian/rules: supported to build with dpkg-dev_1.13. (ref: ) - changed arch-name for Ruby to i486-linux from i386-linux because DEB_BUILD_GNU_TYPE is changed to i486-linux-gnu from i386-linux. - (urgency high) used -linux instead of -linux-gnu for paths in debian/*.files. (ref: Bug#315566) - added patches/902_extra_search_path.patch: - temporally added "/usr/local/lib/site_ruby/1.8/i386-linux" and "/usr/lib/ruby/1.8/i386-linux" as extra search paths to Ruby on ix86 arch. - added debian/NEWS. -- akira yamada Wed, 29 Jun 2005 23:53:01 +0900 ruby1.9 (1.9.0+20050623-1) unstable; urgency=high * akira yamada - new upstream snapshot. - (urgency high) fixed arbitrary command execution on XMLRPC server. [ruby-core:5237] (see: CAN-2005-1992, Bug#315064) - added debian/patches/803_runruby.rb_loadpath.dpatch: - runruby.rb should require rbconfig.rb in source directory. (it is for make install-doc.) -- akira yamada Thu, 23 Jun 2005 20:33:03 +0900 ruby1.9 (1.9.0+20050412-4) unstable; urgency=low * akira yamada - debian/rules: CFLAGS=-O0 is for ia64 not for i386. -- akira yamada Sun, 17 Apr 2005 03:30:22 +0900 ruby1.9 (1.9.0+20050412-3) unstable; urgency=high - debian/rules: fixed wrong filename conversion. (closes: #304809) - debian/libruby1.9.*.in: should not be empty. -- akira yamada Sat, 16 Apr 2005 01:44:05 +0900 ruby1.9 (1.9.0+20050412-2) unstable; urgency=high * akira yamada - debian/rules: binary-install/ should contain dh_movefiles only, because "debian/rules binary-arch" cannot create some directories. -- akira yamada Fri, 15 Apr 2005 06:47:44 +0900 ruby1.9 (1.9.0+20050412-1) unstable; urgency=low * akira yamada - uploaded to Debian. (closes: #256004) -- akira yamada Wed, 13 Apr 2005 18:06:34 +0900 ruby1.9 (1.9.0+20050412-0+1) unstable; urgency=low * akira yamada - initial packaging. -- akira yamada Wed, 13 Apr 2005 07:28:16 +0900 debian/compat0000664000000000000000000000000212247132667010400 0ustar 9 debian/libruby1.9.1.prerm.in0000664000000000000000000000123412247132667012715 0ustar #! /bin/sh set -e case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear|deconfigure) if [ -w /usr/local/lib -a -e /usr/local/lib/site_ruby/@@verdir@@ ] then rmdir /usr/local/lib/site_ruby/@@verdir@@/@@arch@@ 2>/dev/null || true rmdir /usr/local/lib/site_ruby/@@verdir@@ 2>/dev/null || true rmdir /usr/local/lib/site_ruby 2>/dev/null || true fi if [ -e /var/lib/gems/@@verdir@@ ] then rmdir /var/lib/gems/@@verdir@@ 2>/dev/null || true fi ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 0 esac #DEBHELPER#debian/ruby1.9.1.menu0000664000000000000000000000017012247132667011436 0ustar ?package(ruby1.9.1):needs="text" section="Applications/Programming" title="Ruby (irb1.9.1)" command="/usr/bin/irb1.9.1" debian/rules0000775000000000000000000002737312262041421010256 0ustar #!/usr/bin/make -f ruby_ver = 1.9.1 ruby_ver_major = 1.9 ruby_ver_dir = $(ruby_ver) ruby_libpkgsfx = $(ruby_ver) tcltk_ver = 8.5 arch_name = $(subst linux-gnu,linux-,$(patsubst %linux-gnu,%linux,$(DEB_HOST_GNU_TYPE))) ifeq (i686-linux-lp,$(arch_name)) arch_name = i686-linux endif ruby_name = ruby$(ruby_ver) ruby_libbase = usr/lib/ruby ruby_libdir = $(ruby_libbase)/$(ruby_ver_dir) ruby_archdir = $(ruby_libbase)/$(ruby_ver_dir)/$(arch_name) bin_dir = usr/bin man_dir = usr/share/man/man1 el_etc = etc/emacs/site-start.d examples_dir = $(CURDIR)/debian/ruby$(ruby_ver)-examples/usr/share/doc/ruby$(ruby_ver)-examples/examples insns_cache_dir = debian/generated-incs #deb_ver = $(shell dpkg-parsechangelog | awk '/^Version:/{print $2}') include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/class/autotools.mk DEB_AUTO_UPDATE_AUTOCONF = YES CFLAGS += -fno-strict-aliasing CXXFLAGS += -fno-strict-aliasing LDFLAGS += -L$(CURDIR)/debian/lib # Renesas SH(sh4) needs -mieee option. #591785 ifeq (sh4,$(shell dpkg-architecture -qDEB_HOST_ARCH)) CFLAGS += -mieee endif ifeq ($(DEB_HOST_GNU_CPU),i386) DEB_CONFIGURE_USER_FLAGS += --enable-frame-address endif ifneq (,$(filter $(DEB_HOST_GNU_CPU),i486 i586 i686)) DEB_CONFIGURE_USER_FLAGS += --enable-frame-address endif DEB_CONFIGURE_USER_FLAGS += --enable-pthread DEB_CONFIGURE_USER_FLAGS += --enable-shared DEB_CONFIGURE_USER_FLAGS += --disable-rpath DEB_CONFIGURE_USER_FLAGS += --disable-install-doc DEB_CONFIGURE_USER_FLAGS += --with-vendordir='/$(ruby_libbase)/vendor_ruby' DEB_CONFIGURE_USER_FLAGS += --with-sitedir='/usr/local/lib/site_ruby' DEB_CONFIGURE_USER_FLAGS += --program-suffix=1.9.1 DEB_CONFIGURE_USER_FLAGS += --with-soname=ruby-1.9.1 # the following are ignored by ./configure, but used by some extconf.rb scripts DEB_CONFIGURE_USER_FLAGS += --enable-ipv6 DEB_CONFIGURE_USER_FLAGS += --with-dbm-type=gdbm_compat DEB_CONFIGURE_USER_FLAGS += --with-tklib=tk$(tcltk_ver) DEB_CONFIGURE_USER_FLAGS += --with-tcllib=tcl$(tcltk_ver) DEB_CONFIGURE_USER_FLAGS += --with-tcl-include=/usr/include/tcl$(tcltk_ver) DEB_CONFIGURE_USER_FLAGS += --with-tk-include=/usr/include/tcl$(tcltk_ver) DEB_CONFIGURE_USER_FLAGS += --with-tcl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) DEB_CONFIGURE_USER_FLAGS += --with-tk-lib=/usr/lib/$(DEB_HOST_MULTIARCH) DEB_CONFIGURE_USER_FLAGS += --with-bundled-sha1 DEB_CONFIGURE_USER_FLAGS += --with-bundled-md5 DEB_CONFIGURE_USER_FLAGS += --with-bundled-rmd160 ifeq (,$(filter nordoc,$(DEB_BUILD_OPTIONS))) DEB_MAKE_BUILD_TARGET = all else DEB_MAKE_BUILD_TARGET = main endif DEB_INSTALL_DOCS_libtcltk-ruby$(ruby_ver) += $(DEB_SRCDIR)/ext/tk/README* DEB_INSTALL_DOCS_libtcltk-ruby$(ruby_ver) += $(DEB_SRCDIR)/ext/tk/MANUAL* DEB_INSTALL_DIRS_ruby$(ruby_ver) += $(bin_dir) DEB_INSTALL_DIRS_ruby$(ruby_ver) += $(man_dir) DEB_INSTALL_DOCS_ruby$(ruby_ver) += DEB_INSTALL_DOCS_ruby$(ruby_ver) += $(DEB_SRCDIR)/LEGAL DEB_INSTALL_DOCS_ruby$(ruby_ver) += $(DEB_SRCDIR)/README DEB_INSTALL_DOCS_ruby$(ruby_ver) += $(DEB_SRCDIR)/README.ja DEB_INSTALL_DOCS_ruby$(ruby_ver) += $(DEB_SRCDIR)/ToDo DEB_INSTALL_DOCS_ruby$(ruby_ver) += $(DEB_SRCDIR)/doc/NEWS-1.8.7 DEB_INSTALL_MANPAGES_ruby$(ruby_ver) += debian/manpages/testrb$(ruby_ver).1 DEB_INSTALL_MANPAGES_ruby$(ruby_ver) += debian/manpages/erb$(ruby_ver).1 DEB_INSTALL_MANPAGES_ruby$(ruby_ver) += debian/manpages/rake$(ruby_ver).1 DEB_INSTALL_MANPAGES_ruby$(ruby_ver) += debian/manpages/rdoc$(ruby_ver).1 DEB_INSTALL_MANPAGES_ruby$(ruby_ver) += debian/manpages/irb$(ruby_ver).1 DEB_INSTALL_MANPAGES_ruby$(ruby_ver) += debian/manpages/gem$(ruby_ver).1 DEB_INSTALL_MANPAGES_ruby$(ruby_ver) += debian/manpages/ri$(ruby_ver).1 DEB_INSTALL_DOCS_libruby$(ruby_libpkgsfx) += $(DEB_SRCDIR)/lib/README DEB_INSTALL_DOCS_libruby$(ruby_libpkgsfx) += $(DEB_SRCDIR)/doc/NEWS-1.8.7 DEB_INSTALL_DOCS_libruby$(ruby_libpkgsfx) += $(DEB_SRCDIR)/doc/*.rd* DEB_INSTALL_DOCS_ruby$(ruby_ver)-dev += $(DEB_SRCDIR)/README.EXT* DEB_COMPRESS_EXCLUDE = .rb .pl .py .scm .awk .dat DEB_SHLIBDEPS_INCLUDE = $(CURDIR)/debian/libruby$(ruby_libpkgsfx)/usr/lib DEB_DH_MAKESHLIBS_ARGS_libruby$(ruby_libpkgsfx) = -V pre-build:: (find $(insns_cache_dir) -type f -print; \ echo configure; \ echo parse.c; \ ) | \ while read f; \ do \ bf=`basename $$f`; \ if [ ! -e $$bf.upstream-orig ] && [ -e $$bf ]; then \ cp -p $$bf $$bf.upstream-orig; \ fi; \ if [ "$$f" != "$$bf" ]; then \ cp -p $$f $$bf; \ fi; \ done echo -n "uname -a: " uname -a echo "/proc/cpuinfo: ----------" -cat /proc/cpuinfo echo "-------------------------" mkdir -p debian/lib ln -sf /usr/lib/$(DEB_HOST_MULTIARCH)/libtcl$(tcltk_ver).so debian/lib/libtcl.so ln -sf /usr/lib/$(DEB_HOST_MULTIARCH)/libtk$(tcltk_ver).so debian/lib/libtk.so common-post-build-arch:: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # Disable test suites on some broken architectures. # See http://lists.debian.org/debian-release/2011/10/msg00279.html ifeq (,$(filter $(DEB_BUILD_ARCH),ia64 kfreebsd-i386 kfreebsd-amd64 sparc)) debian/run-test-suites.bash endif endif binary-install/libtcltk-ruby$(ruby_ver):: dh_movefiles -p$(cdbs_curpkg) \ $(ruby_archdir)/tcltklib.so \ $(ruby_archdir)/tkutil.so chrpath --delete $(CURDIR)/debian/$(cdbs_curpkg)/$(ruby_archdir)/tcltklib.so sh $(CURDIR)/debian/extfixup_rubylibs.sh $(ruby_libdir) $(cdbs_curpkg) \ $(DEB_SRCDIR)/ext/tk install -d \ $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples (cd $(DEB_SRCDIR)/ext/tk/sample && \ tar cf - .) | \ (cd $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples && tar xf -) mv $(CURDIR)/debian/tmp/$(ruby_libdir)/tkextlib/SUPPORT_STATUS \ $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/ install \ $(DEB_SRCDIR)/ext/tk/lib/README \ $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/README.lib install \ $(DEB_SRCDIR)/ext/tk/lib/tkextlib/tcllib/README \ $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/README.tcllib install \ $(DEB_SRCDIR)/ext/tk/lib/tkextlib/tkimg/README \ $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/README.tkimg binary-install/libruby$(ruby_libpkgsfx):: $(patsubst %,binary-install/%,$(filter-out libruby$(ruby_libpkgsfx),$(DEB_PACKAGES))) install -d $(CURDIR)/debian/$(cdbs_curpkg)/$(ruby_archdir) for s in $(CURDIR)/debian/$(cdbs_curpkg).*.in; do \ sed -e 's/@@arch@@/$(arch_name)/g' \ -e 's/@@verdir@@/$(ruby_ver_dir)/g' \ < $$s > `expr $$s : '\(.*\)\.in$$'`; \ done (cd $(CURDIR)/debian/tmp/usr/lib && \ for f in libruby-$(ruby_ver).so.$(ruby_ver) libruby-$(ruby_ver).so.$(ruby_ver_major); do \ echo usr/lib/$$f; \ done) | xargs dh_movefiles -p$(cdbs_curpkg) # Do not install the SSL certs bundled in the upstream source dh_movefiles -p$(cdbs_curpkg) -Xssl_certs $(ruby_libdir) cd $(DEB_SRCDIR)/ext && \ for dir in \ bigdecimal continuation curses digest dl etc \ fcntl iconv io json nkf openssl psych pty racc readline \ ripper sdbm socket stringio strscan syck syslog zlib \ ; \ do \ install -d "$(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/$$dir"; \ find $$dir \ -name '*README*' -or -name '*.html*' -or \ -name '*.txt*' -or -name '*.rd*' | \ while read fname; \ do \ cp "$$fname" \ "$(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/$$dir"; \ done; \ rmdir "$(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/$$dir" 2>/dev/null || :; \ done find $(CURDIR)/debian/etc -type f -name "*.in" | \ while read fname; \ do \ sed -e 's/@@VERSION@@/1\.9\.1/g' -e 's/@@DOTLESS_VERSION@@/191/g' \ < $$fname > `expr $$fname : '\(.*\)\.in$$'`1.9.1; \ done; \ : \ done dh_install -p$(cdbs_curpkg) \ debian/etc/bash_completion.d/gem1.9.1 etc/bash_completion.d/ binary-install/ruby$(ruby_ver)-dev:: dh_movefiles -p$(cdbs_curpkg) \ usr/lib/libruby-$(ruby_ver).so \ usr/lib/libruby-$(ruby_ver)-static.a \ $(ruby_libdir)/mkmf.rb \ usr/lib/pkgconfig/ruby-1.9.pc (cd $(CURDIR)/debian/tmp && \ find usr/include/ruby-$(ruby_ver) -name '*.h' -type f) | \ xargs dh_movefiles -p$(cdbs_curpkg) binary-install/ruby$(ruby_ver):: dh_movefiles -p$(cdbs_curpkg) \ usr/bin/ruby1.9.1 \ usr/bin/erb1.9.1 \ usr/bin/testrb1.9.1 \ usr/bin/rake1.9.1 \ usr/bin/rdoc1.9.1 \ usr/bin/irb1.9.1 \ usr/bin/ri1.9.1 \ usr/bin/gem1.9.1 \ usr/share/man/man1/ruby1.9.1.1 binary-post-install/ri$(ruby_ver):: ifeq (,$(filter nordoc,$(DEB_BUILD_OPTIONS))) +$(DEB_MAKE_INVOKE) install-doc DESTDIR=$(CURDIR)/debian/$(cdbs_curpkg) \ RDOCFLAGS="--exclude debian --exclude test" endif binary-post-install/ruby$(ruby_ver)-examples:: install -d $(examples_dir)/bigdecimal cp -a $(DEB_SRCDIR)/ext/bigdecimal/sample/* $(examples_dir)/bigdecimal install -d $(examples_dir)/curses cd $(DEB_SRCDIR)/ext/curses && \ cp hello.rb mouse.rb rain.rb view.rb view2.rb \ $(examples_dir)/curses # install -d $(examples_dir)/digest # install -d $(examples_dir)/dl # install -d $(examples_dir)/enumerator # install -d $(examples_dir)/etc # install -d $(examples_dir)/fcntl # install -d $(examples_dir)/iconv # install -d $(examples_dir)/io # install -d $(examples_dir)/nkf install -d $(examples_dir)/pty # install -d $(examples_dir)/racc install -d $(examples_dir)/ripper cd $(DEB_SRCDIR)/ext/ripper && \ cp tools/* $(examples_dir)/ripper # install -d $(examples_dir)/sdbm # install -d $(examples_dir)/socket # install -d $(examples_dir)/stringio # install -d $(examples_dir)/strscan # install -d $(examples_dir)/syck # install -d $(examples_dir)/syslog # install -d $(examples_dir)/zlib (cd $(DEB_SRCDIR)/sample && tar cf - .) | \ (cd $(examples_dir) && tar xf -) find $(examples_dir) -type f -name '*.rb' -perm /111 -exec chmod a-x {} \+ $(patsubst %,binary-post-install/%,$(DEB_PACKAGES)):: bash $(CURDIR)/debian/fixshebang.sh ruby$(ruby_ver) \ '$(CURDIR)/debian/$(cdbs_curpkg)/$(bin_dir)' bash $(CURDIR)/debian/fixshebang.sh ruby$(ruby_ver) \ '$(CURDIR)/debian/$(cdbs_curpkg)/usr/share/doc/$(cdbs_curpkg)/examples' sh $(CURDIR)/debian/rmshebang.sh \ '$(CURDIR)/debian/$(cdbs_curpkg)/$(ruby_libdir)' clean:: rm -rf \ .installed.list \ .ext \ exts.mk \ prelude.c \ debian/libruby$(ruby_libpkgsfx).postinst \ debian/libruby$(ruby_libpkgsfx).prerm \ debian/libruby$(ruby_libpkgsfx).postrm \ debian/etc/bash_completion.d/gem1.9.1 (find $(insns_cache_dir) -type f -print; \ echo configure; \ echo parse.c; \ ) | \ while read f; \ do \ bf=`basename $$f`; \ if [ -e $$bf.upstream-orig ]; then \ mv -f $$bf.upstream-orig $$bf; \ fi; \ done echo -n "uname -a: " if [ -f $(DEB_SRCDIR)/config.guess.cdbs-orig ]; \ then \ mv $(DEB_SRCDIR)/config.guess.cdbs-orig \ $(DEB_SRCDIR)/config.guess; \ fi if [ -f $(DEB_SRCDIR)/config.sub.cdbs-orig ]; \ then \ mv $(DEB_SRCDIR)/config.sub.cdbs-orig \ $(DEB_SRCDIR)/config.sub; \ fi rm -rf debian/lib PACKAGE = ruby1.9.1 SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' ) TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz SVN_PATH = http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_3 #SVN_PATH = http://svn.ruby-lang.org/repos/ruby/trunk .PHONY: get-orig-source check-orig-source get-orig-source: rm -rf get-orig-source $(TARBALL) mkdir get-orig-source svn export -r $(SVN_REVISION) $(SVN_PATH) \ get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig rm -rf get-orig-source echo " "$(TARBALL)" created; move it to the right destination to build the package" check-orig-source: svn log $(SVN_PATH) | head -20 debian/ri1.9.1.rd0000664000000000000000000000311512247132667010532 0ustar =begin = NAME ri1.9 - Ruby Information at your fingertips = SYNOPSIS ri1.9 [options] [names...] = DESCRIPTION ((*ri1.9*)) displaies information on Ruby classes, modules, and methods. You can give the names of classes or methods to see their documentation. Partial names may be given: if the names match more than one entity, a list will be shown, otherwise details on that entity will be displayed. Nested classes and modules can be specified using the normal Name::Name notation, and instance methods can be distinguished from class methods using "." (or "#") instead of "::". For example: ri1.9 File ri1.9 File.new ri1.9 F.n ri1.9 zip Note that shell quoting may be required for method names containing punctuation: ri1.9 'Array.[]' ri1.9 compact\! = OPTIONS : --classes, -c Display the names of classes and modules we know about. : --doc-dir, -d ((|dirname|)) A directory to search for documentation. If not specified, we search the standard rdoc/ri directories. : --format, -f ((|name|)) Format to use when displaying output: ansi, bs, html, plain, simple. Use 'bs' (backspace) with most pager programs. To use ANSI, either also use the -T option, or tell your pager to allow control characters. (for example using the -R option to less.) : --list-names, -l List all the names known to RDoc, one per line. : --no-pager, -T Send output directly to stdout. : --width, -w ((|width|)) Set the width of the output. : --version, -v Display the version of ri1.9. : --help, -h Display help. Options may also be passed in the 'RI' environment variable =end debian/control0000664000000000000000000001520312277552563010612 0ustar Source: ruby1.9.1 Section: ruby Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Antonio Terceiro Uploaders: akira yamada , Daigo Moriwaki , Lucas Nussbaum Build-Depends: debhelper (>= 9.0), cdbs (>= 0.4.106), quilt, patch, autoconf, m4, bison, libgdbm-dev, libncursesw5-dev, libncurses5-dev, libreadline6-dev, tcl8.5-dev, tk8.5-dev, zlib1g-dev, libssl-dev, procps, file, libffi-dev, ruby | ruby-interpreter, libyaml-dev, openssl, chrpath, coreutils (>= 7.5) Standards-Version: 3.9.4 Homepage: http://www.ruby-lang.org/ Vcs-Git: git://git.debian.org/collab-maint/ruby1.9.1.git Vcs-Browser: http://git.debian.org/?p=collab-maint/ruby1.9.1.git;a=summary Package: ruby1.9.1 Architecture: any Depends: ruby (>= 1:1.9.3.1), libruby1.9.1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Suggests: ruby1.9.1-examples, ri1.9.1, graphviz, ruby1.9.1-dev, ruby-switch Conflicts: rdoc1.9.1 (<< 1.9.1.378-2~), irb1.9.1 (<< 1.9.1.378-2~), rubygems1.9.1, ri1.9.1 (<< 1.9.2.180-3~), ruby (<= 4.5), ri (<= 4.5) Replaces: rdoc1.9.1, irb1.9.1, rubygems1.9.1 Provides: rdoc1.9.1, irb1.9.1, rubygems1.9.1, ruby-interpreter Description: Interpreter of object-oriented scripting language Ruby Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in perl). It is simple, straight-forward, and extensible. . In the name of this package, `1.9.1' indicates the Ruby library compatibility version. This package currently provides the `1.9.3' branch of Ruby, which is compatible with the `1.9.1' branch. Package: libruby1.9.1 Section: libs Architecture: any Depends: ruby1.9.1 (= ${binary:Version}), ca-certificates, ${shlibs:Depends}, ${misc:Depends} Conflicts: libdbm-ruby1.9.1, libgdbm-ruby1.9.1, libreadline-ruby1.9.1, libopenssl-ruby1.9.1, irb1.8 (<< 1.9.1.378-2~), rdoc1.8 (<< 1.9.1.378-2~) Replaces: libdbm-ruby1.9.1, libgdbm-ruby1.9.1, libreadline-ruby1.9.1, libopenssl-ruby1.9.1, irb1.8, rdoc1.8 Provides: libdbm-ruby1.9.1, libgdbm-ruby1.9.1, libreadline-ruby1.9.1, libopenssl-ruby1.9.1 Description: Libraries necessary to run Ruby 1.9.1 Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in perl). It is simple, straight-forward, and extensible. . This package includes the 'libruby-1.9.1' library, necessary to run Ruby 1.9. (API version 1.9.1) Package: libruby1.9.1-dbg Section: debug Priority: extra Architecture: any Depends: libruby1.9.1 (= ${binary:Version}), ${misc:Depends} Description: Debugging symbols for Ruby 1.9.1 Contains debugging symbols for libruby1.9.1. . This package is provided primarily to provide a backtrace with names in a debugger, this makes it somewhat easier to interpret core dumps. Most people will not need this package. Package: ruby1.9.1-dev Architecture: any Depends: libruby1.9.1 (= ${binary:Version}), libc6-dev, ${misc:Depends} Recommends: ruby1.9.1 (= ${binary:Version}) Description: Header files for compiling extension modules for the Ruby 1.9.1 Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in perl). It is simple, straight-forward, and extensible. . This package contains the header files and the mkmf library, necessary to make extension library for Ruby 1.9.1. It is also required to build many gems. Package: libtcltk-ruby1.9.1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tcl/Tk interface for Ruby 1.9.1 tcltklib is an extension library for Ruby 1.9.1. It makes Ruby 1.9.1 programs to be able to use low level interface for the Tcl/Tk. Package: ruby1.9.1-examples Architecture: all Depends: ${misc:Depends} Suggests: ruby1.9.1 (>= ${source:Version}) Description: Examples for Ruby 1.9 This package provides example programs about Ruby 1.9.1. . Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in perl). It is simple, straight-forward, and extensible. Package: ri1.9.1 Architecture: all Depends: ruby1.9.1 (>= ${source:Version}), ${misc:Depends} Description: Ruby Interactive reference (for Ruby 1.9.1) ri is a command line tool that displays descriptions of built-in Ruby methods, classes, and modules. For methods, it shows you the calling sequence and a description. For classes and modules, it shows a synopsis along with a list of the methods the class or module implements. . This package provides ri command and descriptions about Ruby 1.9.1. This package provides the ri documentation for the Ruby 1.9.1 standard library. The ri1.9.1 executable itself is in the ruby1.9.1 package. Package: ruby1.9.1-full Architecture: all Depends: ruby1.9.1 (>= ${source:Version}), libruby1.9.1-dbg (>= ${source:Version}), ruby1.9.1-dev (>= ${source:Version}), ruby1.9.1-examples (>= ${source:Version}), ri1.9.1 (>= ${source:Version}), ${misc:Depends} Recommends: libtcltk-ruby1.9.1 (>= ${source:Version}) Description: Ruby 1.9.1 full installation For many good reasons, the Ruby programming language is split in many small different packages. Installing this package will make sure you have all the packages that add up to a full Ruby installation, with the exception of the Tcl/Tk bindings for Ruby, which are only recommended. . This package installs the dependencies for Ruby compatibility version 1.9.1 (currently Ruby 1.9.3). Package: ruby1.9.3 Architecture: all Depends: ruby1.9.1 (>= ${source:Version}), ${misc:Depends} Recommends: ruby1.9.1-full (>= ${source:Version}) Description: Interpreter of object-oriented scripting language Ruby, version 1.9.3 Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in perl). It is simple, straight-forward, and extensible. . Ruby uses two parallel versioning schemes: the `Ruby library compatibility version' (1.9.1 for this package), which is similar to a library SONAME, and the `Ruby version' (1.9.3 for this package). Ruby packages in Debian are named using the Ruby library compatibility version, which is sometimes confusing for users who do not follow Ruby development closely. This package depends on the ruby1.9.1 package, and provides compatibility symbolic links from 1.9.3 executables and manual pages to their 1.9.1 counterparts. debian/extfixup_examples.sh0000664000000000000000000000026412247132667013312 0ustar #!/bin/sh pkg_name="$1" ext_dir="$2" for f in `find "$ext_dir" -name '*.rb' -type f -not -name 'extconf.rb' -not -path ' */lib/*'` do dh_installexamples -p"$pkg_name" $f done debian/libruby1.9.1.lintian-overrides0000664000000000000000000000037112247132666014621 0ustar # After discussions at Bug#367024, a note is mentioned in debian/copyright. libruby1.9.1 binary: possible-gpl-code-linked-with-openssl # known & ignored. libruby1.9.1 binary: package-name-doesnt-match-sonames # known & ignored image-file-in-usr-lib debian/libruby1.9.1.postinst.in0000664000000000000000000000102112247132666013444 0ustar #! /bin/sh set -e if [ "$1" = "configure" ] then if [ -w /usr/local/lib -a ! -e /usr/local/lib/site_ruby/@@verdir@@ ] then mkdir -p /usr/local/lib/site_ruby/@@verdir@@/@@arch@@ 2>/dev/null || true chown root:staff /usr/local/lib/site_ruby/@@verdir@@/@@arch@@ 2>/dev/null || true chmod 2775 /usr/local/lib/site_ruby/@@verdir@@/@@arch@@ 2>/dev/null || true fi if [ -e /var/lib/gems/@@verdir@@/source_cache ] then rmdir /var/lib/gems/@@verdir@@/source_cache 2>/dev/null || true fi fi #DEBHELPER# debian/README.source0000664000000000000000000000013012247132667011353 0ustar This package uses dpatch. See /usr/share/doc/dpatch/README.source.gz It also uses cdbs. debian/NEWS0000664000000000000000000000720112247132667007701 0ustar ruby1.9.1 (1.9.2.180-4) unstable; urgency=low * Rubygems executables are now installed to /usr/local/bin, instead of /var/lib/gems/1.9.2/bin * But the other files created by rubygems stay in /var/lib/gems/1.9.2. Several commenters in #448639 and #403407 argued in favor of the switch to /usr/local/bin. Those two bugs can therefore be closed. However, the issue is not completely solved, as rubygems still installs files in /var/lib/gems. Nobody in the bug logs explained why that was an issue. If you care about it, please open a new bug. Fixes rubygems bugs: #448639, #403407 -- Lucas Nussbaum Tue, 03 May 2011 16:11:25 +0200 ruby1.9.1 (1.9.2.0-2) unstable; urgency=low $LOAD_PATH is changed in Ruby 1.9.2-p0 as the following (for i386): ["/usr/local/lib/site_ruby/1.9.1", "/usr/local/lib/site_ruby/1.9.1/i486-linux", "/usr/local/lib/site_ruby", "/usr/lib/ruby/vendor_ruby/1.9.1", "/usr/lib/ruby/vendor_ruby/1.9.1/i486-linux", "/usr/lib/ruby/vendor_ruby", "/usr/lib/ruby/1.9.1", "/usr/lib/ruby/1.9.1/i486-linux"] Please note that "." is no longer part of the $LOAD_PATH, so you might need to change require statements using relative paths. This changes was introduced by the upstream developers. -- Tobias Grimm Sun, 15 Aug 2010 18:01:51 +0200 ruby1.9 (1.9.1.0-1) experimental; urgency=low $LOAD_PATH is changed in Ruby 1.9.1-p0 as the following: ["/usr/local/lib/site_ruby/1.9.1", "/usr/local/lib/site_ruby/1.9.1/i486-linux", "/usr/local/lib/site_ruby", "/usr/lib/ruby1.9/vendor_ruby/1.9.1", "/usr/lib/ruby1.9/vendor_ruby/1.9.1/i486-linux", "/usr/lib/ruby1.9/vendor_ruby", "/usr/lib/ruby1.9/1.9.1", "/usr/lib/ruby1.9/1.9.1/i486-linux", "."] This changes was introduced by the upstream author. Ruby 1.9.1 may be incompatible with older version of Ruby. So we reject old "i386-linux" directory from $LOAD_PATH. If you have libraries in old $LOAD_PATH, please rebuild it with this version of ruby1.9-dev package. -- akira yamada Tue, 03 Feb 2009 14:03:04 +0900 ruby1.9 (1.9.0.0-1) unstable; urgency=low $LOAD_PATH is changed in Ruby 1.9.0-0 as the following: ["/usr/local/lib/site_ruby/1.9.0", "/usr/local/lib/site_ruby/1.9.0/i486-linux", "/usr/local/lib/site_ruby/1.9/i386-linux", "/usr/local/lib/site_ruby", "/usr/lib/ruby/vendor_ruby/1.9.0", "/usr/lib/ruby/vendor_ruby/1.9.0/i486-linux", "/usr/lib/ruby/vendor_ruby", "/usr/lib/ruby/1.9.0", "/usr/lib/ruby/1.9.0/i486-linux", "/usr/lib/ruby/1.9/i386-linux", "."] This changes was introduced because Ruby 1.9.1 (or later version) may be incompatible with this version of Ruby. If you have libraries in old $LOAD_PATH, please rebuild it with this version of ruby1.9-dev package. -- akira yamada Wed, 26 Dec 2007 10:34:48 +0900 ruby1.9 (1.9.0+20050623-2) unstable; urgency=high On ix86 architecutre, $LOAD_PATH is changed as follows: /usr/local/lib/site_ruby/1.9 /usr/local/lib/site_ruby/1.9/i486-linux /usr/local/lib/site_ruby /usr/lib/ruby/1.9 /usr/lib/ruby/1.9/i486-linux . This change is brought to follow the change of dpkg 1.13. It changed architecture name to "i486-linux-gnu" from "i386-linux". If you locally build extension libraries, please rebuild it with this version of ruby1.9-dev package. NOTE: In this version, ruby1.9 temporally searches files in /usr/local/lib/site_ruby/1.9/i386-linux and /usr/lib/ruby/1.9/i386-linux. -- akira yamada Wed, 29 Jun 2005 23:50:58 +0900 debian/manpages/0000775000000000000000000000000012247132722010765 5ustar debian/manpages/gem1.9.1.10000664000000000000000000000145412247132667012222 0ustar .TH GEM1.9.1 "1" "Dec 2007" "gem1.9.1 1.0.0" "User Commands" .SH NAME gem1.9.1 \- the front end to RubyGems .SH SYNOPSIS .IP gem1.9.1 command [arguments...] [options...] .IP gem1.9.1 \fB\-h\fR | \-\-help .IP gem1.9.1 \fB\-v\fR | \-\-version .fi .SH DESCRIPTION .B gem1.9.1 is the front end to RubyGems, a sophisticated package manager for Ruby. This is a basic help message containing pointers to more information. .PP Further help: .TP gem1.9.1 help commands list all 'gem1.9.1' commands .TP gem1.9.1 help examples show some examples of usage .TP gem1.9.1 help show help on COMMAND .IP (e.g. 'gem1.9.1 help install') .IP .PP Further information: .IP http://rubygems.org/ .SH EXAMPLES .IP .nf gem1.9.1 install rake gem1.9.1 list \fB\-\-local\fR gem1.9.1 build package.gemspec gem1.9.1 help install .fi debian/manpages/ri1.9.1.10000664000000000000000000000343012247132667012060 0ustar .\" DO NOT MODIFY THIS FILE! it was generated by rd2 .TH ri1.9.1 "April 2005" .SH NAME .PP ri1.9.1 \- Ruby Information at your fingertips .SH SYNOPSIS .PP ri1.9.1 [options] [names...] .SH DESCRIPTION .PP \fIri1.9.1\fP displaies information on Ruby classes, modules, and methods. You can give the names of classes or methods to see their documentation. Partial names may be given: if the names match more than one entity, a list will be shown, otherwise details on that entity will be displayed. .PP Nested classes and modules can be specified using the normal Name::Name notation, and instance methods can be distinguished from class methods using "." (or "#") instead of "::". .PP For example: .nf \& ri1.9.1 File \& ri1.9.1 File.new \& ri1.9.1 F.n \& ri1.9.1 zip .fi .PP Note that shell quoting may be required for method names containing punctuation: .nf \& ri1.9.1 'Array.[]' \& ri1.9.1 compact\\! .fi .SH OPTIONS .TP .fi .B \-\-classes, \-c Display the names of classes and modules we know about. .TP .fi .B \-\-doc\-dir, \-d dirname A directory to search for documentation. If not specified, we search the standard rdoc/ri directories. .TP .fi .B \-\-format, \-f name Format to use when displaying output: ansi, bs, html, plain, simple. Use \'bs' (backspace) with most pager programs. To use ANSI, either also use the \-T option, or tell your pager to allow control characters. (for example using the \-R option to less.) .TP .fi .B \-\-list\-names, \-l List all the names known to RDoc, one per line. .TP .fi .B \-\-no\-pager, \-T Send output directly to stdout. .TP .fi .B \-\-width, \-w width Set the width of the output. .TP .fi .B \-\-version, \-v Display the version of ri1.9.1. .TP .fi .B \-\-help, \-h Display help. .PP Options may also be passed in the 'RI' environment variable debian/manpages/rdoc1.9.1.10000664000000000000000000001131512247132667012376 0ustar .\" DO NOT MODIFY THIS FILE! it was generated by rd2 .TH rdoc1.9.1 1 "May 2007" .SH NAME .PP rdoc1.9.1 \- Generate documentation from Ruby script files .SH SYNOPSIS .nf \& rdoc1.9.1 [options] [names...] .fi .SH DESCRIPTION .PP Files are parsed, and the information they contain collected, before any output is produced. This allows cross references between all files to be resolved. If a name is a directory, it is traversed. If no names are specified, all Ruby files in the current directory (and subdirectories) are processed. .PP Available output formatters: chm, html, ri, xml .PP For information on where the output goes, use: .nf \& rdoc \-\-help\-output .fi .SH OPTIONS .TP .fi .B \-\-accessor, \-A accessorname[,..] comma separated list of additional class methods that should be treated like 'attr_reader' and friends. Option may be repeated. Each accessorname may have '=text' appended, in which case that text appears where the r/w/rw appears for normal accessors. .TP .fi .B \-\-all, \-a include all methods (not just public) in the output. .TP .fi .B \-\-charset, \-c charset specifies HTML character\-set .TP .fi .B \-\-debug, \-D displays lots on internal stuff .TP .fi .B \-\-diagram, \-d generate diagrams showing modules and classes. You need dot V1.8.6 or later to use the \-\-diagram option correctly. Dot is available from . .TP .fi .B \-\-exclude, \-x pattern do not process files or directories matching pattern. Files given explicitly on the command line will never be excluded. .TP .fi .B \-\-extension, \-E new=old treat files ending with .new as if they ended with .old. Using '\-E cgi=rb' will cause xxx.cgi to be parsed as a Ruby file .TP .fi .B \-\-fileboxes, \-F classes are put in boxes which represents files, where these classes reside. Classes shared between more than one file are shown with list of files that sharing them. Silently discarded if \-\-diagram is not given Experimental. .TP .fi .B \-\-fmt, \-f formatname set the output formatter (see below). .TP .fi .B \-\-help, \-h print usage. .TP .fi .B \-\-help\-output, \-O explain the various output options. .TP .fi .B \-\-image\-format, \-I gif|png|jpg|jpeg sets output image format for diagrams. Can be png, gif, jpeg, jpg. If this option is omitted, png is used. Requires \-\-diagram. .TP .fi .B \-\-include, \-i dir[,dir...] set (or add to) the list of directories to be searched when satisfying :include: requests. Can be used more than once. .TP .fi .B \-\-inline\-source, \-S show method source code inline, rather than via a popup link. .TP .fi .B \-\-line\-numbers, \-N include line numbers in the source code .TP .fi .B \-\-main, \-m name name will be the initial page displayed. .TP .fi .B \-\-merge, \-M when creating ri output, merge processed classes into previously documented classes of the name name. .TP .fi .B \-\-one\-file, \-1 put all the output into a single file. .TP .fi .B \-\-op, \-o dir set the output directory. .TP .fi .B \-\-opname, \-n name set the name of the output. Has no effect for HTML. .TP .fi .B \-\-promiscuous, \-p When documenting a file that contains a module or class also defined in other files, show all stuff for that module/class in each files page. By default, only show stuff defined in that particular file. .TP .fi .B \-\-quiet, \-q don't show progress as we parse. .TP .fi .B \-\-ri, \-r generate output for use by 'ri.' The files are stored in the '.rdoc' directory under your home directory unless overridden by a subsequent \-\-op parameter, so no special privileges are needed. .TP .fi .B \-\-ri\-site, \-R generate output for use by 'ri.' The files are stored in a site\-wide directory, making them accessible to others, so special privileges are needed. .TP .fi .B \-\-ri\-system, \-Y generate output for use by 'ri.' The files are stored in a system\-level directory, making them accessible to others, so special privileges are needed. This option is intended to be used during Ruby installations. .TP .fi .B \-\-show\-hash, \-H a name of the form #name in a comment is a possible hyperlink to an instance method name. When displayed, the '#' is removed unless this option is specified. .TP .fi .B \-\-style, \-s stylesheet\-url specifies the URL of a separate stylesheet. .TP .fi .B \-\-tab\-width, \-w n set the width of tab characters (default 8). .TP .fi .B \-\-template, \-T template\-name set the template used when generating output. .TP .fi .B \-\-title, \-t text set text as the title for the output. .TP .fi .B \-\-version, \-v display RDoc's version. .TP .fi .B \-\-webcvs, \-W url specify a URL for linking to a web frontend to CVS. If the URL contains a \'%s', the name of the current file will be substituted; if the URL doesn't contain a '%s', the filename will be appended to it. debian/manpages/testrb1.9.1.10000664000000000000000000000230212247132667012746 0ustar .\" DO NOT MODIFY THIS FILE! it was generated by rd2 .TH testrb1.9.1 1 "December 2003" .SH NAME .PP testrb1.9.1 \- Automatic runnter for Test::Unit of Ruby .SH SYNOPSIS .PP testrb1.9.1 [options] [\-\- untouched arguments] test ... .SH DESCRIPTION .PP testrb1.9.1 loads and runs unit\-tests. If test is directory name, testrb1.9.1 testrb1.9.1 traverses the directory. .SH OPTIONS .TP .fi .B \-r, \-\-runner=RUNNER Use the given RUNNER. (t[k], c[onsole], g[tk], f[ox]) .TP .fi .B \-a, \-\-add=TORUN Add TORUN to the list of things to run; can be a file or a directory. .TP .fi .B \-p, \-\-pattern=PATTERN Match files to collect against PATTERN. (default pattern is /\\Atest_.*\\.rb\\Z/.) .TP .fi .B \-n, \-\-name=NAME Runs tests matching NAME. (patterns may be used.) .TP .fi .B \-t, \-\-testcase=TESTCASE Runs tests in TestCases matching TESTCASE. (patterns may be used.) .TP .fi .B \-v, \-\-verbose=[LEVEL] Set the output level (default is verbose). (p[rogress], n[ormal], v[erbose], s[ilent]) .TP .fi .B \-\- Stop processing options so that the remaining options will be passed to the test. .TP .fi .B \-h, \-\-help Display help. .SH AUTHOR .PP This manpage was contributed by akira yamada debian/manpages/irb1.9.1.10000664000000000000000000002526712247132667012236 0ustar .TH IRB1.9 "1" "December 2002" .SH NAME irb1.9.1 \- interactive ruby .SH SYNOPSIS .B irb [\fIoptions\fR] .SH DESCRIPTION .PP irb stands for `interactive ruby'. irb is a tool to execute interactively ruby expressions read from stdin. Use of irb is easy if you know ruby. Executing irb, prompts are displayed as follows. Then, enter expression of ruby. A input is executed when it is syntacticaly completed. .nf \& $ irb1.9.1 \& irb(main):001:0> 1+2 \& 3 \& irb(main):002:0> class Foo \& irb(main):003:1> def foo \& irb(main):004:2> print 1 \& irb(main):005:2> end \& irb(main):006:1> end \& nil \& irb(main):007:0> .fi And, Readline extesion module can be used with irb. Using Readline is the standard default action if Readline is installed. .SH OPTIONS .PP .TP .fi .B \-f suppress read ~/.irbrc .TP .fi .B \-m bc mode (fraction or matrix are available) .TP .fi .B \-d set $DEBUG to true (same as `ruby \-d') .TP .fi .B \-r load\-module same as `ruby \-r' .TP .fi .B \-\-inspect uses `inspect' for output (the default except bc mode) .TP .fi .B \-\-noinspect doesn't uses inspect for output .TP .fi .B \-\-readline uses Readline extension module .TP .fi .B \-\-noreadline doesn't use Readline extension module .TP .fi .B \-\-prompt prompt\-mode .TP .fi .B \-\-prompt\-mode prompt\-mode switches prompt mode. Pre\-defined prompt modes are `default', `simple', `xmp' and `inf\-ruby' .TP .fi .B \-\-inf\-ruby\-mode uses prompt appreciate for inf\-ruby\-mode on emacs. Suppresses \-\-readline. .TP .fi .B \-\-simple\-prompt simple prompt mode .TP .fi .B \-\-noprompt no prompt .TP .fi .B \-\-tracer display trace for each execution of commands. .TP .fi .B \-\-back\-trace\-limit n displayes backtrace top n and tail n. The default value is 16. .TP .fi .B \-\-irb_debug n sets internal debug level to n (It shouldn't be used) .TP .fi .B \-v, \-\-version prints the version of irb .SH CONFIGURATIONS .PP irb reads `~/.irbrc' when it is invoked. If `~/.irbrb' doesn't exist irb try to read in the order `.irbrc', `irb.rc', `_irbrc' then `$irbrc'. The following is altanative to the command line option. To use them type as follows in an irb session. .nf \& IRB.conf[:IRB_NAME]="irb" \& IRB.conf[:MATH_MODE]=false \& IRB.conf[:USE_TRACER]=false \& IRB.conf[:USE_LOADER]=false \& IRB.conf[:IGNORE_SIGINT]=true \& IRB.conf[:IGNORE_EOF]=false \& IRB.conf[:INSPECT_MODE]=nil \& IRB.conf[:IRB_RC] = nil \& IRB.conf[:BACK_TRACE_LIMIT]=16 \& IRB.conf[:USE_LOADER] = false \& IRB.conf[:USE_READLINE] = nil \& IRB.conf[:USE_TRACER] = false \& IRB.conf[:IGNORE_SIGINT] = true \& IRB.conf[:IGNORE_EOF] = false \& IRB.conf[:PROMPT_MODE] = :DEFALUT \& IRB.conf[:PROMPT] = {...} \& IRB.conf[:DEBUG_LEVEL]=0 \& IRB.conf[:VERBOSE]=true .fi .SH Customizing prompt .PP To costomize the prompt you set a variable .nf \& IRB.conf[:PROMPT] .fi For example, describe as follows in `.irbrc'. .nf \& IRB.conf[:PROMPT][:MY_PROMPT] = { # name of prompt mode \& :PROMPT_I => nil, # normal prompt \& :PROMPT_S => nil, # prompt for continuated strings \& :PROMPT_C => nil, # prompt for continuated statement \& :RETURN => " ==>%s\\n" # format to return value \& } .fi Then, invoke irb with the above prompt mode by .nf \& $ irb1.9.1 \-\-prompt my\-prompt .fi Or add the following in `.irbrc'. .nf \& IRB.conf[:PROMPT_MODE] = :MY_PROMPT .fi Constants PROMPT_I, PROMPT_S and PROMPT_C specifies the format. In the prompt specification, some special strings are available. .nf \& %N command name which is running \& %m to_s of main object (self) \& %M inspect of main object (self) \& %l type of string(", ', /, ]), `]' is inner %w[...] \& %NNi indent level. NN is degits and means as same as printf("%NNd"). \& It can be ommited \& %NNn line number. \& %% % .fi For instance, the default prompt mode is defined as follows: IRB.conf[:PROMPT_MODE][:DEFAULT] = { .TP .fi .B PROMPT_I => "%N(%m):%03n:%i> ", .TP .fi .B PROMPT_S => "%N(%m):%03n:%i%l ", .TP .fi .B PROMPT_C => "%N(%m):%03n:%i* ", .TP .fi .B RETURN => "%s\\n"} RETURN is used to printf. .SH Configurating subirb .PP The command line option or IRB.conf specify the default behavior of (sub)irb. On the other hand, each conf of in the next sction `6. Command' is used to individually configurate (sub)irb. If proc is set to IRB.conf[:IRB_RC], its subirb will be invoked after execution of that proc under giving the context of irb as its aregument. By this mechanism each subirb can be configurated. .SH Command .PP For irb commands, both simple name and `irb_'\-prefixed name are prepared. .TP .fi .B exit, quit, irb_exit Quits (sub)irb. if you've done cb (see below), exit from the binding mode. .TP .fi .B conf, irb_context Displays current configuration. Modifing the configuration is achieved by sending message to `conf'. .TP .fi .B conf.back_trace_limit Sets display lines of backtrace as top n and tail n. The default value is 16. .TP .fi .B conf.debug_level = N Sets debug level of irb. .TP .fi .B conf.ignore_eof = true/false Whether ^D (control\-d) will be ignored or not. If false is set, ^D means quit. .TP .fi .B conf.ignore_sigint= true/false Whether ^C (control\-c) will be ignored or not. If false is set, ^D means quit. If true, .nf \& during input: cancel inputing then return to top level. \& during execute: abondon current execution. .fi .TP .fi .B conf.inf_ruby_mode = true/false Whether inf\-ruby\-mode or not. The default value is false. .TP .fi .B conf.inspect_mode = true/false/nil Specifies inspect mode. true: display inspect false: display to_s nil: inspect mode in non math mode, .nf \& non inspect mode in math mode. .fi .TP .fi .B conf.irb_level The level of cb. .TP .fi .B conf.math_mode Whether bc mode or not. .TP .fi .B conf.use_loader = true/false Whether irb's own file reader method is used when load/require or not. This mode is globaly affected (irb wide). .TP .fi .B conf.prompt_c prompt for a continuating statement (e.g, immediately after of `if') .TP .fi .B conf.prompt_i standard prompt .TP .fi .B conf.prompt_s prompt for a continuating string .TP .fi .B conf.rc Whether ~/.irbrc is read or not. .TP .fi .B conf.use_prompt = true/false Prompting or not. .TP .fi .B conf.use_readline = true/false/nil Whether readline is used or not. true: uses false: doen't use nil: intends to use readline except for inf\-reuby\-mode (default) .TP .fi .B conf.verbose=T/F Whether verbose messages are display or not. .TP .fi .B cb, irb_change_binding [obj] Enter new binding which has a distinct scope of local variables. If obj is given, obj will be self. .TP .fi .B irb [obj] Invoke subirb. If obj is given, obj will be self. .TP .fi .B jobs, irb_jobs List of subirb .TP .fi .B fg n, irb_fg n Switch into specified subirb. The following is candidates of n: .nf \& irb number \& thhread \& irb object \& self(obj which is specified of irb obj) .fi .TP .fi .B kill n, irb_kill n Kill subirb. The means of n is as same as the case of irb_fg. .SH System variable .PP .TP .fi .B _ The latest value of evaluation (it is local) .SH Session Example .PP .nf \& $ irb1.9.1 \& irb(main):001:0> irb # invoke subirb \& irb#1(main):001:0> jobs # list of subirbs \& #0\->irb on main (# : stop) \& #1\->irb#1 on main (# : running) \& nil \& irb#1(main):002:0> fg 0 # switch job \& nil \& irb(main):002:0> class Foo;end \& nil \& irb(main):003:0> irb Foo # invoke subirb which has the .fi .nf \& # context of Foo .fi .nf \& irb#2(Foo):001:0> def foo # define Foo#foo \& irb#2(Foo):002:1> print 1 \& irb#2(Foo):003:1> end \& nil \& irb#2(Foo):004:0> fg 0 # switch job \& nil \& irb(main):004:0> jobs # list of job \& #0\->irb on main (# : running) \& #1\->irb#1 on main (# : stop) \& #2\->irb#2 on Foo (# : stop) \& nil \& irb(main):005:0> Foo.instance_methods # Foo#foo is defined asurely \& ["foo"] \& irb(main):006:0> fg 2 # switch job \& nil \& irb#2(Foo):005:0> def bar # define Foo#bar \& irb#2(Foo):006:1> print "bar" \& irb#2(Foo):007:1> end \& nil \& irb#2(Foo):010:0> Foo.instance_methods \& ["bar", "foo"] \& irb#2(Foo):011:0> fg 0 \& nil \& irb(main):007:0> f = Foo.new \& # \& irb(main):008:0> irb f # invoke subirb which has the .fi .nf \& # context of f (instance of Foo) .fi .nf \& irb#3(#):001:0> jobs \& #0\->irb on main (# : stop) \& #1\->irb#1 on main (# : stop) \& #2\->irb#2 on Foo (# : stop) \& #3\->irb#3 on # (# : running) \& nil \& irb#3(#):002:0> foo # evaluate f.foo \& 1nil \& irb#3(#):003:0> bar # evaluate f.bar \& barnil \& irb#3(#):004:0> kill 1, 2, 3# kill job \& nil \& irb(main):009:0> jobs \& #0\->irb on main (# : running) \& nil \& irb(main):010:0> exit # exit .fi .SH Restrictions .PP Because irb evaluates the inputs immediately after the imput is syntactically completed, irb gives slight different result than directly use ruby. Known difference is pointed out here. .SH Declaration of the local variable .PP The following causes an error in ruby: .nf \& eval "foo = 0" \& foo \& \-\- \& \-:2: undefined local variable or method `foo' for # (NameError) \& \-\-\- \& NameError .fi Though, the above will successfully done by irb. .nf \& >> eval "foo = 0" .fi .nf \& => 0 \& >> foo \& => 0 .fi Ruby evaluates a code after reading entire of code and determination of the scope of local variables. On the other hand, irb do immediately. More precisely, irb evaluate at first .nf \& evel "foo = 0" .fi then foo is defined on this timing. It is because of this incompatibility. If you'd like to detect those differences, begin...end can be used: .nf \& >> begin \& ?> eval "foo = 0" \& >> foo \& >> end \& NameError: undefined local variable or method `foo' for # \& (irb):3 \& (irb_local_binding):1:in `eval' .fi .SH Here\-document .PP Implementation of Here\-document is incomplete. .SH Symbol .PP Irb can not always recognize a symbol as to be Symbol. Concretely, an expression have completed, however Irb regard it as continuation line. debian/manpages/rake1.9.1.10000664000000000000000000000103212247132667012364 0ustar .TH RAKE1.9 "1" "July 2006" "ruby 1.9.0" "User Commands" .SH NAME rake1.9.1 \- a ruby build program with capabilities similar to make .SH SYNOPSIS .IP rake1.9.1 [-f rakefile] [options] targets... .IP rake1.9.1 \-\-help .IP rake1.9.1 \-\-version .fi .SH DESCRIPTION .B rake1.9.1 is a simple ruby build program with capabilities similar to make. This is a basic help message containing pointers to more information. .PP Further help: .TP rake1.9.1 --help list all 'rake1.9.1' options .PP Further information: .IP http://rake.rubyforge.org/ debian/manpages/erb1.9.1.10000664000000000000000000000207512247132667012222 0ustar .TH ERB1.9 1 "April 2003" .SH NAME .PP erb \- an embedded Ruby language interpreter .SH SYNOPSIS .PP erb1.9.1 [switches] [inputfile] .SH DESCRIPTION .PP erb interprets a Ruby code embedded text file. For example, erb enables you to embed a Ruby code to a HTML file. A Ruby block starts with `<%' and ends with `%>'. erb replaces the block with its output. If `<%' is followed by `=', eRuby replaces the block with a value of the block. If `<%' is followed by `#', the block is ignored as a comment. .SH OPTIONS .PP .TP .fi .B \-x print ruby script .TP .fi .B \-n print ruby script with line number .TP .fi .B \-v enables verbose mode .TP .fi .B \-d set debugging flags (set $DEBUG to true) .TP .fi .B \-r library load a library .TP .fi .B \-K kcode specifies KANJI code\-set (euc or sjis) or UTF\-8 (utf8) .TP .fi .B \-S safe_level set $SAFE (0..4) .TP .fi .B \-T trim_mode specify trim_mode (0..2) .TP .fi .B \-P disregard the lin which starts in "%" .SH SEE ALSO .PP eruby(1) .SH AUTHOR .PP This document stands on eruby(1) which is written by Shugo Maeda . debian/watch0000664000000000000000000000016712247132667010237 0ustar version=3 opts="pasv,uversionmangle=s/-p/\./" \ ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-(1\.9\.3*)-p(\d*)\.tar\.gz debian/etc/0000775000000000000000000000000012247132722007745 5ustar debian/etc/bash_completion.d/0000775000000000000000000000000012247132722013335 5ustar debian/etc/bash_completion.d/gem.in0000664000000000000000000001544112247132667014452 0ustar # Michael Schuerig, michael@schuerig.de, 2007-02-24 # [2007-12-21] Updated by Victor Serbin (chepel@hotmail.com) for gem@@VERSION@@ v1.0 # Free for all uses. have gem@@VERSION@@ && _gem@@DOTLESS_VERSION@@() { local cur prev completions COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} COMMANDS='build cert check cleanup contents dependency\ environment fetch generate_index help install list\ lock mirror outdated pristine query rdoc search server\ sources specification uninstall unpack update which' GEM_OPTIONS='\ -h --help\ -v --version' COMMON_OPTIONS='\ -h --help\ -V --verbose --no-verbose\ -q --quiet\ --config-file\ --backtrace\ --debug' CERT_OPTIONS='\ -a -add\ -l --list\ -r --remove\ -b --build\ -C --certificate\ -K --private-key\ -s --sign' CHECK_OPTIONS='\ --verify\ -a --alien\ -t --test\ -v --version' CLEANUP_OPTIONS='\ -d --dry-run' CONTENTS_OPTIONS='\ -v --version\ -s --spec-dir\ -l --lib-only --no-lib-only' DEPENDENCY_OPTIONS='\ -v --version\ --platform\ -R --reverse-dependencies --no-reverse-dependencies\ -p --pipe' ENVIRONMENT_OPTIONS='' FETCH_OPTIONS='\ -v --version\ --platform\ -B --bulk-threshold\ -p --http-proxy --no-http-proxy\ --source' GENERATE_INDEX_OPTIONS='\ -d --directory' HELP_OPTIONS=$COMMANDS INSTALL_OPTIONS='\ --platform\ -v --version\ -i --install-dir\ -d --rdoc --no-rdoc\ --ri --no-ri\ -E --env-shebang\ -f --force --no-force\ -t --test --no-test\ -w --wrappers --no-wrappers\ -P --trust-policy\ --ignore-dependencies\ -y --include-dependencies\ --format-executable --no-format-executable\ -l --local\ -r --remote\ -b --both\ -B --bulk-threshold\ --source\ -p --http-proxy --no-http-proxy\ -u --update-sources --no-update-sources' LIST_OPTIONS='\ -d --details --no-details\ --versions --no-versions\ -l --local\ -r --remote\ -b --both\ -B --bulk-threshold\ --source\ -p --http-proxy --no-http-proxy\ -u --update-sources --no-update-sources' LOCK_OPTIONS='\ -s --strict --no-strict' MIRROR_OPTIONS='' OUTDATED_OPTIONS='\ --platform' PRISTINE_OPTIONS='\ --all\ -v --version' QUERY_OPTIONS='\ -n --name-matches\ -d --details --no-details\ --versions --no-versions\ -l --local\ -r --remote\ -b --both\ -B --bulk-threshold\ --source\ -p --http-proxy --no-http-proxy\ -u --update-sources --no-update-sources' RDOC_OPTIONS='\ --all\ --rdoc --no-rdoc\ --ri --no-ri\ -v --version' SEARCH_OPTIONS='\ -d --details --no-details\ --versions --no-versions\ -l --local\ -r --remote\ -b --both\ -B --bulk-threshold\ --source\ -p --http-proxy --no-http-proxy\ -u --update-sources --no-update-sources' SERVER_OPTIONS='\ -p --port\ -d --dir\ --daemon --no-daemon' SOURCES_OPTIONS='\ -a --add\ -l --list\ -r --remove\ -u --update\ -c --clear-all' SPECIFICATION_OPTIONS='\ -v --version\ --platform\ --all\ -l --local\ -r --remote\ -b --both\ -B --bulk-threshold\ --source\ -p --http-proxy --no-http-proxy\ -u --update-sources --no-update-sources' UNINSTALL_OPTIONS='\ -a --all --no-all\ -i --ignore-dependencies --no-ignore-dependencies\ -x --executables --no-executables\ -v --version\ --platform' UNPACK_OPTIONS='\ --target\ -v --version' UPDATE_OPTIONS='\ --system\ --platform\ -i --install-dir\ -d --rdoc --no-rdoc\ --ri --no-ri\ -E --env-shebang\ -f --force --no-force\ -t --test --no-test\ -w --wrappers --no-wrappers\ -P --trust-policy\ --ignore-dependencies\ -y --include-dependencies\ --format-executable --no-format-executable\ -l --local\ -r --remote\ -b --both\ -B --bulk-threshold\ --source\ -p --http-proxy --no-http-proxy\ -u --update-sources --no-update-sources' WHICH_OPTIONS='\ -a --all --no-all\ -g --gems-first --no-gems-first' case "${prev}" in build) completions="$COMMON_OPTIONS $BUILD_OPTIONS" ;; cert) completions="$COMMON_OPTIONS $CERT_OPTIONS" ;; check) completions="$COMMON_OPTIONS $CHECK_OPTIONS" ;; cleanup) completions="$COMMON_OPTIONS $CLEANUP_OPTIONS" ;; contents) completions="$COMMON_OPTIONS $CONTENTS_OPTIONS" ;; dependency) completions="$COMMON_OPTIONS $DEPENDENCY_OPTIONS" ;; environment) completions="$COMMON_OPTIONS $ENVIRONMENT_OPTIONS" ;; fetch) completions="$COMMON_OPTIONS $FETCH_OPTIONS" ;; generate_index) completions="$COMMON_OPTIONS $GENERATE_INDEX_OPTIONS" ;; help) completions="$COMMON_OPTIONS $HELP_OPTIONS" ;; install) completions="$COMMON_OPTIONS $INSTALL_OPTIONS" ;; list) completions="$COMMON_OPTIONS $LIST_OPTIONS" ;; lock) completions="$COMMON_OPTIONS $LOCK_OPTIONS" ;; mirror) completions="$COMMON_OPTIONS $MIRROR_OPTIONS" ;; outdated) completions="$COMMON_OPTIONS $OUTDATED_OPTIONS" ;; pristine) completions="$COMMON_OPTIONS $PRISTINE_OPTIONS" ;; query) completions="$COMMON_OPTIONS $QUERY_OPTIONS" ;; rdoc) completions="$COMMON_OPTIONS $RDOC_OPTIONS" ;; search) completions="$COMMON_OPTIONS $SEARCH_OPTIONS" ;; server) completions="$COMMON_OPTIONS $SERVER_OPTIONS" ;; sources) completions="$COMMON_OPTIONS $SOURCES_OPTIONS" ;; specification) completions="$COMMON_OPTIONS $SPECIFICATION_OPTIONS" ;; uninstall) completions="$COMMON_OPTIONS $UNINSTALL_OPTIONS" ;; unpack) completions="$COMMON_OPTIONS $UNPACK_OPTIONS" ;; update) completions="$COMMON_OPTIONS $UPDATE_OPTIONS" ;; which) completions="$COMMON_OPTIONS $WHICH_OPTIONS" ;; *) completions="$COMMANDS $GEM_OPTIONS" ;; esac COMPREPLY=( $( compgen -W "$completions" -- $cur )) return 0 } [ -n "${have:-}" ] && complete -F _gem@@DOTLESS_VERSION@@ $filenames gem@@VERSION@@ debian/gbp.conf0000664000000000000000000000003612247132667010620 0ustar [DEFAULT] pristine-tar = True debian/patches/0000775000000000000000000000000012254302344010616 5ustar debian/patches/20121120-cve-2012-5371.diff0000664000000000000000000003676712247132667014130 0ustar Description: replace hash implementation to avoid DOS attacks This patch fixes CVE-2012-5371 Bug-Debian: http://bugs.debian.org/693024 Origin: upstream, https://github.com/ruby/ruby/commit/5e45af463cca6f062a986d5e686350e17ea653bb Backported-By: James Healy Reviewed-By: Antonio Terceiro diff --git a/common.mk b/common.mk index eb89a2b..8ce77cb 100644 --- a/common.mk +++ b/common.mk @@ -663,7 +663,8 @@ proc.$(OBJEXT): {$(VPATH)}proc.c {$(VPATH)}eval_intern.h \ process.$(OBJEXT): {$(VPATH)}process.c $(RUBY_H_INCLUDES) \ {$(VPATH)}util.h {$(VPATH)}io.h $(ENCODING_H_INCLUDES) {$(VPATH)}dln.h \ $(VM_CORE_H_INCLUDES) {$(VPATH)}debug.h {$(VPATH)}internal.h -random.$(OBJEXT): {$(VPATH)}random.c $(RUBY_H_INCLUDES) +random.$(OBJEXT): {$(VPATH)}random.c $(RUBY_H_INCLUDES) \ + {$(VPATH)}siphash.c {$(VPATH)}siphash.h range.$(OBJEXT): {$(VPATH)}range.c $(RUBY_H_INCLUDES) \ $(ENCODING_H_INCLUDES) {$(VPATH)}internal.h rational.$(OBJEXT): {$(VPATH)}rational.c $(RUBY_H_INCLUDES) {$(VPATH)}internal.h diff --git a/random.c b/random.c index 873f9ae..2217c81 100644 --- a/random.c +++ b/random.c @@ -1258,7 +1258,15 @@ random_s_rand(int argc, VALUE *argv, VALUE obj) return random_rand(argc, argv, rb_Random_DEFAULT); } +#define SIP_HASH_STREAMING 0 +#define sip_hash24 ruby_sip_hash24 +#include "siphash.c" + static st_index_t hashseed; +static union { + uint8_t key[16]; + uint32_t u32[(16 * sizeof(uint8_t) - 1) / sizeof(uint32_t)]; +} sipseed; static VALUE init_randomseed(struct MT *mt, unsigned int initial[DEFAULT_SEED_CNT]) @@ -1278,6 +1286,7 @@ Init_RandomSeed(void) unsigned int initial[DEFAULT_SEED_CNT]; struct MT *mt = &r->mt; VALUE seed = init_randomseed(mt, initial); + int i; hashseed = genrand_int32(mt); #if SIZEOF_ST_INDEX_T*CHAR_BIT > 4*8 @@ -1293,6 +1302,9 @@ Init_RandomSeed(void) hashseed |= genrand_int32(mt); #endif + for (i = 0; i < numberof(sipseed.u32); ++i) + sipseed.u32[i] = genrand_int32(mt); + rb_global_variable(&r->seed); r->seed = seed; } @@ -1303,6 +1315,17 @@ rb_hash_start(st_index_t h) return st_hash_start(hashseed + h); } +st_index_t +rb_memhash(const void *ptr, long len) +{ + sip_uint64_t h = sip_hash24(sipseed.key, ptr, len); +#ifdef HAVE_UINT64_T + return (st_index_t)h; +#else + return (st_index_t)(h.u32[0] ^ h.u32[1]); +#endif +} + static void Init_RandomSeed2(void) { diff --git a/siphash.c b/siphash.c new file mode 100644 index 0000000..c100b14 --- /dev/null +++ b/siphash.c @@ -0,0 +1,483 @@ +#include +#include +#include "siphash.h" +#ifndef SIP_HASH_STREAMING + #define SIP_HASH_STREAMING 1 +#endif + +#ifdef _WIN32 + #define BYTE_ORDER __LITTLE_ENDIAN +#elif !defined BYTE_ORDER + #include +#endif +#ifndef LITTLE_ENDIAN +#define LITTLE_ENDIAN __LITTLE_ENDIAN +#endif +#ifndef BIG_ENDIAN +#define BIG_ENDIAN __BIG_ENDIAN +#endif + +#if BYTE_ORDER == LITTLE_ENDIAN + #define lo u32[0] + #define hi u32[1] +#elif BYTE_ORDER == BIG_ENDIAN + #define hi u32[0] + #define lo u32[1] +#else + #error "Only strictly little or big endian supported" +#endif + +#ifndef UNALIGNED_WORD_ACCESS +# if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \ + defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD86) || \ + defined(__mc68020__) +# define UNALIGNED_WORD_ACCESS 1 +# endif +#endif +#ifndef UNALIGNED_WORD_ACCESS +# define UNALIGNED_WORD_ACCESS 0 +#endif + +#define U8TO32_LE(p) \ + (((uint32_t)((p)[0]) ) | ((uint32_t)((p)[1]) << 8) | \ + ((uint32_t)((p)[2]) << 16) | ((uint32_t)((p)[3]) << 24)) \ + +#define U32TO8_LE(p, v) \ +do { \ + (p)[0] = (uint8_t)((v) ); \ + (p)[1] = (uint8_t)((v) >> 8); \ + (p)[2] = (uint8_t)((v) >> 16); \ + (p)[3] = (uint8_t)((v) >> 24); \ +} while (0) + +#ifdef HAVE_UINT64_T +#define U8TO64_LE(p) \ + ((uint64_t)U8TO32_LE(p) | ((uint64_t)U8TO32_LE((p) + 4)) << 32 ) + +#define U64TO8_LE(p, v) \ +do { \ + U32TO8_LE((p), (uint32_t)((v) )); \ + U32TO8_LE((p) + 4, (uint32_t)((v) >> 32)); \ +} while (0) + +#define ROTL64(v, s) \ + ((v) << (s)) | ((v) >> (64 - (s))) + +#define ROTL64_TO(v, s) ((v) = ROTL64((v), (s))) + +#define ADD64_TO(v, s) ((v) += (s)) +#define XOR64_TO(v, s) ((v) ^= (s)) +#define XOR64_INT(v, x) ((v) ^= (x)) +#else +#define U8TO64_LE(p) u8to64_le(p) +static inline uint64_t +u8to64_le(const uint8_t *p) +{ + uint64_t ret; + ret.lo = U8TO32_LE(p); + ret.hi = U8TO32_LE(p + 4); + return ret; +} + +#define U64TO8_LE(p, v) u64to8_le(p, v) +static inline void +u64to8_le(uint8_t *p, uint64_t v) +{ + U32TO8_LE(p, v.lo); + U32TO8_LE(p + 4, v.hi); +} + +#define ROTL64_TO(v, s) ((s) > 32 ? rotl64_swap(rotl64_to(&(v), (s) - 32)) : \ + (s) == 32 ? rotl64_swap(&(v)) : rotl64_to(&(v), (s))) +static inline uint64_t * +rotl64_to(uint64_t *v, unsigned int s) +{ + uint32_t uhi = (v->hi << s) | (v->lo >> (32 - s)); + uint32_t ulo = (v->lo << s) | (v->hi >> (32 - s)); + v->hi = uhi; + v->lo = ulo; + return v; +} + +static inline uint64_t * +rotl64_swap(uint64_t *v) +{ + uint32_t t = v->lo; + v->lo = v->hi; + v->hi = t; + return v; +} + +#define ADD64_TO(v, s) add64_to(&(v), (s)) +static inline uint64_t * +add64_to(uint64_t *v, const uint64_t s) +{ + v->lo += s.lo; + v->hi += s.hi; + if (v->lo < s.lo) v->hi++; + return v; +} + +#define XOR64_TO(v, s) xor64_to(&(v), (s)) +static inline uint64_t * +xor64_to(uint64_t *v, const uint64_t s) +{ + v->lo ^= s.lo; + v->hi ^= s.hi; + return v; +} + +#define XOR64_INT(v, x) ((v).lo ^= (x)) +#endif + +static const union { + char bin[32]; + uint64_t u64[4]; +} sip_init_state_bin = {"uespemos""modnarod""arenegyl""setybdet"}; +#define sip_init_state sip_init_state_bin.u64 + +#if SIP_HASH_STREAMING +struct sip_interface_st { + void (*init)(sip_state *s, const uint8_t *key); + void (*update)(sip_state *s, const uint8_t *data, size_t len); + void (*final)(sip_state *s, uint64_t *digest); +}; + +static void int_sip_init(sip_state *state, const uint8_t *key); +static void int_sip_update(sip_state *state, const uint8_t *data, size_t len); +static void int_sip_final(sip_state *state, uint64_t *digest); + +static const sip_interface sip_methods = { + int_sip_init, + int_sip_update, + int_sip_final +}; +#endif /* SIP_HASH_STREAMING */ + +#define SIP_COMPRESS(v0, v1, v2, v3) \ +do { \ + ADD64_TO((v0), (v1)); \ + ADD64_TO((v2), (v3)); \ + ROTL64_TO((v1), 13); \ + ROTL64_TO((v3), 16); \ + XOR64_TO((v1), (v0)); \ + XOR64_TO((v3), (v2)); \ + ROTL64_TO((v0), 32); \ + ADD64_TO((v2), (v1)); \ + ADD64_TO((v0), (v3)); \ + ROTL64_TO((v1), 17); \ + ROTL64_TO((v3), 21); \ + XOR64_TO((v1), (v2)); \ + XOR64_TO((v3), (v0)); \ + ROTL64_TO((v2), 32); \ +} while(0) + +#if SIP_HASH_STREAMING +static void +int_sip_dump(sip_state *state) +{ + int v; + + for (v = 0; v < 4; v++) { +#if HAVE_UINT64_T + printf("v%d: %" PRIx64 "\n", v, state->v[v]); +#else + printf("v%d: %" PRIx32 "%.8" PRIx32 "\n", v, state->v[v].hi, state->v[v].lo); +#endif + } +} + +static void +int_sip_init(sip_state *state, const uint8_t key[16]) +{ + uint64_t k0, k1; + + k0 = U8TO64_LE(key); + k1 = U8TO64_LE(key + sizeof(uint64_t)); + + state->v[0] = k0; XOR64_TO(state->v[0], sip_init_state[0]); + state->v[1] = k1; XOR64_TO(state->v[1], sip_init_state[1]); + state->v[2] = k0; XOR64_TO(state->v[2], sip_init_state[2]); + state->v[3] = k1; XOR64_TO(state->v[3], sip_init_state[3]); +} + +static inline void +int_sip_round(sip_state *state, int n) +{ + int i; + + for (i = 0; i < n; i++) { + SIP_COMPRESS(state->v[0], state->v[1], state->v[2], state->v[3]); + } +} + +static inline void +int_sip_update_block(sip_state *state, uint64_t m) +{ + XOR64_TO(state->v[3], m); + int_sip_round(state, state->c); + XOR64_TO(state->v[0], m); +} + +static inline void +int_sip_pre_update(sip_state *state, const uint8_t **pdata, size_t *plen) +{ + int to_read; + uint64_t m; + + if (!state->buflen) return; + + to_read = sizeof(uint64_t) - state->buflen; + memcpy(state->buf + state->buflen, *pdata, to_read); + m = U8TO64_LE(state->buf); + int_sip_update_block(state, m); + *pdata += to_read; + *plen -= to_read; + state->buflen = 0; +} + +static inline void +int_sip_post_update(sip_state *state, const uint8_t *data, size_t len) +{ + uint8_t r = len % sizeof(uint64_t); + if (r) { + memcpy(state->buf, data + len - r, r); + state->buflen = r; + } +} + +static void +int_sip_update(sip_state *state, const uint8_t *data, size_t len) +{ + uint64_t *end; + uint64_t *data64; + + state->msglen_byte = state->msglen_byte + (len % 256); + data64 = (uint64_t *) data; + + int_sip_pre_update(state, &data, &len); + + end = data64 + (len / sizeof(uint64_t)); + +#if BYTE_ORDER == LITTLE_ENDIAN + while (data64 != end) { + int_sip_update_block(state, *data64++); + } +#elif BYTE_ORDER == BIG_ENDIAN + { + uint64_t m; + uint8_t *data8 = data; + for (; data8 != (uint8_t *) end; data8 += sizeof(uint64_t)) { + m = U8TO64_LE(data8); + int_sip_update_block(state, m); + } + } +#endif + + int_sip_post_update(state, data, len); +} + +static inline void +int_sip_pad_final_block(sip_state *state) +{ + int i; + /* pad with 0's and finalize with msg_len mod 256 */ + for (i = state->buflen; i < sizeof(uint64_t); i++) { + state->buf[i] = 0x00; + } + state->buf[sizeof(uint64_t) - 1] = state->msglen_byte; +} + +static void +int_sip_final(sip_state *state, uint64_t *digest) +{ + uint64_t m; + + int_sip_pad_final_block(state); + + m = U8TO64_LE(state->buf); + int_sip_update_block(state, m); + + XOR64_INT(state->v[2], 0xff); + + int_sip_round(state, state->d); + + *digest = state->v[0]; + XOR64_TO(*digest, state->v[1]); + XOR64_TO(*digest, state->v[2]); + XOR64_TO(*digest, state->v[3]); +} + +sip_hash * +sip_hash_new(const uint8_t key[16], int c, int d) +{ + sip_hash *h = NULL; + + if (!(h = (sip_hash *) malloc(sizeof(sip_hash)))) return NULL; + return sip_hash_init(h, key, c, d); +} + +sip_hash * +sip_hash_init(sip_hash *h, const uint8_t key[16], int c, int d) +{ + h->state->c = c; + h->state->d = d; + h->state->buflen = 0; + h->state->msglen_byte = 0; + h->methods = &sip_methods; + h->methods->init(h->state, key); + return h; +} + +int +sip_hash_update(sip_hash *h, const uint8_t *msg, size_t len) +{ + h->methods->update(h->state, msg, len); + return 1; +} + +int +sip_hash_final(sip_hash *h, uint8_t **digest, size_t* len) +{ + uint64_t digest64; + uint8_t *ret; + + h->methods->final(h->state, &digest64); + if (!(ret = (uint8_t *)malloc(sizeof(uint64_t)))) return 0; + U64TO8_LE(ret, digest64); + *len = sizeof(uint64_t); + *digest = ret; + + return 1; +} + +int +sip_hash_final_integer(sip_hash *h, uint64_t *digest) +{ + h->methods->final(h->state, digest); + return 1; +} + +int +sip_hash_digest(sip_hash *h, const uint8_t *data, size_t data_len, uint8_t **digest, size_t *digest_len) +{ + if (!sip_hash_update(h, data, data_len)) return 0; + return sip_hash_final(h, digest, digest_len); +} + +int +sip_hash_digest_integer(sip_hash *h, const uint8_t *data, size_t data_len, uint64_t *digest) +{ + if (!sip_hash_update(h, data, data_len)) return 0; + return sip_hash_final_integer(h, digest); +} + +void +sip_hash_free(sip_hash *h) +{ + free(h); +} + +void +sip_hash_dump(sip_hash *h) +{ + int_sip_dump(h->state); +} +#endif /* SIP_HASH_STREAMING */ + +#define SIP_2_ROUND(m, v0, v1, v2, v3) \ +do { \ + XOR64_TO((v3), (m)); \ + SIP_COMPRESS(v0, v1, v2, v3); \ + SIP_COMPRESS(v0, v1, v2, v3); \ + XOR64_TO((v0), (m)); \ +} while (0) + +uint64_t +sip_hash24(const uint8_t key[16], const uint8_t *data, size_t len) +{ + uint64_t k0, k1; + uint64_t v0, v1, v2, v3; + uint64_t m, last; + const uint8_t *end = data + len - (len % sizeof(uint64_t)); + + k0 = U8TO64_LE(key); + k1 = U8TO64_LE(key + sizeof(uint64_t)); + + v0 = k0; XOR64_TO(v0, sip_init_state[0]); + v1 = k1; XOR64_TO(v1, sip_init_state[1]); + v2 = k0; XOR64_TO(v2, sip_init_state[2]); + v3 = k1; XOR64_TO(v3, sip_init_state[3]); + +#if BYTE_ORDER == LITTLE_ENDIAN && UNALIGNED_WORD_ACCESS + { + uint64_t *data64 = (uint64_t *)data; + while (data64 != (uint64_t *) end) { + m = *data64++; + SIP_2_ROUND(m, v0, v1, v2, v3); + } + } +#elif BYTE_ORDER == BIG_ENDIAN + for (; data != end; data += sizeof(uint64_t)) { + m = U8TO64_LE(data); + SIP_2_ROUND(m, v0, v1, v2, v3); + } +#endif + +#ifdef HAVE_UINT64_T + last = (uint64_t)len << 56; +#define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8)) +#else + last.hi = len << 24; + last.lo = 0; +#define OR_BYTE(n) do { \ + if (n >= 4) \ + last.hi |= ((uint32_t) end[n]) << ((n) >= 4 ? (n) * 8 - 32 : 0); \ + else \ + last.lo |= ((uint32_t) end[n]) << ((n) >= 4 ? 0 : (n) * 8); \ + } while (0) +#endif + + switch (len % sizeof(uint64_t)) { + case 7: + OR_BYTE(6); + case 6: + OR_BYTE(5); + case 5: + OR_BYTE(4); + case 4: +#if BYTE_ORDER == LITTLE_ENDIAN && UNALIGNED_WORD_ACCESS + #if HAVE_UINT64_T + last |= (uint64_t) ((uint32_t *) end)[0]; + #else + last.lo |= ((uint32_t *) end)[0]; + #endif + break; +#elif BYTE_ORDER == BIG_ENDIAN + OR_BYTE(3); +#endif + case 3: + OR_BYTE(2); + case 2: + OR_BYTE(1); + case 1: + OR_BYTE(0); + break; + case 0: + break; + } + + SIP_2_ROUND(last, v0, v1, v2, v3); + + XOR64_INT(v2, 0xff); + + SIP_COMPRESS(v0, v1, v2, v3); + SIP_COMPRESS(v0, v1, v2, v3); + SIP_COMPRESS(v0, v1, v2, v3); + SIP_COMPRESS(v0, v1, v2, v3); + + XOR64_TO(v0, v1); + XOR64_TO(v0, v2); + XOR64_TO(v0, v3); + return v0; +} diff --git a/siphash.h b/siphash.h new file mode 100644 index 0000000..3f39884 --- /dev/null +++ b/siphash.h @@ -0,0 +1,48 @@ +#ifndef SIPHASH_H +#define SIPHASH_H 1 +#include +#ifdef HAVE_STDINT_H +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif + +#ifndef HAVE_UINT64_T +typedef struct { + uint32_t u32[2]; +} sip_uint64_t; +#define uint64_t sip_uint64_t +#else +typedef uint64_t sip_uint64_t; +#endif + +typedef struct { + int c; + int d; + uint64_t v[4]; + uint8_t buf[sizeof(uint64_t)]; + uint8_t buflen; + uint8_t msglen_byte; +} sip_state; + +typedef struct sip_interface_st sip_interface; + +typedef struct { + sip_state state[1]; + const sip_interface *methods; +} sip_hash; + +sip_hash *sip_hash_new(const uint8_t key[16], int c, int d); +sip_hash *sip_hash_init(sip_hash *h, const uint8_t key[16], int c, int d); +int sip_hash_update(sip_hash *h, const uint8_t *data, size_t len); +int sip_hash_final(sip_hash *h, uint8_t **digest, size_t *len); +int sip_hash_final_integer(sip_hash *h, uint64_t *digest); +int sip_hash_digest(sip_hash *h, const uint8_t *data, size_t data_len, uint8_t **digest, size_t *digest_len); +int sip_hash_digest_integer(sip_hash *h, const uint8_t *data, size_t data_len, uint64_t *digest); +void sip_hash_free(sip_hash *h); +void sip_hash_dump(sip_hash *h); + +uint64_t sip_hash24(const uint8_t key[16], const uint8_t *data, size_t len); + +#endif diff --git a/string.c b/string.c index c770215..0138dce 100644 --- a/string.c +++ b/string.c @@ -2161,12 +2161,6 @@ rb_str_prepend(VALUE str, VALUE str2) } st_index_t -rb_memhash(const void *ptr, long len) -{ - return st_hash(ptr, len, rb_hash_start((st_index_t)len)); -} - -st_index_t rb_str_hash(VALUE str) { int e = ENCODING_GET(str); debian/patches/hurd-path-max.diff0000664000000000000000000000060412247132667014142 0ustar Debian-bug: #648055 Upstream backport from trunk: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/addr2line.c?r1=32461&r2=33675 --- trunk/addr2line.c 2011/07/08 12:23:10 32461 +++ trunk/addr2line.c 2011/11/08 14:31:56 33675 @@ -68,6 +68,9 @@ # define ElfW(x) Elf32##_##x # endif #endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif typedef struct { const char *dirname; debian/patches/20131218-stack-size.patch0000664000000000000000000000136112254302344014614 0ustar Fri May 18 17:25:33 2012 KOSAKI Motohiro * cont.c: bump up fiber machine stack size when running on 64bit arch. [Bug #6344] [ruby-dev:45554] Index: cont.c =================================================================== --- a/cont.c (revision 35693) +++ b/cont.c (revision 35694) @@ -47,9 +47,14 @@ #define RB_PAGE_SIZE (pagesize) #define RB_PAGE_MASK (~(RB_PAGE_SIZE - 1)) static long pagesize; -#define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x10000) -#endif + #if SIZEOF_VOIDP==8 + #define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x100000) + #else + #define FIBER_MACHINE_STACK_ALLOCATION_SIZE (0x10000) + #endif +#endif /*FIBER_USE_NATIVE*/ + #define CAPTURE_JUST_VALID_VM_STACK 1 enum context_type { debian/patches/110829-hurd_dirent_usage.patch0000664000000000000000000000064412247132667016113 0ustar hurd: fix dirent issue http://redmine.ruby-lang.org/issues/5250 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639664 --- a/configure.in +++ b/configure.in @@ -965,6 +965,10 @@ AS_CASE(["$target_os"], AC_DEFINE(SIZEOF_STRUCT_DIRENT_TOO_SMALL, 1) LIBS="-lm $LIBS" ], +[gnu*], [ + AC_DEFINE(SIZEOF_STRUCT_DIRENT_TOO_SMALL, 1) + LIBS="-lm $LIBS" + ], [nextstep*], [ ], [openstep*], [ ], [rhapsody*], [ ], debian/patches/100731_disable-tests.diff0000664000000000000000000000516612247132667015051 0ustar Author: Lucas Nussbaum Description: Disable two tests that are problematic on FreeBSD Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590002 First test is discussed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543805 and upstream bug http://redmine.ruby-lang.org/issues/show/2008 Second test is discussed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542927 and upstream bug http://redmine.ruby-lang.org/issues/show/2025 It was fixed, but is now timing dependent. --- a/bootstraptest/test_io.rb +++ b/bootstraptest/test_io.rb @@ -8,28 +8,28 @@ assert_finish 5, %q{ w.write "a" }, '[ruby-dev:31866]' -assert_finish 10, %q{ - begin - require "io/nonblock" - require "timeout" - timeout(3) do - r, w = IO.pipe - w.nonblock? - w.nonblock = true - w.write_nonblock("a" * 100000) - w.nonblock = false - t1 = Thread.new { w.write("b" * 4096) } - t2 = Thread.new { w.write("c" * 4096) } - sleep 0.5 - r.sysread(4096).length - sleep 0.5 - r.sysread(4096).length - t1.join - t2.join - end - rescue LoadError, TimeoutError, NotImplementedError - end -}, '[ruby-dev:32566]' +#assert_finish 10, %q{ +# begin +# require "io/nonblock" +# require "timeout" +# timeout(3) do +# r, w = IO.pipe +# w.nonblock? +# w.nonblock = true +# w.write_nonblock("a" * 100000) +# w.nonblock = false +# t1 = Thread.new { w.write("b" * 4096) } +# t2 = Thread.new { w.write("c" * 4096) } +# sleep 0.5 +# r.sysread(4096).length +# sleep 0.5 +# r.sysread(4096).length +# t1.join +# t2.join +# end +# rescue LoadError, TimeoutError, NotImplementedError +# end +#}, '[ruby-dev:32566]' assert_finish 1, %q{ r, w = IO.pipe --- a/bootstraptest/test_thread.rb +++ b/bootstraptest/test_thread.rb @@ -216,21 +216,21 @@ assert_equal 'true', %{ end } -assert_equal 'ok', %{ - open("zzz.rb", "w") do |f| - f.puts <<-END - begin - Thread.new { fork { GC.start } }.join - pid, status = Process.wait2 - $result = status.success? ? :ok : :ng - rescue NotImplementedError - $result = :ok - end - END - end - require "./zzz.rb" - $result -} +#assert_equal 'ok', %{ +# open("zzz.rb", "w") do |f| +# f.puts <<-END +# begin +# Thread.new { fork { GC.start } }.join +# pid, status = Process.wait2 +# $result = status.success? ? :ok : :ng +# rescue NotImplementedError +# $result = :ok +# end +# END +# end +# require "./zzz.rb" +# $result +#} assert_finish 3, %{ th = Thread.new {sleep 2} debian/patches/110825-tests_broken_as_root.patch0000664000000000000000000000306112247132667016640 0ustar ## Description: add some description ## Origin/Author: add some origin or author ## Bug: bug URL Index: ruby1.9.1/test/gdbm/test_gdbm.rb =================================================================== --- ruby1.9.1.orig/test/gdbm/test_gdbm.rb 2012-02-26 18:47:26.000000000 +0900 +++ ruby1.9.1/test/gdbm/test_gdbm.rb 2012-02-26 19:43:59.000000000 +0900 @@ -47,7 +47,7 @@ end def test_delete_rdonly - if /^CYGWIN_9/ !~ SYSTEM + if /^CYGWIN_9/ !~ SYSTEM and Process.euid != 0 assert_raise(GDBMError) { @gdbm_rdonly.delete("foo") } @@ -103,7 +103,7 @@ assert_nil(gdbm.close) end def test_s_open_create_new - return if /^CYGWIN_9/ =~ SYSTEM + return if /^CYGWIN_9/ =~ SYSTEM or Process.euid == 0 save_mask = File.umask(0) begin Index: ruby1.9.1/test/test_find.rb =================================================================== --- ruby1.9.1.orig/test/test_find.rb 2012-02-26 18:45:36.000000000 +0900 +++ ruby1.9.1/test/test_find.rb 2012-02-26 19:42:39.000000000 +0900 @@ -92,6 +92,7 @@ def test_unreadable_dir skip "no meaning test on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM + skip "does not work when running as root" if Process.euid == 0 Dir.mktmpdir {|d| Dir.mkdir(dir = "#{d}/dir") File.open(file = "#{dir}/foo", "w"){} @@ -107,6 +108,7 @@ end def test_unsearchable_dir + skip "does not work when running as root" if Process.euid == 0 Dir.mktmpdir {|d| Dir.mkdir(dir = "#{d}/dir") File.open(file = "#{dir}/foo", "w"){} debian/patches/940_test_thread_mutex_sync_shorter.diff0000775000000000000000000000150012247132667020410 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 940_test_thread_mutex_sync_shorter.dpatch by Lucas Nussbaum ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: test_mutex_synchronize takes a very long time on slow arches, ## DP: especially hppa (since it doesn't support NPTL). ## DP: The patch makes the test shorter by creating less concurrent ## DP: threads. Closes: #514696. @DPATCH@ Index: b/test/ruby/test_thread.rb =================================================================== --- a/test/ruby/test_thread.rb 2010-07-20 21:45:45.000000000 +0900 +++ b/test/ruby/test_thread.rb 2010-07-20 21:46:16.000000000 +0900 @@ -30,7 +30,7 @@ def test_mutex_synchronize m = Mutex.new r = 0 - max = 100 + max = 10 (1..max).map{ Thread.new{ i=0 debian/patches/919_common.mk_tweaks.diff0000775000000000000000000000370612247132667015352 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 919_common.mk_tweaks.dpatch by Lucas Nussbaum ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Adds more verbosity to the build process. Build parse.o with -Q to ## DP: avoid timeouts on mips(el). Run the testsuite with -v, to see which ## DP: tests are blocking. ## DP: Also run a "watcher", which outputs the result of ps on a regular ## DP: basis. This avoids a timeout on slow arches. @DPATCH@ Index: b/common.mk =================================================================== --- a/common.mk 2010-07-20 21:45:45.000000000 +0900 +++ b/common.mk 2010-07-20 21:46:15.000000000 +0900 @@ -393,7 +393,7 @@ test: test-sample btest-ruby test-knownbug test-all: - $(RUNRUBY) "$(srcdir)/test/runner.rb" $(TESTS) + $(RUNRUBY) "$(srcdir)/test/runner.rb" -v $(TESTS) extconf: $(PREP) $(MAKEDIRS) "$(EXTCONFDIR)" @@ -424,6 +424,33 @@ {$(VPATH)}parse.c: {$(VPATH)}parse.y $(srcdir)/tool/ytab.sed parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c +clean-local:: + rm -f start-watch.stamp + +# wait at least 10 secs for gcc to start. +# then wait for gcc to finish +# touch -d "1 hour ago" to allow re-running builds without rebuilding parse.o +start-watcher.stamp: + ( n=0 ;\ + while [ $$n -lt 10 ]; do \ + [ $$(ps aux | grep gcc | grep parse.o | grep -v grep | wc -l) -gt 0 ] && echo "# gcc parse.o started!" && break ;\ + n=$$(expr $$n + 1) ;\ + sleep 1 ;\ + done ;\ + [ $$n -eq 60 ] && echo "# gcc never started, exiting." && exit 1 ;\ + str="starting..." ;\ + while [ "$$str" != "" ]; do \ + echo "# running... $$str" ;\ + sleep 5 ;\ + str=$$(ps aux | grep gcc | grep parse.o | grep -v grep) ;\ + done ;\ + echo "# watched finished." ; \ + touch -d "1 hour ago" start-watcher.stamp ) & + +parse.o: start-watcher.stamp + +parse.o: CFLAGS += -Q + {$(srcdir)}.y.c: $(YACC) -d $(YFLAGS) -o y.tab.c $(SRC_FILE) sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new debian/patches/090729_fix_Makefile_deps.diff0000664000000000000000000000153712247132667015721 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 090729_fix_Makefile_deps.dpatch by Lucas Nussbaum ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: In some cases, during 'make install', ruby1.9 will be removed ## DP: because make will detect that one of the INSNS targets need to ## DP: be regenerated. ## DP: We add a dependency between do-install-nodoc and $(PROGRAM) to ## DP: rebuild ruby1.9 if it was removed. @DPATCH@ --- a/common.mk +++ b/common.mk @@ -240,7 +240,7 @@ post-install-all:: post-install-local po install-nodoc: pre-install-nodoc do-install-nodoc post-install-nodoc pre-install-nodoc:: pre-install-local pre-install-ext -do-install-nodoc: main +do-install-nodoc: main $(PROGRAM) $(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) post-install-nodoc:: post-install-local post-install-ext debian/patches/110825-run-tests-verbose.patch0000664000000000000000000000144112247132667016017 0ustar Description: run tests in verbose mode Author: Lucas Nussbaum --- a/common.mk +++ b/common.mk @@ -492,15 +492,15 @@ test: test-sample btest-ruby test-knownb test-all: $(TEST_RUNNABLE)-test-all yes-test-all: PHONY - $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TESTS) + $(RUNRUBY) "$(srcdir)/test/runner.rb" -v --ruby="$(RUNRUBY)" $(TESTS) TESTS_BUILD = mkmf no-test-all: PHONY - $(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" $(TESTS_BUILD) + $(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" -v $(TESTS_BUILD) test-ruby: $(TEST_RUNNABLE)-test-ruby no-test-ruby: PHONY yes-test-ruby: PHONY - $(RUNRUBY) "$(srcdir)/test/runner.rb" ruby + $(RUNRUBY) "$(srcdir)/test/runner.rb" -v ruby extconf: $(PREP) $(Q) $(MAKEDIRS) "$(EXTCONFDIR)" debian/patches/110720_tcltk_disable_rpath.diff0000664000000000000000000000546412247132667016310 0ustar ext/tk/extconf.rb uses rpath by default. Disable that. --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -614,7 +614,7 @@ def libcheck_for_tclConfig(tcldir, tkdir $INCFLAGS << " -I" << File.join(File.dirname(File.dirname(file)),"include") if is_win32? else tcllibs = append_library($libs, libname) - tcllibs = "-L#{tcldir.quote} -Wl,-R#{tcldir.quote} " + tcllibs + tcllibs = "-L#{tcldir.quote} " + tcllibs # FIX ME: avoid pathname trouble (fail to find) on MinGW. $INCFLAGS << " -I" << File.join(File.dirname(tcldir),"include") if is_win32? @@ -656,7 +656,7 @@ def libcheck_for_tclConfig(tcldir, tkdir else tklibs = append_library("", libname) #tklibs = append_library("", $1) - tklibs = "-L#{tkdir.quote} -Wl,-R#{tkdir.quote} " + tklibs + tklibs = "-L#{tkdir.quote} " + tklibs # FIX ME: avoid pathname trouble (fail to find) on MinGW. $INCFLAGS << " -I" << File.join(File.dirname(tcldir),"include") if is_win32? @@ -1125,7 +1125,7 @@ def find_tcl(tcllib, stubs, version, *op tcllibs = libs_param + " -DSTATIC_BUILD " + fname.quote else tcllibs = append_library($libs, lib_w_sufx) - tcllibs = "-L#{path.quote} -Wl,-R#{path.quote} " + tcllibs + tcllibs = "-L#{path.quote} " + tcllibs end if try_func(func, tcllibs, ["tcl.h"]) return [true, path, nil, tcllibs, *inc] @@ -1264,7 +1264,7 @@ def find_tk(tklib, stubs, version, *opt_ tklibs = libs_param + " -DSTATIC_BUILD " + fname.quote else tklibs = append_library($libs, lib_w_sufx) - tklibs = "-L#{path.quote} -Wl,-R#{path.quote} " + tklibs + tklibs = "-L#{path.quote} " + tklibs end if try_func(func, tklibs, ["tcl.h", "tk.h"]) return [true, path, nil, tklibs, *inc] @@ -1947,7 +1947,7 @@ $defs += collect_tcltk_defs(TclConfig_In # MacOS X Frameworks? if TkLib_Config["tcltk-framework"] puts("Use MacOS X Frameworks.") - ($LDFLAGS ||= "") << " -L#{TkLib_Config["tcl-build-dir"].quote} -Wl,-R#{TkLib_Config["tcl-build-dir"].quote}" if TkLib_Config["tcl-build-dir"] + ($LDFLAGS ||= "") << " -L#{TkLib_Config["tcl-build-dir"].quote}" if TkLib_Config["tcl-build-dir"] if tcl_cfg_dir TclConfig_Info['TCL_LIBS'] ||= "" @@ -1972,7 +1972,7 @@ if TkLib_Config["tcltk-framework"] end end - $LDFLAGS << " -L#{TkLib_Config["tk-build-dir"].quote} -Wl,-R#{TkLib_Config["tk-build-dir"].quote}" if TkLib_Config["tk-build-dir"] + $LDFLAGS << " -L#{TkLib_Config["tk-build-dir"].quote}" if TkLib_Config["tk-build-dir"] if tk_cfg_dir TkConfig_Info['TK_LIBS'] ||= "" debian/patches/20120927-rubygems_disable_upstream_certs.patch0000664000000000000000000000214312244662453021214 0ustar Description: Use the certificates maintained by the distro Rather than using the certificates packaged in the upstream sources to verify server SSL certificates, use the certificates provided by the ca-certificates package. Author: Tyler Hicks Forwarded: not-needed Bug-Debian: http://bugs.debian.org/689074 Index: ruby1.9.1-1.9.3.194/lib/rubygems/remote_fetcher.rb =================================================================== --- ruby1.9.1-1.9.3.194.orig/lib/rubygems/remote_fetcher.rb 2012-09-27 10:48:23.046684546 -0700 +++ ruby1.9.1-1.9.3.194/lib/rubygems/remote_fetcher.rb 2012-09-27 10:48:42.590685014 -0700 @@ -8,7 +8,7 @@ class Gem::RemoteFetcher - BuiltinSSLCerts = File.expand_path("./ssl_certs/*.pem", File.dirname(__FILE__)) + BuiltinSSLCerts = "/etc/ssl/certs/ca-certificates.crt" include Gem::UserInteraction @@ -354,8 +354,8 @@ end def add_rubygems_trusted_certs(store) - Dir.glob(BuiltinSSLCerts).each do |ssl_cert_file| - store.add_file ssl_cert_file + if File.file? BuiltinSSLCerts + store.add_file BuiltinSSLCerts end end debian/patches/100518_r27464_threading_non-nptl.diff0000775000000000000000000000504312247132667017030 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 100518_r27464_threading_non-nptl.dpatch by Lucas Nussbaum ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Fixes threading issues on non-NPTL platforms. ## DP: backport from upstream. ## DP: git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@27464 ## DP: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542927 ## DP: http://redmine.ruby-lang.org/issues/show/2025 @DPATCH@ Index: b/process.c =================================================================== --- a/process.c 2010-07-20 21:45:44.000000000 +0900 +++ b/process.c 2010-07-20 21:46:19.000000000 +0900 @@ -2383,9 +2383,6 @@ switch (pid = rb_fork(0, 0, 0, Qnil)) { case 0: -#ifdef linux - after_exec(); -#endif rb_thread_atfork(); if (rb_block_given_p()) { int status; Index: b/signal.c =================================================================== --- a/signal.c 2010-07-20 21:45:44.000000000 +0900 +++ b/signal.c 2010-07-20 21:46:19.000000000 +0900 @@ -876,11 +876,7 @@ trap_ensure(struct trap_arg *arg) { /* enable interrupt */ -#ifdef HAVE_SIGPROCMASK - sigprocmask(SIG_SETMASK, &arg->mask, NULL); -#else - sigsetmask(arg->mask); -#endif + pthread_sigmask(SIG_SETMASK, &arg->mask, NULL); trap_last_mask = arg->mask; return 0; } @@ -890,11 +886,7 @@ rb_trap_restore_mask(void) { #if USE_TRAP_MASK -# ifdef HAVE_SIGPROCMASK - sigprocmask(SIG_SETMASK, &trap_last_mask, NULL); -# else - sigsetmask(trap_last_mask); -# endif + pthread_sigmask(SIG_SETMASK, &trap_last_mask, NULL); #endif } @@ -954,12 +946,8 @@ } #if USE_TRAP_MASK /* disable interrupt */ -# ifdef HAVE_SIGPROCMASK sigfillset(&arg.mask); - sigprocmask(SIG_BLOCK, &arg.mask, &arg.mask); -# else - arg.mask = sigblock(~0); -# endif + pthread_sigmask(SIG_BLOCK, &arg.mask, &arg.mask); return rb_ensure(trap, (VALUE)&arg, trap_ensure, (VALUE)&arg); #else @@ -1014,12 +1002,8 @@ #if USE_TRAP_MASK /* disable interrupt */ -# ifdef HAVE_SIGPROCMASK sigfillset(&mask); - sigprocmask(SIG_BLOCK, &mask, &mask); -# else - mask = sigblock(~0); -# endif + pthread_sigmask(SIG_BLOCK, &mask, &mask); #endif oldfunc = ruby_signal(sig, SIG_DFL); @@ -1030,13 +1014,8 @@ } #if USE_TRAP_MASK -#ifdef HAVE_SIGPROCMASK sigdelset(&mask, sig); - sigprocmask(SIG_SETMASK, &mask, NULL); -#else - mask &= ~sigmask(sig); - sigsetmask(mask); -#endif + pthread_sigmask(SIG_SETMASK, &mask, NULL); trap_last_mask = mask; #endif } debian/patches/20100829-rubygems_default_dir.diff0000664000000000000000000000535112247132667016571 0ustar --- a/lib/rubygems/defaults.rb +++ b/lib/rubygems/defaults.rb @@ -17,30 +17,35 @@ module Gem ## # Default home directory path to be used if an alternate value is not # specified in the environment + # + # Debian patch: + # /var/lib/gems/{ruby version} (This is the default path in Debian system) + # def self.default_dir - path = if defined? RUBY_FRAMEWORK_VERSION then - [ - File.dirname(ConfigMap[:sitedir]), - 'Gems', - ConfigMap[:ruby_version] - ] - elsif ConfigMap[:rubylibprefix] then - [ - ConfigMap[:rubylibprefix], - 'gems', - ConfigMap[:ruby_version] - ] - else - [ - ConfigMap[:libdir], - ruby_engine, - 'gems', - ConfigMap[:ruby_version] - ] - end - - @default_dir ||= File.join(*path) +# path = if defined? RUBY_FRAMEWORK_VERSION then +# [ +# File.dirname(ConfigMap[:sitedir]), +# 'Gems', +# ConfigMap[:ruby_version] +# ] +# elsif ConfigMap[:rubylibprefix] then +# [ +# ConfigMap[:rubylibprefix], +# 'gems', +# ConfigMap[:ruby_version] +# ] +# else +# [ +# ConfigMap[:libdir], +# ruby_engine, +# 'gems', +# ConfigMap[:ruby_version] +# ] +# end +# +# @default_dir ||= File.join(*path) + @default_dir ||= File.join('/', 'var', 'lib', 'gems', ConfigMap[:ruby_version]) end ## @@ -84,12 +89,16 @@ module Gem ## # The default directory for binaries + # + # Debian patch: + # /var/lib/gems/{ruby version}/bin is the default path in Debian system def self.default_bindir if defined? RUBY_FRAMEWORK_VERSION then # mac framework support - '/usr/bin' + File.join('/', 'usr', 'local', 'bin') else # generic install - ConfigMap[:bindir] + # ConfigMap[:bindir] + File.join('/', 'usr', 'local', 'bin') end end --- a/test/rubygems/test_gem.rb +++ b/test/rubygems/test_gem.rb @@ -521,7 +521,7 @@ class TestGem < Gem::TestCase assert_equal File.join(@gemhome, 'bin'), Gem.bindir(Pathname.new(Gem.dir)) end - def test_self_bindir_default_dir + def est_self_bindir_default_dir default = Gem.default_dir bindir = if defined?(RUBY_FRAMEWORK_VERSION) then '/usr/bin' @@ -573,7 +573,7 @@ class TestGem < Gem::TestCase assert_nil Gem.datadir('xyzzy') end - def test_self_default_dir + def est_self_default_dir assert_match @default_dir_re, Gem.default_dir end debian/patches/20100829-rubygems_disable_update_system.diff0000664000000000000000000000530312247132667020655 0ustar Author: Daigo Moriwaki Disable gem update --system functionality, as it can break things. Users should use apt instead. (Closes: #452547). This patch was imported from the rubygems package. --- a/lib/rubygems/commands/update_command.rb +++ b/lib/rubygems/commands/update_command.rb @@ -128,6 +128,10 @@ class Gem::Commands::UpdateCommand < Gem # Update RubyGems software to the latest version. def update_rubygems + if not ENV.include?('REALLY_GEM_UPDATE_SYSTEM') + fail "gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported way to update rubygems is through apt-get, using Debian official repositories.\nIf you really know what you are doing, you can still update rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please remember that this is completely unsupported by Debian." + end + unless options[:args].empty? then alert_error "Gem names are not allowed with the --system option" terminate_interaction 1 --- a/test/rubygems/test_gem_commands_update_command.rb +++ b/test/rubygems/test_gem_commands_update_command.rb @@ -83,7 +83,7 @@ class TestGemCommandsUpdateCommand < Gem end end - def test_execute_system + def est_execute_system util_clear_gems util_setup_rubygem9 util_setup_spec_fetcher @rubygem9 @@ -107,7 +107,7 @@ class TestGemCommandsUpdateCommand < Gem assert_empty out end - def test_execute_system_at_latest + def est_execute_system_at_latest util_clear_gems util_setup_rubygem_current util_setup_spec_fetcher @rubygem_current @@ -129,7 +129,7 @@ class TestGemCommandsUpdateCommand < Gem assert_empty out end - def test_execute_system_multiple + def est_execute_system_multiple util_clear_gems util_setup_rubygem9 util_setup_rubygem8 @@ -154,7 +154,7 @@ class TestGemCommandsUpdateCommand < Gem assert_empty out end - def test_execute_system_specific + def est_execute_system_specific util_clear_gems util_setup_rubygem9 util_setup_rubygem8 @@ -179,7 +179,7 @@ class TestGemCommandsUpdateCommand < Gem assert_empty out end - def test_execute_system_specifically_to_latest_version + def est_execute_system_specifically_to_latest_version util_clear_gems util_setup_rubygem9 util_setup_rubygem8 @@ -204,7 +204,7 @@ class TestGemCommandsUpdateCommand < Gem assert_empty out end - def test_execute_system_with_gems + def est_execute_system_with_gems @cmd.options[:args] = %w[gem] @cmd.options[:system] = true @cmd.options[:generate_rdoc] = false debian/patches/110829-freebsd_assert_normal_exit.patch0000664000000000000000000000075312247132667020015 0ustar Rejected upstream. Needed to run test suite on kfreebsd. http://redmine.ruby-lang.org/issues/5239 http://bugs.debian.org/639658 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -252,6 +252,10 @@ def assert_normal_exit(testsrc, *rest) timeout_signaled = true end status = th.value + if status.nil? # case on kfreebsd + Process.waitpid(pid) + status = $? + end ensure $stderr.reopen(old_stderr) old_stderr.close debian/patches/series0000664000000000000000000000110412254302313012023 0ustar # Might still be useful #919_common.mk_tweaks.diff #940_test_thread_mutex_sync_shorter.diff #100518_r27464_threading_non-nptl.diff 100731_disable-tests.diff 20100829-rubygems_disable_update_system.diff 20100829-rubygems_default_dir.diff 110720_tcltk_disable_rpath.diff 090729_fix_Makefile_deps.diff 090803_exclude_rdoc.diff 110825-run-tests-verbose.patch 110825-tests_broken_as_root.patch 110829-freebsd_assert_normal_exit.patch 110829-hurd_dirent_usage.patch hurd-path-max.diff 20120927-rubygems_disable_upstream_certs.patch 20121014_bison_2_6_fix.diff 20131218-stack-size.patch debian/patches/20121014_bison_2_6_fix.diff0000664000000000000000000000107012247132667015061 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 20121014_bison_2_6_fix.diff by James Healy ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: 1.9.3p286 doesn't build cleanly against bison 2.6. This patch is ## DP: backported from upstream changeset 36532. This can probably be ## DP: removed with the next upstream release --- a/tool/ytab.sed +++ b/tool/ytab.sed @@ -11,6 +11,12 @@ i\ a\ #endif } +/^extern int yydebug;/{ +i\ +#ifndef yydebug +a\ +#endif +} /^yydestruct.*yymsg/,/#endif/{ /^yydestruct/{ /parser/!{ debian/patches/090803_exclude_rdoc.diff0000664000000000000000000000136712247132667014755 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## 090803_exclude_rdoc.dpatch by Daigo Moriwaki ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Exclude some files from rdoc. @DPATCH@ --- a/common.mk +++ b/common.mk @@ -404,7 +404,7 @@ post-install-doc:: rdoc: PHONY main @echo Generating RDoc documentation - $(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --encoding=UTF-8 --no-force-update --all --ri --op "$(RDOCOUT)" $(RDOCFLAGS) "$(srcdir)" + $(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --encoding=UTF-8 --no-force-update --all --ri --op "$(RDOCOUT)" $(RDOCFLAGS) --exclude mkconfig.rb --exclude test_ --exclude bm_ --exclude "tool/make-snapshot" "$(srcdir)" rdoc-coverage: PHONY main @echo Generating RDoc coverage report debian/testrb1.9.1.rd0000664000000000000000000000203612247132667011424 0ustar =begin = NAME testrb1.9 - Automatic runnter for Test::Unit of Ruby = SYNOPSIS testrb1.9 [options] [-- untouched arguments] test ... = DESCRIPTION testrb1.9 loads and runs unit-tests. If test is directory name, testrb1.9 testrb1.9 traverses the directory. = OPTIONS : -r, --runner=RUNNER Use the given RUNNER. (t[k], c[onsole], g[tk], f[ox]) : -a, --add=TORUN Add TORUN to the list of things to run; can be a file or a directory. : -p, --pattern=PATTERN Match files to collect against PATTERN. (default pattern is /\Atest_.*\.rb\Z/.) : -n, --name=NAME Runs tests matching NAME. (patterns may be used.) : -t, --testcase=TESTCASE Runs tests in TestCases matching TESTCASE. (patterns may be used.) : -v, --verbose=[LEVEL] Set the output level (default is verbose). (p[rogress], n[ormal], v[erbose], s[ilent]) : -- Stop processing options so that the remaining options will be passed to the test. : -h, --help Display help. = AUTHOR This manpage was contributed by akira yamada =end debian/fixshebang.sh0000664000000000000000000000116412247132666011655 0ustar #!/bin/bash ruby="$1" target_dir="$2" for f in `find "$target_dir" -type f 2>/dev/null` do textflag=0 filetype="`file -b $f`" for ft in $filetype do if [ "${#ft}" -lt 4 ] then continue fi if [ "${ft:0:4}" == "text" ] then textflag=1 break fi done if [ "$textflag" -eq 0 ] then continue fi cp -pf $f $f.tmp sed -e '1,1s,^#![ ]*\([^ ]*\)/\(ruby\|env ruby\)$,#!/usr/bin/'$ruby',' \ -e '1,1s,^#![ ]*\([^ ]*\)/\(wish\|perl\)$,#!/usr/bin/\2,' < $f > $f.tmp if ! cmp $f $f.tmp >/dev/null then mv -f $f.tmp $f else rm -f $f.tmp fi done