FreeBSD Bugzilla – Attachment 12365 Details for
Bug 23943
New port: osh: An implementation of the UNIX 6th Edition shell.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.74 KB, created by
George Reid
on 2000-12-29 15:50:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
George Reid
Created:
2000-12-29 15:50:01 UTC
Size:
3.74 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># osh ># osh/distinfo ># osh/files ># osh/files/patch-aa ># osh/files/patch-ab ># osh/Makefile ># osh/pkg-plist ># osh/pkg-comment ># osh/pkg-descr ># >echo c - osh >mkdir -p osh > /dev/null 2>&1 >echo x - osh/distinfo >sed 's/^X//' >osh/distinfo << 'END-of-osh/distinfo' >XMD5 (osh-001127.tar.gz) = 96cc2541d8bcdf5996243c14ea4d224a >END-of-osh/distinfo >echo c - osh/files >mkdir -p osh/files > /dev/null 2>&1 >echo x - osh/files/patch-aa >sed 's/^X//' >osh/files/patch-aa << 'END-of-osh/files/patch-aa' >X--- makefile.orig Mon Nov 27 19:32:14 2000 >X+++ makefile Fri Dec 29 15:31:35 2000 >X@@ -7,11 +7,10 @@ >X #CPPFLAGS = >X #LDFLAGS = >X #LIBS = -lefence >X-PREFIX = /usr/local >X BINDIR = $(PREFIX)/bin >X MANDIR = $(PREFIX)/man >X MANSECT = $(MANDIR)/man1 >X-INSTALL = /usr/ucb/install >X+INSTALL = /usr/bin/install >X >X # CONFIGURATION ENDS >X >X@@ -41,4 +40,4 @@ >X install: >X $(MAKE) >X $(INSTALL) -c -s $(EXE) $(BINDIR) >X- $(INSTALL) -c -m 644 $(MAN) $(MANSECT) >X+ $(INSTALL) -c -m 444 $(MAN) $(MANSECT) >END-of-osh/files/patch-aa >echo x - osh/files/patch-ab >sed 's/^X//' >osh/files/patch-ab << 'END-of-osh/files/patch-ab' >X--- osh.c.orig Fri Dec 29 15:38:16 2000 >X+++ osh.c Fri Dec 29 15:38:32 2000 >X@@ -494,9 +494,9 @@ >X if (input != stdin) >X fclose(input); >X #endif >X- sigset(SIGINT, SIG_DFL); >X- sigset(SIGQUIT, SIG_DFL); >X- sigset(SIGTERM, SIG_DFL); >X+ signal(SIGINT, SIG_DFL); >X+ signal(SIGQUIT, SIG_DFL); >X+ signal(SIGTERM, SIG_DFL); >X if (flags & FL_ASYNC) >X setpgid(0, 0); >X /* try current directory first */ >X@@ -779,9 +779,9 @@ >X if (isatty(0)) { >X interactive = 1; >X setpgid(0, 0); >X- sigset(SIGINT, SIG_IGN); >X- sigset(SIGQUIT, SIG_IGN); >X- sigset(SIGTERM, SIG_IGN); >X+ signal(SIGINT, SIG_IGN); >X+ signal(SIGQUIT, SIG_IGN); >X+ signal(SIGTERM, SIG_IGN); >X } >X } else { >X fclose(stdin); /* the external goto command needs this */ >END-of-osh/files/patch-ab >echo x - osh/Makefile >sed 's/^X//' >osh/Makefile << 'END-of-osh/Makefile' >X# New ports collection makefile for: osh >X# Date created: 29 December 2000 >X# Whom: George Reid <greid@ukug.uk.freebsd.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= osh >XPORTVERSION= 001127 >XCATEGORIES= shells >XMASTER_SITES= http://omnibus.ruf.uni-freiburg.de/~gritter/archive/ >X >XMAINTAINER= greid@ukug.uk.freebsd.org >X >XMAKEFILE= makefile >X >XMAN1= osh.1 >X >Xpost-install: >X @${ECHO} "updating /etc/shells" >X @${CP} /etc/shells /etc/shells.bak >X @(${GREP} -v ${PREFIX}/bin/osh /etc/shells.bak; \ >X ${ECHO} ${PREFIX}/bin/osh) > /etc/shells >X @${RM} /etc/shells.bak >X >X.include <bsd.port.mk> >END-of-osh/Makefile >echo x - osh/pkg-plist >sed 's/^X//' >osh/pkg-plist << 'END-of-osh/pkg-plist' >Xbin/osh >X@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells >X@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells >X >END-of-osh/pkg-plist >echo x - osh/pkg-comment >sed 's/^X//' >osh/pkg-comment << 'END-of-osh/pkg-comment' >XAn implementation of the UNIX 6th Edition shell. >END-of-osh/pkg-comment >echo x - osh/pkg-descr >sed 's/^X//' >osh/pkg-descr << 'END-of-osh/pkg-descr' >XOsh is a re-implementation of the old and obsolete shell version, >Xwhich was in standard use up to UNIX 6th Edition and was supplied >Xas osh with UNIX 7th Edition. Its command language is a sparse >Xsubset of those of modern shells and is mostly common both to sh(1) >Xand csh(1). >X >X- George Reid >Xgreid@ukug.uk.freebsd.org >END-of-osh/pkg-descr >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 23943
: 12365