From nobody Mon Apr 18 00:00:18 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 29B2D11CDED2; Mon, 18 Apr 2022 00:00:19 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KhRry568Yz4YCf; Mon, 18 Apr 2022 00:00:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6e0barqxgPxxh9QVGx7W3lW0FMftiCFQM5E/cBXAzCk=; b=N5QAe3QjofP+v8cqTjXcFtTOL01TcilIV/ZCpwhlRacmniDCaA8/5DNGFcoeU4tUJqB57x uHOhkaMCSCJPiVtPySQNZQJrGLfFUcm0wom9P2rnlJpuGoWARLdf5knagM0DgdP8mxftKL 1lyTXoiZyAcmnTFEz4UamopgxCJXxrmIGmZJHeg+rkvcv6e9sf2SKp+prkoSSkRJwcHUm9 2ZrLCYHVWr4FwYFuGq4AOZzZVxlkvCCHDDTfcZPmL5dXRe8m/pROPs4vgZUEA46ZbQPsxQ AbQ32Jzn4a3gJR57Xx/My8SKenKEkjoAhhxY91AV1eiqp+hNNtaClgG1ftustA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3818B2796E; Mon, 18 Apr 2022 00:00:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23I00Iol035811; Mon, 18 Apr 2022 00:00:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23I00IoL035803; Mon, 18 Apr 2022 00:00:18 GMT (envelope-from git) Date: Mon, 18 Apr 2022 00:00:18 GMT Message-Id: <202204180000.23I00IoL035803@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: aac8eba91dd9 - main - www/p5-HTML-Escape: Add p5-HTML-Escape 1.11 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aac8eba91dd9eb57bdccab6a3d0441a7e975eb29 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650240018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6e0barqxgPxxh9QVGx7W3lW0FMftiCFQM5E/cBXAzCk=; b=jcqCIlkIbM4NQwVg6B47CkGb+viMGnzQ9JuBHbaaGJEfzVhqEu5QbJyPvqLFVIU4VZmQxa xV/i8gRgLLI3QYX6wdBgXIfh0eZCv18CuyvewN7bR7jDN++bSivJKud3g2OfL+rPnvrZI9 LP7ix02cIGhEVq7RPYybO6eaqDlLgx12Eas3GyDwjG/OlBe7/3zRCeGvrsaIehrLNVOENA Ek8EoDaz0nOndWjk7q/LOePskMnZnQWmgSHZLkj9a5FAsG6MvDdMb2Tnz0gd51oBWB8qjM u3UbNOTBqqo8YtOQl1xsOfY0uQI6zHKH0QXJSLjBk8ny2zy/PpgMsFxoPf/xHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650240018; a=rsa-sha256; cv=none; b=oRy64V514gC9huirIoIDMLI9/wETRzKFC1BF1mlhkgo7NeP95/6lS/ai59bEnjMXwf7dG7 CmfqGDn9n3D3p4dIhtGBx5LcB7PrkxTYbxWa96vg+8BLvzWQ4wZxgCCuQhhFTBd06vATa9 51fdc19pyVqfq8dxHT9vkr84wMNhCouyp+IqRD4QTtW8ai62clWPgPTmQOpG81J9hkQ5M9 7WaMHudtFQGWEvx2nioORhmx1qvBlT1VdXbmUqI2DP0Sf7GTzUAagiF+uU5lEKubHStTaQ xQOtqYDcPEDm9KTJw2tm3QkN27F0s+LIMa4hov4ROAwzfYjs99JRqsiFDBzT7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=aac8eba91dd9eb57bdccab6a3d0441a7e975eb29 commit aac8eba91dd9eb57bdccab6a3d0441a7e975eb29 Author: Po-Chuan Hsieh AuthorDate: 2022-04-17 23:39:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-17 23:39:10 +0000 www/p5-HTML-Escape: Add p5-HTML-Escape 1.11 HTML::Escape provides a function which escapes HTML's special characters. It performs a similar function to PHP's htmlspecialchars. It escapes the following characters: " & ' < > ` { } WWW: https://metacpan.org/dist/HTML-Escape --- www/Makefile | 1 + www/p5-HTML-Escape/Makefile | 24 ++++++++++++++++++++++++ www/p5-HTML-Escape/distinfo | 3 +++ www/p5-HTML-Escape/pkg-descr | 5 +++++ www/p5-HTML-Escape/pkg-plist | 4 ++++ 5 files changed, 37 insertions(+) diff --git a/www/Makefile b/www/Makefile index 5ec0f36d3780..b82a03a159ce 100644 --- a/www/Makefile +++ b/www/Makefile @@ -806,6 +806,7 @@ SUBDIR += p5-HTML-Element-Library SUBDIR += p5-HTML-Element-Replacer SUBDIR += p5-HTML-Encoding + SUBDIR += p5-HTML-Escape SUBDIR += p5-HTML-ExtractContent SUBDIR += p5-HTML-ExtractMain SUBDIR += p5-HTML-Field diff --git a/www/p5-HTML-Escape/Makefile b/www/p5-HTML-Escape/Makefile new file mode 100644 index 000000000000..3b7fa4bd1e70 --- /dev/null +++ b/www/p5-HTML-Escape/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= HTML-Escape +PORTVERSION= 1.11 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Extremely fast HTML escaping + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test-Requires>=0:devel/p5-Test-Requires + +USES= perl5 +USE_PERL5= modbuild + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/HTML/Escape/Escape.so + +.include diff --git a/www/p5-HTML-Escape/distinfo b/www/p5-HTML-Escape/distinfo new file mode 100644 index 000000000000..504a6a227fff --- /dev/null +++ b/www/p5-HTML-Escape/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650228650 +SHA256 (HTML-Escape-1.11.tar.gz) = 5a5eef896500d1ea6c24a9085ecfbe9a43abee68cfc66c03f889d2a2cb689a5d +SIZE (HTML-Escape-1.11.tar.gz) = 57093 diff --git a/www/p5-HTML-Escape/pkg-descr b/www/p5-HTML-Escape/pkg-descr new file mode 100644 index 000000000000..965f916fa8ce --- /dev/null +++ b/www/p5-HTML-Escape/pkg-descr @@ -0,0 +1,5 @@ +HTML::Escape provides a function which escapes HTML's special characters. It +performs a similar function to PHP's htmlspecialchars. It escapes the following +characters: " & ' < > ` { } + +WWW: https://metacpan.org/dist/HTML-Escape diff --git a/www/p5-HTML-Escape/pkg-plist b/www/p5-HTML-Escape/pkg-plist new file mode 100644 index 000000000000..fd678ec42089 --- /dev/null +++ b/www/p5-HTML-Escape/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_ARCH%%/HTML/Escape.pm +%%SITE_ARCH%%/HTML/Escape/PurePerl.pm +%%SITE_ARCH%%/auto/HTML/Escape/Escape.so +%%PERL5_MAN3%%/HTML::Escape.3.gz