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

36
shells/Makefile Normal file
View File

@@ -0,0 +1,36 @@
# $NetBSD: Makefile,v 1.51 2013/01/31 09:36:01 wiz Exp $
#
COMMENT= Shells
SUBDIR+= ast-ksh
SUBDIR+= bash
SUBDIR+= bash-completion
SUBDIR+= bash2
SUBDIR+= bash2-doc
SUBDIR+= dash
SUBDIR+= eltclsh
SUBDIR+= es
SUBDIR+= esh
SUBDIR+= fish
SUBDIR+= heirloom-sh
SUBDIR+= lshell
SUBDIR+= mksh
SUBDIR+= mudsh
SUBDIR+= nologinmsg
SUBDIR+= osh
SUBDIR+= pdksh
SUBDIR+= perlsh
SUBDIR+= posh
SUBDIR+= rc
SUBDIR+= rssh
SUBDIR+= scponly
SUBDIR+= scsh
SUBDIR+= standalone-tcsh
SUBDIR+= static-ast-ksh
SUBDIR+= static-tcsh
SUBDIR+= tcsh
SUBDIR+= xsh
SUBDIR+= zsh
.include "../mk/misc/category.mk"

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

View File

@@ -0,0 +1,20 @@
A relatively new feature in bash is programmable completion, which
has been available since the beta version of 2.04. Programmable
completion will be familiar to you if you are a zsh user. It also
exists, albeit in a much less usable form, in tcsh.
Standard completion
bash has offered many forms of completion since its inception,
including path, file, user, host and variable completion.
* Path-name completion
* File-name completion
* User-name completion
* Host-name completion
* Variable-name completion
Programmable completion indefinitely extends the type of completion
you can perform.
This package contains a variety of completions for various programs.

View File

@@ -0,0 +1,13 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2009/09/25 12:29:26 wiz Exp $
To use this, source the included bash fragment in your startup
files, i.e. include something like:
if [ -r ${PREFIX}/share/bash-completion/bash_completion ]; then
. ${PREFIX}/share/bash-completion/bash_completion
fi
in ~/.bashrc or ~/.bash_profile.
===========================================================================

View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.8 2013/05/10 12:04:00 imil Exp $
#
# Note to packagers:
# packages installing additional completion files should drop
# them into ${DESTDIR}${PREFIX}/share/bash-completion.d
# with the name of the package as file name.
DISTNAME= bash-completion-2.1
CATEGORIES= shells
MASTER_SITES= http://bash-completion.alioth.debian.org/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bash-completion.alioth.debian.org/
COMMENT= Programmable completion specifications for bash
LICENSE= gnu-gpl-v2
USE_TOOLS+= bash:run gmake
USE_LANGUAGES= # none
GNU_CONFIGURE= yes
SUBST_CLASSES+= path
SUBST_SED.path+= -e "s,/etc/bash_completion.d,${PREFIX}/share/bash-completion.d,g"
SUBST_SED.path+= -e "s,/etc/bash_completion,${PREFIX}/share/bash-completion/bash_completion,g"
SUBST_STAGE.path= pre-build
SUBST_FILES.path+= README
SUBST_MESSAGE.path= Fixing path to completion files.
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,572 @@
@comment $NetBSD: PLIST,v 1.4 2013/05/10 12:01:51 imil Exp $
etc/profile.d/bash_completion.sh
share/bash-completion/bash_completion
share/bash-completion/completions/a2x
share/bash-completion/completions/abook
share/bash-completion/completions/aclocal
share/bash-completion/completions/aclocal-1.11
share/bash-completion/completions/acpi
share/bash-completion/completions/add_members
share/bash-completion/completions/alias
share/bash-completion/completions/alpine
share/bash-completion/completions/alternatives
share/bash-completion/completions/animate
share/bash-completion/completions/ant
share/bash-completion/completions/apache2ctl
share/bash-completion/completions/apropos
share/bash-completion/completions/apt-build
share/bash-completion/completions/apt-cache
share/bash-completion/completions/apt-get
share/bash-completion/completions/aptitude
share/bash-completion/completions/arch
share/bash-completion/completions/arm-koji
share/bash-completion/completions/arping
share/bash-completion/completions/arpspoof
share/bash-completion/completions/asciidoc
share/bash-completion/completions/asciidoc.py
share/bash-completion/completions/aspell
share/bash-completion/completions/autoconf
share/bash-completion/completions/autoheader
share/bash-completion/completions/automake
share/bash-completion/completions/automake-1.11
share/bash-completion/completions/autoreconf
share/bash-completion/completions/autorpm
share/bash-completion/completions/autoscan
share/bash-completion/completions/autossh
share/bash-completion/completions/autoupdate
share/bash-completion/completions/avctrl
share/bash-completion/completions/badblocks
share/bash-completion/completions/bk
share/bash-completion/completions/brctl
share/bash-completion/completions/btdownloadcurses.py
share/bash-completion/completions/btdownloadgui.py
share/bash-completion/completions/btdownloadheadless.py
share/bash-completion/completions/bzip2
share/bash-completion/completions/c++
share/bash-completion/completions/cal
share/bash-completion/completions/cancel
share/bash-completion/completions/cardctl
share/bash-completion/completions/cc
share/bash-completion/completions/ccache
share/bash-completion/completions/cdrecord
share/bash-completion/completions/cfagent
share/bash-completion/completions/cfrun
share/bash-completion/completions/chage
share/bash-completion/completions/change_pw
share/bash-completion/completions/check_db
share/bash-completion/completions/check_perms
share/bash-completion/completions/chgrp
share/bash-completion/completions/chkconfig
share/bash-completion/completions/chown
share/bash-completion/completions/chpasswd
share/bash-completion/completions/chronyc
share/bash-completion/completions/chrpath
share/bash-completion/completions/chsh
share/bash-completion/completions/ci
share/bash-completion/completions/ciptool
share/bash-completion/completions/civclient
share/bash-completion/completions/civserver
share/bash-completion/completions/cksfv
share/bash-completion/completions/cleanarch
share/bash-completion/completions/clisp
share/bash-completion/completions/clone_member
share/bash-completion/completions/clzip
share/bash-completion/completions/co
share/bash-completion/completions/colormake
share/bash-completion/completions/compare
share/bash-completion/completions/compgen
share/bash-completion/completions/complete
share/bash-completion/completions/composite
share/bash-completion/completions/config_list
share/bash-completion/completions/configure
share/bash-completion/completions/conjure
share/bash-completion/completions/convert
share/bash-completion/completions/cowsay
share/bash-completion/completions/cowthink
share/bash-completion/completions/cpan2dist
share/bash-completion/completions/cpio
share/bash-completion/completions/cppcheck
share/bash-completion/completions/createdb
share/bash-completion/completions/crontab
share/bash-completion/completions/cryptsetup
share/bash-completion/completions/curl
share/bash-completion/completions/cvs
share/bash-completion/completions/cvsps
share/bash-completion/completions/dcop
share/bash-completion/completions/dd
share/bash-completion/completions/declare
share/bash-completion/completions/desktop-file-validate
share/bash-completion/completions/dfutool
share/bash-completion/completions/dhclient
share/bash-completion/completions/dict
share/bash-completion/completions/display
share/bash-completion/completions/dmesg
share/bash-completion/completions/dnsspoof
share/bash-completion/completions/dot
share/bash-completion/completions/dpkg
share/bash-completion/completions/dpkg-deb
share/bash-completion/completions/dpkg-query
share/bash-completion/completions/dpkg-reconfigure
share/bash-completion/completions/dpkg-source
share/bash-completion/completions/dropdb
share/bash-completion/completions/dselect
share/bash-completion/completions/dsniff
share/bash-completion/completions/dumpdb
share/bash-completion/completions/dumpe2fs
share/bash-completion/completions/e2freefrag
share/bash-completion/completions/e2label
share/bash-completion/completions/edquota
share/bash-completion/completions/eject
share/bash-completion/completions/eog
share/bash-completion/completions/ether-wake
share/bash-completion/completions/evince
share/bash-completion/completions/explodepkg
share/bash-completion/completions/export
share/bash-completion/completions/faillog
share/bash-completion/completions/fbgs
share/bash-completion/completions/fbi
share/bash-completion/completions/feh
share/bash-completion/completions/file
share/bash-completion/completions/file-roller
share/bash-completion/completions/filebucket
share/bash-completion/completions/filefrag
share/bash-completion/completions/filesnarf
share/bash-completion/completions/find
share/bash-completion/completions/find_member
share/bash-completion/completions/freeciv-gtk2
share/bash-completion/completions/freeciv-sdl
share/bash-completion/completions/freeciv-server
share/bash-completion/completions/freeciv-xaw
share/bash-completion/completions/function
share/bash-completion/completions/fusermount
share/bash-completion/completions/g++
share/bash-completion/completions/g4
share/bash-completion/completions/g77
share/bash-completion/completions/gcc
share/bash-completion/completions/gcj
share/bash-completion/completions/gcl
share/bash-completion/completions/gdb
share/bash-completion/completions/genaliases
share/bash-completion/completions/gendiff
share/bash-completion/completions/genisoimage
share/bash-completion/completions/getent
share/bash-completion/completions/gkrellm
share/bash-completion/completions/gkrellm2
share/bash-completion/completions/gmake
share/bash-completion/completions/gmplayer
share/bash-completion/completions/gnatmake
share/bash-completion/completions/gnome-mplayer
share/bash-completion/completions/gnumake
share/bash-completion/completions/gpasswd
share/bash-completion/completions/gpc
share/bash-completion/completions/gpg
share/bash-completion/completions/gpg2
share/bash-completion/completions/gphoto2
share/bash-completion/completions/gprof
share/bash-completion/completions/groupadd
share/bash-completion/completions/groupdel
share/bash-completion/completions/groupmems
share/bash-completion/completions/groupmod
share/bash-completion/completions/growisofs
share/bash-completion/completions/grpck
share/bash-completion/completions/gzip
share/bash-completion/completions/hciattach
share/bash-completion/completions/hciconfig
share/bash-completion/completions/hcitool
share/bash-completion/completions/hd
share/bash-completion/completions/hddtemp
share/bash-completion/completions/hexdump
share/bash-completion/completions/hid2hci
share/bash-completion/completions/host
share/bash-completion/completions/hping
share/bash-completion/completions/hping2
share/bash-completion/completions/hping3
share/bash-completion/completions/htop
share/bash-completion/completions/htpasswd
share/bash-completion/completions/hwclock
share/bash-completion/completions/iconv
share/bash-completion/completions/id
share/bash-completion/completions/identify
share/bash-completion/completions/idn
share/bash-completion/completions/ifdown
share/bash-completion/completions/ifstatus
share/bash-completion/completions/iftop
share/bash-completion/completions/ifup
share/bash-completion/completions/import
share/bash-completion/completions/info
share/bash-completion/completions/inject
share/bash-completion/completions/insmod
share/bash-completion/completions/insmod.static
share/bash-completion/completions/installpkg
share/bash-completion/completions/interdiff
share/bash-completion/completions/invoke-rc.d
share/bash-completion/completions/ionice
share/bash-completion/completions/ip
share/bash-completion/completions/iperf
share/bash-completion/completions/ipmitool
share/bash-completion/completions/ipsec
share/bash-completion/completions/iptables
share/bash-completion/completions/ipv6calc
share/bash-completion/completions/iscsiadm
share/bash-completion/completions/isql
share/bash-completion/completions/iwconfig
share/bash-completion/completions/iwlist
share/bash-completion/completions/iwpriv
share/bash-completion/completions/iwspy
share/bash-completion/completions/jar
share/bash-completion/completions/jarsigner
share/bash-completion/completions/java
share/bash-completion/completions/javac
share/bash-completion/completions/javadoc
share/bash-completion/completions/javaws
share/bash-completion/completions/jps
share/bash-completion/completions/k3b
share/bash-completion/completions/kcov
share/bash-completion/completions/kill
share/bash-completion/completions/killall
share/bash-completion/completions/kldload
share/bash-completion/completions/kldunload
share/bash-completion/completions/koji
share/bash-completion/completions/kplayer
share/bash-completion/completions/ktutil
share/bash-completion/completions/l2ping
share/bash-completion/completions/larch
share/bash-completion/completions/lastlog
share/bash-completion/completions/lbzip2
share/bash-completion/completions/ldapadd
share/bash-completion/completions/ldapcompare
share/bash-completion/completions/ldapdelete
share/bash-completion/completions/ldapmodify
share/bash-completion/completions/ldapmodrdn
share/bash-completion/completions/ldappasswd
share/bash-completion/completions/ldapsearch
share/bash-completion/completions/ldapvi
share/bash-completion/completions/ldapwhoami
share/bash-completion/completions/lftp
share/bash-completion/completions/lftpget
share/bash-completion/completions/lilo
share/bash-completion/completions/links
share/bash-completion/completions/lintian
share/bash-completion/completions/lintian-info
share/bash-completion/completions/lisp
share/bash-completion/completions/list_admins
share/bash-completion/completions/list_lists
share/bash-completion/completions/list_members
share/bash-completion/completions/list_owners
share/bash-completion/completions/look
share/bash-completion/completions/lpq
share/bash-completion/completions/lpr
share/bash-completion/completions/lrzip
share/bash-completion/completions/lsof
share/bash-completion/completions/lua
share/bash-completion/completions/luac
share/bash-completion/completions/luseradd
share/bash-completion/completions/luserdel
share/bash-completion/completions/lusermod
share/bash-completion/completions/lvchange
share/bash-completion/completions/lvcreate
share/bash-completion/completions/lvdisplay
share/bash-completion/completions/lvextend
share/bash-completion/completions/lvm
share/bash-completion/completions/lvmdiskscan
share/bash-completion/completions/lvreduce
share/bash-completion/completions/lvremove
share/bash-completion/completions/lvrename
share/bash-completion/completions/lvresize
share/bash-completion/completions/lvs
share/bash-completion/completions/lvscan
share/bash-completion/completions/lzip
share/bash-completion/completions/lzma
share/bash-completion/completions/lzop
share/bash-completion/completions/macof
share/bash-completion/completions/mailmanctl
share/bash-completion/completions/mailsnarf
share/bash-completion/completions/make
share/bash-completion/completions/makepkg
share/bash-completion/completions/man
share/bash-completion/completions/mc
share/bash-completion/completions/mcrypt
share/bash-completion/completions/mdadm
share/bash-completion/completions/mdecrypt
share/bash-completion/completions/mdtool
share/bash-completion/completions/medusa
share/bash-completion/completions/mencoder
share/bash-completion/completions/mii-diag
share/bash-completion/completions/mii-tool
share/bash-completion/completions/minicom
share/bash-completion/completions/mkinitrd
share/bash-completion/completions/mkisofs
share/bash-completion/completions/mktemp
share/bash-completion/completions/mmsitepass
share/bash-completion/completions/modinfo
share/bash-completion/completions/modprobe
share/bash-completion/completions/mogrify
share/bash-completion/completions/monodevelop
share/bash-completion/completions/montage
share/bash-completion/completions/mount
share/bash-completion/completions/mount.linux
share/bash-completion/completions/mplayer
share/bash-completion/completions/mplayer2
share/bash-completion/completions/msgsnarf
share/bash-completion/completions/msynctool
share/bash-completion/completions/mtx
share/bash-completion/completions/munin-node-configure
share/bash-completion/completions/munin-run
share/bash-completion/completions/munin-update
share/bash-completion/completions/munindoc
share/bash-completion/completions/mussh
share/bash-completion/completions/mutt
share/bash-completion/completions/muttng
share/bash-completion/completions/mysql
share/bash-completion/completions/mysqladmin
share/bash-completion/completions/nc
share/bash-completion/completions/ncal
share/bash-completion/completions/ncftp
share/bash-completion/completions/nethogs
share/bash-completion/completions/newgrp
share/bash-completion/completions/newlist
share/bash-completion/completions/newusers
share/bash-completion/completions/ngrep
share/bash-completion/completions/nmap
share/bash-completion/completions/nmcli
share/bash-completion/completions/nslookup
share/bash-completion/completions/ntpdate
share/bash-completion/completions/openssl
share/bash-completion/completions/opera
share/bash-completion/completions/p4
share/bash-completion/completions/pack200
share/bash-completion/completions/passwd
share/bash-completion/completions/patch
share/bash-completion/completions/pbzip2
share/bash-completion/completions/pccardctl
share/bash-completion/completions/pdlzip
share/bash-completion/completions/perl
share/bash-completion/completions/perldoc
share/bash-completion/completions/pgrep
share/bash-completion/completions/phing
share/bash-completion/completions/pidof
share/bash-completion/completions/pigz
share/bash-completion/completions/pine
share/bash-completion/completions/pinfo
share/bash-completion/completions/ping
share/bash-completion/completions/ping6
share/bash-completion/completions/pkg-config
share/bash-completion/completions/pkg-get
share/bash-completion/completions/pkg_deinstall
share/bash-completion/completions/pkg_delete
share/bash-completion/completions/pkg_info
share/bash-completion/completions/pkgadd
share/bash-completion/completions/pkgrm
share/bash-completion/completions/pkgtool
share/bash-completion/completions/pkgutil
share/bash-completion/completions/pkill
share/bash-completion/completions/plague-client
share/bash-completion/completions/plzip
share/bash-completion/completions/pm-hibernate
share/bash-completion/completions/pm-is-supported
share/bash-completion/completions/pm-powersave
share/bash-completion/completions/pm-suspend
share/bash-completion/completions/pm-suspend-hybrid
share/bash-completion/completions/pmake
share/bash-completion/completions/portinstall
share/bash-completion/completions/portupgrade
share/bash-completion/completions/postalias
share/bash-completion/completions/postcat
share/bash-completion/completions/postconf
share/bash-completion/completions/postfix
share/bash-completion/completions/postmap
share/bash-completion/completions/postsuper
share/bash-completion/completions/povray
share/bash-completion/completions/ppc-koji
share/bash-completion/completions/prelink
share/bash-completion/completions/protoc
share/bash-completion/completions/psql
share/bash-completion/completions/puppet
share/bash-completion/completions/puppetca
share/bash-completion/completions/puppetd
share/bash-completion/completions/puppetdoc
share/bash-completion/completions/puppetmasterd
share/bash-completion/completions/puppetqd
share/bash-completion/completions/puppetrun
share/bash-completion/completions/pvchange
share/bash-completion/completions/pvcreate
share/bash-completion/completions/pvdisplay
share/bash-completion/completions/pvmove
share/bash-completion/completions/pvremove
share/bash-completion/completions/pvs
share/bash-completion/completions/pvscan
share/bash-completion/completions/pwck
share/bash-completion/completions/pwd
share/bash-completion/completions/pwdx
share/bash-completion/completions/pwgen
share/bash-completion/completions/pxz
share/bash-completion/completions/pydoc
share/bash-completion/completions/pydoc3
share/bash-completion/completions/pylint
share/bash-completion/completions/python
share/bash-completion/completions/python2
share/bash-completion/completions/python3
share/bash-completion/completions/qdbus
share/bash-completion/completions/qemu
share/bash-completion/completions/qrunner
share/bash-completion/completions/querybts
share/bash-completion/completions/quota
share/bash-completion/completions/quotacheck
share/bash-completion/completions/quotaoff
share/bash-completion/completions/quotaon
share/bash-completion/completions/ralsh
share/bash-completion/completions/rcs
share/bash-completion/completions/rcsdiff
share/bash-completion/completions/rdesktop
share/bash-completion/completions/rdict
share/bash-completion/completions/remove_members
share/bash-completion/completions/removepkg
share/bash-completion/completions/renice
share/bash-completion/completions/reportbug
share/bash-completion/completions/repquota
share/bash-completion/completions/reptyr
share/bash-completion/completions/resolvconf
share/bash-completion/completions/rfcomm
share/bash-completion/completions/rfkill
share/bash-completion/completions/ri
share/bash-completion/completions/rlog
share/bash-completion/completions/rmlist
share/bash-completion/completions/rmmod
share/bash-completion/completions/route
share/bash-completion/completions/rpcdebug
share/bash-completion/completions/rpm
share/bash-completion/completions/rpm2targz
share/bash-completion/completions/rpm2tgz
share/bash-completion/completions/rpm2txz
share/bash-completion/completions/rpmbuild
share/bash-completion/completions/rpmbuild-md5
share/bash-completion/completions/rpmcheck
share/bash-completion/completions/rrdtool
share/bash-completion/completions/rsync
share/bash-completion/completions/rtcwake
share/bash-completion/completions/s390-koji
share/bash-completion/completions/sbcl
share/bash-completion/completions/sbcl-mt
share/bash-completion/completions/sbopkg
share/bash-completion/completions/scp
share/bash-completion/completions/screen
share/bash-completion/completions/sdptool
share/bash-completion/completions/setquota
share/bash-completion/completions/sftp
share/bash-completion/completions/sh
share/bash-completion/completions/sitecopy
share/bash-completion/completions/slackpkg
share/bash-completion/completions/slapt-get
share/bash-completion/completions/slapt-src
share/bash-completion/completions/slogin
share/bash-completion/completions/smartctl
share/bash-completion/completions/smbcacls
share/bash-completion/completions/smbclient
share/bash-completion/completions/smbcquotas
share/bash-completion/completions/smbget
share/bash-completion/completions/smbpasswd
share/bash-completion/completions/smbtar
share/bash-completion/completions/smbtree
share/bash-completion/completions/snownews
share/bash-completion/completions/sparc-koji
share/bash-completion/completions/spovray
share/bash-completion/completions/sqlite3
share/bash-completion/completions/ss
share/bash-completion/completions/ssh
share/bash-completion/completions/ssh-add
share/bash-completion/completions/ssh-copy-id
share/bash-completion/completions/sshfs
share/bash-completion/completions/sshmitm
share/bash-completion/completions/sshow
share/bash-completion/completions/strace
share/bash-completion/completions/stream
share/bash-completion/completions/strings
share/bash-completion/completions/su
share/bash-completion/completions/sudo
share/bash-completion/completions/sudoedit
share/bash-completion/completions/svcadm
share/bash-completion/completions/svk
share/bash-completion/completions/sync_members
share/bash-completion/completions/sysbench
share/bash-completion/completions/sysctl
share/bash-completion/completions/tar
share/bash-completion/completions/tcpdump
share/bash-completion/completions/tcpkill
share/bash-completion/completions/tcpnice
share/bash-completion/completions/tightvncviewer
share/bash-completion/completions/tracepath
share/bash-completion/completions/tracepath6
share/bash-completion/completions/tshark
share/bash-completion/completions/tune2fs
share/bash-completion/completions/typeset
share/bash-completion/completions/umount
share/bash-completion/completions/umount.linux
share/bash-completion/completions/unace
share/bash-completion/completions/unpack200
share/bash-completion/completions/unrar
share/bash-completion/completions/unshunt
share/bash-completion/completions/update-alternatives
share/bash-completion/completions/update-rc.d
share/bash-completion/completions/upgradepkg
share/bash-completion/completions/urlsnarf
share/bash-completion/completions/useradd
share/bash-completion/completions/userdel
share/bash-completion/completions/usermod
share/bash-completion/completions/valgrind
share/bash-completion/completions/vgcfgbackup
share/bash-completion/completions/vgcfgrestore
share/bash-completion/completions/vgchange
share/bash-completion/completions/vgck
share/bash-completion/completions/vgconvert
share/bash-completion/completions/vgcreate
share/bash-completion/completions/vgdisplay
share/bash-completion/completions/vgexport
share/bash-completion/completions/vgextend
share/bash-completion/completions/vgimport
share/bash-completion/completions/vgmerge
share/bash-completion/completions/vgmknodes
share/bash-completion/completions/vgreduce
share/bash-completion/completions/vgremove
share/bash-completion/completions/vgrename
share/bash-completion/completions/vgs
share/bash-completion/completions/vgscan
share/bash-completion/completions/vgsplit
share/bash-completion/completions/vigr
share/bash-completion/completions/vipw
share/bash-completion/completions/vmstat
share/bash-completion/completions/vncviewer
share/bash-completion/completions/vpnc
share/bash-completion/completions/watch
share/bash-completion/completions/webmitm
share/bash-completion/completions/wget
share/bash-completion/completions/whatis
share/bash-completion/completions/wine
share/bash-completion/completions/withlist
share/bash-completion/completions/wodim
share/bash-completion/completions/wol
share/bash-completion/completions/wsimport
share/bash-completion/completions/wtf
share/bash-completion/completions/wvdial
share/bash-completion/completions/xfreerdp
share/bash-completion/completions/xgamma
share/bash-completion/completions/xhost
share/bash-completion/completions/xm
share/bash-completion/completions/xmllint
share/bash-completion/completions/xmlwf
share/bash-completion/completions/xmms
share/bash-completion/completions/xmodmap
share/bash-completion/completions/xpovray
share/bash-completion/completions/xrandr
share/bash-completion/completions/xrdb
share/bash-completion/completions/xsltproc
share/bash-completion/completions/xvnc4viewer
share/bash-completion/completions/xxd
share/bash-completion/completions/xz
share/bash-completion/completions/xzdec
share/bash-completion/completions/ypcat
share/bash-completion/completions/ypmatch
share/bash-completion/completions/yum-arch
share/bash-completion/helpers/perl
share/pkgconfig/bash-completion.pc
@pkgdir share/doc/bash-completion
@pkgdir share/bash-completion.d

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.3 2013/05/10 12:01:51 imil Exp $
SHA1 (bash-completion-2.1.tar.gz) = fad16b1cdae2b40d6814f786990e0e50ab2d537a
RMD160 (bash-completion-2.1.tar.gz) = a2d42658f2f6a77563614a4a733c95c57bb42cfc
Size (bash-completion-2.1.tar.gz) = 341139 bytes
SHA1 (patch-bash__completion) = 6edb8da01fe6252cc2fabb397736e32c00e5a1a6
SHA1 (patch-completions_man) = 336d45f3567c6e69736e5cd41230874cdcb0ca56

View File

@@ -0,0 +1,41 @@
$NetBSD: patch-bash__completion,v 1.1 2013/05/10 12:01:51 imil Exp $
Added pkgsrc and pkg_install completions
--- bash_completion.orig 2013-04-05 10:55:51.000000000 +0000
+++ bash_completion
@@ -1365,6 +1365,34 @@ _terms()
extract patch configure build install reinstall deinstall clean
clean-depends kernel buildworld' make
+# a little help for NetBSD pkgsrc users
+[[ $OSTYPE = *netbsd* ]] && complete -W 'index search fetch fetch-list \
+ extract patch configure build install reinstall \
+ deinstall package clean clean-depends' make
+
+
+[[ $OSTYPE = *netbsd* ]] && {
+# NetBSD package management tool completion
+#
+_pkg_delete()
+{
+ local cur pkgdir prev
+
+ pkgdir=${PKG_DBDIR:-/var/db/pkg}/
+ cur=`_get_cword`
+ prev=${COMP_WORDS[COMP_CWORD-1]}
+
+ [ "$prev" = "-o" -o "$prev" = "-p" -o "$prev" = "-W" ] && return 0
+
+ COMPREPLY=( $( compgen -d $pkgdir$cur ) )
+ COMPREPLY=( ${COMPREPLY[@]#$pkgdir} )
+
+ return 0
+}
+complete -F _pkg_delete $dirnames pkg_delete pkg_info
+have pkg_deinstall && complete -F _pkg_delete $dirnames pkg_deinstall
+}
+
# This function provides simple user@host completion
#
_user_at_host()

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-completions_man,v 1.1 2013/05/10 12:01:51 imil Exp $
Added NetBSD for man completion
--- completions/man.orig 2013-04-05 10:55:51.000000000 +0000
+++ completions/man
@@ -1,6 +1,6 @@
# man(1) completion -*- shell-script -*-
-[[ $OSTYPE == *@(darwin|freebsd|solaris|cygwin|openbsd)* ]] || _userland GNU \
+[[ $OSTYPE == *@(darwin|freebsd|solaris|cygwin|openbsd|netbsd)* ]] || _userland GNU \
|| return 1
_man()

10
shells/bash/DESCR Normal file
View File

@@ -0,0 +1,10 @@
Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
It offers functional improvements over sh for both programming and
interactive use; these include command line editing, unlimited size
command history, job control, shell functions and aliases, indexed
arrays of unlimited size, and integer arithmetic in any base from two
to sixty-four. In addition, most sh scripts can be run by Bash without
modification.

109
shells/bash/Makefile Normal file
View File

@@ -0,0 +1,109 @@
# $NetBSD: Makefile,v 1.58 2013/06/09 18:12:14 bsiegert Exp $
BASH_VERSION= 4.2
DISTNAME= bash-${BASH_VERSION}
#PKGNAME= bash-${BASH_VERSION}.${BASH_PATCHLEVEL}
PKGREVISION= 3
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \
ftp://ftp.cwru.edu/pub/bash/
#PATCH_SITES= ${MASTER_SITES:=bash-4.0-patches/}
#PATCHFILES+= bash40-001 bash40-002 bash40-003 bash40-004 bash40-005
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/bash/bash.html
COMMENT= The GNU Bourne Again Shell
LICENSE= gnu-gpl-v3
CONFLICTS= static-bash-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= makeinfo bison
USE_PKGLOCALEDIR= yes
TEXINFO_REQD= 4.1
GNU_CONFIGURE= yes
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
CONFIGURE_ARGS= LOCAL_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:M*:Q}
CPPFLAGS+= -DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:${LOCALBASE}/bin:/usr/local/bin\""
MAKE_JOBS_SAFE= no
TEST_TARGET= test
INFO_FILES= YES # PLIST
PKG_SHELL= bin/bash
INSTALLATION_DIRS= ${PKGMANDIR}/man1
# All features enabled by default.
CONFIGURE_ARGS+= --enable-readline
CONFIGURE_ARGS+= --enable-progcomp
CONFIGURE_ARGS+= --enable-process-substitution
CONFIGURE_ARGS+= --enable-history
CONFIGURE_ARGS+= --enable-help-builtin
CONFIGURE_ARGS+= --enable-extended-glob
CONFIGURE_ARGS+= --enable-dparen-arithmetic
CONFIGURE_ARGS+= --enable-directory-stack
CONFIGURE_ARGS+= --enable-debugger
CONFIGURE_ARGS+= --enable-cond-regexp
CONFIGURE_ARGS+= --enable-alias
CONFIGURE_ARGS+= --enable-brace-expansion
CONFIGURE_ARGS+= --enable-array-variables
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.bash
PKG_SUPPORTED_OPTIONS= static
.include "../../mk/bsd.options.mk"
##
## Static link
##
.if !empty(PKG_OPTIONS:Mstatic)
CONFIGURE_ARGS+= --enable-static-link
BUILDLINK_DEPMETHOD.gettext= build
BUILDLINK_DEPMETHOD.readline= build
.endif
# Minix lacks setpgid() which is needed for job control.
# bash malloc() is also broken on Minix
.if ${OPSYS} == "Minix"
CONFIGURE_ARGS+= --disable-job-control
CONFIGURE_ARGS+= --with-bash-malloc=no
.else
CONFIGURE_ARGS+= --enable-job-control
.endif
# Use "readline" package on Darwin to avoid link erros.
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --with-installed-readline
USE_GNU_READLINE= yes
BUILDLINK_API_DEPENDS.readline+= readline>=6.0
.include "../../devel/readline/buildlink3.mk"
.endif
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD"
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
CONFIGURE_ENV+= ac_cv_c_long_long=yes
CONFIGURE_ENV+= ac_cv_c_long_double=yes
CONFIGURE_ENV+= bash_cv_type_rlimit=yes
CONFIGURE_ENV+= bash_cv_getcwd_malloc=yes
CONFIGURE_ENV+= bash_cv_func_sigsetjmp=yes
CONFIGURE_ENV+= bash_cv_printf_a_format=yes
CONFIGURE_ENV+= bash_cv_job_control_missing=present
CONFIGURE_ENV+= bash_cv_sys_named_pipes=present
CONFIGURE_ENV+= bash_cv_unusable_rtsigs=no
CONFIGURE_ENV+= bash_cv_func_ctype_nonascii=yes
CONFIGURE_ENV+= bash_cv_wexitstatus_offset=8
.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/termcap.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

35
shells/bash/PLIST Normal file
View File

@@ -0,0 +1,35 @@
@comment $NetBSD: PLIST,v 1.6 2011/03/12 15:55:22 wiz Exp $
bin/bash
bin/bashbug
info/bash.info
man/man1/bash.1
man/man1/bashbug.1
share/locale/af/LC_MESSAGES/bash.mo
share/locale/bg/LC_MESSAGES/bash.mo
share/locale/ca/LC_MESSAGES/bash.mo
share/locale/cs/LC_MESSAGES/bash.mo
share/locale/de/LC_MESSAGES/bash.mo
share/locale/en@boldquot/LC_MESSAGES/bash.mo
share/locale/en@quot/LC_MESSAGES/bash.mo
share/locale/eo/LC_MESSAGES/bash.mo
share/locale/es/LC_MESSAGES/bash.mo
share/locale/et/LC_MESSAGES/bash.mo
share/locale/fi/LC_MESSAGES/bash.mo
share/locale/fr/LC_MESSAGES/bash.mo
share/locale/ga/LC_MESSAGES/bash.mo
share/locale/hu/LC_MESSAGES/bash.mo
share/locale/id/LC_MESSAGES/bash.mo
share/locale/ja/LC_MESSAGES/bash.mo
share/locale/lt/LC_MESSAGES/bash.mo
share/locale/nl/LC_MESSAGES/bash.mo
share/locale/pl/LC_MESSAGES/bash.mo
share/locale/pt_BR/LC_MESSAGES/bash.mo
share/locale/ro/LC_MESSAGES/bash.mo
share/locale/ru/LC_MESSAGES/bash.mo
share/locale/sk/LC_MESSAGES/bash.mo
share/locale/sv/LC_MESSAGES/bash.mo
share/locale/tr/LC_MESSAGES/bash.mo
share/locale/uk/LC_MESSAGES/bash.mo
share/locale/vi/LC_MESSAGES/bash.mo
share/locale/zh_CN/LC_MESSAGES/bash.mo
share/locale/zh_TW/LC_MESSAGES/bash.mo

13
shells/bash/distinfo Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: distinfo,v 1.27 2013/06/09 18:12:14 bsiegert Exp $
SHA1 (bash-4.2.tar.gz) = 487840ab7134eb7901fbb2e49b0ee3d22de15cb8
RMD160 (bash-4.2.tar.gz) = df7ae51783f039a1234d3b720ffcf4bfa5d09673
Size (bash-4.2.tar.gz) = 7009201 bytes
SHA1 (patch-af) = dfd1d1be3d822cfc3ae0fd21bb2bbd3e35b11f0d
SHA1 (patch-ag) = 4da0a43f6b890482affff46b18eef4be67770e48
SHA1 (patch-ai) = 26825922898567841bed0bf62a8dee3bcc50cd75
SHA1 (patch-aj) = 8b3c52c2aee9cf53ee5a9ce64ead243d0970305e
SHA1 (patch-ak) = 6dfb7195f45f81064f687a4c9febb9dcae721aa7
SHA1 (patch-builtins_ulimit.def) = d4cb59bedc6a6199f9a99a3530c99374e428baeb
SHA1 (patch-execute_cmd.c) = ce9fe5820188aa218bac74316d45cbdabadb1785
SHA1 (patch-lib_sh_eaccess.c) = 484577f09efe67f604c3fb85afdb5a58b64f5b6c

View File

@@ -0,0 +1,54 @@
$NetBSD: patch-af,v 1.6 2011/03/12 15:26:45 wiz Exp $
--- builtins/printf.def.orig 2010-11-23 15:02:55.000000000 +0000
+++ builtins/printf.def
@@ -90,6 +90,11 @@ $END
# undef PRIdMAX
#endif
+#if defined (_AIX) && !defined (_AIX51)
+ /* AIX defines do not work. Undefine them. */
+# undef PRIdMAX
+# undef PRIuMAX
+#endif
#if !defined (PRIdMAX)
# if HAVE_LONG_LONG
# define PRIdMAX "lld"
@@ -97,6 +102,13 @@ $END
# define PRIdMAX "ld"
# endif
#endif
+#if !defined (PRIuMAX) && defined (_AIX)
+# if HAVE_LONG_LONG
+# define PRIuMAX "llu"
+# else
+# define PRIuMAX "lu"
+# endif
+#endif
#if !defined (errno)
extern int errno;
@@ -571,7 +583,11 @@ printf_builtin (list)
p = pp = getintmax ();
if (p != pp)
{
+#if defined (_AIX) && !defined (_AIX51)
+ f = mklong (start, PRIdMAX, sizeof (intmax_t) - 2);
+#else
f = mklong (start, PRIdMAX, sizeof (PRIdMAX) - 2);
+#endif
PF (f, pp);
}
else
@@ -598,7 +614,11 @@ printf_builtin (list)
p = pp = getuintmax ();
if (p != pp)
{
+#if defined (_AIX) && !defined (_AIX51)
+ f = mklong (start, PRIuMAX, sizeof (uintmax_t) - 2);
+#else
f = mklong (start, PRIdMAX, sizeof (PRIdMAX) - 2);
+#endif
PF (f, pp);
}
else

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ag,v 1.2 2005/12/31 00:02:28 wiz Exp $
--- builtins/psize.c.orig 2005-07-07 14:21:32.000000000 +0200
+++ builtins/psize.c
@@ -41,10 +41,6 @@
#include "../general.h"
#include "../sig.h"
-#ifndef errno
-extern int errno;
-#endif
-
int nw;
sighandler

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ai,v 1.1 2011/02/20 14:22:15 wiz Exp $
Add MirBSD.
--- support/shobj-conf.orig Wed Oct 28 13:19:57 2009
+++ support/shobj-conf
@@ -197,7 +197,7 @@ darwin*|macosx*)
SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
;;
-openbsd*|netbsd*)
+openbsd*|netbsd*|mirbsd*)
SHOBJ_CFLAGS=-fPIC
SHOBJ_LD='${CC}'
SHOBJ_LDFLAGS='-shared'

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-aj,v 1.1 2011/02/20 14:22:15 wiz Exp $
This patch fixes the build on MirBSD and OpenBSD, where LIBINTL and
LIBICONV are incorrectly set.
--- Makefile.in.orig Wed Dec 30 18:05:16 2009
+++ Makefile.in
@@ -341,7 +341,7 @@ INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl
INTL_ABSSRC = ${topdir}/$(INTL_LIB)
INTL_BUILDDIR = ${LIBBUILD}/intl
-INTL_LIB = @LIBINTL@
+INTL_LIB = @LTLIBINTL@
INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a
INTL_DEP = @INTL_DEP@
INTL_INC = @INTL_INC@
@@ -349,7 +349,7 @@ INTL_INC = @INTL_INC@
LIBINTL_H = @LIBINTL_H@
# libiconv
-LIBICONV = @LIBICONV@
+LIBICONV = @LTLIBICONV@
# tests
LIBINTL = @LIBINTL@

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ak,v 1.1 2011/02/20 14:22:16 wiz Exp $
Add MirBSD.
--- configure.orig Tue Dec 29 13:34:27 2009
+++ configure
@@ -2192,6 +2192,7 @@ sparc-linux*) opt_bash_malloc=no ;; # sp
#*-freebsd*-gnu) opt_bash_malloc=no ;; # there's some undetermined problem here
#*-freebsd*) opt_bash_malloc=no ;; # they claim it's better; I disagree
*-openbsd*) opt_bash_malloc=no ;; # they claim it needs eight-bit alignment
+*-mirbsd*) opt_bash_malloc=no ;; # they claim it needs eight-bit alignment
*-aix*) opt_bash_malloc=no ;; # AIX machines
*-nextstep*) opt_bash_malloc=no ;; # NeXT machines running NeXTstep
*-macos*) opt_bash_malloc=no ;; # Apple MacOS X

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-builtins_ulimit.def,v 1.1 2013/06/09 18:12:14 bsiegert Exp $
Add support for the "number of threads" ulimit that appeared
in NetBSD 6.99.x.
--- builtins/ulimit.def.orig 2013-06-09 17:33:51.000000000 +0000
+++ builtins/ulimit.def
@@ -140,6 +140,10 @@ extern int errno;
# define RLIMIT_FILESIZE 256
#endif
+#ifdef RLIMIT_NTHR
+# define RLIMIT_PTHREAD RLIMIT_NTHR
+#endif
+
#define RLIMIT_PIPESIZE 257
#ifdef RLIMIT_NOFILE

View File

@@ -0,0 +1,31 @@
$NetBSD: patch-execute_cmd.c,v 1.1 2013/02/12 23:31:41 tcort Exp $
Allow bash to compile with JOB_CONTROL disabled.
http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-018
--- execute_cmd.c.orig Wed Feb 9 22:32:25 2011
+++ execute_cmd.c Tue Feb 12 11:48:00 2013
@@ -2196,6 +2196,7 @@
if (ignore_return && cmd)
cmd->flags |= CMD_IGNORE_RETURN;
+#if defined (JOB_CONTROL)
lastpipe_flag = 0;
begin_unwind_frame ("lastpipe-exec");
lstdin = -1;
@@ -2219,11 +2220,14 @@
}
if (prev >= 0)
add_unwind_protect (close, prev);
+#endif
exec_result = execute_command_internal (cmd, asynchronous, prev, pipe_out, fds_to_close);
+#if defined (JOB_CONTROL)
if (lstdin > 0)
restore_stdin (lstdin);
+#endif
if (prev >= 0)
close (prev);

View File

@@ -0,0 +1,37 @@
$NetBSD: patch-lib_sh_eaccess.c,v 1.1 2012/07/18 15:43:12 spz Exp $
from ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033
Bash-Release: 4.2
Patch-ID: bash42-033
Bug-Reported-by: David Leverton <levertond@googlemail.com>
Bug-Reference-ID: <4FCCE737.1060603@googlemail.com>
Bug-Reference-URL:
Bug-Description:
Bash uses a static buffer when expanding the /dev/fd prefix for the test
and conditional commands, among other uses, when it should use a dynamic
buffer to avoid buffer overflow.
--- lib/sh/eaccess.c.orig 2011-01-09 01:50:10.000000000 +0000
+++ lib/sh/eaccess.c
@@ -82,6 +82,8 @@ sh_stat (path, finfo)
const char *path;
struct stat *finfo;
{
+ static char *pbuf = 0;
+
if (*path == '\0')
{
errno = ENOENT;
@@ -106,7 +108,7 @@ sh_stat (path, finfo)
trailing slash. Make sure /dev/fd/xx really uses DEV_FD_PREFIX/xx.
On most systems, with the notable exception of linux, this is
effectively a no-op. */
- char pbuf[32];
+ pbuf = xrealloc (pbuf, sizeof (DEV_FD_PREFIX) + strlen (path + 8));
strcpy (pbuf, DEV_FD_PREFIX);
strcat (pbuf, path + 8);
return (stat (pbuf, finfo));

12
shells/bash2-doc/DESCR Normal file
View File

@@ -0,0 +1,12 @@
Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
It offers functional improvements over sh for both programming and
interactive use; these include command line editing, unlimited size
command history, job control, shell functions and aliases, indexed
arrays of unlimited size, and integer arithmetic in any base from two
to sixty-four. In addition, most sh scripts can be run by Bash without
modification.
This package contains the documentation for GNU Bash.

38
shells/bash2-doc/Makefile Normal file
View File

@@ -0,0 +1,38 @@
# $NetBSD: Makefile,v 1.15 2012/09/11 23:25:07 asau Exp $
DISTNAME= bash-doc-2.05b
PKGNAME= bash-doc-2.05.2
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \
ftp://ftp.cwru.edu/pub/bash/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/bash/bash.html
COMMENT= Documentation for the GNU Bourne Again Shell
CONFLICTS= bash<=2.05nb1
WRKSRC= ${WRKDIR}/doc
NO_CONFIGURE= yes
NO_BUILD= yes
USE_TOOLS+= gzip
DOCDIR= ${PREFIX}/share/doc/bash
HTMLDIR= ${PREFIX}/share/doc/html/bash
INSTALLATION_DIRS= ${DOCDIR} ${HTMLDIR}
do-install:
${INSTALL_MAN} \
${WRKSRC}/article.ps \
${WRKSRC}/bashref.ps \
${WRKSRC}/article.txt \
${DESTDIR}${PREFIX}/share/doc/bash
${INSTALL_MAN} \
${WRKSRC}/bash.html \
${WRKSRC}/bashref.html \
${DESTDIR}${HTMLDIR}
${GZIP_CMD} ${DESTDIR}${DOCDIR}/*.ps
.include "../../mk/bsd.pkg.mk"

6
shells/bash2-doc/PLIST Normal file
View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:14:20 joerg Exp $
share/doc/bash/article.ps.gz
share/doc/bash/article.txt
share/doc/bash/bashref.ps.gz
share/doc/html/bash/bash.html
share/doc/html/bash/bashref.html

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.4 2005/02/24 13:14:41 agc Exp $
SHA1 (bash-doc-2.05b.tar.gz) = 8ebe8c9a77c2a1e43b414919e03e517c29b462bb
RMD160 (bash-doc-2.05b.tar.gz) = af1c6d9f17e92b91531f875f48ccf98a3f7940b3
Size (bash-doc-2.05b.tar.gz) = 1733577 bytes

12
shells/bash2/DESCR Normal file
View File

@@ -0,0 +1,12 @@
Bash is an sh-compatible shell that incorporates useful features from
the Korn shell (ksh) and C shell (csh). It is intended to conform to
the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
It offers functional improvements over sh for both programming and
interactive use; these include command line editing, unlimited size
command history, job control, shell functions and aliases, indexed
arrays of unlimited size, and integer arithmetic in any base from two
to sixty-four. In addition, most sh scripts can be run by Bash without
modification.
This package contains the outdated version 2 of bash.

74
shells/bash2/Makefile Normal file
View File

@@ -0,0 +1,74 @@
# $NetBSD: Makefile,v 1.83 2013/02/12 23:27:24 tcort Exp $
#
DISTNAME= bash-2.05b
PKGNAME= bash-2.05.2.7
PKGREVISION= 11
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \
ftp://ftp.cwru.edu/pub/bash/
PATCH_SITES= ${MASTER_SITES:=bash-2.05b-patches/}
PATCHFILES= bash205b-001 bash205b-002 bash205b-003 bash205b-004 \
bash205b-005 bash205b-006 bash205b-007
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/bash/bash.html
COMMENT= The GNU Bourne Again Shell (version 2)
CONFLICTS= static-bash-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_GNU_READLINE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-installed-readline
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
CPPFLAGS+= -DDEFAULT_PATH_VALUE="\"/usr/bin:/bin:${LOCALBASE}/bin:/usr/local/bin\""
TEST_TARGET= test
MAKE_JOBS_SAFE= no
BROKEN_GETTEXT_DETECTION= yes
PKG_SHELL= bin/bash
.include "../../mk/bsd.prefs.mk"
CFLAGS.Interix+= -DUSE_POSIX_GLOB_LIBRARY
PKG_OPTIONS_VAR= PKG_OPTIONS.bash
PKG_SUPPORTED_OPTIONS= multibyte static
PKG_SUGGESTED_OPTIONS= multibyte
.include "../../mk/bsd.options.mk"
##
## Static link
##
.if !empty(PKG_OPTIONS:Mstatic)
CONFIGURE_ARGS+= --enable-static-link
BUILDLINK_DEPMETHOD.gettext= build
BUILDLINK_DEPMETHOD.readline= build
.endif
##
## Multibyte support
##
.if empty(PKG_OPTIONS:Mmultibyte)
CONFIGURE_ENV+= ac_cv_type_wctype_t=no
.endif
# Minix lacks setpgid() which is needed for job control.
.if ${OPSYS} == "Minix"
CONFIGURE_ARGS+= --disable-job-control
.endif
BUILDLINK_API_DEPENDS.readline+= readline>=4.3
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"

5
shells/bash2/PLIST Normal file
View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.4 2002/11/17 09:02:00 salo Exp $
bin/bash
bin/bashbug
man/man1/bash.1
man/man1/bashbug.1

37
shells/bash2/distinfo Normal file
View File

@@ -0,0 +1,37 @@
$NetBSD: distinfo,v 1.15 2005/12/19 00:28:02 joerg Exp $
SHA1 (bash-2.05b.tar.gz) = b3e158877f94e66ec1c8ef604e994851ee388b09
RMD160 (bash-2.05b.tar.gz) = d9826db03c5d38e6175af5b3ef0bc07fafa14add
Size (bash-2.05b.tar.gz) = 1956216 bytes
SHA1 (bash205b-001) = 047a43ba12320f024b37c4a2ea0e53ca0f7e274c
RMD160 (bash205b-001) = c5f2a1e58ef22689440936cda04e43d3b8c482ed
Size (bash205b-001) = 1132 bytes
SHA1 (bash205b-002) = c2809872dbe8e30cd7dd4011af4cf53e03df6c21
RMD160 (bash205b-002) = 6ba57c79aae23fafe5209b6d3f2fabcaad8b391f
Size (bash205b-002) = 755 bytes
SHA1 (bash205b-003) = f050ea2c9fc1c8e809264e44266c8130587d881b
RMD160 (bash205b-003) = 1e52a102f29d9b08fcd04b8c3affe106b9bc47ad
Size (bash205b-003) = 2356 bytes
SHA1 (bash205b-004) = f7a69347cdf4e2e330ec6f3220ced263925022af
RMD160 (bash205b-004) = d08341477b97f76d50920240f363ead469f157c3
Size (bash205b-004) = 1110 bytes
SHA1 (bash205b-005) = 13138677a4eb1e610a6cda9bff2a9d71da5cdb4d
RMD160 (bash205b-005) = 988725e6b9c7d73d8e57cbc0237582a01d5510c8
Size (bash205b-005) = 2217 bytes
SHA1 (bash205b-006) = 230aea5af21c0f895f7cf8290774ad7ce2cd7c08
RMD160 (bash205b-006) = 608cbfcae98e9041fc38fa27429ca077da400920
Size (bash205b-006) = 3155 bytes
SHA1 (bash205b-007) = 758301e500c23779da9236c5cd3f6612d29d5f7b
RMD160 (bash205b-007) = 78c333ebfd8958d7c39b14620dddddbe78310f4f
Size (bash205b-007) = 1072 bytes
SHA1 (patch-aa) = f6f5eb9b70e609164b35c57de70a1c404c7f52ba
SHA1 (patch-ab) = 1a2fc87648b7e73a4987454bb249149ae15bed93
SHA1 (patch-ac) = 7f68d80de74a887fe0c3f42e9fb5d7e6ad311c30
SHA1 (patch-ad) = 037f0b153c139cf5f6ea70245b99103200315cf8
SHA1 (patch-ae) = c0e5564d5e57a04d8458e67fb391df0d890e6f38
SHA1 (patch-af) = 7f9cca6100fa6b24c1fb0d30958b2743679e46ee
SHA1 (patch-ag) = 0baab486f57f6f4eaedc376223aecde0e6dd5c0f
SHA1 (patch-ah) = 00732b402fc0479e153d3f5b24ea8151a3d42dc0
SHA1 (patch-ai) = db34e25bef3572d2bf198216e8c2aebb98362925
SHA1 (patch-aj) = c5c541a5e3c06127ccbc8a560e3ea97fbf77ef4f
SHA1 (patch-ak) = b76eadbf6ced8c1b98454eb3579345ff8739ccb5

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.11 2004/06/22 14:05:39 minskim Exp $
--- config-bot.h.orig Tue Apr 16 23:01:03 2002
+++ config-bot.h Tue Dec 17 15:34:52 2002
@@ -107,7 +107,7 @@
#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
# include <wchar.h>
# include <wctype.h>
-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T)
# define HANDLE_MULTIBYTE 1
# endif
#endif

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.9 2002/11/25 04:18:47 schmonz Exp $
--- Makefile.in.orig Fri Nov 22 22:01:47 2002
+++ Makefile.in
@@ -643,16 +643,10 @@
installdirs:
@${SHELL} $(SUPPORT_SRC)mkdirs $(DESTDIR)$(bindir)
@${SHELL} $(SUPPORT_SRC)mkdirs $(DESTDIR)$(man1dir)
- @${SHELL} $(SUPPORT_SRC)mkdirs $(DESTDIR)$(infodir)
install: .made installdirs
$(INSTALL_PROGRAM) $(INSTALLMODE) $(Program) $(DESTDIR)$(bindir)/$(Program)
$(INSTALL_SCRIPT) $(INSTALLMODE2) bashbug $(DESTDIR)$(bindir)/bashbug
- -( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
- man1dir=$(man1dir) man1ext=$(man1ext) \
- man3dir=$(man3dir) man3ext=$(man3ext) \
- infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
- -( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
install-strip:
$(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.9 2004/06/22 14:05:39 minskim Exp $
--- include/shmbutil.h.orig Mon May 6 19:58:39 2002
+++ include/shmbutil.h Tue Dec 17 15:27:20 2002
@@ -33,7 +33,7 @@
#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
# include <wchar.h>
# include <wctype.h>
-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T)
# define HANDLE_MULTIBYTE 1
# endif
#endif /* HAVE_WCTYPE_H && HAVE_WCHAR_H */

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.5 2004/06/22 14:05:39 minskim Exp $
--- lib/readline/rlmbutil.h.orig Thu Dec 20 15:54:38 2001
+++ lib/readline/rlmbutil.h Tue Dec 17 15:35:45 2002
@@ -35,7 +35,7 @@
#if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H)
# include <wchar.h>
# include <wctype.h>
-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */
+# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T)
# define HANDLE_MULTIBYTE 1
# endif
#endif

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ae,v 1.6 2002/11/25 04:18:48 schmonz Exp $
--- builtins/enable.def.orig Fri Nov 22 22:16:40 2002
+++ builtins/enable.def
@@ -314,9 +314,16 @@
name = list->word->word;
size = strlen (name);
+#ifdef __ELF__
struct_name = (char *)xmalloc (size + 8);
strcpy (struct_name, name);
strcpy (struct_name + size, "_struct");
+#else
+ struct_name = xmalloc (size + 9);
+ *struct_name = '_';
+ strcpy (struct_name + 1, name);
+ strcpy (struct_name + size + 1, "_struct");
+#endif
b = (struct builtin *)dlsym (handle, struct_name);
if (b == 0)

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2004/05/12 20:56:14 jschauma Exp $
--- ./lib/malloc/malloc.c.orig Wed May 12 16:07:37 2004
+++ ./lib/malloc/malloc.c Wed May 12 16:20:47 2004
@@ -880,6 +880,8 @@
free_return:
+ /* no-op in case nothing below is defined */;
+
#ifdef MALLOC_STATS
_mstats.nmalloc[nunits]--;
_mstats.nfre++;

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2004/05/17 22:29:30 jschauma Exp $
--- builtins/Makefile.in.orig Sun May 16 22:52:52 2004
+++ builtins/Makefile.in Sun May 16 22:53:31 2004
@@ -20,7 +20,7 @@
SHELL = @MAKE_SHELL@
RANLIB = @RANLIB@
CC = @CC@
-CC_FOR_BUILD = @CC_FOR_BUILD@
+CC_FOR_BUILD = @CC_FOR_BUILD@ @CFLAGS@
AR = @AR@
ARFLAGS = @ARFLAGS@
RM = rm -f

View File

@@ -0,0 +1,79 @@
$NetBSD: patch-ah,v 1.1 2004/06/22 14:05:39 minskim Exp $
--- configure.orig 2002-07-16 08:31:47.000000000 -0500
+++ configure
@@ -10752,6 +10752,74 @@ EOF
fi
+echo "$as_me:10755: checking for wctype_t" >&5
+echo $ECHO_N "checking for wctype_t... $ECHO_C" >&6
+if test "${ac_cv_type_wctype_t+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef HAVE_WCHAR_H
+#include <wchar.h>
+#endif
+#ifdef HAVE_WCTYPE_H
+#include <wctype.h>
+#endif
+
+int
+main ()
+{
+if ((wctype_t *) 0)
+ return 0;
+if (sizeof (wctype_t))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:10785: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:10791: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag"
+ || test ! -s conftest.err'
+ { (eval echo "$as_me:10795: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:10798: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:10801: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:10804: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_type_wctype_t=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_cv_type_wctype_t=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:10815: result: $ac_cv_type_wctype_t" >&5
+echo "${ECHO_T}$ac_cv_type_wctype_t" >&6
+if test $ac_cv_type_wctype_t = yes; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_WCTYPE_T 1
+_ACEOF
+fi
+
if test "$ac_cv_sizeof_short" = 2; then
echo "$as_me:10756: checking for bits16_t" >&5
echo $ECHO_N "checking for bits16_t... $ECHO_C" >&6

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ai,v 1.1 2004/06/22 14:05:39 minskim Exp $
--- config.h.in.orig 2004-06-21 09:46:10.000000000 -0500
+++ config.h.in
@@ -221,6 +221,9 @@
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
+/* Define if you have wctype_t, as a type. */
+#undef HAVE_WCTYPE_T
+
/* SYSTEM TYPES */

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-aj,v 1.1 2004/06/22 14:05:39 minskim Exp $
--- configure.in.orig 2002-07-16 08:31:25.000000000 -0500
+++ configure.in
@@ -678,6 +678,16 @@ AC_CHECK_SIZEOF([long long], 8)
AC_CHECK_TYPE(u_int, [unsigned int])
AC_CHECK_TYPE(u_long, [unsigned long])
+AC_CHECK_TYPE(wctype_t,
+[ cat >>confdefs.h <<\_ACEOF
+#define HAVE_WCTYPE_T 1
+_ACEOF],,
+[#ifdef HAVE_WCHAR_H
+#include <wchar.h>
+#endif
+#ifdef HAVE_WCTYPE_H
+#include <wctype.h>
+#endif])
BASH_TYPE_BITS16_T
BASH_TYPE_U_BITS16_T

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ak,v 1.1 2005/12/19 00:28:02 joerg Exp $
--- builtins/psize.c.orig 2005-12-19 00:17:40.000000000 +0000
+++ builtins/psize.c
@@ -40,7 +40,6 @@
#include "../command.h"
#include "../general.h"
#include "../sig.h"
-extern int errno;
int nw;

1
shells/dash/DESCR Normal file
View File

@@ -0,0 +1 @@
Debian Almquist shell. A small POSIX-compliant shell that is faster than bash.

17
shells/dash/Makefile Normal file
View File

@@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.9 2013/01/06 16:43:26 cheusov Exp $
#
DISTNAME= dash-0.5.7
CATEGORIES= shells
MASTER_SITES= http://gondor.apana.org.au/~herbert/dash/files/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://gondor.apana.org.au/~herbert/dash/
COMMENT= Debian Almquist shell, POSIX-compliant shell faster than bash
LICENSE= modified-bsd AND gnu-gpl-v2
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
PKG_SHELL= bin/dash
.include "../../mk/bsd.pkg.mk"

3
shells/dash/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/26 21:27:49 rillig Exp $
bin/dash
man/man1/dash.1

7
shells/dash/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.4 2013/01/06 16:19:07 cheusov Exp $
SHA1 (dash-0.5.7.tar.gz) = a3ebc16f2e2c7ae8adf64e5e62ae3dcb631717c6
RMD160 (dash-0.5.7.tar.gz) = 1878942f8ab5723ccfb2eded34169606b4cec475
Size (dash-0.5.7.tar.gz) = 223794 bytes
SHA1 (patch-src_dash.1) = f4c82d255c0615def061ed49e3be9f170e7cd467
SHA1 (patch-src_mkbuiltins) = 54f46f67653472d7bd5c8064929ef08da49a2b92

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_dash.1,v 1.1 2012/01/24 22:24:34 joerg Exp $
--- src/dash.1.orig 2009-01-13 23:37:13.000000000 +0000
+++ src/dash.1
@@ -2132,9 +2132,9 @@ is specified, the soft limit is displaye
If both are specified, the last one wins.
.El
.Pp
-.Bl -tag -width Fl
The limit to be interrogated or set, then, is chosen by specifying
any one of these flags:
+.Bl -tag -width Fl
.It Fl a
show all the current limits
.It Fl t

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_mkbuiltins,v 1.1 2013/01/06 16:19:08 cheusov Exp $
# This patch fixes build failure on SunOS if /usr/xpg4/bin is not in PATH
--- src/mkbuiltins.orig 2011-03-15 07:18:06.000000000 +0000
+++ src/mkbuiltins
@@ -97,7 +97,7 @@ cat <<\!
*/
!
-sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 | LC_COLLATE=C sort -u -k 3,3 |
+sed 's/ -[a-z]*//' $temp2 | nl -ba -v0 | LC_COLLATE=C sort -u -k 3,3 |
tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
awk '{ printf "#define %s (builtincmd + %d)\n", $3, $1}'
printf '\n#define NUMBUILTINS %d\n' $(wc -l < $temp2)

9
shells/eltclsh/DESCR Normal file
View File

@@ -0,0 +1,9 @@
eltclsh (editline tcl shell) is an interactive shell for the TCL
programming language. It provides command line editing, history browsing
as well as variables and command completion thanks to editline
features. The completion engine is programmable in a way similar to tcsh,
and comes with an programmed completion for the whole TCL language by
default.
The package also provides elwish, an interactive interpreter for the Tk
toolkit.

24
shells/eltclsh/Makefile Normal file
View File

@@ -0,0 +1,24 @@
# $NetBSD: Makefile,v 1.9 2013/06/06 12:55:02 wiz Exp $
DISTNAME= eltclsh-1.9
PKGREVISION= 4
CATEGORIES= shells
MASTER_SITES= http://softs.laas.fr/openrobots/php/download.php/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://softs.laas.fr/openrobots/wiki/eltclsh
COMMENT= Interactive TCL shell with editline facilities
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_TOOLS+= gmake
.include "options.mk"
INSTALL_ENV+= ELTCL_LIBRARY=${DESTDIR}${PREFIX}/share/eltcl
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

8
shells/eltclsh/PLIST Normal file
View File

@@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:14:21 joerg Exp $
bin/eltclsh
${PLIST.tk}bin/elwish
man/man1/eltclsh.1
share/eltcl/complete.tcl
share/eltcl/init.tcl
share/eltcl/pkgIndex.tcl
share/eltcl/tools.tcl

6
shells/eltclsh/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.4 2008/08/22 19:47:44 bjs Exp $
SHA1 (eltclsh-1.9.tar.gz) = 4c85fc6927c3fc4359316e9265460a8747972a0d
RMD160 (eltclsh-1.9.tar.gz) = 8bee0288bc458845b5384272164df48e2e7e0b03
Size (eltclsh-1.9.tar.gz) = 342659 bytes
SHA1 (patch-ab) = fc7f724bbfdf4d5b35da1dd52a65a9488c43f4b0

18
shells/eltclsh/options.mk Normal file
View File

@@ -0,0 +1,18 @@
# $NetBSD: options.mk,v 1.1 2008/08/22 07:44:00 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.eltclsh
PKG_SUPPORTED_OPTIONS= tk
PKG_SUGGESTED_OPTIONS= tk
.include "../../mk/bsd.options.mk"
##
## Support TK, i.e. the edit-line wish shell
##
PLIST_VARS+= tk
.if !empty(PKG_OPTIONS:Mtk)
.include "../../x11/tk/buildlink3.mk"
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}/lib
PLIST.tk= yes
.else
CONFIGURE_ARGS+= --without-tk
.endif

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.2 2008/08/22 07:42:52 obache Exp $
--- Makefile.in.orig 2008-08-08 14:15:11.000000000 +0000
+++ Makefile.in
@@ -65,7 +65,7 @@ all depends: $(config_files) $(config_he
clean:
$(make_subdirs)
-install: $(config_files) install-doc install-catdoc
+install: $(config_files) install-doc
$(make_subdirs)

13
shells/es/DESCR Normal file
View File

@@ -0,0 +1,13 @@
Es is an extensible shell. The language was derived from the Plan 9
shell, rc, and was influenced by functional programming languages,
such as Scheme, and the Tcl embeddable programming language. This
implementation is derived from Byron Rakitzis's public domain
implementation of rc.
Es is in the public domain. We hold no copyrights or patents on
the source code, and do not place any restrictions on its distribution.
We would appreciate it if any distributions do credit the authors.
Enjoy!
-- Paul Haahr & Byron Rakitzis

25
shells/es/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.24 2012/09/11 23:25:08 asau Exp $
DISTNAME= es-0.9-alpha1
PKGNAME= es-0.9a1
PKGREVISION= 4
CATEGORIES= shells
MASTER_SITES= ftp://ftp.sys.toronto.edu/pub/es/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hawkwind.cs.toronto.edu:8001/mlists/es.html
COMMENT= Extensible shell, derived from plan9's rc
USE_TOOLS+= yacc
PKG_SHELL= bin/es
SUBST_CLASSES= path
SUBST_STAGE.path= pre-configure
SUBST_MESSAGE.path= Fixing path to es in scripts.
SUBST_FILES.path= esdebug
SUBST_SED.path= -e 's|^\#! /bin/es|\#! ${PREFIX:Q}/bin/es|'
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"

4
shells/es/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2005/03/10 16:58:39 tv Exp $
bin/es
bin/esdebug
man/man1/es.1

14
shells/es/distinfo Normal file
View File

@@ -0,0 +1,14 @@
$NetBSD: distinfo,v 1.13 2010/02/12 00:23:34 joerg Exp $
SHA1 (es-0.9-alpha1.tar.gz) = 5027c9dade742c437b8e471a356d15883ebc4732
RMD160 (es-0.9-alpha1.tar.gz) = ca2307202ab6e65c49188e3228d1af6426a23952
Size (es-0.9-alpha1.tar.gz) = 125913 bytes
SHA1 (patch-aa) = a6488aa2ca69332f0d22943befcd8d022ab01ef2
SHA1 (patch-ab) = bd58fbbf71d5c9dc76bdc380cb7b93ad3f5f1c72
SHA1 (patch-ac) = 978debd8079eedf7d09862e9946bfd9957c46732
SHA1 (patch-ad) = 63bf69c25dc9e610b9375685459a1fd05ea66e1e
SHA1 (patch-ae) = 3625310b30bbf64f24d6efbcd1864b7e8a92ff59
SHA1 (patch-af) = 58f29fb3e35236810efc14f1b25fcc4412736404
SHA1 (patch-ag) = adc7c22ebc2f35f76f85a1ef25b2a1a18a19898e
SHA1 (patch-ah) = 19427378a3e9a40681bad72921cd98f7a6b3a79d
SHA1 (patch-ai) = 3d9beee005db42b4b7af1bc5529b23d1347a8778

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-aa,v 1.6 2010/02/12 00:23:34 joerg Exp $
--- Makefile.orig 1995-05-30 07:14:14.000000000 -0400
+++ Makefile
@@ -33,8 +33,8 @@
SHELL = /bin/sh
CC = cc
#CC = gcc
-CFLAGS = -g
-#CFLAGS = -g -O -Wall
+#CFLAGS = -g
+CFLAGS = -O2
LDFLAGS =
LIBS =
@@ -53,6 +53,13 @@ OFILES = access.o closure.o conv.o dict.
OTHER = Makefile parse.y mksignal
GEN = esdump y.tab.c y.tab.h y.output token.h sigmsgs.c initial.c
+all: es
+
+install:
+ ${BSD_INSTALL_PROGRAM} es ${DESTDIR}$(PREFIX)/bin
+ ${BSD_INSTALL_SCRIPT} esdebug ${DESTDIR}$(PREFIX)/bin/esdebug
+ ${BSD_INSTALL_MAN} es.1 ${DESTDIR}$(PREFIX)/man/man1
+
es : ${OFILES} initial.o
${CC} -o es ${LDFLAGS} ${OFILES} initial.o ${LIBS}

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-ab,v 1.1 2004/02/26 07:47:48 uebayasi Exp $
--- prim-sys.c.orig Tue May 30 06:13:51 1995
+++ prim-sys.c Thu Apr 10 10:15:40 1997
@@ -194,7 +194,7 @@
static void printlimit(const Limit *limit, Boolean hard) {
struct rlimit rlim;
- long lim;
+ u_quad_t lim;
getrlimit(limit->flag, &rlim);
if (hard)
lim = rlim.rlim_max;
@@ -209,11 +209,11 @@
lim /= suf->amount;
break;
}
- print("%-8s\t%d%s\n", limit->name, lim, (suf == NULL || lim == 0) ? "" : suf->name);
+ print("%-8s\t%ud%s\n", limit->name, (unsigned int)lim, (suf == NULL || lim == 0) ? "" : suf->name);
}
}
-static long parselimit(const Limit *limit, char *s) {
+static u_quad_t parselimit(const Limit *limit, char *s) {
long lim;
char *t;
const Suffix *suf = limit->suffix;

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.4 2005/11/10 22:18:33 joerg Exp $
--- main.c~ Tue May 30 06:13:50 1995
+++ main.c Thu Apr 10 09:20:49 1997
@@ -9,7 +9,7 @@
Boolean gcinfo = FALSE; /* -I */
#endif
-#if !HPUX && !defined(linux)
+#if !HPUX && !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__INTERIX) && !defined(__APPLE__) && !defined(__DragonFly__)
extern int getopt (int argc, char **argv, const char *optstring);
#endif
extern int optind;

View File

@@ -0,0 +1,39 @@
$NetBSD: patch-ad,v 1.6 2005/11/10 22:18:33 joerg Exp $
--- stdenv.h.orig 1995-05-30 07:13:53.000000000 -0400
+++ stdenv.h
@@ -44,9 +44,7 @@
#include <signal.h>
#include <ctype.h>
-#if REQUIRE_STAT || REQUIRE_IOCTL
#include <sys/types.h>
-#endif
#if REQUIRE_IOCTL
#include <sys/ioctl.h>
@@ -239,7 +237,7 @@ extern int getgroups(int, int *);
* hacks to present a standard system call interface
*/
-#ifdef linux
+#if defined(linux) || defined(__INTERIX)
#include "unistd.h"
#define setpgrp(a, b) setpgid(a, b)
#endif
@@ -283,6 +281,7 @@ extern int getgroups(int, int *);
/* stdlib */
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__INTERIX) && !defined(__APPLE__) && !defined(__DragonFly__)
extern noreturn exit(int);
extern noreturn abort(void);
extern long strtol(const char *num, char **end, int base);
@@ -290,6 +289,7 @@ extern void *qsort(
void *base, size_t nmemb, size_t size,
int (*compar)(const void *, const void *)
);
+#endif
/* setjmp */

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ae,v 1.2 2005/03/10 15:18:31 tv Exp $
--- util.c.orig 1995-05-30 07:13:52.000000000 -0400
+++ util.c
@@ -2,6 +2,10 @@
#include "es.h"
+#include <sys/param.h>
+
+#if !(defined(BSD) && BSD >= 199306) && !defined(__INTERIX)
+/* agc - just use the system strerror here */
/* strerror -- turn an error code into a string */
extern char *strerror(int n) {
extern int sys_nerr;
@@ -10,6 +14,7 @@ extern char *strerror(int n) {
return "unknown error";
return sys_errlist[n];
}
+#endif
/* uerror -- print a unix error, our version of perror */
extern void uerror(char *s) {

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-af,v 1.2 2008/09/19 20:02:23 joerg Exp $
--- config.h.orig 1995-05-30 13:13:53.000000000 +0200
+++ config.h
@@ -378,6 +378,15 @@
#endif
#endif
+#ifdef __INTERIX
+#ifndef USE_WAIT3
+#define USE_WAIT3 0
+#endif
+#ifndef USE_SIGACTION
+#define USE_SIGACTION 1
+#endif
+#endif
+
/*
* default defaults -- don't change this section
@@ -533,3 +542,5 @@
#undef SYSV_SIGNALS
#define SYSV_SIGNALS 0
#endif
+
+#include <stdlib.h>

View File

@@ -0,0 +1,47 @@
$NetBSD: patch-ag,v 1.2 2008/09/19 20:02:23 joerg Exp $
--- print.c.orig 1995-05-30 13:13:51.000000000 +0200
+++ print.c
@@ -3,6 +3,8 @@
#include "es.h"
#include "print.h"
+#include <stdarg.h>
+
#define MAXCONV 256
/*
@@ -90,7 +92,7 @@ static void intconv(Format *format, unsi
if (flags & FMT_long)
n = va_arg(format->args, long);
else if (flags & FMT_short)
- n = va_arg(format->args, short);
+ n = va_arg(format->args, int);
else
n = va_arg(format->args, int);
@@ -267,12 +269,23 @@ extern int printfmt(Format *format, cons
extern int fmtprint VARARGS2(Format *, format, const char *, fmt) {
int n = -format->flushed;
- va_list saveargs = format->args;
+ va_list saveargs;
+
+#if 1
+ va_copy(saveargs, format->args);
+#else
+ saveargs = format->args;
+#endif
VA_START(format->args, fmt);
n += printfmt(format, fmt);
va_end(format->args);
+
+#if 1
+ va_copy(format->args, saveargs);
+#else
format->args = saveargs;
+#endif
return n + format->flushed;
}

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2008/09/19 20:02:23 joerg Exp $
--- gc.c.orig 2008-09-19 21:53:44.000000000 +0200
+++ gc.c
@@ -294,7 +294,7 @@ extern void globalroot(void *addr) {
/* not portable to word addressed machines */
#define TAG(p) (((Tag **) p)[-1])
-#define FORWARDED(tagp) (((int) tagp) & 1)
+#define FORWARDED(tagp) (((size_t) tagp) & 1)
#define FOLLOWTO(p) ((Tag *) (((char *) p) + 1))
#define FOLLOW(tagp) ((void *) (((char *) tagp) - 1))

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ai,v 1.1 2008/09/19 20:02:23 joerg Exp $
--- str.c.orig 2008-09-19 21:59:39.000000000 +0200
+++ str.c
@@ -21,7 +21,11 @@ extern char *strv(const char *fmt, va_li
gcdisable();
buf = openbuffer(0);
format.u.p = buf;
+#if 1
+ va_copy(format.args, args);
+#else
format.args = args;
+#endif
format.buf = buf->str;
format.bufbegin = buf->str;
format.bufend = buf->str + buf->len;

6
shells/esh/DESCR Normal file
View File

@@ -0,0 +1,6 @@
`esh' was primarily written out of a need for a simple and
lightweight shell for Unix. As such, it deviates completely from all of
the traditional shells, opting instead for a Lisp-like syntax. This
allows exceptionally small size, both in terms of lines of code and
memory consumption, while retaining remarkable flexibility and
programmability.

30
shells/esh/Makefile Normal file
View File

@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.29 2013/04/06 20:27:28 rodent Exp $
DISTNAME= esh-0.8
PKGREVISION= 3
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_BACKUP}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Unix shell with Lisp-like syntax
WRKSRC= ${WRKDIR}/esh
PKG_SHELL= bin/esh
INFO_FILES= yes
INSTALLATION_DIRS= bin ${PKGINFODIR} share/doc/esh share/examples/esh \
share/emacs/site-lisp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/esh ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/examples/*.esh \
${DESTDIR}${PREFIX}/share/examples/esh
${INSTALL_DATA} ${WRKSRC}/emacs/esh-mode.el \
${DESTDIR}${PREFIX}/share/emacs/site-lisp
cd ${WRKSRC}/doc; for f in *.info *.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR}; \
done
cd ${WRKSRC}/doc && ${INSTALL_DATA} esh.html esh_toc.html \
${DESTDIR}${PREFIX}/share/doc/esh/
.include "../../mk/bsd.pkg.mk"

18
shells/esh/PLIST Normal file
View File

@@ -0,0 +1,18 @@
@comment $NetBSD: PLIST,v 1.9 2009/06/14 18:14:21 joerg Exp $
bin/esh
info/esh.info
share/doc/esh/esh.html
share/doc/esh/esh_toc.html
share/emacs/site-lisp/esh-mode.el
share/examples/esh/bold.esh
share/examples/esh/gaudy.esh
share/examples/esh/pipes.esh
share/examples/esh/prepend.esh
share/examples/esh/prompt.esh
share/examples/esh/test.esh
share/examples/esh/test2.esh
share/examples/esh/test3.esh
share/examples/esh/test4.esh
share/examples/esh/test5.esh
share/examples/esh/test6.esh
share/examples/esh/test7.esh

6
shells/esh/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2005/02/24 13:14:41 agc Exp $
SHA1 (esh-0.8.tar.gz) = 3a4e5237c476d90f68e1cc572a2ba8648efb7fbd
RMD160 (esh-0.8.tar.gz) = 42e42c7b98fd8aaab2b42c73a716cdfc0f792109
Size (esh-0.8.tar.gz) = 73619 bytes
SHA1 (patch-aa) = ea1926ff4f4d1483b9604fa77cf3547a9d7fb91e

View File

@@ -0,0 +1,35 @@
$NetBSD: patch-aa,v 1.3 2001/03/08 21:26:51 jtb Exp $
--- Makefile.orig Thu Apr 22 08:31:43 1999
+++ Makefile
@@ -1,24 +1,24 @@
# Your C compiler.
-CC=gcc
+#CC=gcc
# Where your readline library is.
# You can compile with a hacked replacement of readline instead by
# doing this:
-#INC=-Ifake-readline/
-#LIB=fake-readline/readline.c
+INC=-Ifake-readline/
+LIB=fake-readline/readline.c
-INC=-I/usr/include/readline
-LIB=-lreadline
+#INC=-I/usr/include/readline
+#LIB=-lreadline
# Flags to the compiler:
#
# -DMEM_DEBUG Check for memory leaks.
#
-CFLAGS=-g -Wall -DMEM_DEBUG $(INC) -pg
+CFLAGS+=-Wall $(INC)
# No need to change this stuff.

7
shells/fish/DESCR Normal file
View File

@@ -0,0 +1,7 @@
fish is a user friendly command line shell for UNIX-like operating
systems, written mainly with interactive use in mind. It differs
from other shells in that it only provides as few commands as
built-ins as possible and has a daemon which allows it to have
shared variables and command-line history between shell instances.
It also features feature-rich tab-completion and has command-line
syntax highlighting.

34
shells/fish/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.3 2013/05/23 15:07:29 joerg Exp $
#
DISTNAME= fish-1.23.1
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fish/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fishshell.org/
COMMENT= User friendly command line shell for UNIX-like operating systems
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= doxygen>=1.2.14:../../devel/doxygen
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --without-xsel
USE_TOOLS+= gmake
EGDIR= ${PREFIX}/share/examples/fish
INSTALL_ENV+= EGDIR=${EGDIR}
PKG_SHELL= bin/fish
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
CPPFLAGS+= -DHAVE_BACKTRACE
CPPFLAGS+= -DHAVE_BACKTRACE_SYMBOLS
LDFLAGS+= -lexecinfo
.endif
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

418
shells/fish/PLIST Normal file
View File

@@ -0,0 +1,418 @@
@comment $NetBSD: PLIST,v 1.1 2012/12/12 13:21:42 wiz Exp $
bin/fish
bin/fish_indent
bin/fish_pager
bin/fishd
bin/mimedb
bin/set_color
man/man1/fish.1
man/man1/fish_indent.1
man/man1/fish_pager.1
man/man1/fishd.1
man/man1/mimedb.1
man/man1/set_color.1
share/doc/fish/ChangeLog
share/doc/fish/commands.html
share/doc/fish/design.html
share/doc/fish/doc_8h-source.html
share/doc/fish/doxygen.css
share/doc/fish/doxygen.png
share/doc/fish/faq.html
share/doc/fish/files.html
share/doc/fish/index.html
share/doc/fish/license.html
share/doc/fish/pages.html
share/doc/fish/tab_b.gif
share/doc/fish/tab_l.gif
share/doc/fish/tab_r.gif
share/doc/fish/tabs.css
share/examples/fish/fish/config.fish
share/fish/completions/acpi.fish
share/fish/completions/adduser.fish
share/fish/completions/and.fish
share/fish/completions/ant.fish
share/fish/completions/apm.fish
share/fish/completions/apropos.fish
share/fish/completions/apt-build.fish
share/fish/completions/apt-cache.fish
share/fish/completions/apt-cdrom.fish
share/fish/completions/apt-config.fish
share/fish/completions/apt-extracttemplates.fish
share/fish/completions/apt-file.fish
share/fish/completions/apt-ftparchive.fish
share/fish/completions/apt-get.fish
share/fish/completions/apt-key.fish
share/fish/completions/apt-listbugs.fish
share/fish/completions/apt-listchanges.fish
share/fish/completions/apt-move.fish
share/fish/completions/apt-proxy-import.fish
share/fish/completions/apt-rdepends.fish
share/fish/completions/apt-setup.fish
share/fish/completions/apt-show-source.fish
share/fish/completions/apt-show-versions.fish
share/fish/completions/apt-sortpkgs.fish
share/fish/completions/apt-spy.fish
share/fish/completions/apt-src.fish
share/fish/completions/apt-zip-inst.fish
share/fish/completions/apt-zip-list.fish
share/fish/completions/aptitude.fish
share/fish/completions/arp.fish
share/fish/completions/at.fish
share/fish/completions/atd.fish
share/fish/completions/atq.fish
share/fish/completions/atrm.fish
share/fish/completions/awk.fish
share/fish/completions/badblocks.fish
share/fish/completions/bc.fish
share/fish/completions/bg.fish
share/fish/completions/bind.fish
share/fish/completions/bison.fish
share/fish/completions/block.fish
share/fish/completions/break.fish
share/fish/completions/btdownloadcurses.py.fish
share/fish/completions/btdownloadheadless.py.fish
share/fish/completions/builtin.fish
share/fish/completions/bunzip2.fish
share/fish/completions/bzcat.fish
share/fish/completions/bzip2.fish
share/fish/completions/bzip2recover.fish
share/fish/completions/case.fish
share/fish/completions/cat.fish
share/fish/completions/cd.fish
share/fish/completions/cdrecord.fish
share/fish/completions/chgrp.fish
share/fish/completions/chmod.fish
share/fish/completions/chown.fish
share/fish/completions/chsh.fish
share/fish/completions/command.fish
share/fish/completions/commandline.fish
share/fish/completions/complete.fish
share/fish/completions/configure.fish
share/fish/completions/continue.fish
share/fish/completions/cowsay.fish
share/fish/completions/cowthink.fish
share/fish/completions/cp.fish
share/fish/completions/cut.fish
share/fish/completions/cvs.fish
share/fish/completions/darcs.fish
share/fish/completions/date.fish
share/fish/completions/dcop.fish
share/fish/completions/df.fish
share/fish/completions/diff.fish
share/fish/completions/du.fish
share/fish/completions/dvipdf.fish
share/fish/completions/dvipdfm.fish
share/fish/completions/echo.fish
share/fish/completions/effectv.fish
share/fish/completions/eix-sync.fish
share/fish/completions/eix.fish
share/fish/completions/elatex.fish
share/fish/completions/emacs.fish
share/fish/completions/emerge.fish
share/fish/completions/env.fish
share/fish/completions/equery.fish
share/fish/completions/etex.fish
share/fish/completions/eval.fish
share/fish/completions/evince.fish
share/fish/completions/exec.fish
share/fish/completions/exit.fish
share/fish/completions/fg.fish
share/fish/completions/file.fish
share/fish/completions/find.fish
share/fish/completions/fish.fish
share/fish/completions/fish_indent.fish
share/fish/completions/flac.fish
share/fish/completions/function.fish
share/fish/completions/functions.fish
share/fish/completions/fusermount.fish
share/fish/completions/gcc.fish
share/fish/completions/gdb.fish
share/fish/completions/gem.fish
share/fish/completions/git.fish
share/fish/completions/gpg.fish
share/fish/completions/gprof.fish
share/fish/completions/grep.fish
share/fish/completions/groupadd.fish
share/fish/completions/gunzip.fish
share/fish/completions/gzip.fish
share/fish/completions/help.fish
share/fish/completions/hg.fish
share/fish/completions/iconv.fish
share/fish/completions/id.fish
share/fish/completions/ifconfig.fish
share/fish/completions/invoke-rc.d.fish
share/fish/completions/jobs.fish
share/fish/completions/kill.fish
share/fish/completions/la.fish
share/fish/completions/latex.fish
share/fish/completions/less.fish
share/fish/completions/ll.fish
share/fish/completions/locate.fish
share/fish/completions/ls.fish
share/fish/completions/m4.fish
share/fish/completions/make.fish
share/fish/completions/makedepend.fish
share/fish/completions/makepkg.fish
share/fish/completions/man.fish
share/fish/completions/mimedb.fish
share/fish/completions/modprobe.fish
share/fish/completions/mount.fish
share/fish/completions/mplayer.fish
share/fish/completions/msgfmt.fish
share/fish/completions/mutt.fish
share/fish/completions/mv.fish
share/fish/completions/netcat.fish
share/fish/completions/nextd.fish
share/fish/completions/nice.fish
share/fish/completions/not.fish
share/fish/completions/oggenc.fish
share/fish/completions/omega.fish
share/fish/completions/or.fish
share/fish/completions/pacman.fish
share/fish/completions/patch.fish
share/fish/completions/pdfelatex.fish
share/fish/completions/pdfetex.fish
share/fish/completions/pdflatex.fish
share/fish/completions/pdftex.fish
share/fish/completions/perl.fish
share/fish/completions/pine.fish
share/fish/completions/ping.fish
share/fish/completions/pkgadd.fish
share/fish/completions/pkginfo.fish
share/fish/completions/pkgmk.fish
share/fish/completions/pkgrm.fish
share/fish/completions/ports.fish
share/fish/completions/prevd.fish
share/fish/completions/prt-get.fish
share/fish/completions/ps.fish
share/fish/completions/ps2pdf.fish
share/fish/completions/psub.fish
share/fish/completions/pushd.fish
share/fish/completions/python.fish
share/fish/completions/quilt.fish
share/fish/completions/random.fish
share/fish/completions/read.fish
share/fish/completions/rejmerge.fish
share/fish/completions/renice.fish
share/fish/completions/return.fish
share/fish/completions/rm.fish
share/fish/completions/rmdir.fish
share/fish/completions/rpm.fish
share/fish/completions/rsync.fish
share/fish/completions/ruby.fish
share/fish/completions/scons.fish
share/fish/completions/scp.fish
share/fish/completions/screen.fish
share/fish/completions/sed.fish
share/fish/completions/service.fish
share/fish/completions/set.fish
share/fish/completions/set_color.fish
share/fish/completions/sort.fish
share/fish/completions/ssh.fish
share/fish/completions/sshfs.fish
share/fish/completions/status.fish
share/fish/completions/su.fish
share/fish/completions/sudo.fish
share/fish/completions/svn.fish
share/fish/completions/sylpheed.fish
share/fish/completions/tar.fish
share/fish/completions/telnet.fish
share/fish/completions/test.fish
share/fish/completions/tex.fish
share/fish/completions/time.fish
share/fish/completions/top.fish
share/fish/completions/totem.fish
share/fish/completions/touch.fish
share/fish/completions/trap.fish
share/fish/completions/type.fish
share/fish/completions/ulimit.fish
share/fish/completions/umount.fish
share/fish/completions/uname.fish
share/fish/completions/uniq.fish
share/fish/completions/unrar.fish
share/fish/completions/update-eix-remote.fish
share/fish/completions/update-eix.fish
share/fish/completions/useradd.fish
share/fish/completions/valgrind.fish
share/fish/completions/vared.fish
share/fish/completions/vi.fish
share/fish/completions/vim.fish
share/fish/completions/w.fish
share/fish/completions/wajig.fish
share/fish/completions/wc.fish
share/fish/completions/wesnoth.fish
share/fish/completions/wget.fish
share/fish/completions/whatis.fish
share/fish/completions/which.fish
share/fish/completions/who.fish
share/fish/completions/wpa_cli.fish
share/fish/completions/xargs.fish
share/fish/completions/xgettext.fish
share/fish/completions/xmms.fish
share/fish/completions/xpdf.fish
share/fish/completions/xprop.fish
share/fish/completions/xsel.fish
share/fish/completions/xterm.fish
share/fish/completions/yum.fish
share/fish/completions/zcat.fish
share/fish/completions/zip.fish
share/fish/config.fish
share/fish/functions/N_.fish
share/fish/functions/_.fish
share/fish/functions/__fish_append.fish
share/fish/functions/__fish_bind_test1.fish
share/fish/functions/__fish_bind_test2.fish
share/fish/functions/__fish_commandline_test.fish
share/fish/functions/__fish_complete_ant_targets.fish
share/fish/functions/__fish_complete_bittorrent.fish
share/fish/functions/__fish_complete_cd.fish
share/fish/functions/__fish_complete_command.fish
share/fish/functions/__fish_complete_directories.fish
share/fish/functions/__fish_complete_file_url.fish
share/fish/functions/__fish_complete_groups.fish
share/fish/functions/__fish_complete_ls.fish
share/fish/functions/__fish_complete_man.fish
share/fish/functions/__fish_complete_mime.fish
share/fish/functions/__fish_complete_pids.fish
share/fish/functions/__fish_complete_ssh.fish
share/fish/functions/__fish_complete_subcommand.fish
share/fish/functions/__fish_complete_subcommand_root.fish
share/fish/functions/__fish_complete_suffix.fish
share/fish/functions/__fish_complete_tar.fish
share/fish/functions/__fish_complete_tex.fish
share/fish/functions/__fish_complete_unrar.fish
share/fish/functions/__fish_complete_users.fish
share/fish/functions/__fish_complete_vi.fish
share/fish/functions/__fish_config_interactive.fish
share/fish/functions/__fish_contains_opt.fish
share/fish/functions/__fish_crux_packages.fish
share/fish/functions/__fish_describe_command.fish
share/fish/functions/__fish_filter_ant_targets.fish
share/fish/functions/__fish_filter_mime.fish
share/fish/functions/__fish_git_branch_prompt.fish
share/fish/functions/__fish_gnu_complete.fish
share/fish/functions/__fish_is_first_token.fish
share/fish/functions/__fish_list_current_token.fish
share/fish/functions/__fish_move_last.fish
share/fish/functions/__fish_no_arguments.fish
share/fish/functions/__fish_not_contain_opt.fish
share/fish/functions/__fish_paginate.fish
share/fish/functions/__fish_ports_dirs.fish
share/fish/functions/__fish_print_addresses.fish
share/fish/functions/__fish_print_debian_services.fish
share/fish/functions/__fish_print_encodings.fish
share/fish/functions/__fish_print_filesystems.fish
share/fish/functions/__fish_print_function_prototypes.fish
share/fish/functions/__fish_print_help.fish
share/fish/functions/__fish_print_hostnames.fish
share/fish/functions/__fish_print_interfaces.fish
share/fish/functions/__fish_print_make_targets.fish
share/fish/functions/__fish_print_packages.fish
share/fish/functions/__fish_print_users.fish
share/fish/functions/__fish_prt_no_subcommand.fish
share/fish/functions/__fish_prt_packages.fish
share/fish/functions/__fish_prt_ports.fish
share/fish/functions/__fish_prt_use_package.fish
share/fish/functions/__fish_prt_use_port.fish
share/fish/functions/__fish_seen_subcommand_from.fish
share/fish/functions/__fish_test_arg.fish
share/fish/functions/__fish_use_subcommand.fish
share/fish/functions/alias.fish
share/fish/functions/cd.fish
share/fish/functions/delete-or-exit.fish
share/fish/functions/dirh.fish
share/fish/functions/dirs.fish
share/fish/functions/down-or-search.fish
share/fish/functions/eval.fish
share/fish/functions/fish_default_key_bindings.fish
share/fish/functions/fish_prompt.fish
share/fish/functions/funced.fish
share/fish/functions/funcsave.fish
share/fish/functions/grep.fish
share/fish/functions/help.fish
share/fish/functions/isatty.fish
share/fish/functions/la.fish
share/fish/functions/ll.fish
share/fish/functions/ls.fish
share/fish/functions/math.fish
share/fish/functions/nextd-or-forward-word.fish
share/fish/functions/nextd.fish
share/fish/functions/open.fish
share/fish/functions/popd.fish
share/fish/functions/prevd-or-backward-word.fish
share/fish/functions/prevd.fish
share/fish/functions/prompt_pwd.fish
share/fish/functions/psub.fish
share/fish/functions/pushd.fish
share/fish/functions/pwd.fish
share/fish/functions/setenv.fish
share/fish/functions/sgrep.fish
share/fish/functions/trap.fish
share/fish/functions/type.fish
share/fish/functions/umask.fish
share/fish/functions/up-or-search.fish
share/fish/functions/vared.fish
share/fish/man/alias.1
share/fish/man/and.1
share/fish/man/begin.1
share/fish/man/bg.1
share/fish/man/bind.1
share/fish/man/block.1
share/fish/man/break.1
share/fish/man/breakpoint.1
share/fish/man/builtin.1
share/fish/man/case.1
share/fish/man/cd.1
share/fish/man/command.1
share/fish/man/commandline.1
share/fish/man/complete.1
share/fish/man/contains.1
share/fish/man/continue.1
share/fish/man/count.1
share/fish/man/dirh.1
share/fish/man/dirs.1
share/fish/man/else.1
share/fish/man/emit.1
share/fish/man/end.1
share/fish/man/eval.1
share/fish/man/exec.1
share/fish/man/exit.1
share/fish/man/fg.1
share/fish/man/fish.1
share/fish/man/fish_indent.1
share/fish/man/fish_pager.1
share/fish/man/fish_prompt.1
share/fish/man/fishd.1
share/fish/man/for.1
share/fish/man/funced.1
share/fish/man/funcsave.1
share/fish/man/function.1
share/fish/man/functions.1
share/fish/man/help.1
share/fish/man/if.1
share/fish/man/isatty.1
share/fish/man/jobs.1
share/fish/man/math.1
share/fish/man/mimedb.1
share/fish/man/nextd.1
share/fish/man/not.1
share/fish/man/open.1
share/fish/man/or.1
share/fish/man/popd.1
share/fish/man/prevd.1
share/fish/man/psub.1
share/fish/man/pushd.1
share/fish/man/random.1
share/fish/man/read.1
share/fish/man/return.1
share/fish/man/set.1
share/fish/man/set_color.1
share/fish/man/source.1
share/fish/man/status.1
share/fish/man/switch.1
share/fish/man/trap.1
share/fish/man/type.1
share/fish/man/ulimit.1
share/fish/man/umask.1
share/fish/man/vared.1
share/fish/man/while.1

9
shells/fish/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.1 2012/12/12 13:21:42 wiz Exp $
SHA1 (fish-1.23.1.tar.gz) = 7b839ffc5b260f1bd1782e4adf84300f5438f833
RMD160 (fish-1.23.1.tar.gz) = b77fe7ffec4ae52b82c1c86b2dc7037306c5fede
Size (fish-1.23.1.tar.gz) = 1152997 bytes
SHA1 (patch-Makefile.in) = d92c531cb15e511f1a712d98a64e222b3316fcdd
SHA1 (patch-configure) = 3d4cd5ed6cff65768f4f99ae196449e01d3f7ef1
SHA1 (patch-proc.h) = 7ac0b704f6ee1b1e966f0bfdc87dfa1e23e9c338
SHA1 (patch-screen.c) = eae536bb965bd2a236a5cd3ff44e5ddbeb24f519

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-Makefile.in,v 1.1 2012/12/12 13:21:42 wiz Exp $
Install configuration files to EGDIR
--- Makefile.in.orig 2009-03-08 14:46:47.000000000 +0000
+++ Makefile.in
@@ -569,12 +569,12 @@ install-force: all install-translations
for i in $(PROGRAMS); do\
$(INSTALL) -m 755 $$i $(DESTDIR)$(bindir) ; \
done;
- $(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)/fish
+ $(INSTALL) -m 755 -d $(DESTDIR)$(EGDIR)/fish
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/completions
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/functions
$(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/fish/man
- $(INSTALL) -m 644 etc/config.fish $(DESTDIR)$(sysconfdir)/fish/
+ $(INSTALL) -m 644 etc/config.fish $(DESTDIR)$(EGDIR)/fish/
$(INSTALL) -m 644 share/config.fish $(DESTDIR)$(datadir)/fish/
for i in $(COMPLETIONS_DIR_FILES); do \
$(INSTALL) -m 644 $$i $(DESTDIR)$(datadir)/fish/completions/; \

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-configure,v 1.1 2012/12/12 13:21:42 wiz Exp $
Expand variable where it's defined
--- configure.orig 2009-03-08 14:46:47.000000000 +0000
+++ configure
@@ -740,7 +740,7 @@ sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
includedir='${prefix}/include'
oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+docdir='${datarootdir}/doc/'"${PACKAGE_TARNAME}"
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-proc.h,v 1.1 2012/12/12 13:21:42 wiz Exp $
Fix missing include
--- proc.h.orig 2009-03-08 14:46:47.000000000 +0000
+++ proc.h
@@ -16,6 +16,8 @@
#include <unistd.h>
#include <sys/time.h>
+#include <termios.h>
+
#include "util.h"
#include "io.h"

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-screen.c,v 1.1 2012/12/12 13:21:42 wiz Exp $
Fix compilation on NetBSD, where init_tabs is not suitable for assignment.
--- screen.c.orig 2009-03-08 14:46:47.000000000 +0000
+++ screen.c
@@ -92,13 +93,14 @@ static int try_sequence( char *seq, wcha
*/
static int next_tab_stop( int in )
{
+ int itabs = init_tabs;
/*
Assume tab stops every 8 characters if undefined
*/
- if( init_tabs <= 0 )
- init_tabs = 8;
+ if( itabs <= 0 )
+ itabs = 8;
- return ( (in/init_tabs)+1 )*init_tabs;
+ return ( (in/itabs)+1 )*itabs;
}
/**

3
shells/heirloom-sh/DESCR Normal file
View File

@@ -0,0 +1,3 @@
The Heirloom Bourne Shell is a portable variant of the traditional Unix
shell. It has been derived from OpenSolaris code and thus implements
the SVR4/SVID3 level of the shell.

View File

@@ -0,0 +1,41 @@
# $NetBSD: Makefile,v 1.3 2012/09/11 23:25:08 asau Exp $
#
DISTNAME= heirloom-sh-050706
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=heirloom/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://heirloom.sourceforge.net/
COMMENT= Traditional Unix shell derived from OpenSolaris code
LICENSE= cddl-1.0
.include "../../mk/bsd.prefs.mk"
CPPFLAGS.Linux+= -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L
PKG_SHELL= ${PREFIX}/heirloom/bin/jsh
PKGDOCDIR= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS+= ${PKGDOCDIR}
DOC_FILES= CHANGES CALDERA.LICENSE OPENSOLARIS.LICENSE README
MAKE_FILE= makefile
MAKE_FLAGS+= ROOT=${DESTDIR}
MAKE_FLAGS+= SV3BIN=${PREFIX}/heirloom/bin
MAKE_FLAGS+= MANDIR=${PREFIX}/heirloom/man
MAKE_FLAGS+= UCBINST=${INSTALL_DATA:Q}
MAKE_FLAGS+= STRIP=true #${STRIP}
MAKE_FLAGS+= WARN=
MAKE_FLAGS+= WERROR=
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
post-install:
.for i in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PKGDOCDIR}
.endfor
.include "../../mk/bsd.pkg.mk"

9
shells/heirloom-sh/PLIST Normal file
View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/28 08:53:11 cheusov Exp $
heirloom/bin/jsh
heirloom/bin/sh
heirloom/man/man1/jsh.1
heirloom/man/man1/sh.1
share/doc/${PKGBASE}/CHANGES
share/doc/${PKGBASE}/CALDERA.LICENSE
share/doc/${PKGBASE}/OPENSOLARIS.LICENSE
share/doc/${PKGBASE}/README

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/05/28 08:53:11 cheusov Exp $
SHA1 (heirloom-sh-050706.tar.bz2) = 0ce709c21e09ef183986347cf1ed80d5884aa12d
RMD160 (heirloom-sh-050706.tar.bz2) = 584458f73e7cd2376b333de2a5fd8a13f364d516
Size (heirloom-sh-050706.tar.bz2) = 82725 bytes

4
shells/lshell/DESCR Normal file
View File

@@ -0,0 +1,4 @@
Limited Shell (lshell) provides a configurable shell per user. This is done
quite simply using a configuration file. It becomes easy to restrict user's
access to a limited set of commands, choosing to allow any command over SSH
(e.g. SCP,SFTP,rsync,etc.).

41
shells/lshell/Makefile Normal file
View File

@@ -0,0 +1,41 @@
# $NetBSD: Makefile,v 1.11 2013/06/04 07:35:15 wiz Exp $
DISTNAME= lshell-0.9.15.1
CATEGORIES= shells python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lshell/}
MAINTAINER= imil@gcu.info
HOMEPAGE= http://ghantoos.org/limited-shell-lshell/
COMMENT= Lshell restricts user's environment to specified commands
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-readline>=0nb2:../../devel/py-readline
PKG_GROUPS= lshellg
PKG_SHELL= bin/lshell
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
EGDIR= share/examples/lshell
REPLACE_INTERPRETER+= python
REPLACE.python.old= /usr/bin/env python
REPLACE.python.new= ${PYTHONBIN}
REPLACE_FILES.python= lshellmodule/lshell.py
SUBST_CLASSES+= setup
SUBST_STAGE.setup= post-patch
SUBST_FILES.setup= setup.py
SUBST_SED.setup= -e 's,/etc,${EGDIR},'
SUBST_SED.setup+= -e 's,share/man,${PKGMANDIR},'
INSTALLATION_DIRS+= ${EGDIR} ${EGDIR}/logrotate.d ${PKGMANDIR}/man1
CONF_FILES= ${PREFIX}/${EGDIR}/lshell.conf \
${PKG_SYSCONFDIR}/lshell.conf
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"

11
shells/lshell/PLIST Normal file
View File

@@ -0,0 +1,11 @@
@comment $NetBSD: PLIST,v 1.3 2010/04/11 14:37:25 imil Exp $
bin/lshell
${PYSITELIB}/lshell.py
${PYSITELIB}/lshell.pyc
${PYSITELIB}/lshell.pyo
man/man1/lshell.1
share/doc/lshell/CHANGES
share/doc/lshell/COPYING
share/doc/lshell/README
share/examples/lshell/logrotate.d/lshell
share/examples/lshell/lshell.conf

5
shells/lshell/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.6 2012/04/12 19:44:21 gls Exp $
SHA1 (lshell-0.9.15.1.tar.gz) = d35f44a7fb8ec89681e11d4eea0fc0f418b7d021
RMD160 (lshell-0.9.15.1.tar.gz) = 6d8ed6c58b7fe4be5fd1d2eae86d1f527b290641
Size (lshell-0.9.15.1.tar.gz) = 40387 bytes

10
shells/mksh/DESCR Normal file
View File

@@ -0,0 +1,10 @@
mksh is the MirBSD enhanced version of the Public Domain Korn shell (pdksh),
a Bourne-compatible shell which is largely si. milar to the original AT&T
Korn shell; mksh is the only pdksh derivate currently being actively developed.
It includes bug fixes and feature improvements, in order to produce a modern,
robust shell good for interactive and especially script use.
The code has throughoutly been cleaned up and simplified, bugs fixed, standards
compliance added, and several enhancements (for extended compatibility to other
modern shells, as well as a couple of its own) have been placed. mksh has UTF-8
support (e.g. in the emacs editing mode).

44
shells/mksh/Makefile Normal file
View File

@@ -0,0 +1,44 @@
# $NetBSD: Makefile,v 1.24 2013/05/31 12:41:58 wiz Exp $
DISTNAME= mksh-R45
PKGNAME= ${DISTNAME:S/-R/-/}
PKGREVISION= 1
CATEGORIES= shells
MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ \
http://pub.allbsd.org/MirOS/dist/mir/mksh/
SITES.${DISTNAME}.cat1.gz= ${MASTER_SITES:S/dist/cats/}
EXTRACT_SUFX= .tgz
MAINTAINER= ahoka@NetBSD.org
HOMEPAGE= http://mirbsd.de/mksh
COMMENT= MirBSD Korn Shell
LICENSE= miros
WRKSRC= ${WRKDIR}/mksh
WRKBUILD?= ${WRKSRC}
PKG_INSTALLATION_TYPES= pkgviews overwrite
PKG_SHELL= bin/mksh
LIBS.Interix+= -lcrypt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/mksh
do-build:
cd ${WRKBUILD} && LIBS=${LIBS:Q} CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
CPPFLAGS=${CPPFLAGS:Q} LDFLAGS=${LDFLAGS:Q} \
${TOOLS_SHELL} ${WRKSRC}/Build.sh -r
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mksh ${DESTDIR}${PREFIX}/bin/mksh
${INSTALL_MAN} ${WRKSRC}/mksh.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_DATA} ${WRKSRC}/dot.mkshrc ${DESTDIR}${PREFIX}/share/examples/mksh/
# Uncomment this if you want to run the regression tests
#USE_TOOLS+= perl
#do-test:
# ${WRKBUILD}/test.sh -v
.include "../../mk/bsd.pkg.mk"

4
shells/mksh/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2013/03/23 12:18:19 joerg Exp $
bin/mksh
man/man1/mksh.1
share/examples/mksh/dot.mkshrc

6
shells/mksh/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.22 2013/04/30 17:58:44 bsiegert Exp $
SHA1 (mksh-R45.tgz) = 1a870bfb9278be3eb40b39b69829fe905f0ca812
RMD160 (mksh-R45.tgz) = b376357d4aacade3fa888f78b6257ec76affb608
Size (mksh-R45.tgz) = 346164 bytes
SHA1 (patch-mksh.1) = c6b3e16c0c4d32377f52f508f0b6632dc201173d

View File

@@ -0,0 +1,38 @@
$NetBSD: patch-mksh.1,v 1.3 2013/04/30 17:58:44 bsiegert Exp $
Kill the .Dt override and restore installation a normal man page.
--- mksh.1.orig 2013-04-26 21:23:12.000000000 +0000
+++ mksh.1
@@ -60,31 +60,11 @@
. ds en \(em
.\}
.\"
-.\" Implement .Dd with the Mdocdate RCS keyword
-.\"
-.rn Dd xD
-.de Dd
-.ie \\$1$Mdocdate: \{\
-. xD \\$2 \\$3, \\$4
-.\}
-.el .xD \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8
-..
-.\"
.\" .Dd must come before definition of .Mx, because when called
.\" with -mandoc, it might implement .Mx itself, but we want to
.\" use our own definition. And .Dd must come *first*, always.
.\"
-.Dd $Mdocdate: April 26 2013 $
-.\"
-.\" Check which macro package we use, and do other -mdoc setup.
-.\"
-.ie \n(.g \{\
-. if \*[.T]utf8 .tr \[la]\*(Lt
-. if \*[.T]utf8 .tr \[ra]\*(Gt
-. ie d volume-ds-1 .ds tT gnu
-. el .ds tT bsd
-.\}
-.el .ds tT ucb
+.Dd April 26, 2013
.\"
.\" Implement .Mx (MirBSD)
.\"

7
shells/mudsh/DESCR Normal file
View File

@@ -0,0 +1,7 @@
Is there any reason why a shell (or command line) cannot be as
tolerant or as intelligent as a text adventure game like Zork, or a
MUD (Multi User Dungeon)? Is there any reason why a shell cannot work
like such a game? ("Go North", etc.)
Actually, the answer is no and this is a perl implementation to prove it.
Have fun, and don't get eaten by a Grue!

28
shells/mudsh/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.16 2013/05/31 12:41:58 wiz Exp $
#
DISTNAME= mudsh
PKGNAME= mudsh-20010311
PKGREVISION= 2
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_FREEBSD}
EXTRACT_SUFX= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xirium.com/tech/mud-shell/index.html
COMMENT= M.U.D. game-like shell
WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
INSTALLATION_DIRS= bin
do-build:
@${CP} ${WRKSRC}/mudsh ${WRKSRC}/mudsh.orig
@${SED} -e 's|/usr/local/bin/perl|${LOCALBASE}/bin/perl|g' \
${WRKSRC}/mudsh.orig >${WRKSRC}/mudsh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mudsh ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"

2
shells/mudsh/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/18 17:10:17 cjep Exp $
bin/mudsh

Some files were not shown because too many files have changed in this diff Show More