pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/rscode Initial import of rscode-1.0 into the Pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e26715aea24
branches:  trunk
changeset: 527914:6e26715aea24
user:      agc <agc%pkgsrc.org@localhost>
date:      Sun Apr 15 21:39:52 2007 +0000

description:
Initial import of rscode-1.0 into the Packages Collection.

        The Reed-Solomon Code is an algebraic code belonging to the class of
        BCH (Bose-Chaudry-Hocquehen) multiple burst correcting cyclic codes.
        The Reed Solomon code operates on bytes of fixed length.

        Given m parity bytes, a Reed-Solomon code can correct up to m byte
        errors in known positions (erasures), or detect and correct up to m/2
        byte errors in unknown positions.

        This is an implementation of a Reed-Solomon code with 8 bit bytes, and
        a configurable number of parity bytes.  The maximum sequence length
        (codeword) that can be generated is 255 bytes, including parity bytes.
        In practice, shorter sequences are used.

        The more general error-location algorithm is the Berlekamp-Massey
        algorithm, which will locate up to four errors, by iteratively solving
        for the error-locator polynomial.  The Modified Berlekamp Massey
        algorithm takes as initial conditions any known suspicious bytes
        (erasure flags) which you may have (such as might be flagged by a
        laser demodulator, or deduced from a failure in a cross-interleaved
        block code row or column).

        Once the location of errors is known, error correction is done using
        the error-evaluator polynomial.

diffstat:

 devel/rscode/DESCR            |  23 +++++++++++++++++++++++
 devel/rscode/Makefile         |  18 ++++++++++++++++++
 devel/rscode/PLIST            |   5 +++++
 devel/rscode/distinfo         |   6 ++++++
 devel/rscode/patches/patch-aa |  12 ++++++++++++
 5 files changed, 64 insertions(+), 0 deletions(-)

diffs (84 lines):

diff -r dba466467565 -r 6e26715aea24 devel/rscode/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rscode/DESCR        Sun Apr 15 21:39:52 2007 +0000
@@ -0,0 +1,23 @@
+The Reed-Solomon Code is an algebraic code belonging to the class of
+BCH (Bose-Chaudry-Hocquehen) multiple burst correcting cyclic codes.
+The Reed Solomon code operates on bytes of fixed length.
+
+Given m parity bytes, a Reed-Solomon code can correct up to m byte
+errors in known positions (erasures), or detect and correct up to m/2
+byte errors in unknown positions.
+
+This is an implementation of a Reed-Solomon code with 8 bit bytes, and
+a configurable number of parity bytes.  The maximum sequence length
+(codeword) that can be generated is 255 bytes, including parity bytes.
+In practice, shorter sequences are used.
+
+The more general error-location algorithm is the Berlekamp-Massey
+algorithm, which will locate up to four errors, by iteratively solving
+for the error-locator polynomial.  The Modified Berlekamp Massey
+algorithm takes as initial conditions any known suspicious bytes
+(erasure flags) which you may have (such as might be flagged by a
+laser demodulator, or deduced from a failure in a cross-interleaved
+block code row or column).
+
+Once the location of errors is known, error correction is done using
+the error-evaluator polynomial.
diff -r dba466467565 -r 6e26715aea24 devel/rscode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rscode/Makefile     Sun Apr 15 21:39:52 2007 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/15 21:39:52 agc Exp $
+#
+
+DISTNAME=      rscode-1.0
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=rscode/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://rscode.sourceforge.net/
+COMMENT=       Reed Solomon error correction code library
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/libecc.a ${PREFIX}/lib/
+       ${INSTALL_PROGRAM} ${WRKSRC}/example ${PREFIX}/bin/rscode
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rscode
+       ${INSTALL_DATA} ${WRKSRC}/rs.doc ${PREFIX}/share/doc/rscode/
+
+.include "../../mk/bsd.pkg.mk"
diff -r dba466467565 -r 6e26715aea24 devel/rscode/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rscode/PLIST        Sun Apr 15 21:39:52 2007 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/15 21:39:52 agc Exp $
+bin/rscode
+lib/libecc.a
+share/doc/rscode/rs.doc
+@dirrm share/doc/rscode
diff -r dba466467565 -r 6e26715aea24 devel/rscode/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rscode/distinfo     Sun Apr 15 21:39:52 2007 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/15 21:39:52 agc Exp $
+
+SHA1 (rscode-1.0.tar.gz) = b143b3794de81f73154e6452a213c8c85d501264
+RMD160 (rscode-1.0.tar.gz) = 3659c9bd0e9aa000691e214ca07d8722e83811c4
+Size (rscode-1.0.tar.gz) = 9516 bytes
+SHA1 (patch-aa) = a191c8a12329f46d0f5873d882d7927947ab5d03
diff -r dba466467565 -r 6e26715aea24 devel/rscode/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rscode/patches/patch-aa     Sun Apr 15 21:39:52 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/04/15 21:39:52 agc Exp $
+
+--- Makefile   2007/03/31 19:04:28     1.1
++++ Makefile   2007/03/31 19:04:58
+@@ -5,6 +5,7 @@
+ 
+ RANLIB = ranlib
+ AR = ar
++RM = rm -f
+ 
+ 
+ VERSION = 1.0



Home | Main Index | Thread Index | Old Index