diff options
author | cjep <cjep@pkgsrc.org> | 2002-08-20 20:52:29 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-08-20 20:52:29 +0000 |
commit | 5f9fb649b758dd98f031c70eef584db320774fe0 (patch) | |
tree | aff78da98e72f4e09bdaa6f6b6b69a65318fad8e /shells/osh | |
parent | 6ef414aee428004546283540c55bdef868d48e5f (diff) | |
download | pkgsrc-5f9fb649b758dd98f031c70eef584db320774fe0.tar.gz |
Initial import of osh-020214 into the NetBSD packages collection
as shells/osh.
Osh is a re-implementation of the old and obsolete shell version,
which was in standard use up to UNIX 6th Edition and was supplied
as osh with UNIX 7th Edition. Its command language is a sparse
subset of those of modern shells and is mostly common both to sh(1)
and csh(1).
This pkgsrc entry is based on the FreeBSD ports entry for osh.
Diffstat (limited to 'shells/osh')
-rw-r--r-- | shells/osh/DESCR | 8 | ||||
-rw-r--r-- | shells/osh/Makefile | 20 | ||||
-rw-r--r-- | shells/osh/PLIST | 9 | ||||
-rw-r--r-- | shells/osh/distinfo | 5 | ||||
-rw-r--r-- | shells/osh/patches/patch-aa | 27 |
5 files changed, 69 insertions, 0 deletions
diff --git a/shells/osh/DESCR b/shells/osh/DESCR new file mode 100644 index 00000000000..b092e1c7817 --- /dev/null +++ b/shells/osh/DESCR @@ -0,0 +1,8 @@ +Osh is a re-implementation of the old and obsolete shell version, +which was in standard use up to UNIX 6th Edition and was supplied +as osh with UNIX 7th Edition. Its command language is a sparse +subset of those of modern shells and is mostly common both to sh(1) +and csh(1). + +- George Reid +greid@ukug.uk.freebsd.org diff --git a/shells/osh/Makefile b/shells/osh/Makefile new file mode 100644 index 00000000000..7a1e4670425 --- /dev/null +++ b/shells/osh/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $ +# FreeBSD Id: ports/shells/osh/Makefile,v 1.3 2002/01/29 11:58:43 knu Exp + +DISTNAME= osh-020214 +CATEGORIES= shells +MASTER_SITES= http://omnibus.ruf.uni-freiburg.de/~gritter/archive/ + +MAINTAINER= packages@netbsd.org +COMMENT= Implementation of the UNIX 6th Edition shell + +MAKEFILE= makefile + +post-install: + @${ECHO} "updating /etc/shells"; \ + ${TOUCH} /etc/shells; \ + ${CP} /etc/shells /etc/shells.bak; \ + (${GREP} -v '${PREFIX}/bin/osh' /etc/shells.bak || ${TRUE}; \ + ${ECHO} "${PREFIX}/bin/osh") > /etc/shells + +.include "../../mk/bsd.pkg.mk" diff --git a/shells/osh/PLIST b/shells/osh/PLIST new file mode 100644 index 00000000000..1f69f65ba59 --- /dev/null +++ b/shells/osh/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $ +bin/goto +bin/if +bin/osh +@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 +man/man1/goto.1 +man/man1/if.1 +man/man1/osh.1 diff --git a/shells/osh/distinfo b/shells/osh/distinfo new file mode 100644 index 00000000000..c6bb734e205 --- /dev/null +++ b/shells/osh/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $ + +SHA1 (osh-020214.tar.gz) = 3626dd0bcd2152a9173fa9fc9183674699db8ec4 +Size (osh-020214.tar.gz) = 10639 bytes +SHA1 (patch-aa) = 9f587d67a0db386b141e504fbd2b61a6c6e32d52 diff --git a/shells/osh/patches/patch-aa b/shells/osh/patches/patch-aa new file mode 100644 index 00000000000..3292d846392 --- /dev/null +++ b/shells/osh/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $ + +--- makefile.orig Thu Feb 14 00:11:14 2002 ++++ makefile +@@ -2,11 +2,10 @@ + + # CONFIGURATION + +-PREFIX = /usr/local + BINDIR = $(PREFIX)/bin + MANDIR = $(PREFIX)/man + MANSECT = $(MANDIR)/man1 +-INSTALL = /usr/ucb/install ++INSTALL = /usr/bin/install + + # CONFIGURATION ENDS + +@@ -32,6 +31,6 @@ + $(INSTALL) -c -s osh $(BINDIR) + $(INSTALL) -c -s goto $(BINDIR) + $(INSTALL) -c -s if $(BINDIR) +- $(INSTALL) -c -m 644 osh.1 $(MANSECT) +- $(INSTALL) -c -m 644 goto.1 $(MANSECT) +- $(INSTALL) -c -m 644 if.1 $(MANSECT) ++ $(INSTALL) -c -m 444 osh.1 $(MANSECT) ++ $(INSTALL) -c -m 444 goto.1 $(MANSECT) ++ $(INSTALL) -c -m 444 if.1 $(MANSECT) |