glib2 1.1.4-x86-mingw32 → 1.1.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +17 -3
- data/ext/glib2/rbglib.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +32 -28
- data/lib/gnome2-win32-binary-build-task.rb +191 -0
- data/lib/{gnome2-win32-binary-downloader.rb → gnome2-win32-binary-download-task.rb} +62 -19
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/dumpsexp.exe +0 -0
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +177 -0
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/gnutls.README.txt +6 -0
- data/vendor/local/include/gcrypt-module.h +226 -0
- data/vendor/local/include/gcrypt.h +1826 -0
- data/vendor/local/include/gnutls/compat.h +105 -0
- data/vendor/local/include/gnutls/crypto.h +73 -0
- data/vendor/local/include/gnutls/extra.h +137 -0
- data/vendor/local/include/gnutls/gnutls.h +1333 -0
- data/vendor/local/include/gnutls/gnutlsxx.h +388 -0
- data/vendor/local/include/gnutls/openpgp.h +283 -0
- data/vendor/local/include/gnutls/openssl.h +335 -0
- data/vendor/local/include/gnutls/pkcs12.h +106 -0
- data/vendor/local/include/gnutls/x509.h +672 -0
- data/vendor/local/include/gpg-error.h +651 -0
- data/vendor/local/include/libtasn1.h +246 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +41 -0
- data/vendor/local/lib/libgcrypt.def +237 -0
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gnutls.pc +23 -0
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +593 -0
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +8 -0
- data/vendor/local/share/aclocal/gpg-error.m4 +65 -0
- data/vendor/local/share/aclocal/libgcrypt.m4 +108 -0
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +161 -0
- data/vendor/local/share/aclocal/libgnutls.m4 +160 -0
- data/vendor/local/share/aclocal/libtasn1.m4 +160 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +417 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +64 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +36 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +236 -0
- data/vendor/local/share/info/gcrypt.info +6243 -0
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-client-server-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-handshake-sequence.png +0 -0
- data/vendor/local/share/info/gnutls-handshake-state.png +0 -0
- data/vendor/local/share/info/gnutls-internals.png +0 -0
- data/vendor/local/share/info/gnutls-layers.png +0 -0
- data/vendor/local/share/info/gnutls-logo.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/gnutls-pgp.png +0 -0
- data/vendor/local/share/info/gnutls-x509.png +0 -0
- data/vendor/local/share/info/gnutls.info +708 -0
- data/vendor/local/share/info/gnutls.info-1 +10467 -0
- data/vendor/local/share/info/gnutls.info-2 +7896 -0
- data/vendor/local/share/info/gnutls.info-3 +1899 -0
- data/vendor/local/share/info/libtasn1.info +2993 -0
- data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
- data/vendor/local/share/license/glib-networking/COPYING +482 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/man/man1/asn1Coding.1 +46 -0
- data/vendor/local/share/man/man1/asn1Decoding.1 +41 -0
- data/vendor/local/share/man/man1/asn1Parser.1 +49 -0
- data/vendor/local/share/man/man1/certtool.1 +159 -0
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +31 -0
- data/vendor/local/share/man/man1/gnutls-cli.1 +166 -0
- data/vendor/local/share/man/man1/gnutls-serv.1 +134 -0
- data/vendor/local/share/man/man1/psktool.1 +31 -0
- data/vendor/local/share/man/man1/srptool.1 +73 -0
- data/vendor/local/share/man/man3/asn1_array2tree.3 +47 -0
- data/vendor/local/share/man/man3/asn1_bit_der.3 +39 -0
- data/vendor/local/share/man/man3/asn1_check_version.3 +39 -0
- data/vendor/local/share/man/man3/asn1_copy_node.3 +39 -0
- data/vendor/local/share/man/man3/asn1_create_element.3 +45 -0
- data/vendor/local/share/man/man3/asn1_delete_element.3 +39 -0
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +37 -0
- data/vendor/local/share/man/man3/asn1_der_coding.3 +52 -0
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +50 -0
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +54 -0
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +58 -0
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +45 -0
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +51 -0
- data/vendor/local/share/man/man3/asn1_find_node.3 +38 -0
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +37 -0
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +43 -0
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +38 -0
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +43 -0
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +41 -0
- data/vendor/local/share/man/man3/asn1_length_der.3 +36 -0
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +43 -0
- data/vendor/local/share/man/man3/asn1_octet_der.3 +37 -0
- data/vendor/local/share/man/man3/asn1_parser2array.3 +58 -0
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +55 -0
- data/vendor/local/share/man/man3/asn1_print_structure.3 +40 -0
- data/vendor/local/share/man/man3/asn1_read_tag.3 +46 -0
- data/vendor/local/share/man/man3/asn1_read_value.3 +92 -0
- data/vendor/local/share/man/man3/asn1_write_value.3 +136 -0
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_bye.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_check_version.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_free.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_global_init.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_handshake.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_init.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_malloc.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_perror.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_prf.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +99 -0
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_record_send.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_strerror.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +45 -0
- data/vendor/local/share/man/man3/libtasn1_perror.3 +32 -0
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +35 -0
- metadata +660 -5
data/Rakefile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
|
3
|
+
$LOAD_PATH.unshift("./lib")
|
4
|
+
require 'gnome2-raketask'
|
4
5
|
|
5
6
|
package = GNOME2Package.new do |_package|
|
6
7
|
_package.summary = "Ruby/GLib2 is a Ruby binding of GLib-2.x."
|
@@ -8,7 +9,20 @@ package = GNOME2Package.new do |_package|
|
|
8
9
|
_package.dependency.gem.runtime = [["pkg-config", ">= 0"]]
|
9
10
|
_package.dependency.gem.development = [["test-unit", ">= 2"]]
|
10
11
|
_package.win32.packages = ["glib"]
|
11
|
-
_package.win32.dependencies = ["gettext-runtime"]
|
12
|
+
_package.win32.dependencies = ["gettext-runtime", "gnutls"]
|
13
|
+
_package.win32.build_packages = [
|
14
|
+
{
|
15
|
+
:name => "glib-networking",
|
16
|
+
:download_site => :gnome,
|
17
|
+
:label => "glib-networking",
|
18
|
+
:version => "2.28.7",
|
19
|
+
:configure_args => ["--without-libproxy",
|
20
|
+
"--without-gnome-proxy",
|
21
|
+
"--without-ca-certificates"],
|
22
|
+
:patches => ["glib-networking-2.28.7-fix-with-gnome-proxy.diff",
|
23
|
+
"glib-networking-2.28.7-support-gnutls-2.4.2.diff"],
|
24
|
+
:need_autoreconf => true,
|
25
|
+
},
|
26
|
+
]
|
12
27
|
end
|
13
28
|
package.define_tasks
|
14
|
-
|
data/ext/glib2/rbglib.h
CHANGED
data/lib/1.8/glib2.so
CHANGED
Binary file
|
data/lib/1.9/glib2.so
CHANGED
Binary file
|
data/lib/gnome2-raketask.rb
CHANGED
@@ -9,19 +9,22 @@ require 'find'
|
|
9
9
|
require 'rubygems'
|
10
10
|
require 'rubygems/package_task'
|
11
11
|
require 'rake/extensiontask'
|
12
|
+
require 'gnome2-win32-binary-download-task'
|
13
|
+
require 'gnome2-win32-binary-build-task'
|
12
14
|
|
13
15
|
class GNOME2Package
|
14
16
|
include Rake::DSL
|
15
17
|
|
16
18
|
attr_accessor :name, :summary, :description, :author, :email, :homepage, :required_ruby_version, :post_install_message
|
19
|
+
attr_reader :root_dir
|
17
20
|
def initialize
|
18
21
|
initialize_variables
|
19
22
|
initialize_configurations
|
20
23
|
file, line, method = caller[1].scan(/^(.*):(\d+)(?::.*`(.*)')?\Z/).first
|
21
|
-
@
|
22
|
-
@
|
23
|
-
@packages = FileList["#{File.dirname(@
|
24
|
-
@name = File.basename(@
|
24
|
+
@root_dir = File.dirname(file)
|
25
|
+
@glib2_root_dir = File.expand_path("#{@root_dir}/../glib2")
|
26
|
+
@packages = FileList["#{File.dirname(@root_dir)}/*"].map{|f| File.directory?(f) ? File.basename(f) : nil}.compact
|
27
|
+
@name = File.basename(@root_dir)
|
25
28
|
@cross_compiling_hooks = []
|
26
29
|
yield(self) if block_given?
|
27
30
|
end
|
@@ -55,7 +58,7 @@ class GNOME2Package
|
|
55
58
|
|
56
59
|
def guess_version
|
57
60
|
versions = {}
|
58
|
-
File.open("#{@
|
61
|
+
File.open("#{@glib2_root_dir}/ext/glib2/rbglib.h") do |rbglib_h|
|
59
62
|
rbglib_h.each_line do |line|
|
60
63
|
if /#define\s+RBGLIB_([A-Z]+)_VERSION\s+(\d+)/ =~ line
|
61
64
|
versions[$1.downcase] = $2.to_i
|
@@ -104,19 +107,20 @@ class GNOME2Package
|
|
104
107
|
end
|
105
108
|
|
106
109
|
def define_win32_tasks
|
107
|
-
|
110
|
+
define_win32_extension_task
|
108
111
|
define_win32_download_task
|
112
|
+
define_win32_build_task
|
109
113
|
end
|
110
114
|
|
111
|
-
def
|
115
|
+
def define_win32_extension_task
|
112
116
|
Rake::ExtensionTask.new(@name, @spec) do |ext|
|
113
117
|
ext.cross_compile = true
|
114
118
|
ext.cross_compiling do |spec|
|
115
119
|
if /mingw|mswin/ =~ spec.platform.to_s
|
116
|
-
|
120
|
+
win32_binary_dir = @win32_configuration.relative_binary_dir
|
117
121
|
win32_files = []
|
118
|
-
if File.exist?(
|
119
|
-
Find.find(
|
122
|
+
if File.exist?(win32_binary_dir)
|
123
|
+
Find.find(win32_binary_dir) do |file|
|
120
124
|
next if /\.zip\z/ =~ file
|
121
125
|
win32_files << file
|
122
126
|
end
|
@@ -130,22 +134,11 @@ class GNOME2Package
|
|
130
134
|
end
|
131
135
|
|
132
136
|
def define_win32_download_task
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
end
|
139
|
-
task :download do
|
140
|
-
GNOME2Win32BinaryDownloader.download(@win32_configuration.to_hash)
|
141
|
-
end
|
142
|
-
task :after
|
143
|
-
end
|
144
|
-
desc "download Windows binaries"
|
145
|
-
task :download => ["win32:downloader:before",
|
146
|
-
"win32:downloader:download",
|
147
|
-
"win32:downloader:after"]
|
148
|
-
end
|
137
|
+
GNOME2Win32BinaryDownloadTask.new(@win32_configuration)
|
138
|
+
end
|
139
|
+
|
140
|
+
def define_win32_build_task
|
141
|
+
GNOME2Win32BinaryBuildTask.new(@win32_configuration)
|
149
142
|
end
|
150
143
|
end
|
151
144
|
|
@@ -198,19 +191,30 @@ class GNOME2Package
|
|
198
191
|
end
|
199
192
|
|
200
193
|
class Win32Configuration
|
201
|
-
|
194
|
+
attr_reader :package
|
195
|
+
attr_accessor :packages, :dependencies, :build_packages, :build_dependencies
|
196
|
+
attr_accessor :build_host
|
197
|
+
attr_accessor :relative_binary_dir, :absolute_binary_dir
|
202
198
|
def initialize(package)
|
203
199
|
@package = package
|
204
200
|
@packages = []
|
205
201
|
@dependencies = []
|
202
|
+
@build_packages = []
|
203
|
+
@build_dependencies = []
|
204
|
+
@build_host = "i686-w64-mingw32"
|
205
|
+
@relative_binary_dir = File.join("vendor", "local")
|
206
|
+
@absolute_binary_dir = File.expand_path(@relative_binary_dir)
|
206
207
|
end
|
207
208
|
|
208
209
|
def to_hash
|
209
210
|
{
|
210
211
|
:packages => @packages,
|
211
212
|
:dependencies => @dependencies,
|
213
|
+
:build_packages => @build_packages,
|
214
|
+
:build_host => @build_host,
|
215
|
+
:relative_binary_dir => @relative_binary_dir,
|
216
|
+
:absolute_binary_dir => @absolute_binary_dir,
|
212
217
|
}
|
213
218
|
end
|
214
219
|
end
|
215
220
|
end
|
216
|
-
|
@@ -0,0 +1,191 @@
|
|
1
|
+
# Copyright(C) 2012 Ruby-GNOME2 Project.
|
2
|
+
#
|
3
|
+
# This program is licenced under the same license of Ruby-GNOME2.
|
4
|
+
|
5
|
+
require "open-uri"
|
6
|
+
require "pathname"
|
7
|
+
|
8
|
+
class GNOME2Win32BinaryBuildTask
|
9
|
+
include Rake::DSL
|
10
|
+
|
11
|
+
def initialize(configuration)
|
12
|
+
@configuration = configuration
|
13
|
+
define
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
def define
|
18
|
+
namespace :win32 do
|
19
|
+
namespace :builder do
|
20
|
+
task :before
|
21
|
+
define_download_tasks
|
22
|
+
define_build_tasks
|
23
|
+
build_tasks = build_packages.collect do |package|
|
24
|
+
"win32:builder:build:#{package[:name]}"
|
25
|
+
end
|
26
|
+
desc "Build Windows binaries"
|
27
|
+
task :build => build_tasks
|
28
|
+
task :after
|
29
|
+
end
|
30
|
+
desc "download source and build Windows binaries"
|
31
|
+
task :build => ["win32:builder:before",
|
32
|
+
"win32:builder:build",
|
33
|
+
"win32:builder:after"]
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def define_download_tasks
|
38
|
+
namespace :download do
|
39
|
+
build_packages.each do |package|
|
40
|
+
base = "#{package[:name]}-#{package[:version]}"
|
41
|
+
tar_gz = "#{base}.tar.gz"
|
42
|
+
tar_gz_url = "#{download_base_url(package)}/#{tar_gz}"
|
43
|
+
tar_gz_full_path = download_dir + tar_gz
|
44
|
+
|
45
|
+
desc "Download #{package[:label]} into #{download_dir}."
|
46
|
+
task package[:name] => tar_gz_full_path.to_s
|
47
|
+
|
48
|
+
directory_path = tar_gz_full_path.dirname
|
49
|
+
directory directory_path.to_s
|
50
|
+
file tar_gz_full_path.to_s => directory_path.to_s do
|
51
|
+
rake_output_message "downloading... #{tar_gz_url}"
|
52
|
+
open(tar_gz_url) do |downloaded_tar_gz|
|
53
|
+
tar_gz_full_path.open("wb") do |tar_gz_file|
|
54
|
+
tar_gz_file.print(downloaded_tar_gz.read)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
def define_build_tasks
|
63
|
+
namespace :build do
|
64
|
+
task :prepare do
|
65
|
+
depended_packages = @configuration.build_dependencies
|
66
|
+
use_packages = [@configuration.package.name] + depended_packages
|
67
|
+
pkg_config_path = use_packages.collect do |package|
|
68
|
+
"../#{package}/#{@configuration.relative_binary_dir}/lib/pkgconfig"
|
69
|
+
end
|
70
|
+
ENV["PKG_CONFIG_PATH"] = pkg_config_path.collect do |path|
|
71
|
+
File.expand_path(path)
|
72
|
+
end.join(":")
|
73
|
+
ENV["PKG_CONFIG_LIBDIR"] = rcairo_win32_pkgconfig_path
|
74
|
+
end
|
75
|
+
|
76
|
+
build_packages.each do |package|
|
77
|
+
download_task = "win32:builder:download:#{package[:name]}"
|
78
|
+
desc "Build #{package[:label]} and install it into #{dist_dir}."
|
79
|
+
task package[:name] => [:prepare, download_task] do
|
80
|
+
package_tmp_dir = tmp_dir + package[:name]
|
81
|
+
rm_rf(package_tmp_dir)
|
82
|
+
mkdir_p(package_tmp_dir)
|
83
|
+
|
84
|
+
base = "#{package[:name]}-#{package[:version]}"
|
85
|
+
tar_gz = "#{base}.tar.gz"
|
86
|
+
tar_gz_full_path = download_dir + tar_gz
|
87
|
+
Dir.chdir(package_tmp_dir.to_s) do
|
88
|
+
sh("tar", "xzf", tar_gz_full_path.to_s) or exit(false)
|
89
|
+
end
|
90
|
+
|
91
|
+
Dir.chdir((package_tmp_dir + base).to_s) do
|
92
|
+
(package[:patches] || []).each do |patch|
|
93
|
+
sh("patch -p1 < #{patches_dir}/#{patch}")
|
94
|
+
end
|
95
|
+
sh("./autogen.sh") if package[:need_autogen]
|
96
|
+
sh("autoreconf -i") if package[:need_autoreconf]
|
97
|
+
sh("./configure",
|
98
|
+
"CPPFLAGS=-I#{rcairo_win32_include_path} -I#{dist_dir + 'include'}",
|
99
|
+
"LDFLAGS=-L#{rcairo_win32_lib_path} -L#{dist_dir + 'lib'}",
|
100
|
+
"--prefix=#{dist_dir}",
|
101
|
+
"--host=#{@configuration.build_host}",
|
102
|
+
*package[:configure_args]) or exit(false)
|
103
|
+
common_make_args = []
|
104
|
+
common_make_args << "GLIB_COMPILE_SCHEMAS=glib-compile-schemas"
|
105
|
+
build_make_args = common_make_args.dup
|
106
|
+
install_make_args = common_make_args.dup
|
107
|
+
make_n_jobs = ENV["MAKE_N_JOBS"]
|
108
|
+
build_make_args << "-j#{make_n_jobs}" if make_n_jobs
|
109
|
+
ENV["GREP_OPTIONS"] = "--text"
|
110
|
+
sh("nice", "make", *build_make_args) or exit(false)
|
111
|
+
sh("make", "install", *install_make_args) or exit(false)
|
112
|
+
|
113
|
+
package_license_dir = license_dir + package[:name]
|
114
|
+
mkdir_p(package_license_dir)
|
115
|
+
package_license_files = ["AUTHORS", "COPYING", "COPYING.LIB"]
|
116
|
+
package_license_files = package_license_files.reject do |file|
|
117
|
+
not File.exist?(file)
|
118
|
+
end
|
119
|
+
cp(package_license_files, package_license_dir)
|
120
|
+
bundled_packages = package[:bundled_packages] || []
|
121
|
+
bundled_packages.each do |bundled_package|
|
122
|
+
bundled_package_license_dir = license_dir + bundled_package[:name]
|
123
|
+
mkdir_p(bundled_package_license_dir)
|
124
|
+
license_files = bundled_package[:license_files].collect do |file|
|
125
|
+
File.join(bundled_package[:path], file)
|
126
|
+
end
|
127
|
+
cp(license_files, bundled_package_license_dir)
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
def build_packages
|
136
|
+
@configuration.build_packages
|
137
|
+
end
|
138
|
+
|
139
|
+
def dist_dir
|
140
|
+
Pathname.new(@configuration.absolute_binary_dir)
|
141
|
+
end
|
142
|
+
|
143
|
+
def license_dir
|
144
|
+
dist_dir + "share" + "license"
|
145
|
+
end
|
146
|
+
|
147
|
+
def package_root_dir
|
148
|
+
Pathname.new(@configuration.package.root_dir)
|
149
|
+
end
|
150
|
+
|
151
|
+
def tmp_dir
|
152
|
+
package_root_dir + "tmp"
|
153
|
+
end
|
154
|
+
|
155
|
+
def download_dir
|
156
|
+
tmp_dir + "download"
|
157
|
+
end
|
158
|
+
|
159
|
+
def patches_dir
|
160
|
+
package_root_dir + "patches"
|
161
|
+
end
|
162
|
+
|
163
|
+
def rcairo_win32_dir
|
164
|
+
package_root_dir.parent.parent + "rcairo.win32"
|
165
|
+
end
|
166
|
+
|
167
|
+
def rcairo_win32_pkgconfig_path
|
168
|
+
"#{rcairo_win32_dir}/vendor/local/lib/pkgconfig"
|
169
|
+
end
|
170
|
+
|
171
|
+
def rcairo_win32_include_path
|
172
|
+
"#{rcairo_win32_dir}/vendor/local/include"
|
173
|
+
end
|
174
|
+
|
175
|
+
def rcairo_win32_lib_path
|
176
|
+
"#{rcairo_win32_dir}/vendor/local/lib"
|
177
|
+
end
|
178
|
+
|
179
|
+
def download_base_url(package)
|
180
|
+
download_base_url = package[:download_base_url]
|
181
|
+
return download_base_url if download_base_url
|
182
|
+
|
183
|
+
case package[:download_site]
|
184
|
+
when :gnome
|
185
|
+
download_base_url = "http://ftp.gnome.org/pub/gnome/sources"
|
186
|
+
release_series = package[:version].gsub(/\A(\d+\.\d+).+\z/, '\1')
|
187
|
+
download_base_url << "/#{package[:name]}/#{release_series}"
|
188
|
+
end
|
189
|
+
download_base_url
|
190
|
+
end
|
191
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright(C) 2010 Ruby-GNOME2 Project.
|
1
|
+
# Copyright(C) 2010-2012 Ruby-GNOME2 Project.
|
2
2
|
#
|
3
3
|
# This program is licenced under the same license of Ruby-GNOME2.
|
4
4
|
|
@@ -6,25 +6,69 @@ require 'open-uri'
|
|
6
6
|
require 'rubygems'
|
7
7
|
require 'mechanize'
|
8
8
|
|
9
|
-
class
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
9
|
+
class GNOME2Win32BinaryDownloadTask
|
10
|
+
include Rake::DSL
|
11
|
+
|
12
|
+
URL_BASE = "http://ftp.gnome.org/pub/gnome/binaries/win32"
|
13
|
+
def initialize(configuration)
|
14
|
+
@configuration = configuration
|
15
|
+
define
|
16
|
+
end
|
17
|
+
|
18
|
+
private
|
19
|
+
def define
|
20
|
+
namespace :win32 do
|
21
|
+
namespace :downloader do
|
22
|
+
task :before
|
23
|
+
|
24
|
+
download_tasks = []
|
25
|
+
namespace :download do
|
26
|
+
directory dist_dir
|
27
|
+
task :prepare => [dist_dir]
|
28
|
+
|
29
|
+
packages.each do |package|
|
30
|
+
desc "download #{package}"
|
31
|
+
task package => [:prepare] do
|
32
|
+
download_package(package)
|
33
|
+
end
|
34
|
+
download_tasks << package
|
35
|
+
end
|
36
|
+
|
37
|
+
dependencies.each do |dependency|
|
38
|
+
name, version = dependency
|
39
|
+
desc "download #{name}"
|
40
|
+
task name => [:prepare] do
|
41
|
+
download_dependency(dependency)
|
42
|
+
end
|
43
|
+
download_tasks << name
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
download_tasks = download_tasks.collect do |task|
|
48
|
+
"win32:downloader:download:#{task}"
|
49
|
+
end
|
50
|
+
desc "download Windows binaries into #{dist_dir}"
|
51
|
+
task :download => download_tasks
|
52
|
+
|
53
|
+
task :after
|
20
54
|
end
|
55
|
+
desc "download Windows binaries"
|
56
|
+
task :download => ["win32:downloader:before",
|
57
|
+
"win32:downloader:download",
|
58
|
+
"win32:downloader:after"]
|
21
59
|
end
|
22
60
|
end
|
23
61
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
62
|
+
def dist_dir
|
63
|
+
@configuration.absolute_binary_dir
|
64
|
+
end
|
65
|
+
|
66
|
+
def packages
|
67
|
+
@configuration.packages
|
68
|
+
end
|
69
|
+
|
70
|
+
def dependencies
|
71
|
+
@configuration.dependencies
|
28
72
|
end
|
29
73
|
|
30
74
|
def download_package(package)
|
@@ -114,15 +158,14 @@ class GNOME2Win32BinaryDownloader
|
|
114
158
|
|
115
159
|
def click_zip_link(link)
|
116
160
|
zip = link.click
|
117
|
-
|
118
|
-
Dir.chdir(@output_dir) do
|
161
|
+
Dir.chdir(dist_dir) do
|
119
162
|
open(zip.filename, "wb") do |file|
|
120
163
|
file.print(zip.body)
|
121
164
|
end
|
122
165
|
system("unzip", "-o", zip.filename)
|
123
166
|
Dir.glob("lib/pkgconfig/*.pc") do |pc_path|
|
124
167
|
pc = File.read(pc_path)
|
125
|
-
pc = pc.gsub(/\Aprefix=.+$/) {"prefix=#{
|
168
|
+
pc = pc.gsub(/\Aprefix=.+$/) {"prefix=#{dist_dir}"}
|
126
169
|
File.open(pc_path, "w") do |pc_file|
|
127
170
|
pc_file.print(pc)
|
128
171
|
end
|