From e96c04bd9ede6a077d721f266b16d55a29ecb68f Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 13 Dec 2011 09:56:11 +0100 Subject: [PATCH] bash: Initial import. Verified compilation. --- bash/.footprint | 10 ++++++++++ bash/.md5sum | 3 +++ bash/Pkgfile | 33 +++++++++++++++++++++++++++++++++ bash/bash-4.2.20.patch.gz | Bin 0 -> 10240 bytes bash/profile | 23 +++++++++++++++++++++++ 5 files changed, 69 insertions(+) create mode 100644 bash/.footprint create mode 100644 bash/.md5sum create mode 100644 bash/Pkgfile create mode 100644 bash/bash-4.2.20.patch.gz create mode 100644 bash/profile diff --git a/bash/.footprint b/bash/.footprint new file mode 100644 index 0000000..98fcb55 --- /dev/null +++ b/bash/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root bin/ +-rwxr-xr-x root/root bin/bash +lrwxrwxrwx root/root bin/sh -> bash +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/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/bash.1.gz +lrwxrwxrwx root/root usr/man/man1/sh.1.gz -> bash.1.gz diff --git a/bash/.md5sum b/bash/.md5sum new file mode 100644 index 0000000..33d1711 --- /dev/null +++ b/bash/.md5sum @@ -0,0 +1,3 @@ +0ce98aaef0d1e4b930ddd9443d99883f bash-4.2.20.patch.gz +3fb927c7c33022f1c327f14a81c0d4b0 bash-4.2.tar.gz +3fee206195d50dbd8a3560a8a77f341b profile diff --git a/bash/Pkgfile b/bash/Pkgfile new file mode 100644 index 0000000..eda5777 --- /dev/null +++ b/bash/Pkgfile @@ -0,0 +1,33 @@ +# Description: An sh-compatible command language interpreter +# URL: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: ncurses readline + +name=bash +version=4.2.20 +release=1 +source=(http://ftp.gnu.org/gnu/$name/$name-${version::3}.tar.gz \ + $name-$version.patch.gz profile) + +build() { + cd $name-${version::3} + + gunzip -c $SRC/$name-$version.patch.gz | patch -p0 + + ./configure --build=arm-crux-linux-gnueabihf \ + --prefix=/usr \ + --exec-prefix= \ + --mandir=/usr/man \ + --disable-nls \ + --with-curses \ + --with-installed-readline + make -j1 + + install -D -m 755 bash $PKG/bin/bash + install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1 + install -D -m 644 $SRC/profile $PKG/etc/profile + + ln -s bash $PKG/bin/sh + ln -s bash.1 $PKG/usr/man/man1/sh.1 +} diff --git a/bash/bash-4.2.20.patch.gz b/bash/bash-4.2.20.patch.gz new file mode 100644 index 0000000000000000000000000000000000000000..fca1d1ce62b10af4badc5dc1e92f7b6ca3fee242 GIT binary patch literal 10240 zcmV+bDF4?ViwFoiPtHyN17cxwXe~4@GA=SOE^uLVV`u>6Tzh}o#?t;9KE*cei6ItP zSHL*wiDSEoTYM?TiQit1BE(`;3yJDt$4T?u&&=-X0tife%XxpHDTZY)voo_Z&&=+s zR4NgCz1lu`Lyot5J8wvL@A#$xf`imWQS(liuJt-sz@Hd~6uT6i@2INRp5+i90ZQ8a09Y`9Jsh4phUuKU6Hh85T& z=aO!WqOrTthek-|26kVQ)s1m@4)m%<9e?Iz@6yl?oJr*PUb|d=Hv*!A*z+9koH!mi z_Cx0b8T$h&5$uT!d>RtZkBIFD0ktFdn$Qmu%NvkrL`mSBkD}TLzLrC0K#4yj7Bq?b zF0K6?`@kJ?UN3G8YfPaMq5$ahEkW47pcjHESGDw8kw%I)|5>m z%Wd{=uKu&>7o$PZTCxOhO~Q%@DWf`VJR?0|2{OaQ=>abWzS|Eho0?%{MU;4y4nh+7 z#5xZsq1YE=w1*IQ-iTIV5jadKuJAD!%< z?VTN0$-l|&QRh{6dq;FY+F8Nzc6a+=D`AEMeLMpJ59o(2#`A<{n*_eq9+ziz!bTZ5 zL$;nGXy-(Z<&s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/null +++ b/bash/profile @@ -0,0 +1,23 @@ +# +# /etc/profile: system-wide defaults for bash(1) login shells +# + +if [ "$UID" = "0" ]; then + export PATH="/sbin:/usr/sbin:/opt/sbin:/bin:/usr/bin:/opt/bin" +else + export PATH="/bin:/usr/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="\[\033[1m\]\\$ \[\033[0m\]" +export PS2="\[\033[1m\]> \[\033[0m\]" + +umask 022 + +# End of file -- 2.26.2