This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Signed scripts and packages [Was: [ANN] Updated: rsync-2.5.5-2]
- From: Lapo Luchini <lapo at lapo dot it>
- To: Mailing List: CygWin-Apps <cygwin-apps at cygwin dot com>
- Date: Sun, 10 Nov 2002 08:18:19 +0100
- Subject: Signed scripts and packages [Was: [ANN] Updated: rsync-2.5.5-2]
- References: <3DB91E3F.5060500@lapo.it> <3DCDAB87.60805@scytek.de>
1. I had to put some variables in quotes, otherwise you get problems
with "if [ ... ]" when the variable is not set. E.g without SIG=1
Ok.
2. text=... is set, but never used.
text is used in sigfile() to print which file must be signed:
echo "$text signature need to be updated"; \
3. sig has to be sigfile.
Actually that is a refuse from a past version, it is needed no more:
anyway signing was not possible after patch creation so I actually added
sigfile() directly inside the spkg code, enabled by the SIG env var.
The new "sigfile()" can do nothing without at least a $name (and
possibly a $text) to work with.
See the attached diff for more details. ( I don't want to change
your code, but that were the lines that I changed in my gnupg-1.2.1-1.sh
file. )
Thanks for the comments =)
Lapo
--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)