aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.checksum2
-rw-r--r--bash/.files120
-rw-r--r--bash/abuild14
-rw-r--r--bash/bashrc11
-rw-r--r--bash/depends2
5 files changed, 149 insertions, 0 deletions
diff --git a/bash/.checksum b/bash/.checksum
new file mode 100644
index 00000000..93430393
--- /dev/null
+++ b/bash/.checksum
@@ -0,0 +1,2 @@
+78d49588b74add7bb37317fb7aee7a5979e2cab4b34b1fd40306fb464bb46bdc bash-5.2.37.tar.gz
+3902592e6fc0c98736f7f2dd926a1d3a704190db2e7ffbd4a099af205d802c8a bashrc
diff --git a/bash/.files b/bash/.files
new file mode 100644
index 00000000..841d1b64
--- /dev/null
+++ b/bash/.files
@@ -0,0 +1,120 @@
+drwxr-xr-x root/root bin/
+-rwxr-xr-x root/root bin/bash
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/bashrc.new
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-r-xr-xr-x root/root usr/bin/bashbug
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/bash/
+-rw-r--r-- root/root usr/include/bash/alias.h
+-rw-r--r-- root/root usr/include/bash/array.h
+-rw-r--r-- root/root usr/include/bash/arrayfunc.h
+-rw-r--r-- root/root usr/include/bash/assoc.h
+-rw-r--r-- root/root usr/include/bash/bashansi.h
+-rw-r--r-- root/root usr/include/bash/bashintl.h
+-rw-r--r-- root/root usr/include/bash/bashjmp.h
+-rw-r--r-- root/root usr/include/bash/bashtypes.h
+-rw-r--r-- root/root usr/include/bash/builtins.h
+drwxr-xr-x root/root usr/include/bash/builtins/
+-rw-r--r-- root/root usr/include/bash/builtins/bashgetopt.h
+-rw-r--r-- root/root usr/include/bash/builtins/builtext.h
+-rw-r--r-- root/root usr/include/bash/builtins/common.h
+-rw-r--r-- root/root usr/include/bash/builtins/getopt.h
+-rw-r--r-- root/root usr/include/bash/command.h
+-rw-r--r-- root/root usr/include/bash/config-bot.h
+-rw-r--r-- root/root usr/include/bash/config-top.h
+-rw-r--r-- root/root usr/include/bash/config.h
+-rw-r--r-- root/root usr/include/bash/conftypes.h
+-rw-r--r-- root/root usr/include/bash/dispose_cmd.h
+-rw-r--r-- root/root usr/include/bash/error.h
+-rw-r--r-- root/root usr/include/bash/execute_cmd.h
+-rw-r--r-- root/root usr/include/bash/externs.h
+-rw-r--r-- root/root usr/include/bash/general.h
+-rw-r--r-- root/root usr/include/bash/hashlib.h
+drwxr-xr-x root/root usr/include/bash/include/
+-rw-r--r-- root/root usr/include/bash/include/ansi_stdlib.h
+-rw-r--r-- root/root usr/include/bash/include/chartypes.h
+-rw-r--r-- root/root usr/include/bash/include/filecntl.h
+-rw-r--r-- root/root usr/include/bash/include/gettext.h
+-rw-r--r-- root/root usr/include/bash/include/maxpath.h
+-rw-r--r-- root/root usr/include/bash/include/memalloc.h
+-rw-r--r-- root/root usr/include/bash/include/ocache.h
+-rw-r--r-- root/root usr/include/bash/include/posixdir.h
+-rw-r--r-- root/root usr/include/bash/include/posixjmp.h
+-rw-r--r-- root/root usr/include/bash/include/posixstat.h
+-rw-r--r-- root/root usr/include/bash/include/posixtime.h
+-rw-r--r-- root/root usr/include/bash/include/posixwait.h
+-rw-r--r-- root/root usr/include/bash/include/shmbchar.h
+-rw-r--r-- root/root usr/include/bash/include/shmbutil.h
+-rw-r--r-- root/root usr/include/bash/include/shtty.h
+-rw-r--r-- root/root usr/include/bash/include/stat-time.h
+-rw-r--r-- root/root usr/include/bash/include/stdc.h
+-rw-r--r-- root/root usr/include/bash/include/systimes.h
+-rw-r--r-- root/root usr/include/bash/include/typemax.h
+-rw-r--r-- root/root usr/include/bash/include/unionwait.h
+-rw-r--r-- root/root usr/include/bash/jobs.h
+-rw-r--r-- root/root usr/include/bash/make_cmd.h
+-rw-r--r-- root/root usr/include/bash/pathnames.h
+-rw-r--r-- root/root usr/include/bash/quit.h
+-rw-r--r-- root/root usr/include/bash/shell.h
+-rw-r--r-- root/root usr/include/bash/sig.h
+-rw-r--r-- root/root usr/include/bash/siglist.h
+-rw-r--r-- root/root usr/include/bash/signames.h
+-rw-r--r-- root/root usr/include/bash/subst.h
+-rw-r--r-- root/root usr/include/bash/syntax.h
+-rw-r--r-- root/root usr/include/bash/unwind_prot.h
+-rw-r--r-- root/root usr/include/bash/variables.h
+-rw-r--r-- root/root usr/include/bash/version.h
+-rw-r--r-- root/root usr/include/bash/xmalloc.h
+-rw-r--r-- root/root usr/include/bash/y.tab.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/bash/
+-rw-r--r-- root/root usr/lib/bash/Makefile.inc
+-rw-r--r-- root/root usr/lib/bash/Makefile.sample
+-rwxr-xr-x root/root usr/lib/bash/accept
+-rwxr-xr-x root/root usr/lib/bash/basename
+-rwxr-xr-x root/root usr/lib/bash/csv
+-rwxr-xr-x root/root usr/lib/bash/cut
+-rwxr-xr-x root/root usr/lib/bash/dirname
+-rwxr-xr-x root/root usr/lib/bash/dsv
+-rwxr-xr-x root/root usr/lib/bash/fdflags
+-rwxr-xr-x root/root usr/lib/bash/finfo
+-rwxr-xr-x root/root usr/lib/bash/getconf
+-rwxr-xr-x root/root usr/lib/bash/head
+-rwxr-xr-x root/root usr/lib/bash/id
+-rwxr-xr-x root/root usr/lib/bash/ln
+-rw-r--r-- root/root usr/lib/bash/loadables.h
+-rwxr-xr-x root/root usr/lib/bash/logname
+-rwxr-xr-x root/root usr/lib/bash/mkdir
+-rwxr-xr-x root/root usr/lib/bash/mkfifo
+-rwxr-xr-x root/root usr/lib/bash/mktemp
+-rwxr-xr-x root/root usr/lib/bash/mypid
+-rwxr-xr-x root/root usr/lib/bash/pathchk
+-rwxr-xr-x root/root usr/lib/bash/print
+-rwxr-xr-x root/root usr/lib/bash/printenv
+-rwxr-xr-x root/root usr/lib/bash/push
+-rwxr-xr-x root/root usr/lib/bash/realpath
+-rwxr-xr-x root/root usr/lib/bash/rm
+-rwxr-xr-x root/root usr/lib/bash/rmdir
+-rwxr-xr-x root/root usr/lib/bash/seq
+-rwxr-xr-x root/root usr/lib/bash/setpgid
+-rwxr-xr-x root/root usr/lib/bash/sleep
+-rwxr-xr-x root/root usr/lib/bash/stat
+-rwxr-xr-x root/root usr/lib/bash/strftime
+-rwxr-xr-x root/root usr/lib/bash/sync
+-rwxr-xr-x root/root usr/lib/bash/tee
+-rwxr-xr-x root/root usr/lib/bash/truefalse
+-rwxr-xr-x root/root usr/lib/bash/tty
+-rwxr-xr-x root/root usr/lib/bash/uname
+-rwxr-xr-x root/root usr/lib/bash/unlink
+-rwxr-xr-x root/root usr/lib/bash/whoami
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/bash.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/bash.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bash.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bashbug.1.gz
diff --git a/bash/abuild b/bash/abuild
new file mode 100644
index 00000000..e5a02b94
--- /dev/null
+++ b/bash/abuild
@@ -0,0 +1,14 @@
+name=bash
+version=5.2.37
+release=1
+source="https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
+ bashrc"
+build_opt="--without-bash-malloc --with-installed-readline"
+
+postbuild() {
+ mkdir -p $PKG/bin
+ mv $PKG/usr/bin/bash $PKG/bin
+
+ install -d $PKG/etc
+ install -m644 $SRC/bashrc $PKG/etc
+}
diff --git a/bash/bashrc b/bash/bashrc
new file mode 100644
index 00000000..3da30286
--- /dev/null
+++ b/bash/bashrc
@@ -0,0 +1,11 @@
+# /etc/bashrc
+
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+
+if [ -d /etc/bashrc.d/ ]; then
+ for f in /etc/bashrc.d/*.sh; do
+ [ -r "$f" ] && . "$f"
+ done
+ unset f
+fi
diff --git a/bash/depends b/bash/depends
new file mode 100644
index 00000000..4b5f6e42
--- /dev/null
+++ b/bash/depends
@@ -0,0 +1,2 @@
+ncurses
+readline