texlive[46621] Master/tlpkg/doc/repository-setup.txt: more
commits+preining at tug.org
commits+preining at tug.org
Tue Feb 13 01:53:58 CET 2018
Revision: 46621
http://tug.org/svn/texlive?view=revision&revision=46621
Author: preining
Date: 2018-02-13 01:53:58 +0100 (Tue, 13 Feb 2018)
Log Message:
-----------
more repository-setup tweaking
Modified Paths:
--------------
trunk/Master/tlpkg/doc/repository-setup.txt
Modified: trunk/Master/tlpkg/doc/repository-setup.txt
===================================================================
--- trunk/Master/tlpkg/doc/repository-setup.txt 2018-02-13 00:48:47 UTC (rev 46620)
+++ trunk/Master/tlpkg/doc/repository-setup.txt 2018-02-13 00:53:58 UTC (rev 46621)
@@ -321,9 +321,9 @@
tlmgr key add ...
(see documentation of tlmgr for details).
-The signing script can be as simple as
- gpg --armor --detach-sign --local-user 0xYOUR_ID "$1"
-See below for a bit more complicated script.
+You can use the signing script used in TeX Live by setting the
+following environment variable:
+ TL_GNUPGOPTS="--local-user 0xYOUR_ID"
@@ -342,7 +342,6 @@
/00texlive.installation.tlpsrc
/...tlpsrc all the other .tlpsrc files, mostly empty
/texlive.tlpdb
- /tl-sign-file
/update.sh
I am using the following script update.sh (more or less, for details
@@ -352,6 +351,10 @@
TLNETDEST=${TLNETDEST:-$HOME/Domains/server/texlive.info/contrib/2017}
TLCATALOGUE=${TLCATALOGUE:-$HOME/Development/TeX/texcatalogue-svn}
+# signing options
+TL_GNUPGOPTS="--local-user 0xYOUR_ID"
+export TL_GNUPGOPTS
+
$TLCHECKOUT/Master/tlpkg/bin/tl-update-tlpdb \
-with-w32-pattern-warning \
-from-git \
@@ -361,36 +364,9 @@
$TLCHECKOUT/Master/tlpkg/bin/tl-update-containers \
-master `pwd` \
-location $TLNETDEST \
- -gpgcmd `pwd`/tl-sign-file \
-all # sometimes we need -recreate
-and the tl-sign-file is very similar to the TeX Live version, only
-that the --local-user is changed and I need to enter the passphrase
-manually.
-tl-sign-file:
-
-if test $# -ne 1; then
- echo "$0: Exactly one argument must be given, the file to sign." >&2
- exit 1
-fi
-
-# remove previous signature
-rm -f "$1.asc"
-
-prg=gpg
-if ! [ "x$TL_GNUPG" = "x" ] ; then
- # use the environment variable TL_GNUPG
- prg=$TL_GNUPG
-fi
-
-# sign
-$prg --armor \
- --detach-sign \
- --local-user 0xEC00B8DAD32266AA \
- "$1"
-
-
===================================================================
Closing remark:
@@ -402,4 +378,4 @@
let us know at tex-live at tug.org.
-Last changed 2018-02-12 by np
+Last changed 2018-02-13 by np
More information about the tex-live-commits
mailing list