From owner-svn-ports-head@freebsd.org Tue Jan 15 21:18:26 2019 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 7AFBF1496E3E; Tue, 15 Jan 2019 21:18:26 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2007F72224; Tue, 15 Jan 2019 21:18:26 +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 13D0020741; Tue, 15 Jan 2019 21:18:26 +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 x0FLIP6X024831; Tue, 15 Jan 2019 21:18:25 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0FLIPtd024827; Tue, 15 Jan 2019 21:18:25 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201901152118.x0FLIPtd024827@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 15 Jan 2019 21:18:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490405 - in head/devel: . p5-Data-Binary X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . p5-Data-Binary X-SVN-Commit-Revision: 490405 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2007F72224 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.975,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 15 Jan 2019 21:18:26 -0000 Author: sunpoet Date: Tue Jan 15 21:18:24 2019 New Revision: 490405 URL: https://svnweb.freebsd.org/changeset/ports/490405 Log: Add p5-Data-Binary 0.01 Data::Binary provides string equivalents to the -T / -B operators. Since these only work on file names and file handles, this module provides the same functions but on strings. Note that the actual implementation is currently different, basically because the -T / -B functions are in C/XS, and this module is written in pure Perl. For now, anyway. WWW: https://metacpan.org/release/Data-Binary Added: head/devel/p5-Data-Binary/ head/devel/p5-Data-Binary/Makefile (contents, props changed) head/devel/p5-Data-Binary/distinfo (contents, props changed) head/devel/p5-Data-Binary/pkg-descr (contents, props changed) head/devel/p5-Data-Binary/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jan 15 21:11:14 2019 (r490404) +++ head/devel/Makefile Tue Jan 15 21:18:24 2019 (r490405) @@ -2252,6 +2252,7 @@ SUBDIR += p5-Data-ACL SUBDIR += p5-Data-Alias SUBDIR += p5-Data-Average + SUBDIR += p5-Data-Binary SUBDIR += p5-Data-Bind SUBDIR += p5-Data-Capture SUBDIR += p5-Data-ClearSilver-HDF Added: head/devel/p5-Data-Binary/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Binary/Makefile Tue Jan 15 21:18:24 2019 (r490405) @@ -0,0 +1,20 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Data-Binary +PORTVERSION= 0.01 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple detection of binary versus text in strings + +LICENSE= ART20 + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include Added: head/devel/p5-Data-Binary/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Binary/distinfo Tue Jan 15 21:18:24 2019 (r490405) @@ -0,0 +1,3 @@ +TIMESTAMP = 1547582025 +SHA256 (Data-Binary-0.01.tar.gz) = 4821a2de10ac7108f4dcb284a71b876981b0cb1ea6c5ed6afb177bf2e7cb8d73 +SIZE (Data-Binary-0.01.tar.gz) = 3419 Added: head/devel/p5-Data-Binary/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Binary/pkg-descr Tue Jan 15 21:18:24 2019 (r490405) @@ -0,0 +1,9 @@ +Data::Binary provides string equivalents to the -T / -B operators. Since these +only work on file names and file handles, this module provides the same +functions but on strings. + +Note that the actual implementation is currently different, basically because +the -T / -B functions are in C/XS, and this module is written in pure Perl. For +now, anyway. + +WWW: https://metacpan.org/release/Data-Binary Added: head/devel/p5-Data-Binary/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Data-Binary/pkg-plist Tue Jan 15 21:18:24 2019 (r490405) @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Data/Binary.pm +%%PERL5_MAN3%%/Data::Binary.3.gz