From 21a7237e4bbbe07d407f9b59141bfb5f8258e3a0 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 14 Mar 2012 15:59:34 +0000 Subject: [PATCH] bash: Added again to fix the triplet and MACHTYPE used --- bash/.footprint | 10 ++++++++++ bash/.md5sum | 3 +++ bash/Pkgfile | 33 +++++++++++++++++++++++++++++++++ bash/bash-4.2.24.patch.gz | Bin 0 -> 11440 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.24.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..89d9227 --- /dev/null +++ b/bash/.md5sum @@ -0,0 +1,3 @@ +94c62906ac02f322f2fbe02c3baa99bf bash-4.2.24.patch.gz +3fb927c7c33022f1c327f14a81c0d4b0 bash-4.2.tar.gz +3fee206195d50dbd8a3560a8a77f341b profile diff --git a/bash/Pkgfile b/bash/Pkgfile new file mode 100644 index 0000000..1f99646 --- /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.24 +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 --prefix=/usr \ + --build=arm-unknown-linux-gnueabihf \ + --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.24.patch.gz b/bash/bash-4.2.24.patch.gz new file mode 100644 index 0000000000000000000000000000000000000000..13142d4e6c8145fc1699760b68cabd722be84ccd GIT binary patch literal 11440 zcmV;hEKk!PiwFp&%w10a17cxwXe~4@GA=SSE^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-(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sVs$|@uWk?tnE?45RY&zPFX`u&l;FKC46PdQU3h11WAS;f~FxP%VMztX<|}1Q$Egy z0d{0&z6>zUPvdN$x&%(d`NGLdX-`7)E_@FH#w>HzMgq$*&y9)}e$lPBSZUEf*+nrGl&`sUAS2uMd z&rSVJ*w<>j55BhXiC?f|&xeN_kf5zCquSCdwN;mIX1h4^ciaY`oi~R-N2kS)0++sg zu>=PVS=~k&hL0L#MLPr{3ekl9v7~a~?&ybuc;Vx-_EHIz*JynY2T(kW2xfzCbBwGY zE&SC8!&E6jJmJ?D;OhyRG;LVY$0UL$xR~%~3Rg?$AtbMgrNC-dQkB9Xi{7NS90ayj zVp-AY8v-H{4#(XIsA#Me_4dti-wVppnTod`vof!c%CMc1VJm?W47*Y?oUCg6i=rbJ zHg9ZNk=-Ulw8W$Gg3lk%mtgS84E(yFx&vOcdqEQAFH_&-5h3i)L%;rVnmUKC-2VWU K10Hg?!vFx5dmO6( literal 0 HcmV?d00001 diff --git a/bash/profile b/bash/profile new file mode 100644 index 0000000..8e3b9fe --- /dev/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