Date: 16 Mar 2009 00:31:53 -0000 From: Andrew Reilly <areilly@bigpond.net.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/132680: OpenOffice symlinks in /usr/local/bin include minor version numbers Message-ID: <20090316003153.35831.qmail@areilly.bpa.nu> Resent-Message-ID: <200903160040.n2G0e2lF090974@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132680 >Category: ports >Synopsis: OpenOffice symlinks in /usr/local/bin include minor version numbers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 16 00:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrew Reilly >Release: FreeBSD 7.1-STABLE amd64 >Organization: >Environment: System: FreeBSD duncan.reilly.home 7.1-STABLE FreeBSD 7.1-STABLE #53: Sat Mar 14 13:52:03 EST 2009 root@duncan.reilly.home:/usr/obj/usr/src/sys/DUNCAN amd64 >Description: The OpenOffice installation process puts a bunch of symlinks from /usr/local/bin/openoffice-3.0.1-foo to /usr/local/bin/openoffice-3.0.1, which is itself a shell script that figures out the sub-program from the name and then runs the openoffice installation in /usr/local/openoffice-3.0.1/openoffice.org3. Now, presumably that is so that it is possible to have multiple versions of openoffice installed at the same time, which is all well and good, but the BIG downside is that every time a minor-version upgrade happens, you have to go and change the MIME application handler in your web browser or e-mail reader, even if you only have one version (the latest) installed. >How-To-Repeat: Portupgrade -a -- oops openoffice.org upgraded from 3.0.0 to 3.0.1. Open a mail message with a Word .doc attachment, and be confronted with the "how should I open this" dialog, instead of just going ahead and opening it. Look up openoffice* in /usr/local/bin to find what it's called now, and update the name in the mail program. Happy again until the next time. >Fix: Please rename the openoffice links and script in /usr/local/bin so that they're just openoffice-swriter etc. Maybe allow the version information in the name as a config-time option, for those who care. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090316003153.35831.qmail>