summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-10-16 09:34:12 +0000
committeragc <agc@pkgsrc.org>2002-10-16 09:34:12 +0000
commit5cefa5dc11d54babfdf292e253f89feab2030e89 (patch)
treed4ce597b4b9a0de1bf9f0f4da920ff2eb3f0cfb2 /sysutils
parent15f9d02cd9b5f2221cc3b9d2e840883a4a3c86a0 (diff)
downloadpkgsrc-5cefa5dc11d54babfdf292e253f89feab2030e89.tar.gz
Initial import of mousetar-20020202 into the NetBSD packages collection.
Quoting from http://mail-index.netbsd.org/tech-userlevel/2002/10/16/0000.html "I've written a tar that owes nothing to anything else. It's in the public domain and hence is free for NetBSD to steal, anything from lifting it verbatim to swiping ideas from. It doesn't currently have anything like --fast-read; that hadn't occurred to me. Now that it's been pointed out, I'll be adding it; I think it's a valuable addition, whether or not NetBSD wants my tar."
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mousetar/DESCR7
-rw-r--r--sysutils/mousetar/Makefile27
-rw-r--r--sysutils/mousetar/PLIST3
-rw-r--r--sysutils/mousetar/distinfo7
-rw-r--r--sysutils/mousetar/patches/patch-aa14
5 files changed, 58 insertions, 0 deletions
diff --git a/sysutils/mousetar/DESCR b/sysutils/mousetar/DESCR
new file mode 100644
index 00000000000..09e935161ad
--- /dev/null
+++ b/sysutils/mousetar/DESCR
@@ -0,0 +1,7 @@
+I've written a tar that owes nothing to anything else. It's in the
+public domain and hence is free for NetBSD to steal, anything from
+lifting it verbatim to swiping ideas from.
+
+It doesn't currently have anything like --fast-read; that hadn't
+occurred to me. Now that it's been pointed out, I'll be adding it; I
+think it's a valuable addition, whether or not NetBSD wants my tar.
diff --git a/sysutils/mousetar/Makefile b/sysutils/mousetar/Makefile
new file mode 100644
index 00000000000..fd46505af7b
--- /dev/null
+++ b/sysutils/mousetar/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/16 09:34:12 agc Exp $
+#
+
+DISTNAME= mousetar-20020202
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/mouse/tar/
+DISTFILES= tar.c tar.man
+
+MAINTAINER= packages@netbsd.org
+#HOMEPAGE= none
+COMMENT= der Mouse's version of tar program
+
+WRKSRC= ${WRKDIR}
+
+do-extract:
+ for f in ${DISTFILES}; do \
+ ${CP} ${DISTDIR}/$$f ${WRKDIR}; \
+ done
+
+do-build:
+ cd ${WRKSRC}; ${CC} ${CFLAGS} tar.c -o mousetar
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mousetar ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tar.man ${PREFIX}/man/man1/mousetar.1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/mousetar/PLIST b/sysutils/mousetar/PLIST
new file mode 100644
index 00000000000..a9ccbe68953
--- /dev/null
+++ b/sysutils/mousetar/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/16 09:34:13 agc Exp $
+bin/mousetar
+man/man1/mousetar.1
diff --git a/sysutils/mousetar/distinfo b/sysutils/mousetar/distinfo
new file mode 100644
index 00000000000..76e3d12e2a3
--- /dev/null
+++ b/sysutils/mousetar/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/16 09:34:12 agc Exp $
+
+SHA1 (tar.c) = 2430788c4a873962a75dff23b6eceefa0765c687
+Size (tar.c) = 283156 bytes
+SHA1 (tar.man) = a43498f78f3122edf1970a471c9bd313c0ace2f1
+Size (tar.man) = 49336 bytes
+SHA1 (patch-aa) = fcc8cb946c1649c0510cb503c8a2ce1dcf491abb
diff --git a/sysutils/mousetar/patches/patch-aa b/sysutils/mousetar/patches/patch-aa
new file mode 100644
index 00000000000..f3b2db32b62
--- /dev/null
+++ b/sysutils/mousetar/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/10/16 09:34:13 agc Exp $
+
+--- tar.c 2002/10/16 09:25:24 1.1
++++ tar.c 2002/10/16 09:25:38
+@@ -472,8 +472,8 @@
+ /* NetBSD: fix up itoo/itod and the fs_q?mask fields, and BIG* */
+ #ifdef TAR_INODE_NETBSD
+ #include <sys/param.h>
+-#include <ufs/ffs/fs.h>
+ #include <ufs/ufs/dinode.h>
++#include <ufs/ffs/fs.h>
+ #define rawi_direct direct
+ #define itoo(sb,i) ino_to_fsbo(sb,i)
+ #define itod(sb,i) ino_to_fsba(sb,i)