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

2
shells/posh/DESCR Normal file
View File

@@ -0,0 +1,2 @@
posh is a stripped-down version of pdksh that aims for compliance with
Debian's policy, and also has a few extra features.

25
shells/posh/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.15 2013/06/12 12:05:35 mef Exp $
#
DISTNAME= posh_0.12.1
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/p/posh/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://packages.debian.org/posh
COMMENT= Debian Policy-compliant Ordinary SHell
LICENSE= gnu-gpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
PKG_SHELL= bin/posh
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
INSTALLATION_DIRS= share/doc/posh
post-install:
${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DESTDIR}${PREFIX}/share/doc/posh
.include "../../mk/bsd.pkg.mk"

4
shells/posh/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:14:21 joerg Exp $
bin/posh
man/man1/posh.1
share/doc/posh/changelog

7
shells/posh/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.9 2013/06/12 12:05:35 mef Exp $
SHA1 (posh_0.12.1.tar.gz) = a9ad3fcf2bbf49327e797276a97fe7fdf95f787a
RMD160 (posh_0.12.1.tar.gz) = 0c97448168287394365e3005a6f2bb0bcac39b21
Size (posh_0.12.1.tar.gz) = 474871 bytes
SHA1 (patch-aa) = d70d108e73884f3c91a6bb22504853f6270290ec
SHA1 (patch-ab) = 148632d17bc7ecb047169912eedea145d8b7698f

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-aa,v 1.2 2013/06/11 22:21:38 mef Exp $
date: 2004-09-08 21:00:09 +0900; author: jmmv; state: Exp;
Fix build with gcc2.
--- src/builtins.c.orig 2004-09-08 13:54:59.000000000 +0200
+++ src/builtins.c
@@ -450,6 +450,8 @@ int posh_builtin_exitreturn(int argc, ch
static void ers_walk(const void *nodep, const VISIT which, const int UNUSED(depth)) {
struct tbl *vp;
+ struct tbl *tvp;
+ int any_set = 0;
switch(which) {
case preorder:
@@ -460,8 +458,6 @@ static void ers_walk(const void *nodep,
case postorder:
case leaf:
vp = *(struct tbl **)nodep;
- struct tbl *tvp;
- int any_set = 0;
/*
* See if the parameter is set (for arrays, if any
* element is set).

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.2 2013/06/11 22:21:38 mef Exp $
date: 2005-11-11 07:25:13 +0900; author: joerg; state: Exp;
Depend on errno.h to provide errno.
--- sh.h.orig 2005-11-10 22:22:51.000000000 +0000
+++ sh.h
@@ -90,7 +90,6 @@ int strncasecmp ARGS((const char *s1, co
#define SH_VA_START(va, argn) va_start(va, argn)
#include <errno.h>
-extern int errno;
#ifdef HAVE_FCNTL_H
# include <fcntl.h>