This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygport patch - gpg_verify
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 17 Jan 2007 21:27:46 +0000 (UTC)
- Subject: cygport patch - gpg_verify
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/