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

Anatol Pomozov anatolik at archlinux.org
Tue Feb 28 18:11:43 UTC 2017


    Date: Tuesday, February 28, 2017 @ 18:11:43
  Author: anatolik
Revision: 289721

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

Added:
  talloc/repos/testing-i686/
  talloc/repos/testing-i686/PKGBUILD
    (from rev 289720, talloc/trunk/PKGBUILD)
  talloc/repos/testing-i686/fix_test_path.patch
    (from rev 289720, talloc/trunk/fix_test_path.patch)
  talloc/repos/testing-x86_64/
  talloc/repos/testing-x86_64/PKGBUILD
    (from rev 289720, talloc/trunk/PKGBUILD)
  talloc/repos/testing-x86_64/fix_test_path.patch
    (from rev 289720, talloc/trunk/fix_test_path.patch)

------------------------------------+
 testing-i686/PKGBUILD              |   47 +++++++++++++++++++++++++++++++++++
 testing-i686/fix_test_path.patch   |   13 +++++++++
 testing-x86_64/PKGBUILD            |   47 +++++++++++++++++++++++++++++++++++
 testing-x86_64/fix_test_path.patch |   13 +++++++++
 4 files changed, 120 insertions(+)

Copied: talloc/repos/testing-i686/PKGBUILD (from rev 289720, talloc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-02-28 18:11:43 UTC (rev 289721)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=talloc
+pkgver=2.1.9
+pkgrel=1
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://talloc.samba.org/"
+depends=('glibc')
+makedepends=('python2' 'docbook-xsl')
+optdepends=('python2: for python bindings')
+source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.{gz,asc}
+        fix_test_path.patch)
+sha1sums=('e1e79fec4c0b6bd92be904a9c03b0a168478711a'
+          'SKIP'
+          '6117e3dffb24bf03d54325c13b7db3b8a7eb2850')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-bugs at samba.org
+
+prepare() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   patch -p1 < ../fix_test_path.patch
+   sed -i -e 's#python#python2#g' buildtools/bin/waf
+}
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   ./configure --prefix=/usr \
+     --sysconfdir=/etc/samba \
+     --localstatedir=/var \
+     --bundled-libraries=NONE \
+     --builtin-libraries=replace \
+     --enable-talloc-compat1
+   make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   make DESTDIR="${pkgdir}" install
+}

Copied: talloc/repos/testing-i686/fix_test_path.patch (from rev 289720, talloc/trunk/fix_test_path.patch)
===================================================================
--- testing-i686/fix_test_path.patch	                        (rev 0)
+++ testing-i686/fix_test_path.patch	2017-02-28 18:11:43 UTC (rev 289721)
@@ -0,0 +1,13 @@
+diff --git a/wscript b/wscript
+index 9cedbbf..4432a9a 100644
+--- a/wscript
++++ b/wscript
+@@ -159,7 +159,7 @@ def test(ctx):
+     ret = samba_utils.RUN_COMMAND(cmd)
+     print("testsuite returned %d" % ret)
+     magic_helper_cmd = os.path.join(Utils.g_module.blddir, 'talloc_test_magic_differs_helper')
+-    magic_cmd = os.path.join(srcdir, 'lib', 'talloc',
++    magic_cmd = os.path.join(srcdir,
+                              'test_magic_differs.sh')
+ 
+     magic_ret = samba_utils.RUN_COMMAND(magic_cmd + " " +  magic_helper_cmd)

Copied: talloc/repos/testing-x86_64/PKGBUILD (from rev 289720, talloc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-02-28 18:11:43 UTC (rev 289721)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=talloc
+pkgver=2.1.9
+pkgrel=1
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://talloc.samba.org/"
+depends=('glibc')
+makedepends=('python2' 'docbook-xsl')
+optdepends=('python2: for python bindings')
+source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.{gz,asc}
+        fix_test_path.patch)
+sha1sums=('e1e79fec4c0b6bd92be904a9c03b0a168478711a'
+          'SKIP'
+          '6117e3dffb24bf03d54325c13b7db3b8a7eb2850')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-bugs at samba.org
+
+prepare() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   patch -p1 < ../fix_test_path.patch
+   sed -i -e 's#python#python2#g' buildtools/bin/waf
+}
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   ./configure --prefix=/usr \
+     --sysconfdir=/etc/samba \
+     --localstatedir=/var \
+     --bundled-libraries=NONE \
+     --builtin-libraries=replace \
+     --enable-talloc-compat1
+   make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   make DESTDIR="${pkgdir}" install
+}

Copied: talloc/repos/testing-x86_64/fix_test_path.patch (from rev 289720, talloc/trunk/fix_test_path.patch)
===================================================================
--- testing-x86_64/fix_test_path.patch	                        (rev 0)
+++ testing-x86_64/fix_test_path.patch	2017-02-28 18:11:43 UTC (rev 289721)
@@ -0,0 +1,13 @@
+diff --git a/wscript b/wscript
+index 9cedbbf..4432a9a 100644
+--- a/wscript
++++ b/wscript
+@@ -159,7 +159,7 @@ def test(ctx):
+     ret = samba_utils.RUN_COMMAND(cmd)
+     print("testsuite returned %d" % ret)
+     magic_helper_cmd = os.path.join(Utils.g_module.blddir, 'talloc_test_magic_differs_helper')
+-    magic_cmd = os.path.join(srcdir, 'lib', 'talloc',
++    magic_cmd = os.path.join(srcdir,
+                              'test_magic_differs.sh')
+ 
+     magic_ret = samba_utils.RUN_COMMAND(magic_cmd + " " +  magic_helper_cmd)



More information about the arch-commits mailing list