Bug 76892 - [MAINTAINER] security/xca: Fixup pkg-plist
Summary: [MAINTAINER] security/xca: Fixup pkg-plist
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-31 14:20 UTC by curly
Modified: 2005-02-09 16:01 UTC (History)
0 users

See Also:


Attachments
xca-0.5.1.patch (326 bytes, patch)
2005-01-31 14:20 UTC, curly
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description curly 2005-01-31 14:20:19 UTC
Fixup pkg-plist:
"@dirrm share/applications" is missing from pkg-plist.

Generated with FreeBSD Port Tools 0.63
Comment 1 Anton Berezin 2005-01-31 14:30:30 UTC
On Mon, Jan 31, 2005 at 04:14:06PM +0200, Valentin Zahariev wrote:
> --- xca-0.5.1.patch begins here ---
> diff -ruN --exclude=CVS /usr/ports/security/xca/pkg-plist /usr/home/curly/ports/xca/pkg-plist
> --- /usr/ports/security/xca/pkg-plist	Thu Jan 27 13:33:10 2005
> +++ /usr/home/curly/ports/xca/pkg-plist	Mon Jan 31 16:08:44 2005
> @@ -37,3 +37,4 @@
>  share/xca/xca.html
>  @dirrm share/xca
>  @dirrm share/pixmaps
> +@dirrm share/applications
> --- xca-0.5.1.patch ends here ---

How about

@unexec rmdir %D/share/applications 2>/dev/null || true

instead?  (There are other ports that write to share/applications)

\Anton.
-- 
The moronity of the universe is a monotonically increasing function. --
Jarkko Hietaniemi
Comment 2 curly 2005-01-31 15:33:48 UTC
On Mon, Jan 31, 2005 at 03:30:30PM +0100, Anton Berezin wrote:
> 
> How about
> 
> @unexec rmdir %D/share/applications 2>/dev/null || true
> 
> instead?  (There are other ports that write to share/applications)
> 
> \Anton.
> -- 
> The moronity of the universe is a monotonically increasing function. --
> Jarkko Hietaniemi
> 

Sure :)
And 10x :)

Here is real patch:

--- xca-0.5.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/xca/pkg-plist
/usr/home/curly/ports/xca/pkg-plist
--- /usr/ports/security/xca/pkg-plist   Thu Jan 27 13:33:10 2005
+++ /usr/home/curly/ports/xca/pkg-plist Mon Jan 31 17:30:21 2005
@@ -36,4 +36,5 @@
 share/xca/xca-9.html
 share/xca/xca.html
 @dirrm share/xca
-@dirrm share/pixmaps
+@unexec rmdir %D/share/pixmaps || true
+@unexec rmdir %D/share/applications 2>/dev/null || true
--- xca-0.5.1.patch ends here ---
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-02-09 16:01:33 UTC
State Changed
From-To: open->closed

Committed, thanks!