X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0	tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Oleksandr Gavenko <gavenkoa@gmail.com>
Subject: Please fix /etc/postinstall/gnupg.sh
Date: Sun, 27 Feb 2011 14:13:55 +0000
Lines: 36
Message-ID: <ikdm95$gj5$1@dough.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

After executing postinstall script for latest gnupg:

   $ cygcheck -f `which gpg`
gnupg-1.4.9-2

/usr/share/info/dir updated with entry:

* gpg: (gpg).          OpenPGP encryption and signing tool (v1).

But must be:

* gpg: (gnupg1).       OpenPGP encryption and signing tool (v1).

This make gpg unaccessed from info:

   $ info gpg

shown MAN page instead .info page!

To very easy fix replace content of '/etc/postinstall/gnupg.sh'
with (tested):

/usr/bin/install-info --entry="* gpg: (gnupg1).       OpenPGP encryption 
and signing tool (v1)." --dir-file=/usr/share/info/dir 
--info-file=/usr/share/info/gnupg1.info.gz

or update content (not tested) of '/usr/share/info/gnupg1.info.gz' to:

START-INFO-DIR-ENTRY
* gpg: (gnugpg1).            OpenPGP encryption and signing tool (v1).
END-INFO-DIR-ENTRY

or rename 'gnupg1.info.gz' to 'gpg.info.gz' (not tested).

-- 
Best regards!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

