summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-03-30 01:31:43 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-03-30 01:31:43 +0000
commitcd8572268b21b1088fbbe6148ddd33899ec7cb35 (patch)
treebdaefc95e0048afdb79b1da3e066fd36527d82c1 /shells
parentupgrade to 0.5.0 (diff)
Bash version 1.17 was much more popular than I thought.
(deleted to save space on the CDROM since I thought few were still using it)
Notes
Notes: svn path=/head/; revision=17442
Diffstat (limited to 'shells')
-rw-r--r--shells/bash1/Makefile29
-rw-r--r--shells/bash1/distinfo1
-rw-r--r--shells/bash1/files/patch-aa11
-rw-r--r--shells/bash1/files/patch-ab56
-rw-r--r--shells/bash1/files/patch-ac41
-rw-r--r--shells/bash1/files/patch-ad47
-rw-r--r--shells/bash1/files/patch-ae17
-rw-r--r--shells/bash1/files/patch-ag13
-rw-r--r--shells/bash1/files/patch-ah19
-rw-r--r--shells/bash1/pkg-comment1
-rw-r--r--shells/bash1/pkg-descr8
-rw-r--r--shells/bash1/pkg-plist8
12 files changed, 251 insertions, 0 deletions
diff --git a/shells/bash1/Makefile b/shells/bash1/Makefile
new file mode 100644
index 000000000000..4132c89a7adc
--- /dev/null
+++ b/shells/bash1/Makefile
@@ -0,0 +1,29 @@
+# ex:ts=8
+# New ports collection makefile for: bash
+# Version required: 1.14.7
+# Date created: 21 August 1994
+# Whom: jkh
+#
+# $Id: Makefile,v 1.28 1999/01/27 07:41:26 fenner Exp $
+#
+
+DISTNAME= bash-1.14.7
+CATEGORIES= shells
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= bash
+
+MAINTAINER= obrien@FreeBSD.org
+
+NO_LATEST_LINK= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}
+# Don't compress manpages or .so not works.
+NOMANCOMPRESS= yes
+MAN1= bash.1 bash_builtins.1
+
+post-install:
+ @if [ ! -f ${PREFIX}/info/dir ]; then \
+ ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
+ fi
+ @install-info ${PREFIX}/info/bash.info ${PREFIX}/info/dir
+
+.include <bsd.port.mk>
diff --git a/shells/bash1/distinfo b/shells/bash1/distinfo
new file mode 100644
index 000000000000..721cbbd91ab6
--- /dev/null
+++ b/shells/bash1/distinfo
@@ -0,0 +1 @@
+MD5 (bash-1.14.7.tar.gz) = 2ba8f27c9861d57826e695278a240a04
diff --git a/shells/bash1/files/patch-aa b/shells/bash1/files/patch-aa
new file mode 100644
index 000000000000..44de65ec4a75
--- /dev/null
+++ b/shells/bash1/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.orig Sun Jun 11 11:41:48 1995
++++ Makefile Wed Aug 13 00:41:35 1997
+@@ -10,7 +10,7 @@
+ # If you haven't read README, now might be a good time.
+
+ # Include some boilerplate Gnu makefile definitions.
+-prefix = /usr/local
++prefix = $(PREFIX)
+ exec_prefix = $(prefix)
+ bindir = $(exec_prefix)/bin
+ srcdir = .
diff --git a/shells/bash1/files/patch-ab b/shells/bash1/files/patch-ab
new file mode 100644
index 000000000000..908154888e5c
--- /dev/null
+++ b/shells/bash1/files/patch-ab
@@ -0,0 +1,56 @@
+*** cpp-Makefile.orig Sun Jun 11 22:44:05 1995
+--- cpp-Makefile Wed Jul 19 20:17:18 1995
+***************
+*** 133,139 ****
+--- 133,143 ----
+ /usr/include. Then it will break.) */
+ CC = gcc -traditional -I/usr/include $(GCC_EXTRAS)
+ # else /* HAVE_FIXED_INCLUDES */
++ #ifdef __FreeBSD__
++ CC += $(GCC_EXTRAS)
++ #else
+ CC = gcc $(GCC_EXTRAS)
++ #endif
+ # endif /* HAVE_FIXED_INCLUDES */
+ #else /* !HAVE_GCC */
+ CC = CPP_CC
+***************
+*** 151,158 ****
+--- 155,167 ----
+ AR = ar
+
+ INSTALL = $(SUPPORT_SRC)install.sh
++ #ifndef __FreeBSD__
+ INSTALL_PROGRAM = $(INSTALL) -c
+ INSTALL_DATA = $(INSTALL) -c -m 644
++ #else
++ INSTALL_PROGRAM = install -c -o bin -g bin -m 555
++ INSTALL_DATA = install -c -o bin -g bin -m 644
++ #endif
+
+ COMPRESS = gzip
+ COMPRESS_EXT = .gz
+***************
+*** 300,306 ****
+--- 309,317 ----
+ /**/# The GNU coding standards don't recognize the possibility that
+ /**/# other information besides optimization and debugging might be
+ /**/# passed to cc. A different name should have been used.
++ #ifndef __FreeBSD__
+ CFLAGS = -O -g
++ #endif
+
+ SYSTEM_FLAGS = $(LINEBUF) $(VPRINTF) $(UNISTD) $(STDLIB) $(LIMITSH) \
+ $(GROUPS) $(RESOURCE) $(PARAM) $(SIGHANDLER) $(SYSDEP) $(WAITH) \
+***************
+*** 308,313 ****
+--- 319,327 ----
+ $(VARARGSH) $(STRCHR) $(STRCASE) $(DEVFD) \
+ -D$(Machine) -D$(OS)
+ LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(PROFILE_FLAGS) $(CFLAGS)
++ #ifdef __FreeBSD__
++ LDFLAGS += -s
++ #endif
+ CCFLAGS = $(PROFILE_FLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
+ $(MALLOC_CFLAGS) $(CFLAGS)
+ CPPFLAGS= -I. -I$(srcdir) -I$(LIBSRC)
diff --git a/shells/bash1/files/patch-ac b/shells/bash1/files/patch-ac
new file mode 100644
index 000000000000..4176de4b36a0
--- /dev/null
+++ b/shells/bash1/files/patch-ac
@@ -0,0 +1,41 @@
+*** readline.c.orig Wed May 24 18:43:28 1995
+--- lib/readline/readline.c Wed Jul 19 20:26:53 1995
+***************
+*** 958,964 ****
+ static void
+ readline_initialize_everything ()
+ {
+! char *t;
+
+ /* Find out if we are running in Emacs. */
+ running_in_emacs = getenv ("EMACS") != (char *)0;
+--- 958,964 ----
+ static void
+ readline_initialize_everything ()
+ {
+! char *t, *t1;
+
+ /* Find out if we are running in Emacs. */
+ running_in_emacs = getenv ("EMACS") != (char *)0;
+***************
+*** 993,1000 ****
+ /* Check for LC_CTYPE and use its value to decide the defaults for
+ 8-bit character input and output. */
+ t = getenv ("LC_CTYPE");
+! if (t && (strcmp (t, "iso-8859-1") == 0 || strcmp (t, "iso_8859_1") == 0 ||
+! strcmp (t, "ISO-8859-1") == 0))
+ {
+ _rl_meta_flag = 1;
+ _rl_convert_meta_chars_to_ascii = 0;
+--- 993,1003 ----
+ /* Check for LC_CTYPE and use its value to decide the defaults for
+ 8-bit character input and output. */
+ t = getenv ("LC_CTYPE");
+! t1 = getenv ("LANG");
+! if (t && (strstr (t, "8859-1") != NULL || strstr (t, "8859_1") != NULL ||
+! strstr (t, "KOI8-R") != NULL || strstr (t, "koi8-r") != NULL) ||
+! t1 && (strstr (t1, "8859-1") != NULL || strstr (t1, "8859_1") != NULL ||
+! strstr (t1, "KOI8-R") != NULL || strstr (t1, "koi8-r") != NULL))
+ {
+ _rl_meta_flag = 1;
+ _rl_convert_meta_chars_to_ascii = 0;
diff --git a/shells/bash1/files/patch-ad b/shells/bash1/files/patch-ad
new file mode 100644
index 000000000000..956d4d2ddbd0
--- /dev/null
+++ b/shells/bash1/files/patch-ad
@@ -0,0 +1,47 @@
+*** documentation/Makefile.orig Mon Jun 12 03:45:55 1995
+--- documentation/Makefile Mon Jun 16 19:30:13 1997
+***************
+*** 49,55 ****
+ $(RM) $@
+ ${NROFF} -man $< > $@
+
+! all: ps info dvi text
+
+ ps: bash.ps readline.ps article.ps
+ dvi: features.dvi features.ps
+--- 49,55 ----
+ $(RM) $@
+ ${NROFF} -man $< > $@
+
+! all: info # ps dvi text
+
+ ps: bash.ps readline.ps article.ps
+ dvi: features.dvi features.ps
+***************
+*** 90,101 ****
+
+ installdirs:
+ -[ -d $(mandir) ] || mkdir $(mandir)
+! -[ -d $(man3dir) ] || mkdir $(man3dir)
+ -[ -d $(infodir) ] || mkdir $(infodir)
+
+ install: all installdirs
+ $(INSTALL_DATA) bash.1 $(mandir)
+! $(INSTALL_DATA) readline.3 $(man3dir)
+ $(INSTALL_DATA) features.info $(infodir)/bash.info
+
+ uninstall:
+--- 90,102 ----
+
+ installdirs:
+ -[ -d $(mandir) ] || mkdir $(mandir)
+! # -[ -d $(man3dir) ] || mkdir $(man3dir)
+ -[ -d $(infodir) ] || mkdir $(infodir)
+
+ install: all installdirs
+ $(INSTALL_DATA) bash.1 $(mandir)
+! $(INSTALL_DATA) builtins.1 $(mandir)/bash_builtins.1
+! # $(INSTALL_DATA) readline.3 $(man3dir)
+ $(INSTALL_DATA) features.info $(infodir)/bash.info
+
+ uninstall:
diff --git a/shells/bash1/files/patch-ae b/shells/bash1/files/patch-ae
new file mode 100644
index 000000000000..ec58ff4ae41a
--- /dev/null
+++ b/shells/bash1/files/patch-ae
@@ -0,0 +1,17 @@
+*** documentation/builtins.1.bak Sat Sep 18 00:06:53 1993
+--- documentation/builtins.1 Wed Oct 4 23:29:49 1995
+***************
+*** 10,15 ****
+ unset, until, wait, while \- bash built-in commands, see \fBbash\fR(1)
+ .SH BASH BUILTIN COMMANDS
+ .nr zZ 1
+! .so bash.1
+ .SH SEE ALSO
+ bash(1), sh(1)
+--- 10,15 ----
+ unset, until, wait, while \- bash built-in commands, see \fBbash\fR(1)
+ .SH BASH BUILTIN COMMANDS
+ .nr zZ 1
+! .so man1/bash.1
+ .SH SEE ALSO
+ bash(1), sh(1)
diff --git a/shells/bash1/files/patch-ag b/shells/bash1/files/patch-ag
new file mode 100644
index 000000000000..56b74093c828
--- /dev/null
+++ b/shells/bash1/files/patch-ag
@@ -0,0 +1,13 @@
+--- documentation/features.texi.orig Fri Aug 5 04:26:21 1994
++++ documentation/features.texi Mon Jun 16 19:16:56 1997
+@@ -2,6 +2,10 @@
+ @c %**start of header
+ @setfilename features.info
+ @settitle Bash Features
++@dircategory Shells
++@direntry
++* Bash: (bash). GNU Bourne-Again SHell.
++@end direntry
+ @c %**end of header
+
+ @ignore
diff --git a/shells/bash1/files/patch-ah b/shells/bash1/files/patch-ah
new file mode 100644
index 000000000000..14fcc43adb85
--- /dev/null
+++ b/shells/bash1/files/patch-ah
@@ -0,0 +1,19 @@
+*** machines.h.orig Fri Jun 27 10:54:20 1997
+--- machines.h Fri Jun 27 10:54:22 1997
+***************
+*** 63,69 ****
+ some machines, our malloc () cannot be used (because of library
+ conflicts, for example), and for those, you should specifically
+ #undef USE_GNU_MALLOC in the machine description. */
+! #define USE_GNU_MALLOC
+
+ /* This causes the Gnu malloc library (from glibc) to be used. */
+ /* #define USE_GNU_MALLOC_LIBRARY */
+--- 63,69 ----
+ some machines, our malloc () cannot be used (because of library
+ conflicts, for example), and for those, you should specifically
+ #undef USE_GNU_MALLOC in the machine description. */
+! #undef USE_GNU_MALLOC
+
+ /* This causes the Gnu malloc library (from glibc) to be used. */
+ /* #define USE_GNU_MALLOC_LIBRARY */
diff --git a/shells/bash1/pkg-comment b/shells/bash1/pkg-comment
new file mode 100644
index 000000000000..00c70ad756d8
--- /dev/null
+++ b/shells/bash1/pkg-comment
@@ -0,0 +1 @@
+The GNU Borne Again Shell.
diff --git a/shells/bash1/pkg-descr b/shells/bash1/pkg-descr
new file mode 100644
index 000000000000..497fcff47de1
--- /dev/null
+++ b/shells/bash1/pkg-descr
@@ -0,0 +1,8 @@
+Bash is the GNU Project's Bourne
+Again SHell, an interactive shell with Bourne shell syntax (/bin/sh);
+but also with interactive command line editing, job control on
+architectures that support it, Csh-like history features and brace
+expansion, and a slew of other stuff. For more information on the
+features of Bash that are new to this type of shell, see the file
+`documentation/features.texi'. There is also a processed DVI file
+there, as well as a large man page.
diff --git a/shells/bash1/pkg-plist b/shells/bash1/pkg-plist
new file mode 100644
index 000000000000..23adcc6bb7b4
--- /dev/null
+++ b/shells/bash1/pkg-plist
@@ -0,0 +1,8 @@
+bin/bash
+@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
+@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells
+bin/bashbug
+@unexec install-info --delete %D/info/bash.info %D/info/dir
+info/bash.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/bash.info %D/info/dir