[arch-commits] Commit in apr/repos (14 files)

Anatol Pomozov anatolik at archlinux.org
Sun Jun 25 16:11:27 UTC 2017


    Date: Sunday, June 25, 2017 @ 16:11:24
  Author: anatolik
Revision: 299224

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

Added:
  apr/repos/testing-i686/
  apr/repos/testing-i686/PKGBUILD
    (from rev 299223, apr/trunk/PKGBUILD)
  apr/repos/testing-i686/dont_override_external_buildflags
    (from rev 299223, apr/trunk/dont_override_external_buildflags)
  apr/repos/testing-i686/fix-apr.pc.patch
    (from rev 299223, apr/trunk/fix-apr.pc.patch)
  apr/repos/testing-i686/fix_apr-config.patch
    (from rev 299223, apr/trunk/fix_apr-config.patch)
  apr/repos/testing-i686/omit_extra_libs.patch
    (from rev 299223, apr/trunk/omit_extra_libs.patch)
  apr/repos/testing-i686/ship_find_apr.m4.patch
    (from rev 299223, apr/trunk/ship_find_apr.m4.patch)
  apr/repos/testing-x86_64/
  apr/repos/testing-x86_64/PKGBUILD
    (from rev 299223, apr/trunk/PKGBUILD)
  apr/repos/testing-x86_64/dont_override_external_buildflags
    (from rev 299223, apr/trunk/dont_override_external_buildflags)
  apr/repos/testing-x86_64/fix-apr.pc.patch
    (from rev 299223, apr/trunk/fix-apr.pc.patch)
  apr/repos/testing-x86_64/fix_apr-config.patch
    (from rev 299223, apr/trunk/fix_apr-config.patch)
  apr/repos/testing-x86_64/omit_extra_libs.patch
    (from rev 299223, apr/trunk/omit_extra_libs.patch)
  apr/repos/testing-x86_64/ship_find_apr.m4.patch
    (from rev 299223, apr/trunk/ship_find_apr.m4.patch)

--------------------------------------------------+
 testing-i686/PKGBUILD                            |   61 +++++++++++++++++++++
 testing-i686/dont_override_external_buildflags   |   21 +++++++
 testing-i686/fix-apr.pc.patch                    |   20 ++++++
 testing-i686/fix_apr-config.patch                |   33 +++++++++++
 testing-i686/omit_extra_libs.patch               |   20 ++++++
 testing-i686/ship_find_apr.m4.patch              |   25 ++++++++
 testing-x86_64/PKGBUILD                          |   61 +++++++++++++++++++++
 testing-x86_64/dont_override_external_buildflags |   21 +++++++
 testing-x86_64/fix-apr.pc.patch                  |   20 ++++++
 testing-x86_64/fix_apr-config.patch              |   33 +++++++++++
 testing-x86_64/omit_extra_libs.patch             |   20 ++++++
 testing-x86_64/ship_find_apr.m4.patch            |   25 ++++++++
 12 files changed, 360 insertions(+)

Copied: apr/repos/testing-i686/PKGBUILD (from rev 299223, apr/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=apr
+pkgver=1.6.2
+pkgrel=1
+pkgdesc='The Apache Portable Runtime'
+arch=('i686' 'x86_64')
+url='http://apr.apache.org/'
+depends=('util-linux')
+makedepends=('python2')
+license=('APACHE')
+source=(https://www.apache.org/dist/apr/apr-$pkgver.tar.bz2{,.asc}
+        fix_apr-config.patch
+        ship_find_apr.m4.patch
+        fix-apr.pc.patch
+        omit_extra_libs.patch
+        dont_override_external_buildflags)
+sha256sums=('09109cea377bab0028bba19a92b5b0e89603df9eab05c0f7dbd4dd83d48dcebd'
+            'SKIP'
+            '91490ffee726f851edad9fc733ac6632aaf434a87920e706eeb132a97ee5f402'
+            '315932ef6536fc0644c1efe770ceb3bb675c3c7103a7cbb2f02efd8be03eb752'
+            '12595d331b48be9e44bd843635eb4f0f500bd213e197a551a9d383a28a24641f'
+            '3d491d3af8fb5a75db4e085a17e5d8dcbe058bd256ef893ee779dc97fc9f8ad6'
+            '5ac0bdc532479f6082d29115ac9d3ca24524fd8b97a556568755b88e5a68e3df')
+validpgpkeys=('5B5181C2C0AB13E59DA3F7A3EC582EB639FF092C'  # Jeff Trawick
+              'B1B96F45DFBDCCF974019235193F180AB55D9977') # Nick Kew <niq at apache.org>
+
+prepare() {
+  cd apr-$pkgver
+  patch -Np1 -i ../fix_apr-config.patch
+  patch -Np1 -i ../ship_find_apr.m4.patch
+  patch -Np1 -i ../fix-apr.pc.patch
+  patch -Np1 -i ../omit_extra_libs.patch
+  patch -Np1 -i ../dont_override_external_buildflags
+  sed -e 's/env python/env python2/' -i build/gen-build.py
+  sed -e 's/python/python2/g' -i build/buildcheck.sh
+  ./buildconf
+}
+
+build() {
+  cd apr-$pkgver
+  ./configure --prefix=/usr --includedir=/usr/include/apr-1 \
+    --with-installbuilddir=/usr/share/apr-1/build \
+    --enable-nonportable-atomics \
+    --with-devrandom=/dev/urandom --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd apr-$pkgver
+  make -j1 check
+}
+
+package() {
+  cd apr-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: apr/repos/testing-i686/dont_override_external_buildflags (from rev 299223, apr/trunk/dont_override_external_buildflags)
===================================================================
--- testing-i686/dont_override_external_buildflags	                        (rev 0)
+++ testing-i686/dont_override_external_buildflags	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,21 @@
+# Don't force apr-using projects to use the compile flags used during
+# apr's compilation.
+Index: apr/build/apr_rules.mk.in
+===================================================================
+--- apr.orig/build/apr_rules.mk.in	2010-04-21 17:20:26.000000000 +0200
++++ apr/build/apr_rules.mk.in	2013-11-01 21:22:19.655108671 +0100
+@@ -41,10 +41,10 @@
+ # compilation and linking flags that are supposed to be set only by the user.
+ # configure adds to them for tests, but we restore them at the end.
+ #
+-CFLAGS=@CFLAGS@
+-CPPFLAGS=@CPPFLAGS@
+-LDFLAGS=@LDFLAGS@
+-LIBS=@LIBS@
++CFLAGS?=@CFLAGS@
++CPPFLAGS?=@CPPFLAGS@
++LDFLAGS?=@LDFLAGS@
++LIBS?=@LIBS@
+ DEFS=@DEFS@
+ 
+ # anything added to the standard flags by configure is moved to EXTRA_*

Copied: apr/repos/testing-i686/fix-apr.pc.patch (from rev 299223, apr/trunk/fix-apr.pc.patch)
===================================================================
--- testing-i686/fix-apr.pc.patch	                        (rev 0)
+++ testing-i686/fix-apr.pc.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,20 @@
+From: <tfheen at debian.org>
+Subject: No description.
+
+---
+ apr.pc.in |    5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+Index: apr/apr.pc.in
+===================================================================
+--- apr.orig/apr.pc.in
++++ apr/apr.pc.in
+@@ -7,5 +7,6 @@
+ Name: APR
+ Description: The Apache Portable Runtime library
+ Version: @APR_DOTTED_VERSION@
+-Libs: -L${libdir} -l at APR_LIBNAME@ @EXTRA_LIBS@
+-Cflags: @EXTRA_CPPFLAGS@ @EXTRA_CFLAGS@ -I${includedir}
++Libs: -L${libdir} -l at APR_LIBNAME@
++Libs.private: @EXTRA_LIBS@
++Cflags: @EXTRA_CPPFLAGS@ -I${includedir}

Copied: apr/repos/testing-i686/fix_apr-config.patch (from rev 299223, apr/trunk/fix_apr-config.patch)
===================================================================
--- testing-i686/fix_apr-config.patch	                        (rev 0)
+++ testing-i686/fix_apr-config.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,33 @@
+From: <tfheen at debian.org>
+Subject: No description.
+
+---
+ apr-config.in |    8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+Index: apr/apr-config.in
+===================================================================
+--- apr.orig/apr-config.in
++++ apr/apr-config.in
+@@ -39,7 +39,7 @@
+ LIBS="@EXTRA_LIBS@"
+ EXTRA_INCLUDES="@EXTRA_INCLUDES@"
+ SHLIBPATH_VAR="@shlibpath_var@"
+-APR_SOURCE_DIR="@apr_srcdir@"
++APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"
+ APR_BUILD_DIR="@apr_builddir@"
+ APR_SO_EXT="@so_ext@"
+ APR_LIB_TARGET="@export_lib_target@"
+@@ -223,11 +223,7 @@
+     exit 0
+     ;;
+     --apr-libtool)
+-    if test "$location" = "installed"; then
+-        echo "${installbuilddir}/libtool"
+-    else
+-        echo "$APR_BUILD_DIR/libtool"
+-    fi
++        echo "$installbuilddir/libtool"
+     exit 0
+     ;;
+     --help)

Copied: apr/repos/testing-i686/omit_extra_libs.patch (from rev 299223, apr/trunk/omit_extra_libs.patch)
===================================================================
--- testing-i686/omit_extra_libs.patch	                        (rev 0)
+++ testing-i686/omit_extra_libs.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,20 @@
+From: Stefan Fritsch <sf at debian.org>
+Subject: #463399
+
+---
+ apr-config.in |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: apr/apr-config.in
+===================================================================
+--- apr.orig/apr-config.in
++++ apr/apr-config.in
+@@ -36,7 +36,7 @@
+ CPPFLAGS="@EXTRA_CPPFLAGS@"
+ CFLAGS="@EXTRA_CFLAGS@"
+ LDFLAGS="@EXTRA_LDFLAGS@"
+-LIBS="@EXTRA_LIBS@"
++LIBS=""
+ EXTRA_INCLUDES="@EXTRA_INCLUDES@"
+ SHLIBPATH_VAR="@shlibpath_var@"
+ APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"

Copied: apr/repos/testing-i686/ship_find_apr.m4.patch (from rev 299223, apr/trunk/ship_find_apr.m4.patch)
===================================================================
--- testing-i686/ship_find_apr.m4.patch	                        (rev 0)
+++ testing-i686/ship_find_apr.m4.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,25 @@
+From: Tollef Fog Heen <tfheen at err.no>
+Subject: Install a set of random build files too
+
+---
+ Makefile.in |    9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+--- apr.orig/Makefile.in
++++ apr/Makefile.in
+@@ -92,6 +92,15 @@ install: $(TARGETS)
+ 	done
+ 	$(INSTALL_DATA) build/apr_rules.out $(DESTDIR)$(installbuilddir)/apr_rules.mk
+ 	$(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
++
++	if [ ! -d $(DESTDIR)$(installbuilddir) ]; then \
++	    $(top_srcdir)/build/mkdir.sh $(DESTDIR)$(installbuilddir); \
++	fi
++	for file in find_apr.m4 apr_common.m4 install.sh gen-build.py get-version.sh ; do \
++		$(LIBTOOL) --mode=install cp $(top_srcdir)/build/$$file \
++	    $(DESTDIR)$(installbuilddir)/$$file	; \
++	done
++
+ 	@if [ $(INSTALL_SUBDIRS) != "none" ]; then \
+             for i in $(INSTALL_SUBDIRS); do \
+ 	        ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \

Copied: apr/repos/testing-x86_64/PKGBUILD (from rev 299223, apr/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=apr
+pkgver=1.6.2
+pkgrel=1
+pkgdesc='The Apache Portable Runtime'
+arch=('i686' 'x86_64')
+url='http://apr.apache.org/'
+depends=('util-linux')
+makedepends=('python2')
+license=('APACHE')
+source=(https://www.apache.org/dist/apr/apr-$pkgver.tar.bz2{,.asc}
+        fix_apr-config.patch
+        ship_find_apr.m4.patch
+        fix-apr.pc.patch
+        omit_extra_libs.patch
+        dont_override_external_buildflags)
+sha256sums=('09109cea377bab0028bba19a92b5b0e89603df9eab05c0f7dbd4dd83d48dcebd'
+            'SKIP'
+            '91490ffee726f851edad9fc733ac6632aaf434a87920e706eeb132a97ee5f402'
+            '315932ef6536fc0644c1efe770ceb3bb675c3c7103a7cbb2f02efd8be03eb752'
+            '12595d331b48be9e44bd843635eb4f0f500bd213e197a551a9d383a28a24641f'
+            '3d491d3af8fb5a75db4e085a17e5d8dcbe058bd256ef893ee779dc97fc9f8ad6'
+            '5ac0bdc532479f6082d29115ac9d3ca24524fd8b97a556568755b88e5a68e3df')
+validpgpkeys=('5B5181C2C0AB13E59DA3F7A3EC582EB639FF092C'  # Jeff Trawick
+              'B1B96F45DFBDCCF974019235193F180AB55D9977') # Nick Kew <niq at apache.org>
+
+prepare() {
+  cd apr-$pkgver
+  patch -Np1 -i ../fix_apr-config.patch
+  patch -Np1 -i ../ship_find_apr.m4.patch
+  patch -Np1 -i ../fix-apr.pc.patch
+  patch -Np1 -i ../omit_extra_libs.patch
+  patch -Np1 -i ../dont_override_external_buildflags
+  sed -e 's/env python/env python2/' -i build/gen-build.py
+  sed -e 's/python/python2/g' -i build/buildcheck.sh
+  ./buildconf
+}
+
+build() {
+  cd apr-$pkgver
+  ./configure --prefix=/usr --includedir=/usr/include/apr-1 \
+    --with-installbuilddir=/usr/share/apr-1/build \
+    --enable-nonportable-atomics \
+    --with-devrandom=/dev/urandom --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd apr-$pkgver
+  make -j1 check
+}
+
+package() {
+  cd apr-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: apr/repos/testing-x86_64/dont_override_external_buildflags (from rev 299223, apr/trunk/dont_override_external_buildflags)
===================================================================
--- testing-x86_64/dont_override_external_buildflags	                        (rev 0)
+++ testing-x86_64/dont_override_external_buildflags	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,21 @@
+# Don't force apr-using projects to use the compile flags used during
+# apr's compilation.
+Index: apr/build/apr_rules.mk.in
+===================================================================
+--- apr.orig/build/apr_rules.mk.in	2010-04-21 17:20:26.000000000 +0200
++++ apr/build/apr_rules.mk.in	2013-11-01 21:22:19.655108671 +0100
+@@ -41,10 +41,10 @@
+ # compilation and linking flags that are supposed to be set only by the user.
+ # configure adds to them for tests, but we restore them at the end.
+ #
+-CFLAGS=@CFLAGS@
+-CPPFLAGS=@CPPFLAGS@
+-LDFLAGS=@LDFLAGS@
+-LIBS=@LIBS@
++CFLAGS?=@CFLAGS@
++CPPFLAGS?=@CPPFLAGS@
++LDFLAGS?=@LDFLAGS@
++LIBS?=@LIBS@
+ DEFS=@DEFS@
+ 
+ # anything added to the standard flags by configure is moved to EXTRA_*

Copied: apr/repos/testing-x86_64/fix-apr.pc.patch (from rev 299223, apr/trunk/fix-apr.pc.patch)
===================================================================
--- testing-x86_64/fix-apr.pc.patch	                        (rev 0)
+++ testing-x86_64/fix-apr.pc.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,20 @@
+From: <tfheen at debian.org>
+Subject: No description.
+
+---
+ apr.pc.in |    5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+Index: apr/apr.pc.in
+===================================================================
+--- apr.orig/apr.pc.in
++++ apr/apr.pc.in
+@@ -7,5 +7,6 @@
+ Name: APR
+ Description: The Apache Portable Runtime library
+ Version: @APR_DOTTED_VERSION@
+-Libs: -L${libdir} -l at APR_LIBNAME@ @EXTRA_LIBS@
+-Cflags: @EXTRA_CPPFLAGS@ @EXTRA_CFLAGS@ -I${includedir}
++Libs: -L${libdir} -l at APR_LIBNAME@
++Libs.private: @EXTRA_LIBS@
++Cflags: @EXTRA_CPPFLAGS@ -I${includedir}

Copied: apr/repos/testing-x86_64/fix_apr-config.patch (from rev 299223, apr/trunk/fix_apr-config.patch)
===================================================================
--- testing-x86_64/fix_apr-config.patch	                        (rev 0)
+++ testing-x86_64/fix_apr-config.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,33 @@
+From: <tfheen at debian.org>
+Subject: No description.
+
+---
+ apr-config.in |    8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+Index: apr/apr-config.in
+===================================================================
+--- apr.orig/apr-config.in
++++ apr/apr-config.in
+@@ -39,7 +39,7 @@
+ LIBS="@EXTRA_LIBS@"
+ EXTRA_INCLUDES="@EXTRA_INCLUDES@"
+ SHLIBPATH_VAR="@shlibpath_var@"
+-APR_SOURCE_DIR="@apr_srcdir@"
++APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"
+ APR_BUILD_DIR="@apr_builddir@"
+ APR_SO_EXT="@so_ext@"
+ APR_LIB_TARGET="@export_lib_target@"
+@@ -223,11 +223,7 @@
+     exit 0
+     ;;
+     --apr-libtool)
+-    if test "$location" = "installed"; then
+-        echo "${installbuilddir}/libtool"
+-    else
+-        echo "$APR_BUILD_DIR/libtool"
+-    fi
++        echo "$installbuilddir/libtool"
+     exit 0
+     ;;
+     --help)

Copied: apr/repos/testing-x86_64/omit_extra_libs.patch (from rev 299223, apr/trunk/omit_extra_libs.patch)
===================================================================
--- testing-x86_64/omit_extra_libs.patch	                        (rev 0)
+++ testing-x86_64/omit_extra_libs.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,20 @@
+From: Stefan Fritsch <sf at debian.org>
+Subject: #463399
+
+---
+ apr-config.in |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: apr/apr-config.in
+===================================================================
+--- apr.orig/apr-config.in
++++ apr/apr-config.in
+@@ -36,7 +36,7 @@
+ CPPFLAGS="@EXTRA_CPPFLAGS@"
+ CFLAGS="@EXTRA_CFLAGS@"
+ LDFLAGS="@EXTRA_LDFLAGS@"
+-LIBS="@EXTRA_LIBS@"
++LIBS=""
+ EXTRA_INCLUDES="@EXTRA_INCLUDES@"
+ SHLIBPATH_VAR="@shlibpath_var@"
+ APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"

Copied: apr/repos/testing-x86_64/ship_find_apr.m4.patch (from rev 299223, apr/trunk/ship_find_apr.m4.patch)
===================================================================
--- testing-x86_64/ship_find_apr.m4.patch	                        (rev 0)
+++ testing-x86_64/ship_find_apr.m4.patch	2017-06-25 16:11:24 UTC (rev 299224)
@@ -0,0 +1,25 @@
+From: Tollef Fog Heen <tfheen at err.no>
+Subject: Install a set of random build files too
+
+---
+ Makefile.in |    9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+--- apr.orig/Makefile.in
++++ apr/Makefile.in
+@@ -92,6 +92,15 @@ install: $(TARGETS)
+ 	done
+ 	$(INSTALL_DATA) build/apr_rules.out $(DESTDIR)$(installbuilddir)/apr_rules.mk
+ 	$(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
++
++	if [ ! -d $(DESTDIR)$(installbuilddir) ]; then \
++	    $(top_srcdir)/build/mkdir.sh $(DESTDIR)$(installbuilddir); \
++	fi
++	for file in find_apr.m4 apr_common.m4 install.sh gen-build.py get-version.sh ; do \
++		$(LIBTOOL) --mode=install cp $(top_srcdir)/build/$$file \
++	    $(DESTDIR)$(installbuilddir)/$$file	; \
++	done
++
+ 	@if [ $(INSTALL_SUBDIRS) != "none" ]; then \
+             for i in $(INSTALL_SUBDIRS); do \
+ 	        ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \



More information about the arch-commits mailing list