[arch-commits] Commit in pcre/repos (4 files)

Allan McRae allan at archlinux.org
Tue Oct 25 05:06:56 UTC 2011


    Date: Tuesday, October 25, 2011 @ 01:06:55
  Author: allan
Revision: 141157

db-move: moved pcre from [testing] to [core] (x86_64)

Added:
  pcre/repos/core-x86_64/PKGBUILD
    (from rev 141153, pcre/repos/testing-x86_64/PKGBUILD)
Deleted:
  pcre/repos/core-x86_64/PKGBUILD
  pcre/repos/core-x86_64/r661.diff
  pcre/repos/testing-x86_64/

-----------+
 PKGBUILD  |   90 ++++++++++++++++++++++++++++--------------------------------
 r661.diff |   26 -----------------
 2 files changed, 43 insertions(+), 73 deletions(-)

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2011-10-25 05:06:54 UTC (rev 141156)
+++ core-x86_64/PKGBUILD	2011-10-25 05:06:55 UTC (rev 141157)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: Eric Belanger <eric at archlinux.org>
-# Contributor: John Proctor <jproctor at prium.net>
-
-pkgname=pcre
-pkgver=8.13
-pkgrel=2
-pkgdesc="A library that implements Perl 5-style regular expressions"
-arch=('i686' 'x86_64')
-url="http://www.pcre.org/"
-license=('BSD')
-depends=('gcc-libs')
-options=('!libtool')
-source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2
-        r661.diff)
-md5sums=('5e595edbcded141813fa1a10dbce05cb'
-         '70e2725b46ff6f3f114ce5067fd03405')
-
-build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  
-  # http://bugs.exim.org/show_bug.cgi?id=1136
-  patch -Np2 -i "${srcdir}"/r661.diff
-  sed -i '12140d' testdata/testoutput2
-  
-  [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
-  ./configure --prefix=/usr --enable-utf8 --enable-unicode-properties
-  make
-}
-
-check() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-
-  # grep uses pcre, so we need the libs in /lib
-  install -dm755 "${pkgdir}"/lib
-  mv "${pkgdir}"/usr/lib/libpcre.so.* "${pkgdir}"/lib/
-  ln -sf /lib/libpcre.so.0 "${pkgdir}"/usr/lib/libpcre.so
-
-  install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: pcre/repos/core-x86_64/PKGBUILD (from rev 141153, pcre/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2011-10-25 05:06:55 UTC (rev 141157)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=pcre
+pkgver=8.20
+pkgrel=1
+pkgdesc="A library that implements Perl 5-style regular expressions"
+arch=('i686' 'x86_64')
+url="http://www.pcre.org/"
+license=('BSD')
+depends=('gcc-libs')
+options=('!libtool')
+source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2{,.sig})
+md5sums=('a1931c70e1273e3450d5036fe273d25c'
+         '41c2dceac25c6ebf192ec128021be339')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  
+  [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
+  ./configure --prefix=/usr --enable-jit \
+    --enable-utf8 --enable-unicode-properties
+  make
+}
+
+check() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  # grep uses pcre, so we need the libs in /lib
+  install -dm755 "${pkgdir}"/lib
+  mv "${pkgdir}"/usr/lib/libpcre.so.* "${pkgdir}"/lib/
+  ln -sf /lib/libpcre.so.0 "${pkgdir}"/usr/lib/libpcre.so
+
+  install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Deleted: core-x86_64/r661.diff
===================================================================
--- core-x86_64/r661.diff	2011-10-25 05:06:54 UTC (rev 141156)
+++ core-x86_64/r661.diff	2011-10-25 05:06:55 UTC (rev 141157)
@@ -1,26 +0,0 @@
---- code/trunk/pcre_compile.c	2011/08/02 11:00:40	654
-+++ code/trunk/pcre_compile.c	2011/08/21 09:00:54	661
-@@ -2295,8 +2295,13 @@
- A user pointed out that PCRE was rejecting [:a[:digit:]] whereas Perl was not.
- It seems that the appearance of a nested POSIX class supersedes an apparent
- external class. For example, [:a[:digit:]b:] matches "a", "b", ":", or
--a digit. Also, unescaped square brackets may also appear as part of class
--names. For example, [:a[:abc]b:] gives unknown class "[:abc]b:]"in Perl.
-+a digit. 
-+
-+In Perl, unescaped square brackets may also appear as part of class names. For
-+example, [:a[:abc]b:] gives unknown POSIX class "[:abc]b:]". However, for
-+[:a[:abc]b][b:] it gives unknown POSIX class "[:abc]b][b:]", which does not
-+seem right at all. PCRE does not allow closing square brackets in POSIX class 
-+names.
- 
- Arguments:
-   ptr      pointer to the initial [
-@@ -2314,6 +2319,7 @@
-   {
-   if (*ptr == CHAR_BACKSLASH && ptr[1] == CHAR_RIGHT_SQUARE_BRACKET)
-     ptr++;
-+  else if (*ptr == CHAR_RIGHT_SQUARE_BRACKET) return FALSE;   
-   else
-     {
-     if (*ptr == terminator && ptr[1] == CHAR_RIGHT_SQUARE_BRACKET)




More information about the arch-commits mailing list