From owner-svn-ports-all@freebsd.org Mon Nov 19 15:25:10 2018 Return-Path: Delivered-To: svn-ports-all@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 428E811067F1; Mon, 19 Nov 2018 15:25:10 +0000 (UTC) (envelope-from 0mp@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 D748879B89; Mon, 19 Nov 2018 15:25:09 +0000 (UTC) (envelope-from 0mp@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 B2E1223D9E; Mon, 19 Nov 2018 15:25:09 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAJFP9wk098341; Mon, 19 Nov 2018 15:25:09 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAJFP8ru098337; Mon, 19 Nov 2018 15:25:08 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201811191525.wAJFP8ru098337@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Mon, 19 Nov 2018 15:25:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485326 - in head/textproc: . chkascii X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/textproc: . chkascii X-SVN-Commit-Revision: 485326 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D748879B89 X-Spamd-Result: default: False [0.49 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.47)[0.467,0]; NEURAL_SPAM_MEDIUM(0.03)[0.027,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2018 15:25:10 -0000 Author: 0mp Date: Mon Nov 19 15:25:08 2018 New Revision: 485326 URL: https://svnweb.freebsd.org/changeset/ports/485326 Log: New port: textproc/chkascii: Check an ASCII text file for invalid characters chkascii is a small C program that checks files for any ASCII values that are possibly junk. The following are considered the only good ASCII values permissible in a text file: 32-126, 9, 10 The user can optionally force additional ASCII values to be treated as good. For good text files, chkascii will wind up by checking on proper EOL termination. If the file is not EOL-terminated, that too is reported as an error. WWW: https://github.com/bourne-again/chkascii PR: 233254 Submitted by: bourne.identity@hotmail.com Reviewed by: krion Approved by: krion (mentor) Differential Revision: https://reviews.freebsd.org/D18047 Added: head/textproc/chkascii/ head/textproc/chkascii/Makefile (contents, props changed) head/textproc/chkascii/distinfo (contents, props changed) head/textproc/chkascii/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Mon Nov 19 15:09:35 2018 (r485325) +++ head/textproc/Makefile Mon Nov 19 15:25:08 2018 (r485326) @@ -85,6 +85,7 @@ SUBDIR += cdiff SUBDIR += cgrep SUBDIR += chpp + SUBDIR += chkascii SUBDIR += cl-meta SUBDIR += cl-meta-sbcl SUBDIR += cl-ppcre Added: head/textproc/chkascii/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/chkascii/Makefile Mon Nov 19 15:25:08 2018 (r485326) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= chkascii +DISTVERSION= 1.0 +CATEGORIES= textproc + +MAINTAINER= bourne.identity@hotmail.com +COMMENT= Check an ASCII text file for invalid characters + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= bourne-again + +PLIST_FILES= bin/chkascii \ + man/man1/chkascii.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/chkascii ${STAGEDIR}${PREFIX}/bin/chkascii + ${INSTALL_MAN} ${WRKSRC}/chkascii.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +.include Added: head/textproc/chkascii/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/chkascii/distinfo Mon Nov 19 15:25:08 2018 (r485326) @@ -0,0 +1,3 @@ +TIMESTAMP = 1542639723 +SHA256 (bourne-again-chkascii-1.0_GH0.tar.gz) = e25dfa56022894a62b0ebc8f5457871a99c8ccf9f632c6a193f05dbefc27d8ef +SIZE (bourne-again-chkascii-1.0_GH0.tar.gz) = 9895 Added: head/textproc/chkascii/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/chkascii/pkg-descr Mon Nov 19 15:25:08 2018 (r485326) @@ -0,0 +1,16 @@ +chkascii is a small C program that checks files for any ASCII values +that are possibly junk. The following are considered the only good ASCII +values permissible in a text file: + +32-126 +9 +10 + +The user can optionally force additional ASCII values to be treated as +good. + +For good text files, chkascii will wind up by checking on proper EOL +termination. If the file is not EOL-terminated, that too is reported as +an error. + +WWW: https://github.com/bourne-again/chkascii