summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-10-25 20:22:07 +0000
committerabs <abs@pkgsrc.org>2008-10-25 20:22:07 +0000
commit8606e7026c7b59da20eade7edce3152d9871f37a (patch)
tree01a65327e08f28294decf0204605250cc646ef87 /finance
parent280199217582d2ab942f147ecc3d6b22cbf6a373 (diff)
downloadpkgsrc-8606e7026c7b59da20eade7edce3152d9871f37a.tar.gz
Added finance/p5-Algorithm-LUHN version 1.00
This module calculates the Modulus 10 Double Add Double checksum, also known as the LUHN Formula. This algorithm is used to verify credit card numbers and Standard & Poor's security identifiers such as CUSIP's and CSIN's. You can find plenty of information about the algorithm by searching the web for "modulus 10 double add double".
Diffstat (limited to 'finance')
-rw-r--r--finance/p5-Algorithm-LUHN/DESCR7
-rw-r--r--finance/p5-Algorithm-LUHN/Makefile18
-rw-r--r--finance/p5-Algorithm-LUHN/distinfo5
3 files changed, 30 insertions, 0 deletions
diff --git a/finance/p5-Algorithm-LUHN/DESCR b/finance/p5-Algorithm-LUHN/DESCR
new file mode 100644
index 00000000000..ce9df978ce7
--- /dev/null
+++ b/finance/p5-Algorithm-LUHN/DESCR
@@ -0,0 +1,7 @@
+This module calculates the Modulus 10 Double Add Double checksum,
+also known as the LUHN Formula. This algorithm is used to verify
+credit card numbers and Standard & Poor's security identifiers such
+as CUSIP's and CSIN's.
+
+You can find plenty of information about the algorithm by searching
+the web for "modulus 10 double add double".
diff --git a/finance/p5-Algorithm-LUHN/Makefile b/finance/p5-Algorithm-LUHN/Makefile
new file mode 100644
index 00000000000..994f38d1c70
--- /dev/null
+++ b/finance/p5-Algorithm-LUHN/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/25 20:22:07 abs Exp $
+
+DISTNAME= Algorithm-LUHN-1.00
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= finance perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/T/TA/TAYERS/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/perldoc?Algorithm::LUHN
+COMMENT= Calculate the Modulus 10 Double Add Double checksum
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Algorithm/LUHN/.packlist
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/finance/p5-Algorithm-LUHN/distinfo b/finance/p5-Algorithm-LUHN/distinfo
new file mode 100644
index 00000000000..31b86291356
--- /dev/null
+++ b/finance/p5-Algorithm-LUHN/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/25 20:22:07 abs Exp $
+
+SHA1 (Algorithm-LUHN-1.00.tar.gz) = 0b312ffb63bcc8f0a05d1e00fe2418a326febaeb
+RMD160 (Algorithm-LUHN-1.00.tar.gz) = 28b4b7acb7fd69b4954d9075d33599bcbd4940e9
+Size (Algorithm-LUHN-1.00.tar.gz) = 3748 bytes