1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add p5-Algorithm-LUHN.

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 and CSIN.

You can find plenty of information about the algorithm by searching the web
for "modulus 10 double add double".

WWW: http://search.cpan.org/dist/Algorithm-LUHN/

PR:		ports/82650
Submitted by:	Aaron Dalton <aaron@daltons.ca>
This commit is contained in:
Jean-Yves Lefort 2005-06-29 22:14:25 +00:00
parent 30a6cbe269
commit 16e1276001
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138214
5 changed files with 42 additions and 0 deletions

View File

@ -647,6 +647,7 @@
SUBDIR += p5-Algorithm-Diff
SUBDIR += p5-Algorithm-Evolutionary
SUBDIR += p5-Algorithm-Interval2Prefix
SUBDIR += p5-Algorithm-LUHN
SUBDIR += p5-Algorithm-MDiff
SUBDIR += p5-Algorithm-MarkovChain
SUBDIR += p5-Algorithm-MinMax

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: Algorithm-LUHN
# Date created: 25 June 2005
# Whom: Aaron Dalton <aaron@daltons.ca>
#
# $FreeBSD$
#
PORTNAME= Algorithm-LUHN
PORTVERSION= 1.00
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/T/TA/TAYERS
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@daltons.ca
COMMENT= Calculate the Modulus 10 Double Add Double checksum
MAN3= Algorithm::LUHN.3
PERL_CONFIGURE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (Algorithm-LUHN-1.00.tar.gz) = 411d2ddcf3c61172926498b446fe28ab
SIZE (Algorithm-LUHN-1.00.tar.gz) = 3748

View File

@ -0,0 +1,11 @@
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 and CSIN.
You can find plenty of information about the algorithm by searching the web
for "modulus 10 double add double".
WWW: http://search.cpan.org/dist/Algorithm-LUHN/
- Aaron Dalton
aaron@daltons.ca

View File

@ -0,0 +1,6 @@
%%SITE_PERL%%/Algorithm/LUHN.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/LUHN/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/LUHN
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true