[arch-commits] Commit in ccze/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 21:58:26 UTC 2015


    Date: Sunday, September 6, 2015 @ 23:58:26
  Author: foutrelis
Revision: 139392

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

Added:
  ccze/repos/community-staging-i686/
  ccze/repos/community-staging-i686/PKGBUILD
    (from rev 139391, ccze/trunk/PKGBUILD)
  ccze/repos/community-staging-i686/ccze-fix-segfault.diff
    (from rev 139391, ccze/trunk/ccze-fix-segfault.diff)
  ccze/repos/community-staging-x86_64/
  ccze/repos/community-staging-x86_64/PKGBUILD
    (from rev 139391, ccze/trunk/PKGBUILD)
  ccze/repos/community-staging-x86_64/ccze-fix-segfault.diff
    (from rev 139391, ccze/trunk/ccze-fix-segfault.diff)

-------------------------------------------------+
 community-staging-i686/PKGBUILD                 |   35 ++++++++++++++++++++++
 community-staging-i686/ccze-fix-segfault.diff   |   11 ++++++
 community-staging-x86_64/PKGBUILD               |   35 ++++++++++++++++++++++
 community-staging-x86_64/ccze-fix-segfault.diff |   11 ++++++
 4 files changed, 92 insertions(+)

Copied: ccze/repos/community-staging-i686/PKGBUILD (from rev 139391, ccze/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-06 21:58:26 UTC (rev 139392)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org> 
+
+pkgname=ccze
+pkgver=0.2.1
+pkgrel=9
+pkgdesc="Robust and modular log colorizer with many plugins"
+arch=('i686' 'x86_64')
+url="http://freshmeat.net/projects/ccze/"
+license=('GPL')
+depends=('ncurses' 'pcre')
+makedepends=('patch')
+source=(ftp://ftp.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz \
+        $pkgname-fix-segfault.diff)
+sha256sums=('8263a11183fd356a033b6572958d5a6bb56bfd2dba801ed0bff276cfae528aa3'
+            '730e63e312178cf9777970bff0fa8d3030ee40deb1ebdf753c5053824f9d011c')
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  patch -Np0 -i "${srcdir}"/$pkgname-fix-segfault.diff
+
+  #killing a bug
+  sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' -i src/Makefile.in
+  sed -e '/#undef error_t/d' -i system.h.in
+
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+}

Copied: ccze/repos/community-staging-i686/ccze-fix-segfault.diff (from rev 139391, ccze/trunk/ccze-fix-segfault.diff)
===================================================================
--- community-staging-i686/ccze-fix-segfault.diff	                        (rev 0)
+++ community-staging-i686/ccze-fix-segfault.diff	2015-09-06 21:58:26 UTC (rev 139392)
@@ -0,0 +1,11 @@
+--- src/ccze.c.orig	2003-05-13 20:09:30.000000000 +0200
++++ src/ccze.c	2010-08-29 18:14:53.000000000 +0200
+@@ -212 +212 @@
+-      plugin = strtok (optarg, "=");
++      plugin = strtok (arg, "=");
+@@ -252 +252 @@
+-      subopts = optarg;
++      subopts = arg;
+@@ -276 +276 @@
+-      subopts = optarg;
++      subopts = arg;

Copied: ccze/repos/community-staging-x86_64/PKGBUILD (from rev 139391, ccze/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-06 21:58:26 UTC (rev 139392)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org> 
+
+pkgname=ccze
+pkgver=0.2.1
+pkgrel=9
+pkgdesc="Robust and modular log colorizer with many plugins"
+arch=('i686' 'x86_64')
+url="http://freshmeat.net/projects/ccze/"
+license=('GPL')
+depends=('ncurses' 'pcre')
+makedepends=('patch')
+source=(ftp://ftp.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz \
+        $pkgname-fix-segfault.diff)
+sha256sums=('8263a11183fd356a033b6572958d5a6bb56bfd2dba801ed0bff276cfae528aa3'
+            '730e63e312178cf9777970bff0fa8d3030ee40deb1ebdf753c5053824f9d011c')
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  patch -Np0 -i "${srcdir}"/$pkgname-fix-segfault.diff
+
+  #killing a bug
+  sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' -i src/Makefile.in
+  sed -e '/#undef error_t/d' -i system.h.in
+
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+}

Copied: ccze/repos/community-staging-x86_64/ccze-fix-segfault.diff (from rev 139391, ccze/trunk/ccze-fix-segfault.diff)
===================================================================
--- community-staging-x86_64/ccze-fix-segfault.diff	                        (rev 0)
+++ community-staging-x86_64/ccze-fix-segfault.diff	2015-09-06 21:58:26 UTC (rev 139392)
@@ -0,0 +1,11 @@
+--- src/ccze.c.orig	2003-05-13 20:09:30.000000000 +0200
++++ src/ccze.c	2010-08-29 18:14:53.000000000 +0200
+@@ -212 +212 @@
+-      plugin = strtok (optarg, "=");
++      plugin = strtok (arg, "=");
+@@ -252 +252 @@
+-      subopts = optarg;
++      subopts = arg;
+@@ -276 +276 @@
+-      subopts = optarg;
++      subopts = arg;



More information about the arch-commits mailing list