aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/bash
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
commit46ca440e9d6cc606d9c3233021e32d24b25172cf (patch)
treeeeb573e47ac56498fbf74bda6d22fac47038ecab /repos/extra/bash
parent8c2e7bb570c11a51fdcecf7302af4058757d862c (diff)
downloadalicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.tar.gz
alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.zip
added repos
Diffstat (limited to 'repos/extra/bash')
-rw-r--r--repos/extra/bash/.files120
-rwxr-xr-xrepos/extra/bash/bashrc11
-rw-r--r--repos/extra/bash/depends2
-rw-r--r--repos/extra/bash/info6
-rw-r--r--repos/extra/bash/postbuild5
5 files changed, 144 insertions, 0 deletions
diff --git a/repos/extra/bash/.files b/repos/extra/bash/.files
new file mode 100644
index 00000000..841d1b64
--- /dev/null
+++ b/repos/extra/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/repos/extra/bash/bashrc b/repos/extra/bash/bashrc
new file mode 100755
index 00000000..3da30286
--- /dev/null
+++ b/repos/extra/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/repos/extra/bash/depends b/repos/extra/bash/depends
new file mode 100644
index 00000000..4b5f6e42
--- /dev/null
+++ b/repos/extra/bash/depends
@@ -0,0 +1,2 @@
+ncurses
+readline
diff --git a/repos/extra/bash/info b/repos/extra/bash/info
new file mode 100644
index 00000000..1eeb724f
--- /dev/null
+++ b/repos/extra/bash/info
@@ -0,0 +1,6 @@
+name=bash
+version=5.2.21
+release=1
+source="https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
+ bashrc"
+build_opt="--without-bash-malloc --with-installed-readline"
diff --git a/repos/extra/bash/postbuild b/repos/extra/bash/postbuild
new file mode 100644
index 00000000..36899699
--- /dev/null
+++ b/repos/extra/bash/postbuild
@@ -0,0 +1,5 @@
+mkdir -p $PKG/bin
+mv $PKG/usr/bin/bash $PKG/bin
+
+install -d $PKG/etc
+install -m644 $SRC/bashrc $PKG/etc