diff options
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/doc/kpathsea.info | 99 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/doc/kpathsea.texi | 6 | ||||
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 71 |
4 files changed, 96 insertions, 86 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index a7a05f8c030..0783272a093 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,9 @@ +2018-02-10 Karl Berry <karl@freefriends.org> + + * doc/kpathsea.texi (Path searching options): clarify that + --no-casefold-search doesn't mean the underlying (file)system + magically becomes case-sensitive. + 2018-02-07 Karl Berry <karl@freefriends.org> * tests/kpsewhich.test: don't run --no-casefold-search with diff --git a/Build/source/texk/kpathsea/doc/kpathsea.info b/Build/source/texk/kpathsea/doc/kpathsea.info index 339edf9af2a..57d9c99d386 100644 --- a/Build/source/texk/kpathsea/doc/kpathsea.info +++ b/Build/source/texk/kpathsea/doc/kpathsea.info @@ -1159,8 +1159,11 @@ filename, and returns the first file found. '--no-casefold-search' Explicitly enable or disable the fallback to a case-insensitive search on Unix platforms (*note Casefolding search::); no effect on - Windows. The default is the same as the system setup, which is (by - default) enabled. + Windows. The default is enabled, set in 'texmf.cnf'. Disabling + ('--no-casefold-search') does not mean that searches magically + become case-sensitive when the underlying (file)system is + case-insensitive, it merely means that Kpathsea does not do any + casefolding itself. '--dpi=NUM' Set the resolution to NUM; this only affects 'gf' and 'pk' lookups. @@ -2943,37 +2946,37 @@ Index * --color=tty: ls-R. (line 21) * --debug=NUM: Auxiliary tasks. (line 9) * --dpi=NUM: Path searching options. - (line 24) + (line 27) * --engine=NAME: Path searching options. - (line 28) + (line 31) * --expand-braces=STRING: Auxiliary tasks. (line 12) * --expand-path=STRING: Auxiliary tasks. (line 16) * --expand-var=STRING: Auxiliary tasks. (line 34) * --format=NAME: Path searching options. - (line 44) + (line 47) * --help: Standard options. (line 8) * --help-formats: Auxiliary tasks. (line 39) * --interactive: Path searching options. - (line 126) + (line 129) * --mktex=FILETYPE: Path searching options. - (line 131) + (line 134) * --mode=STRING: Path searching options. - (line 137) + (line 140) * --must-exist: Path searching options. - (line 142) + (line 145) * --no-casefold-search: Path searching options. (line 18) * --no-mktex=FILETYPE: Path searching options. - (line 131) + (line 134) * --path=STRING: Path searching options. - (line 147) + (line 150) * --progname=NAME: Path searching options. - (line 155) + (line 158) * --safe-in-name=NAME: Auxiliary tasks. (line 45) * --safe-out-name=NAME: Auxiliary tasks. (line 45) * --show-path=NAME: Auxiliary tasks. (line 51) * --subdir=STRING: Path searching options. - (line 160) + (line 163) * --var-value=VARIABLE: Auxiliary tasks. (line 57) * --version: Standard options. (line 11) * --with-mktextex-default: mktex configuration. (line 12) @@ -2986,7 +2989,7 @@ Index * -1 debugging value: Debugging. (line 23) * -A option to ls: ls-R. (line 33) * -D NUM: Path searching options. - (line 24) + (line 27) * -iname, find predicate: Casefolding examples. (line 78) * -L option to ls: ls-R. (line 38) @@ -3265,7 +3268,7 @@ Index * ENCFONTS: Supported file formats. (line 61) * engine name: Path searching options. - (line 28) + (line 31) * environment variable, source for path: Path sources. (line 9) * environment variables for TeX: Supported file formats. (line 6) @@ -3373,7 +3376,7 @@ Index (line 84) * input lines, reading: Calling sequence. (line 110) * interactive query: Path searching options. - (line 126) + (line 129) * interface, not frozen: Introduction. (line 29) * introduction: Introduction. (line 6) * kdebug:: Debugging. (line 105) @@ -3596,7 +3599,7 @@ Index * reporting bugs: Reporting bugs. (line 6) * resident.c: Calling sequence. (line 47) * resolution, setting: Path searching options. - (line 24) + (line 27) * resolutions, last-resort: Fallback font. (line 6) * retrieving TeX: unixtex.ftp. (line 6) * right-hand side of variable assignments: Config files. (line 56) @@ -3868,36 +3871,36 @@ Node: Filename aliases46780 Node: Database format47958 Node: Invoking kpsewhich48971 Node: Path searching options49926 -Node: Specially-recognized files58128 -Node: Auxiliary tasks59483 -Node: Standard options61822 -Node: TeX support62178 -Node: Supported file formats63532 -Node: File lookup71197 -Node: Glyph lookup72946 -Node: Basic glyph lookup74070 -Node: Fontmap74950 -Node: Fallback font77479 -Node: Suppressing warnings78391 -Node: mktex scripts79518 -Node: mktex configuration80733 -Node: mktex script names86536 -Node: mktex script arguments87922 -Node: Programming88801 -Node: Programming overview89374 -Node: Calling sequence92235 -Node: Program-specific files98767 -Node: Programming with config files99790 -Node: Reporting bugs101102 -Node: Bug checklist101780 -Node: Mailing lists105252 -Node: Debugging105927 -Node: Logging111004 -Node: Common problems112871 -Node: Unable to find files113348 -Node: Slow path searching115758 -Node: Unable to generate fonts117133 -Node: TeX or Metafont failing119604 -Node: Index120957 +Node: Specially-recognized files58327 +Node: Auxiliary tasks59682 +Node: Standard options62021 +Node: TeX support62377 +Node: Supported file formats63731 +Node: File lookup71396 +Node: Glyph lookup73145 +Node: Basic glyph lookup74269 +Node: Fontmap75149 +Node: Fallback font77678 +Node: Suppressing warnings78590 +Node: mktex scripts79717 +Node: mktex configuration80932 +Node: mktex script names86735 +Node: mktex script arguments88121 +Node: Programming89000 +Node: Programming overview89573 +Node: Calling sequence92434 +Node: Program-specific files98966 +Node: Programming with config files99989 +Node: Reporting bugs101301 +Node: Bug checklist101979 +Node: Mailing lists105451 +Node: Debugging106126 +Node: Logging111203 +Node: Common problems113070 +Node: Unable to find files113547 +Node: Slow path searching115957 +Node: Unable to generate fonts117332 +Node: TeX or Metafont failing119803 +Node: Index121156 End Tag Table diff --git a/Build/source/texk/kpathsea/doc/kpathsea.texi b/Build/source/texk/kpathsea/doc/kpathsea.texi index b4bab017cc8..65eee7e9f4c 100644 --- a/Build/source/texk/kpathsea/doc/kpathsea.texi +++ b/Build/source/texk/kpathsea/doc/kpathsea.texi @@ -1444,7 +1444,11 @@ than one match, just one will be reported (chosen effectively at random). @opindex --no-casefold-search Explicitly enable or disable the fallback to a case-insensitive search on Unix platforms (@pxref{Casefolding search}); no effect on Windows. -The default is the same as the system setup, which is (by default) enabled. +The default is enabled, set in @code{texmf.cnf}. Disabling +(@code{--no-casefold-search}) does not mean that searches magically +become case-sensitive when the underlying (file)system is +case-insensitive, it merely means that Kpathsea does not do any +casefolding itself. @item --dpi=@var{num} @opindex --dpi=@var{num} diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 9203993c3df..2b496eca05c 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -1,10 +1,9 @@ #!/usr/bin/env perl # $Id$ # -# Copyright 2008-2017 Norbert Preining +# Copyright 2008-2018 Norbert Preining # This file is licensed under the GNU General Public License version 2 # or any later version. -# my $svnrev = '$Revision$'; my $datrev = '$Date$'; @@ -6526,7 +6525,7 @@ sub handle_gpg_config_settings { tldie("$prefix, verification explicitly requested on command line, quitting.\n"); } if ($config{'verify-downloads'}) { - # verification explicitely requested in config file, but not gpg, die + # verification explicitly requested in config file, but not gpg, die tldie("$prefix, verification explicitly requested in config file, quitting.\n"); } # it was requested via the default setting, so just debug it @@ -7424,9 +7423,11 @@ only useful in debugging. =item B<--no-require-verification> -Instructs C<tlmgr> to only accept signed and verified remotes. In any -other case C<tlmgr> will quit operation. -See L<CRYPTOGRAPHIC VERIFICATION> below for details. +Verify that all remote repositories to be correctly signed, or quit. +With C<--no-require-verification>, all verification is omitted. By +default, verification is performed (but not required) if GnuPG and the +relevant keys are available. See L<CRYPTOGRAPHIC VERIFICATION> below for +details. =item B<--usermode> @@ -7440,9 +7441,11 @@ Uses I<dir> for the tree in user mode; see L<USER MODE> below. =item B<--no-verify-downloads> -Enables or disables cryptographic verification of downloaded database files. -A working GnuPG (C<gpg>) binary needs to be present in the path, otherwise -this option has no effect. See L<CRYPTOGRAPHIC VERIFICATION> below for details. +Enables or disables cryptographic verification of all downloaded +database files. A working GnuPG (C<gpg>) binary needs to be present in +the path, otherwise this option has no effect. By default, the main +repository is verified, while any other repositories are not verified. +See L<CRYPTOGRAPHIC VERIFICATION> below for details. =back @@ -8438,11 +8441,12 @@ Save the local TLPDB, presumably after other operations have changed it. Get the value of I<var>, or set it to I<val>. Possible I<var> names: C<debug-translation>, C<machine-readable>, C<no-execute-actions>, -C<require-verification>, C<verify-downloads>, C<repository>, and C<prompt>. All -except C<repository> and C<prompt> are booleans, taking values 0 and 1, and behave -like the corresponding command line option. The C<repository> variable -takes a string, and sets the remote repository location. The C<prompt> variable -takes a string, and sets the current default prompt. +C<require-verification>, C<verify-downloads>, C<repository>, and +C<prompt>. All except C<repository> and C<prompt> are booleans, taking +values 0 and 1, and behave like the corresponding command line option. +The C<repository> variable takes a string, and sets the remote +repository location. The C<prompt> variable takes a string, and sets the +current default prompt. If I<var> or then I<val> is not specified, it is prompted for. @@ -8723,11 +8727,8 @@ make sense to set this. The C<no-checksums> key needs more explanation. By default, package checksums computed and stored on the server (in the TLPDB) are compared -to checksums computed locally after downloading. That is, for each -C<texlive.tlpdb> loaded from a repository, the corresponding checksum -file C<texlive.tlpdb.sha512> is also downloaded, and C<tlmgr> confirms -whether the checksum of the downloaded TLPDB file agrees with the -download data. C<no-checksums> disables this process. +to checksums computed locally after downloading. C<no-checksums> +disables this process. The checksum algorithm is SHA-512. Your system must have one of (looked for in this order) the Perl C<Digest::SHA> module, the C<openssl> @@ -8744,26 +8745,22 @@ context.) C<no-checksums> avoids the warning. C<tlmgr> and C<install-tl> perform cryptographic verification if possible. If verification is performed and successful, the programs report C<(verified)> after loading the TLPDB; otherwise, they report -C<(not verified)>. Either way, by default the installation and/or +C<(not verified)>. But either way, by default the installation and/or updates proceed normally. -If a program named C<gpg> is available (that is, it is found in the -C<PATH>), cryptographic signatures will be checked. In this case we -require that the main repository is signed, but signing is not required -for additional repositories. If C<gpg> is not available, signatures are -not checked and no verification is carried out, but C<tlmgr> proceeds -normally. - -The attempted verification can be suppressed by specifying -C<--no-verify-downloads> on the command line, or the entry -C<verify-downloads=0> in a C<tlmgr> config file (described in -L<CONFIGURATION FILE FOR TLMGR>). On the other hand, you can -I<require> verification by specifying C<--require-verification> on the -command line, or C<require-verification=1> in a C<tlmgr> config file; -in this case, if verification is not possible, the program quits. -Note that as mentioned above, if C<gpg> is available, the main repository -is always required to have a signature. Using the C<--require-verification> -switch, C<tlmgr> also requires signatures from additional repositories. +If a program named C<gpg> is available (that is, found in C<PATH>), +cryptographic signatures will be checked. In this case we require the +main repository be signed, but not any additional repositories. If +C<gpg> is not available, signatures are not checked and no verification +is carried out, but C<tlmgr> proceeds normally. + +The attempted verification can be suppressed entirely by specifying +C<--no-verify-downloads> on the command line, or a line +C<verify-downloads=0> in a C<tlmgr> config file (see L<CONFIGURATION +FILE FOR TLMGR>). On the other hand, you can I<require> successful +verification by specifying C<--require-verification> on the command +line, or C<require-verification=1> in a C<tlmgr> config file; in this +case, if verification is not possible, or fails, the program quits. Cryptographic verification requires checksum checking (described just above) to succeed, and a working GnuPG (C<gpg>) program (see below for |