Git fork
at reftables-rust 127 lines 8.0 kB view raw
1# Configuration for Git installation 2option('perllibdir', type: 'string', value: '', 3 description: 'Directory to install perl lib to. Defaults to <datadir>/perl5') 4 5# Configuration for how Git behaves at runtime. 6option('default_pager', type: 'string', value: 'less', 7 description: 'Fall-back pager.') 8option('default_editor', type: 'string', value: 'vi', 9 description: 'Fall-back editor.') 10option('gitconfig', type: 'string', 11 description: 'Path to the global git configuration file. (default: etc/gitconfig)') 12option('gitattributes', type: 'string', 13 description: 'Path to the global git attributes file. (default: etc/gitattributes)') 14option('pager_environment', type: 'string', value: 'LESS=FRX LV=-c', 15 description: 'Environment used when spawning the pager') 16option('perl_cpan_fallback', type: 'boolean', value: true, 17 description: 'Install bundled copies of CPAN modules that serve as a fallback in case the modules are not available on the system.') 18option('runtime_prefix', type: 'boolean', value: false, 19 description: 'Resolve ancillary tooling and support files relative to the location of the runtime binary instead of hard-coding them into the binary.') 20option('sane_tool_path', type: 'array', value: [], 21 description: 'An array of paths to pick up tools from in case the normal tools are broken or lacking.') 22 23# Build information compiled into Git and other parts like documentation. 24option('build_date', type: 'string', value: '', 25 description: 'Build date reported by our documentation.') 26option('built_from_commit', type: 'string', value: '', 27 description: 'Commit that Git was built from reported by git-version(1).') 28option('user_agent', type: 'string', value: '', 29 description: 'User agent reported to remote servers.') 30option('version', type: 'string', value: '', 31 description: 'Version string reported by git-version(1) and other tools.') 32 33# Features supported by Git. 34option('contrib', type: 'array', value: [ 'completion' ], choices: [ 'completion', 'contacts', 'subtree' ], 35 description: 'Contributed features to include.') 36option('credential_helpers', type: 'array', value: [ ], choices: [ 'libsecret', 'netrc', 'osxkeychain', 'wincred' ], 37 description: 'Contributed features to include.') 38option('curl', type: 'feature', value: 'enabled', 39 description: 'Build helpers used to access remotes with the HTTP transport.') 40option('expat', type: 'feature', value: 'enabled', 41 description: 'Build helpers used to push to remotes with the HTTP transport.') 42option('gettext', type: 'feature', value: 'auto', 43 description: 'Build translation files.') 44option('gitweb', type: 'feature', value: 'auto', 45 description: 'Build Git web interface. Requires Perl.') 46option('iconv', type: 'feature', value: 'auto', 47 description: 'Support reencoding strings with different encodings.') 48option('pcre2', type: 'feature', value: 'auto', 49 description: 'Support Perl-compatible regular expressions in e.g. git-grep(1).') 50option('perl', type: 'feature', value: 'auto', 51 description: 'Build tools written in Perl.') 52option('python', type: 'feature', value: 'auto', 53 description: 'Build tools written in Python.') 54option('regex', type: 'feature', value: 'auto', 55 description: 'Use the system-provided regex library instead of the bundled one.') 56 57# Backends. 58option('csprng_backend', type: 'combo', value: 'auto', choices: ['auto', 'arc4random', 'arc4random_bsd', 'getrandom', 'getentropy', 'rtlgenrandom', 'openssl', 'urandom'], 59 description: 'The backend to use for generating cryptographically-secure pseudo-random numbers.') 60option('https_backend', type: 'combo', value: 'auto', choices: ['auto', 'openssl', 'CommonCrypto', 'none'], 61 description: 'The HTTPS backend to use when connecting to remotes.') 62option('sha1_backend', type: 'combo', choices: ['openssl', 'block', 'sha1dc', 'CommonCrypto'], value: 'sha1dc', 63 description: 'The backend used for hashing objects with the SHA1 object format.') 64option('sha1_unsafe_backend', type: 'combo', choices: ['openssl', 'block', 'CommonCrypto', 'none'], value: 'none', 65 description: 'The backend used for hashing data with the SHA1 object format in case no cryptographic security is needed.') 66option('sha256_backend', type: 'combo', choices: ['openssl', 'nettle', 'gcrypt', 'block'], value: 'block', 67 description: 'The backend used for hashing objects with the SHA256 object format.') 68option('zlib_backend', type: 'combo', choices: ['auto', 'zlib', 'zlib-ng'], value: 'auto', 69 description: 'The backend used for compressing objects and other data.') 70 71# Build tweaks. 72option('breaking_changes', type: 'boolean', value: false, 73 description: 'Enable upcoming breaking changes.') 74option('rust', type: 'feature', value: 'auto', 75 description: 'Enable building with Rust.') 76option('macos_use_homebrew_gettext', type: 'boolean', value: true, 77 description: 'Use gettext from Homebrew instead of the slightly-broken system-provided one.') 78 79# gitweb configuration. 80option('gitweb_config', type: 'string', value: 'gitweb_config.perl') 81option('gitweb_config_system', type: 'string', value: '/etc/gitweb.conf') 82option('gitweb_config_common', type: 'string', value: '/etc/gitweb-common.conf') 83option('gitweb_home_link_str', type: 'string', value: 'projects') 84option('gitweb_sitename', type: 'string', value: '') 85option('gitweb_projectroot', type: 'string', value: '/pub/git') 86option('gitweb_project_maxdepth', type: 'string', value: '2007') 87option('gitweb_export_ok', type: 'string', value: '') 88option('gitweb_strict_export', type: 'string', value: '') 89option('gitweb_base_url', type: 'string', value: '') 90option('gitweb_list', type: 'string', value: '') 91option('gitweb_hometext', type: 'string', value: 'indextext.html') 92option('gitweb_css', type: 'string', value: 'static/gitweb.css') 93option('gitweb_logo', type: 'string', value: 'static/git-logo.png') 94option('gitweb_favicon', type: 'string', value: 'static/git-favicon.png') 95option('gitweb_js', type: 'string', value: 'static/gitweb.js') 96option('gitweb_site_html_head_string', type: 'string', value: '') 97option('gitweb_site_header', type: 'string', value: '') 98option('gitweb_site_footer', type: 'string', value: '') 99option('highlight_bin', type: 'string', value: 'highlight') 100 101# Documentation. 102option('docs', type: 'array', choices: ['man', 'html'], value: [], 103 description: 'Which documenattion formats to build and install.') 104option('default_help_format', type: 'combo', choices: ['man', 'html', 'platform'], value: 'platform', 105 description: 'Default format used when executing git-help(1).') 106option('docs_backend', type: 'combo', choices: ['asciidoc', 'asciidoctor', 'auto'], value: 'auto', 107 description: 'Which backend to use to generate documentation.') 108 109# Testing. 110option('benchmarks', type: 'feature', value: 'auto', 111 description: 'Enable benchmarks. This requires Perl and GNU time.') 112option('benchmark_repo', type: 'string', value: '', 113 description: 'Repository to copy for the performance tests. Should be at least the size of the Git repository.') 114option('benchmark_large_repo', type: 'string', value: '', 115 description: 'Large repository to copy for the performance tests. Should be at least the size of the Linux repository.') 116option('benchmark_repeat_count', type: 'integer', value: 3, 117 description: 'Number of times a test should be repeated for best-of-N measurements.') 118option('coccinelle', type: 'feature', value: 'auto', 119 description: 'Provide a coccicheck target that generates a Coccinelle patch.') 120option('tests', type: 'boolean', value: true, 121 description: 'Enable building tests. This requires Perl, but is separate from the "perl" option such that you can build tests without Perl features enabled.') 122option('test_output_directory', type: 'string', 123 description: 'Path to the directory used to store test outputs') 124option('test_utf8_locale', type: 'string', 125 description: 'Name of a UTF-8 locale used for testing.') 126option('fuzzers', type: 'boolean', value: false, 127 description: 'Enable building fuzzers.')