[arch-commits] Commit in bash/repos (24 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Jan 21 21:08:02 UTC 2017


    Date: Saturday, January 21, 2017 @ 21:08:02
  Author: bpiotrowski
Revision: 287105

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  bash/repos/testing-i686/PKGBUILD
    (from rev 287104, bash/trunk/PKGBUILD)
  bash/repos/testing-i686/dot.bash_logout
    (from rev 287104, bash/trunk/dot.bash_logout)
  bash/repos/testing-i686/dot.bash_profile
    (from rev 287104, bash/trunk/dot.bash_profile)
  bash/repos/testing-i686/dot.bashrc
    (from rev 287104, bash/trunk/dot.bashrc)
  bash/repos/testing-i686/system.bash_logout
    (from rev 287104, bash/trunk/system.bash_logout)
  bash/repos/testing-i686/system.bashrc
    (from rev 287104, bash/trunk/system.bashrc)
  bash/repos/testing-x86_64/PKGBUILD
    (from rev 287104, bash/trunk/PKGBUILD)
  bash/repos/testing-x86_64/dot.bash_logout
    (from rev 287104, bash/trunk/dot.bash_logout)
  bash/repos/testing-x86_64/dot.bash_profile
    (from rev 287104, bash/trunk/dot.bash_profile)
  bash/repos/testing-x86_64/dot.bashrc
    (from rev 287104, bash/trunk/dot.bashrc)
  bash/repos/testing-x86_64/system.bash_logout
    (from rev 287104, bash/trunk/system.bash_logout)
  bash/repos/testing-x86_64/system.bashrc
    (from rev 287104, bash/trunk/system.bashrc)
Deleted:
  bash/repos/testing-i686/PKGBUILD
  bash/repos/testing-i686/dot.bash_logout
  bash/repos/testing-i686/dot.bash_profile
  bash/repos/testing-i686/dot.bashrc
  bash/repos/testing-i686/system.bash_logout
  bash/repos/testing-i686/system.bashrc
  bash/repos/testing-x86_64/PKGBUILD
  bash/repos/testing-x86_64/dot.bash_logout
  bash/repos/testing-x86_64/dot.bash_profile
  bash/repos/testing-x86_64/dot.bashrc
  bash/repos/testing-x86_64/system.bash_logout
  bash/repos/testing-x86_64/system.bashrc

-----------------------------------+
 /PKGBUILD                         |  208 ++++++++++++++++++++++++++++++++++++
 /dot.bash_logout                  |    6 +
 /dot.bash_profile                 |   10 +
 /dot.bashrc                       |   18 +++
 /system.bash_logout               |    6 +
 /system.bashrc                    |   44 +++++++
 testing-i686/PKGBUILD             |   96 ----------------
 testing-i686/dot.bash_logout      |    3 
 testing-i686/dot.bash_profile     |    5 
 testing-i686/dot.bashrc           |    9 -
 testing-i686/system.bash_logout   |    3 
 testing-i686/system.bashrc        |   22 ---
 testing-x86_64/PKGBUILD           |   96 ----------------
 testing-x86_64/dot.bash_logout    |    3 
 testing-x86_64/dot.bash_profile   |    5 
 testing-x86_64/dot.bashrc         |    9 -
 testing-x86_64/system.bash_logout |    3 
 testing-x86_64/system.bashrc      |   22 ---
 18 files changed, 292 insertions(+), 276 deletions(-)

Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-i686/PKGBUILD	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,96 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=bash
-_basever=4.4
-_patchlevel=007
-pkgver=${_basever}.${_patchlevel}
-pkgrel=2
-pkgdesc='The GNU Bourne Again shell'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://www.gnu.org/software/bash/bash.html'
-groups=('base')
-backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout})
-depends=('readline>=7.0' 'glibc' 'ncurses' 'libncursesw.so')
-optdepends=('bash-completion: for tab completion')
-provides=('sh')
-source=(https://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig}
-        dot.bashrc
-        dot.bash_profile
-        dot.bash_logout
-        system.bashrc
-        system.bash_logout)
-validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
-
-if [[ $((10#${_patchlevel})) -gt 0 ]]; then
-  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
-    source=(${source[@]} https://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//.}-$(printf "%03d" $_p){,.sig})
-  done
-fi
-
-prepare() {
-  cd $pkgname-$_basever
-
-  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
-    msg "applying patch bash${_basever//.}-$(printf "%03d" $_p)"
-    patch -p0 -i ../bash${_basever//.}-$(printf "%03d" $_p)
-  done
-}
-
-build() {
-  cd $pkgname-$_basever
-
-  _bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/bin\"\'
-               -DSTANDARD_UTILS_PATH=\'\"/usr/bin\"\'
-               -DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
-               -DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\')
-  export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
-
-  ./configure --prefix=/usr --with-curses --enable-readline \
-    --without-bash-malloc --with-installed-readline
-  make
-}
-
-check() {
-  make -C $pkgname-$_basever check
-}
-
-package() {
-  make -C $pkgname-$_basever DESTDIR="$pkgdir" install
-  ln -s bash "$pkgdir"/usr/bin/sh
-
-  install -dm755 "$pkgdir"/etc/skel/
-  # system-wide configuration files
-  install -m644 system.bashrc $pkgdir/etc/bash.bashrc
-  install -m644 system.bash_logout "$pkgdir"/etc/bash.bash_logout
-
-  # user configuration file skeletons
-  install -m644 dot.bashrc "$pkgdir"/etc/skel/.bashrc
-  install -m644 dot.bash_profile "$pkgdir"/etc/skel/.bash_profile
-  install -m644 dot.bash_logout "$pkgdir"/etc/skel/.bash_logout
-}
-
-md5sums=('148888a7c95ac23705559b6f477dfe25'
-         'SKIP'
-         '027d6bd8f5f6a06b75bb7698cb478089'
-         '2902e0fee7a9168f3a4fd2ccd60ff047'
-         '42f4400ed2314bd7519c020d0187edc5'
-         'd8f3f334e72c0e30032eae1a1229aef1'
-         '472f536d7c9e8250dc4568ec4cfaf294'
-         '817d01a6c0af6f79308a8b7b649e53d8'
-         'SKIP'
-         '765e14cff12c7284009772e8e24f2fe0'
-         'SKIP'
-         '49e7da93bf07f510a2eb6bb43ac3e5a2'
-         'SKIP'
-         '4557d674ab5831a5fa98052ab19edaf4'
-         'SKIP'
-         'cce96dd77cdd1d293beec10848f6cbb5'
-         'SKIP'
-         'd3379f8d8abce5c6ee338f931ad008d5'
-         'SKIP'
-         'ec38c76ca439ca7f9c178e9baede84fc'
-         'SKIP')

Copied: bash/repos/testing-i686/PKGBUILD (from rev 287104, bash/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,104 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=bash
+_basever=4.4
+_patchlevel=011
+pkgver=${_basever}.${_patchlevel}
+pkgrel=2
+pkgdesc='The GNU Bourne Again shell'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://www.gnu.org/software/bash/bash.html'
+groups=('base')
+backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout})
+depends=('readline>=7.0' 'glibc' 'ncurses')
+optdepends=('bash-completion: for tab completion')
+provides=('sh')
+source=(https://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig}
+        dot.bashrc
+        dot.bash_profile
+        dot.bash_logout
+        system.bashrc
+        system.bash_logout)
+validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
+
+if [[ $((10#${_patchlevel})) -gt 0 ]]; then
+  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
+    source=(${source[@]} https://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//.}-$(printf "%03d" $_p){,.sig})
+  done
+fi
+
+prepare() {
+  cd $pkgname-$_basever
+
+  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
+    msg "applying patch bash${_basever//.}-$(printf "%03d" $_p)"
+    patch -p0 -i ../bash${_basever//.}-$(printf "%03d" $_p)
+  done
+}
+
+build() {
+  cd $pkgname-$_basever
+
+  _bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/bin\"\'
+               -DSTANDARD_UTILS_PATH=\'\"/usr/bin\"\'
+               -DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
+               -DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\')
+  export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
+
+  ./configure --prefix=/usr --with-curses --enable-readline \
+    --without-bash-malloc --with-installed-readline
+  make
+}
+
+check() {
+  make -C $pkgname-$_basever check
+}
+
+package() {
+  make -C $pkgname-$_basever DESTDIR="$pkgdir" install
+  ln -s bash "$pkgdir"/usr/bin/sh
+
+  install -dm755 "$pkgdir"/etc/skel/
+  # system-wide configuration files
+  install -m644 system.bashrc $pkgdir/etc/bash.bashrc
+  install -m644 system.bash_logout "$pkgdir"/etc/bash.bash_logout
+
+  # user configuration file skeletons
+  install -m644 dot.bashrc "$pkgdir"/etc/skel/.bashrc
+  install -m644 dot.bash_profile "$pkgdir"/etc/skel/.bash_profile
+  install -m644 dot.bash_logout "$pkgdir"/etc/skel/.bash_logout
+}
+
+md5sums=('148888a7c95ac23705559b6f477dfe25'
+         'SKIP'
+         '027d6bd8f5f6a06b75bb7698cb478089'
+         '2902e0fee7a9168f3a4fd2ccd60ff047'
+         '42f4400ed2314bd7519c020d0187edc5'
+         'd8f3f334e72c0e30032eae1a1229aef1'
+         '472f536d7c9e8250dc4568ec4cfaf294'
+         '817d01a6c0af6f79308a8b7b649e53d8'
+         'SKIP'
+         '765e14cff12c7284009772e8e24f2fe0'
+         'SKIP'
+         '49e7da93bf07f510a2eb6bb43ac3e5a2'
+         'SKIP'
+         '4557d674ab5831a5fa98052ab19edaf4'
+         'SKIP'
+         'cce96dd77cdd1d293beec10848f6cbb5'
+         'SKIP'
+         'd3379f8d8abce5c6ee338f931ad008d5'
+         'SKIP'
+         'ec38c76ca439ca7f9c178e9baede84fc'
+         'SKIP'
+         'e0ba18c1e3b94f905da9b5bf9d38b58b'
+         'SKIP'
+         'e952d4f44e612048930c559d90eb99bb'
+         'SKIP'
+         '57b5b35955d68f9a09dbef6b86d2c782'
+         'SKIP'
+         'cc896e1fa696b93ded568e557e2392d5'
+         'SKIP')

Deleted: testing-i686/dot.bash_logout
===================================================================
--- testing-i686/dot.bash_logout	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-i686/dot.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,3 +0,0 @@
-#
-# ~/.bash_logout
-#

Copied: bash/repos/testing-i686/dot.bash_logout (from rev 287104, bash/trunk/dot.bash_logout)
===================================================================
--- testing-i686/dot.bash_logout	                        (rev 0)
+++ testing-i686/dot.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,3 @@
+#
+# ~/.bash_logout
+#

Deleted: testing-i686/dot.bash_profile
===================================================================
--- testing-i686/dot.bash_profile	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-i686/dot.bash_profile	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,5 +0,0 @@
-#
-# ~/.bash_profile
-#
-
-[[ -f ~/.bashrc ]] && . ~/.bashrc

Copied: bash/repos/testing-i686/dot.bash_profile (from rev 287104, bash/trunk/dot.bash_profile)
===================================================================
--- testing-i686/dot.bash_profile	                        (rev 0)
+++ testing-i686/dot.bash_profile	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,5 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc

Deleted: testing-i686/dot.bashrc
===================================================================
--- testing-i686/dot.bashrc	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-i686/dot.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,9 +0,0 @@
-#
-# ~/.bashrc
-#
-
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-
-alias ls='ls --color=auto'
-PS1='[\u@\h \W]\$ '

Copied: bash/repos/testing-i686/dot.bashrc (from rev 287104, bash/trunk/dot.bashrc)
===================================================================
--- testing-i686/dot.bashrc	                        (rev 0)
+++ testing-i686/dot.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,9 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+PS1='[\u@\h \W]\$ '

Deleted: testing-i686/system.bash_logout
===================================================================
--- testing-i686/system.bash_logout	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-i686/system.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,3 +0,0 @@
-#
-# /etc/bash.bash_logout
-#

Copied: bash/repos/testing-i686/system.bash_logout (from rev 287104, bash/trunk/system.bash_logout)
===================================================================
--- testing-i686/system.bash_logout	                        (rev 0)
+++ testing-i686/system.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,3 @@
+#
+# /etc/bash.bash_logout
+#

Deleted: testing-i686/system.bashrc
===================================================================
--- testing-i686/system.bashrc	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-i686/system.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,22 +0,0 @@
-#
-# /etc/bash.bashrc
-#
-
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-
-[[ $DISPLAY ]] && shopt -s checkwinsize
-
-PS1='[\u@\h \W]\$ '
-
-case ${TERM} in
-  xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
-    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
-
-    ;;
-  screen*)
-    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
-    ;;
-esac
-
-[ -r /usr/share/bash-completion/bash_completion   ] && . /usr/share/bash-completion/bash_completion

Copied: bash/repos/testing-i686/system.bashrc (from rev 287104, bash/trunk/system.bashrc)
===================================================================
--- testing-i686/system.bashrc	                        (rev 0)
+++ testing-i686/system.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,22 @@
+#
+# /etc/bash.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+[[ $DISPLAY ]] && shopt -s checkwinsize
+
+PS1='[\u@\h \W]\$ '
+
+case ${TERM} in
+  xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
+    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
+
+    ;;
+  screen*)
+    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
+    ;;
+esac
+
+[ -r /usr/share/bash-completion/bash_completion   ] && . /usr/share/bash-completion/bash_completion

Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-x86_64/PKGBUILD	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,96 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=bash
-_basever=4.4
-_patchlevel=007
-pkgver=${_basever}.${_patchlevel}
-pkgrel=2
-pkgdesc='The GNU Bourne Again shell'
-arch=('i686' 'x86_64')
-license=('GPL')
-url='http://www.gnu.org/software/bash/bash.html'
-groups=('base')
-backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout})
-depends=('readline>=7.0' 'glibc' 'ncurses' 'libncursesw.so')
-optdepends=('bash-completion: for tab completion')
-provides=('sh')
-source=(https://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig}
-        dot.bashrc
-        dot.bash_profile
-        dot.bash_logout
-        system.bashrc
-        system.bash_logout)
-validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
-
-if [[ $((10#${_patchlevel})) -gt 0 ]]; then
-  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
-    source=(${source[@]} https://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//.}-$(printf "%03d" $_p){,.sig})
-  done
-fi
-
-prepare() {
-  cd $pkgname-$_basever
-
-  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
-    msg "applying patch bash${_basever//.}-$(printf "%03d" $_p)"
-    patch -p0 -i ../bash${_basever//.}-$(printf "%03d" $_p)
-  done
-}
-
-build() {
-  cd $pkgname-$_basever
-
-  _bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/bin\"\'
-               -DSTANDARD_UTILS_PATH=\'\"/usr/bin\"\'
-               -DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
-               -DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\')
-  export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
-
-  ./configure --prefix=/usr --with-curses --enable-readline \
-    --without-bash-malloc --with-installed-readline
-  make
-}
-
-check() {
-  make -C $pkgname-$_basever check
-}
-
-package() {
-  make -C $pkgname-$_basever DESTDIR="$pkgdir" install
-  ln -s bash "$pkgdir"/usr/bin/sh
-
-  install -dm755 "$pkgdir"/etc/skel/
-  # system-wide configuration files
-  install -m644 system.bashrc $pkgdir/etc/bash.bashrc
-  install -m644 system.bash_logout "$pkgdir"/etc/bash.bash_logout
-
-  # user configuration file skeletons
-  install -m644 dot.bashrc "$pkgdir"/etc/skel/.bashrc
-  install -m644 dot.bash_profile "$pkgdir"/etc/skel/.bash_profile
-  install -m644 dot.bash_logout "$pkgdir"/etc/skel/.bash_logout
-}
-
-md5sums=('148888a7c95ac23705559b6f477dfe25'
-         'SKIP'
-         '027d6bd8f5f6a06b75bb7698cb478089'
-         '2902e0fee7a9168f3a4fd2ccd60ff047'
-         '42f4400ed2314bd7519c020d0187edc5'
-         'd8f3f334e72c0e30032eae1a1229aef1'
-         '472f536d7c9e8250dc4568ec4cfaf294'
-         '817d01a6c0af6f79308a8b7b649e53d8'
-         'SKIP'
-         '765e14cff12c7284009772e8e24f2fe0'
-         'SKIP'
-         '49e7da93bf07f510a2eb6bb43ac3e5a2'
-         'SKIP'
-         '4557d674ab5831a5fa98052ab19edaf4'
-         'SKIP'
-         'cce96dd77cdd1d293beec10848f6cbb5'
-         'SKIP'
-         'd3379f8d8abce5c6ee338f931ad008d5'
-         'SKIP'
-         'ec38c76ca439ca7f9c178e9baede84fc'
-         'SKIP')

Copied: bash/repos/testing-x86_64/PKGBUILD (from rev 287104, bash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,104 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=bash
+_basever=4.4
+_patchlevel=011
+pkgver=${_basever}.${_patchlevel}
+pkgrel=2
+pkgdesc='The GNU Bourne Again shell'
+arch=('i686' 'x86_64')
+license=('GPL')
+url='http://www.gnu.org/software/bash/bash.html'
+groups=('base')
+backup=(etc/bash.bash{rc,_logout} etc/skel/.bash{rc,_profile,_logout})
+depends=('readline>=7.0' 'glibc' 'ncurses')
+optdepends=('bash-completion: for tab completion')
+provides=('sh')
+source=(https://ftp.gnu.org/gnu/bash/bash-$_basever.tar.gz{,.sig}
+        dot.bashrc
+        dot.bash_profile
+        dot.bash_logout
+        system.bashrc
+        system.bash_logout)
+validpgpkeys=('7C0135FB088AAF6C66C650B9BB5869F064EA74AB') # Chet Ramey
+
+if [[ $((10#${_patchlevel})) -gt 0 ]]; then
+  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
+    source=(${source[@]} https://ftp.gnu.org/gnu/bash/bash-$_basever-patches/bash${_basever//.}-$(printf "%03d" $_p){,.sig})
+  done
+fi
+
+prepare() {
+  cd $pkgname-$_basever
+
+  for (( _p=1; _p<=$((10#${_patchlevel})); _p++ )); do
+    msg "applying patch bash${_basever//.}-$(printf "%03d" $_p)"
+    patch -p0 -i ../bash${_basever//.}-$(printf "%03d" $_p)
+  done
+}
+
+build() {
+  cd $pkgname-$_basever
+
+  _bashconfig=(-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/bin\"\'
+               -DSTANDARD_UTILS_PATH=\'\"/usr/bin\"\'
+               -DSYS_BASHRC=\'\"/etc/bash.bashrc\"\'
+               -DSYS_BASH_LOGOUT=\'\"/etc/bash.bash_logout\"\')
+  export CFLAGS="${CFLAGS} ${_bashconfig[@]}"
+
+  ./configure --prefix=/usr --with-curses --enable-readline \
+    --without-bash-malloc --with-installed-readline
+  make
+}
+
+check() {
+  make -C $pkgname-$_basever check
+}
+
+package() {
+  make -C $pkgname-$_basever DESTDIR="$pkgdir" install
+  ln -s bash "$pkgdir"/usr/bin/sh
+
+  install -dm755 "$pkgdir"/etc/skel/
+  # system-wide configuration files
+  install -m644 system.bashrc $pkgdir/etc/bash.bashrc
+  install -m644 system.bash_logout "$pkgdir"/etc/bash.bash_logout
+
+  # user configuration file skeletons
+  install -m644 dot.bashrc "$pkgdir"/etc/skel/.bashrc
+  install -m644 dot.bash_profile "$pkgdir"/etc/skel/.bash_profile
+  install -m644 dot.bash_logout "$pkgdir"/etc/skel/.bash_logout
+}
+
+md5sums=('148888a7c95ac23705559b6f477dfe25'
+         'SKIP'
+         '027d6bd8f5f6a06b75bb7698cb478089'
+         '2902e0fee7a9168f3a4fd2ccd60ff047'
+         '42f4400ed2314bd7519c020d0187edc5'
+         'd8f3f334e72c0e30032eae1a1229aef1'
+         '472f536d7c9e8250dc4568ec4cfaf294'
+         '817d01a6c0af6f79308a8b7b649e53d8'
+         'SKIP'
+         '765e14cff12c7284009772e8e24f2fe0'
+         'SKIP'
+         '49e7da93bf07f510a2eb6bb43ac3e5a2'
+         'SKIP'
+         '4557d674ab5831a5fa98052ab19edaf4'
+         'SKIP'
+         'cce96dd77cdd1d293beec10848f6cbb5'
+         'SKIP'
+         'd3379f8d8abce5c6ee338f931ad008d5'
+         'SKIP'
+         'ec38c76ca439ca7f9c178e9baede84fc'
+         'SKIP'
+         'e0ba18c1e3b94f905da9b5bf9d38b58b'
+         'SKIP'
+         'e952d4f44e612048930c559d90eb99bb'
+         'SKIP'
+         '57b5b35955d68f9a09dbef6b86d2c782'
+         'SKIP'
+         'cc896e1fa696b93ded568e557e2392d5'
+         'SKIP')

Deleted: testing-x86_64/dot.bash_logout
===================================================================
--- testing-x86_64/dot.bash_logout	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-x86_64/dot.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,3 +0,0 @@
-#
-# ~/.bash_logout
-#

Copied: bash/repos/testing-x86_64/dot.bash_logout (from rev 287104, bash/trunk/dot.bash_logout)
===================================================================
--- testing-x86_64/dot.bash_logout	                        (rev 0)
+++ testing-x86_64/dot.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,3 @@
+#
+# ~/.bash_logout
+#

Deleted: testing-x86_64/dot.bash_profile
===================================================================
--- testing-x86_64/dot.bash_profile	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-x86_64/dot.bash_profile	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,5 +0,0 @@
-#
-# ~/.bash_profile
-#
-
-[[ -f ~/.bashrc ]] && . ~/.bashrc

Copied: bash/repos/testing-x86_64/dot.bash_profile (from rev 287104, bash/trunk/dot.bash_profile)
===================================================================
--- testing-x86_64/dot.bash_profile	                        (rev 0)
+++ testing-x86_64/dot.bash_profile	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,5 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc

Deleted: testing-x86_64/dot.bashrc
===================================================================
--- testing-x86_64/dot.bashrc	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-x86_64/dot.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,9 +0,0 @@
-#
-# ~/.bashrc
-#
-
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-
-alias ls='ls --color=auto'
-PS1='[\u@\h \W]\$ '

Copied: bash/repos/testing-x86_64/dot.bashrc (from rev 287104, bash/trunk/dot.bashrc)
===================================================================
--- testing-x86_64/dot.bashrc	                        (rev 0)
+++ testing-x86_64/dot.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,9 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+PS1='[\u@\h \W]\$ '

Deleted: testing-x86_64/system.bash_logout
===================================================================
--- testing-x86_64/system.bash_logout	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-x86_64/system.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,3 +0,0 @@
-#
-# /etc/bash.bash_logout
-#

Copied: bash/repos/testing-x86_64/system.bash_logout (from rev 287104, bash/trunk/system.bash_logout)
===================================================================
--- testing-x86_64/system.bash_logout	                        (rev 0)
+++ testing-x86_64/system.bash_logout	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,3 @@
+#
+# /etc/bash.bash_logout
+#

Deleted: testing-x86_64/system.bashrc
===================================================================
--- testing-x86_64/system.bashrc	2017-01-21 21:07:50 UTC (rev 287104)
+++ testing-x86_64/system.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -1,22 +0,0 @@
-#
-# /etc/bash.bashrc
-#
-
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-
-[[ $DISPLAY ]] && shopt -s checkwinsize
-
-PS1='[\u@\h \W]\$ '
-
-case ${TERM} in
-  xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
-    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
-
-    ;;
-  screen*)
-    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
-    ;;
-esac
-
-[ -r /usr/share/bash-completion/bash_completion   ] && . /usr/share/bash-completion/bash_completion

Copied: bash/repos/testing-x86_64/system.bashrc (from rev 287104, bash/trunk/system.bashrc)
===================================================================
--- testing-x86_64/system.bashrc	                        (rev 0)
+++ testing-x86_64/system.bashrc	2017-01-21 21:08:02 UTC (rev 287105)
@@ -0,0 +1,22 @@
+#
+# /etc/bash.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+[[ $DISPLAY ]] && shopt -s checkwinsize
+
+PS1='[\u@\h \W]\$ '
+
+case ${TERM} in
+  xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
+    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
+
+    ;;
+  screen*)
+    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
+    ;;
+esac
+
+[ -r /usr/share/bash-completion/bash_completion   ] && . /usr/share/bash-completion/bash_completion



More information about the arch-commits mailing list