Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2011 01:06:42 +0100 (CET)
From:      olli hauer <ohauer@FreeBSD.org>
To:        <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        ohauer@FreeBSD.org
Subject:   java/155107: [patch] port java/diablo-jdk16 small cosmetic fix for pkg-plist
Message-ID:  <20110228000645.2E7071065687@hub.freebsd.org>
Resent-Message-ID: <201102280010.p1S0AA07063125@freefall.freebsd.org>

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

>Number:         155107
>Category:       java
>Synopsis:       [patch] port java/diablo-jdk16 small cosmetic fix for pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 28 00:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olli Hauer
>Release:        
>Organization:
>Environment:
System: FreeBSD d24g 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
During port deinstall you can see the following message:

Deleting diablo-jdk-1.6.0.07.02_12
pkg_delete: file '/usr/local/diablo-jdk1.6.0/jre/lib/applet' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/diablo-jdk1.6.0/jre/lib/applet'
pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?)

I don't know if this directory should be there (I have it on none of my servers).
- If no the line can be removed
- If not always use @dirrmtry.
- If yes then it should be created with "@exec mkdir -p diablo-jdk%%JDK_VERSION%%/jre/lib/applet".

>How-To-Repeat:

>Fix:

--- diablo-jdk16.diff begins here ---
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/java/diablo-jdk16/pkg-plist,v
retrieving revision 1.7
diff -u -r1.7 pkg-plist
--- pkg-plist	30 Oct 2010 20:35:32 -0000	1.7
+++ pkg-plist	27 Feb 2011 23:05:56 -0000
@@ -2801,7 +2801,7 @@
 @dirrm diablo-jdk%%JDK_VERSION%%/jre/lib/deploy
 @dirrm diablo-jdk%%JDK_VERSION%%/jre/lib/cmm
 @dirrm diablo-jdk%%JDK_VERSION%%/jre/lib/audio
-@dirrm diablo-jdk%%JDK_VERSION%%/jre/lib/applet
+@dirrmtry diablo-jdk%%JDK_VERSION%%/jre/lib/applet
 @dirrm diablo-jdk%%JDK_VERSION%%/jre/lib
 @dirrm diablo-jdk%%JDK_VERSION%%/jre/javaws
 @dirrm diablo-jdk%%JDK_VERSION%%/jre/bin
--- diablo-jdk16.diff ends here ---


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



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