BSD Ports

devel/p5-Algorithm-LUHN 1.02 FreeBSD

Calculate the Modulus 10 Double Add Double checksum

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
9.4 KiB, 14.9 KiB installed

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

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

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Algorithm-LUHN1.02
NetBSDfinance/p5-Algorithm-LUHN1.02nb10
DragonFlydevel/p5-Algorithm-LUHN1.02

Install

Binary package:

pkg install p5-Algorithm-LUHN

From the ports tree:

cd /usr/ports/devel/p5-Algorithm-LUHN/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Algorithm-LUHN>0:devel/p5-Algorithm-LUHN

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.021.021.021.021.02
FreeBSD:14:quarterly1.021.02n/a1.021.02
FreeBSD:15:latest1.021.02n/a1.021.02
FreeBSD:15:quarterly1.021.02n/an/an/a
FreeBSD:16:latest1.021.02n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Algorithm::LUHN.3.gz
  • %%SITE_PERL%%/Algorithm/LUHN.pm
distinfo 1
FileSizeSHA256
Algorithm-LUHN-1.02.tar.gz12046e808fbba13e262608d37923efa917e18407453c4af96ab783fc77f9fe159b9c0
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.