diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2005-12-26 11:50:43 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2005-12-26 11:50:43 +0000 |
commit | af14947e24a5a15c94bf15c5ed5895352ccae1b9 (patch) | |
tree | d89224d56766b29a8f754849b84f590dde6f2ae3 /devel/p5-Object-Signature | |
parent | e82254f926c12be6b95571288581387910df22f3 (diff) |
Notes
Diffstat (limited to 'devel/p5-Object-Signature')
-rw-r--r-- | devel/p5-Object-Signature/Makefile | 36 | ||||
-rw-r--r-- | devel/p5-Object-Signature/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Object-Signature/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-Object-Signature/pkg-plist | 5 |
4 files changed, 53 insertions, 0 deletions
diff --git a/devel/p5-Object-Signature/Makefile b/devel/p5-Object-Signature/Makefile new file mode 100644 index 000000000000..87951d867085 --- /dev/null +++ b/devel/p5-Object-Signature/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: p5-Object-Signature +# Date created: 26 Dec 2005 +# Whom: Lars Balker Rasmussen <lars@balker.dk> +# +# $FreeBSD$ +# + +PORTNAME= Object-Signature +PORTVERSION= 0.02 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Object +PKGNAMEPREFIX= p5- + +MAINTAINER= lars@balker.dk +COMMENT= Generate cryptographic signatures for objects + +BUILD_DEPENDS= p5-prefork>=0.02:${PORTSDIR}/devel/p5-prefork \ + p5-Storable>=2.11:${PORTSDIR}/devel/p5-Storable \ + p5-Digest-MD5>=2.00:${PORTSDIR}/security/p5-Digest-MD5 \ + p5-Test-Simple>=0.47:${PORTSDIR}/devel/p5-Test-Simple \ + p5-PathTools>=0.82:${PORTSDIR}/devel/p5-PathTools \ + p5-ExtUtils-AutoInstall>=0.63:${PORTSDIR}/devel/p5-ExtUtils-AutoInstall +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Object::Signature.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Object-Signature/distinfo b/devel/p5-Object-Signature/distinfo new file mode 100644 index 000000000000..048fbe90a75c --- /dev/null +++ b/devel/p5-Object-Signature/distinfo @@ -0,0 +1,3 @@ +MD5 (Object-Signature-0.02.tar.gz) = 200dc7b881b2ec3ef4a25adb42a3367d +SHA256 (Object-Signature-0.02.tar.gz) = 50a1a36d23cb15f8430e0fb8b50829a90430b197b16b91a5a6289423a6a20709 +SIZE (Object-Signature-0.02.tar.gz) = 17359 diff --git a/devel/p5-Object-Signature/pkg-descr b/devel/p5-Object-Signature/pkg-descr new file mode 100644 index 000000000000..bf99a95743a4 --- /dev/null +++ b/devel/p5-Object-Signature/pkg-descr @@ -0,0 +1,9 @@ +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. + +WWW: http://search.cpan.org/dist/Object-Signature/ diff --git a/devel/p5-Object-Signature/pkg-plist b/devel/p5-Object-Signature/pkg-plist new file mode 100644 index 000000000000..1d782d3ae9cf --- /dev/null +++ b/devel/p5-Object-Signature/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Signature/.packlist +%%SITE_PERL%%/Object/Signature.pm +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Signature 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Object 2>/dev/null || true |