diff options
author | minskim <minskim@pkgsrc.org> | 2005-10-21 04:00:56 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-10-21 04:00:56 +0000 |
commit | 0914da4806098ba2faa67d86dd658d3ef54d9f3c (patch) | |
tree | c9e6157b48972ef3697e0dc1f67dfe89f999f406 /sysutils/zidrav | |
parent | 52e8d984aa89dbba0356c01b379cc4ca5771e0ef (diff) | |
download | pkgsrc-0914da4806098ba2faa67d86dd658d3ef54d9f3c.tar.gz |
Import zidrav from pkgsrc-wip. Packaged by Tobias Nygren.
Zidrav is a file corruption detection and repair program. It is
designed to provide a way to fix file damage without having to
redownload the entire (potentially large) file over a (potentially
slow) connection. A checksum file is generated for the broken file.
The checksum file can then be used together with the correct file to
produce a binary patch file for repair.
Diffstat (limited to 'sysutils/zidrav')
-rw-r--r-- | sysutils/zidrav/DESCR | 6 | ||||
-rw-r--r-- | sysutils/zidrav/Makefile | 30 | ||||
-rw-r--r-- | sysutils/zidrav/PLIST | 3 | ||||
-rw-r--r-- | sysutils/zidrav/distinfo | 6 | ||||
-rw-r--r-- | sysutils/zidrav/patches/patch-aa | 19 |
5 files changed, 64 insertions, 0 deletions
diff --git a/sysutils/zidrav/DESCR b/sysutils/zidrav/DESCR new file mode 100644 index 00000000000..915cdf8f6f7 --- /dev/null +++ b/sysutils/zidrav/DESCR @@ -0,0 +1,6 @@ +Zidrav is a file corruption detection and repair program. It is +designed to provide a way to fix file damage without having to +redownload the entire (potentially large) file over a (potentially +slow) connection. A checksum file is generated for the broken file. +The checksum file can then be used together with the correct file to +produce a binary patch file for repair. diff --git a/sysutils/zidrav/Makefile b/sysutils/zidrav/Makefile new file mode 100644 index 00000000000..b9c459497c8 --- /dev/null +++ b/sysutils/zidrav/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/21 04:00:56 minskim Exp $ +# + +DISTNAME= zidrav4unix-1.2.0 +PKGNAME= zidrav-1.20 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zidrav/} + +MAINTAINER= tnn@netilium.org +HOMEPAGE= http://sourceforge.net/projects/zidrav +COMMENT= File corruption detection and repair program + +USE_LANGUAGES= c c++ +BUILD_TARGET= zidrav + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +.include "../../mk/endian.mk" + +.if ${MACHINE_ENDIAN} == "big" + CXXFLAGS+=-DCPU_BIGENDIAN +.endif + +INSTALLATION_DIRS= bin man/man1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/zidrav ${PREFIX}/bin/zidrav + ${INSTALL_MAN} ${WRKSRC}/zidrav.1 ${PREFIX}/man/man1/zidrav.1 + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/zidrav/PLIST b/sysutils/zidrav/PLIST new file mode 100644 index 00000000000..253564f0fe9 --- /dev/null +++ b/sysutils/zidrav/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/21 04:00:56 minskim Exp $ +bin/zidrav +man/man1/zidrav.1 diff --git a/sysutils/zidrav/distinfo b/sysutils/zidrav/distinfo new file mode 100644 index 00000000000..398bcb6d455 --- /dev/null +++ b/sysutils/zidrav/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/21 04:00:56 minskim Exp $ + +SHA1 (zidrav4unix-1.2.0.tar.gz) = e8e2e6574831509669bae3976748baec713243c6 +RMD160 (zidrav4unix-1.2.0.tar.gz) = 7043b122e8e1f394d6fe62ea81ed08d0052a199b +Size (zidrav4unix-1.2.0.tar.gz) = 18448 bytes +SHA1 (patch-aa) = 7e1c6bcb375d38a1aa7f3eaa4fa00e779465860a diff --git a/sysutils/zidrav/patches/patch-aa b/sysutils/zidrav/patches/patch-aa new file mode 100644 index 00000000000..2b86d35050a --- /dev/null +++ b/sysutils/zidrav/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/21 04:00:56 minskim Exp $ + +--- Makefile.orig 2005-05-19 22:13:43.000000000 +0200 ++++ Makefile +@@ -1,11 +1,11 @@ + zidrav: zidrav.cpp flayer.o core.o flayer.h +- g++ -O2 -Wall -o zidrav zidrav.cpp flayer.o core.o ++ $(CXX) -O $(CXXFLAGS) $(CPPFLAGS) -o zidrav zidrav.cpp flayer.o core.o + + flayer.o: flayer.cpp core.h +- g++ -O2 -Wall -c flayer.cpp ++ $(CXX) -O $(CXXFLAGS) $(CPPFLAGS) -c flayer.cpp + + core.o: core.cpp core.h +- g++ -O2 -Wall -c core.cpp ++ $(CXX) -O $(CXXFLAGS) $(CPPFLAGS) -c core.cpp + + .PHONY: + clean: |