svn commit: r549059 - in head/net/kea: . files
Danilo G. Baio
dbaio at FreeBSD.org
Sat Sep 19 20:18:47 UTC 2020
Author: dbaio
Date: Sat Sep 19 20:18:46 2020
New Revision: 549059
URL: https://svnweb.freebsd.org/changeset/ports/549059
Log:
net/kea: Fix colorized output for `keactl status`
It wasn't properly fixed in the upstream.
PR: 248973
Submitted by: Andrey Pevnev <apevnev at me.com> (maintainer)
Reported by: Jose Luis Duran <jlduran at gmail.com>
Event: September 2020 Bugathon
Added:
head/net/kea/files/patch-src_bin_keactrl_keactrl.in
- copied, changed from r548436, head/net/kea/files/patch-src_bin_keactrl_keactrl.in
Modified:
head/net/kea/Makefile
Modified: head/net/kea/Makefile
==============================================================================
--- head/net/kea/Makefile Sat Sep 19 20:13:02 2020 (r549058)
+++ head/net/kea/Makefile Sat Sep 19 20:18:46 2020 (r549059)
@@ -2,6 +2,7 @@
PORTNAME= kea
PORTVERSION= ${ISCVERSION:S/-P/P/:S/-beta/b/:S/a/.a/:S/rc/.rc/}
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ISC/kea/${ISCVERSION}
DISTNAME= ${PORTNAME}-${ISCVERSION}
Copied and modified: head/net/kea/files/patch-src_bin_keactrl_keactrl.in (from r548436, head/net/kea/files/patch-src_bin_keactrl_keactrl.in)
==============================================================================
--- head/net/kea/files/patch-src_bin_keactrl_keactrl.in Sat Sep 12 23:07:18 2020 (r548436, copy source)
+++ head/net/kea/files/patch-src_bin_keactrl_keactrl.in Sat Sep 19 20:18:46 2020 (r549059)
@@ -1,11 +1,11 @@
---- src/bin/keactrl/keactrl.in.orig 2019-10-19 21:50:45 UTC
+--- src/bin/keactrl/keactrl.in.orig 2020-08-24 16:36:38 UTC
+++ src/bin/keactrl/keactrl.in
-@@ -517,8 +517,8 @@ ${args}" 1
+@@ -518,8 +518,8 @@ ${args}" 1
status)
if [ -t 1 ]; then
-- inactive="\e[91minactive\e[0m"
-- active="\e[92mactive\e[0m"
+- inactive="\033[91minactive\e[0m"
+- active="\033[92mactive\e[0m"
+ inactive="\033[91minactive\033[0m"
+ active="\033[92mactive\033[0m"
else
More information about the svn-ports-head
mailing list