texlive[60823] Master/tlpkg: misc doc updates: clisp build, gpg

commits+karl at tug.org commits+karl at tug.org
Thu Oct 21 20:17:34 CEST 2021


Revision: 60823
          http://tug.org/svn/texlive?view=revision&revision=60823
Author:   karl
Date:     2021-10-21 20:17:33 +0200 (Thu, 21 Oct 2021)
Log Message:
-----------
misc doc updates: clisp build, gpg procedure, setup_sys_user_mode() args

Modified Paths:
--------------
    trunk/Build/source/utils/README
    trunk/Master/texmf-dist/scripts/texlive/NEWS
    trunk/Master/tlpkg/TeXLive/TLUtils.pm
    trunk/Master/tlpkg/bin/tl-check-fmtshare
    trunk/Master/tlpkg/gpg/tl-key-extension.txt

Property Changed:
----------------
    trunk/Master/tlpkg/bin/pdflatex-preserve-pdf

Modified: trunk/Build/source/utils/README
===================================================================
--- trunk/Build/source/utils/README	2021-10-21 14:36:15 UTC (rev 60822)
+++ trunk/Build/source/utils/README	2021-10-21 18:17:33 UTC (rev 60823)
@@ -88,6 +88,7 @@
 # when running configure for clisp.
 
 # may be able to omit iconv if have new enough in libc or elsewhere.
+# (and omit --with-libiconv-prefix below)
 libiconv_ver=libiconv-1.16
 cd $clisp_basedir
 $wget http://ftp.gnu.org/gnu/libiconv/$libiconv_ver.tar.gz
@@ -100,12 +101,12 @@
 # would probably be ideal to also do a local libtermcap or ncurses,
 # but doesn't seem to be a problem in practice?
 
-# foil wrong attempts at dynamic linking, etc.
-(cd $clisp_basedir/clisp-tools/lib && rm -f *.dylib *.la)
+# foil wrong attempts at dynamic linking, etc. Don't worry if any don't exist.
+(cd $clisp_basedir/clisp-tools/lib && mkdir .dy && mv *.dylib *.la .dy)
 
-clisp_ver=2.49.92
+clisp_ver=clisp-2.49.92
 cd $clisp_basedir
-$wget https://alpha.gnu.org/gnu/clisp/clisp-2.49.92.tar.bz2
+$wget https://alpha.gnu.org/gnu/clisp/$clisp_ver.tar.bz2
 bunzip2 -dc $clisp_ver.tar.bz2 | tar xf -
 cd $clisp_ver
 
@@ -116,7 +117,9 @@
 # On FreeBSD/amd64: add --disable-mmap.
 #
 # Do not link with ncurses, we don't need it and versions differ.
-ac_cv_search_tgetent=" "; export ac_cv_search_tgetent
+# but, this doesn't work with 2.49.92, results in undefined references
+# to the termcap functions.
+#ac_cv_search_tgetent=" "; export ac_cv_search_tgetent
 #
 ./configure CPPFLAGS=-DUNIX_BINARY_DISTRIB --prefix=$clisp_toolsdir \
   --without-readline --without-dynamic-modules \

Modified: trunk/Master/texmf-dist/scripts/texlive/NEWS
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/NEWS	2021-10-21 14:36:15 UTC (rev 60822)
+++ trunk/Master/texmf-dist/scripts/texlive/NEWS	2021-10-21 18:17:33 UTC (rev 60823)
@@ -1,7 +1,14 @@
 (This file public domain.  Originally written by Norbert Preining and
 Karl Berry, 2010.)
 
+<p><b>tlmgr 605693 (released 12oct21):</b>
+<li>use TEXMFROOT instead of SELFAUTOPARENT to allow easier relocating
+    (<a href="/pipermail/tex-live/2021-September/047394.html">thread</a>).
+
+<p><b>tlmgr 60557 (released 20sep21):</b>
 <li>omit “done running” line for fmtutil.
+<li>allow : to separate argument values as well as , to placate powershell.
+<li>config.guess: back to `...`. Whew.
 
 <p><b>tlmgr 59208 (released 15may21):</b>
 <li>still trying to optimize the ssl multiplexor resolution.

Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm	2021-10-21 14:36:15 UTC (rev 60822)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm	2021-10-21 18:17:33 UTC (rev 60823)
@@ -112,7 +112,7 @@
   TeXLive::TLUtils::report_tlpdb_differences(\%ret);
   TeXLive::TLUtils::tlnet_disabled_packages($root);
   TeXLive::TLUtils::mktexupd();
-  TeXLive::TLUtils::setup_sys_user_mode($optsref,$tmfc, $tmfsc, $tmfv, $tmfsv);
+  TeXLive::TLUtils::setup_sys_user_mode($prg,$optsref,$tmfc,$tmfsc,$tmfv,$tmfsv);
   TeXLive::TLUtils::prepend_own_path();
   TeXLive::TLUtils::repository_to_array($str);
 
@@ -4677,10 +4677,15 @@
 

 =item C<setup_sys_user_mode($prg, $optsref, $tmfc, $tmfsc, $tmfv, $tmfsv)>
 
-Return two-element list C<($texmfconfig,$texmfvar)> of which directories
-to use, either user or sys. If C<$prg> is C<mktexfmt>, and the system
-dirs are writable, use them even if we are in user mode.
+Return two-element list C<($texmfconfig,$texmfvar)> specifying which
+directories to use, either user or sys.  If C<$optsref->{'sys'}>  is
+true, we are in sys mode; else if C<$optsref->{'user'}> is set, we are
+in user mode; else a fatal error.
 
+If C<$prg> eq C<"mktexfmt">, and C<$TEXMFSYSVAR/web2c> is writable, use
+it instead of C<$TEXMFVAR>, even if we are in user mode. C<$TEXMFCONFIG>
+is not switched, however.
+
 =cut
 
 sub setup_sys_user_mode {

Index: trunk/Master/tlpkg/bin/pdflatex-preserve-pdf
===================================================================
--- trunk/Master/tlpkg/bin/pdflatex-preserve-pdf	2021-10-21 14:36:15 UTC (rev 60822)
+++ trunk/Master/tlpkg/bin/pdflatex-preserve-pdf	2021-10-21 18:17:33 UTC (rev 60823)

Property changes on: trunk/Master/tlpkg/bin/pdflatex-preserve-pdf
___________________________________________________________________
Deleted: svn:mime-type
## -1 +0,0 ##
-application/x-shellscript
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tl-check-fmtshare
===================================================================
--- trunk/Master/tlpkg/bin/tl-check-fmtshare	2021-10-21 14:36:15 UTC (rev 60822)
+++ trunk/Master/tlpkg/bin/tl-check-fmtshare	2021-10-21 18:17:33 UTC (rev 60823)
@@ -27,7 +27,9 @@
 
 usage="Usage: $0 [OPTION]... RHOST:RDIR
 Build TeX .fmt files locally, then copy them to RHOST:RDIR and try to
-load them with the TeX engines there.
+load them with the TeX engines there. That is, RDIR should be a web2c
+build directory with binaries; in TeX Live,
+/something/like/Build/source/Work/texk/web2c.
 
 The idea is to support testing for .fmts being sharable among different
 system architectures, as intended; for instance, 4-byte long vs. 8-byte

Modified: trunk/Master/tlpkg/gpg/tl-key-extension.txt
===================================================================
--- trunk/Master/tlpkg/gpg/tl-key-extension.txt	2021-10-21 14:36:15 UTC (rev 60822)
+++ trunk/Master/tlpkg/gpg/tl-key-extension.txt	2021-10-21 18:17:33 UTC (rev 60823)
@@ -30,21 +30,20 @@
 
 gpg --send-keys $KEYID
 
-
 # update TeX Live repository
-export GNUPGHOME=/path/to/texlive-svn/Master/tlpkg/gpg
+export GNUPGHOME=/home/texlive/Master/tlpkg/gpg # wherever svn checkout
 # use gpg version 1 here!!!
 gpg1 --import texlive.asc
 
-svn/git commit
+svn commit
 
 
 # on the TUG server (needs the exported public key in
 # texlive.asc, see above how to export it)
-gpg --homedir ~texlive/.gnupg --import texlive.asc
+gpg --homedir /home/texlive/.gnupg --import texlive.asc
 
 # can view that .asc with:
-gpg --show-keyring texlive.asc
+gpg --homedir /home/texlive/.gnupg texlive.asc
 
 # update web-accessible public key, keeping old files but updating symlink:
 cp texlive.asc ~www/texlive/files/texlive`date +%Y`.asc
@@ -51,9 +50,22 @@
 ln -s texlive`date +%Y`.asc ~www/texlive/files/texlive.asc
 
 More info: 
-. we use tlpkg/bin/tl-sign-file to sign texlive.tlpdb.sha512.
-. gpg --verify --verbose foo.asc for info on signature file.
+. tlgpg runs a gpg command with the above TL .gnupg directory, etc.
+
+. tl-sign-file (uses tlgpg) is used to sign texlive.tlpdb.sha512.
+
+. tlgpg-verify foo[.asc] will check for expired key, per below.
+  tl-sign-file uses this to make sure it is not signing with an expired key.
+
+. (tl)gpg foo.asc will sometimes report expiration info.
+
+. given files updated in Master/tlpkg/gpg, can export into asc:
+gpg --homedir ..../Master/tlpkg/gpg --export -a 0x0D5E5D9106BAB6BC >tl.asc
+
+. gpg --verify --verbose foo.asc reports some info.
+
 . but exit status is zero even with expired keys; to check,
   use --status-file and inspect:
 gpg --verify --verbose --status-file=/tmp/st foo.asc
-. see tl-sign-file or TLCrypto.pm for full implementation.
+
+. see tlgpg, tl-sign-file, TLCrypto.pm for full implementation.



More information about the tex-live-commits mailing list.