From 3658e9ea088a4f964584d83e02c746f16b033794 Mon Sep 17 00:00:00 2001 From: fredb Date: Fri, 4 Jan 2002 21:02:30 +0000 Subject: Initial import of parchive-1.1, an implementation of "Parity Volume Sets", specification 1.0 (.PAR and .Pnn files). These commonly accompany Usenet binary postings, but the public domain format is sufficiently general to permit other applications as well. --- misc/parchive/DESCR | 13 +++++++++++++ misc/parchive/Makefile | 18 ++++++++++++++++++ misc/parchive/PLIST | 2 ++ misc/parchive/distinfo | 5 +++++ misc/parchive/patches/patch-aa | 13 +++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 misc/parchive/DESCR create mode 100644 misc/parchive/Makefile create mode 100644 misc/parchive/PLIST create mode 100644 misc/parchive/distinfo create mode 100644 misc/parchive/patches/patch-aa (limited to 'misc/parchive') diff --git a/misc/parchive/DESCR b/misc/parchive/DESCR new file mode 100644 index 00000000000..0e1066a80d9 --- /dev/null +++ b/misc/parchive/DESCR @@ -0,0 +1,13 @@ +"Parchive" implements a RAID-like system for multi-part archives. Such +archives are commonly posted to Usenet binary newsgroups. Typically, a +poster will construct 2 to 5 parity files for a multi-part archive +consisting of somewhere in the neighborhood of 15 to 50 equal sized parts. +These parity files contain a Reed-Solomon encoding of the original files. +He'll then post all of them along with the original parts, so if any number +of those original parts are lost or corrupted in transit (up to the number +of parity files), a receiver may reconstruct them from only that number +of parity files. + +Though quickly growing in popularity for it's intended application, the +format of the parity files is sufficiently general to be useful for other +applicatons as well. The format itself is in the public domain. diff --git a/misc/parchive/Makefile b/misc/parchive/Makefile new file mode 100644 index 00000000000..9c8229e292c --- /dev/null +++ b/misc/parchive/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/04 21:02:30 fredb Exp $ +# + +DISTNAME= par-v1.1 +PKGNAME= parchive-1.1 +CATEGORIES= misc archivers +MASTER_SITES= http://telia.dl.sourceforge.net/parchive/ + +MAINTAINER= fredb@netbsd.org +HOMEPAGE= http://sourceforge.net/project/parchive/ +COMMENT= create or use "Parity Volume Set" (PAR and Pnn) files + +WRKSRC= ${WRKDIR}/par-cmdline + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin/parchive + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/parchive/PLIST b/misc/parchive/PLIST new file mode 100644 index 00000000000..4e566a650dd --- /dev/null +++ b/misc/parchive/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/04 21:02:30 fredb Exp $ +bin/parchive diff --git a/misc/parchive/distinfo b/misc/parchive/distinfo new file mode 100644 index 00000000000..1c94c1ae9dd --- /dev/null +++ b/misc/parchive/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/01/04 21:02:30 fredb Exp $ + +SHA1 (par-v1.1.tar.gz) = acba4cdfb8a89b1542cd9ba6494d0d3461e609a1 +Size (par-v1.1.tar.gz) = 40959 bytes +SHA1 (patch-aa) = 597886e49329078291a455efdd520df6d9919088 diff --git a/misc/parchive/patches/patch-aa b/misc/parchive/patches/patch-aa new file mode 100644 index 00000000000..adc63565afb --- /dev/null +++ b/misc/parchive/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/01/04 21:02:30 fredb Exp $ + +--- Makefile.orig Sat Nov 17 10:39:52 2001 ++++ Makefile +@@ -2,7 +2,7 @@ + CFLAGS=-g -W -Wall -Wno-unused -O2 + + par: backend.o checkpar.o makepar.o rwpar.o rs.o md5.o fileops.o main.o readoldpar.o interface.o ui_text.o +- $(CC) -o $@ $^ ++ $(CC) -o ${.TARGET} ${.ALLSRC} + + clean: + rm -f core par par.exe *.o -- cgit v1.2.3