Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2012 13:51:55 GMT
From:      Alfred Bartsch <bartsch@dssgmbh.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170327: security/gnupg installs unnecessary manpage
Message-ID:  <201208021351.q72Dptvg080768@red.freebsd.org>
Resent-Message-ID: <201208021400.q72E0O4a056999@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170327
>Category:       ports
>Synopsis:       security/gnupg installs unnecessary manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 02 14:00:23 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alfred Bartsch
>Release:        FreeBSD 8.3-stable
>Organization:
Data-Service GmbH
>Environment:
FreeBSD dsst4p_32.incore 8.3-STABLE FreeBSD 8.3-STABLE #1: Fri Jul  6 14:41:11 CEST 2012     root@dsssrvt4.incore:/usr/obj/usr/src/sys/SERVER64  i386

>Description:
Both security/gnupg1 and security/gnupg install /usr/local/man/man1/gpg-zip.1.gz, but only security/gnupg1 seems to install the corresponding binary "/usr/local/bin/gpg-zip".
This should be honored by the gnupg-2 Makefile (removing gpg-zip entry), otherwise this leads to checksum errors (pkg_info -xg gnupg), if both packages are installed.

>How-To-Repeat:
Install both gnupg-1 and gnupg-2
pkg_info -xg gnupg
>Fix:
modify Makefile in security/gnupg:

--- Makefile.orig      2012-05-04 13:07:46.000000000 +0200
+++ Makefile    2012-07-30 12:23:44.000000000 +0200
@@ -37,7 +37,7 @@
 .else
 MAN1=          gpg2.1 gpgsm.1 gpgv2.1 gpg-agent.1 scdaemon.1 watchgnupg.1 \
                gpgconf.1 gpg-preset-passphrase.1 gpg-connect-agent.1 \
-               gpgparsemail.1 symcryptrun.1 gpgsm-gencert.sh.1 gpg-zip.1
+               gpgparsemail.1 symcryptrun.1 gpgsm-gencert.sh.1
 MAN8=          addgnupghome.8 applygnupgdefaults.8
 INFO=          gnupg
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208021351.q72Dptvg080768>