From bc41893dd361495d09d13a77c871f123899bbefe Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Sat, 13 Jun 2009 22:29:30 +0200 Subject: [PATCH] tcsh: moved from core --- tcsh/.footprint | 10 ++++++++++ tcsh/.md5sum | 4 ++++ tcsh/Pkgfile | 23 +++++++++++++++++++++++ tcsh/csh.cshrc | 22 ++++++++++++++++++++++ tcsh/csh.login | 5 +++++ tcsh/csh.logout | 5 +++++ 6 files changed, 69 insertions(+) create mode 100644 tcsh/.footprint create mode 100644 tcsh/.md5sum create mode 100644 tcsh/Pkgfile create mode 100644 tcsh/csh.cshrc create mode 100644 tcsh/csh.login create mode 100644 tcsh/csh.logout diff --git a/tcsh/.footprint b/tcsh/.footprint new file mode 100644 index 000000000..1090acd01 --- /dev/null +++ b/tcsh/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root bin/ +-rwxr-xr-x root/root bin/tcsh +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/csh.cshrc +-rw-r--r-- root/root etc/csh.login +-rw-r--r-- root/root etc/csh.logout +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/tcsh.1.gz diff --git a/tcsh/.md5sum b/tcsh/.md5sum new file mode 100644 index 000000000..4c3c538f9 --- /dev/null +++ b/tcsh/.md5sum @@ -0,0 +1,4 @@ +e722a4480a48f445df762091de3aa76e csh.cshrc +74ee67af79e23951b7c997e25edc5ab5 csh.login +057fad717fcfaf03c6dc3a4cc4c6b604 csh.logout +55f1a41512250168ec4bf1db0e246db4 tcsh-6.16.00.tar.gz diff --git a/tcsh/Pkgfile b/tcsh/Pkgfile new file mode 100644 index 000000000..586072df5 --- /dev/null +++ b/tcsh/Pkgfile @@ -0,0 +1,23 @@ +# Description: Enhanced version of the Berkeley C shell (csh) +# URL: http://www.tcsh.org +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: ncurses + +name=tcsh +version=6.16 +release=1 +source=(ftp://ftp.astron.com/pub/tcsh/$name-$version.00.tar.gz \ + csh.login csh.logout csh.cshrc) + +build() { + cd $name-$version.00 + + ./configure --prefix= --mandir=/usr/man + make + make DESTDIR=$PKG install install.man + + install -d $PKG/etc + install -m 644 $SRC/csh.* $PKG/etc + + chmod -R +w $PKG +} diff --git a/tcsh/csh.cshrc b/tcsh/csh.cshrc new file mode 100644 index 000000000..22754634c --- /dev/null +++ b/tcsh/csh.cshrc @@ -0,0 +1,22 @@ +# +# /etc/csh.cshrc: tcsh(1) configuration +# + +if ( "$uid" == "0" ) then + setenv PATH "/sbin:/usr/sbin:/bin:/usr/bin:/opt/bin" +else + setenv PATH "/bin:/usr/bin:/opt/bin" +endif + +if ( ! -f ~/.inputrc ) then + setenv INPUTRC "/etc/inputrc" +endif + +setenv LESSCHARSET "latin1" +setenv LESS "-R" +setenv CHARSET "ISO-8859-1" +set prompt="%B$ " + +umask 022 + +# End of file diff --git a/tcsh/csh.login b/tcsh/csh.login new file mode 100644 index 000000000..2fcd1a472 --- /dev/null +++ b/tcsh/csh.login @@ -0,0 +1,5 @@ +# +# /etc/csh.login: tcsh(1) configuration +# + +# End of file diff --git a/tcsh/csh.logout b/tcsh/csh.logout new file mode 100644 index 000000000..59266ed7b --- /dev/null +++ b/tcsh/csh.logout @@ -0,0 +1,5 @@ +# +# /etc/csh.logout: tcsh(1) configuration +# + +# End of file