upgrade to bash-2.01.1; Make "check /etc/shells" message

stand out; update DESC; update PLIST so a package can be generated;
verify package add and delete work correctly.
This commit is contained in:
marc 1998-03-30 22:03:43 +00:00
parent a08d6cbe1c
commit 44499a41cb
8 changed files with 39 additions and 100 deletions

View File

@ -1,17 +1,16 @@
# OpenBSD makefile for: bash
# Version required: 2.01
# Version required: 2.01.1
# Date created: 17 November 1997
# Whom: gene
#
# $OpenBSD: Makefile,v 1.4 1997/12/13 00:07:24 gene Exp $
# $OpenBSD: Makefile,v 1.5 1998/03/30 22:03:43 marc Exp $
#
DISTNAME= bash-2.01
DISTNAME= bash-2.01.1
CATEGORIES= shells
MASTER_SITES= ftp://slc2.ins.cwru.edu/pub/dist/ \
${MASTER_SITE_GNU}
MASTER_SITES= ${MASTER_SITE_GNU}
.if !defined(NOPORTDOCS)
DISTFILES= bash-2.01.tar.gz bash-doc-2.01.tar.gz
DISTFILES= bash-2.01.1.tar.gz bash-doc-2.01.tar.gz
.endif
MAINTAINER= gene@OpenBSD.ORG
@ -19,9 +18,6 @@ MAINTAINER= gene@OpenBSD.ORG
GNU_CONFIGURE= Yes
MAN1= bash.1 bashbug.1
post-patch:
$(CP) /usr/include/fnmatch.h ${WRKSRC}/lib/glob/fnmatch.h
pre-install:
if [ ! -s ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
@ -44,11 +40,14 @@ post-install:
${PREFIX}/share/doc/bash
${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps
.endif
@$(ECHO) "Finished installing $(DISTNAME)"
@$(ECHO) "To complete the install, you should notify the system"
@$(ECHO) "that $(PREFIX)/bin/bash is a valid shell by adding it to"
@$(ECHO) "/etc/shells."
@$(ECHO) "If you are unfamiliar with this file, consult the shells(5)"
@$(ECHO) "manual page."
@${ECHO} ""
@${ECHO} "*** Finished installing $(DISTNAME)"
@${ECHO} "*** To complete the install, you should notify the system"
@${ECHO} "*** that $(PREFIX)/bin/bash is a valid shell by adding it to"
@${ECHO} "*** the file /etc/shells."
@${ECHO} "***"
@${ECHO} "*** If you are unfamiliar with this file, consult the"
@${ECHO} "*** shells(5) manual page."
@${ECHO} ""
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (bash-2.01.tar.gz) = 51837bb4662144b64bd874585c057752
MD5 (bash-2.01.1.tar.gz) = 556e0b6c98c1fdb88b25a5d783f4a655
MD5 (bash-doc-2.01.tar.gz) = 5f2f59032f9dd63dde0e464af5b5346c

View File

@ -1,21 +0,0 @@
*** doc/Makefile.in.bak Fri Jan 31 00:12:33 1997
--- doc/Makefile.in Sat Jun 28 02:23:01 1997
***************
*** 155,161 ****
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall:
--- 155,163 ----
-$(INSTALL_DATA) $(srcdir)/bashref.info $(infodir)/bash.info
# run install-info if it is present to update the info directory
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
! install-info \
! --defentry="* BASH: (bash). Bash Reference Manual." \
! --dir-file=$(infodir)/dir $(infodir)/bash.info; \
else true; fi
uninstall:

View File

@ -1,19 +0,0 @@
*** Makefile.in.bak Wed Dec 18 22:57:21 1996
--- Makefile.in Fri Dec 27 14:20:11 1996
***************
*** 499,505 ****
install: .made installdirs
$(INSTALL_PROGRAM) $(Program) $(bindir)/$(Program)
! $(INSTALL_PROGRAM) bashbug $(bindir)/bashbug
-( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
man1dir=$(man1dir) man1ext=$(man1ext) \
man3dir=$(man3dir) man3ext=$(man3ext) \
--- 499,505 ----
install: .made installdirs
$(INSTALL_PROGRAM) $(Program) $(bindir)/$(Program)
! $(INSTALL) -m 555 bashbug $(bindir)/bashbug
-( cd $(DOCDIR) ; $(MAKE) $(MFLAGS) \
man1dir=$(man1dir) man1ext=$(man1ext) \
man3dir=$(man3dir) man3ext=$(man3ext) \

View File

@ -1,19 +0,0 @@
*** lib/glob/Makefile.in.orig Fri Oct 4 19:02:34 1996
--- lib/glob/Makefile.in Tue May 27 01:48:43 1997
***************
*** 45,51 ****
# The header files for this library.
HSOURCES = $(srcdir)/fnmatch.h
! OBJECTS = glob.o fnmatch.o
# The texinfo files which document this library.
DOCSOURCE = doc/glob.texi
--- 45,51 ----
# The header files for this library.
HSOURCES = $(srcdir)/fnmatch.h
! OBJECTS = glob.o #fnmatch.o
# The texinfo files which document this library.
DOCSOURCE = doc/glob.texi

View File

@ -1,16 +0,0 @@
--- builtins/enable.def~ Wed Oct 2 13:47:05 1996
+++ builtins/enable.def Tue May 6 14:18:09 1997
@@ -284,9 +284,10 @@
name = list->word->word;
size = strlen (name);
- struct_name = xmalloc (size + 8);
- strcpy (struct_name, name);
- strcpy (struct_name + size, "_struct");
+ struct_name = xmalloc (size + 9);
+ *struct_name = '_';
+ strcpy (struct_name + 1, name);
+ strcpy (struct_name + size + 1, "_struct");
b = (struct builtin *)dlsym (handle, struct_name);
if (b == 0)

View File

@ -1,8 +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.
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.

View File

@ -1,12 +1,27 @@
bin/bash
@unexec echo "Don't forget to remove bash from /etc/shells"
bin/bashbug
man/man1/bash.1
man/man1/bashbug.1
@unexec install-info --delete %D/info/bash.info %D/info/dir
info/bash.info
@exec install-info %D/info/bash.info %D/info/dir
@exec if [ ! -d %D/share/doc/bash ]; then mkdir -p %D/share/doc/bash; fi
share/doc/bash/article.ps.gz
share/doc/bash/bashref.ps.gz
share/doc/bash/bash.html
share/doc/bash/bashref.html
share/doc/bash/bashref_toc.html
share/doc/bash/article.txt
@dirrm share/doc/bash
@exec echo ""
@exec echo "*** Finished installing bash-2.01.1."
@exec echo "*** To complete the install, you should notify the system"
@exec echo "*** that %D/bin/bash is a valid shell by adding it to"
@exec echo "*** the file /etc/shells."
@exec echo "***"
@exec echo "*** If you are unfamiliar with this file, consult the"
@exec echo "*** shells(5) manual page."
@exec echo ""
@unexec echo ""
@unexec echo "*** Don't forget to remove bash from /etc/shells"
@unexec echo ""