aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-10 17:44:09 +0300
committerCem Keylan <cem@ckyln.com>2019-12-10 17:44:09 +0300
commit938cb1f54f0174a5994345e4dc49888c614db430 (patch)
treed7ba58e9fec35fb2e14412fcd884cde49cbf4537 /extra
parent3c7785b8f052b623e2d478b0161820eaeef764c3 (diff)
downloadrepository-938cb1f54f0174a5994345e4dc49888c614db430.tar.gz
move shells to extra
Diffstat (limited to 'extra')
-rwxr-xr-xextra/bash/build16
-rw-r--r--extra/bash/checksums12
-rw-r--r--extra/bash/depends1
-rw-r--r--extra/bash/sources12
-rw-r--r--extra/bash/version1
-rwxr-xr-xextra/zsh/build26
-rw-r--r--extra/zsh/checksums2
-rw-r--r--extra/zsh/depends2
-rw-r--r--extra/zsh/files/zprofile1
-rw-r--r--extra/zsh/sources2
-rw-r--r--extra/zsh/version1
11 files changed, 76 insertions, 0 deletions
diff --git a/extra/bash/build b/extra/bash/build
new file mode 100755
index 00000000..f6362fa0
--- /dev/null
+++ b/extra/bash/build
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+for patch in bash50-0??; do
+ patch -p0 < "$patch"
+done
+
+./configure \
+ --prefix=/usr \
+ --without-bash-malloc \
+ --without-installed-readline \
+ --disable-nls
+
+export MAKEFLAGS="TERMCAP_LIB=/usr/lib/libncursesw.a $MAKEFLAGS"
+
+make
+make DESTDIR="$1" install
diff --git a/extra/bash/checksums b/extra/bash/checksums
new file mode 100644
index 00000000..07980147
--- /dev/null
+++ b/extra/bash/checksums
@@ -0,0 +1,12 @@
+b4a80f2ac66170b2913efbfb9f2594f1f76c7b1afd11f799e22035d63077fb4d bash-5.0.tar.gz
+f2fe9e1f0faddf14ab9bfa88d450a75e5d028fedafad23b88716bd657c737289 bash50-001
+87e87d3542e598799adb3e7e01c8165bc743e136a400ed0de015845f7ff68707 bash50-002
+4eebcdc37b13793a232c5f2f498a5fcbf7da0ecb3da2059391c096db620ec85b bash50-003
+14447ad832add8ecfafdce5384badd933697b559c4688d6b9e3d36ff36c62f08 bash50-004
+5bf54dd9bd2c211d2bfb34a49e2c741f2ed5e338767e9ce9f4d41254bf9f8276 bash50-005
+d68529a6ff201b6ff5915318ab12fc16b8a0ebb77fda3308303fcc1e13398420 bash50-006
+17b41e7ee3673d8887dd25992417a398677533ab8827938aa41fad70df19af9b bash50-007
+eec64588622a82a5029b2776e218a75a3640bef4953f09d6ee1f4199670ad7e3 bash50-008
+ed3ca21767303fc3de93934aa524c2e920787c506b601cc40a4897d4b094d903 bash50-009
+d6fbc325f0b5dc54ddbe8ee43020bced8bd589ddffea59d128db14b2e52a8a11 bash50-010
+2c4de332b91eaf797abbbd6c79709690b5cbd48b12e8dfe748096dbd7bf474ea bash50-011
diff --git a/extra/bash/depends b/extra/bash/depends
new file mode 100644
index 00000000..2392c85d
--- /dev/null
+++ b/extra/bash/depends
@@ -0,0 +1 @@
+ncurses make
diff --git a/extra/bash/sources b/extra/bash/sources
new file mode 100644
index 00000000..fbddbf26
--- /dev/null
+++ b/extra/bash/sources
@@ -0,0 +1,12 @@
+https://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-001
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-002
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-003
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-004
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-005
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-006
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-007
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-008
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-009
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-010
+https://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-011
diff --git a/extra/bash/version b/extra/bash/version
new file mode 100644
index 00000000..a9550722
--- /dev/null
+++ b/extra/bash/version
@@ -0,0 +1 @@
+5.0.p11 1
diff --git a/extra/zsh/build b/extra/zsh/build
new file mode 100755
index 00000000..100849d8
--- /dev/null
+++ b/extra/zsh/build
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+{
+ printf "functions='Completion/*comp* "
+ for comp in Base Linux Unix X Zsh; do
+ printf "Completion/%s/*/* " "$comp"
+ done
+ printf "'\\n"
+} >> Src/Zle/complete.mdd
+
+rm -f Completion/Linux/Command/_pkgtool
+rm -f Completion/Linux/Command/_rpmbuild
+
+./configure \
+ --prefix=/usr \
+ --enable-function-subdirs \
+ --enable-fndir=/usr/share/zsh/functions \
+ --enable-runhelpdir=/usr/share/zsh/help \
+ --enable-scriptdir=/usr/share/zsh/scripts \
+ --enable-additional-fpath=/usr/share/zsh/vendor-completions \
+ --disable-gdbm
+
+make
+make DESTDIR="$1" install
+
+install -Dm 644 zprofile "$1/etc/zprofile"
diff --git a/extra/zsh/checksums b/extra/zsh/checksums
new file mode 100644
index 00000000..da345295
--- /dev/null
+++ b/extra/zsh/checksums
@@ -0,0 +1,2 @@
+7260292c2c1d483b2d50febfa5055176bd512b32a8833b116177bf5f01e77ee8 zsh-5.7.1.tar.xz
+d36a5d7b15578998ae083cb11c5c0f63e0e938abb6ad4a229c482aa83dcf1a52 zprofile
diff --git a/extra/zsh/depends b/extra/zsh/depends
new file mode 100644
index 00000000..68ca5e2e
--- /dev/null
+++ b/extra/zsh/depends
@@ -0,0 +1,2 @@
+ncurses
+xz make
diff --git a/extra/zsh/files/zprofile b/extra/zsh/files/zprofile
new file mode 100644
index 00000000..f49734a8
--- /dev/null
+++ b/extra/zsh/files/zprofile
@@ -0,0 +1 @@
+emulate sh -c '. /etc/profile'
diff --git a/extra/zsh/sources b/extra/zsh/sources
new file mode 100644
index 00000000..f28549a5
--- /dev/null
+++ b/extra/zsh/sources
@@ -0,0 +1,2 @@
+https://sourceforge.net/projects/zsh/files/zsh/5.7.1/zsh-5.7.1.tar.xz
+files/zprofile
diff --git a/extra/zsh/version b/extra/zsh/version
new file mode 100644
index 00000000..52aeb0dc
--- /dev/null
+++ b/extra/zsh/version
@@ -0,0 +1 @@
+5.7.1 1