Date: Wed, 29 Dec 2004 16:03:11 +0000 From: Matt Dawson <matt@mattsnetwork.co.uk> To: gnome@FreeBSD.org Subject: Help with handling mime registry in a port Message-ID: <200412291603.11390.matt@mattsnetwork.co.uk>
next in thread | raw e-mail | index | archive | help
HI, I maintain the comms/xlog port. I received this notification from Kris that the port isn't cleaning up after itself properly. Trying the usual trick of silently skipping delete of non-empty directories seems not to work, nor does @unexec update-mime-database. Is there some standard way of handling these changes to the point that the port can clean up after itself on deinstall where no other package is using this facility? ---------- Forwarded Message ---------- Subject: [ports-i386@FreeBSD.org: xlog-1.0 pkg-plist errors on i386 4-exp] Date: Monday 27 Dec 2004 18:07 From: Kris Kennaway <kris@obsecurity.org> To: matt@mattsnetwork.co.uk, sem@freebsd.org Dear port maintainer, The following port has an incomplete pkg-plist, or other errors in the files installed by the port. This may mean that the package is incomplete or non-functional; at the very least, your port does not leave the filesystem in the same state it was before the port was installed. Can you please investigate? In the near future, this condition will be treated as an error on the package cluster, which means that the package will not be made available on the ftp site. Thanks, Kris "Ports Janitor" Kennaway ----- Forwarded message from User Ports-i386 <ports-i386@FreeBSD.org> ----- X-Original-To: kkenn@localhost Delivered-To: kkenn@localhost.obsecurity.org Delivered-To: kris@freebsd.org Date: Mon, 27 Dec 2004 04:56:50 GMT From: User Ports-i386 <ports-i386@FreeBSD.org> To: kris@FreeBSD.org Subject: xlog-1.0 pkg-plist errors on i386 4-exp X-UIDL: k5P!!R%4!!dXG!!;6p!! X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.92.8 building xlog-1.0 on gohan31.freebsd.org in directory /x/tmp/4-exp/chroot/59203 maintained by: matt@mattsnetwork.co.uk port directory: /usr/ports/comms/xlog For the full build log, see http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.4-exp.2004122510/xlo g-1.0.log list of extra files and directories in / (not present before this port was installed but present after it was deinstalled) 146361 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/applications 146409 8 drwxr-xr-x 3 root wheel 512 Dec 27 04:56 usr/X11R6/share/applnk 146443 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/applnk/Applications 146453 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/pixmaps 147856 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/application-registry 147859 8 drwxr-xr-x 3 root wheel 512 Dec 27 04:56 usr/X11R6/share/mimelnk 147860 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/mimelnk/text 147862 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/mime-info 147865 8 drwxr-xr-x 4 root wheel 512 Dec 27 04:56 usr/X11R6/share/mime 147866 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/mime/packages 147868 8 drwxr-xr-x 2 root wheel 512 Dec 27 04:56 usr/X11R6/share/mime/text 146407 8 -rw-r--r-- 1 root wheel 92 Dec 27 04:56 usr/X11R6/share/mime/globs 146445 8 -rw-r--r-- 1 root wheel 12 Dec 27 04:56 usr/X11R6/share/mime/magic 146528 0 -rw-r--r-- 1 root wheel 0 Dec 27 04:56 usr/X11R6/share/mime/XMLnamespaces ----- End forwarded message ----- ------------------------------------------------------- ---------- Forwarded Message ---------- Subject: Re: [ports-i386@FreeBSD.org: xlog-1.0 pkg-plist errors on i386 4-exp] Date: Monday 27 Dec 2004 18:35 From: Kris Kennaway <kris@obsecurity.org> To: Matt Dawson <matt@mattsnetwork.co.uk> Cc: Kris Kennaway <kris@obsecurity.org> On Mon, Dec 27, 2004 at 06:29:27PM +0000, Matt Dawson wrote: > Hi Kris, > If I set the pkg-plist to delete these files, it would affect other ports > and packages which use these directories and mime registry. Would this not > be a Bad Thing (TM)? I think GNOME has a standardized way of handling (most of?) these directories, which your port should be using. Contact gnome@FreeBSD.org if you'd like more help with this. Kris ------------------------------------------------------- -- Matt Dawson. matt@mattsnetwork.co.uk MD2657-RIPE OpenNIC M_D9
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412291603.11390.matt>