Date: Monday, May 11, 2015 @ 18:35:54
  Author: anatolik
Revision: 133234

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

Added:
  crash/repos/community-testing-i686/
  crash/repos/community-testing-i686/PKGBUILD
    (from rev 133233, crash/trunk/PKGBUILD)
  crash/repos/community-testing-i686/linux_version_4_support.patch
    (from rev 133233, crash/trunk/linux_version_4_support.patch)
  crash/repos/community-testing-x86_64/
  crash/repos/community-testing-x86_64/PKGBUILD
    (from rev 133233, crash/trunk/PKGBUILD)
  crash/repos/community-testing-x86_64/linux_version_4_support.patch
    (from rev 133233, crash/trunk/linux_version_4_support.patch)

--------------------------------------------------------+
 community-testing-i686/PKGBUILD                        |   40 +++++++++++++++
 community-testing-i686/linux_version_4_support.patch   |   32 ++++++++++++
 community-testing-x86_64/PKGBUILD                      |   40 +++++++++++++++
 community-testing-x86_64/linux_version_4_support.patch |   32 ++++++++++++
 4 files changed, 144 insertions(+)

Copied: crash/repos/community-testing-i686/PKGBUILD (from rev 133233, 
crash/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2015-05-11 16:35:54 UTC (rev 133234)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com>
+# Contributor: Bernhard Walle <bernhard.wa...@gmx.de>
+# Contributor: Michael Eckert <michael.eck...@linuxmail.org>
+# Contributor: Mathieu Pasquet <mathi...@mathieui.net>
+
+pkgname=crash
+pkgver=7.1.0
+pkgrel=2
+pkgdesc='Linux kernel crashdump analysis tool'
+url='http://people.redhat.com/~anderson'
+arch=(i686 x86_64)
+license=(GPL)
+depends=(xz ncurses zlib)
+source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz
+        linux_version_4_support.patch)
+sha256sums=('12e17267985ad1339b5da931143d4997fa4dafb82027d5664d4b7826175a21ec'
+            'e535507a1b3c6ca366513beb82b205969a33085ecd48952610f96f3d717bc022')
+
+prepare() {
+  cd crash-$pkgver
+
+  patch -Np1 -i "${srcdir}/linux_version_4_support.patch"
+
+  make gdb_unzip
+  sed -i '/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/' gdb-7.6/libiberty/configure
+}
+
+build() {
+  cd crash-$pkgver
+  make
+}
+
+package() {
+  cd crash-$pkgver
+
+  mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
+  install crash "$pkgdir"/usr/bin/
+  install crash.8 "$pkgdir"/usr/share/man/man8/
+}

Copied: crash/repos/community-testing-i686/linux_version_4_support.patch (from 
rev 133233, crash/trunk/linux_version_4_support.patch)
===================================================================
--- community-testing-i686/linux_version_4_support.patch                        
        (rev 0)
+++ community-testing-i686/linux_version_4_support.patch        2015-05-11 
16:35:54 UTC (rev 133234)
@@ -0,0 +1,32 @@
+commit db07dbf5a7e19806b1629bd4125e6643978c6f9f
+Author: Dave Anderson <ander...@redhat.com>
+Date:   Thu Feb 19 16:16:33 2015 -0500
+
+    Prepare for the future increment of Linux 3.x to 4.x.
+    (ander...@redhat.com)
+
+diff --git a/kernel.c b/kernel.c
+index cf858c2..a5e0c64 100644
+--- a/kernel.c
++++ b/kernel.c
+@@ -1211,7 +1211,8 @@ verify_namelist()
+       sprintf(buffer3, "(unknown)");
+         while (fgets(buffer, BUFSIZE-1, pipe)) {
+               if (!strstr(buffer, "Linux version 2.") &&
+-                  !strstr(buffer, "Linux version 3."))
++                  !strstr(buffer, "Linux version 3.") &&
++                  !strstr(buffer, "Linux version 4."))
+                       continue;
+ 
+                 if (strstr(buffer, kt->proc_version)) {
+@@ -4909,7 +4910,8 @@ debug_kernel_version(char *namelist)
+       argc = 0;
+         while (fgets(buf, BUFSIZE-1, pipe)) {
+                 if (!strstr(buf, "Linux version 2.") &&
+-                  !strstr(buf, "Linux version 3."))
++                  !strstr(buf, "Linux version 3.") &&
++                  !strstr(buf, "Linux version 4."))
+                         continue;
+ 
+               argc = parse_line(buf, arglist); 
+

Copied: crash/repos/community-testing-x86_64/PKGBUILD (from rev 133233, 
crash/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-05-11 16:35:54 UTC (rev 133234)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com>
+# Contributor: Bernhard Walle <bernhard.wa...@gmx.de>
+# Contributor: Michael Eckert <michael.eck...@linuxmail.org>
+# Contributor: Mathieu Pasquet <mathi...@mathieui.net>
+
+pkgname=crash
+pkgver=7.1.0
+pkgrel=2
+pkgdesc='Linux kernel crashdump analysis tool'
+url='http://people.redhat.com/~anderson'
+arch=(i686 x86_64)
+license=(GPL)
+depends=(xz ncurses zlib)
+source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz
+        linux_version_4_support.patch)
+sha256sums=('12e17267985ad1339b5da931143d4997fa4dafb82027d5664d4b7826175a21ec'
+            'e535507a1b3c6ca366513beb82b205969a33085ecd48952610f96f3d717bc022')
+
+prepare() {
+  cd crash-$pkgver
+
+  patch -Np1 -i "${srcdir}/linux_version_4_support.patch"
+
+  make gdb_unzip
+  sed -i '/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/' gdb-7.6/libiberty/configure
+}
+
+build() {
+  cd crash-$pkgver
+  make
+}
+
+package() {
+  cd crash-$pkgver
+
+  mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8
+  install crash "$pkgdir"/usr/bin/
+  install crash.8 "$pkgdir"/usr/share/man/man8/
+}

Copied: crash/repos/community-testing-x86_64/linux_version_4_support.patch 
(from rev 133233, crash/trunk/linux_version_4_support.patch)
===================================================================
--- community-testing-x86_64/linux_version_4_support.patch                      
        (rev 0)
+++ community-testing-x86_64/linux_version_4_support.patch      2015-05-11 
16:35:54 UTC (rev 133234)
@@ -0,0 +1,32 @@
+commit db07dbf5a7e19806b1629bd4125e6643978c6f9f
+Author: Dave Anderson <ander...@redhat.com>
+Date:   Thu Feb 19 16:16:33 2015 -0500
+
+    Prepare for the future increment of Linux 3.x to 4.x.
+    (ander...@redhat.com)
+
+diff --git a/kernel.c b/kernel.c
+index cf858c2..a5e0c64 100644
+--- a/kernel.c
++++ b/kernel.c
+@@ -1211,7 +1211,8 @@ verify_namelist()
+       sprintf(buffer3, "(unknown)");
+         while (fgets(buffer, BUFSIZE-1, pipe)) {
+               if (!strstr(buffer, "Linux version 2.") &&
+-                  !strstr(buffer, "Linux version 3."))
++                  !strstr(buffer, "Linux version 3.") &&
++                  !strstr(buffer, "Linux version 4."))
+                       continue;
+ 
+                 if (strstr(buffer, kt->proc_version)) {
+@@ -4909,7 +4910,8 @@ debug_kernel_version(char *namelist)
+       argc = 0;
+         while (fgets(buf, BUFSIZE-1, pipe)) {
+                 if (!strstr(buf, "Linux version 2.") &&
+-                  !strstr(buf, "Linux version 3."))
++                  !strstr(buf, "Linux version 3.") &&
++                  !strstr(buf, "Linux version 4."))
+                         continue;
+ 
+               argc = parse_line(buf, arglist); 
+

Reply via email to