[Bug 213854] sysutils/screenfetch: fix

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 28 14:15:57 UTC 2016


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

            Bug ID: 213854
           Summary: sysutils/screenfetch: fix
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jgh at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: jgh at FreeBSD.org
             Flags: maintainer-feedback?(jgh at FreeBSD.org)

Created attachment 176246
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176246&action=edit
Patch

There are two problems in screenfetch on FreeBSD:

- It doesn't work in some cases. Works fine on my desktop, but fails reliable
in poudriere. No idea what exactly causes this:

$ screenfetch
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor
/usr/local/bin/screenfetch: line 4156: /dev/fd/62: Operation not supported
/usr/local/bin/screenfetch: line 4157: 3: Bad file descriptor

This was fixed upstream,
https://github.com/KittyKatt/screenFetch/commit/5774f849d18295715392e56dbc27998de518cec2

- It's unable to detect FreeBSD system when there's no /var/run/dmesg.boot
(e.g. again in poudreire jail). Add proper detection based on `uname -o`
output. Upstream PR: https://github.com/KittyKatt/screenFetch/pull/402

While here, fix LICENSE, add LICENSE_FILE, switch to license helpers and add a
very simple test.

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


More information about the freebsd-ports-bugs mailing list