From 9f1fd52048f723a05dbf7c7d250949d857e4f713 Mon Sep 17 00:00:00 2001 From: sthen Date: Fri, 11 Mar 2011 13:40:20 +0000 Subject: [PATCH] import ports/converters/p5-Convert-Base32, feedback/tweaks/ok giovanni@ This module provides functions to convert string from/to RFC4648 Base32 encoding, designed to encode non-ASCII characters in DNS-compatible host name parts (A..Z, 2..7). --- converters/p5-Convert-Base32/Makefile | 19 +++++++++++++++++++ converters/p5-Convert-Base32/distinfo | 5 +++++ converters/p5-Convert-Base32/pkg/DESCR | 3 +++ converters/p5-Convert-Base32/pkg/PLIST | 4 ++++ 4 files changed, 31 insertions(+) create mode 100644 converters/p5-Convert-Base32/Makefile create mode 100644 converters/p5-Convert-Base32/distinfo create mode 100644 converters/p5-Convert-Base32/pkg/DESCR create mode 100644 converters/p5-Convert-Base32/pkg/PLIST diff --git a/converters/p5-Convert-Base32/Makefile b/converters/p5-Convert-Base32/Makefile new file mode 100644 index 00000000000..a48c38639f9 --- /dev/null +++ b/converters/p5-Convert-Base32/Makefile @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/03/11 13:40:20 sthen Exp $ + +COMMENT = encoding and decoding of base32 (RFC4648) strings + +DISTNAME = Convert-Base32-0.05 + +CATEGORIES = converters + +# Perl +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MODULES = cpan + +REGRESS_DEPENDS = devel/p5-Test-Exception + +.include diff --git a/converters/p5-Convert-Base32/distinfo b/converters/p5-Convert-Base32/distinfo new file mode 100644 index 00000000000..e5518f80b2e --- /dev/null +++ b/converters/p5-Convert-Base32/distinfo @@ -0,0 +1,5 @@ +MD5 (Convert-Base32-0.05.tar.gz) = uuZAt5gdVZboZlpMKOd3tw== +RMD160 (Convert-Base32-0.05.tar.gz) = NW2mI8XczOwc8hbjSAectExuOR4= +SHA1 (Convert-Base32-0.05.tar.gz) = CbB+q6BInl6RLrIsF8rDkcqup9s= +SHA256 (Convert-Base32-0.05.tar.gz) = /VqDLQL15qCOULqfxog0hpZy+F+PU2XMHWkNOwA8QyE= +SIZE (Convert-Base32-0.05.tar.gz) = 4113 diff --git a/converters/p5-Convert-Base32/pkg/DESCR b/converters/p5-Convert-Base32/pkg/DESCR new file mode 100644 index 00000000000..10567b92621 --- /dev/null +++ b/converters/p5-Convert-Base32/pkg/DESCR @@ -0,0 +1,3 @@ +This module provides functions to convert string from/to RFC4648 +Base32 encoding, designed to encode non-ASCII characters in +DNS-compatible host name parts (A..Z, 2..7). diff --git a/converters/p5-Convert-Base32/pkg/PLIST b/converters/p5-Convert-Base32/pkg/PLIST new file mode 100644 index 00000000000..8a855750e07 --- /dev/null +++ b/converters/p5-Convert-Base32/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/11 13:40:20 sthen Exp $ +${P5SITE}/Convert/ +${P5SITE}/Convert/Base32.pm +@man man/man3p/Convert::Base32.3p