summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-11-22 05:06:27 +0000
committerhubertf <hubertf@pkgsrc.org>1997-11-22 05:06:27 +0000
commit24013211fe52862e51755bf1743f3f0fa6feed61 (patch)
treee4d2c1610f5d5b765f6a505504a9f503d56b7d01 /security
parent4811693a8b65279ced2d9f1c86480db3cecd94ec (diff)
downloadpkgsrc-24013211fe52862e51755bf1743f3f0fa6feed61.tar.gz
for libwww
Diffstat (limited to 'security')
-rw-r--r--security/p5-MD5/Makefile25
-rw-r--r--security/p5-MD5/files/md51
-rw-r--r--security/p5-MD5/pkg/COMMENT1
-rw-r--r--security/p5-MD5/pkg/DESCR40
-rw-r--r--security/p5-MD5/pkg/PLIST8
5 files changed, 75 insertions, 0 deletions
diff --git a/security/p5-MD5/Makefile b/security/p5-MD5/Makefile
new file mode 100644
index 00000000000..0466ca96203
--- /dev/null
+++ b/security/p5-MD5/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-MD5
+# Version required: 1.7
+# Date created: September 30th 1996
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
+#
+# $Id: Makefile,v 1.1.1.1 1997/11/22 05:06:27 hubertf Exp $
+#
+
+DISTNAME= MD5-1.7
+PKGNAME= p5-MD5-1.7
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= MD5
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+USE_PERL5= YES
+
+MAN3= MD5.3
+MANPREFIX= ${PREFIX}/lib/perl5
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/security/p5-MD5/files/md5 b/security/p5-MD5/files/md5
new file mode 100644
index 00000000000..35e012be164
--- /dev/null
+++ b/security/p5-MD5/files/md5
@@ -0,0 +1 @@
+MD5 (MD5-1.7.tar.gz) = 92b07ec19be88163613dde69939eb48a
diff --git a/security/p5-MD5/pkg/COMMENT b/security/p5-MD5/pkg/COMMENT
new file mode 100644
index 00000000000..c147902f847
--- /dev/null
+++ b/security/p5-MD5/pkg/COMMENT
@@ -0,0 +1 @@
+perl5 interface to the RSA Data Security Inc. MD5 Message-Digest Algorithm
diff --git a/security/p5-MD5/pkg/DESCR b/security/p5-MD5/pkg/DESCR
new file mode 100644
index 00000000000..1ac4d065d20
--- /dev/null
+++ b/security/p5-MD5/pkg/DESCR
@@ -0,0 +1,40 @@
+ The MD5 module allows you to use the RSA Data Security
+ Inc. MD5 Message Digest algorithm from within Perl
+ programs.
+
+ A new MD5 context object is created with the new
+ operation. Multiple simultaneous digest contexts can be
+ maintained, if desired. The context is updated with the
+ add operation which adds the strings contained in the LIST
+ parameter. Note, however, that add('foo', 'bar'),
+ add('foo') followed by add('bar') and add('foobar') should
+ all give the same result.
+
+ The final message digest value is returned by the digest
+ operation as a 16-byte binary string. This operation
+ delivers the result of add operations since the last new
+ or reset operation. Note that the digest operation is
+ effectively a destructive, read-once operation. Once it
+ has been performed, the context must be reset before being
+ used to calculate another digest value.
+
+ Several convenience functions are also provided. The
+ addfile operation takes an open file-handle and reads it
+ until end-of file in 1024 byte blocks adding the contents
+ to the context. The file-handle can either be specified by
+ name or passed as a type-glob reference, as shown in the
+ examples below. The hexdigest operation calls digest and
+ returns the result as a printable string of hexdecimal
+ digits. This is exactly the same operation as performed by
+ the unpack operation in the examples below.
+
+ The hash operation can act as either a static member
+ function (ie you invoke it on the MD5 class as in the
+ synopsis above) or as a normal virtual function. In both
+ cases it performs the complete MD5 cycle (reset, add,
+ digest) on the supplied scalar value. This is convenient
+ for handling small quantities of data. When invoked on the
+ class a temporary context is created. When invoked through
+ an already created context object, this context is used.
+ The latter form is slightly more efficient. The hexhash
+ operation is analogous to hexdigest.
diff --git a/security/p5-MD5/pkg/PLIST b/security/p5-MD5/pkg/PLIST
new file mode 100644
index 00000000000..db0fdcbe0fa
--- /dev/null
+++ b/security/p5-MD5/pkg/PLIST
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/i386-freebsd/auto/MD5/MD5.so
+lib/perl5/site_perl/i386-freebsd/auto/MD5/MD5.bs
+lib/perl5/site_perl/auto/MD5/autosplit.ix
+lib/perl5/site_perl/MD5.pm
+lib/perl5/man/man3/MD5.3.gz
+lib/perl5/site_perl/i386-freebsd/auto/MD5/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/MD5
+@dirrm lib/perl5/site_perl/auto/MD5