Hi!

Here is an update for neofetch to 7.0.0.

Upstream is under the process of refactoring/debloating the code,
this release brings only a few functional changes [0].

I added an interesting post-release commit [1] i've found, allowing to
report OpenBSD flavors.

I've found no regression on all my machines.

Comments/feedback are welcome,

Charlène.


[0] https://github.com/dylanaraps/neofetch/releases/tag/7.0.0
[1] https://github.com/dylanaraps/neofetch/pull/1426


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/neofetch/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile    16 Sep 2019 20:23:48 -0000      1.7
+++ Makefile    7 Apr 2020 13:14:37 -0000
@@ -5,7 +5,7 @@ CATEGORIES =    sysutils misc
 
 GH_ACCOUNT =   dylanaraps
 GH_PROJECT =   neofetch
-GH_TAGNAME =   6.1.0
+GH_TAGNAME =   7.0.0
 
 MAINTAINER =   Charlene Wendling <c...@openbsd.org>
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/neofetch/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo    16 Sep 2019 20:23:48 -0000      1.3
+++ distinfo    7 Apr 2020 13:14:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (neofetch-6.1.0.tar.gz) = 7ONR41KGtk02IADUCbJ1l/y9z3fo5g+gra4fKdPCljc=
-SIZE (neofetch-6.1.0.tar.gz) = 118346
+SHA256 (neofetch-7.0.0.tar.gz) = jGvSF89tNPwfPcuw6LETdlW8E/uyEWUnPbsqe84NMTA=
+SIZE (neofetch-7.0.0.tar.gz) = 90892
Index: patches/patch-neofetch
===================================================================
RCS file: patches/patch-neofetch
diff -N patches/patch-neofetch
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-neofetch      7 Apr 2020 13:14:37 -0000
@@ -0,0 +1,20 @@
+$OpenBSD$
+
+From https://github.com/dylanaraps/neofetch/pull/1426
+Can be removed >7.0.0
+
+Index: neofetch
+--- neofetch.orig
++++ neofetch
+@@ -1032,6 +1032,11 @@ get_distro() {
+                     *) distro="Guix System $(guix system -V | awk 
'NR==1{printf $5}')"
+                 esac
+ 
++            # Display whether using '-current' or '-release' on OpenBSD.
++            elif [[ $kernel_name = OpenBSD ]] ; then
++                read -ra kernel_info <<< "$(sysctl -n kern.version)"
++                distro=${kernel_info[*]:0:2}
++
+             else
+                 for release_file in /etc/*-release; do
+                     distro+=$(< "$release_file")

Reply via email to