Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

17
sysutils/cpmtools/DESCR Normal file
View File

@@ -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

View File

@@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.5 2012/10/23 19:50:56 asau Exp $
#
DISTNAME= cpmtools-2.13
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+= --datarootdir=${PREFIX}/share/cpmtools
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
INSTALLATION_DIRS+= bin share/cpmtools ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

19
sysutils/cpmtools/PLIST Normal file
View File

@@ -0,0 +1,19 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:02 joerg 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

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.4 2012/10/11 18:46:11 shattered Exp $
SHA1 (cpmtools-2.13.tar.gz) = c7efb662a467b0341dc516dee1c36cd284740f8a
RMD160 (cpmtools-2.13.tar.gz) = ce072d2ff294e7dabbd4cb723a282ab6166d3c08
Size (cpmtools-2.13.tar.gz) = 170008 bytes
SHA1 (patch-aa) = c15fa42a3cfbb2477fba4467fee77ba33f966c89
SHA1 (patch-ab) = aaf72082a55ed08627d44912f461e4a0f9510294
SHA1 (patch-ac) = c9e2423320f6e3ece5b9a3caf9f8416faf9d8a3c
SHA1 (patch-ad) = 40d980ed06806e1784994e2bf783f0c159fcd2d4

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.2 2012/10/11 18:46:11 shattered Exp $
--- cpmfs.c.orig 2012-10-07 10:46:25.000000000 +0000
+++ cpmfs.c
@@ -1,6 +1,7 @@
/* #includes */ /*{{{C}}}*//*{{{*/
#include "config.h"
+#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <ctype.h>

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ab,v 1.2 2012/10/11 18:46:11 shattered Exp $
--- config.h.in.orig 2012-10-07 10:46:25.000000000 +0000
+++ config.h.in
@@ -8,14 +8,14 @@
#define HAVE_SYS_STAT_H 0
#define HAVE_MODE_T 0
-#if HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+#if HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+
#if HAVE_LIMITS_H
#include <limits.h>
#endif

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ac,v 1.2 2012/10/11 18:46:11 shattered Exp $
--- cpmcp.c.orig 2012-10-07 10:46:25.000000000 +0000
+++ cpmcp.c
@@ -1,8 +1,8 @@
/* #includes */ /*{{{C}}}*//*{{{*/
#include "config.h"
-#include <sys/stat.h>
#include <sys/types.h>
+#include <sys/stat.h>
#include <ctype.h>
#include <errno.h>
#include <stdio.h>

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.2 2012/10/11 18:46:11 shattered Exp $
--- Makefile.in.orig 2010-03-30 17:53:11.000000000 +0000
+++ Makefile.in
@@ -88,7 +88,7 @@ install: all
$(INSTALL) -s -m 755 mkfs.cpm $(BINDIR)/mkfs.cpm
$(INSTALL) -s -m 755 fsck.cpm $(BINDIR)/fsck.cpm
[ $(FSED_CPM) != '' ] && $(INSTALL) -s -m 755 fsed.cpm $(BINDIR)/fsed.cpm
- $(INSTALL_DATA) diskdefs @datarootdir@/diskdefs
+ $(INSTALL_DATA) diskdefs ${DESTDIR}@datarootdir@/diskdefs
$(INSTALL_DATA) cpmls.1 $(MANDIR)/man1/cpmls.1
$(INSTALL_DATA) cpmcp.1 $(MANDIR)/man1/cpmcp.1
$(INSTALL_DATA) cpmrm.1 $(MANDIR)/man1/cpmrm.1