Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2003 17:00:37 +0200 (CEST)
From:      Dimitry Andric <dim@tensor.xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Dimitry Andric <dim@tensor.xs4all.nl>
Subject:   ports/58212: GnuPG port leaves some cruft on removal
Message-ID:  <20031018150037.BBDB222848@tensor.xs4all.nl>
Resent-Message-ID: <200310181510.h9IFABvc085846@freefall.freebsd.org>

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

>Number:         58212
>Category:       ports
>Synopsis:       GnuPG port leaves some cruft on removal
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 18 08:10:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dimitry Andric
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD tensor.xs4all.nl 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Oct 17 13:39:52 CEST 2003 root@vfbsd5.dim:/usr/obj/usr/src/sys/TENSOR i386
>Description:
On removal of the gnupg-1.2.3_1 port, the following file is left
behind:

  ${PREFIX}/share/locale/ro/LC_MESSAGES/gnupg.mo

Of course, due to this leftover file, the share/locale/ro/LC_MESSAGES
directory is also never removed.
>How-To-Repeat:
- Install security/gnupg port.
- Remove security/gnupg port.
- Observe that ${PREFIX}/share/locale/ro/LC_MESSAGES/gnupg.mo is left
  behind.
>Fix:
--- pkg-plist.orig	Tue May  6 17:09:48 2003
+++ pkg-plist	Sat Oct 18 16:01:05 2003
@@ -43,6 +43,7 @@
 share/locale/pl/LC_MESSAGES/gnupg.mo
 share/locale/pt/LC_MESSAGES/gnupg.mo
 share/locale/pt_BR/LC_MESSAGES/gnupg.mo
+share/locale/ro/LC_MESSAGES/gnupg.mo
 share/locale/sk/LC_MESSAGES/gnupg.mo
 share/locale/sv/LC_MESSAGES/gnupg.mo
 share/locale/tr/LC_MESSAGES/gnupg.mo
@@ -76,6 +77,8 @@
 @unexec rmdir %D/share/locale/pt_BR 2>/dev/null || true
 @unexec rmdir %D/share/locale/pt_PT/LC_MESSAGES 2>/dev/null || true
 @unexec rmdir %D/share/locale/pt_PT 2>/dev/null || true
+@unexec rmdir %D/share/locale/ro/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ro 2>/dev/null || true
 @unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
 @unexec rmdir %D/share/locale/ru 2>/dev/null || true
 @unexec rmdir %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:



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