summaryrefslogtreecommitdiff
path: root/archivers/mousetar
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-10-28 12:41:55 +0000
committeragc <agc@pkgsrc.org>2002-10-28 12:41:55 +0000
commit5786131a18a32dc29245fed72e6337f94228cc6b (patch)
treeef62f876de36e059c0b4d33d4d08e420d5f2dd42 /archivers/mousetar
parentdb940ca9dbe70c90d6562f782bf08cc4728bd837 (diff)
downloadpkgsrc-5786131a18a32dc29245fed72e6337f94228cc6b.tar.gz
Correct my mistake - move the mousetar package from sysutils to archivers.
Diffstat (limited to 'archivers/mousetar')
-rw-r--r--archivers/mousetar/DESCR7
-rw-r--r--archivers/mousetar/Makefile27
-rw-r--r--archivers/mousetar/PLIST3
-rw-r--r--archivers/mousetar/distinfo7
-rw-r--r--archivers/mousetar/patches/patch-aa14
5 files changed, 58 insertions, 0 deletions
diff --git a/archivers/mousetar/DESCR b/archivers/mousetar/DESCR
new file mode 100644
index 00000000000..09e935161ad
--- /dev/null
+++ b/archivers/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/archivers/mousetar/Makefile b/archivers/mousetar/Makefile
new file mode 100644
index 00000000000..a1022a18fe4
--- /dev/null
+++ b/archivers/mousetar/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/28 12:41:55 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/archivers/mousetar/PLIST b/archivers/mousetar/PLIST
new file mode 100644
index 00000000000..e67ad812901
--- /dev/null
+++ b/archivers/mousetar/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/28 12:41:55 agc Exp $
+bin/mousetar
+man/man1/mousetar.1
diff --git a/archivers/mousetar/distinfo b/archivers/mousetar/distinfo
new file mode 100644
index 00000000000..0ed8dc63936
--- /dev/null
+++ b/archivers/mousetar/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/28 12:41:55 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/archivers/mousetar/patches/patch-aa b/archivers/mousetar/patches/patch-aa
new file mode 100644
index 00000000000..d28af23ee0a
--- /dev/null
+++ b/archivers/mousetar/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/10/28 12:41:55 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)