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
View File
@@ -0,0 +1,7 @@
Xbin converts a file created by BinHex (usually named with one of the
extensions ".hex", ".hcx", or ".hqx") into three host-system files
suitable for downloading to a Macintosh via macput.
This program was designed for use with the 1.1 Release version of
MacTerminal, but includes a compatibility option for the old -0.15X
Almost-Alpha version.
+52
View File
@@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.29 2012/09/11 19:47:03 asau Exp $
#
DISTNAME= ${PRGNAME}unix
PKGNAME= ${PRGNAME}-2.3
PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://sunsite.bilkent.edu.tr/pub/tex/ctan/tools/xbin/
DISTFILES= ${DISTNAME}.c ${PRGNAME}.man
MAINTAINER= rh@NetBSD.org
COMMENT= Convert mailable BinHex format into binary
LICENSE= xbin-license
RESTRICTED= May not be sold without permission.
NO_SRC_ON_CDROM=${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
PRGNAME= xbin
EXTRACT_ONLY= # empty
.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
CFLAGS+= -DBSD
LDFLAGS+= -lcompat
.endif
CFLAGS.Interix+= -DBSD
CFLAGS.Darwin+= -DBSD
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
post-extract:
.for dfile in ${DISTFILES}
${CP} ${DISTDIR}/${dfile} ${WRKSRC}
.endfor
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -o ${PRGNAME} ${DISTNAME}.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PRGNAME} \
${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PRGNAME}.man \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${PRGNAME}.1
.include "../../mk/bsd.pkg.mk"
+3
View File
@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2012/03/04 19:50:56 joerg Exp $
bin/xbin
man/man1/xbin.1
+9
View File
@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.5 2012/02/29 20:17:31 hans Exp $
SHA1 (xbinunix.c) = 20db911814c29c5f236d5dc2a27fe25c7a5f61fb
RMD160 (xbinunix.c) = 92a2daccb405c95e7a1b00f4162009f3c4245631
Size (xbinunix.c) = 18563 bytes
SHA1 (xbin.man) = 2e223e6a02a2436f29c586fa711ee5ad3bbf591d
RMD160 (xbin.man) = d01696da1c79f1693161417c6a8ced87b5b11c12
Size (xbin.man) = 3277 bytes
SHA1 (patch-aa) = a2a772abc6200936e25cfd63edbd9b3f30fb7e02
+22
View File
@@ -0,0 +1,22 @@
$NetBSD: patch-aa,v 1.2 2012/02/29 20:17:32 hans Exp $
--- xbinunix.c.orig 2005-08-17 18:43:47.000000000 +0000
+++ xbinunix.c
@@ -2,12 +2,15 @@
static char version[] = "xbin.c Version 2.3 09/30/85";
#endif lint
+#include <limits.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/dir.h>
+#include <dirent.h>
-#ifdef MAXNAMLEN /* 4.2 BSD */
+#if defined(NAME_MAX)
+#define FNAMELEN NAME_MAX
+#elif defined(MAXNAMLEN) /* 4.2 BSD */
#define FNAMELEN MAXNAMLEN
#else
#define FNAMELEN DIRSIZ