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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-String-LRC | 1.01_2 |
| DragonFly | devel/p5-String-LRC | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.01_2 | 1.01_2 | 1.01_2 | 1.01_2 | 1.01_2 |
| FreeBSD:14:quarterly | 1.01_2 | 1.01_2 | n/a | 1.01_2 | 1.01_2 |
| FreeBSD:15:latest | 1.01_2 | 1.01_2 | n/a | 1.01_2 | 1.01_2 |
| FreeBSD:15:quarterly | 1.01_2 | 1.01_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.01_2 | 1.01_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 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
| File | Size | SHA256 |
|---|---|---|
| String-LRC-1.01.tar.gz | 5515 | 2911013c9f8fc5157bbd539875735f43d4c95f73d2e1190b352fc014e7c64d14 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.