cygport patch - gpg_verify
Eric Blake
ebb9@byu.net
Wed Jan 17 21:28:00 GMT 2007
cygport generates .sig suffixes by default, but this typo was making
verification of the cygwin patch fail as it looked for .sign suffixes.
$ diff -ub /bin/cygport{.orig,}
--- /bin/cygport.orig 2007-01-17 14:23:36.211079400 -0700
+++ /bin/cygport 2007-01-17 14:23:52.318845000 -0700
@@ -2,7 +2,7 @@
################################################################################
#
# cygport - Cygwin packaging application
-# Copyright (C) 2006 Yaakov Selkowitz
+# Copyright (C) 2006, 2007 Yaakov Selkowitz
# Provided by the Cygwin Ports project <http://cygwinports.dotsrc.org/>
# Distributed under the terms of the GNU General Public License v2
#
@@ -482,11 +482,11 @@
local _filetype=${2};
local _sigext=${3:-sig};
- if [ -f ${_file}.${sigext} ]
+ if [ -f ${_file}.${_sigext} ]
then
inform "${_filetype} signature follows:";
# we 'check_prog gpg' in src_prep
- gpg --verify ${_file}.${sigext} ${_file};
+ gpg --verify ${_file}.${_sigext} ${_file};
else
inform "${_filetype} signature missing.";
fi
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list