From 67b49f3a0ac461507d7d7e52c8d8b449dba318ba Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 13 Feb 2018 00:53:58 +0000 Subject: more repository-setup tweaking git-svn-id: svn://tug.org/texlive/trunk@46621 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/doc/repository-setup.txt | 40 +++++++---------------------------- 1 file changed, 8 insertions(+), 32 deletions(-) (limited to 'Master/tlpkg/doc/repository-setup.txt') diff --git a/Master/tlpkg/doc/repository-setup.txt b/Master/tlpkg/doc/repository-setup.txt index 74e7f1570cb..68ed85614ea 100644 --- a/Master/tlpkg/doc/repository-setup.txt +++ b/Master/tlpkg/doc/repository-setup.txt @@ -321,9 +321,9 @@ to import your public key with 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 @@ ROOT/bin/... /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 @@ TLCHECKOUT=${TLCHECKOUT:-$HOME/Development/TeX/texlive.git} 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,35 +364,8 @@ $TLCHECKOUT/Master/tlpkg/bin/tl-update-tlpdb \ $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" - =================================================================== @@ -402,4 +378,4 @@ If you have further comments, questions, additions to this file please let us know at tex-live@tug.org. -Last changed 2018-02-12 by np +Last changed 2018-02-13 by np -- cgit v1.2.3