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

7
sysutils/dmsdos/DESCR Normal file
View File

@@ -0,0 +1,7 @@
DMSDOS reads and writes compressed DOS filesystems (CVF-FAT).
The following configurations are supported:
DoubleSpace / DriveSpace (MS-DOS 6.x)
DoubleSpace / DriveSpace (Windows 95)
DriveSpace 3 (Windows 95 with Plus! pack)
Stacker 3
Stacker 4

34
sysutils/dmsdos/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.3 2012/10/23 19:50:59 asau Exp $
#
DISTNAME= dmsdos-0.9.2.3-pre2
PKGNAME= dmsdos-0.9.2.3pre2
CATEGORIES= sysutils
MASTER_SITES= http://cmp.felk.cvut.cz/~pisa/dmsdos/sources/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cmp.felk.cvut.cz/~pisa/dmsdos/
COMMENT= Program to access DBLSPACE/DRVSPACE containers
WRKSRC= ${WRKDIR}/dmsdos-0.9.2.3-pre2/src
F= mcdmsdos.c dblspace_dec.c lib_interface.c dblspace_interface.c \
dblspace_chk.c dblspace_tables.c dstacker_alloc.c dblspace_alloc.c \
dblspace_compr.c dstacker_compr.c dstacker_dec.c dblspace_methsq.c
INSTALLATION_DIRS= bin
post-extract:
find ${WRKDIR}/dmsdos-0.9.2.3-pre2 -type d -exec chmod +x {} \;
do-configure:
${CP} ${WRKSRC}/dmsdos-config.h.default ${WRKSRC}/dmsdos-config.h
do-build:
cd ${WRKSRC} && ${CC} -D__DMSDOS_LIB__ ${F} -o mcdmsdos
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mcdmsdos ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"

2
sysutils/dmsdos/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/08 21:18:44 drochner Exp $
bin/mcdmsdos

7
sysutils/dmsdos/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2008/02/08 21:18:44 drochner Exp $
SHA1 (dmsdos-0.9.2.3-pre2.tgz) = d967cc70aac39d8cff66e78dfcf2632ac36275dc
RMD160 (dmsdos-0.9.2.3-pre2.tgz) = 19cc815452270460ea1382615a312289820bd39e
Size (dmsdos-0.9.2.3-pre2.tgz) = 280421 bytes
SHA1 (patch-aa) = 408981c4e21feaee3865f0f8bfa90ca26b795360
SHA1 (patch-ab) = 5560a52438cedc5c52e77ed4e4b0ccd16f682a9e

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.1.1.1 2008/02/08 21:18:44 drochner Exp $
--- dstacker_compr.c.orig 2008-02-08 20:30:49.000000000 +0100
+++ dstacker_compr.c
@@ -139,8 +139,8 @@ INLINE __u16 swap_bytes_in_word(__u16 x)
/* this is problematic on architectures, */
/* which cannot do __u16 access to odd address. */
/* used for temporary storage of LZ intercode. */
-#define C_ST_u16(p,v) {put_unaligned(v,((__u16*)p)++);}
-#define C_LD_u16(p,v) {v=get_unaligned(((__u16*)p)++);}
+#define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;}
+#define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;}
/* for reading and writting from/to bitstream */
typedef

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.1.1.1 2008/02/08 21:18:44 drochner Exp $
--- dblspace_methsq.c.orig 2008-02-08 20:40:57.000000000 +0100
+++ dblspace_methsq.c
@@ -69,8 +69,8 @@ extern int debug;
/* this is problematic on architectures, */
/* which cannot do __u16 access to odd address. */
/* used for temporary storage of LZ intercode. */
-#define C_ST_u16(p,v) {put_unaligned(v,((__u16*)p)++);}
-#define C_LD_u16(p,v) {v=get_unaligned(((__u16*)p)++);}
+#define C_ST_u16(p,v) {put_unaligned(v,p);p=(__u16*)p+1;}
+#define C_LD_u16(p,v) {v=get_unaligned(p);p=(__u16*)p+1;}
/* high speed compare and move routines */
#if defined(__GNUC__) && defined(__i386__) && defined(USE_ASM)