summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorheinz <heinz>2002-10-06 03:07:03 +0000
committerheinz <heinz>2002-10-06 03:07:03 +0000
commita9739f0da1a8905216163d21376d034e7fde2186 (patch)
tree489b7fec1801bd3610b7a09dc8653dfc29f780b4 /security
parent224af399a860adada02eb5ba2249282a98efaa85 (diff)
downloadpkgsrc-a9739f0da1a8905216163d21376d034e7fde2186.tar.gz
Import of p5-Digest-Nilsimsa, a perl5 extension module for Nilsimsa
signatures. A Nilsimsa signature is a statistic of n-gram occurance in a piece of text. It is a 256 bit value usually represented in hex
Diffstat (limited to 'security')
-rw-r--r--security/p5-Digest-Nilsimsa/DESCR5
-rw-r--r--security/p5-Digest-Nilsimsa/Makefile26
-rw-r--r--security/p5-Digest-Nilsimsa/PLIST1
-rw-r--r--security/p5-Digest-Nilsimsa/distinfo4
4 files changed, 36 insertions, 0 deletions
diff --git a/security/p5-Digest-Nilsimsa/DESCR b/security/p5-Digest-Nilsimsa/DESCR
new file mode 100644
index 00000000000..580fb17f8a3
--- /dev/null
+++ b/security/p5-Digest-Nilsimsa/DESCR
@@ -0,0 +1,5 @@
+A nilsimsa signature is a statistic of n-gram occurance in
+a piece of text. It is a 256 bit value usually represented
+in hex. This module is a wrapper around nilsimsa implemen-
+tation in C by cmeclax
+(http://ixazon.dynip.com/~cmeclax/nilsimsa.html).
diff --git a/security/p5-Digest-Nilsimsa/Makefile b/security/p5-Digest-Nilsimsa/Makefile
new file mode 100644
index 00000000000..4a3779ced00
--- /dev/null
+++ b/security/p5-Digest-Nilsimsa/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/06 03:07:03 heinz Exp $
+#
+
+DISTNAME= Digest-Nilsimsa-0.06
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5nil
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Digest/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://search.cpan.org/dist/Digest-Nilsimsa/
+COMMENT= perl5 extension module for Nilsimsa signatures
+
+# _might_ work with earlier version but author says, it was only tested
+# with 5.6.1 :-/
+BUILDLINK_DEPENDS.perl= perl>=5.6.1
+USE_BUILDLINK2= YES
+
+PERL5_CONFIGURE= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Digest/Nilsimsa/.packlist
+
+test: build
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} test
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p5-Digest-Nilsimsa/PLIST b/security/p5-Digest-Nilsimsa/PLIST
new file mode 100644
index 00000000000..0518307f647
--- /dev/null
+++ b/security/p5-Digest-Nilsimsa/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/06 03:07:03 heinz Exp $
diff --git a/security/p5-Digest-Nilsimsa/distinfo b/security/p5-Digest-Nilsimsa/distinfo
new file mode 100644
index 00000000000..c66d5e13ee5
--- /dev/null
+++ b/security/p5-Digest-Nilsimsa/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/06 03:07:03 heinz Exp $
+
+SHA1 (Digest-Nilsimsa-0.06.tar.gz) = 6f9248c6a900c08bea64830930be12572000171b
+Size (Digest-Nilsimsa-0.06.tar.gz) = 79065 bytes