ports/82650: New Port: devel/p5-Algorithm/LUHN
Aaron Dalton
aaron at daltons.ca
Sat Jun 25 19:00:35 UTC 2005
>Number: 82650
>Category: ports
>Synopsis: New Port: devel/p5-Algorithm/LUHN
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 25 19:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Aaron Dalton
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross at chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386
>Description:
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".
>How-To-Repeat:
>Fix:
--- submission.txt begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Algorithm-LUHN
# p5-Algorithm-LUHN/Makefile
# p5-Algorithm-LUHN/distinfo
# p5-Algorithm-LUHN/pkg-descr
# p5-Algorithm-LUHN/pkg-plist
#
echo c - p5-Algorithm-LUHN
mkdir -p p5-Algorithm-LUHN > /dev/null 2>&1
echo x - p5-Algorithm-LUHN/Makefile
sed 's/^X//' >p5-Algorithm-LUHN/Makefile << 'END-of-p5-Algorithm-LUHN/Makefile'
X# New ports collection makefile for: Algorithm-LUHN
X# Date created: 25 June 2005
X# Whom: Aaron Dalton <aaron at daltons.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Algorithm-LUHN
XPORTVERSION= 1.00
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= ../../authors/id/T/TA/TAYERS
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= aaron at daltons.ca
XCOMMENT= Calculate the Modulus 10 Double Add Double checksum
X
XMAN3= Algorithm::LUHN.3
X
XPERL_CONFIGURE= yes
X
X.include <bsd.port.mk>
END-of-p5-Algorithm-LUHN/Makefile
echo x - p5-Algorithm-LUHN/distinfo
sed 's/^X//' >p5-Algorithm-LUHN/distinfo << 'END-of-p5-Algorithm-LUHN/distinfo'
XMD5 (Algorithm-LUHN-1.00.tar.gz) = 411d2ddcf3c61172926498b446fe28ab
XSIZE (Algorithm-LUHN-1.00.tar.gz) = 3748
END-of-p5-Algorithm-LUHN/distinfo
echo x - p5-Algorithm-LUHN/pkg-descr
sed 's/^X//' >p5-Algorithm-LUHN/pkg-descr << 'END-of-p5-Algorithm-LUHN/pkg-descr'
XThis module calculates the Modulus 10 Double Add Double checksum, also
Xknown as the LUHN Formula. This algorithm is used to verify credit card
Xnumbers and Standard & Poor's security identifiers such as CUSIP's and
XCSIN's.
X
XYou can find plenty of information about the algorithm by searching the
Xweb for "modulus 10 double add double".
X
XAuthor: Tim Ayers <tim at quaday.com>
XWWW: http://search.cpan.org/dist/Algorithm-LUHN/
X
X- Aaron Dalton
Xaaron at daltons.ca
END-of-p5-Algorithm-LUHN/pkg-descr
echo x - p5-Algorithm-LUHN/pkg-plist
sed 's/^X//' >p5-Algorithm-LUHN/pkg-plist << 'END-of-p5-Algorithm-LUHN/pkg-plist'
X%%SITE_PERL%%/Algorithm/LUHN.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/LUHN/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/LUHN
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true
X
END-of-p5-Algorithm-LUHN/pkg-plist
exit
--- submission.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list