ports/152453: urlview port should install gecko.sh optionally

Stefan Thurner thurners at nicsys.de
Sun Nov 21 17:20:10 UTC 2010


>Number:         152453
>Category:       ports
>Synopsis:       urlview port should install gecko.sh optionally
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 21 17:20:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Thurner
>Release:        FreeBSD 8.1-STABLE
>Organization:
>Environment:
FreeBSD bluemoon.fu41.vpn 8.1-STABLE FreeBSD 8.1-STABLE #0: Sun Nov  7 23:29:05 CET 2010     root at bluemoon.fu41.vpn:/usr/obj/usr/src/sys/CUSTOM  i386
>Description:
urlview port installs url_handler.sh and gecko.sh.

Normal operation of url_handler.sh is to try different browsers until it finds one installed. By default it tries for http 1) gecko.sh, 2) lynx, 3) w3m and 4) links. For example if only links is installed on the system it should test 1), 2) and 3) without success and start up links browser.

The problem is that url_handler.sh always finds and starts gecko.sh regardless if firefox (or any other mozilla browser) is installed or not. The other browsers are never tested.
>How-To-Repeat:
Install mutt, urlview and lynx. Make sure no firefox or other mozilla browser is installed on the system. Use urlview. Lynx should be started but nothing happens.
>Fix:
gecko.sh should be installed conditionally. Either if WITH_FIREFOX or WITH_SEAMONKEY is defined when installing urlview.

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



More information about the freebsd-ports-bugs mailing list