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

2019-10-25 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 03:43:27
  Author: felixonmars
Revision: 365743

archrelease: copy trunk to staging-x86_64

Added:
  talloc/repos/staging-x86_64/
  talloc/repos/staging-x86_64/PKGBUILD
(from rev 365742, talloc/trunk/PKGBUILD)
  talloc/repos/staging-x86_64/wafsamba-use-native-waf-timer.patch
(from rev 365742, talloc/trunk/wafsamba-use-native-waf-timer.patch)

-+
 PKGBUILD|   52 +++
 wafsamba-use-native-waf-timer.patch |  114 ++
 2 files changed, 166 insertions(+)

Copied: talloc/repos/staging-x86_64/PKGBUILD (from rev 365742, 
talloc/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-26 03:43:27 UTC (rev 365743)
@@ -0,0 +1,52 @@
+# Maintainer:
+# Contributor: Tobias Powalowski 
+
+pkgname=talloc
+pkgver=2.2.0
+pkgrel=2
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('x86_64')
+license=('GPL3')
+url="https://talloc.samba.org/;
+depends=('glibc')
+makedepends=('python' 'docbook-xsl')
+optdepends=('python: for python bindings')
+source=(https://www.samba.org/ftp/talloc/talloc-$pkgver.tar.{gz,asc}
+
samba-update-waf-for-py38.patch::https://gitlab.com/samba-team/samba/commit/aabdcc9151.patch
+wafsamba-use-native-waf-timer.patch)
+sha1sums=('d806e2e4e9b973e8ab6521d1dd20a03abae32c99'
+  'SKIP'
+  'ab8f8bd63c722e2e3b709e89fa3c1e222daac988'
+  '2e688ce37d2f5027ba6e4eb52503353d9707fdae')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-b...@samba.org
+
+prepare() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   # https://bugzilla.samba.org/show_bug.cgi?id=13960
+   patch -Np1 -i ../samba-update-waf-for-py38.patch
+
+   # https://bugzilla.samba.org/show_bug.cgi?id=13998
+   patch -Np1 -i ../wafsamba-use-native-waf-timer.patch
+}
+
+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/staging-x86_64/wafsamba-use-native-waf-timer.patch (from 
rev 365742, talloc/trunk/wafsamba-use-native-waf-timer.patch)
===
--- staging-x86_64/wafsamba-use-native-waf-timer.patch  
(rev 0)
+++ staging-x86_64/wafsamba-use-native-waf-timer.patch  2019-10-26 03:43:27 UTC 
(rev 365743)
@@ -0,0 +1,114 @@
+From dc27ff44de578b0b429a24b0e42e243d8bf481a8 Mon Sep 17 00:00:00 2001
+From: Lukas Slebodnik 
+Date: Wed, 12 Jun 2019 12:27:04 +0200
+Subject: [PATCH] wafsamba: Use native waf timer
+
+  __main__:1: DeprecationWarning: time.clock has been deprecated in Python 3.3
+  and will be removed from Python 3.8: use time.perf_counter
+  or time.process_time instead
+
+BUG: https://bugzilla.samba.org/show_bug.cgi?id=13998
+
+Signed-off-by: Lukas Slebodnik 
+Reviewed-by: Andreas Schneider 
+Reviewed-by: Alexander Bokovoy 
+---
+ buildtools/wafsamba/samba_deps.py | 25 -
+ 1 file changed, 12 insertions(+), 13 deletions(-)
+
+diff --git a/buildtools/wafsamba/samba_deps.py 
b/buildtools/wafsamba/samba_deps.py
+index f8c38809bd2..03c37079a8c 100644
+--- a/buildtools/wafsamba/samba_deps.py
 b/buildtools/wafsamba/samba_deps.py
+@@ -1,6 +1,6 @@
+ # Samba automatic dependency handling and project rules
+ 
+-import os, sys, re, time
++import os, sys, re
+ 
+ from waflib import Build, Options, Logs, Utils, Errors
+ from waflib.Logs import debug
+@@ -1102,8 +1102,7 @@ def check_project_rules(bld):
+ if not force_project_rules and load_samba_deps(bld, tgt_list):
+ return
+ 
+-global tstart
+-tstart = time.clock()
++timer = Utils.Timer()
+ 
+ bld.new_rules = True
+ Logs.info("Checking project rules ...")
+@@ -1112,26 +,26 @@ def check_project_rules(bld):
+ 
+ expand_subsystem_deps(bld)
+ 
+-debug("deps: expand_subsystem_deps: %f" % (time.clock() - tstart))
++debug("deps: expand_subsystem_deps: %s" % str(timer))
+ 
+ replace_grouping_libraries(bld, tgt_list)
+ 
+-debug("deps: replace_grouping_libraries: %f" % (time.clock() - tstart))
++debug("deps: replace_grouping_libraries: %s" % str(timer))
+ 
+ build_direct_deps(bld, tgt_list)
+ 
+-debug("deps: build_direct_deps: %f" % (time.clock() - tstart))
++debug("deps: build_direct_deps: %s" % str(timer))
+ 
+ break_dependency_loops(bld, tgt_list)
+ 
+-debug("deps: break_dependency_loops: %f" % (time.clock() - tstart))
++debug("deps: break_dependency_loops: %s" % str(timer))
+ 
+ if 

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

2019-03-26 Thread Anatol Pomozov via arch-commits
Date: Tuesday, March 26, 2019 @ 22:02:09
  Author: anatolik
Revision: 349252

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   44 
 fix_test_path.patch |   13 +
 2 files changed, 57 insertions(+)

Copied: talloc/repos/testing-x86_64/PKGBUILD (from rev 349251, 
talloc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-03-26 22:02:09 UTC (rev 349252)
@@ -0,0 +1,44 @@
+# Maintainer:
+# Contributor: Tobias Powalowski 
+
+pkgname=talloc
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('x86_64')
+license=('GPL3')
+url="http://talloc.samba.org/;
+depends=('glibc')
+makedepends=('python' 'docbook-xsl')
+optdepends=('python: for python bindings')
+source=(https://www.samba.org/ftp/talloc/talloc-$pkgver.tar.{gz,asc}
+fix_test_path.patch)
+sha1sums=('d806e2e4e9b973e8ab6521d1dd20a03abae32c99'
+  'SKIP'
+  '6117e3dffb24bf03d54325c13b7db3b8a7eb2850')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-b...@samba.org
+
+prepare() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+}
+
+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 349251, 
talloc/trunk/fix_test_path.patch)
===
--- testing-x86_64/fix_test_path.patch  (rev 0)
+++ testing-x86_64/fix_test_path.patch  2019-03-26 22:02:09 UTC (rev 349252)
@@ -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)


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

2018-07-19 Thread Anatol Pomozov via arch-commits
Date: Thursday, July 19, 2018 @ 19:17:15
  Author: anatolik
Revision: 329076

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   47 +++
 fix_test_path.patch |   13 +
 2 files changed, 60 insertions(+)

Copied: talloc/repos/testing-x86_64/PKGBUILD (from rev 329075, 
talloc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-07-19 19:17:15 UTC (rev 329076)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski 
+
+pkgname=talloc
+pkgver=2.1.14
+pkgrel=1
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('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=('9d563b768148b620bdae1c97b36cfc30928a1044'
+  'SKIP'
+  '6117e3dffb24bf03d54325c13b7db3b8a7eb2850')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-b...@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 329075, 
talloc/trunk/fix_test_path.patch)
===
--- testing-x86_64/fix_test_path.patch  (rev 0)
+++ testing-x86_64/fix_test_path.patch  2018-07-19 19:17:15 UTC (rev 329076)
@@ -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)


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

2018-04-09 Thread Anatol Pomozov via arch-commits
Date: Monday, April 9, 2018 @ 23:32:43
  Author: anatolik
Revision: 321429

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   47 +++
 fix_test_path.patch |   13 +
 2 files changed, 60 insertions(+)

Copied: talloc/repos/testing-x86_64/PKGBUILD (from rev 321428, 
talloc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-04-09 23:32:43 UTC (rev 321429)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski 
+
+pkgname=talloc
+pkgver=2.1.13
+pkgrel=1
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('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=('e4e85e40bdb8225e8987a2f5ade7694b49390a94'
+  'SKIP'
+  '6117e3dffb24bf03d54325c13b7db3b8a7eb2850')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-b...@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 321428, 
talloc/trunk/fix_test_path.patch)
===
--- testing-x86_64/fix_test_path.patch  (rev 0)
+++ testing-x86_64/fix_test_path.patch  2018-04-09 23:32:43 UTC (rev 321429)
@@ -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)


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

2018-03-25 Thread Anatol Pomozov via arch-commits
Date: Sunday, March 25, 2018 @ 23:05:39
  Author: anatolik
Revision: 320333

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   47 +++
 fix_test_path.patch |   13 +
 2 files changed, 60 insertions(+)

Copied: talloc/repos/testing-x86_64/PKGBUILD (from rev 320332, 
talloc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-03-25 23:05:39 UTC (rev 320333)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski 
+
+pkgname=talloc
+pkgver=2.1.12
+pkgrel=1
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('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=('eed04fd021a494d2d4c2d95564fbf4bbceacd3f5'
+  'SKIP'
+  '6117e3dffb24bf03d54325c13b7db3b8a7eb2850')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-b...@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 320332, 
talloc/trunk/fix_test_path.patch)
===
--- testing-x86_64/fix_test_path.patch  (rev 0)
+++ testing-x86_64/fix_test_path.patch  2018-03-25 23:05:39 UTC (rev 320333)
@@ -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)


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

2018-01-16 Thread Anatol Pomozov via arch-commits
Date: Tuesday, January 16, 2018 @ 18:11:55
  Author: anatolik
Revision: 314956

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   47 +++
 fix_test_path.patch |   13 +
 2 files changed, 60 insertions(+)

Copied: talloc/repos/testing-x86_64/PKGBUILD (from rev 314955, 
talloc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-01-16 18:11:55 UTC (rev 314956)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer:
+# Contributor: Tobias Powalowski 
+
+pkgname=talloc
+pkgver=2.1.11
+pkgrel=1
+pkgdesc="Hierarchical pool based memory allocator with destructors"
+arch=('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=('01b57d8f72ec85f4f2a7be9a5176dfbb3461808c'
+  'SKIP'
+  '6117e3dffb24bf03d54325c13b7db3b8a7eb2850')
+validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-b...@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 314955, 
talloc/trunk/fix_test_path.patch)
===
--- testing-x86_64/fix_test_path.patch  (rev 0)
+++ testing-x86_64/fix_test_path.patch  2018-01-16 18:11:55 UTC (rev 314956)
@@ -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)