[arch-commits] Commit in bash/trunk (PKGBUILD enable-system-config-files.patch)

Aaron Griffin aaron at archlinux.org
Tue Aug 25 15:47:16 UTC 2009


    Date: Tuesday, August 25, 2009 @ 11:47:16
  Author: aaron
Revision: 50335

Commit changes to use system-wide bashrc and bash.logout in /etc

Added:
  bash/trunk/enable-system-config-files.patch
Modified:
  bash/trunk/PKGBUILD

----------------------------------+
 PKGBUILD                         |    8 ++++++--
 enable-system-config-files.patch |   15 +++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-25 15:02:22 UTC (rev 50334)
+++ PKGBUILD	2009-08-25 15:47:16 UTC (rev 50335)
@@ -4,7 +4,7 @@
 pkgname=bash
 _patchlevel=028 #prepare for some patches
 pkgver=4.0.$_patchlevel
-pkgrel=1
+pkgrel=2
 pkgdesc="The GNU Bourne Again shell"
 arch=(i686 x86_64)
 license=('GPL')
@@ -16,7 +16,7 @@
 provides=('sh')
 install=bash.install
 source=(http://ftp.gnu.org/gnu/bash/bash-4.0.tar.gz
-        profile.bash bashrc)
+        profile.bash bashrc enable-system-config-files.patch)
 if [ $_patchlevel -gt 000 ]; then
     for p in $(seq -w 001 $_patchlevel); do
         source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-4.0-patches/bash40-$p)
@@ -31,6 +31,8 @@
     patch -Np0 -i ${p} || return 1
   done
 
+  patch -Np0 -i ../enable-system-config-files.patch || return 1
+
   ./configure --prefix=/usr --with-curses --enable-readline \
     --without-bash-malloc --with-installed-readline \
     --bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info
@@ -51,9 +53,11 @@
   gzip -9 ${pkgdir}/usr/share/info/bash.info
 }
 # wow, that's a lot of md5sums!
+
 md5sums=('a90a1b5a6db4838483f05438e05e8eb9'
          'c2fae355facefcac8a732cce877da194'
          '3d2837e84645eac9bde399b58014bafa'
+         '51725defa4c2dec49c1bc15883e0bee2'
          'bc7f4762443939bd7dccb42370f0d932'
          'c2a4a4786a83ed4ec366c6a8924369a2'
          '22e8a824eddba21a8fce10d7984c2aba'

Added: enable-system-config-files.patch
===================================================================
--- enable-system-config-files.patch	                        (rev 0)
+++ enable-system-config-files.patch	2009-08-25 15:47:16 UTC (rev 50335)
@@ -0,0 +1,15 @@
+--- src/bash-4.0/config-top.h	2009-01-04 11:32:23.000000000 -0800
++++ config-top.h	2009-08-25 08:41:08.000000000 -0700
+@@ -75,10 +75,10 @@
+ #define KSH_COMPATIBLE_SELECT
+ 
+ /* System-wide .bashrc file for interactive shells. */
+-/* #define SYS_BASHRC "/etc/bash.bashrc" */
++#define SYS_BASHRC "/etc/bash.bashrc"
+ 
+ /* System-wide .bash_logout for login shells. */
+-/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
++#define SYS_BASH_LOGOUT "/etc/bash.bash_logout"
+ 
+ /* Define this to make non-interactive shells begun with argv[0][0] == '-'
+    run the startup files when not in posix mode. */




More information about the arch-commits mailing list