aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-10 14:05:48 +0300
committerCem Keylan <cem@ckyln.com>2019-12-10 14:05:48 +0300
commitcb6cce5732a6e4b03160c409294d3c074d9838e9 (patch)
tree3f65b80eb0c5f15b42103245e203fc7a17ebc292 /testing
parentc23c23a281be7f52a4056ad06398c674a8c78e44 (diff)
downloadrepository-cb6cce5732a6e4b03160c409294d3c074d9838e9.tar.gz
added bash and zsh to testing
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/bash/build16
-rw-r--r--testing/bash/checksums12
-rw-r--r--testing/bash/depends1
-rw-r--r--testing/bash/sources12
-rw-r--r--testing/bash/version1
-rwxr-xr-xtesting/zsh/build26
-rw-r--r--testing/zsh/checksums2
-rw-r--r--testing/zsh/depends2
-rw-r--r--testing/zsh/files/zprofile1
-rw-r--r--testing/zsh/sources2
-rw-r--r--testing/zsh/version1
11 files changed, 76 insertions, 0 deletions
diff --git a/testing/bash/build b/testing/bash/build
new file mode 100755
index 00000000..f6362fa0
--- /dev/null
+++ b/testing/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/testing/bash/checksums b/testing/bash/checksums
new file mode 100644
index 00000000..07980147
--- /dev/null
+++ b/testing/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/testing/bash/depends b/testing/bash/depends
new file mode 100644
index 00000000..2392c85d
--- /dev/null
+++ b/testing/bash/depends
@@ -0,0 +1 @@
+ncurses make
diff --git a/testing/bash/sources b/testing/bash/sources
new file mode 100644
index 00000000..fbddbf26
--- /dev/null
+++ b/testing/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/testing/bash/version b/testing/bash/version
new file mode 100644
index 00000000..a9550722
--- /dev/null
+++ b/testing/bash/version
@@ -0,0 +1 @@
+5.0.p11 1
diff --git a/testing/zsh/build b/testing/zsh/build
new file mode 100755
index 00000000..100849d8
--- /dev/null
+++ b/testing/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/testing/zsh/checksums b/testing/zsh/checksums
new file mode 100644
index 00000000..da345295
--- /dev/null
+++ b/testing/zsh/checksums
@@ -0,0 +1,2 @@
+7260292c2c1d483b2d50febfa5055176bd512b32a8833b116177bf5f01e77ee8 zsh-5.7.1.tar.xz
+d36a5d7b15578998ae083cb11c5c0f63e0e938abb6ad4a229c482aa83dcf1a52 zprofile
diff --git a/testing/zsh/depends b/testing/zsh/depends
new file mode 100644
index 00000000..68ca5e2e
--- /dev/null
+++ b/testing/zsh/depends
@@ -0,0 +1,2 @@
+ncurses
+xz make
diff --git a/testing/zsh/files/zprofile b/testing/zsh/files/zprofile
new file mode 100644
index 00000000..f49734a8
--- /dev/null
+++ b/testing/zsh/files/zprofile
@@ -0,0 +1 @@
+emulate sh -c '. /etc/profile'
diff --git a/testing/zsh/sources b/testing/zsh/sources
new file mode 100644
index 00000000..f28549a5
--- /dev/null
+++ b/testing/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/testing/zsh/version b/testing/zsh/version
new file mode 100644
index 00000000..52aeb0dc
--- /dev/null
+++ b/testing/zsh/version
@@ -0,0 +1 @@
+5.7.1 1