summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2008-07-14 09:25:45 +0000
committerabs <abs>2008-07-14 09:25:45 +0000
commit76f958eb12a0c3612808d899b893e293c5bad605 (patch)
treebcc9b67faabf2f768e11c203f6133428e3784713
parent39ffec9c50f82bb1c02fe5b24928ac496e7a1aab (diff)
downloadpkgsrc-76f958eb12a0c3612808d899b893e293c5bad605.tar.gz
Added devel/p5-Object-Signature version 1.05
Object::Signature is an abstract base class that you can inherit from in order to allow your objects to generate unique cryptographic signatures. The method used to generate the signature is based on Storable and Digest::MD5. The object is fed to Storable::nfreeze to get a string, which is then passed to Digest::MD5::md5_hex to get a unique 32 character hexidecimal signature.
-rw-r--r--devel/p5-Object-Signature/DESCR7
-rw-r--r--devel/p5-Object-Signature/Makefile24
-rw-r--r--devel/p5-Object-Signature/distinfo5
3 files changed, 36 insertions, 0 deletions
diff --git a/devel/p5-Object-Signature/DESCR b/devel/p5-Object-Signature/DESCR
new file mode 100644
index 00000000000..5441ebf4ec1
--- /dev/null
+++ b/devel/p5-Object-Signature/DESCR
@@ -0,0 +1,7 @@
+Object::Signature is an abstract base class that you can inherit from in
+order to allow your objects to generate unique cryptographic signatures.
+
+The method used to generate the signature is based on Storable and
+Digest::MD5. The object is fed to Storable::nfreeze to get a string,
+which is then passed to Digest::MD5::md5_hex to get a unique 32
+character hexidecimal signature.
diff --git a/devel/p5-Object-Signature/Makefile b/devel/p5-Object-Signature/Makefile
new file mode 100644
index 00000000000..2c51ff6b9e9
--- /dev/null
+++ b/devel/p5-Object-Signature/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/14 09:25:45 abs Exp $
+
+DISTNAME= Object-Signature-1.05
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Object/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Object-Signature/
+COMMENT= Generate cryptographic signatures for objects
+
+DEPENDS+= p5-Storable>=2.11:../../devel/p5-Storable
+DEPENDS+= p5-Digest-MD5>=2.00:../../security/p5-Digest-MD5
+DEPENDS+= p5-Test-Simple>=0.47:../../devel/p5-Test-Simple
+DEPENDS+= p5-PathTools>=0.80:../../devel/p5-PathTools
+DEPENDS+= p5-ExtUtils-AutoInstall>=0.63:../../devel/p5-ExtUtils-AutoInstall
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Object/Signature/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Object-Signature/distinfo b/devel/p5-Object-Signature/distinfo
new file mode 100644
index 00000000000..698d0a14ecd
--- /dev/null
+++ b/devel/p5-Object-Signature/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/14 09:25:45 abs Exp $
+
+SHA1 (Object-Signature-1.05.tar.gz) = e39488839ccf72860f1d46321b0366af3360bb09
+RMD160 (Object-Signature-1.05.tar.gz) = d82bec4cc050c2cb44b1425e0ed9460c860cfdba
+Size (Object-Signature-1.05.tar.gz) = 20958 bytes