From 5f2f95e7bd6eecb0e55eb446d3e02241885b3979 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 30 Nov 2006 12:04:16 +0000 Subject: Import cpmtools version 2.5. Based on PR 27778 by David Griffith. I update from 2.4 to 2.5, adapt to recent pkgsrc tree and pkglint clean. This package allows to access CP/M file systems similar to the well-known mtools package, which accesses MSDOS file systems. I use it for file exchange with a Z80-PC simulator, but it works on floppy devices as well. Currently it contains: * cpmls - list sorted directory with output similar to ls, DIR, P2DOS DIR and CP/M3 DIR[FULL] * cpmcp - copy files from and to CP/M file systems * cpmrm - erase files from CP/M file systems * cpmchmod - change file permissions * cpmchattr - change file attributes * mkfs.cpm - make a CP/M file system * fsck.cpm - check and repair a CP/M file system (only simple errors can be repaired so far). Some images of broken file systems are provided for testing. * fsed.cpm - view CP/M file system * manual pages for everything including the CP/M file system format --- sysutils/cpmtools/DESCR | 17 +++++++++++++++++ sysutils/cpmtools/Makefile | 19 +++++++++++++++++++ sysutils/cpmtools/PLIST | 20 ++++++++++++++++++++ sysutils/cpmtools/distinfo | 5 +++++ 4 files changed, 61 insertions(+) create mode 100644 sysutils/cpmtools/DESCR create mode 100644 sysutils/cpmtools/Makefile create mode 100644 sysutils/cpmtools/PLIST create mode 100644 sysutils/cpmtools/distinfo (limited to 'sysutils/cpmtools') diff --git a/sysutils/cpmtools/DESCR b/sysutils/cpmtools/DESCR new file mode 100644 index 00000000000..62a63b94933 --- /dev/null +++ b/sysutils/cpmtools/DESCR @@ -0,0 +1,17 @@ +This package allows to access CP/M file systems similar to the +well-known mtools package, which accesses MSDOS file systems. I use it +for file exchange with a Z80-PC simulator, but it works on floppy +devices as well. Currently it contains: + +* cpmls - list sorted directory with output similar to ls, DIR, P2DOS + DIR and CP/M3 DIR[FULL] +* cpmcp - copy files from and to CP/M file systems +* cpmrm - erase files from CP/M file systems +* cpmchmod - change file permissions +* cpmchattr - change file attributes +* mkfs.cpm - make a CP/M file system +* fsck.cpm - check and repair a CP/M file system (only simple errors + can be repaired so far). Some images of broken file systems + are provided for testing. +* fsed.cpm - view CP/M file system +* manual pages for everything including the CP/M file system format diff --git a/sysutils/cpmtools/Makefile b/sysutils/cpmtools/Makefile new file mode 100644 index 00000000000..ad68eaa642d --- /dev/null +++ b/sysutils/cpmtools/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/11/30 12:04:16 obache Exp $ +# + +DISTNAME= cpmtools-2.5 +CATEGORIES= sysutils +MASTER_SITES= http://www.moria.de/~michael/cpmtools/ + +MAINTAINER= dgriffi@cs.csubak.edu +HOMEPAGE= http://www.moria.de/~michael/cpmtools/ +COMMENT= Similar to mtools, except for CP/M filesystems + +GNU_CONFIGURE= yes + +CONFIGURE_ARGS+= --datadir=${PREFIX}/share/cpmtools + +INSTALLATION_DIRS+= share/cpmtools + +.include "../../devel/ncurses/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/cpmtools/PLIST b/sysutils/cpmtools/PLIST new file mode 100644 index 00000000000..0c1a3dad638 --- /dev/null +++ b/sysutils/cpmtools/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/30 12:04:16 obache Exp $ +bin/cpmchattr +bin/cpmchmod +bin/cpmcp +bin/cpmls +bin/cpmrm +bin/fsck.cpm +bin/fsed.cpm +bin/mkfs.cpm +man/man1/cpmchattr.1 +man/man1/cpmchmod.1 +man/man1/cpmcp.1 +man/man1/cpmls.1 +man/man1/cpmrm.1 +man/man1/fsck.cpm.1 +man/man1/fsed.cpm.1 +man/man1/mkfs.cpm.1 +man/man5/cpm.5 +share/cpmtools/diskdefs +@dirrm share/cpmtools diff --git a/sysutils/cpmtools/distinfo b/sysutils/cpmtools/distinfo new file mode 100644 index 00000000000..83e078b703c --- /dev/null +++ b/sysutils/cpmtools/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/11/30 12:04:16 obache Exp $ + +SHA1 (cpmtools-2.5.tar.gz) = f563ed2fff83f6e9f7b7dfaf9c93c330d089542e +RMD160 (cpmtools-2.5.tar.gz) = 36548809b9296023cd89e3b54aa26e51f9431763 +Size (cpmtools-2.5.tar.gz) = 131166 bytes -- cgit v1.2.3