diff options
author | hubertf <hubertf> | 1997-10-27 04:51:39 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1997-10-27 04:51:39 +0000 |
commit | 0694f0ed299cfac52a31cff813e0c090ea9f73e6 (patch) | |
tree | 753888b60a1844e26eff7474aa304d77054fc467 /shells/bash2 | |
parent | 15ab18420a003e4c4604071bea5ed6c2a7b504ba (diff) | |
download | pkgsrc-0694f0ed299cfac52a31cff813e0c090ea9f73e6.tar.gz |
get everything in
Diffstat (limited to 'shells/bash2')
-rw-r--r-- | shells/bash2/Makefile | 52 | ||||
-rw-r--r-- | shells/bash2/files/md5 | 2 | ||||
-rw-r--r-- | shells/bash2/patches/patch-aa | 21 | ||||
-rw-r--r-- | shells/bash2/patches/patch-ab | 19 | ||||
-rw-r--r-- | shells/bash2/patches/patch-ac | 19 | ||||
-rw-r--r-- | shells/bash2/patches/patch-ae | 16 | ||||
-rw-r--r-- | shells/bash2/pkg/COMMENT | 1 | ||||
-rw-r--r-- | shells/bash2/pkg/DESCR | 8 | ||||
-rw-r--r-- | shells/bash2/pkg/PLIST | 13 |
9 files changed, 151 insertions, 0 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile new file mode 100644 index 00000000000..577cf35e36f --- /dev/null +++ b/shells/bash2/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: bash +# Version required: 2.01 +# Date created: 21 August 1994 +# Whom: jkh +# +# $NetBSD: Makefile,v 1.1.1.1 1997/10/27 04:51:39 hubertf Exp $ +# FreeBSD Id: Makefile,v 1.26 1997/06/27 23:03:27 ache Exp +# + +DISTNAME= bash-2.01 +CATEGORIES= shells +MASTER_SITES= ftp://slc2.ins.cwru.edu/pub/dist/ \ + ${MASTER_SITE_GNU} +.if !defined(NOPORTDOCS) +DISTFILES= bash-2.01.tar.gz bash-doc-2.01.tar.gz +.endif + +MAINTAINER= ache@FreeBSD.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; \ + fi + +post-install: + ${CP} /etc/shells /etc/shells.bak + (${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; echo ${PREFIX}/bin/bash) >/etc/shells + ${RM} /etc/shells.bak +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/bash + ${INSTALL_MAN} \ + ${WRKDIR}/bash-doc-2.01/doc/article.ps \ + ${WRKDIR}/bash-doc-2.01/doc/bashref.ps \ + ${PREFIX}/share/doc/bash + ${INSTALL_MAN} \ + ${WRKDIR}/bash-doc-2.01/doc/bash.html \ + ${WRKDIR}/bash-doc-2.01/doc/bashref.html \ + ${WRKDIR}/bash-doc-2.01/doc/bashref_toc.html \ + ${PREFIX}/share/doc/bash + ${INSTALL_MAN} \ + ${WRKDIR}/bash-doc-2.01/doc/article.txt \ + ${PREFIX}/share/doc/bash + ${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps +.endif + +.include <bsd.port.mk> diff --git a/shells/bash2/files/md5 b/shells/bash2/files/md5 new file mode 100644 index 00000000000..79d2c265685 --- /dev/null +++ b/shells/bash2/files/md5 @@ -0,0 +1,2 @@ +MD5 (bash-2.01.tar.gz) = 51837bb4662144b64bd874585c057752 +MD5 (bash-doc-2.01.tar.gz) = 5f2f59032f9dd63dde0e464af5b5346c diff --git a/shells/bash2/patches/patch-aa b/shells/bash2/patches/patch-aa new file mode 100644 index 00000000000..16d0302deba --- /dev/null +++ b/shells/bash2/patches/patch-aa @@ -0,0 +1,21 @@ +*** 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: diff --git a/shells/bash2/patches/patch-ab b/shells/bash2/patches/patch-ab new file mode 100644 index 00000000000..46c5e4f858c --- /dev/null +++ b/shells/bash2/patches/patch-ab @@ -0,0 +1,19 @@ +*** 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) \ diff --git a/shells/bash2/patches/patch-ac b/shells/bash2/patches/patch-ac new file mode 100644 index 00000000000..69790098164 --- /dev/null +++ b/shells/bash2/patches/patch-ac @@ -0,0 +1,19 @@ +*** 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 diff --git a/shells/bash2/patches/patch-ae b/shells/bash2/patches/patch-ae new file mode 100644 index 00000000000..d29f6b5493c --- /dev/null +++ b/shells/bash2/patches/patch-ae @@ -0,0 +1,16 @@ +--- 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) diff --git a/shells/bash2/pkg/COMMENT b/shells/bash2/pkg/COMMENT new file mode 100644 index 00000000000..00c70ad756d --- /dev/null +++ b/shells/bash2/pkg/COMMENT @@ -0,0 +1 @@ +The GNU Borne Again Shell. diff --git a/shells/bash2/pkg/DESCR b/shells/bash2/pkg/DESCR new file mode 100644 index 00000000000..497fcff47de --- /dev/null +++ b/shells/bash2/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/bash2/pkg/PLIST b/shells/bash2/pkg/PLIST new file mode 100644 index 00000000000..34e6a439bb6 --- /dev/null +++ b/shells/bash2/pkg/PLIST @@ -0,0 +1,13 @@ +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 +man/man1/bash.1.gz +man/man1/bashbug.1.gz +info/bash.info +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 |