BSD Ports

devel/p5-String-LRC 1.01_2 FreeBSD

Perl interface for longitudinal redundancy check generation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, perl5
Package size
9.4 KiB, 18.1 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
FreeBSDdevel/p5-String-LRC1.01_2
DragonFlydevel/p5-String-LRC1.01_2

Install

Binary package:

pkg install p5-String-LRC

From the ports tree:

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

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

RUN_DEPENDS=	p5-String-LRC>0:devel/p5-String-LRC

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.01_21.01_21.01_21.01_21.01_2
FreeBSD:14:quarterly1.01_21.01_2n/a1.01_21.01_2
FreeBSD:15:latest1.01_21.01_2n/a1.01_21.01_2
FreeBSD:15:quarterly1.01_21.01_2n/an/an/a
FreeBSD:16:latest1.01_21.01_2n/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

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 5
  • %%PERL5_MAN3%%/String::LRC.3.gz
  • %%SITE_ARCH%%/String/LRC.pm
  • %%SITE_ARCH%%/String/LRC.pod
  • %%SITE_ARCH%%/String/bench.pl
  • %%SITE_ARCH%%/auto/String/LRC/LRC.so
distinfo 1
FileSizeSHA256
String-LRC-1.01.tar.gz55152911013c9f8fc5157bbd539875735f43d4c95f73d2e1190b352fc014e7c64d14
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.