ports/65440: munin-node port removes customized plugins upon deinstall
Lupe Christoph
lupe at lupe-christoph.de
Fri Apr 16 15:30:26 UTC 2004
The following reply was made to PR ports/65440; it has been noted by GNATS.
From: lupe at lupe-christoph.de (Lupe Christoph)
To: kasahara at nc.kyushu-u.ac.jp
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: ports/65440: munin-node port removes customized plugins upon deinstall
Date: Fri, 16 Apr 2004 17:21:59 +0200
--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Friday, 2004-04-16 at 16:07:56 +0200, Volker Stolz wrote:
> Dear maintainer of sysutils/munin-node, could you please review the
> proposed patch at:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/65440
The attached mini-patch corrects the thinko in package removal. (I
*hate* it that ports can't be upgraded without removing them.)
.../etc/munin/plugins should not contain files, just symlinks. Please
put custom plugins somewhere else (maybe .../share/munin/plugins.local)
and link to them.
Lupe Christoph
--
| lupe at lupe-christoph.de | http://www.lupe-christoph.de/ |
| "Violence is the resort of the violent" Lu Tze |
| "Thief of Time", Terry Pratchett |
--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="munin-node.patch"
diff -ruN munin-node-1.0.0.p3_1/pkg-plist munin-node/pkg-plist
--- munin-node-1.0.0.p3_1/pkg-plist Thu Mar 11 11:37:54 2004
+++ munin-node/pkg-plist Fri Apr 16 17:15:13 2004
@@ -54,7 +54,6 @@
@unexec rmdir %D/var/munin 2>/dev/null || true
@dirrm share/munin/plugins
@unexec rmdir %D/share/munin 2>/dev/null || true
- at unexec rm -rf %D/etc/munin/plugins 2>/dev/null || true
@unexec rmdir %D/etc/munin/plugin-conf.d 2>/dev/null || true
@unexec rmdir %D/etc/munin 2>/dev/null || true
@unexec echo "If you want to *completely* remove munin-node, you have to"
--J2SCkAp4GZ/dPZZf--
More information about the freebsd-ports-bugs
mailing list