summaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /bash
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'bash')
-rw-r--r--bash/.footprint10
-rw-r--r--bash/.md5sum3
-rw-r--r--bash/.sha256sum3
-rw-r--r--bash/Pkgfile22
-rw-r--r--bash/Pkgfile.old31
-rw-r--r--bash/bash-4.1-001-009.patch.gzbin0 -> 3828 bytes
-rw-r--r--bash/profile23
7 files changed, 92 insertions, 0 deletions
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..117c91f
--- /dev/null
+++ b/bash/.md5sum
@@ -0,0 +1,3 @@
+1564d33b9e2dc2ff83661d69c9eff8e5 bash-4.1-001-009.patch.gz
+9800d8724815fd84994d9be65ab5e7b8 bash-4.1.tar.gz
+3fee206195d50dbd8a3560a8a77f341b profile
diff --git a/bash/.sha256sum b/bash/.sha256sum
new file mode 100644
index 0000000..cdb03e8
--- /dev/null
+++ b/bash/.sha256sum
@@ -0,0 +1,3 @@
+8766dae49e28d883291fdb23c6993e3d9ecd96522c257f8994598c40fd56da02 bash-4.1-001-009.patch.gz
+3f627124a83c6d34db503a923e20710d370573a29dd5d11d6f116d1aee7be1da bash-4.1.tar.gz
+d87ee5dcf57501033ad52fdf9cf158c34ca2fea159812c25014518121d0d8598 profile
diff --git a/bash/Pkgfile b/bash/Pkgfile
new file mode 100644
index 0000000..64b2c1d
--- /dev/null
+++ b/bash/Pkgfile
@@ -0,0 +1,22 @@
+description="An sh-compatible command language interpreter"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
+depends=(ncurses readline)
+
+name=bash
+version=4.1.9
+release=1
+source=(http://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz bash-4.1-001-009.patch.gz profile)
+build ()
+{
+ cd $name-4.1;
+ gunzip -c $SRC/$name-4.1-001-009.patch.gz | patch -p0;
+ ./configure --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/Pkgfile.old b/bash/Pkgfile.old
new file mode 100644
index 0000000..31464a3
--- /dev/null
+++ b/bash/Pkgfile.old
@@ -0,0 +1,31 @@
+# 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
+# Depends on: ncurses readline
+
+name=bash
+version=4.1.9
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-4.1.tar.gz \
+ $name-4.1-001-009.patch.gz profile)
+
+build() {
+ cd $name-4.1
+
+ gunzip -c $SRC/$name-4.1-001-009.patch.gz | patch -p0
+
+ ./configure --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.1-001-009.patch.gz b/bash/bash-4.1-001-009.patch.gz
new file mode 100644
index 0000000..f3e580f
--- /dev/null
+++ b/bash/bash-4.1-001-009.patch.gz
Binary files differ
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