CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bash: update to 4.2.7
authorVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:23:13 +0000 (07:23 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:23:13 +0000 (07:23 +0000)
bash/.md5sum
bash/Pkgfile
bash/bash-4.1-001-002.patch.gz [deleted file]

index f4e338e46ea6127f8161f8283bd0fe0a102a6444..15dfc42bd749d4a5af91b24ed00ec7103bfd655b 100644 (file)
@@ -1,3 +1,3 @@
-53468bae20ceece01ff339ea2e2759eb  bash-4.1-001-002.patch.gz
-9800d8724815fd84994d9be65ab5e7b8  bash-4.1.tar.gz
+005c1014acbcbb37f440d502f5a1cdfe  bash-4.2.7.patch.gz
+3fb927c7c33022f1c327f14a81c0d4b0  bash-4.2.tar.gz
 3fee206195d50dbd8a3560a8a77f341b  profile
index ac20d9b138d08f412d5a7a72e42482ae8593a021..8a4ca027bc8968fac16472a31745083bbd273bc7 100644 (file)
@@ -5,13 +5,15 @@
 # Depends on: ncurses
 
 name=bash
-version=4.1.2
+version=4.2.7
 release=1
 source=(http://ftp.gnu.org/gnu/$name/$name-${version%.*}.tar.gz \
-        $name-4.1-001-002.patch.gz profile)
+        $name-$version.patch.gz profile)
 
 build() {
-  cd $name-${version%.*}
+  cd $name-${version::3}
+  
+  gunzip -c $SRC/$name-$version.patch.gz | patch -p0
 
   cat > config.cache <<EOF
 bash_cv_sys_named_pipes=yes
@@ -31,10 +33,10 @@ EOF
               --without-bash-malloc \
               --with-curses
   make 
-  make DESTDIR=$PKG install
-
-  rm -rf $PKG/usr/share $PKG/bin/bashbug $PKG/usr/man/man1/bashbug.1
+  install -D -m 755 bash $PKG/bin/bash
+  install -D -m 644 doc/bash.1 $PKG/usr/man/man1/bash.1
   install -D -m 644 $SRC/profile $PKG/etc/profile
-  ln -sf bash $PKG/bin/sh
-  ln -sf bash.1 $PKG/usr/man/man1/sh.1
+
+  ln -s bash $PKG/bin/sh
+  ln -s bash.1 $PKG/usr/man/man1/sh.1
 }
diff --git a/bash/bash-4.1-001-002.patch.gz b/bash/bash-4.1-001-002.patch.gz
deleted file mode 100644 (file)
index dc1c10a..0000000
Binary files a/bash/bash-4.1-001-002.patch.gz and /dev/null differ