summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-10-24 17:22:24 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-10-24 17:22:24 +0000
commit1f4e012dd284bc6dc93171c8e8adefc14de9fc32 (patch)
tree5212d975cc1c02de514ac25ee7550447cd2d92d8 /misc
parentAdd p5-Business-OnlinePayment 2.00, a generic interface for processing online (diff)
Add p5-String-LRC 1.01, a perl interface for longitudinal
redundancy check generation.
Notes
Notes: svn path=/head/; revision=68738
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/p5-String-LRC/Makefile23
-rw-r--r--misc/p5-String-LRC/distinfo1
-rw-r--r--misc/p5-String-LRC/pkg-comment1
-rw-r--r--misc/p5-String-LRC/pkg-descr14
-rw-r--r--misc/p5-String-LRC/pkg-plist9
6 files changed, 49 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 5b8a1c44987d..2f1dbee184ce 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -227,6 +227,7 @@
SUBDIR += p5-LEGO-RCX
SUBDIR += p5-Locale-Codes
SUBDIR += p5-Locale-SubCountry
+ SUBDIR += p5-String-LRC
SUBDIR += p5-Text-FIGlet
SUBDIR += p5-Tie-DxHash
SUBDIR += patanjali
diff --git a/misc/p5-String-LRC/Makefile b/misc/p5-String-LRC/Makefile
new file mode 100644
index 000000000000..753ae19b20ed
--- /dev/null
+++ b/misc/p5-String-LRC/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: String:LRC
+# Date created: 24 October 2002
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= String-LRC
+PORTVERSION= 1.01
+CATEGORIES= misc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= String
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+PERL_CONFIGURE= yes
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+MAN3= String::LRC.3
+
+.include <bsd.port.mk>
diff --git a/misc/p5-String-LRC/distinfo b/misc/p5-String-LRC/distinfo
new file mode 100644
index 000000000000..3001392f6155
--- /dev/null
+++ b/misc/p5-String-LRC/distinfo
@@ -0,0 +1 @@
+MD5 (String-LRC-1.01.tar.gz) = b6785cc738e4334b97debbdd5c64823d
diff --git a/misc/p5-String-LRC/pkg-comment b/misc/p5-String-LRC/pkg-comment
new file mode 100644
index 000000000000..82f67d2deff1
--- /dev/null
+++ b/misc/p5-String-LRC/pkg-comment
@@ -0,0 +1 @@
+A perl interface for longitudinal redundancy check generation
diff --git a/misc/p5-String-LRC/pkg-descr b/misc/p5-String-LRC/pkg-descr
new file mode 100644
index 000000000000..cbc53261e370
--- /dev/null
+++ b/misc/p5-String-LRC/pkg-descr
@@ -0,0 +1,14 @@
+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.
diff --git a/misc/p5-String-LRC/pkg-plist b/misc/p5-String-LRC/pkg-plist
new file mode 100644
index 000000000000..6e3ec60f0f13
--- /dev/null
+++ b/misc/p5-String-LRC/pkg-plist
@@ -0,0 +1,9 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String/LRC.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String/LRC.pod
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String/bench.pl
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC/LRC.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC/LRC.so
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/LRC
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String