From d64e5c0b7ca289bcf273a653e1b937e2b2966329 Mon Sep 17 00:00:00 2001 From: zuntum Date: Mon, 12 Mar 2001 11:09:08 +0000 Subject: Initial import of granulate. Granulate is a program for splitting files in place. The program serves a purpose similar to the standard UNIX split, but differs in one important way. For split to operate on a 40MB file, you must have more than 40MB of free space on the disk. On the other hand, granulate only needs one chunk of free space on the hard drive, where a chunk is the requested size for the output files. --- misc/granulate/Makefile | 20 ++++++++++++++++++++ misc/granulate/files/md5 | 3 +++ misc/granulate/files/patch-sum | 3 +++ misc/granulate/patches/patch-aa | 12 ++++++++++++ misc/granulate/pkg/DESCR | 6 ++++++ misc/granulate/pkg/PLIST | 4 ++++ 6 files changed, 48 insertions(+) create mode 100644 misc/granulate/Makefile create mode 100644 misc/granulate/files/md5 create mode 100644 misc/granulate/files/patch-sum create mode 100644 misc/granulate/patches/patch-aa create mode 100644 misc/granulate/pkg/DESCR create mode 100644 misc/granulate/pkg/PLIST diff --git a/misc/granulate/Makefile b/misc/granulate/Makefile new file mode 100644 index 00000000000..c8740e53099 --- /dev/null +++ b/misc/granulate/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $ +# + +DISTNAME= granulate-0.1 +CATEGORIES= misc +MASTER_SITES= ftp://134.74.16.12/pub/ \ + http://zuntum.eik.pl/distfiles/ + +MAINTAINER= zuntum@netbsd.org +COMMENT= Program for splitting files in place + +MAKE_ENV= "CC=${CC}" \ + "CFLAGS=${CFLAGS}" + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/granulate ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/granulate + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/granulate + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/granulate/files/md5 b/misc/granulate/files/md5 new file mode 100644 index 00000000000..c4dfd23c438 --- /dev/null +++ b/misc/granulate/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $ + +SHA1 (granulate-0.1.tar.gz) = dd8b458ea2330b2adea61e3010ea9715fabedce4 diff --git a/misc/granulate/files/patch-sum b/misc/granulate/files/patch-sum new file mode 100644 index 00000000000..c20f3324061 --- /dev/null +++ b/misc/granulate/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $ + +SHA1 (patch-aa) = 75c04296f16da1b3d0a81c08b9534ad1df45d7c2 diff --git a/misc/granulate/patches/patch-aa b/misc/granulate/patches/patch-aa new file mode 100644 index 00000000000..91975edd0b1 --- /dev/null +++ b/misc/granulate/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $ + +--- Makefile.orig Sun Feb 11 20:01:12 2001 ++++ Makefile +@@ -1,7 +1,5 @@ + # This makefile should not exist as such. There should be a configure script. + +-CC = gcc +-CFLAGS = -O2 -Wall -Wstrict-prototypes + LDFLAGS = + OBJS = granulate.o + diff --git a/misc/granulate/pkg/DESCR b/misc/granulate/pkg/DESCR new file mode 100644 index 00000000000..87512afcdc4 --- /dev/null +++ b/misc/granulate/pkg/DESCR @@ -0,0 +1,6 @@ +Granulate is a program for splitting files in place. The program +serves a purpose similar to the standard UNIX split, but differs in +one important way. For split to operate on a 40MB file, you must have +more than 40MB of free space on the disk. On the other hand, +granulate only needs one chunk of free space on the hard drive, where +a chunk is the requested size for the output files. diff --git a/misc/granulate/pkg/PLIST b/misc/granulate/pkg/PLIST new file mode 100644 index 00000000000..0641ab00dc4 --- /dev/null +++ b/misc/granulate/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/12 11:09:08 zuntum Exp $ +bin/granulate +share/doc/granulate/README +@dirrm share/doc/granulate -- cgit v1.2.3