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

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;