summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-09 01:32:04 +0000
committerKarl Berry <karl@freefriends.org>2017-11-09 01:32:04 +0000
commit43f910cd38a469d36aef7baf4403e9513728b939 (patch)
tree541c168f8ec99f3d7e63a6f7bea3a8054331ca57 /Build/source
parent9b75042297a6d1c54a6fe527c5565b2862a979b0 (diff)
lwarp (9nov17)
git-svn-id: svn://tug.org/texlive/trunk@45722 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua2
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texlive/tlmgr.pl24
2 files changed, 18 insertions, 8 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua b/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
index 7d0dbb62ac5..c813ebfe66a 100755
--- a/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
+++ b/Build/source/texk/texlive/linked_scripts/lwarp/lwarpmk.lua
@@ -4,7 +4,7 @@
-- Print the usage of the lwarpmk command:
-printversion = "v0.42"
+printversion = "v0.43"
function printhelp ()
print ("lwarpmk: Use lwarpmk -h or lwarpmk --help for help.") ;
diff --git a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
index 98ef87b44a7..22662575cfe 100755
--- a/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
+++ b/Build/source/texk/texlive/linked_scripts/texlive/tlmgr.pl
@@ -1,13 +1,13 @@
#!/usr/bin/env perl
-# $Id: tlmgr.pl 45623 2017-10-27 14:41:58Z preining $
+# $Id: tlmgr.pl 45719 2017-11-08 12:19:02Z preining $
#
# Copyright 2008-2017 Norbert Preining
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
-my $svnrev = '$Revision: 45623 $';
-my $datrev = '$Date: 2017-10-27 16:41:58 +0200 (Fri, 27 Oct 2017) $';
+my $svnrev = '$Revision: 45719 $';
+my $datrev = '$Date: 2017-11-08 13:19:02 +0100 (Wed, 08 Nov 2017) $';
my $tlmgrrevision;
my $prg;
if ($svnrev =~ m/: ([0-9]+) /) {
@@ -1491,7 +1491,7 @@ Goodbye.
if ($opts{'data'}) {
@adds = @datafields;
}
- print "[\n" if ($fmt eq "json");
+ print "[" if ($fmt eq "json");
my $first = 1;
foreach my $ppp (@whattolist) {
next if ($ppp =~ m/^00texlive\./);
@@ -3638,7 +3638,7 @@ sub show_one_package_json {
my $is_available = (defined($remtlp) ? 1 : 0);
if (!($is_installed || $is_available)) {
# output proper JSON for unavailable packages
- print "{ \"name\":\"$p\", \"available\":false }\n";
+ print "{ \"name\":\"$p\", \"available\":false }";
#tlwarn("$prg: package $p not found neither locally nor remote!\n");
#return($F_WARNING);
return($F_OK);
@@ -3652,7 +3652,7 @@ sub show_one_package_json {
lrev => ($is_installed ? $loctlp->revision : 0),
rrev => ($is_available ? $remtlp->revision : 0),
revision => undef);
- print $str, "\n";
+ print $str;
return($F_OK);
}
@@ -8554,6 +8554,13 @@ report C<(verified)> after loading the TLPDB; otherwise, they report
C<(not verified)>. Either way, by default the installation and/or
updates proceed normally.
+If a program 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. This is not required for additional r
+repositories. If C<gpg> is not available, signatures are not checked
+and no verification is carried out, but C<tlmgr> proceeds normally.
+This is the behavior of C<tlmgr> up to TeX Live 2016.
+
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
@@ -8561,6 +8568,9 @@ L<CONFIGURATION FILE FOR TLMGR>). On the other hand, it is possible to
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.
Cryptographic verification requires checksum checking (described just
above) to succeed, and a working GnuPG (C<gpg>) program (see below for
@@ -9146,7 +9156,7 @@ This script and its documentation were written for the TeX Live
distribution (L<http://tug.org/texlive>) and both are licensed under the
GNU General Public License Version 2 or later.
-$Id: tlmgr.pl 45623 2017-10-27 14:41:58Z preining $
+$Id: tlmgr.pl 45719 2017-11-08 12:19:02Z preining $
=cut
# to remake HTML version: pod2html --cachedir=/tmp tlmgr.pl >/tmp/tlmgr.html