BSD Ports

devel/p5-String-LRC 1.01_2 DragonFly

Perl interface for longitudinal redundancy check generation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, perl5
Package size
8.7 KiB, 17.9 KiB installed

Description

LRC - Perl interface for longitudinal redundancy check generation

The Longitudinal Redundancy Check (LRC) is a one byte character, commonly used as a byte-field in data transmission over analog systems.

Most commonly, in STX-ETX bounded strings sent in financial protocols. Following some previous experience with such protocols, I wrote an LRC function in perl and later decided to re-write in C for efficiency. The result is this module String::LRC, which generates this aforementioned byte.

Commonly used in financial protocols as follows with ETX (ASCII 03) appended to LRC sum and packets after the STX (ASCII 02), payload, and ETX chars.

In the other systems

SystemPortVersion
DragonFlydevel/p5-String-LRC1.01_2
FreeBSDdevel/p5-String-LRC1.01_2
HardenedBSDdevel/p5-String-LRC1.01_2
GhostBSDdevel/p5-String-LRC1.01_2

Install

Binary package:

pkg install p5-String-LRC

From DPorts:

cd /usr/dports/devel/p5-String-LRC && make install clean

Dependencies

Run dependencies 1