[arch-commits] Commit in bootchart/trunk (PKGBUILD fix-inittab-regex.patch)

Aaron Griffin aaron at archlinux.org
Mon Oct 6 00:38:01 UTC 2008


    Date: Sunday, October 5, 2008 @ 20:38:01
  Author: aaron
Revision: 14371

upgpkg: bootchart 0.9-4

Added:
  bootchart/trunk/fix-inittab-regex.patch
Modified:
  bootchart/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |   16 ++++++++++++----
 fix-inittab-regex.patch |   11 +++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-06 00:01:07 UTC (rev 14370)
+++ PKGBUILD	2008-10-06 00:38:01 UTC (rev 14371)
@@ -1,20 +1,28 @@
-#Maintainer : Aaron Griffin <aaron at archlinux.org>
+# $Id$
+# Maintainer : Aaron Griffin <aaron at archlinux.org>
 
 pkgname=bootchart
 pkgver=0.9
-pkgrel=3
+pkgrel=4
 pkgdesc="Boot Process Performance Visualization"
 url="http://www.bootchart.org/"
+arch=('i686' 'x86_64')
 license=('GPL2')
 depends=('j2re' 'acct')
 makedepends=('apache-ant')
 install=bootchart.install
-source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 bootchart-render)
-md5sums=('4be91177d19069e21beeb106f2f77dff' 'f02888cda23a5b1c9b931140f6fdbb71')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+        bootchart-render
+        #FS#8438 - fix the regex used to scan inittab for archlinux
+        fix-inittab-regex.patch)
+md5sums=('4be91177d19069e21beeb106f2f77dff'
+         'f02888cda23a5b1c9b931140f6fdbb71'
+         'c8a70f1f763a2632dc7759a6387f865f')
 
 build()
 {
   cd $startdir/src/$pkgname-$pkgver
+  patch -up1 < $startdir/src/fix-inittab-regex.patch
   ant
   sed -i "s#ROOT=/#ROOT=$startdir/pkg#" install.sh
 

Added: fix-inittab-regex.patch
===================================================================
--- fix-inittab-regex.patch	                        (rev 0)
+++ fix-inittab-regex.patch	2008-10-06 00:38:01 UTC (rev 14371)
@@ -0,0 +1,11 @@
+--- a/script/bootchartd	2007-10-27 17:47:04.000000000 +0200
++++ b/script/bootchartd	2007-10-27 18:45:10.000000000 +0200
+@@ -114,7 +114,7 @@
+ # Wait for the boot process to end.
+ wait_boot()
+ {
+-	local runlevel=$( sed -n 's/.*:\(.*\):initdefault:.*/\1/gp' /etc/inittab )
++	local runlevel=$( sed -n -e 's/#.*//g' -e 's/.*:\(.*\):initdefault:.*/\1/gp' /etc/inittab )
+ 
+ 	# The processes we have to wait for
+ 	local exit_proc="gdmgreeter gdm-binary kdm_greet kdm"




More information about the arch-commits mailing list