forked from ports/contrib
dash: 0.5.3 -> 0.5.4 + remove /etc/profile and softlink/man page for /bin/sh
This commit is contained in:
parent
b38f9fdfa5
commit
22b4ebf0c2
@ -1,12 +1,8 @@
|
|||||||
drwxr-xr-x root/root bin/
|
drwxr-xr-x root/root bin/
|
||||||
lrwxrwxrwx root/root bin/ash -> dash
|
lrwxrwxrwx root/root bin/ash -> dash
|
||||||
-rwxr-xr-x root/root bin/dash
|
-rwxr-xr-x root/root bin/dash
|
||||||
lrwxrwxrwx root/root bin/sh -> dash
|
|
||||||
drwxr-xr-x root/root etc/
|
|
||||||
-rw-r--r-- root/root etc/profile
|
|
||||||
drwxr-xr-x root/root usr/
|
drwxr-xr-x root/root usr/
|
||||||
drwxr-xr-x root/root usr/man/
|
drwxr-xr-x root/root usr/man/
|
||||||
drwxr-xr-x root/root usr/man/man1/
|
drwxr-xr-x root/root usr/man/man1/
|
||||||
lrwxrwxrwx root/root usr/man/man1/ash.1.gz -> dash.1.gz
|
lrwxrwxrwx root/root usr/man/man1/ash.1.gz -> dash.1.gz
|
||||||
-rw-r--r-- root/root usr/man/man1/dash.1.gz
|
-rw-r--r-- root/root usr/man/man1/dash.1.gz
|
||||||
lrwxrwxrwx root/root usr/man/man1/sh.1.gz -> dash.1.gz
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
1a3cd6669459be4344ec55ec9d4914f8 dash-0.5.3.tar.gz
|
bc457e490a589d2f87f2333616b67931 dash-0.5.4.tar.gz
|
||||||
72dc12cd2771030c3c8c5435083a2364 profile
|
|
||||||
|
10
dash/Pkgfile
10
dash/Pkgfile
@ -1,15 +1,14 @@
|
|||||||
# Description: The Almquist shell, a POSIX-compliant /bin/sh implementation
|
# Description: The Almquist shell, a POSIX-compliant /bin/sh implementation
|
||||||
# URL: http://gondor.apana.org.au/~herbert/dash/
|
# URL: http://gondor.apana.org.au/~herbert/dash/
|
||||||
# Packager: Mark Rosenstand, mark at borkware dot net
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
||||||
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
||||||
#
|
#
|
||||||
# Depends on:
|
# Depends on:
|
||||||
|
|
||||||
name=dash
|
name=dash
|
||||||
version=0.5.3
|
version=0.5.4
|
||||||
release=1
|
release=1
|
||||||
source=(http://gondor.apana.org.au/~herbert/dash/files/dash-$version.tar.gz
|
source=(http://gondor.apana.org.au/~herbert/dash/files/dash-$version.tar.gz)
|
||||||
profile)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd dash-$version
|
cd dash-$version
|
||||||
@ -21,9 +20,6 @@ build() {
|
|||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
install -D -m 644 ../profile $PKG/etc/profile
|
|
||||||
ln -s dash $PKG/bin/sh
|
|
||||||
ln -s dash $PKG/bin/ash
|
ln -s dash $PKG/bin/ash
|
||||||
ln -s dash.1 $PKG/usr/man/man1/ash.1
|
ln -s dash.1 $PKG/usr/man/man1/ash.1
|
||||||
ln -s dash.1 $PKG/usr/man/man1/sh.1
|
|
||||||
}
|
}
|
||||||
|
46
dash/profile
46
dash/profile
@ -1,46 +0,0 @@
|
|||||||
#
|
|
||||||
# /etc/profile: system-wide defaults for bash(1) login shells
|
|
||||||
#
|
|
||||||
|
|
||||||
if [ "`id -u`" = "0" ]; then
|
|
||||||
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/opt/bin"
|
|
||||||
else
|
|
||||||
export PATH="/bin:/usr/bin:/usr/X11R6/bin:/opt/bin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f ~/.inputrc ]; then
|
|
||||||
export INPUTRC="/etc/inputrc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export LESSCHARSET="latin1"
|
|
||||||
export LESS="-R"
|
|
||||||
export CHARSET="ISO-8859-1"
|
|
||||||
export PS1="$ "
|
|
||||||
export PS2="> "
|
|
||||||
|
|
||||||
umask 022
|
|
||||||
|
|
||||||
# Added by James Mills
|
|
||||||
|
|
||||||
export LC_ALL="en_US.ISO-8859-1"
|
|
||||||
|
|
||||||
export PATH="$PATH:~/bin:"
|
|
||||||
|
|
||||||
export LS_OPTIONS='--color=auto'
|
|
||||||
alias ls='ls $LS_OPTIONS'
|
|
||||||
alias ll='ls $LS_OPTIONS -l'
|
|
||||||
alias l='ls $LS_OPTIONS -lA'
|
|
||||||
|
|
||||||
# Setup other special aliases
|
|
||||||
|
|
||||||
export EDITOR=vim
|
|
||||||
export PYTHONPATH=~/lib/python/
|
|
||||||
|
|
||||||
if [ "$TERM" = "xterm" ]; then
|
|
||||||
export TERM=xterm-color
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set a nice keyboard rate/delay
|
|
||||||
kbdrate -r 30 -d 250
|
|
||||||
|
|
||||||
# End of file
|
|
Loading…
x
Reference in New Issue
Block a user