From afdcaf39cc8dab15de72a5776b3d2d77965681a9 Mon Sep 17 00:00:00 2001 From: pux Date: Tue, 17 Jan 2023 08:16:42 +0100 Subject: new: p5-URL-Encode --- pkgsrc/local/p5-URL-Encode/DESCR | 21 +++++++++++++++++++++ pkgsrc/local/p5-URL-Encode/Makefile | 19 +++++++++++++++++++ pkgsrc/local/p5-URL-Encode/distinfo | 5 +++++ 3 files changed, 45 insertions(+) create mode 100644 pkgsrc/local/p5-URL-Encode/DESCR create mode 100644 pkgsrc/local/p5-URL-Encode/Makefile create mode 100644 pkgsrc/local/p5-URL-Encode/distinfo (limited to 'pkgsrc/local') diff --git a/pkgsrc/local/p5-URL-Encode/DESCR b/pkgsrc/local/p5-URL-Encode/DESCR new file mode 100644 index 0000000..add4a2a --- /dev/null +++ b/pkgsrc/local/p5-URL-Encode/DESCR @@ -0,0 +1,21 @@ +NAME + URL::Encode - Encoding and decoding of + "application/x-www-form-urlencoded" encoding. + +SYNOPSIS + $octets = url_decode($octets); + $string = url_decode_utf8($octets); + + $octets = url_encode($octets); + $octets = url_encode_utf8($string); + + $params = url_params_flat($octets [, $utf8 = false]); + $params = url_params_mixed($octets [, $utf8 = false]); + $params = url_params_multi($octets [, $utf8 = false]); + url_params_each($octets, $callback [, $utf8 = false]); + +DESCRIPTION + This module provides functions to encode and decode strings into and + from the "application/x-www-form-urlencoded" encoding. + +... diff --git a/pkgsrc/local/p5-URL-Encode/Makefile b/pkgsrc/local/p5-URL-Encode/Makefile new file mode 100644 index 0000000..f7043b2 --- /dev/null +++ b/pkgsrc/local/p5-URL-Encode/Makefile @@ -0,0 +1,19 @@ +# $NetBSD$ + +DISTNAME= URL-Encode-0.03 +PKGNAME= p5-${DISTNAME} +CATEGORIES= perl5 # TODO: add primary category +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=URL/} + +MAINTAINER= omeckman@estd.link # or use pkgsrc-users@NetBSD.org +HOMEPAGE= https://metacpan.org/pod/URL::Encode +COMMENT= Encoding and decoding of application/x-www-form-urlencoded encoding. +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-Carp>=0:../../devel/p5-Carp p5-Module-Install>=0:../../devel/p5-Module-Install + +PERL5_PACKLIST= auto/URL/Encode/.packlist +USE_LANGUAGES= # none + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/pkgsrc/local/p5-URL-Encode/distinfo b/pkgsrc/local/p5-URL-Encode/distinfo new file mode 100644 index 0000000..59745a5 --- /dev/null +++ b/pkgsrc/local/p5-URL-Encode/distinfo @@ -0,0 +1,5 @@ +$NetBSD$ + +BLAKE2s (URL-Encode-0.03.tar.gz) = eb4368b7054ee103bd0cf815f3e4a830a2e6c2e55f49238a218290c1934b0550 +SHA512 (URL-Encode-0.03.tar.gz) = 1f47b9ca9470f0f51f4b3e806f32ef0044d10ab2723944ba93eb740278155fcb77471208b833f7d77ff829cc5879211f592a3ae6ba3ccd6a4ee38d866bb38197 +Size (URL-Encode-0.03.tar.gz) = 24012 bytes -- cgit v1.2.2-1-g5e49