[Bug 219131] www/grafana4: wrong boot.js installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 8 05:52:20 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219131

            Bug ID: 219131
           Summary: www/grafana4: wrong boot.js installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills at FreeBSD.org
          Reporter: ari at stonepile.fi
             Flags: maintainer-feedback?(swills at FreeBSD.org)
          Assignee: swills at FreeBSD.org

www/grafana4 port installs wrong boot.js file. The resulting installation
works, but performs poorly, because it is using development version of boot.js,
which causes many javascript files to be downloaded separately. This causes
considerable delay to startup time in browser when using the system over slower
link.

Port builds installation from two distfiles: grafana-4.2.0.linux-x64.tar.gz and
grafana-grafana-v4.2.0_GH0.tar.gz. The linux version contains the correct
deployment version of boot.js and the later one has the development version. 

Unfortunately the linux distribution is unpacked first and ...._GH0.tar.gz
after that, which overwrites to deployment version of boot.js.

Not a solution, but a workaround is to remove
/usr/local/share/grafana/public/app/boot.js after installation and link
boot.5ee7468a.js to it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list