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

11
shells/ast-ksh/DESCR Normal file
View File

@@ -0,0 +1,11 @@
KSH-93 is the most recent version of the KornShell Language described
in "The KornShell Command and Programming Language," by Morris
Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is
a shell programming language, which is upward compatible with "sh"
(the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO
9945.2 Shell and Utilities standard. KSH-93 provides an enhanced
programming environment in addition to the major command-entry
features of the BSD shell "csh". With KSH-93, medium-sized programming
tasks can be performed at shell-level without a significant loss
in performance. In addition, "sh" scripts can be run on KSH-93
without modification.

6
shells/ast-ksh/Makefile Normal file
View File

@@ -0,0 +1,6 @@
# $NetBSD: Makefile,v 1.20 2012/09/11 23:25:07 asau Exp $
#
.include "Makefile.common"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,69 @@
# $NetBSD: Makefile.common,v 1.32 2013/04/08 11:17:22 rodent Exp $
DISTNAME= ast-ksh-${ASTKSH_VERSION}
PKGNAME= ast-ksh-${ASTKSH_VERSION:S/-//g}
CATEGORIES= shells
# originally at http://www2.research.att.com/~gsf/download/tgz/
# but it requires authentication
MASTER_SITES= ${MASTER_SITE_LOCAL}
DISTFILES= INIT.${ASTKSH_VERSION}.tgz ast-ksh.${ASTKSH_VERSION}.tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.kornshell.com/
COMMENT= Official AT&T release of KornShell 93
LICENSE= epl-v1.0
NOT_FOR_PLATFORM= Interix-*-* # taking nearly a day to build and crash!
CONFLICTS= static-ast-ksh-[0-9]*
KSH93_MAKEFLAGS=
ASTKSH_VERSION= 2012-08-01
WRKSRC= ${WRKDIR}
MAKE_FLAGS+= CC=${CC:Q} CCFLAGS=${CFLAGS:M*:Q}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
PDKSH= /bin/ksh
.endif
# Link with libm to fix sfcvt link error -
# this is kind of a hack -
# better would be to fix the 'meta makefile' to pass this
# or to use the ksh-provided math routines.
.if ${OPSYS} == "DragonFly"
KSH93_MAKEFLAGS+= CCFLAGS=-lm
.endif
PKG_SHELL= bin/ksh93
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
# ${KSH93_MAKEFLAGS} is set as "LDFLAGS=-static" only when built as a
# static binary.
#
# XXX Note that 'make' here is not an executable command name, but a target
# name which the ./bin/package script uses.
do-build:
@cd ${WRKSRC:Q} && \
${SETENV} SHELL=${PDKSH:Q} \
${PDKSH:Q} ./bin/package make ${KSH93_MAKEFLAGS}
do-install:
@set -e; \
arch=`${WRKSRC}/bin/package host`; \
${INSTALL_PROGRAM} ${WRKSRC}/arch/"$${arch}"/bin/ksh \
${DESTDIR}${PREFIX}/bin/ksh93; \
${INSTALL_MAN} ${WRKSRC}/arch/"$${arch}"/man/man1/sh.1 \
${DESTDIR}${PREFIX}/man/man1/ksh93.1
# Part of regression test
do-test:
@cd ${WRKSRC:Q}/src/cmd/ksh93/tests && \
${SETENV} SHELL=${PREFIX:Q}/bin/ksh93 ${PREFIX:Q}/bin/ksh93 shtests
# XXX Their 'test' target needs nmake (Korn's another tool)
# @cd ${WRKSRC}; \
# ${SETENV} SHELL=${PDKSH} ${PDKSH} ./bin/package test

4
shells/ast-ksh/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/04 02:19:13 uebayasi Exp $
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/07/12 19:17:24 naddy Exp $
bin/ksh93
man/man1/ksh93.1

10
shells/ast-ksh/distinfo Normal file
View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.14 2012/10/06 12:23:36 ryoon Exp $
SHA1 (INIT.2012-08-01.tgz) = 0b472a615db384fe707042baaa3347dc1aa1c81e
RMD160 (INIT.2012-08-01.tgz) = 48f1830bc85a26125dd986256d38be435668d445
Size (INIT.2012-08-01.tgz) = 377769 bytes
SHA1 (ast-ksh.2012-08-01.tgz) = 316428e9937806183a134aa1669dea40c3a73695
RMD160 (ast-ksh.2012-08-01.tgz) = 74bf4735182a6b527e3eb5c5ae6d7854ea72d78b
Size (ast-ksh.2012-08-01.tgz) = 2053532 bytes
SHA1 (patch-ab) = 98ec5d5e90f3f9bf45bdbd7199f85e932e07eada
SHA1 (patch-ad) = a85c7ac72c3443e4c140ee36bbc35b2a4eb42062

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.2 2012/05/25 17:08:46 asau Exp $
--- src/cmd/INIT/make.probe.orig 2011-06-01 14:06:48.000000000 +0400
+++ src/cmd/INIT/make.probe 2012-05-23 19:45:56.000000000 +0400
@@ -930,9 +930,7 @@
done
fi
if $cc -c require.$src
- then p='
-/usr/proberun/lib:/local/runprobe/lib
-'
+ then p='/usr/proberun/lib:/local/runprobe/lib'
eval set x $probe_ldrunpath
while :
do shift

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ad,v 1.1 2009/07/14 09:14:04 hasso Exp $
--- ./src/lib/libast/comp/errno.c.orig 2009-07-12 13:42:46 +0300
+++ ./src/lib/libast/comp/errno.c 2009-07-12 13:43:36 +0300
@@ -23,18 +23,4 @@
#include <ast.h>
-#if _tst_errno
-
NoN(errno)
-
-#else
-
-/*
- * this avoids multiple definitions with some libc's
- * that define both an ast library supplied routine and
- * errno in the same .o
- */
-
-int errno;
-
-#endif