From owner-svn-ports-head@freebsd.org Fri Feb 23 19:25:11 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5F7AF14AF9; Fri, 23 Feb 2018 19:25:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 39B1372B64; Fri, 23 Feb 2018 19:25:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 210231AB59; Fri, 23 Feb 2018 19:25:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1NJP92v017385; Fri, 23 Feb 2018 19:25:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1NJP9UU017379; Fri, 23 Feb 2018 19:25:09 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802231925.w1NJP9UU017379@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 23 Feb 2018 19:25:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462730 - in head/misc/colortail: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/misc/colortail: . files X-SVN-Commit-Revision: 462730 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 19:25:11 -0000 Author: sunpoet Date: Fri Feb 23 19:25:09 2018 New Revision: 462730 URL: https://svnweb.freebsd.org/changeset/ports/462730 Log: Change MASTER_SITES to GitHub - Convert to options target helper - Regenerate patch files with makepatch: - Update pkg-descr - Update WWW - Take maintainership Added: head/misc/colortail/files/patch-configure.in - copied, changed from r462729, head/misc/colortail/files/patch-configure Deleted: head/misc/colortail/files/patch-configure Modified: head/misc/colortail/Makefile head/misc/colortail/distinfo head/misc/colortail/files/patch-CfgFileParser.h head/misc/colortail/files/patch-TailFile.cc head/misc/colortail/pkg-descr Modified: head/misc/colortail/Makefile ============================================================================== --- head/misc/colortail/Makefile Fri Feb 23 19:25:03 2018 (r462729) +++ head/misc/colortail/Makefile Fri Feb 23 19:25:09 2018 (r462730) @@ -4,21 +4,25 @@ PORTNAME= colortail PORTVERSION= 0.3.3 CATEGORIES= misc -MASTER_SITES= http://joakimandersson.se/files/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= tail(1) replacement with color support LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +USES= autoreconf GNU_CONFIGURE= yes +GH_ACCOUNT= joakim666 +USE_GITHUB= yes + OPTIONS_DEFINE= EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/colortail ${STAGEDIR}${PREFIX}/bin +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${STAGEDIR}${EXAMPLESDIR} Modified: head/misc/colortail/distinfo ============================================================================== --- head/misc/colortail/distinfo Fri Feb 23 19:25:03 2018 (r462729) +++ head/misc/colortail/distinfo Fri Feb 23 19:25:09 2018 (r462730) @@ -1,2 +1,3 @@ -SHA256 (colortail-0.3.3.tar.gz) = 0fabf424c3cc1aa030315d76490dbae64546a236abd8958bb3a99f8bdc322ae9 -SIZE (colortail-0.3.3.tar.gz) = 97399 +TIMESTAMP = 1519396123 +SHA256 (joakim666-colortail-0.3.3_GH0.tar.gz) = 03eb2158ad3a89f8040ef78662c5faabd503c598de10ca0461cbcd09a0a0c7ce +SIZE (joakim666-colortail-0.3.3_GH0.tar.gz) = 51661 Modified: head/misc/colortail/files/patch-CfgFileParser.h ============================================================================== --- head/misc/colortail/files/patch-CfgFileParser.h Fri Feb 23 19:25:03 2018 (r462729) +++ head/misc/colortail/files/patch-CfgFileParser.h Fri Feb 23 19:25:09 2018 (r462730) @@ -1,5 +1,5 @@ ---- CfgFileParser.h.bak 2010-07-31 14:18:50.529980803 +0200 -+++ CfgFileParser.h 2010-07-31 14:18:59.977448567 +0200 +--- CfgFileParser.h.orig 2010-06-02 20:41:36 UTC ++++ CfgFileParser.h @@ -24,7 +24,6 @@ #include "config.h" Modified: head/misc/colortail/files/patch-TailFile.cc ============================================================================== --- head/misc/colortail/files/patch-TailFile.cc Fri Feb 23 19:25:03 2018 (r462729) +++ head/misc/colortail/files/patch-TailFile.cc Fri Feb 23 19:25:09 2018 (r462730) @@ -1,14 +1,16 @@ ---- TailFile.cc.bak 2010-07-31 14:12:15.145254811 +0200 -+++ TailFile.cc 2010-07-31 14:13:31.996950208 +0200 -@@ -352,7 +352,10 @@ +--- TailFile.cc.orig 2010-06-02 20:41:36 UTC ++++ TailFile.cc +@@ -352,8 +352,11 @@ void TailFile::follow_print(int n, int v int ch = fgetc(m_file); // add the character to the string - m_follow_buffer->put(ch); +- + if (ch == EOF) + clearerr(m_file); // required by POSIX and ANSI + else + m_follow_buffer->put(ch); - ++ // check if return if (ch == '\n') + { Copied and modified: head/misc/colortail/files/patch-configure.in (from r462729, head/misc/colortail/files/patch-configure) ============================================================================== --- head/misc/colortail/files/patch-configure Fri Feb 23 19:25:03 2018 (r462729, copy source) +++ head/misc/colortail/files/patch-configure.in Fri Feb 23 19:25:09 2018 (r462730) @@ -1,11 +1,11 @@ ---- configure.bak 2010-07-31 13:58:20.150270253 +0200 -+++ configure 2010-07-31 13:58:29.487410308 +0200 -@@ -4528,7 +4528,7 @@ +--- configure.in.orig 2010-06-02 20:41:36 UTC ++++ configure.in +@@ -26,7 +26,7 @@ dnl Checks for libraries. + dnl Checks for header files. + AC_HEADER_STDC +-AC_CHECK_HEADERS(malloc.h unistd.h regex.h gnuregex.h) ++AC_CHECK_HEADERS(malloc.h unistd.h regex.h) - --for ac_header in malloc.h unistd.h regex.h gnuregex.h -+for ac_header in malloc.h unistd.h regex.h - do - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` - if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + dnl Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST Modified: head/misc/colortail/pkg-descr ============================================================================== --- head/misc/colortail/pkg-descr Fri Feb 23 19:25:03 2018 (r462729) +++ head/misc/colortail/pkg-descr Fri Feb 23 19:25:09 2018 (r462730) @@ -1,7 +1,7 @@ -Colortail works like the standard tail but it can optionally read -a color config file where it's specified expressions that results -in colors. It can be used to quickly get an overview of interesting -activity by ie. colorize those brightred or some other color of -your choose. +Colortail works like tail but can optionally read one or more config files where +it's specified which patterns results in which colors. -WWW: http://pjek.se/projects/colortail/ +Colortail uses regular expressions (see re_format(7)) to determine which lines +and parts of lines to print in which colors. + +WWW: https://github.com/joakim666/colortail